Bug 555121 – Improved build-time handling of gio module-dir
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
2
3         Bug 555121 – Improved build-time handling of gio module-dir
4
5         * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
6         * Makefile.am: Create the module dir.
7
8 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
9
10         * gio/glocalfileinfo.c:
11         * gio/tests/live-g-file.c:
12         * gio/gsimpleasyncresult.c: Fix gcc warnings.
13
14 2008-10-09  Alexander Larsson  <alexl@redhat.com>
15
16         * gunixinputstream.c (g_unix_input_stream_read):
17         Actually return -1 in case of cancelled, not old res value.
18
19 2008-10-06  Colin Walters  <walters@verbum.org>
20
21         Bug 554745 - GFileAttributeInfoList should be boxed
22
23         * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
24         for convenience of bindings.
25         * gio/gfileattribute.h: Prototype it.
26
27 2008-10-05  Pascal Terjan  <pterjan@linuxfr.org>
28
29         Bug 554970 – segfault when update-desktop-database is not available
30         on the system
31
32         * gdesktopappinfo.c (run_update_command): Have the error set before 
33         using it.
34
35 2008-10-01  David Zeuthen  <davidz@redhat.com>
36
37         * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
38         file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
39         instead of the gio URI (such as sftp://foo/file.avi) when using
40         g_app_info_launch() and friends. With a sufficiently recent gvfs,
41         apps using gio+gvfs will map the FUSE file:// URI back to the gio
42         URI (and thus bypass the fuse daemon) thanks the patch from bug
43         #530654.  Since Nautilus is an user of g_app_info_launch() it
44         means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
45         when launced via the file manager. Win. Fixes bug #528670.
46
47         * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
48         mapping to the description of GAppInfo.
49
50 2008-09-30  Tor Lillqvist  <tml@novell.com>
51
52         * tests/Makefile.am: Build desktop-app-info only on Unix.
53
54         * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
55         g_critical(). Pass a large enough result buffer to
56         GetVolumePathNameW(). Just use MAX_PATH.
57
58 2008-09-29  David Zeuthen  <davidz@redhat.com>
59
60         * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
61
62 2008-09-26  Dan Winship  <danw@gnome.org>
63
64         * tests/data-input-stream.c:
65         * tests/data-output-stream.c:
66         * tests/live-g-file.c:
67         * tests/memory-input-stream.c:
68         * tests/memory-output-stream.c: Use g_assert_error() and
69         g_assert_no_error()
70
71 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
72         
73         Bug 545350 – GAppInfo deletion
74         Bug 545351 – Reset associations for content type
75
76         * gio.symbols:
77         * gappinfo.[hc]: New functions g_app_info_can_delete,
78         g_app_info_delete and g_app_info_reset_type_associations.
79
80         * gdesktopappinfo.c:
81         * gwin32appinfo.c: Implementations of these.
82
83         * tests/Makefile.am:
84         * tests/desktop-app-info.c: Tests for GAppInfo functionality.
85
86 2008-09-26  Dan Winship  <danw@gnome.org>
87
88         Bug 505361 – gunixinputstream.c assumes poll() available
89         Bug 509446 – portable blocking gio cancellation
90
91         * gcancellable.c (g_cancellable_make_pollfd): New method to make a
92         GPollFD for a cancellable (which is slightly more complicated on
93         Windows than Unix).
94
95         * gunixinputstream.c (g_unix_input_stream_read):
96         * gunixoutputstream.c (g_unix_output_stream_write): Use
97         g_cancellable_make_pollfd() and g_poll() rather than using poll()
98         directly.
99
100         * tests/unix-streams.c: test of GUnixInputStream,
101         GUnixOutputStream, and GCancellable.
102
103 2008-09-26  Dan Winship  <danw@gnome.org>
104
105         * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
106         cast to stop a gcc warning
107
108         * gfile.c (g_file_copy_attributes): add parens to stop a gcc
109         warning
110
111 2008-09-25  Dan Winship  <danw@gnome.org>
112
113         Bug 553426 - cancellable clarifications
114
115         * gcancellable.c (g_cancellable_class_init): Add a note to the
116         "cancelled" signal docs warning about thread-safety issues
117         (g_cancellable_cancel): Note that cancelling an asynchronous
118         operation takes effect asynchronously, not immediately.
119
120 2008-09-22  Nelson Benítez León  <nbenitez@svn.gnome.org>
121
122         * gioenums.h: Add new GFileCopyFlag, to leave target file with
123         default perms, instead of setting the source file perms, in a copy
124         operation.
125
126         * gfile.c (g_file_copy_attributes) 
127         (build_attribute_list_for_copy)
128         (should_copy): Not copy "unix::mode" attribute if we have received
129         G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
130
131 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
132
133         * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
134
135 2008-09-17  Matthias Clasen  <mclasen@redhat.com>
136
137         * === Released 2.18.1 ===
138
139 2008-09-16  Michael Natterer  <mitch@imendio.com>
140
141         * gcontenttype.c (g_content_type_guess): can't assign the return
142         value of g_strdupv() to an array. Fill the array manually with
143         const strings instead (it is never freed anyway). Fixes the
144         build. Also fixed indentation.
145
146 2008-09-16  Wouter Bolsterlee  <wbolster@svn.gnome.org>
147
148         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
149         Fix trivial typo to unbreak the build (there was a colon
150         instead of a semicolon at the end of a statement).
151
152 2008-09-15  Matthias Clasen  <mclasen@redhat.com>
153
154         Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop 
155         file is empty
156
157         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
158         an empty Path value.  
159
160 2008-09-15  Matthias Clasen  <mclasen@redhat.com>
161
162         Bug 551681 – g_content_type_guess() too naive with filenames
163
164         * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
165         at the end of the filename, and declare it a directory.
166         Patch by Bastien Nocera
167
168 2008-09-14  Cosimo Cecchi  <cosimoc@gnome.org>
169
170         Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
171         aren't clear.
172
173         * gdesktopappinfo.c: add a note in the docs clarifying what the
174         "filename" parameter really is.
175
176 2008-09-12  Tor Lillqvist  <tml@novell.com>
177
178         * gwin32appinfo.c (g_win32_app_info_launch): Don't call
179         FormatMessage() etc here. Call g_win32_error_message() instead
180         which already does all that. Besides, the code was broken as it
181         called the default "A" version of FormatMessage() but still
182         thought it produced a wide string.
183
184 2008-09-12  Michael Natterer  <mitch@imendio.com>
185
186         * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
187         in the documentation.
188
189 2008-09-08  Christian Neumair  <cneumair@gnome.org>
190
191         * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
192         * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
193         Use non-blocking pipe for mount helper I/O. Fixes #550647.
194
195 2008-09-06  Matthias Clasen  <mclasen@redhat.com>
196
197         Bug 551149 – xdgmime mem leak
198
199         * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
200         a memory leak. Patch by Christian Persch
201
202 2008-09-04  Tor Lillqvist  <tml@novell.com>
203
204         * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
205         NULL.
206
207 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
208
209         * === Released 2.18.0 ===
210
211 2008-09-02  Michael Natterer  <mitch@imendio.com>
212
213         * *.h: big header formatting cleanup: indentation, vtable
214         formatting, consistent spacing in (* vfunc), trailing whitespace
215         removal. Formatting should be pretty consistent in all GIO headers
216         now.
217
218 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
219
220         * gmount.h: Document guess_content_type sync vfunc.
221
222 2008-09-02  Michael Natterer  <mitch@imendio.com>
223
224         * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
225         fix parent_class member to be GFilterOutputStreamClass (not
226         GOutputStreamClass). Drop three pointers of padding, which is
227         exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
228         so the class struct size stays the same.
229
230 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
231
232         Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
233
234         * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
235         nonexisting return values. Pointed out by Cosimo Cecchi.
236
237 2008-08-23  Tor Lillqvist  <tml@novell.com>
238
239         Bug 548988 - g_file_replace fails on Windows when the target file
240         exists already
241
242         * glocalfileoutputstream.c (g_local_file_output_stream_close): On
243         Windows, close the file before potentially renaming it (in case we
244         have been writing to a file with a temporary name).
245
246         (g_local_file_output_stream_close, handle_overwrite_open): Use
247         GLocalFileStat instead of plain struct stat, for passing to
248         _g_local_file_info_create_etag(). Thus also use _fstati64()
249         instead of plain fstat() on Windows.
250
251 2008-08-18  Matthias Clasen  <mclasen@redhat.com>
252
253         * === Released 2.17.7 ===
254
255 2008-08-15  Padraig O'Briain  <padraig.obriain@sun.com>
256
257         * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
258         Fix for #542156.
259
260 2008-08-13  Tor Lillqvist  <tml@novell.com>
261
262         * win32/gwinhttpvfs.c
263         * win32/gwinhttpvfs.h
264         * win32/gwinhttpfile.c
265         * win32/gwinhttpfileinputstream.c
266         * win32/gwinhttpfileoutputstream.c: Refactor some common code
267         snippets into helper functions. Check HTTP response status
268         codes. Implement g_winhttp_file_query_info(), looking at
269         Content-Length, Content-Type and Last-Modified.
270
271         * win32/winhttp.h: Add some symbolic constants that are not
272         publicly documented. Just a handful, so it should be OK to use
273         information from the Windows SDK's headers.
274
275 2008-08-13  Tor Lillqvist  <tml@novell.com>
276
277         Bug 546582 - Callbacks from GFileMonitor present a GFile in the
278         wrong folder
279
280         * win32/gwin32directorymonitor.c
281         (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
282
283 2008-08-13  Matthias Clasen  <mclasen@redhat.com>
284
285         * ginputstream.c:
286         * goutputstream.c: Add intro docs.
287
288 2008-08-13  Tor Lillqvist  <tml@novell.com>
289
290         * win32/gwinhttpfileoutputstream.c
291         (g_winhttp_file_output_stream_write): Don't write the
292         Content-Length header ourselves, WinHttpSendRequest() takes care
293         of that when the dwTotalLength parameter is non-zero. Increment
294         offset by the number of actual bytes sent, although I wonder if
295         such a scenario is possible where less than requested would be
296         sent and accepted by the server without errors.
297
298 2008-08-13  Tor Lillqvist  <tml@novell.com>
299
300         * win32/gwinhttpvfs.c
301         * win32/gwinhttpvfs.h
302         * win32/gwinhttpfile.c
303         * win32/gwinhttpfile.h
304         * win32/gwinhttpfileinputstream.c
305         * win32/gwinhttpfileinputstream.h
306         * win32/gwinhttpfileoutputstream.c
307         * win32/gwinhttpfileoutputstream.h: New files implementing
308         GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
309         Windows. The implementation uses the WinHttp API. Both reading and
310         writing are supported, i.e. GET and PUT requests. When writing,
311         each write call is done using a separate PUT request with a
312         Content-Range header. Requests for file URIs and plain pathnames
313         are forwarded to GLocalVfs.
314
315         * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
316         WINE. Used as there is no <winhttp.h> bundled with mingw, and
317         requiring people to download the Windows SDK just for this one
318         header is not reasonable.
319
320         * win32/Makefile.am: Add above files.
321
322         * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
323         the plumbing for the above.
324
325 2008-08-11  Sven Neumann  <sven@gimp.org>
326
327         * gfilenamecompleter.c
328         * glocaldirectorymonitor.c
329         * gmountoperation.c
330         * gunionvolumemonitor.c
331         * gunixmount.c
332         * gunixmounts.c
333         * gunixvolume.c
334         * gunixvolumemonitor.c
335         * gvolumemonitor.c
336         * gwin32mount.c
337         * gwin32volumemonitor.c: use canonical signal names.
338
339 2008-08-11  Tor Lillqvist  <tml@novell.com>
340
341         * Makefile.am: Put a list of the platform-dependent .la files in
342         the subdirectories in the platform_deps Make variable, and make
343         libgio-2.0.la depend on that, so that it gets relinked if one of
344         the dependent libraries has changed.
345
346 2008-08-11  Tor Lillqvist  <tml@novell.com>
347
348         * Makefile.am (platform_libadd): Remove -lwininet which had been
349         added by mistake. We will probably eventually be using WinHTTP,
350         not the older WinInet anyway. (Actually I am working on it.)
351
352 2008-08-10  Felix Riemann  <friemann@svn.gnome.org>
353
354         Bug 547080 – g_file_copy leaks expected errors
355
356         * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
357         before trying the next fallback routine.
358
359 2008-08-09  Loïc Minier  <lool@dooz.org>
360
361         Bug 535124 – umask 002 not being applied for new directories, new
362         files get the correct umask
363
364         * gfile.c (g_file_make_directory)
365         (g_file_make_directory_with_parents): Document ownership and
366         permissions of newly created directories as being the default
367         ones of the process.
368
369 2008-08-08  Loïc Minier  <lool@dooz.org>
370
371         Bug 535124 – umask 002 not being applied for new directories, new
372         files get the correct umask
373
374         * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
375         0755 as umask
376
377 2008-08-08  Tor Lillqvist  <tml@novell.com>
378
379         * gwin32mount.c: Remove unused code. Whitespace cleanup.
380
381         * gwin32volumemonitor.c (get_connected_drives): Put questionable
382         code that didn't actually do anything inside #if 0, and add a
383         comment wondering what the code was supposed to do. This also gets
384         rid of a leftover debugging printout.
385
386 2008-08-07  Paul Pogonyshev  <pogonyshev@gmx.net>
387
388         * gfileicon.c (g_file_icon_get_property)
389         (g_file_icon_set_property): New functions.
390         (g_file_icon_class_init): Hook them up.  Install `GFileIcon:file'
391         property.
392         (g_file_icon_new): Use the property (bug #546132).
393
394 2008-08-06  Paul Pogonyshev  <pogonyshev@gmx.net>
395
396         * gthemedicon.c (g_themed_icon_get_property): Also handle
397         `PROP_USE_DEFAULT_FALLBACKS'.
398         (g_themed_icon_class_init): Make
399         `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
400
401 2008-08-05  Behdad Esfahbod  <behdad@gnome.org>
402
403         Bug 546371 – Improve docs re g_file_monitor
404
405         * gfilemonitor.c: Mention g_file_monitor() in the docs.
406
407 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
408
409         * === Released 2.17.6 ===
410
411 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
412
413         * === Released 2.17.5 ===
414
415 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
416
417         Bug 546017 – Don't copy attributes when copying a symlink
418
419         * gfile.c (g_file_copy_attributes): Specify
420         G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to 
421         g_file_set_attributes_from_info. Patch by Christian Kellner
422
423 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
424
425         * gemblemedicon.[hc]: 
426         * gio.symbols:
427         * gemblem.[hc]: Add GEmblem to make the emblem mechanism
428         a bit more extensible. Work by Clemens Buss.
429
430         * gioenums.h: Add GEmblemOrigin.
431         * Makefile.am: Glue
432
433 2008-08-03  Carlos Garcia Campos  <carlosgc@gnome.org>
434
435         Bug 546079 – leak in xdgmime
436         
437         * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
438         
439 2008-08-03  Tor Lillqvist  <tml@novell.com>
440
441         * win32/gwin32directorymonitor.h
442         * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
443         style.
444
445 2008-08-03  Tor Lillqvist  <tml@novell.com>
446
447         * win32/gwin32directorymonitor.c
448         (g_win32_directory_monitor_callback): Make prototype match
449         LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
450         LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
451         pointer.
452
453         (g_win32_directory_monitor_constructor):
454         GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
455         names in the GLib API on Windows, so convert to UTF-16 and open
456         with CreateFileW().
457
458 2008-08-03  Tor Lillqvist  <tml@novell.com>
459
460         Bug 541036 - Gnumeric crashes when trying to open Desktop or
461         user's folder under Windows
462
463         * win32/gwin32directorymonitor.c
464         (g_win32_directory_monitor_constructor): Ignore error from
465         CreateFile() when opening directory. Instead of asserting, just
466         store INVALID_HANDLE_VALUE then in
467         GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
468         ReadDirectoryChangesW().
469         (g_win32_directory_monitor_cancel): Don't attempt to close
470         directory handle if it is INVALID_HANDLE_VALUE.
471
472 2008-08-01  Matthias Clasen  <mclasen@redhat.com>
473
474         * gdesktopappinfo.c: Remove debug spew
475
476 2008-08-01  Hans Breuer  <hans@breuer.org>
477
478         * makefile.msc : add gemblembedicon
479
480 2008-07-30  Matthias Clasen  <mclasen@redhat.com>
481
482         Bug 545457 – gdmsetup crashed with SIGSEGV in
483         g_unix_mount_guess_should_display()
484
485         * gunixvolumemonitor.c (get_mount_for_mount_path): Don't 
486         crash if no mount is found.
487
488 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
489
490         Bug 545203 – gfile.c: argument is different type.
491
492         * gfile.c (open_read_async_thread): Pass a GError **
493         to g_file_set_error_literal.
494         Reported by Kazuki Iwamoto
495
496 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
497
498         Bug 545157 – wrong/no list of "open with" applications for .cc and
499         .cpp files
500
501         * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
502         Collect all ancestors, not just direct parents. Pointed
503         out by Bastien Nocera
504
505 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
506
507         * Makefile.am: Install gemblemedicon.h
508
509 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
510
511         * gemblemedicon.[hc]: Add a GIcon implementation that can
512         add an emblem to another icon.
513
514         * gio.h:
515         * Makefile.am:
516         * gio.symbols: Glue
517
518         * gloadableicon.c:
519         * gfileicon.c: Small documentation additions.
520
521 2008-07-28  Tor Lillqvist  <tml@novell.com>
522
523         * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
524         type.
525
526 2008-07-27  Tor Lillqvist  <tml@novell.com>
527
528         * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
529
530 2008-07-24  David Zeuthen  <davidz@redhat.com>
531
532         * gmount.[ch]:
533         * gio.symbols:
534         Also export a g_mount_guess_content_type_sync() function.
535
536 2008-07-23  Matthias Clasen  <mclasen@redhat.com>
537
538         529694 – SELinux context setting support
539
540         * gfileinfo.c: Support setting selinux attributes.
541         Patch by Tomas Bzatek
542
543 2008-07-22  Priit Laes <plaes@plaes.org>
544
545         Bug 544140 - fam-helper 64-bit issue?
546
547         * fam/fam-helper.c: Added missing include so compiler doesn't complain.
548
549 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
550
551         * === Released 2.17.4 ===
552
553 2008-07-20  Matthias Clasen  <mclasen@redhat.com>
554
555         * gvolumemonitor.[hc]:
556         * gmountoperation.c:
557         * gioenums.h:
558         * gdrive.c:
559         * gvfs.c:
560         * gmount.c: Documentation fixes
561
562 2008-07-19  Matthias Clasen  <mclasen@redhat.com>
563
564         543504 – crash in Epiphany Web Browser: Opening local file
565
566         * gappinfo.c:
567         * gasyncresult.c:
568         * gdesktopappinfo.c:
569         * gdrive.c:
570         * gfile.c:
571         * gicon.c:
572         * gloadableicon.c:
573         * gmount.c:
574         * gseekable.c:
575         * gvolume.c: Register types thread-safely.
576         Patch by Christian Persch
577
578 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
579
580         * gcontenttype.c: Remove debug spew
581
582 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
583
584         Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
585         any applications
586
587         * fen/fen-kernel.c: Remove a warning that was causing
588         crashes. Reported by Lin Ma.
589
590 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
591
592         Bug 543040 – async reading on dummy file will crash on
593         GIO_USE_VFS=local
594
595         * gfile.c (open_read_async_thread): Cope with read_fn being
596         NULL. Reported by Lin Ma.  
597
598 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
599
600         * gio.symbols:
601         * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
602
603 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
604
605         * gvfs.h:
606         * gdesktopappinfo.h: 
607         * giomodule.c: Rename a chapter id to avoid filename conflict.
608
609 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
610
611         Bug 540616 – mem leak in filechooser button
612
613         * gunixvolumemonitor.c (get_mount_for_mount_path): Free
614         the mount entry. Reported by Chrisitan Persch
615
616 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
617
618         * gfile.c: Small documentation fixes.
619
620 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
621
622         * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
623
624 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
625
626         * gvolumemonitor.c:
627         * gfile.c:
628         * gvolume.c:
629         * gmount.c: Documentation improvements.
630
631 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
632
633         * gio.symbols:
634         * gmount.[hc]: Add g_mount_guess_content_type(). 
635
636 2008-07-06  David Zeuthen  <davidz@redhat.com>
637
638         * gio.symbols:
639         * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
640         is needed for easily handling adoption of foreign volumes by
641         out-of-process volume monitors (#541793)
642
643 2008-07-06  David Zeuthen  <davidz@redhat.com>
644
645         * gvolumemonitor.[ch]:
646         * gunionvolumemonitor.c: Export the eject-button signal on the
647         volume monitor class (#541794).
648
649 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
650
651         * gappinfo.c: More doc tweaks
652
653 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
654
655         * gappinfo.c: Clarify some docs
656
657 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
658
659         * gdesktopappinfo.c: Fix a stupid mistake.
660
661 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
662
663         * === Released 2.17.3 ===
664
665 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
666
667         * gfilemonitor.c: Fix the build.
668
669 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
670
671         Bug 536160 – Add g_file_monitor()
672
673         * gio.symbols:
674         * gfile.[hc]: Add g_file_monitor which can return either
675         a file or a directory monitor.  Proposed by Behdad Esfahbod
676
677 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
678
679         536733 – gio build failure on Irix
680
681         * glocalfile.c: Use a configure check for structfs.f_bavail.
682
683 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
684
685         Bug 534639 – add g_desktop_app_info_new_from_keyfile
686
687         * gio.symbols:
688         * gdesktopappinfo.[hc]: Add a function to create a
689         GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
690
691 2008-07-02  Wouter Bolsterlee  <wbolster@svn.gnome.org>
692
693         * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
694
695 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
696
697         * gunixmounts.c: Fix a doc typo.
698
699 2008-07-01  Cody Russell  <bratsche@gnome.org>
700
701         * gio/gcontenttype.c:
702         * gio/gwin32appinfo.c:
703         * gio/gwin32volumemonitor.c:
704         * gio/gwin32mount.c: Fixed some include problems.
705
706 2008-07-01  Cody Russell  <bratsche@gnome.org>
707
708         * gio/gioenums.h:
709         * gio/giotypes.h:
710         Moved all relevant typedefs into these files.
711
712         * gio/*.[ch]:
713         Updated wrt added files.
714
715         Split types into separate file for easier maintainership. (#538564)
716
717 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
718
719         Bug 540331 – g_file_append_to () documentation: can return NULL
720
721         * gfile.c (g_file_append_to): Clarify docs.
722         Patch by Jared Moore
723
724 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
725
726         Bug 539090 – g_content_type_from_mime_type() should unalias
727
728         * gcontentype.c (g_content_type_from_mime_type): Unalias.
729         Patch by Markus Bergman
730
731 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
732
733         Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
734         g_atomic_pointer_get
735
736         * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
737         on ppc and alpha. Reported by Mart Raudsepp
738
739 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
740
741         * tests/Makefile.am: 
742         * tests/memory-output-stream.c: Add some tests for
743         GMemoryOutputStream. 
744
745 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
746
747         Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
748         0, ...)
749
750         * gmemoryoutputstream.c (array_resize): Handle truncation to
751         zero correctly. Reported by Akira Tagoh
752
753 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
754
755         * gmemoryoutputstream.c: Trivial doc fixes
756
757 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
758
759         Bug 540802 – g_list_prepend doesn't concat lists
760
761         * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
762         one list to another. Pointed out by Jan Arne Petersen
763
764 2008-06-28  Michael Natterer  <mitch@imendio.com>
765
766         * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
767
768 2008-06-18  Matthias Clasen <mclasen@rdhat.com>
769
770         * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
771         to avoid problems with partial icon themes.
772         
773 2008-06-17  Hans Breuer  <hans@breuer.org>
774
775         * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from 
776         gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
777         access again on win32, see bug #538127
778         * giomodule.c : ensure GWin32VolumeMonitor is registered
779         * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
780         * Makefile.am makefile.msc : updated
781
782 2008-06-16  Hans Breuer  <hans@breuer.org>
783
784         * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration 
785         and initialization in one step avoids c99ism
786
787 2008-06-16  Christian Persch  <chpe@gnome.org>
788
789         * gio/gappinfo.c
790         * gio/gbufferedinputstream.c
791         * gio/gcancellable.c
792         * gio/gdatainputstream.c
793         * gio/gdesktopappinfo.c
794         * gio/gfile.c
795         * gio/gfileenumerator.c
796         * gio/gfileinputstream.c
797         * gio/gfileoutputstream.c
798         * gio/ginputstream.c
799         * gio/glocaldirectorymonitor.c
800         * gio/glocalfile.c
801         * gio/glocalfileenumerator.c
802         * gio/glocalfileinfo.c
803         * gio/glocalfilemonitor.c
804         * gio/glocalfileoutputstream.c
805         * gio/gmemoryinputstream.c
806         * gio/gmemoryoutputstream.c
807         * gio/goutputstream.c
808         * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from 
809         bug #535947.
810
811 2008-06-16  Tor Lillqvist  <tml@novell.com>
812
813         Bug 538362 - Get Win32 icons back in the file chooser
814
815         * gcontenttype.c (g_content_type_get_icon): Look up the icon
816         corresponding to a file extension in the Registry. Patch by Hans
817         Breuer.
818         (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
819         
820 2008-06-16  Tor Lillqvist  <tml@novell.com>
821
822         Patches by Hans Breuer:
823
824         * glocalfile.c (is_xp_or_later): Handle compiling against older
825         SDK headers with missing VerifyVersionInfo().  Conditioned on
826         _MSC_VER, but should probably use some better test.
827         * glocalfile.c (g_local_file_query_filesystem_info): Don't test
828         uninitialised statfs_result variable on Win32.
829
830 2008-06-16  Michael Natterer  <mitch@imendio.com>
831
832         * *.c: chain up unconditionally in finalize() and dispose(). Also
833         don't dereference these function pointers when calling them since
834         that has no meaning at all.
835
836 2008-06-16  Ross Burton  <ross@burtonini.com>
837
838         * gfileenumerator.c:
839         Remove check for dispose implementation as it annoys Emmanuele.
840         
841 2008-06-16  Ross Burton  <ross@burtonini.com>
842
843         Bug 536252 – GFileEnumerator should allow access to the containing
844         GFile
845         
846         * gfileenumerator.c:
847         * gfileenumerator.h:
848         * gfile.h:
849         Add g_file_enumerator_get_container() and a container writeable
850         construct-only property.  Also shuffle around typedefs to make it
851         compile.
852         
853         * glocalfileenumerator.c:
854         * glocalfileenumerator.h:
855         * glocalfile.c:
856         Instead of a string filename take a GFile in the constructor and
857         use it to set the container property.
858         
859         * gio.symbols:
860         Update with new API.
861
862 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
863
864         * gfile.c: Make includes more uniform
865
866 2008-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
867
868         * tests/live-g-file.c (sample_struct):
869         Use less fancy unicode filenames, so the test doesn't fail
870         on Mac OS X (#531476).
871
872 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
873         
874         * === Released 2.17.2 ===
875
876 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
877
878         * === Released 2.17.1 ===
879
880 2008-06-11  A. Walton  <awalton@gnome.org>
881
882         * tests/g-file.c (test_g_file_new_null):
883         Fix broken test case.
884
885 2008-06-11  Matthias Clasen <mclasen@redhat.com>
886
887         * pltcheck.sh: We use g_clear_error now.
888
889 2008-06-11  Matthias Clasen <mclasen@redhat.com>
890
891         * glocalfile.c (g_local_file_enumerate_children): Revert
892         an unintended change.
893
894 2008-06-11  Matthias Clasen <mclasen@redhat.com>
895
896         * gfile.c (g_file_replace_contents): Don't unref before the last use.
897
898 2008-06-10  Matthias Clasen <mclasen@redhat.com>
899
900         Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
901         folder
902         
903         * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
904         as icon for the desktop directory, also make user-home and
905         user-desktop the preferred icons.
906
907 2008-06-10  Matthias Clasen <mclasen@redhat.com>
908
909         * gio.symbols:
910         * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
911         to add a name to the front of the list.
912
913 2008-06-10  Matthias Clasen <mclasen@redhat.com>
914
915         Bug 537392 – Additional colon in xattr name
916
917         * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
918         too. Reported by  Alessandro Morandi 
919
920 2008-06-10  Matthias Clasen <mclasen@redhat.com>
921
922         Bug 536641 – Filesystem querying in gio does not list AFS and autofs
923         file systems
924
925         * glocalfile.c (get_fs_type): Add afs and autofs.
926         Patch by Danny Baumann.
927
928 2008-06-10  Matthias Clasen <mclasen@redhat.com>
929
930         Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
931
932         * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
933         is no parent.  (Owen Taylor, patch by Christian Neumair)
934         
935 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
936
937         * gfile.c (g_file_replace_contents): do not leak the output stream.
938
939 2008-06-10  Michael Natterer  <mitch@imendio.com>
940
941         * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
942         uninitialized memory as array index.
943
944 2008-06-10  Tor Lillqvist  <tml@novell.com>
945
946         * gcontenttype.c (g_content_type_can_be_executable)
947         (g_content_type_get_icon) [Win32]: Add TODO comments.
948
949 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
950
951         * xdgmime/Makefile.am: Fix the build
952
953 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
954
955         * gcontenttype.c (g_content_type_get_icon): Use icons specified
956         in the shared mime database, if available.
957
958         * xdgmime/*: Sync with upstream. This brings support for
959         glob weights, generic icons, and changes the cache format to 
960         version 1.1.
961
962 2008-05-28  Michael Natterer  <mitch@imendio.com>
963
964         * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
965         the global CPPFLAGS now.
966
967         * tests/data-input-stream.c
968         * tests/data-output-stream.c
969         * tests/g-file-info.c
970         * tests/g-file.c
971         * tests/live-g-file.c
972         * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
973
974 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
975
976         * === Released 2.17.0 ===
977
978         * tests/live-g-file.c: Clean up after the tests, so make distcheck
979         doesn't complain about leftover files.
980
981 2008-05-27  simon.zheng  <simon.zheng@sun.com>
982
983         * glocalfile.c: (g_local_file_query_filesystem_info):
984         Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
985
986 2008-05-26  Michael Natterer  <mitch@imendio.com>
987
988         * gmemoryoutputstream.h: declare
989         g_memory_output_stream_get_data_size().
990
991 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
992
993         * tests/*: Make tests work 
994
995 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
996
997         * gio.symbols: Add g_memory_output_stream_get_data_size.
998
999 2008-05-25  Ross Burton  <ross@burtonini.com>
1000
1001         * glocalfile.c:
1002         Fix typo in error message (#534764).
1003
1004 2008-05-25  Ross Burton  <ross@burtonini.com>
1005
1006         * Makefile.am:
1007         Fix circular dependency loop for gioenumtypes.h (#534759).
1008
1009 2008-05-19  Hans Breuer  <hans@breuer.org>
1010
1011         * Makefile.am : EXTRA_DIST += makefile.msc
1012
1013 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1014
1015         * gcontenttype.h:
1016         * gcontenttype.c: (g_content_type_from_mime_type):
1017         New function to create a content type from a mime type. (#527175,
1018         Milan Crha)
1019
1020 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1021
1022         Bug 532965 – Should not return filesystem::free for certain file systems
1023
1024         * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1025         free space for ncpfs.
1026
1027 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1028
1029         Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1030
1031         * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1032         st_dev might be zero.
1033
1034 2008-05-16  Tor Lillqvist  <tml@novell.com>
1035
1036         * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1037         get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1038
1039 2008-05-13  Bastien Nocera  <hadess@hadess.net>
1040
1041         * gfile.c (has_valid_scheme): A URI scheme must start with a
1042         letter, even if later more characters are allowed (#532852)
1043
1044 2008-05-05  Michael Natterer  <mitch@imendio.com>
1045
1046         * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1047         code from being checked in that breaks the build of applications
1048         which use G_DISABLE_SINGLE_INCLUDES.
1049
1050         * makegioalias.pl: make the alias file include "glib.h" instead of
1051         "glibconfig.h".
1052
1053         * gio.symbols: whitespace change to force regeneration of the
1054         alias file after above script change.
1055
1056         * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1057
1058         * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1059
1060         * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1061
1062         * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1063
1064 2008-04-28  David Zeuthen  <davidz@redhat.com>
1065
1066         * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1067         displaying mounts in a subdirectory not accessible to the
1068         user (#526320).
1069
1070 2008-04-22  Michael Natterer  <mitch@imendio.com>
1071
1072         * Makefile.am: fix library versioning (it was 0.0.0).
1073
1074 2008-04-21  Lin Ma  <Lin.Ma@Sun.COM>
1075
1076         * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1077         Default disable all loggings.
1078         * fen/fen-kernel.c: (printevent), (port_add_kevent),
1079         (port_fetch_event_cb): Fixed two macro nits.
1080
1081 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1082
1083         * xdgmime/xdgmime.c: Rework the timestamp checking code
1084         to protect against duplicate directories in XDG_DATA_DIRS.
1085         Fixes fd.o bug 12513, reported by Joe Shaw.
1086
1087 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1088
1089         Partically revert the last commit after realizing that
1090         xdg_mime_media_type_equal doesn't have to init at all.
1091
1092         * xdgmime/xdgmime.h:
1093         * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1094
1095         * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1096
1097 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1098
1099         Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1100         reported by Joe Shaw and Federico Mena Quintero.
1101
1102         * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1103         (xdg_mime_media_type_equal): Turn into a wrapper around the 
1104         _-prefixed version.
1105
1106         * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1107         functions throughout.
1108
1109 2008-04-16  Michael Meeks  <michael.meeks@novell.com>
1110
1111         * gdesktopappinfo.c (g_desktop_app_info_new_from_filename): 
1112         tolerate an empty TryExec= line without failing; nautilus used
1113         to create launchers with these in previous versions. Fixes #528433
1114
1115 2008-04-09  Padraig O'Briain  <padraig.obriain@sun.com>
1116
1117         * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1118         after name. Fixes #527132.
1119
1120 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
1121
1122         * gfile.c: (g_file_replace):
1123         Doc update
1124
1125 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
1126
1127         Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1128
1129         * gfile.c (file_copy_fallback): Fix the argument order. Patch
1130         by Christian Kellner.
1131
1132 2008-04-04  Sebastien Bacher  <seb128@ubuntu.com>
1133
1134         * gunixmounts.c: (g_unix_mount_guess_should_display):
1135         Don't list the user directory as a mount, fix potential issue
1136         when other users have a similar naming and don't special case the
1137         gvfs mounts there since that's not required (#525866)
1138
1139 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1140
1141         * glocalfile.c (get_parent):
1142         Don't leak parent.
1143         
1144 2008-03-31  A. Walton  <awalton@svn.gnome.org>
1145
1146         * gfile.c (g_file_query_file_type):
1147         Always return a GFileType enum value (#520715).
1148
1149 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1150
1151         * glocalfileenumerator.c:
1152         Read readdir() info in chunks (of 1000) and sort
1153         the chunks by inode before stat:ing.
1154         This is a 20% performance increase in testing
1155         gvfs-ls on /usr/bin with cold cache.
1156
1157 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1158
1159         * gmemoryoutputstream.c:
1160         Clarify docs for g_memory_output_stream_get_size.
1161         Add g_memory_output_stream_get_data_size.
1162
1163 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
1164
1165         * gio.symbols:
1166         * gfile.c:
1167         * gfile.h: Add g_file_query_file_type convenience function
1168         to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)
1169
1170 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
1171
1172         * gfileenumerator.c:
1173         * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)
1174
1175 2008-03-28  A. Walton  <awalton@svn.gnome.org>
1176
1177         * giomodule.c (_g_io_modules_ensure_loaded):
1178         Adds GIO_EXTRA_MODULES environment variable support, closing bug 
1179         #523039.
1180
1181 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1182
1183         * gfile.c:
1184         (copy_stream_with_progress):
1185         Fix up last commit.
1186         
1187 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1188
1189         * gfile.c:
1190         (copy_stream_with_progress):
1191         (file_copy_fallback):
1192         Fallback to g_file_query_info for source size
1193         if g_file_input_stream_query_info fails. (#524579)
1194
1195 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1196
1197         * glocalfile.c (g_local_file_move):
1198         Reuse old string instead of adding new one.
1199
1200 2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>
1201
1202         * fen/*.[hc]: still copyright issue. I hate copyright.
1203
1204 2008-03-27  Alexander Larsson  <alexl@redhat.com>
1205
1206         * glocalfile.c (g_local_file_move):
1207         Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1208         file over directory. This is according to the docs and what the move via
1209         copy+remove fallback does.
1210
1211 2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>
1212
1213         * fen/*.[hc]: Updated copyright.
1214
1215 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
1216
1217         * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1218
1219 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
1220
1221         * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1222         not emit attribute changed events when optimizing changed events.
1223         * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1224         warning messages.
1225
1226 2008-03-19  Matthias Clasen  <mclasen@redhat.com>
1227
1228         * gmountoperation.[hc]: Small documentation additions
1229
1230 2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>
1231
1232         * gunixmounts.c: (guess_mount_type): 
1233         consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1234
1235 2008-03-19  Alexander Larsson  <alexl@redhat.com>
1236
1237         * gfile.c:
1238         (copy_stream_with_progress):
1239         Bump block side for copy to 64k to minimize
1240         overhead for low latency links. (#523015)
1241
1242 2008-03-16  Tor Lillqvist  <tml@novell.com>
1243
1244         * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1245         depend on gio.def on Windows.
1246
1247 2008-03-12  David Zeuthen  <davidz@redhat.com>
1248
1249         * gio.symbols:
1250         * gunixmounts.[ch]:
1251         Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1252
1253 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1254
1255         * gunixmounts.c:
1256         (guess_mount_type):
1257         Avoid redudant tests (#521851)
1258         Patch from Josselin Mouette
1259
1260 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1261
1262         * gfilemonitor.c:
1263         (g_file_monitor_is_cancelled):
1264         Fix C89 issue (#521672)
1265         Patch from Jens Granseuer
1266
1267 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1268
1269         * fam/fam-helper.[ch]:
1270         * fam/fam-module.c:
1271         Shut down fam (including removing fam GSource) when
1272         module is unloaded (#521513)
1273         Patch from Joe Marcus Clarke   
1274
1275 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1276
1277         * giomodule.c:
1278         (_g_io_modules_ensure_loaded):
1279         Fix up FEN ifdefs
1280
1281 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1282
1283         * glocalfile.c:
1284         (g_local_file_query_filesystem_info):
1285         Use right define name for f_fstypename member check
1286
1287 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1288
1289         * Makefile.am:
1290         * fen/Makefile.am: Added.
1291         * fen/fen-data.[ch]: Added.
1292         * fen/fen-dump.[ch]: Added.
1293         * fen/fen-helper.[ch]: Added.
1294         * fen/fen-kernel.[ch]: Added.
1295         * fen/fen-missing.[ch]: Added.
1296         * fen/fen-node.[ch]: Added.
1297         * fen/fen-sub.[ch]: Added.
1298         * fen/gfendirectorymonitor.[ch]: Added.
1299         * fen/gfenfilemonitor.[ch]: Added.
1300         * giomodule.c:
1301         Added Solaris FEN file notification backend.
1302         Patch from Lin Ma <Lin.Ma@Sun.COM>
1303
1304 2008-03-13  Tor Lillqvist  <tml@novell.com>
1305
1306         * Makefile.am: Actually use the gio.def file when linking the
1307         library on Windows. Produce .lib library for Microsoft's toolchain
1308         when possible. Install the .lib and .def file like for the other
1309         libraries of GLib.
1310
1311 2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>
1312
1313         * tests/live-g-file.c:
1314         Include live-g-file in standard set of tests, making a temporary
1315         directory in source structure.
1316         
1317         Clean target directory before the tests (write mode only)
1318
1319 2008-03-12  Tor Lillqvist  <tml@novell.com>
1320
1321         Bug 517419 - gio win32 directory monitor
1322         Implementation by Vlad Grecescu.
1323         
1324         * win32/Makefile.am
1325         * win32/gwin32directorymonitor.h
1326         * win32/gwin32directorymonitor.c: New files.
1327
1328         * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1329
1330         * Makefile.am: Add the win32 subdirectory.
1331
1332 2008-03-12  Tor Lillqvist  <tml@novell.com>
1333
1334         * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1335         normal struct stat on Unix but struct _stati64 on Windows to have
1336         access to 64-bit file size information. Use that instead of struct
1337         stat in the functions declared here in this private header.
1338
1339         * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1340         S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1341         warnings about unused functions and variables. Don't set
1342         meaningless attributes like inode numbers on Windows.
1343
1344 2008-03-12  Benjamin Otte  <otte@gnome.org>
1345
1346         * gvfs.h:
1347         trim whitespace so gtk-doc groks the function name
1348
1349 2008-03-12  Tor Lillqvist  <tml@novell.com>
1350
1351         * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1352         returning FALSE, on Win32.
1353
1354 2008-03-11  Alexander Larsson  <alexl@redhat.com>
1355
1356         * glocalfile.c:
1357         * glocalfileinfo.[ch]:
1358         Correctly implement can_trash by actually
1359         looking for a trash dir, not just assuming
1360         one exists.
1361
1362 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
1363         
1364         * === Released 2.16.1 ===
1365
1366 2008-03-11  Alexander Larsson  <alexl@redhat.com>
1367
1368         * gthemedicon.c:
1369         Fix crashes in new constructor and properties code
1370
1371 2008-03-10  Murray Cumming  <murrayc@murrayc.com>
1372
1373         * gfile.c: Minor spelling correction in documentation:
1374         existance -> existence.
1375
1376 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
1377
1378         * === Released 2.16.0 ===
1379
1380 2008-03-10  Matthias Clasen <mclasen@redhat.com>
1381
1382         * gio.symbols: Remove g_file_contains_file here, too.
1383
1384 2008-03-10  Matthias Clasen <mclasen@redhat.com>
1385
1386         * gthemedicon.c: Add properties to make bindings happy.  (#517676,
1387         Samuel Cormier-Iijima)
1388
1389 2008-03-08  Tor Lillqvist  <tml@novell.com>
1390
1391         * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1392         winnt.h. (#521145)
1393
1394 2008-03-07  Alexander Larsson  <alexl@redhat.com>
1395
1396         * glocalfile.c:
1397         (g_local_file_query_filesystem_info):
1398         Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1399         Patch from Jasper Lievisse Adriaanse
1400
1401 2008-03-06  Tor Lillqvist  <tml@novell.com>
1402
1403         * gfileinfo.h: Correct milliseconds to microseconds in the doc
1404         comments for the *_USEC attributes.
1405
1406 2008-03-06  Alexander Larsson  <alexl@redhat.com>
1407
1408         * gfile.c (g_file_query_exists):
1409         Add g_return_val_if_fail check (#520700)
1410
1411 2008-03-06  Alexander Larsson  <alexl@redhat.com>
1412
1413         * gdesktopappinfo.c:
1414         * gfilemonitor.c:
1415         * gthemedicon.c:
1416         * gunionvolumemonitor.c:
1417         * gunixmounts.c:
1418         * tests/g-file.c:
1419         * tests/live-g-file.c:
1420         * xdgmime/xdgmimecache.c:
1421         Fix sparse warnings (#519489)
1422
1423 2008-03-05  Alexander Larsson  <alexl@redhat.com>
1424
1425         * gfilemonitor.c:
1426         Make cancellation threadsafe (i.e.
1427         guarantee its only done once, and always
1428         done)
1429         
1430         * glocaldirectorymonitor.c:
1431         Make sure we the monitor lives while the
1432         mounts_changed callback is being called (#520484)
1433
1434 2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1435
1436         * gbufferedinputstream.c: Fix typo in parameter
1437         documentation.
1438
1439 2008-03-04  Alexander Larsson  <alexl@redhat.com>
1440
1441         * gfile.c:
1442         Remove deprecated symbols we kept for one release.
1443
1444 2008-03-04  Murray Cumming  <murrayc@murrayc.com>
1445
1446         * ginputstream.c:
1447         * goutputstream.c: Tiny documentation corrections.
1448
1449 2008-03-03  Alexander Larsson  <alexl@redhat.com>
1450
1451         * gunionvolumemonitor.c:
1452         * gvolumemonitor.h:
1453         Fix the adopt_orphan_mount vfunc to take a
1454         volume_monitor reference in an ABI compat way.
1455         This change is not API compat, but the added
1456         arg is not used in the only user of this vfunc, so
1457         all we get is a harmless warning in gvfs (#520169)
1458         
1459 2008-03-01  Benjamin Otte  <otte@gnome.org>
1460
1461         * gfile.c:
1462         clarify docs for g_file_delete().
1463
1464 2008-02-29  Alexander Larsson  <alexl@redhat.com>
1465
1466         * glocalfileinfo.c:
1467         (get_content_type):
1468         Make sure empty files get text/plain type (#518720)
1469
1470 2008-02-27  Alexander Larsson  <alexl@redhat.com>
1471
1472         * gcontenttype.c:
1473         Fix type warnings
1474         
1475         * gunixvolume.c:
1476         (g_unix_volume_mount):
1477         Add missing GMountMountFlags argument
1478
1479 2008-02-26  Alexander Larsson  <alexl@redhat.com>
1480
1481         * glocalfile.c:
1482         (g_local_file_delete):
1483         Handle filesystems (like ntfs-3g) that return EEXIST instead
1484         of ENOTEMPTY (#518816)
1485
1486 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
1487
1488         * === Released 2.15.6 ===
1489
1490 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1491
1492         * gfile.c (g_file_find_enclosing_mount):
1493         * ginputstream.c (g_input_stream_set_pending):
1494         * glocalfile.c (g_local_file_find_enclosing_mount):
1495         * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1496         * goutputstream.c (g_output_stream_set_pending):
1497
1498         Fixup translator comments (#518578).
1499
1500 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1501
1502         * gfile.c (g_file_find_enclosing_mount):
1503         * giomodule.c:
1504         * glocalfile.c (g_local_file_find_enclosing_mount):
1505         * goutputstream.c:
1506
1507         Fix a few typos in translator comments and documentation.
1508
1509 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1510
1511         * gfile.c:
1512         * ginputstream.c:
1513         * glocalfile.c:
1514         * gmount.c:
1515         * goutputstream.c:
1516         Add translator comments (#518578)
1517
1518 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1519
1520         * gfile.c:      
1521         Reintroduce g_file_contains_file, keep around for one
1522         unstable release cycle to avoid crashing to many apps.
1523         Make sure to delete after release.
1524
1525 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1526
1527         * gfile.[ch]:
1528         Remove deprecated g_file_contains_file.
1529
1530 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1531
1532         * gfilemonitor.c:
1533         Emit actual change signals in an idle handler.
1534         This avoids reentrance and locking problems in
1535         the file notification backends.
1536         
1537 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1538
1539         * gunixmounts.c:
1540         (g_unix_mount_guess_should_display):
1541         Remove type guessing, instead just display
1542         mounts in /media and in ~/.
1543
1544 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1545
1546         * glocalfile.c:
1547         Make new strings reuse old ones.
1548         
1549 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1550
1551         * glocalfile.c:
1552         Implement trashing and filesystem::readonly for win32 (#517235)
1553         Patch from Yevgen Muntyan
1554
1555 2008-02-23  Matthias Clasen  <mclasen@redhat.com>
1556
1557         * gfileinfo.h: Documentation fixes.
1558
1559 2008-02-22  Alexander Larsson  <alexl@redhat.com>
1560
1561         * gcontenttype.c (g_content_type_get_icon):
1562         Look at old-style gnome mime icon names too, as many
1563         have not moved to the new style.
1564
1565 2008-02-21  Matthias Clasen  <mclasen@redhat.com>
1566
1567         * *.c: Correct the @include in for section docs.
1568
1569 2008-02-21  David Zeuthen  <davidz@redhat.com>
1570
1571         * glocalfileinfo.c: (_g_local_file_info_get):
1572         * gcontenttype.c:
1573         (g_content_type_get_icon): Implement this function by
1574         moving bits from glocalfileinfo.c
1575         (g_content_type_get_description): Unalias before getting
1576         description (#517687)
1577
1578         * gfile.c: (g_file_class_init),
1579         (g_file_query_filesystem_info_async),
1580         (g_file_query_filesystem_info_finish),
1581         (query_filesystem_info_data_free),
1582         (query_filesystem_info_async_thread),
1583         (g_file_real_query_filesystem_info_async),
1584         (g_file_real_query_filesystem_info_finish):
1585         * gfile.h: Implement async version of
1586         g_file_query_filesystem_info()
1587
1588         * gfileinfo.h: Add new attributes for filesystem::use-preview
1589
1590         * gio.symbols: Update
1591
1592         * gthemedicon.c: (g_themed_icon_append_name):
1593         * gthemedicon.h: Add new new convenience function.
1594
1595         * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1596         (get_mounts), (get_volumes), (get_connected_drives),
1597         (get_volume_for_uuid), (get_mount_for_uuid),
1598         (g_union_volume_monitor_init), (populate_union_monitor),
1599         (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1600         (g_volume_monitor_adopt_orphan_mount):
1601         * gvolumemonitor.c:
1602         * gvolumemonitor.h: Use recursive locks so it's safe for volume
1603         monitor implementations to call into the main volume monitor. Also
1604         separate object initialization and volume monitor initialization
1605         such that non-native volume monitors can properly adopt their
1606         mounts away.
1607
1608 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1609
1610         * gfile.c:
1611         Fix doc typo
1612         
1613 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1614
1615         * gfile.c:
1616         Add more documentation about how GFiles work (from #517086)
1617
1618 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1619
1620         * gfile.[ch]:
1621         * gio.symbols:
1622         Add new g_file_has_prefix that does the same as g_file_contains_file.
1623         Deprecate g_file_contains_file and add a macro that converts
1624         it to g_file_has_prefix.
1625         The reason for this change is that the contains_file() name seems to
1626         imply that this does more work than what it does, but its really only
1627         a name match (from #517086)
1628         
1629         * gdummyfile.c:
1630         * glocalfile.c:
1631         * tests/g-file.c:
1632         Update to match the above change.
1633
1634 2008-02-20  Benjamin Otte  <otte@gnome.org>
1635
1636         * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1637         (g_file_eject_mountable):
1638         even more cases of not returning in error path
1639
1640 2008-02-20  Benjamin Otte  <otte@gnome.org>
1641
1642         * gfile.c: (g_file_mount_mountable): 
1643         return from function in error path.
1644
1645 2008-02-18  Sylvain Pasche <sylvain.pasche@gmail.com>
1646
1647         * gfile.h:
1648          Remove trailing coma in GMountMountFlags struct
1649
1650 2008-02-18  Alexander Larsson  <alexl@redhat.com>
1651
1652         * glocalfile.c:
1653         * glocalfileinfo.c:
1654         * glocalfileoutputstream.c:
1655         Use g_unlink/g_rename instead of unlink/rename;
1656         do not pass raw filenames to g_set_error. (#517239)
1657         Patch from Yevgen Muntyan.
1658
1659 2008-02-18  Alexander Larsson  <alexl@redhat.com>
1660
1661         * glocalfile.c:
1662         * glocalfileoutputstream.c:
1663         Open files with O_BINARY on windows. (#517140)
1664
1665 2008-02-14  Alexander Larsson  <alexl@redhat.com>
1666
1667         * glocalfileoutputstream.c:
1668         Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1669
1670 2008-02-14  Alexander Larsson  <alexl@redhat.com>
1671
1672         * glocalfile.c:
1673         Copy permissions with file on copy (#514084)
1674         This is what cp does and makes sure e.g. the
1675         exec permissions are kept.
1676         Its kinda weird in that it keeps the permission bits
1677         the same while the uid and gid are different. However
1678         the new uid is the user so its not a security issue,
1679         and I've heard no complaints about cp on this issue.
1680
1681 2008-02-13  Ryan Lortie  <desrt@desrt.ca>
1682
1683         * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1684
1685 2008-02-13  Alexander Larsson  <alexl@redhat.com>
1686
1687         * inotify/inotify-path.c:
1688         Define IN_ONLYDIR if not in header (#515346)
1689
1690 2008-02-12  Alexander Larsson  <alexl@redhat.com>
1691
1692         * tests/live-g-file.c:
1693         C89 fixes (#515892)
1694
1695 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1696
1697         * === Released 2.15.5 ===
1698
1699 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1700
1701         * gio.symbols: Add g_mount_mount_flags_get_type.
1702
1703 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1704
1705         * gfileinfo.c:
1706         (g_file_info_set_attribute_mask):
1707         (g_file_attribute_matcher_matches_id):
1708         Correctly handle NULL GAttributeMatcher meaning
1709         matches nothing. (Fixes #513492)
1710
1711 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1712
1713         * gfile.[ch]:
1714         * gmount.[ch]:
1715         * gvolume.[ch]:
1716         Added GMountMountFlags enum and added a flags
1717         argument to all mount calls.
1718         
1719         This is an API/ABI change for future extensibility,
1720         as I think we will need at least an
1721         inhibit-autorun flag (the panel needs this).
1722         There are no flags defined yet though.
1723
1724 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1725
1726         * gfileinfo.h:
1727         Added new standard::description attribute.
1728         Requested by Vincent, and useful for both
1729         panel and nautilus
1730
1731 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1732
1733         * gdesktopappinfo.c:
1734         Minor docs cleanup
1735
1736 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1737
1738         * *.c: Documentation additions
1739
1740 2008-02-10  Matthias Clasen <mclasen@redhat.com>
1741
1742         * gappinfo.h: Formatting cleanup
1743         * gappinfo.c: Fix up docs.
1744
1745 2008-02-09  Matthias Clasen <mclasen@redhat.com>
1746
1747         * gunixmounts.c: Consistently use getmntent_r() and fall
1748         back to getmntent().  (#515492)
1749
1750 2008-02-09  Matthias Clasen <mclasen@redhat.com>
1751
1752         * gbufferedinputstream.c:
1753         * ginputstream.c:
1754         * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1755
1756         * tests/data-input-stream.c:
1757         * tests/data-output-stream.c: Portability fixes.
1758
1759 2008-02-08  Alexander Larsson  <alexl@redhat.com>
1760
1761         * gio.symbols: 
1762         * gunixvolume.c:
1763         * gvolume.[ch]:
1764         Add g_volume_should_automount.
1765         Docs needed.
1766
1767 2008-02-07  Tor Lillqvist  <tml@novell.com>
1768
1769         * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1770         Win32, too Unix-specific.
1771
1772 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
1773
1774         * pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
1775         a local plt if the compiler doesn't support what we want.  Bug #514702
1776
1777 2008-02-06  Murray Cumming,,,  <murrayc@murrayc.com>
1778
1779         reviewed by: <delete if not using a buddy>
1780
1781         * gfile.c:
1782         * gunixinputstream.c:
1783         * gunixoutputstream.c:
1784
1785 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1786
1787         * tests/Makefile.am:
1788         * tests/live-g-file.c:
1789         * tests/live-g-file.txt:
1790         New GIO testing module working over real data
1791
1792 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1793
1794         * glocalfileoutputstream.c (g_local_file_output_stream_close):
1795         Fallback to rename() if link() is not available
1796         (when no support on target filesystem)
1797
1798 2008-02-06  Michael Natterer  <mitch@imendio.com>
1799
1800         * gfileinfo.c (g_file_info_get_icon): replace
1801         "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1802
1803 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1804
1805         * gfile.c (g_file_create):
1806         Documentation update of error codes
1807
1808 2008-02-06  Alexander Larsson  <alexl@redhat.com>
1809
1810         * gdesktopappinfo.c:
1811         Update to use both mimeapps.list and
1812         defaults.list as discussed on xdg list.
1813
1814 2008-02-06  Benjamin Otte  <otte@gnome.org>
1815
1816         * gasyncresult.c:
1817         * gfilenamecompleter.c:
1818         Fix some typos in the documentation.
1819
1820 2008-02-06  Alexander Larsson  <alexl@redhat.com>
1821
1822         * glocalfile.c (g_local_file_trash):
1823         Don't succeed with trash if newly created
1824         trash dir has the wrong owner. (#514696)
1825
1826 2008-02-05  Alexander Larsson  <alexl@redhat.com>
1827
1828         * glocalfile.c (g_local_file_move):
1829         Don't spew warnings when destination is not
1830         a GLocalFile.
1831
1832 2008-02-03  Hans Breuer  <hans@breuer.org>
1833
1834         * makefile.msc : update
1835
1836 2008-02-01  Michael Natterer  <mitch@imendio.com>
1837
1838         * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1839         return value of xdg_mime_list_mime_parents() to a variable of the
1840         correct type.
1841
1842 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1843
1844         * gappinfo.c (g_app_info_launch_uris):
1845         Actually call the launch_uris method, not
1846         launch.
1847
1848 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1849
1850         * gdesktopappinfo.c (g_desktop_app_info_equal):
1851         Ensure appinfos with no id but same pointer value
1852         compare equal
1853
1854 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1855
1856         * gappinfo.c (g_app_info_launch_default_for_uri): 
1857         Don't leak appinfo.
1858         
1859 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1860
1861         * gappinfo.[ch]:
1862         * gio.symbols:
1863         Add g_app_info_launch_default_for_uri utility
1864         function. (#513256)
1865
1866 2008-02-01  Cosimo Cecchi  <cosimoc@svn.gnome.org>
1867
1868         * gdesktopappinfo.c:
1869         Doc fix for g_app_info_get_default_for_uri_scheme ()
1870         Bug #513483.
1871
1872 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1873
1874         * gappinfo.c:
1875         Add doc comment about uris vs GFiles to
1876         g_app_info_launch()
1877         
1878         * gdesktopappinfo.c:
1879         Ensure uris passed to g_app_info_launch_uris()
1880         are not roundtriped through GFile (as that
1881         may be slightly destructive for e.g. mailto: links)
1882
1883 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1884
1885         * tests/data-input-stream.c:
1886         * tests/data-output-stream.c:
1887         C89 fixes from Jens Granseuer (#512849)
1888
1889 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1890
1891         * fam/fam-helper.c:
1892         Fix gamin/fam difference build issue. (#509419)
1893
1894 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1895
1896         * gappinfo.h:
1897         * gdesktopappinfo.c:
1898         Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1899
1900 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1901
1902         * gdesktopappinfo.c:
1903         * gdesktopappinfo.h:
1904         giomodule-priv.h include moved to .c file.
1905
1906 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1907
1908         * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1909         Remove unused prio/name fields.
1910
1911 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1912
1913         * gcontenttype.c (looks_like_text):
1914         Don't treat whitespace as control chars.
1915
1916 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1917
1918         * gdesktopappinfo.c:
1919         Lazily create the desktop files for appinfos created
1920         by g_app_info_create_from_commandline() when needed
1921         for mime associations. This allows run-time use
1922         of GAppInfo object without creating unnecessary
1923         files on disk.
1924
1925 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1926
1927         * gio.symbols:
1928         Added new symbols to gio.symbols
1929
1930 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1931
1932         * gfile.[ch]:
1933         Add g_file_query_default_handler utility to easily look up
1934         the GAppInfo that handles a file.
1935         
1936         * gdesktopappinfo.[ch]:
1937         * giomodule.c:
1938         Set up an extension point for g_app_info_get_default_for_uri_scheme()
1939         
1940         * gvfs.c:
1941         Remove unused function
1942
1943 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1944
1945         * gfileenumerator.c:
1946         Mention need to free returned value in
1947         g_file_enumerator_next_files_finish docs.
1948         Fix leak if g_file_enumerator_next_files_finish()
1949         not called.
1950
1951 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1952
1953         * gcontenttype.c:
1954         (_g_unix_content_type_get_parents):
1955         Use list_parents, not get_parents from xdgmime, because
1956         the later doesn't use the cache.
1957         
1958         * xdgmime/xdgmimecache.c:
1959         (_xdg_mime_cache_list_mime_parents):
1960         Don't list the same type as parent multiple times.
1961
1962 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1963
1964         * === Released 2.15.4 ===
1965
1966 2008-01-28  Alexander Larsson  <alexl@redhat.com>
1967
1968         * glocalvfs.c:
1969         Register local vfs with prio 0.
1970         
1971         * gvfs.h:
1972         Remove old name and prio class members
1973
1974 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1975
1976         * tests/g-file.c: Disable some tests that are failing in
1977         the absence of a http backend.
1978
1979 2008-01-28  Alexander Larsson  <alexl@redhat.com>
1980
1981         * giomodule.[ch]:
1982         * gio.symbols:
1983         Add registration hooks for extension points.
1984         Register the gio extension points.
1985         
1986         * fam/gfamdirectorymonitor.c:
1987         * fam/gfamfilemonitor.c:
1988         * glocaldirectorymonitor.[ch]:
1989         * glocalfilemonitor.[ch]:
1990         * gnativevolumemonitor.h:
1991         * gunionvolumemonitor.c:
1992         * gunixvolumemonitor.c:
1993         * gvfs.[ch]:
1994         * gvolumemonitor.h:
1995         * inotify/ginotifydirectorymonitor.c:
1996         * inotify/ginotifyfilemonitor.c:
1997         Use the extension points registration instead
1998         of g_type_children().
1999
2000 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
2001         
2002         * gdrive.[hc]: 
2003         * gvolume.[hc]: Document new API. 
2004
2005         * gfile.c (g_file_copy_async): Fix docs
2006
2007 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
2008
2009         * gbufferedinputstream.c:
2010         * ginputstream.c:
2011         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2012         __FUNCTION__.
2013         
2014 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
2015
2016         * glocalfile.c: Avoid trivial differences in translatable strings.
2017
2018 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2019
2020         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2021         build with gcc 3.4  (#509419)
2022
2023 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2024
2025         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2026         (#509994, Murray Cumming)
2027
2028 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2029
2030         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2031         * gioscheduler.c: Keep calling io jobs until they return FALSE;
2032         this allows big jobs to be executed in chunks, instead of blocking
2033         the main loop for a long time.
2034
2035         * gsimpleasyncresult.c:
2036         * giofile.c: Adapt callers.
2037
2038 2008-01-25  Alexander Larsson  <alexl@redhat.com>
2039
2040         * gdesktopappinfo.c:
2041         Implement changes discussed on xdg list.
2042         Now we can add supported mimetypes by just using defaults.list
2043         We can also remove associations in defaults.list.
2044
2045 2008-01-25  Alexander Larsson  <alexl@redhat.com>
2046
2047         * gdesktopappinfo.c:
2048         Don't make local copy of desktop file
2049         for mimetype changes if the file already
2050         supports the new mimetype.
2051
2052 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2053
2054         * ginputstream.c:
2055         * goutputstream.c:
2056         * gbufferedinputstream.c:
2057         * glocalfile.c: String improvements.  (#511966, 
2058          Theppitak Karoonboonyanan)
2059
2060 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
2061
2062         * gioscheduler.h: Expand docs a bit.
2063
2064 2008-01-24  Alexander Larsson  <alexl@redhat.com>
2065
2066         * gdrive.[ch]:
2067         Add g_drive_get_identifier and
2068         g_drive_enumerate_identifiers
2069
2070         * gvolume.[ch]:
2071         Add g_volume_get_identifier and
2072         g_volume_enumerate_identifiers
2073         
2074         * gio.symbols:
2075         Add symbols
2076         
2077         * gunixvolume.c:
2078         Implement identifiers for unix backend
2079
2080 2008-01-24  Alexander Larsson  <alexl@redhat.com>
2081
2082         * gfile.[ch]:
2083         * gfile.h:
2084         * gio.symbols:
2085         Add g_file_copy_async() (#511580)
2086         Based on patch from Carlos Garcia Campos
2087
2088 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
2089
2090         * gioscheduler.c: Some documentation additions.
2091
2092 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2093
2094         * gdesktopappinfo.c:
2095         (g_desktop_app_info_new):
2096         Don't leak basename.
2097         
2098 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2099
2100         * gdesktopappinfo.c:
2101         (g_desktop_app_info_new_from_filename):
2102         Don't leak GKeyFile
2103
2104 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2105
2106         * glocalfileinfo.c (get_thumbnail_attributes):
2107         Fix leak of uri
2108
2109 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2110
2111         * glocalfile.c:
2112         (canonicalize_filename):
2113         Canonicalize paths that start with more than
2114         two slashes.
2115         
2116         * tests/g-file.c:
2117         (compare_two_files):
2118         (test_g_file_new_for_path):
2119         Test the above
2120
2121 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2122
2123         * glocalfile.c:
2124         Allow UTF-8 in file:// parse names.
2125         
2126         * tests/Makefile.am:
2127         * tests/data-input-stream.c:
2128         * tests/data-output-stream.c:
2129         * tests/g-file-info.c:
2130         * tests/g-file.c:
2131         Added a bunch of tests from Tomas Bzatek
2132
2133 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
2134
2135         * === Released 2.15.3 ===
2136
2137 2008-01-21  Alexander Larsson  <alexl@redhat.com>
2138
2139         * gfileinputstream.[ch]:
2140         * gfileoutputstream.[ch]:
2141         * gio.symbols:
2142         Remove duplicated GSeekable functions. (#509990)
2143         Just use the g_seekable_xxx() calls instead.
2144
2145 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
2146
2147         * glocal*.c:
2148         * gvolumemanager.c: Whitespace cleanups.
2149
2150         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2151         Use the right mode when creating the file.
2152
2153 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
2154
2155         * gfileenumerator.c:
2156         * gfileinputstream.c:
2157         * ginputstream.c:
2158         * goutputstream.c: Documentation: Fixed minor typos 
2159         and added more mentions of specific _finish() functions.
2160
2161 2008-01-21  Alexander Larsson  <alexl@redhat.com>
2162
2163         * inotify/Makefile.am:
2164         * inotify/inotify-helper.c:
2165         * inotify/inotify-kernel.c:
2166         * inotify/inotify-path.c:
2167         * inotify/local_inotify.h: Removed.
2168         * inotify/local_inotify_syscalls.h: Removed.
2169         Removed the included copies of the inotify
2170         headers. We now only use the <sys/inotify.h>
2171         header which exists on modern systems.
2172         This fixes problems on ARM and SH5 (#510448)
2173         but is also generally much cleaner and future
2174         safe. For instance, if other OSes add support
2175         for inotify it should "just work".
2176
2177 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
2178
2179         * inotify/*.c: Coding style fixes.
2180         * inotify/inotify-missing.c: Use g_timeout_add_seconds
2181         for the 1/4 Hz timer.
2182
2183 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
2184
2185         * gfile.c:
2186         * gfilemonitor.[hc]:
2187         * gmemoryinputstream.c:
2188         * gmemoryoutputstream.c:
2189         * gmountoperation.c:
2190         * gthemedicon.c: Documentation updates
2191
2192 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
2193
2194         * gfile.c: documentation: Fixed more minor 
2195         typos.
2196
2197 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2198
2199         * gmount.c: (g_mount_remount): documentation: 
2200         Mention g_mount_remount_finish() instead of 
2201         g_mount_unmount_finish().
2202
2203 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2204
2205         * gappinfo.c:
2206         * gcancellable.c:
2207         * gfile.c: Fixed some minor typos in the 
2208         documentation. 
2209
2210 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2211
2212         * gio/gvolumemonitor.c: 
2213         (g_volume_monitor_get_connected_drives): 
2214         (g_volume_monitor_get_volumes): 
2215         (g_volume_monitor_get_mounts): Documentation: 
2216         Clarify the ownership of the regurn GLists.
2217
2218 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2219
2220         * gfile.h:
2221         Add the async find_enclosing_mount version
2222         to the header file too.
2223
2224 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2225
2226         * gfile.c:
2227         Add async version of find_enclosing_mount
2228         with default implementation.
2229
2230 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2231
2232         * gfile.c:
2233         (g_file_copy):
2234         (g_file_move):
2235         Allow calls to implementation of copy and write
2236         even if the type of the file implementations is
2237         different. This can be used to implement native
2238         upload and download calls in a vfs.
2239         
2240         * glocalfile.c:
2241         (g_local_file_move):
2242         Protect against the case where move is called
2243         with one file not being local.
2244         
2245         Make sure we call the progress callback once
2246         in the native move operation so that the caller
2247         knows how many bytes were copied.
2248
2249 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
2250
2251         * gappinfo.c:
2252         * gdatainputstream.c:
2253         * gfile.c:
2254         * gfileoutputstream.c:
2255         * ginputstream.c:
2256         * gmount.c:
2257         * goutputstream.c:
2258         * gseekable.c:
2259         * gunixmounts.c: Corrected some typos in the documentation:
2260         occured -> occurred.
2261         its -> it's (where appropriate).
2262
2263 2008-01-16  Alexander Larsson  <alexl@redhat.com>
2264
2265         * gfile.[ch]:
2266         * gio.symbols:
2267         Add g_file_query_exists (#508771)
2268
2269 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
2270
2271         * gdrive.c:
2272         * gfile.c:
2273         * gmount.c:
2274         * gvolume.c: For async functions that have no non-async 
2275         version, document that the GAsyncReadyCallback may be NULL.
2276         Bug #509626.
2277
2278 2008-01-15  Alexander Larsson  <alexl@redhat.com>
2279
2280         * gmemoryinputstream.c:
2281         * gmemoryoutputstream.c:
2282         Don't do pointer arithmetic on void * (#508602)
2283         Patch from Kazuki IWAMOTO
2284
2285 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
2286
2287         * === Released 2.15.2 ===
2288
2289 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2290
2291         * gfile.c (g_file_monitor_file):
2292         Don't set error here, since we fallback to polling monitor.
2293
2294 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2295
2296         * gfile.[ch]:
2297         (g_file_monitor_directory):
2298         (g_file_monitor_file):
2299         Add GError to file monitor calls
2300         
2301         * glocaldirectorymonitor.c:
2302         * glocaldirectorymonitor.h:
2303         * glocalfile.c:
2304         * glocalfilemonitor.c:
2305         * glocalfilemonitor.h:
2306         * gunixmounts.c:
2307         Update for above change
2308
2309 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2310
2311         * glocalfile.c:
2312         (match_prefix):
2313         Handle root correctly in g_file_get_relative_path (#508719)
2314
2315 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2316
2317         * gasyncresult.c:
2318         Clean up docs and example for GAsyncResult (#508074)
2319
2320 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
2321
2322         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
2323         and correct some spelling mistakes. Bug #508108.
2324
2325 2008-01-11  Matthias Clasen <mclasen@redhat.com>
2326
2327         * glocalfileinfo.c: Add a comment.
2328
2329 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
2330
2331         * gfileinfo.c: GFileInfo description: Mention 
2332         how to actually set attributes in a GFile and how to discover 
2333         which attributes are settable. Bug #508378.
2334
2335 2008-01-10  A. Walton  <awalton@svn.gnome.org>
2336
2337         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2338         (g_app_info_get_default_for_type):
2339         Check for NULL content types.
2340
2341 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
2342
2343         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2344
2345 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
2346
2347         * gfile.c: *_async() functions: Several small corrections 
2348         to the documentation, mostly correcting copy/paste errors 
2349         and improving some sentences.
2350
2351 2008-01-09  Dan Winship  <danw@gnome.org>
2352
2353         * glocalfile.c (get_unique_filename): x86_64 fix
2354
2355 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2356
2357         * gio.symbols:
2358         * gunixmount.c:
2359         * gunixmounts.[ch]:
2360         Add g_unix_mount_guess_should_display and use
2361         for unix volume monitor backend.
2362         This means we more or less show what the
2363         gnome-vfs backend did.
2364         Based on patch from Padraig O'Briain
2365
2366 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2367
2368         * gio.symbols:
2369         * gthemedicon.[ch]:
2370         Add g_themed_icon_new_with_default_fallbacks
2371         
2372         * gunixmounts.c:
2373         Use default fallbacks for icons
2374
2375 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2376
2377         * gio-marshal.list:
2378         * gmountoperation.[ch]:
2379         Change the API a bit so that unhandled methods
2380         get reported via the reply, rather than by
2381         the signal emission return value. This is because
2382         some handlers can't know this immediately without
2383         doing I/O, and this is an async operation that
2384         should not block.
2385
2386 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2387
2388         * fam/fam-helper.c:
2389         * fam/gfamdirectorymonitor.c:
2390         * fam/gfamfilemonitor.c:
2391         Fix double free crash (#508224)
2392         Patch from Joe Marcus Clarke
2393
2394 008-01-07  Matthias Clasen  <mclasen@redhat.com>
2395
2396         * === Released 2.15.1 ===
2397
2398 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2399
2400         * gunixinputstream.c (g_unix_input_stream_skip_finish):
2401         Fix warning (#507835)
2402
2403 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2404
2405         * Makefile.am:
2406         Pass --internal to glib-genmarshal
2407         
2408         * gfilemonitor.c:
2409         * gmountoperation.c:
2410         * gio-marshal.list:
2411         Use better types for signal arguments (#507822)
2412
2413 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2414
2415         * Makefile.am:
2416         Build test subdir after .
2417         Remove gdirectorymonitor.[ch]
2418         
2419         * gdirectorymonitor.[ch]:
2420         * gfilemonitor.c:
2421         * gfile.[ch]:
2422         * gio.h:
2423         Remove GDirectoryMonitor and make
2424         GFileMonitor the baseclass for both file and
2425         directory monitors. Lift the more generic
2426         rate limiting code from GDirectoryMonitor
2427         into GFileMonitor.
2428         
2429         * fam/fam-helper.c:
2430         * fam/gfamdirectorymonitor.[ch]:
2431         * inotify/ginotifydirectorymonitor.[ch]:
2432         * inotify/inotify-helper.c:
2433         * glocaldirectorymonitor.[ch]:
2434         * glocalfile.c:
2435         * gvolumemonitor.c:
2436         Update for the removed GDirectoryMonitor.
2437         
2438         * gmemoryoutputstream.c:
2439         Remove ununsed variable
2440
2441 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2442
2443         * gmemoryinputstream.c:
2444         Translate error strings
2445         
2446         * gio.symbols:
2447         * gmemoryoutputstream.[ch]:
2448         New implementation that avoids using GByteArray
2449         in implementation and API. (#506377)
2450
2451 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2452
2453         * tests/*: Add a test for memory input streams.
2454         
2455         * Makefile.am: Add tests to SUBDIRS.
2456
2457 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2458
2459         * glocalfilemonitor.c:
2460         * glocaldirectorymonitor.c: Mark property nicks and blurbs
2461         for translation.
2462
2463 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2464
2465         * gdesktopappinfo.c: Fix a docs typo.
2466
2467         * gfileattribute.c: Add information about extended attributes
2468         to the documentation.  (#505058)
2469
2470 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2471
2472         * gio-marshal.list:
2473         * gmountoperation.c:
2474         Use the right type (uint) for the ask_password signal.
2475
2476 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2477
2478         * gappinfo.[ch]:
2479         * gwin32appinfo.c:
2480         * gio.symbols:
2481         Add g_app_info_supports_files() 
2482         Remove desktop arg from g_app_info_should_show().
2483         
2484         * gdesktopappinfo.[ch]:
2485         Implement g_app_info_supports_files() and new should_show()
2486         Add g_desktop_app_info_set_desktop_env() to set the desktop
2487         for should_show(). (This will be set by gtk+ later)
2488
2489 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2490
2491         * gio.symbols:
2492         * gmemoryinputstream.[ch]:
2493         Improve API so that you can use multiple chunks
2494         of memory and custom destroy functions. (#506374)
2495
2496 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2497
2498         * gfileinfo.c:
2499         Handle NULL attribute matchers safely, as we return this
2500         for empty attribute matcher strings.
2501
2502 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2503
2504         * gunixmounts.c (g_unix_is_mount_path_system_internal):
2505         Add /usr/local to list of internal mountpoints
2506
2507 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2508
2509         * glocalfileinfo.c:
2510         Check for HAVE_LCHOWN (#505887)
2511         
2512 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2513
2514         * gfileinfo.h:
2515         * glocalfileinfo.c:
2516         Add define for selinux context attribute.
2517         Fix missing : -> :: namespace separator change
2518         Fix missing _ -> - name change for xattr-sys.
2519         (#505058)
2520
2521 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2522
2523         * fam/Makefile.am:
2524         Link to libglib and libgobject directly (#504879)
2525         Patch from Sebastien Bacher
2526
2527 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2528
2529         * gfile.c: Expanded the g_file_new_for_commandline_arg
2530         description a bit, based on the code and the docs of the
2531         other g_file_new_for_* functions.
2532
2533 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2534
2535         * gfilemonitor.h: Fixed typo in docs.
2536
2537 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
2538
2539         Updates to GIO documentation. (#506395, Mikael Hermansson)
2540
2541         * gcontenttype.c: Describe memory management for return value of
2542         g_content_types_get_registered(). Missing piece from #505815.
2543         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2544         GVolume, GDrive, GMounts, which hopefully gives the user less
2545         confusions when using this API. Following explainations from
2546         Alexander Larsson on gtk-devel-list.
2547
2548 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2549
2550         * gfileinfo.c: Expand the long description.
2551
2552 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2553
2554         * fam/Makefile.am:
2555         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2556         fix builds with --disable-visibility.  (#500273, Christian Persch)
2557
2558 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2559
2560         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2561         in the list of returned app infos.
2562
2563 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2564
2565         * gappinfo.c: Fix a cross-reference
2566
2567 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2568
2569         * gfileinputstream.c:
2570         * gfileoutputstream.c:
2571         * gloadableicon.h:
2572         * gunixmounts.c:
2573         * gmount.h:
2574         * gdesktopappinfo.c:
2575         * gvolumemonitor.c: 
2576         * gfileinfo.c: Documentation updates.
2577
2578 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
2579
2580         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
2581         Tommi Komulainen)
2582
2583 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
2584
2585         * gcontenttype.c (g_content_types_get_registered): Don't return
2586         freed memory (#505815, Mikael Hermansson)
2587
2588 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
2589
2590         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2591         used to detect statbuf->st_blocks. (#505042)
2592
2593 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2594
2595         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2596         environment handling.  (#504829, Cosimo Cecchi)
2597
2598 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
2599
2600         * gappinfo.c: Doc improvements
2601         
2602         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2603         not ids.
2604
2605 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
2606
2607         * === Released 2.15.0 ===
2608
2609 2007-12-20  Hans Breuer  <hans@breuer.org>
2610
2611         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
2612         with symbols gwin32appinfo.obj, added gmount.obj
2613         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2614
2615 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2616
2617         * gfile.c:
2618         * gfileattribute.c:
2619         * gfileinfo.c:
2620         * gfileinfo.h:
2621         * gfilenamecompleter.c:
2622         * glocalfile.c:
2623         * glocalfileinfo.c:
2624         * gpollfilemonitor.c:
2625         File attribute renames:
2626         std:: -> standard::
2627         fs:: -> filesystem::
2628         id::fs -> id::filesystem
2629         
2630 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2631
2632         * gfile.[ch]:
2633         * gdrive.[ch]:
2634         * gmount.[ch]:
2635         * gvolume.[ch]:
2636         * gunixmount.c:
2637         * gunixvolume.c:
2638         * gio.symbols:
2639         Add GMountUnmountFlags to all unmount and
2640         eject calls.
2641         Add g_mount_remount() call.
2642
2643 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2644
2645         * gvfs.c (get_default_vfs):
2646         Fix unused variable warning
2647
2648 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2649
2650         * pltcheck.sh: Update
2651
2652 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2653
2654         * gunionvolumemonitor.c:
2655         * gunixmount.c: Remove C99 comments
2656
2657 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2658
2659         * gio.symbols: Add some missing symbols
2660
2661 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2662
2663         * giomodule.c:
2664         Make g_io_modules_load_all_in_directory not unuse
2665         loaded modules so that users of it can do stuff
2666         before unloading.
2667         Init internal "module" types.
2668         Initialize static prio and name for types so that
2669         we don't have to load modules to get it.
2670         
2671         * gnativevolumemonitor.h:
2672         * gvolumemonitor.h:
2673         Move is_supported to parent class so that
2674         non-native monitors can avoid being initialized
2675         too. (For instance GDaemonVolumeMonitor if we're
2676         not using GDaemonVfs.)
2677         
2678         * glocaldirectorymonitor.[ch]:
2679         * glocalfilemonitor.[ch]:
2680         * gunionvolumemonitor.c:
2681         * gunixvolumemonitor.c:
2682         * gvfs.c:
2683         Find plugins using the static prio+name to
2684         avoid unnecessarily loading the modules.
2685
2686 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2687
2688         * giomodule.c:
2689         Remove warnings
2690
2691 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2692
2693         * gunionvolumemonitor.c:
2694         Store the native type as GType, not class so that
2695         we can unload it. But still avoid unnecessarily
2696         unload modules.
2697
2698 2007-12-19  David Zeuthen  <davidz@redhat.com>
2699
2700         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2701         add signals 'disconnected' and 'eject-button' on GDrive. Add
2702         signal 'removed' on GVolume and 'unmounted' on GMount.
2703
2704         * gdrive.c: (g_drive_base_init):
2705         * gdrive.h:
2706         * gfile.c: (g_file_mount_mountable),
2707         (g_file_mount_enclosing_volume):
2708         * gio.symbols:
2709         * gioerror.h:
2710         * gmount.c: (g_mount_base_init):
2711         * gmount.h:
2712         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2713         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2714         * gvolume.c: (g_volume_base_init), (g_volume_mount):
2715         * gvolume.h:
2716         * gvolumemonitor.h:
2717
2718 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2719
2720         * *.c: Fix up includes in the section docs.
2721
2722 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2723
2724         * gnativevolumemonitor.h:
2725         * gunionvolumemonitor.c:
2726         * gunixvolumemonitor.c:
2727         Add is_supported() to GNativeVolumeMonitorClass so
2728         that we can avoid having to create an object to see
2729         if the backend is supported at runtime.
2730         Also add name member and an env var to pick a specific
2731         volume monitor backend.
2732         
2733         * gmountprivate.h:
2734         * glocalfile.c:
2735         Add cancellable to _g_mount_get_for_mount_path()
2736         
2737         * glocaldirectorymonitor.c:
2738         * glocalfilemonitor.c:
2739         Avoid loading and unloading modules while sorting.
2740
2741 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2742
2743         * gio.symbols:
2744         * gunixmounts.[hc]: Namespace waste reduction, move some
2745         g_get_unix_mount functions to the g_unix_mount namespace.
2746
2747         * gunixmounts.c:
2748         * gunixvolumemonitor.c:
2749         * glocalfile.c:
2750         * glocaldirectorymonitor.c: Update all callers.
2751
2752         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2753
2754 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2755
2756         * gfile.c:
2757         Add doc comments about what GFile operations are
2758         guaranteed to not block.
2759
2760 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2761
2762         * gunixmounts.c:
2763         Add missing #ifdef fixing OSX build.
2764         (#503334, patch from Richard Hult)
2765
2766 2007-12-14  David Zeuthen  <davidz@redhat.com>
2767
2768         * Makefile.am:
2769         * gio.symbols:
2770         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2771         (g_mount_eject), (g_mount_eject_finish):
2772         * gmount.h:
2773         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2774         (get_volume_for_uuid), (get_mount_for_uuid),
2775         (g_union_volume_monitor_class_init),
2776         (get_default_native_type_with_exclude), (get_default_native_type),
2777         (get_native_type), (update_native_type),
2778         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2779         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2780         (g_unix_mount_can_eject), (eject_unmount_cb),
2781         (eject_unmount_read_error), (eject_unmount_do),
2782         (g_unix_mount_unmount), (g_unix_mount_eject),
2783         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2784         * gunixmounts.c: (g_unix_mount_guess_can_eject),
2785         (g_unix_mount_point_guess_can_eject):
2786         * gunixmounts.h:
2787         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2788         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2789         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2790         (g_unix_volume_mount), (g_unix_volume_eject),
2791         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2792         * gunixvolumemonitor.c: (get_volume_for_uuid),
2793         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2794         (update_mounts):
2795         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2796         (g_volume_eject), (g_volume_eject_finish):
2797         * gvolume.h:
2798         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2799         (g_volume_monitor_get_mount_for_uuid):
2800         * gvolumemonitor.h:
2801
2802         Provide eject() on both GMount and GVolume and utility functions
2803         to guess whether a GUnixMountPoint or GUnixMountEntry should be
2804         ejected. Introduce the concept of UUID's and wire it into GVolume
2805         and GMount and provide API on GVolumeMonitor to find such
2806         instances. Also handle the case where an external
2807         GNativeVolumeMonitor fails to initialize. Lock around the
2808         _g_get_mount_for_mount_path() function such that volume monitor
2809         implementations won't have to do locking themselves.
2810
2811 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2812
2813         * gdesktopappinfo.c:
2814         * gunixmounts.c:
2815         * gfileinfo.c:
2816         * gvolumemonitor.c:
2817         * gfile.h:
2818         * gioscheduler.c:
2819         * gvolume.h: Documentation updates
2820
2821 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2822
2823         * gunixmounts.c:
2824         * gfile.h: Doc updates
2825
2826 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2827
2828         * gcontenttype.c:
2829         * gdesktopappinfo.c: Use hash table iterators.
2830
2831 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2832
2833         * Makefile.am:
2834         * gfileattribute.[ch]:
2835         * gfileattribute-priv.h:
2836         Move GFileAttributeValue to a private header, as
2837         its sort of ugly.
2838         
2839         * gfile.[ch]:
2840         Make set_attribute take a type + a pointer instead
2841         of a GFileAttributeValue.
2842         
2843         * gfileinfo.[ch]:
2844         Fix up for above changes.
2845         Add g_file_info_get_attribute_data to get
2846         all info in one call, g_file_info_get_attribute_status
2847         to get the status and g_file_info_get_attribute_as_string.
2848         
2849         * gio.symbols:
2850         * glocalfile.c:
2851         * glocalfileinfo.[ch]:
2852         Update for changes
2853         
2854         * gunixmounts.c:
2855         Make _guess_type static.
2856
2857 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
2858
2859         * Makefile.am:
2860         * inotify/Makefile.am: Fixed build when srcdir != builddir,
2861         made mkenums and friends use temporary files to avoid leaving
2862         empty generated files on failure (#503470).
2863
2864 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2865
2866         * gmountoperation.h:
2867         Fix AKS -> ASK typo
2868
2869 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2870
2871         * gappinfo.h:
2872         * gfile.[ch]:
2873         * gfileattribute.[ch]:
2874         * gio.symbols:
2875         * glocalfile.c:
2876         * glocalfileoutputstream.c:
2877         * gmountoperation.[ch]:
2878         * goutputstream.[ch]:
2879         Clean up all flags enums to not have _FLAGS in them
2880         Make the names of some of the enums better.
2881
2882         * glocalfileinfo.c:
2883         Fix warning
2884         
2885 2007-12-14  Michael Natterer  <mitch@imendio.com>
2886
2887         * gio.symbols: fix g_io_scheduler symbol names.
2888
2889 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2890
2891         * Makefile.am:
2892         * fam/Makefile.am:
2893         * gappinfo.h:
2894         * gasyncresult.h:
2895         * gbufferedinputstream.h:
2896         * gbufferedoutputstream.h:
2897         * gcancellable.h:
2898         * gcontenttype.h:
2899         * gdatainputstream.h:
2900         * gdataoutputstream.h:
2901         * gdesktopappinfo.h:
2902         * gdirectorymonitor.h:
2903         * gdrive.h:
2904         * gfile.h:
2905         * gfileattribute.h:
2906         * gfileenumerator.h:
2907         * gfileicon.h:
2908         * gfileinfo.h:
2909         * gfileinputstream.h:
2910         * gfilemonitor.h:
2911         * gfilenamecompleter.h:
2912         * gfileoutputstream.h:
2913         * gfilterinputstream.h:
2914         * gfilteroutputstream.h:
2915         * gicon.h:
2916         * ginputstream.h:
2917         * gio.h:
2918         * gioerror.h:
2919         * giomodule.h:
2920         * gioscheduler.h:
2921         * gloadableicon.h:
2922         * gmemoryinputstream.h:
2923         * gmemoryoutputstream.h:
2924         * gmount.h:
2925         * gmountoperation.h:
2926         * goutputstream.h:
2927         * gseekable.h:
2928         * gsimpleasyncresult.h:
2929         * gthemedicon.h:
2930         * gunixinputstream.h:
2931         * gunixmounts.h:
2932         * gunixoutputstream.h:
2933         * gvfs.h:
2934         * gvolume.h:
2935         * gvolumemonitor.h:
2936         * inotify/Makefile.am:
2937         Only allow including <gio/gio.h> from apps
2938
2939 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2940
2941         * gioscheduler.[ch]:
2942         * gsimpleasyncresult.c:
2943         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2944         Split out the send_to_mainloop call into two versions instead
2945         of having the block argument.
2946
2947 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2948
2949         * gcancellable.[ch]:
2950         * gio.symbols:
2951         * gbufferedinputstream.c:
2952         * gfileenumerator.c:
2953         * gfileinputstream.c:
2954         * gfileoutputstream.c:
2955         * ginputstream.c:
2956         * gioscheduler.c:
2957         * goutputstream.c:
2958         g_push/pop_current_cancellable ->
2959         g_cancellable_push/pop_current
2960
2961 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2962
2963         * gfile.[ch]:
2964         * gio.symbols:
2965         Rename g_mount_for_location to g_file_mount_enclosing_volume.
2966
2967 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2968
2969         * gmountoperation.h:
2970         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2971
2972 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2973
2974         * gioscheduler.c:
2975         Fix race condition when freeing proxy in
2976         g_io_job_send_to_mainloop().
2977
2978 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2979
2980         * gfileattribute.c:
2981         * gfileinfo.[ch]:
2982         * glocalfile.c:
2983         * glocalfileinfo.c:
2984         Make attribute namespace separator "::" instead of ":".
2985         Use - instead of _ as separator in attribute names.
2986
2987 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2988
2989         * gbufferedinputstream.h:
2990         * gbufferedoutputstream.h:
2991         * gdatainputstream.h:
2992         * gdataoutputstream.h:
2993         * gdirectorymonitor.h:
2994         * gfileenumerator.h:
2995         * gfileinputstream.h:
2996         * gfilemonitor.h:
2997         * gfileoutputstream.h:
2998         * gfilterinputstream.h:
2999         * gfilteroutputstream.h:
3000         * ginputstream.h:
3001         * glocalfileinputstream.h:
3002         * glocalfileoutputstream.h:
3003         * gmemoryinputstream.h:
3004         * gmemoryoutputstream.h:
3005         * gnativevolumemonitor.h:
3006         * goutputstream.h:
3007         * gunixinputstream.h:
3008         * gunixoutputstream.h:
3009         * gvfs.h:
3010         * gvolumemonitor.h:
3011         s/parent/parent_instance/ in GObjects
3012
3013 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3014
3015         * gdrive.h:
3016         * gmount.h:
3017         * gvolume.h:
3018         No need for padding for interfaces
3019         
3020 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3021
3022         * gappinfo.[ch]:
3023         * gasyncresult.c:
3024         * gbufferedinputstream.c:
3025         * gbufferedoutputstream.c:
3026         * gcancellable.c:
3027         * gcontenttype.c:
3028         * gdatainputstream.[ch]:
3029         * gdesktopappinfo.c:
3030         * gdirectorymonitor.c:
3031         * gfile.[ch]:
3032         * gfileattribute.[ch]:
3033         * gfileicon.[ch]:
3034         * gfileinfo.h:
3035         * gfileinputstream.h:
3036         * gfilemonitor.[ch]:
3037         * gfileoutputstream.[ch]:
3038         * gfilterinputstream.h:
3039         * gfilteroutputstream.h:
3040         * gicon.h:
3041         * gioscheduler.c:
3042         * gloadableicon.[ch]:
3043         * gmemoryinputstream.c:
3044         * gmountoperation.c:
3045         * gthemedicon.c:
3046         Fix up a bunch of details in the docs.
3047
3048         * glocalfileinfo.c:
3049         CR/LF -> LF fixups
3050         
3051 2007-12-11  David Zeuthen  <davidz@redhat.com>
3052
3053         Rework how volumes, drives and volume monitoring is
3054         done. Previosly the model was
3055
3056          GDrive <1-1> GVolume
3057
3058         where a GDrive instance represented a mount point and a GVolume
3059         instance represented a mounted file system. This patch changes it
3060         the model to
3061
3062                 GDrive <1-N> GVolume <1-1> GMount
3063
3064         where GMount now serves the purpose of the old GVolume and the new
3065         GVolume serves the purpose of the old GDrive. In addition the new
3066         GDrive interface is used to represent a collection of GVolume
3067         instances (typically partitions) and also contains utility to query
3068         the state of the physical drive the GDrive object represents (such
3069         as checking for media, polling the drive, ejecting the media etc.).
3070
3071         Also implement mounting and unmounting in the Unix volume monitor
3072         backend. A subquent patch will introduce GDrive support for ejection
3073         of media.
3074
3075         * Makefile.am:
3076         * gdrive.c: (g_drive_is_media_check_automatic),
3077         (g_drive_is_media_removable), (g_drive_has_media),
3078         (g_drive_can_poll_for_media), (g_drive_eject),
3079         (g_drive_eject_finish), (g_drive_poll_for_media),
3080         (g_drive_poll_for_media_finish):
3081         * gdrive.h:
3082         * gfile.c: (g_file_find_enclosing_mount):
3083         * gfile.h:
3084         * gio.symbols:
3085         * glocaldirectorymonitor.c:
3086         (g_local_directory_monitor_constructor), (mounts_changed):
3087         * glocalfile.c: (get_mount_info),
3088         (g_local_file_find_enclosing_mount),
3089         (g_local_file_file_iface_init):
3090         * gnativevolumemonitor.h:
3091         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3092         (get_connected_drives), (g_union_volume_monitor_class_init),
3093         (child_volume_added), (child_volume_removed),
3094         (child_volume_changed), (child_mount_added), (child_mount_removed),
3095         (child_mount_pre_unmount), (child_mount_changed),
3096         (child_drive_changed), (g_union_volume_monitor_add_monitor),
3097         (g_union_volume_monitor_remove_monitor),
3098         (_g_mount_get_for_mount_path):
3099         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3100         (guess_system_internal), (_g_get_unix_mounts),
3101         (_g_get_unix_mount_points), (g_get_unix_mount_at),
3102         (g_unix_mount_free), (g_unix_mount_compare),
3103         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3104         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3105         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3106         (type_to_icon), (g_unix_mount_guess_name),
3107         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3108         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3109         (_resolve_symlink), (_resolve_dev_root):
3110         * gunixmounts.h:
3111         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3112         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3113         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3114         (g_unix_volume_get_name), (g_unix_volume_can_mount),
3115         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3116         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3117         (g_unix_volume_mount), (g_unix_volume_mount_finish),
3118         (g_unix_volume_volume_iface_init):
3119         * gunixvolume.h:
3120         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3121         (get_mounts), (get_volumes), (get_connected_drives),
3122         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3123         (mountpoints_changed), (mounts_changed),
3124         (g_unix_volume_monitor_init),
3125         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3126         (find_mount_by_mountpath), (update_volumes), (update_mounts):
3127         * gunixvolumemonitor.h:
3128         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3129         (g_volume_mount), (g_volume_mount_finish):
3130         * gvolume.h:
3131         * gvolumemonitor.c: (g_volume_monitor_class_init),
3132         (g_volume_monitor_get_connected_drives),
3133         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3134         * gvolumemonitor.h:
3135
3136 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
3137
3138         * gmountoperation.h (GPasswordFlags): Close the gap
3139
3140 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
3141
3142         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3143         * gio.symbols:
3144         * gdesktopappinfo.[hc]: Remove _-prefixes
3145
3146 2007-12-10  Tor Lillqvist  <tml@novell.com>
3147
3148         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3149         gcc warnings.
3150
3151 2007-12-10  Alexander Larsson  <alexl@redhat.com>
3152
3153         * gfile.c (g_file_set_display_name):
3154         Don't hardcode '/' (#502727)
3155
3156 2007-12-09  Hans Breuer  <hans@breuer.org>
3157
3158         * makefile.msc : follow lib naming convention
3159         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3160         for user and group name, tested with ../tests/gio-ls
3161
3162 2007-12-09  A. Walton  <awalton@svn.gnome.org>
3163
3164         * gdesktopappinfo.c:
3165         * gdrive.c:
3166         * gdrive.h:
3167         * gfile.c:
3168         * gfile.h:
3169         * gfileattribute.c:
3170         * gfileenumerator.c:
3171         * gioerror.c:
3172         * gioscheduler.c:
3173         * gioscheduler.h:
3174         * gloadableicon.c:
3175         * gmemoryinputstream.c:
3176         * gmemoryoutputstream.c:
3177         * goutputstream.h:
3178         * gsimpleasyncresult.c:
3179         More documentation cleanup and filling in missing information, bringing
3180         GIO to 99% symbol coverage.
3181
3182 2007-12-08  Hans Breuer  <hans@breuer.org>
3183
3184         [gio compiles and links on win32, not sure how much already works]
3185         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3186         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
3187         base on win32 API; prefer g_lstat() over lstat(); instead of 
3188         localtime_r() use an all GLib implementation on win32;
3189         get_mount_info() still needs a win32 specifc implementation
3190         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
3191         win32_get_file_user_info to get owner/group info without uid/gid
3192         * glocalfileinputstream.c : include <io.h> on win32
3193         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3194         definition, use g_win32_ftruncate() for G_OS_WIN32
3195         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3196         it is available with mingw/w32api but a mess with the M$ Platform SDKs
3197         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3198         * makefile.msc : updated
3199
3200 2007-12-07  Alexander Larsson  <alexl@redhat.com>
3201
3202         * glocalfileenumerator.c (_g_local_file_enumerator_new):
3203         Avoid warning spew if error == NULL
3204         
3205 2007-12-07  Alexander Larsson  <alexl@redhat.com>
3206
3207         * gfile.c:
3208         Update docs wrt etags
3209
3210 2007-12-06  Alexander Larsson  <alexl@redhat.com>
3211
3212         * glocalfileinfo.h:
3213         Include sys/types.h for dev_t (#501919)
3214
3215 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
3216
3217         * gio.symbols:
3218         * pltcheck.sh:
3219         Make abicheck and pltcheck pass.
3220
3221 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3222
3223         * Makefile.am:
3224         * giomodule-priv.h: Added.
3225         * glocaldirectorymonitor.c:
3226         * glocalfilemonitor.c:
3227         * gunionvolumemonitor.c:
3228         * gvfs.c:
3229         Actually add the declaration of _g_io_modules_ensure_loaded
3230
3231 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3232
3233         * gdatainputstream.c:
3234         Fix warnings
3235         
3236         * gio.symbols:
3237         * giomodule.[ch]
3238         * glocaldirectorymonitor.c:
3239         * glocalfilemonitor.c:
3240         * gunionvolumemonitor.c:
3241         * gvfs.c:
3242         Make g_io_modules_ensure_loaded a private function and
3243         don't pass in the dirname. This means we can do magic
3244         directory finding in the win32 version.
3245         Export the actual load-modules-in-directory code so that
3246         gvfs can reuse that.
3247
3248 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3249
3250         * gbufferedinputstream.c:
3251         * gbufferedoutputstream.c:
3252         * gdrive.[ch]:
3253         * gfile.[ch]:
3254         * gfileenumerator.[ch]:
3255         * gfileinputstream.c:
3256         * gfileoutputstream.[ch]:
3257         * gfilterinputstream.c:
3258         * gfilteroutputstream.c:
3259         * ginputstream.[ch]:
3260         * glocalfile.c:
3261         * glocalfileenumerator.c:
3262         * glocalfileinputstream.c:
3263         * glocalfileoutputstream.c:
3264         * gmemoryinputstream.c:
3265         * gmemoryoutputstream.c:
3266         * goutputstream.[ch]:
3267         * gseekable.[ch]:
3268         * gunixdrive.c:
3269         * gunixinputstream.c:
3270         * gunixoutputstream.c:
3271         Rename all struct members named:
3272         read, write, close, truncate, or mount
3273         to foo_fn, as these are reserved names
3274         and could be defined as macros in libc.
3275         (#501645)
3276
3277 2007-12-04  Alexander Larsson  <alexl@redhat.com>
3278
3279         * goutputstream.c:
3280         (g_output_stream_close):
3281         Only call flush if non-null.
3282
3283 2007-11-30  Dan Winship  <danw@gnome.org>
3284
3285         * ginputstream.c (g_input_stream_set_pending): Make this take a
3286         GError and return a gboolean, and do the "outstanding operation"
3287         check (and the "stream is already closed" check) itself.
3288         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3289
3290         * goutputstream.c (g_output_stream_set_pending)
3291         (g_output_stream_clear_pending): Likewise
3292
3293         * gbufferedinputstream.c: 
3294         * gfileinputstream.c: 
3295         * gfileoutputstream.c: Update for that
3296
3297         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3298         Like g_simple_async_report_error_in_idle, but takes a GError
3299         rather than building one.
3300
3301 2007-11-30  Dan Winship  <danw@gnome.org>
3302
3303         * goutputstream.c: Don't cheat and unset the "pending" flag around
3304         inner calls. Instead, call the class method directly rather than
3305         the wrapper function that checks "pending"
3306
3307 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
3308
3309         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3310
3311 2007-12-03  Hans Breuer  <hans@breuer.org>
3312
3313         [start of port to win32/msvc]
3314         * gcancellable.c : HAVE_UNIST_H and _pipe()
3315         * gcontenttype.c : only include <dirent.h> in the UNIX branch
3316         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3317         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
3318         HAVE_UNIST_H
3319         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3320         * glocalvfs.c : use HAVE_PWD_H
3321         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3322         * makefile.msc : new file (maybe later converted to makefile.msc.in)
3323         * Makefile.am : added to EXTRA_DIST
3324
3325 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
3326
3327         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3328         (#499783)
3329
3330 2007-12-03  Alexander Larsson  <alexl@redhat.com>
3331
3332         * glocalfileinfo.c:
3333         Handle OSX style xattrs API (#500506)
3334
3335 2007-12-03  Alexander Larsson  <alexl@redhat.com>
3336
3337         * gfile.[ch]:
3338         * glocalfile.c:
3339         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3340
3341 2007-12-02  A. Walton  <awalton@svn.gnome.org>
3342
3343         * gfile.c:
3344         * gfileattribute.c:
3345         Documentation accuracy fixes.
3346
3347 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
3348
3349         * gioenumtypes.c.template: Fix typo.
3350
3351 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3352
3353         * gioenumtypes.c.template: Make threadsafe get_type() functions.
3354
3355 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3356
3357         * gdirectorymonitor.c:
3358         * gfilemonitor.c: Add properties
3359
3360         * gbufferedoutputstream.c: Don't mark buffer-size property 
3361         as construct-only.
3362
3363 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3364
3365         * gbufferedoutputstream.c: Add auto-grow property.
3366
3367 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3368
3369         * *.c: Unify the capitalization of section headings.
3370
3371 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3372
3373         * gmountoperation.c: Add properties
3374         
3375         * gdatainputstream.c: Turn byte-order and newline-type into
3376         properties.
3377
3378 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3379
3380         * gioenumtypes.[hc].template: Templates for enum registration
3381
3382         * Makefile.am: Generate gioenumtypes.[hc]
3383
3384         * gio.h: Include gioenumtypes.h
3385         * gappinfo.h:
3386         * gfile.h: Add some explicit nicks.
3387
3388         * gio.symbols: Add new symbols
3389
3390         * pltcheck.sh: Adjust
3391
3392 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3393
3394         * *.c: Explain etags and link to the explanation
3395
3396 2007-11-29  Matthias Clasen <mclasen@redhat.com>
3397
3398         * *.c: Explain I/O priority.
3399
3400         * *.c: More coding style fixes.
3401
3402 2007-11-29  Matthias Clasen <mclasen@redhat.com>
3403
3404         * gasyncresult.c: Add another paragraph to the intro,
3405         adjust coding style of example.
3406
3407 2007-11-29  A. Walton <awalton@svn.gnome.org>
3408
3409         * gappinfo.c:
3410           Fixes unknown meaning in GAppLaunchContext docs.
3411         * gfile.c:
3412           Clarify asynchronous ops.
3413         * gfileattribute.c:
3414           Fix entity tag docs.
3415         * gicon.c:
3416         * gthemedicon.c:
3417           Provides missing gtk-doc section, fixes API docs slighly.
3418         * gsimpleasyncresult.c:
3419           Fill in missing info in docs.
3420         * gunixinputstream.c:
3421         * gunixoutputstream.c:
3422           Be more expressive in short description.
3423         * gunixvolume.c:
3424           Remove gtk-doc stubs for non-public API.
3425
3426 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3427
3428         * *.c: Coding style fixups
3429
3430 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3431
3432         * inotify/inotify-helper.c: Don't export the lock from libgio.
3433
3434 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3435
3436         * Makefile.am:
3437         * abicheck.sh: Fix copy-and-paste leftovers 
3438
3439 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3440
3441         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3442
3443 2007-11-28  Alexander Larsson  <alexl@redhat.com>
3444
3445         * Makefile.am:
3446         * gdriveprivate.h:
3447         Removed unnecessary file
3448         
3449         * gdesktopappinfo.[ch]:
3450         * gdummyfile.[ch]:
3451         * gfile.c:
3452         * glocaldirectorymonitor.[ch]:
3453         * glocalfile.[ch]:
3454         * glocalfileenumerator.[ch]:
3455         * glocalfileinputstream.[ch]:
3456         * glocalfilemonitor.[ch]:
3457         * glocalfileoutputstream.[ch]:
3458         * glocalvfs.[ch]:
3459         * gnativevolumemonitor.c:
3460         * gpollfilemonitor.[ch]:
3461         * gunionvolumemonitor.[ch]:
3462         * gunixdrive.[ch]:
3463         * gunixvolume.[ch]:
3464         * gunixvolumemonitor.[ch]:
3465         * gvfs.c:
3466         * gvolumeprivate.h:
3467         * inotify/ginotifydirectorymonitor.[ch]:
3468         * inotify/ginotifyfilemonitor.[ch]:
3469         * inotify/inotify-helper.c:
3470         Append _ to all internal functions
3471         
3472         * gio.symbols:
3473         Add missing symbols
3474         Export symbols needed for modules
3475
3476 2007-11-28  Alexander Larsson  <alexl@redhat.com>
3477
3478         * Makefile.am:
3479         * abicheck.sh: Added.
3480         * makegioalias.pl: Added.
3481         * pltcheck.sh: Added.
3482         * gio.symbols: Added.
3483         * *.c:
3484         * inotify/*.c
3485         Initial work on adding symbol handling.
3486
3487         * gvfs.h:
3488         Correct ifdef guard name
3489
3490         * fam/Makefile.am:
3491         * inotify/Makefile.am:
3492         * xdgmime/Makefile.am:
3493         Include toplevel Makefile.decl
3494
3495 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
3496
3497         * gcontenttype.c: Move doc comments to the unix section.
3498
3499         * *.[hc]: More trivial doc corrections.
3500
3501 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
3502
3503         * gpollfilemonitor.c:
3504         * gunixmounts.c:
3505         * gvfs.c:
3506         * gfile.c:
3507         * gdesktopappinfo.c:
3508         * gwin32appinfo.c:
3509         * gvolume.c:
3510         * glocalvfs.c:
3511         * gvolumemonitor.c:
3512         * gdatainputstream.c:
3513         * gdatainputstream.h:
3514         * gdataoutputstream.c:
3515         * gdataoutputstream.h:
3516         * gfileinfo.h: Doc cleanups
3517
3518 2007-11-28  Andre Klapper  <a9016009@gmx.de>
3519
3520         * gdesktopappinfo.c: Fix a typo.
3521
3522 2007-11-27  Andre Klapper  <a9016009@gmx.de>
3523
3524         * glocalfileoutputstream.c: Fix a typo.
3525
3526 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3527
3528         * gio.h:
3529         Don't include removed headers
3530
3531 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3532
3533         * Makefile.am:
3534         * gsocketinputstream.[ch]: Removed.
3535         * gsocketoutputstream.[ch]: Removed.
3536         * gunixinputstream.[ch]: Added.
3537         * gunixoutputstream.[ch]: Added.
3538         Renamed GSocket*Stream to GUnix*Stream and made
3539         it unix-only, since its not really only for sockets
3540         and it only works on unix (but is highly useful there).
3541
3542 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
3543         * gappinfo.c:
3544         * gappinfo.h:
3545         * gasynchelper.c:
3546         * gasyncresult.c:
3547         * gasyncresult.h:
3548         * gbufferedinputstream.c:
3549         * gbufferedinputstream.h:
3550         * gbufferedoutputstream.c:
3551         * gbufferedoutputstream.h:
3552         * gcancellable.c: 
3553         * gcancellable.h:
3554         * gcontenttype.c:
3555         * gdatainputstream.c:
3556         * gdatainputstream.h:
3557         * gdataoutputstream.c:
3558         * gdataoutputstream.h:
3559         * gdirectorymonitor.c:
3560         * gdirectorymonitor.h:
3561         * gdrive.c: 
3562         * gdrive.h:
3563         * gfile.c:
3564         * gfile.h:
3565         * gfileattribute.c:
3566         * gfileattribute.h:
3567         * gfileenumerator.c:
3568         * gfileenumerator.h:
3569         * gfileicon.c:
3570         * gfileicon.h:
3571         * gfileinfo.c:
3572         * gfileinfo.h:
3573         * gfileinputstream.c:
3574         * gfileinputstream.h:
3575         * gfilemonitor.c:
3576         * gfilemonitor.h:
3577         * gfilenamecompleter.c:
3578         * gfilenamecompleter.h:
3579         * gfileoutputstream.c:
3580         * gfileoutputstream.h:
3581         * gfilterinputstream.c:
3582         * gfilterinputstream.h:
3583         * gfilteroutputstream.c:
3584         * gfilteroutputstream.h:
3585         * gicon.c:
3586         * gicon.h:
3587         * ginputstream.c:
3588         * ginputstream.h:
3589         * gioerror.c:
3590         * gioerror.h:
3591         * giomodule.c:
3592         * giomodule.h:
3593         * gioscheduler.c:
3594         * gioscheduler.h:
3595         * gloadableicon.c:
3596         * gloadableicon.h:
3597         * glocalfileoutputstream.c:
3598         * gmemoryinputstream.c:
3599         * gmemoryinputstream.h:
3600         * gmemoryoutputstream.c:
3601         * gmemoryoutputstream.h:
3602         * gmountoperation.c: 
3603         * gmountoperation.h:
3604         * goutputstream.c:
3605         * goutputstream.h:
3606         * gpollfilemonitor.c:
3607         * gseekable.c:
3608         * gseekable.h:
3609         * gsimpleasyncresult.c:
3610         * gsimpleasyncresult.h:
3611         * gsocketinputstream.c:
3612         * gsocketinputstream.h:
3613         * gsocketoutputstream.c:
3614         * gsocketoutputstream.h:
3615         * gthemedicon.c:
3616         * gthemedicon.h:
3617         * gunixdrive.c:
3618         * gunixmounts.c: 
3619         * gunixmounts.h:
3620         * gunixvolume.c:
3621         * gunixvolumemonitor.c:
3622         * gurifuncs.c:
3623         * gurifuncs.h:
3624         * gvfs.c:
3625         * gvfs.h:
3626         * gvolume.c:
3627         * gvolume.h:
3628         * gvolumemonitor.c: 
3629         * gvolumemonitor.h:
3630         Bumps documentation to 93% symbol coverage, touching most 
3631         of the public files. Fixes broken function documentation prototypes. 
3632         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
3633         gtk-doc headers in private files.
3634
3635 2007-11-27  Jürg Billeter  <j@bitron.ch>
3636
3637         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3638         (g_buffered_input_stream_read_byte):
3639         * gbufferedinputstream.h:
3640         New functions for efficient access to buffer and simple single byte
3641         reads.
3642
3643         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3644         (g_data_input_stream_read_until):
3645         * gdatainputstream.h:
3646         Use peek_buffer to avoid memcpy in scan_for_newline, implement
3647         read_until with multiple stop chars.
3648
3649 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3650
3651         * Makefile.am:
3652         * fam/Makefile.am:
3653         * inotify/Makefile.am:
3654         Use the user-specified giomoduledir
3655
3656 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3657
3658         * Makefile.am
3659         * gio.h:
3660         Add catch-all gio.h header
3661         Don't install gdummyfile.h
3662
3663 2007-11-26  Alexander Larsson  <alexl@redhat.com>
3664
3665         * Makefile.am (gioinclude_HEADERS):
3666         Remove trailing whitespace
3667         
3668 2007-11-26  Alexander Larsson  <alexl@redhat.com>
3669
3670         Merge gio-standalone into glib
3671
3672 2007-11-25  Christian Kellner  <gicmo@gnome.org>
3673
3674         * gio/goutputstream.c:
3675         Fix small mistake in the docs.
3676
3677 2007-11-21  Christian Persch  <chpe@gnome.org>
3678
3679         * gio/glocalfile.c: (g_local_file_trash):
3680         Convert filenames to UTF-8 for GError.
3681         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3682         as per xdg base dir spec.
3683
3684 2007-11-21  Christian Persch  <chpe@gnome.org>
3685
3686         * gio/gdesktopappinfo.c:
3687         Use that g_key_file_to_data cannot fail.
3688         Some misc cleanups.
3689         Use stock defines for the key file group and key names.
3690         Use bitfields.
3691
3692 2007-11-21  Alexander Larsson  <alexl@redhat.com>
3693
3694         * gio/gfile.c:
3695         (copy_stream_with_progress):
3696         Make sure we do a final progress callback with
3697         the full total size.
3698
3699 2007-11-21  Alexander Larsson  <alexl@redhat.com>
3700
3701         * gio/gfile.[ch]:
3702         Export g_file_copy_attributes
3703         Remove padding as its not needed for interfaces
3704
3705 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3706
3707         * gio/gfile.c:
3708         * gio/gioerror.h:
3709         * gio/glocalfile.c:
3710         Add G_IO_ERROR_WOULD_MERGE for
3711         copy/move dir on dir with overwrite.
3712
3713 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3714
3715         * gio/gfileinfo.h:
3716         * gio/glocalfileinfo.c:
3717         Add COPY_NAME (this is an optional
3718         non-modified utf8 version of the name) that
3719         can roundtrip.
3720
3721 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3722
3723         * gio/glocalfileenumerator.c:
3724         Report errors as GIOError, not GFileError
3725
3726 2007-11-16  Alexander Larsson  <alexl@redhat.com>
3727
3728         * gio/glocalfileoutputstream.c:
3729         * gio/gwin32appinfo.c:
3730         Fix typos in strings.
3731         Patch from Luca Ferretti <elle.uca@libero.it>
3732
3733 2007-11-15  Alexander Larsson  <alexl@redhat.com>
3734
3735         * configure.ac:
3736         Post release version bump
3737
3738 === gio-standalone 0.1.2 ===
3739
3740 2007-11-15  Alexander Larsson  <alexl@redhat.com>
3741
3742         * docs/reference/gio/Makefile.am:
3743         Fix up distcheck by removing weird
3744         non-needed stuff
3745
3746         * NEWS:
3747         Update for release
3748
3749 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3750
3751         * gio/gdesktopappinfo.c:
3752         * gio/glocaldirectorymonitor.c:
3753         * gio/glocalfile.c:
3754         * gio/glocalfileinfo.c:
3755         * gio/inotify/inotify-sub.c:
3756         * programs/gio-cat.c:
3757         * programs/gio-copy.c:
3758         * programs/gio-info.c:
3759         * programs/gio-ls.c:
3760         * programs/gio-monitor-dir.c:
3761         * programs/gio-monitor-file.c:
3762         * programs/gio-mount.c:
3763         * programs/gio-move.c:
3764         * programs/gio-rm.c:
3765         * programs/gio-save.c:
3766         * programs/gio-trash.c:
3767         Leak fixes from Kjartan Maraas
3768
3769 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3770
3771         * gio/fam/fam-helper.c:
3772         * gio/gdrive.[ch]:
3773         * gio/glocalfileinfo.c:
3774         * gio/gunixdrive.c:
3775         * gio/gvfs.c:
3776         * gio/gvolume.[ch]:
3777         * gio/inotify/inotify-diag.c:
3778         * gio/inotify/inotify-kernel.c:
3779         Various code cleanups from Kjartan Maraas
3780
3781 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3782
3783         * gio/gioscheduler.c:
3784         (init_scheduler):
3785         Set up threadpool so that we cache 2 unused
3786         idle threads for at 15 secs. This means we
3787         will reuse thread-local data (like dbus connections)
3788         for them.
3789
3790 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3791
3792         * gio/fam/fam-helper.c:
3793         * gio/fam/gfamdirectorymonitor.c:
3794         * gio/fam/gfamfilemonitor.c:
3795         * gio/gappinfo.c:
3796         * gio/gcontenttype.c:
3797         * gio/gdatainputstream.c:
3798         * gio/gdataoutputstream.c:
3799         * gio/gdummyfile.c:
3800         * gio/gfile.c:
3801         * gio/gfile.h:
3802         * gio/gfileattribute.h:
3803         * gio/gfileenumerator.c:
3804         * gio/gfileinfo.c:
3805         * gio/ginputstream.c:
3806         * gio/gioerror.h:
3807         * gio/glocalfile.c:
3808         * gio/glocalfileinfo.c:
3809         * gio/goutputstream.c:
3810         * gio/gpollfilemonitor.c:
3811         * gio/gsimpleasyncresult.c:
3812         * gio/gunixmounts.c:
3813         * gio/gunixmounts.h:
3814         * gio/inotify/ginotifydirectorymonitor.c:
3815         * gio/inotify/ginotifyfilemonitor.c:
3816         * gio/inotify/inotify-diag.c:
3817         * gio/inotify/inotify-kernel.c:
3818         * gio/inotify/inotify-path.c:
3819         * gio/test-gio.c:
3820         * gio/test-streams.c:
3821         * programs/gio-info.c:
3822         * programs/gio-monitor-dir.c:
3823         * programs/gio-monitor-file.c:
3824         Various code cleanups from Kjartan Maraas
3825
3826 2007-11-13  Alexander Larsson  <alexl@redhat.com>
3827
3828         * gio/gdummyfile.c:
3829         Handle the uri-scheme calls for dummy files
3830
3831 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3832
3833         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3834         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3835         to avoid clash with the C++ keyword.
3836
3837 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3838
3839         * gio/glocalfileinfo.c: Build fix, added missing semicolon
3840         to an ifdef'ed call to getpwuid() in lookup_uid_data().
3841
3842 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
3843
3844         * gio/glocaldirectorymonitor.c:
3845         * gio/glocalfilemonitor.c:
3846         * gio/gunionvolumemonitor.c:
3847         Don't use g_once_init_*() for initializations that could fail and
3848         could leave the initialization variable set to 0 but use GOnce.
3849         This prevents a deadlock on the second call when trying to create
3850         a monitor and no monitor type is available. Thanks to Sven Herzberg
3851         for reporting.
3852
3853 2007-11-11  Sven Herzberg  <sven@imendio.com>
3854
3855         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3856         #ifdef (make it work on MacOS X again)
3857
3858 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
3859         * Changelog:
3860         Fixes Changelog for last two commits (sorry guys).
3861
3862 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3863         * gio/gappinfo.c:
3864         * gio/gbufferedinputstream.c:
3865         * gio/gdatainputstream.c:
3866         * gio/gfile.c:
3867         * gio/gfileoutputstream.c:
3868         * gio/gfilterinputstream.c:
3869         * gio/glocalfileinputstream.c:
3870         * gio/gurifuncs.c:
3871         * gio/gvfs.c:
3872         More consistency fixes in g*stream.c files. 
3873         Significant clean of gfile's documentation, filling in of 
3874         asynchronous operations documentation.
3875
3876 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3877         * gio/gappinfo.c:
3878         * gio/gasyncresult.c:
3879         * gio/gbufferedinputstream.c:
3880         * gio/gbufferedoutputstream.c:
3881         * gio/gcancellable.c:
3882         * gio/gcontenttype.c:
3883         * gio/gdatainputstream.c:
3884         * gio/gdataoutputstream.c:
3885         * gio/gdesktopappinfo.c:
3886         * gio/gdrive.c:
3887         * gio/gfile.c:
3888         * gio/gfileattribute.c:
3889         * gio/gio/gfileenumerator.c:
3890         * gio/gfileinfo.c:
3891         * gio/gfileinputstream.c:
3892         * gio/gfilemonitor.c:
3893         * gio/gfileoutputstream.c:
3894         * gio/ginputstream.c:
3895         * gio/giomodule.c:
3896         * gio/gioscheduler.c:
3897         * gio/gloadableicon.c:
3898         * gio/glocalfileoutputstream.c:
3899         * gio/gmemoryoutputstream.c:
3900         * gio/gmountoperation.c:
3901         * gio/goutputstream.c:
3902         * gio/gseekable.c:
3903         * gio/gsimpleasyncresult.c:
3904         * gio/gunionvolumemonitor.c:
3905         * gio/gunixmounts.c:
3906         * gio/gunixvolume.c:
3907         * gio/gurifuncs.c:
3908         * gio/gvfs.c:
3909         * gio/gvolume.c:
3910         * gio/gvolumemonitor.c:
3911         Updated documentation stubs, working towards consistency and 
3912         completeness.
3913
3914 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3915
3916         * gio/gmemoryoutputstream.c:
3917         * gio/gmemoryoutputstream.h:
3918         Change g_memory_output_stream_set_free_on_close() to
3919         g_memory_output_stream_set_free_data() as this makes more sense and
3920         is more consistent with GMemoryInputStream.
3921
3922 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3923
3924         * gio/gfile.c:
3925         Fix some docs
3926         
3927         * gio/glocalvfs.c:
3928         * gio/gvfs.[ch]:
3929         Change how we find the default vfs so that
3930         we can handle a gvfs failing to init
3931
3932 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3933
3934         * gio/gbufferedoutputstream.c:
3935         * gio/gdatainputstream.c:
3936         * gio/gdataoutputstream.c:
3937         * gio/gfileinputstream.c:
3938         * gio/gfileoutputstream.c:
3939         * gio/gfilterinputstream.c:
3940         * gio/gfilteroutputstream.c:
3941         * gio/ginputstream.c:
3942         * gio/gmemoryinputstream.c:
3943         * gio/gmemoryoutputstream.c:
3944         * gio/goutputstream.c:
3945         * gio/gsimpleasyncresult.c:
3946         * gio/gsocketinputstream.c:
3947         * gio/gsocketoutputstream.c:
3948         Add guards to the remaining public functions, add a TODO for
3949         an unimplemented function and remove some useless guards.
3950
3951 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3952
3953         * configure.ac:
3954         Autoconf checks for the various types of
3955         getpwuid_r and getgrgid_r
3956         
3957         * gio/glocalfileinfo.c:
3958         Use the autoconf checks from above
3959
3960 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3961
3962         * gio/glocalfile.c:
3963         (g_local_file_query_filesystem_info):
3964         Some fixes for the statvfs case
3965         
3966 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3967
3968         * gio/glocalfile.c:
3969         (g_local_file_query_filesystem_info):
3970         Pick the "best" of statfs / statvfs for the system
3971         if both are availible.
3972
3973 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3974
3975         Solaris fixes from Halton.Huo@Sun.COM:
3976         
3977         * gio/gdrive.c:
3978         * gio/gfile.c:
3979         * gio/gvolume.c:
3980         Don't return void
3981         
3982         * gio/glocalfileinfo.c:
3983         Fix for solaris definition of getpwuid_r
3984         
3985         * gio/test-streams.c:
3986         Use G_GNUC_PRETTY_FUNCTION
3987
3988 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3989
3990         * gio/gdesktopappinfo.c:
3991         (update_default_list):
3992         Remove double semicolon.
3993         Patch from Jens Granseuer
3994
3995 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3996
3997         * docs/reference/gio/gio-sections.txt:
3998         * gio/gbufferedinputstream.c:
3999         * gio/gbufferedinputstream.h:
4000         * gio/gdatainputstream.c:
4001         * gio/gfileenumerator.c:
4002         * gio/gioscheduler.c:
4003         * gio/gunionvolumemonitor.c:
4004         * gio/gvfs.c:
4005         * programs/gio-save.c:
4006         Fix typo: availible -> available. Unfortuntely this breaks API
4007         and ABI as g_buffered_input_stream_get_available() was renamed.
4008         
4009         * gio/gunixmounts.c:
4010         * gio/gbufferedinputstream.c:
4011         Add guards for public functions.
4012
4013 2007-11-06  Ross Burton  <ross@openedhand.com>
4014
4015         * docs/reference/gio/Makefile.am:
4016         Fix invalid += usage which automake 1.10 doesn't like.
4017
4018 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4019
4020         * gio/gappinfo.c:
4021         (g_app_launch_context_class_init):
4022         Fix warning
4023
4024         Patch from Ross Burton 
4025         
4026 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4027
4028         * configure.ac:
4029         Post release version bump
4030
4031 === gio-standalone 0.1.1 ===
4032
4033 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4034
4035         * configure.ac:
4036         Bump version to 0.1.1
4037         
4038         * gio/gsimpleasyncresult.c:
4039         (g_simple_async_result_set_from_error):
4040         Remove bogus g_return_if_fail
4041
4042 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4043
4044         * configure.ac:
4045         The name is gio-standalone
4046         
4047         * gio/Makefile.am:
4048         Add top src/builddir to includedir
4049
4050 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4051
4052         * docs/reference/gio/gio-sections.txt:
4053         * gio/gappinfo.c:
4054         * gio/gbufferedinputstream.c:
4055         * gio/gbufferedoutputstream.c:
4056         * gio/gcancellable.c:
4057         * gio/gdatainputstream.h:
4058         * gio/gdataoutputstream.c:
4059         * gio/gdataoutputstream.h:
4060         * gio/gdirectorymonitor.c:
4061         * gio/gfile.c:
4062         * gio/gfileattribute.c:
4063         * gio/gfileattribute.h:
4064         * gio/gfileenumerator.c:
4065         * gio/gfileenumerator.h:
4066         * gio/gfileinfo.c:
4067         * gio/gfileinfo.h:
4068         * gio/gfileinputstream.h:
4069         * gio/gfilemonitor.c:
4070         * gio/gfileoutputstream.h:
4071         * gio/glocalfilemonitor.h:
4072         * gio/glocalfileoutputstream.h:
4073         * gio/gmemoryinputstream.c:
4074         * gio/gmemoryoutputstream.c:
4075         * gio/gmountoperation.c:
4076         * gio/goutputstream.c:
4077         * gio/goutputstream.h:
4078         * gio/gseekable.h:
4079         * gio/gsimpleasyncresult.c:
4080         * gio/gunixmounts.c:
4081         * gio/gunixmounts.h:
4082         * gio/gurifuncs.h:
4083         * gio/inotify/inotify-helper.c:
4084         Fix gtk-doc warnings
4085
4086         Patch from Ross Burton 
4087         
4088 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4089
4090         * gio/gfilenamecompleter.c:
4091         (g_filename_completer_get_completions):
4092         fix warning
4093         
4094         * gio/gunixvolume.c:
4095         Remove unused function
4096
4097         Patches from Ross Burton 
4098
4099 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4100
4101         * gio/gdrive.h:
4102         * gio/gseekable.h:
4103         * gio/gvolume.h:
4104         Padding not needed for interfaces
4105
4106 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4107
4108         * gio/gfilemonitor.c:
4109         Remove debug spew
4110
4111         * gio/Makefile.am:
4112         Make giotypes.h an internal file
4113         
4114         * gio/gappinfo.h:
4115         * gio/gbufferedinputstream.h:
4116         * gio/gbufferedoutputstream.h:
4117         * gio/gcancellable.h:
4118         * gio/gdatainputstream.h:
4119         * gio/gdataoutputstream.h:
4120         * gio/gdirectorymonitor.c:
4121         * gio/gdirectorymonitor.h:
4122         * gio/gdrive.c:
4123         * gio/gdrive.h:
4124         * gio/gfile.c:
4125         * gio/gfile.h:
4126         * gio/gfileattribute.h:
4127         * gio/gfileenumerator.h:
4128         * gio/gfileicon.c:
4129         * gio/gfileicon.h:
4130         * gio/gfileinfo.c:
4131         * gio/gfileinfo.h:
4132         * gio/gfilemonitor.c:
4133         * gio/gfilemonitor.h:
4134         * gio/gfilenamecompleter.c:
4135         * gio/gfilenamecompleter.h:
4136         * gio/gfilterinputstream.h:
4137         * gio/gfilteroutputstream.h:
4138         * gio/ginputstream.h:
4139         * gio/gmemoryinputstream.h:
4140         * gio/gmemoryoutputstream.h:
4141         * gio/gmountoperation.c:
4142         * gio/gmountoperation.h:
4143         * gio/gnativevolumemonitor.c:
4144         * gio/goutputstream.h:
4145         * gio/gseekable.c:
4146         * gio/gseekable.h:
4147         * gio/gsimpleasyncresult.c:
4148         * gio/gsimpleasyncresult.h:
4149         * gio/gsocketinputstream.h:
4150         * gio/gsocketoutputstream.h:
4151         * gio/gthemedicon.c:
4152         * gio/gthemedicon.h:
4153         * gio/gvfs.h:
4154         * gio/gvolume.c:
4155         * gio/gvolume.h:
4156         * gio/gvolumemonitor.c:
4157         * gio/gvolumemonitor.h:
4158         Add padding in classes where it seems useful
4159         Don't include giotypes.h from public headers
4160         Move in Class definitions into c file where possible
4161         
4162         * gio/glocalfile.c:
4163         Fix warnings
4164
4165 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4166
4167         * docs/reference/gio/gio-docs.xml:
4168         Better structure for API docs
4169
4170 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4171
4172         * gio/gfileicon.c:
4173         * gio/gloadableicon.c:
4174         * gio/gsimpleasyncresult.c:
4175         * gio/gthemedicon.c:
4176         Add some more guards to public functions. Only files missing are now
4177         g*stream*.c.
4178
4179 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4180
4181         * docs/reference/gio/gio-docs.xml:
4182         Remove old files, add missing ones
4183
4184 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4185
4186         * docs/reference/gio/gio-sections.txt:
4187         Restructure
4188         Add missing stuff
4189         Hide implementation classes
4190         
4191         * gio/gdriveprivate.h:
4192         * gio/gvolumeprivate.h:
4193         Remove non-existing function declarations
4194
4195 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4196
4197         * gio/gappinfo.c:
4198         Fix compilation warnings and add guards to the new functions.
4199         
4200         * gio/gasyncresult.c:
4201         * gio/gdummyfile.c:
4202         Add guards to the public functions.
4203         
4204         * gio/gdummyfile.c:
4205         Implement get_path().
4206
4207 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4208
4209         * gio/gfilenamecompleter.c:
4210         Make g_filename_completer_get_completions
4211         return char ** instead of GList for
4212         typesafety.
4213         
4214         * docs/reference/gio/gio-docs.xml:
4215         * docs/reference/gio/gio-sections.txt:
4216         * gio/gappinfo.c:
4217         * gio/gasyncresult.c:
4218         * gio/gbufferedinputstream.c:
4219         * gio/gbufferedoutputstream.c:
4220         * gio/gcancellable.c:
4221         * gio/gcontenttype.c:
4222         * gio/gdatainputstream.c:
4223         * gio/gdataoutputstream.c:
4224         * gio/gdesktopappinfo.c:
4225         * gio/gdirectorymonitor.c:
4226         * gio/gdrive.c:
4227         * gio/gdummyfile.c:
4228         * gio/gfile.c:
4229         * gio/gfileattribute.c:
4230         * gio/gfileenumerator.c:
4231         * gio/gfileicon.c:
4232         * gio/gfileinfo.c:
4233         * gio/gfileinputstream.c:
4234         * gio/gfilemonitor.c:
4235         * gio/gfilenamecompleter.c:
4236         * gio/gfilenamecompleter.h:
4237         * gio/gfileoutputstream.c:
4238         * gio/gfilterinputstream.c:
4239         * gio/gicon.c:
4240         * gio/ginputstream.c:
4241         * gio/giomodule.c:
4242         * gio/gioscheduler.c:
4243         * gio/gloadableicon.c:
4244         * gio/glocaldirectorymonitor.c:
4245         * gio/glocalfile.c:
4246         * gio/glocalfileinputstream.c:
4247         * gio/glocalfilemonitor.c:
4248         * gio/glocalfileoutputstream.c:
4249         * gio/glocalvfs.c:
4250         * gio/gmemoryinputstream.c:
4251         * gio/gmemoryoutputstream.c:
4252         * gio/gmountoperation.c:
4253         * gio/goutputstream.c:
4254         * gio/gpollfilemonitor.c:
4255         * gio/gseekable.c:
4256         * gio/gsimpleasyncresult.c:
4257         * gio/gsocketinputstream.c:
4258         * gio/gsocketoutputstream.c:
4259         * gio/gthemedicon.c:
4260         * gio/gunionvolumemonitor.c:
4261         * gio/gunixdrive.c:
4262         * gio/gunixmounts.c:
4263         * gio/gunixvolume.c:
4264         * gio/gunixvolumemonitor.c:
4265         * gio/gurifuncs.c:
4266         * gio/gvfs.c:
4267         * gio/gvolume.c:
4268         * gio/gvolumemonitor.c:
4269         * gio/gwin32appinfo.c:
4270         Add (mostly stub) doc strings to public functions.
4271         Patch from Andrew Walton (awalton@gmail.com)
4272
4273 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4274
4275         * gio/gappinfo.[ch]:
4276         Added GAppLaunchContext object and pass that to launch.
4277         This allows simple implementation of both
4278         launch-on-screen and startup notification via a gtk+
4279         subclass of GAppLaunchContext
4280         
4281         * gio/gdesktopappinfo.c:
4282         Implement GAppLaunchContext API
4283         
4284         * gio/gwin32appinfo.c:
4285         Update to new APIs
4286
4287 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4288
4289         * gio/gmountoperation.c:
4290         Add some guards to GMountOperation's public functions.
4291
4292 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4293
4294
4295         * gio/gappinfo.c:
4296         * gio/gcancellable.c:
4297         * gio/gdirectorymonitor.c:
4298         * gio/gdrive.c:
4299         * gio/gfileenumerator.c:
4300         * gio/gfilemonitor.c:,
4301         * gio/gfilenamecompleter.c:
4302         * gio/gicon.c:
4303         * gio/giomodule.c:
4304         * gio/gioscheduler.c:
4305         * gio/gseekable.c:
4306         * gio/gurifuncs.c:
4307         * gio/gvolume.c:
4308         * gio/gvolumemonitor.c:
4309         Add even more guards to various public functions.
4310
4311 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4312
4313         * gio/gappinfo.c:
4314         Add guards to the public functions of GAppInfo.
4315
4316 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4317
4318         * gio/gcontenttype.c:
4319         Add some more guards for public functions.
4320
4321 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4322
4323         * gio/fam/fam-module.c:
4324         * gio/fam/gfamdirectorymonitor.c:
4325         * gio/fam/gfamdirectorymonitor.h:
4326         * gio/fam/gfamfilemonitor.c:
4327         * gio/fam/gfamfilemonitor.h:
4328         * gio/inotify/ginotifydirectorymonitor.c:
4329         * gio/inotify/ginotifydirectorymonitor.h:
4330         * gio/inotify/ginotifyfilemonitor.c:
4331         * gio/inotify/ginotifyfilemonitor.h:
4332         Add proper copyright information and remove an unused variable
4333         in the GInotifyFileMonitor constructor.
4334
4335         * gio/gcancellable.c:
4336         Add a guard for a public function and an assertion to prevent
4337         an undefined program state.
4338
4339 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4340
4341         * gio/gfileattribute.c:
4342         Don't run into an assertion if the given attribute value is NULL
4343         in g_file_attribute_value_get_*() but instead return a fallback
4344         value that makes sense in most situations. Passing them a attribute
4345         value with the wrong type will still run into an assertion.
4346
4347 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4348
4349         * gio/gfileattribute.c:
4350         * gio/gfileinfo.c:
4351         Add even more guards to the public functions. Also fix the refcounting
4352         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4353         let g_file_info_list_attributes() filter the attributes by namespace
4354         instead of simply ignoring the namespace parameter.
4355
4356 2007-11-03  Sven Herzberg  <sven@imendio.com>
4357
4358         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4359         (This makes gio work on MacOS X again)
4360
4361 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4362
4363         * Makefile.am:
4364         Build the gio subdirectory before the docs. Otherwise the build will
4365         fail.
4366
4367         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4368         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4369         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4370         Add guards to the public functions.
4371
4372 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4373
4374         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4375         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4376         to prevent a compiler warning.
4377
4378         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4379         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4380         return something in the non-void function find_topdir_for().
4381
4382 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
4383
4384         * configure.ac:
4385         * Makefile.am:
4386         * docs/:
4387         Gtkdocify!
4388
4389 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
4390
4391         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4392         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4393         * gwin32appinfo.c (g_win32_app_info_launch):
4394         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4395         envp_for_startup_id, g_desktop_app_info_launch,
4396         g_desktop_app_info_launch_uris):
4397
4398         Give an opaque 'startup_id' string instead of 'envp'.
4399         Support empty file lists for launching new windows.
4400         Fix infinite recursion bug when launching URIs.
4401
4402 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4403
4404         * gio/gfile.c:
4405         Add guard to the new g_file_get_uri_scheme() function.
4406
4407 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4408
4409         * gio/gfile.c:
4410         Convert a g_return_val_if_fail() to setting the GError instead as
4411         otherwise applications have to verify the parameter before otherwise
4412         and the parameter might come directly from the user.
4413
4414 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4415
4416         * gio/inotify/ginotify*.[ch]:
4417         Add missing copyright information.
4418
4419 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4420
4421         * gio/gfile.c:
4422         Add guards in the beginning of public functions to check for valid
4423         parameters and fix a bug in copy_stream_with_progress() that could've
4424         caused writing less bytes than reading.
4425         * gio/glocalfileinfo.c:
4426         Check for a NULL parameter and set the GError accordingly then.
4427         * gio/goutputstream.c:
4428         Fix the same bug as in gfile.c that could've caused writing less bytes
4429         than reading in g_output_stream_real_splice().
4430
4431 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
4432
4433         * gio/Makefile.am:
4434         Use the correct gvolumeprivate.h naming
4435
4436 2007-11-01  Christian Kellner  <gicmo@gnome.org>
4437
4438         * gio/Makefile.am:
4439         Remove leftover "$(daemon_sources)" entry.
4440
4441 2007-11-01  Christian Kellner  <gicmo@gnome.org>
4442
4443         * gio/fam/*.[ch]:
4444         * gio/*.[ch]:
4445         * programs/*.[ch]:
4446         Add copyright information to source files.
4447
4448 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4449
4450         * gio/gfile.[ch]:
4451         * gio/glocalfile.c:
4452         Add g_file_get_uri_scheme
4453
4454 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4455
4456         * gio/gappinfo.h:
4457         * gio/gdesktopappinfo.c:
4458         * gio/gwin32appinfo.c:
4459         Add g_app_info_get_default_for_uri_scheme.
4460
4461 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4462
4463         * gio/Makefile.am:
4464         Correct filename for gdriveprivate.h
4465
4466 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4467
4468         * gio/gfileinfo.h:
4469         Rename id:value to id:file
4470         Add id:fs
4471         
4472         * gio/glocalfileinfo.c:
4473         Implement id:fs
4474
4475 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4476
4477         * gio/gunixvolume.c:
4478         * gio/gvolume.[ch]:
4479         Remove g_volume_get_platform_id, as thats not
4480         needed with the simpler union volume monitor
4481
4482 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4483
4484         * gio/Makefile.am:
4485         * gio/guniondrive.[ch]: Removed.
4486         * gio/gunionvolume.[ch]: Removed.
4487         Remove GUnionDrive/Volume
4488
4489         * gio/gunionvolumemonitor.c:
4490         Simplify union volume monitor, now we
4491         only have one native volume monitor and
4492         we use the actual volumes/drives from the
4493         child monitors instead of wrapping them
4494
4495         * gio/gnativevolumemonitor.[ch]:
4496         Base class for native volume monitors.
4497         Includes priority and get_volume_for_mountpoint
4498         
4499         * gio/gfile.[ch]:
4500         Add g_file_find_enclosing_volume
4501
4502         * gio/gfileinfo.h:
4503         Remove volume name fs attribute
4504         Add readonly fs attribute
4505         
4506         * gio/glocalfile.c:
4507         Implement readonly attribute
4508         remove volume name attribute
4509         Implement find_enclosing volume
4510         
4511         * gio/gunixmounts.c:
4512         Add a volume for "/".
4513         
4514         * gio/gunixvolume.[ch]:
4515         Set better name for /
4516         
4517         * gio/gunixvolumemonitor.[ch]:
4518         Derive from GNativeVolumeMonitor
4519         Implement get_volume_for_mountpoint
4520         
4521         * gio/gvolume.h:
4522         GVolume typedef moved to gfile.h
4523         
4524         * gio/gvolumeprivate.h:
4525         Add g_volume_get_for_mount_path
4526
4527 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4528
4529         * gio/gunixmounts.[ch]:
4530         Add cache info to unix mount listers
4531         Make getmntent use threadsafe
4532         Add is_system_internal attribute for GUnixMount
4533         
4534         * gio/gunixvolume.c:
4535         (g_unix_volume_new):
4536         Use is_system_internal instead of own code
4537         
4538         * gio/glocaldirectorymonitor.c:
4539         * gio/gunixvolumemonitor.c:
4540         Update to new gunixmounts API
4541         
4542         * gio/glocalfile.c:
4543         Fix warning
4544
4545 2007-10-30  Alexander Larsson  <alexl@redhat.com>
4546
4547         * gio/gfileinfo.h:
4548         Add volume name fsinfo attribute
4549         
4550         * gio/glocalfile.c:
4551         Read volume name info
4552         
4553         * gio/gunionvolumemonitor.c:
4554         Fix infinite loops when finalizing a union volume monitor
4555
4556 2007-10-30  Alexander Larsson  <alexl@redhat.com>
4557
4558         * gio/goutputstream.[ch]:
4559         Add splice() with default implementation
4560         
4561         * gio/gsocketoutputstream.c:
4562         (g_socket_output_stream_write):
4563         Return error on cancellation correctly.
4564         
4565 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
4566
4567         * gio/glocalfile.c (g_local_file_trash):
4568         Do not leak a string.
4569
4570 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
4571
4572         * gio/gfile.c (g_file_load_contents):
4573         Unref the stream after closing it.
4574
4575 2007-10-25  Alexander Larsson  <alexl@redhat.com>
4576
4577         * gio/gioscheduler.h:
4578         Fix include
4579
4580 2007-10-25  Alexander Larsson  <alexl@redhat.com>
4581
4582         * gio/gfile.[ch]:
4583         * gio/glocalfile.c:
4584         Add g_file_has_uri_scheme and implement for local files
4585
4586 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
4587
4588         * gio/gdesktopappinfo.c: do not leak a string.
4589
4590 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
4591
4592         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4593         (g_local_directory_monitor_new):
4594         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4595         (g_local_file_monitor_new):
4596         Only look for the monitor type that should be used the first time
4597         and use g_qsort_with_data() instead of our own bubble sort
4598         implementation.
4599
4600 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
4601
4602         * gio/Makefile.am:
4603         * gio/fam/Makefile.am:
4604         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4605         * gio/fam/fam-helper.h:
4606         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4607         * gio/fam/gfamdirectorymonitor.c:
4608         * gio/fam/gfamdirectorymonitor.h:
4609         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4610         * gio/fam/gfamfilemonitor.h:
4611         * gio/glocaldirectorymonitor.c:
4612         * gio/glocaldirectorymonitor.h:
4613         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4614         * gio/glocalfilemonitor.h:
4615         * gio/inotify/Makefile.am:
4616         * gio/inotify/ginotifydirectorymonitor.c:
4617         * gio/inotify/ginotifydirectorymonitor.h:
4618         * gio/inotify/ginotifyfilemonitor.c:
4619         * gio/inotify/ginotifyfilemonitor.h:
4620         Implement the FAM and Inotify monitors as
4621         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4622         their own GIO module. GLocal(Directory|File)Monitor will use the
4623         monitor with the highest rank that is supported on that machine.
4624
4625 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
4626
4627         * gio/Makefile.am:
4628         Change GIO module dir to $(libdir)/gio/modules and change
4629         the log domain from GVFS to GIO. Also only export symbols starting
4630         with g_ in the resulting library.
4631         * gio/test-streams.c: (main):
4632         Set log handler for the GIO log domain.
4633
4634 2007-10-22  Alexander Larsson  <alexl@redhat.com>
4635
4636         * gio/gfilenamecompleter.[ch]:
4637         Add g_filename_completer_set_dirs_only
4638
4639 2007-10-22  Alexander Larsson  <alexl@redhat.com>
4640
4641         * gio/Makefile.am:
4642         * gio/gurifuncs.[ch]:
4643         Add some simple URI helpers
4644         
4645         * gio/gfilenamecompleter.[ch]:
4646         Added object for filename (parse name actually) completion
4647         
4648         * gio/glocalvfs.c:
4649         Handle ~ in parse names
4650
4651 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4652
4653         * gio/gfileinfo.h:
4654         * gio/glocalfileinfo.c:
4655         Add and implement id:value attribute
4656
4657 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4658
4659         * gio/gdrive.[ch]:
4660         * gio/guniondrive.c:
4661         * gio/gunixdrive.c:
4662         Add and implement g_drive_has_volumes
4663         
4664 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4665
4666         * gio/gfileinfo.h:
4667         * gio/glocalfileinfo.[ch]:
4668         Add unix:is_mountpoint and implement for local files
4669
4670 2007-10-16  Alexander Larsson  <alexl@redhat.com>
4671
4672         * gio/gunionvolumemonitor.c:
4673         (g_union_volume_monitor_init):
4674         Fix up the unix type getting so that it works with gcc
4675         
4676 2007-10-12  Alexander Larsson  <alexl@redhat.com>
4677
4678         * gio/gfileinfo.h:
4679         * gio/glocalfileinfo.c:
4680         Add thumbnail:failed to file info
4681
4682 2007-10-12  Richard Hult  <richard@imendio.com>
4683
4684         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4685         optimizing away the get_type call (happens with some gcc versions,
4686         like the one shipped with OS X 10.4).
4687
4688 2007-10-12  Alexander Larsson  <alexl@redhat.com>
4689
4690         * gio/glocalfileinfo.c:
4691         (_g_local_file_info_set_attribute):
4692         Fix build if not HAVE_XATTR
4693         Patch from Milosz Derezynski <internalerror@gmail.com>
4694
4695 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
4696
4697         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4698         around for review, otherwise I would have asked you before
4699         committing)
4700
4701 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4702
4703         * gio/gfileinfo.h:
4704         Add thumbnail:path attribute
4705         
4706         * gio/glocalfileinfo.c:
4707         Implement thumbnail:path for local files
4708
4709 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4710
4711         * gio/glocalfileinfo.c:
4712         (_g_local_file_info_get):
4713         Avoid duplicate icon names
4714
4715 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4716
4717         * gio/gthemedicon.[ch]:
4718         Change g_themed_icon_get_names return type to const
4719
4720 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4721
4722         * gio/glocalfileinfo.c:
4723         Don't reference freed memory
4724
4725 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4726
4727         * gio/gfileattribute.c:
4728         Handle objects
4729         
4730         * gio/glocalfileinfo.c:
4731         Return icon info
4732
4733 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4734
4735         * gio/gfileinfo.c:
4736         Check for NULL icons
4737
4738         * gio/gfileattribute.c:
4739         Don't dup when getting objects (same as for string attributes)
4740
4741         * gio/gicon.c (g_icon_equal):
4742         Safely handle NULLs in equal
4743
4744 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4745
4746         * gio/gfileinfo.h:
4747         Fix c++ compilation issues
4748         Patch from Milosz Derezynski <internalerror@gmail.com>
4749
4750 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4751
4752         * programs/gio-monitor-dir.c:
4753         Don't crash if dir monitor not supported.
4754
4755 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4756
4757         * gio/gioerror.h:
4758         Add missing G_END_DECLS
4759
4760 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
4761
4762         * gio/gfile.c: (g_file_set_display_name),
4763         (g_file_query_settable_attributes),
4764         (g_file_query_writable_namespaces):
4765         Return NULL not FALSE on errors as the return type is a pointer.
4766
4767 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
4768
4769         * gio/glocalfile.c: (g_local_file_monitor_file):
4770         Don't call monitor_file on the default interface vtable (which
4771         is NULL) but simply return NULL. The caller, GFile, will create a
4772         polling monitor if NULL is returned.
4773
4774 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4775
4776         * Makefile.am:
4777         * configure.ac:
4778         * gio-unix-2.0.pc.in:
4779         Add gio-unix-2.0.pc if OS_UNIX
4780         
4781         * gio/Makefile.am:
4782         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4783
4784 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4785
4786         * gio/gunixmounts.[ch]:
4787         Make unix mount monitoring API sane.
4788         Now its just a object with mounts_changed
4789         and mountpoints_changed signals.
4790         
4791         * gio/glocaldirectorymonitor.c:
4792         * gio/gunixvolumemonitor.c:
4793         Use new mount monitor api
4794
4795 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4796
4797         * gio/gunixmounts.[ch]:
4798         Move guess type into one call for mounts and one for mountpoints
4799         
4800         * gio/gunixdrive.c:
4801         * gio/gunixvolume.c:
4802         Update
4803
4804 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4805
4806         * gio/gunixmounts.[ch]:
4807         Remove _ prefix in preparation to make this semi-public
4808         Hide implementation of structs
4809         
4810         * gio/glocaldirectorymonitor.c:
4811         * gio/gunixdrive.c:
4812         * gio/gunixvolume.c:
4813         * gio/gunixvolumemonitor.c:
4814         Update for above API changes
4815
4816 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4817
4818         * gio/gfile.c:
4819         Better polling fallback. This also handles the case where we have
4820         a monitor_file implementation, but it fails.
4821
4822 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4823
4824         * gio/gfile.[ch]:
4825         * gio/glocalfile.c:
4826         * gio/gunixmounts.c:
4827         * programs/gio-monitor-dir.c:
4828         * programs/gio-monitor-file.c:
4829         Added cancellable to file monitoring calls.
4830         These are really sync calls and need this.
4831
4832 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
4833
4834         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4835         (g_local_vfs_class_init):
4836         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4837         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4838
4839 2007-10-05  Alexander Larsson  <alexl@redhat.com>
4840
4841         * gio/gdirectorymonitorprivate.h: 
4842         * gio/gfilemonitorprivate.h: 
4843         * gio/gdirectorymonitor.h:
4844         * gio/gfilemonitor.h:
4845         Remove *private.h and move to the public API, so that
4846         we can do implementations outside gio (such as in gvfs)
4847         
4848         * gio/gdirectorymonitor.c:
4849         * gio/gfilemonitor.c:
4850         * gio/glocaldirectorymonitor.c:
4851         * gio/gpollfilemonitor.c:
4852         * gio/inotify/inotify-helper.c:
4853         * gio/fam/fam-helper.c:
4854         Update to the new header names
4855
4856 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
4857
4858         * gio/gdirectorymonitor.c:
4859         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4860         GTypes as abstract.
4861
4862 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4863
4864         * gio/glocalfileinfo.c (get_access_rights):
4865         Set CAN_TRASH when we can move the file.
4866         We should really also check for a parent trash dir.
4867
4868 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4869
4870         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4871         Add can_trash access attribute
4872
4873 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4874
4875         * gio/glocalfile.c:
4876         (g_local_file_trash):
4877         Create info file first. This is per-spec and allows
4878         us to actually trash directories.
4879
4880 2007-10-02  Alexander Larsson  <alexl@redhat.com>
4881
4882         * gio/gdesktopappinfo.c:
4883         Implement the new mime support code.
4884         Always set app as handling mimetype when being set as default for it
4885
4886 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4887
4888         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4889         Fix up check for xattrs:
4890
4891 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4892
4893         * gio/gappinfo.c:
4894         (g_app_info_set_as_default_for_extension):
4895         (g_app_info_add_supports_type):
4896         (g_app_info_can_remove_supports_type):
4897         (g_app_info_remove_supports_type):
4898         Make these fail nicely if not implemented
4899
4900 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
4901
4902         * gio/glocalfileoutputstream.c:
4903         * gio/glocalfileoutputstream.h:
4904         * gio/test-gio.c:
4905         * gio/gfile.c:
4906         * gio/gfile.h:
4907         * gio/glocalfile.c:
4908         * programs/gio-save.c: 
4909         Add a GFileCreateFlags argument to operations that can create
4910         a new file.
4911
4912 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4913
4914         * gio/gappinfo.[ch]:
4915         * gio/gdesktopappinfo.c:
4916         Add more (stubbed out) mime API needed for nautilus
4917
4918 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4919
4920         * gio/gappinfo.h:
4921         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4922         Add g_app_info_set_as_default_for_extension.
4923         
4924         * gio/gdesktopappinfo.c:
4925         Dummy for g_app_info_set_as_default_for_extension
4926         Support flags in g_app_info_create_from_commandline
4927
4928         * gio/gwin32appinfo.c:
4929         * gio/test-gio.c:
4930         Update for API changes
4931         
4932         * gio/gthemedicon.c:
4933         Properly NULL-terminate list of icon names
4934
4935 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4936
4937         * gio/gloadableicon.h:
4938         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4939
4940 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4941
4942         * gio/Makefile.am:
4943         Install headers in $includedir/gio-standalone/
4944         
4945         * gio-2.0.pc.in: Added.
4946         * gio-standalone.pc.in: Removed.
4947         * configure.ac:
4948         * Makefile.am:
4949         Renamed pkg-config file to match glib (for future move)
4950         Update to the new include dir
4951         
4952         * gio/gappinfo.h:
4953         Add more TODO comments
4954
4955 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4956
4957         * gio/gdesktopappinfo.[ch]:
4958         Expose new_from_filename
4959         Add getter for is_hidden and handle it better
4960
4961 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4962
4963         * gio/gfileinfo.[ch]:
4964         Rename g_file_size_format_for_display to
4965         g_format_file_size_for_display.
4966         Now it doesn't have the g_file prefix, so we
4967         can later move it to glib.
4968
4969 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4970
4971         * gio/gappinfo.[ch]:
4972         Add g_app_info_get_id and g_app_info_get_executable.
4973         Make all getters non-reffing
4974         Make g_app_info_launch take GFile arguments.
4975         Add must_support_uris argument to g_app_info_get_default_for_type.
4976         
4977         * gio/gwin32appinfo.c:
4978         Update to GAppInfo api changes
4979         
4980         * gio/gdesktopappinfo.c:
4981         Update to GAppInfo api changes
4982         Implement supports_xdg_startup_notify
4983         
4984         * gio/gfileicon.c (g_file_icon_get_file):
4985         Make getter non-reffing.
4986         
4987         * gio/test-gio.c:
4988         Update to new API
4989
4990 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4991
4992         * gio/gfileinfo.[ch]: 
4993         Add g_file_size_format_for_display helper
4994         
4995 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4996
4997         * gio/glocalfileinfo.c:
4998         Set UNIX_GID from gid, not from uid
4999
5000 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5001
5002         * gio/gfile.[ch]:
5003         Add g_file_set_attributes_async
5004
5005 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5006
5007         * gio/glocalfile.c (g_local_file_set_display_name):
5008         Fix set_display_name to actually rename to the right place.
5009         Use lstat to look for existing files so we don't overwrite
5010         broken links.
5011
5012 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5013
5014         * gio/gfile.[ch]:
5015         Add g_file_set_display_name_async()
5016
5017 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5018
5019         * gio/gfile.[ch]:
5020         Add load_partial_contents async calls
5021         
5022         * gio/glocalfile.c:
5023         Make internal function static
5024
5025 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5026
5027         * gio/glocalfileinfo.c:
5028         Correctly detect broken symlinks
5029
5030 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5031
5032         * gio/gcancellable.c (g_cancellable_cancel):
5033         Allow cancel on NULL cancellable
5034
5035 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5036
5037         * gio/gsimpleasyncresult.c:
5038         Don't allocate g_error manually.
5039         Fixes g_slice/g_new mixup crash
5040
5041 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5042
5043         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5044         Actually set active_backend.
5045         This means the monitor will be cancelled correctly.
5046
5047 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5048
5049         * gio/gdirectorymonitor.c:
5050         Set timeout to NULL when destroying
5051
5052 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5053
5054         * gio/gioerror.h:
5055         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5056         that is a better description of the error.
5057
5058 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
5059
5060         * gio/gvfs.c: (g_vfs_get_local):
5061         Make the local vfs variable static. The same instance should
5062         always be returned.
5063
5064 2007-09-24  Alexander Larsson  <alexl@redhat.com>
5065
5066         * gio/glocalfileinfo.c:
5067         Pass in actual length read into sniffer, not the length
5068         we tried to read.
5069
5070 2007-09-21  Alexander Larsson  <alexl@redhat.com>
5071
5072         * gio/gfileenumerator.c:
5073         * gio/gfileinfo.c:
5074         * gio/gfileinfo.h:
5075         * gio/gfileinputstream.c:
5076         * gio/gfileoutputstream.c:
5077         * gio/ginputstream.c:
5078         * gio/goutputstream.c:
5079         Don't crash if async callbacks are NULL
5080
5081 2007-09-20  Alexander Larsson  <alexl@redhat.com>
5082
5083         * gio/gfile.[ch]:
5084         Add async enumerate_children method and default
5085         implementation
5086
5087 2007-09-20  Alexander Larsson  <alexl@redhat.com>
5088
5089         * gio/gfile.[ch]
5090         Add g_file_contains_file & g_file_get_relative_path, since they
5091         were needed for nautilus.
5092         Renamed g_file_resolve_relative to g_file_resolve_relative_path
5093         to make it clearer.
5094         
5095         * gio/gdummyfile.c:
5096         * gio/glocalfile.c:
5097         Implement new methods
5098
5099 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5100
5101         * gio/gfile.[ch]:
5102         * gio/gfileinputstream.[ch]:
5103         * gio/gfileoutputstream.[ch]:
5104         * gio/glocalfile.c:
5105         * gio/glocalfileenumerator.[ch]:
5106         * gio/glocalfileinfo.[ch]:
5107         * gio/glocalfileinputstream.c:
5108         * gio/glocalfileoutputstream.c:
5109         * gio/gpollfilemonitor.c:
5110         * programs/gio-copy.c:
5111         * programs/gio-info.c:
5112         * programs/gio-move.c:
5113         Rename get_file_info to query_info() to make it clearer
5114         that these are not simple getters, but do i/o.
5115
5116 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5117
5118         * gio/gdatainputstream.[ch]:
5119         * gio/test-streams.c:
5120         Use _read_XXX instead of _get_XXX for the i/o calls
5121         in GDataInputStream
5122
5123 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5124
5125         * gio/gappinfo.h:
5126         Added needed stuff to TODO comment
5127
5128 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5129
5130         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5131         Don't error out removing the backup copy if it doesn't
5132         already exist.
5133
5134 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5135
5136         * programs/Makefile.am:
5137         * programs/gvfs-*.c: 
5138         * programs/gio-*.c:
5139         Renamed apps from gvfs-xxx to gio-xxx.
5140
5141 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5142
5143         * gio/gfile.c:
5144         * gio/gfileoutputstream.[ch]:
5145         * gio/glocalfileoutputstream.c:
5146         * programs/gvfs-save.c:
5147         g_file_output_stream_get_etag doesn't do i/o, so remove
5148         cancellation and error.
5149
5150 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5151
5152         * gio/gfile.[ch]:
5153         Add new_etag output to replace_contents functions
5154
5155 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5156
5157         * gio/gfileoutputstream.[ch]:
5158         Add async get_file_info and default implementation
5159
5160 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5161
5162         * gio/gfileinputstream.c:
5163         Implement fallback wrapper for async get_file_info
5164
5165 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5166
5167         * gio/gfile.[ch]:
5168         Add etag out argument to load_contents
5169         
5170         * gio/test-gio.c:
5171         Update to new API
5172
5173 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5174
5175         * gio/gcontenttype.c (looks_like_text):
5176         Whitespace like tab, cr and lf do not make the
5177         file binary.
5178
5179 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5180
5181         * gio/gfileinputstream.[ch]:
5182         Add async get_file_info.
5183
5184 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5185
5186         * gio/goutputstream.c (g_output_stream_write_all):
5187         Allow NULL for bytes_written
5188
5189 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5190
5191         * gio/gmemoryinputstream.[ch]:
5192         Add accessors for data
5193
5194 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5195
5196         * gio/gdatainputstream.c (g_data_input_stream_get_until):
5197         Don't crash if length is NULL
5198