Improve docs
[glib.git] / gio / ChangeLog
blobd33e3c16751f236b64db2bbc18d24010ef3e3cc0
1 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
3         * gfile.c: Small documentation fixes.
5 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
7         * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
9 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
11         * gvolumemonitor.c:
12         * gfile.c:
13         * gvolume.c:
14         * gmount.c: Documentation improvements.
16 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
18         * gio.symbols:
19         * gmount.[hc]: Add g_mount_guess_content_type(). 
21 2008-07-06  David Zeuthen  <davidz@redhat.com>
23         * gio.symbols:
24         * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
25         is needed for easily handling adoption of foreign volumes by
26         out-of-process volume monitors (#541793)
28 2008-07-06  David Zeuthen  <davidz@redhat.com>
30         * gvolumemonitor.[ch]:
31         * gunionvolumemonitor.c: Export the eject-button signal on the
32         volume monitor class (#541794).
34 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
36         * gappinfo.c: More doc tweaks
38 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
40         * gappinfo.c: Clarify some docs
42 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
44         * gdesktopappinfo.c: Fix a stupid mistake.
46 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
48         * === Released 2.17.3 ===
50 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
52         * gfilemonitor.c: Fix the build.
54 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
56         Bug 536160 – Add g_file_monitor()
58         * gio.symbols:
59         * gfile.[hc]: Add g_file_monitor which can return either
60         a file or a directory monitor.  Proposed by Behdad Esfahbod
62 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
64         536733 – gio build failure on Irix
66         * glocalfile.c: Use a configure check for structfs.f_bavail.
68 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
70         Bug 534639 – add g_desktop_app_info_new_from_keyfile
72         * gio.symbols:
73         * gdesktopappinfo.[hc]: Add a function to create a
74         GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
76 2008-07-02  Wouter Bolsterlee  <wbolster@svn.gnome.org>
78         * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
80 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
82         * gunixmounts.c: Fix a doc typo.
84 2008-07-01  Cody Russell  <bratsche@gnome.org>
86         * gio/gcontenttype.c:
87         * gio/gwin32appinfo.c:
88         * gio/gwin32volumemonitor.c:
89         * gio/gwin32mount.c: Fixed some include problems.
91 2008-07-01  Cody Russell  <bratsche@gnome.org>
93         * gio/gioenums.h:
94         * gio/giotypes.h:
95         Moved all relevant typedefs into these files.
97         * gio/*.[ch]:
98         Updated wrt added files.
100         Split types into separate file for easier maintainership. (#538564)
102 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
104         Bug 540331 – g_file_append_to () documentation: can return NULL
106         * gfile.c (g_file_append_to): Clarify docs.
107         Patch by Jared Moore
109 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
111         Bug 539090 – g_content_type_from_mime_type() should unalias
113         * gcontentype.c (g_content_type_from_mime_type): Unalias.
114         Patch by Markus Bergman
116 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
118         Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
119         g_atomic_pointer_get
121         * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
122         on ppc and alpha. Reported by Mart Raudsepp
124 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
126         * tests/Makefile.am: 
127         * tests/memory-output-stream.c: Add some tests for
128         GMemoryOutputStream. 
130 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
132         Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
133         0, ...)
135         * gmemoryoutputstream.c (array_resize): Handle truncation to
136         zero correctly. Reported by Akira Tagoh
138 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
140         * gmemoryoutputstream.c: Trivial doc fixes
142 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
144         Bug 540802 – g_list_prepend doesn't concat lists
146         * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
147         one list to another. Pointed out by Jan Arne Petersen
149 2008-06-28  Michael Natterer  <mitch@imendio.com>
151         * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
153 2008-06-18  Matthias Clasen <mclasen@rdhat.com>
155         * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
156         to avoid problems with partial icon themes.
157         
158 2008-06-17  Hans Breuer  <hans@breuer.org>
160         * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from 
161         gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
162         access again on win32, see bug #538127
163         * giomodule.c : ensure GWin32VolumeMonitor is registered
164         * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
165         * Makefile.am makefile.msc : updated
167 2008-06-16  Hans Breuer  <hans@breuer.org>
169         * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration 
170         and initialization in one step avoids c99ism
172 2008-06-16  Christian Persch  <chpe@gnome.org>
174         * gio/gappinfo.c
175         * gio/gbufferedinputstream.c
176         * gio/gcancellable.c
177         * gio/gdatainputstream.c
178         * gio/gdesktopappinfo.c
179         * gio/gfile.c
180         * gio/gfileenumerator.c
181         * gio/gfileinputstream.c
182         * gio/gfileoutputstream.c
183         * gio/ginputstream.c
184         * gio/glocaldirectorymonitor.c
185         * gio/glocalfile.c
186         * gio/glocalfileenumerator.c
187         * gio/glocalfileinfo.c
188         * gio/glocalfilemonitor.c
189         * gio/glocalfileoutputstream.c
190         * gio/gmemoryinputstream.c
191         * gio/gmemoryoutputstream.c
192         * gio/goutputstream.c
193         * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from 
194         bug #535947.
196 2008-06-16  Tor Lillqvist  <tml@novell.com>
198         Bug 538362 - Get Win32 icons back in the file chooser
200         * gcontenttype.c (g_content_type_get_icon): Look up the icon
201         corresponding to a file extension in the Registry. Patch by Hans
202         Breuer.
203         (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
204         
205 2008-06-16  Tor Lillqvist  <tml@novell.com>
207         Patches by Hans Breuer:
209         * glocalfile.c (is_xp_or_later): Handle compiling against older
210         SDK headers with missing VerifyVersionInfo().  Conditioned on
211         _MSC_VER, but should probably use some better test.
212         * glocalfile.c (g_local_file_query_filesystem_info): Don't test
213         uninitialised statfs_result variable on Win32.
215 2008-06-16  Michael Natterer  <mitch@imendio.com>
217         * *.c: chain up unconditionally in finalize() and dispose(). Also
218         don't dereference these function pointers when calling them since
219         that has no meaning at all.
221 2008-06-16  Ross Burton  <ross@burtonini.com>
223         * gfileenumerator.c:
224         Remove check for dispose implementation as it annoys Emmanuele.
225         
226 2008-06-16  Ross Burton  <ross@burtonini.com>
228         Bug 536252 – GFileEnumerator should allow access to the containing
229         GFile
230         
231         * gfileenumerator.c:
232         * gfileenumerator.h:
233         * gfile.h:
234         Add g_file_enumerator_get_container() and a container writeable
235         construct-only property.  Also shuffle around typedefs to make it
236         compile.
237         
238         * glocalfileenumerator.c:
239         * glocalfileenumerator.h:
240         * glocalfile.c:
241         Instead of a string filename take a GFile in the constructor and
242         use it to set the container property.
243         
244         * gio.symbols:
245         Update with new API.
247 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
249         * gfile.c: Make includes more uniform
251 2008-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
253         * tests/live-g-file.c (sample_struct):
254         Use less fancy unicode filenames, so the test doesn't fail
255         on Mac OS X (#531476).
257 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
258         
259         * === Released 2.17.2 ===
261 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
263         * === Released 2.17.1 ===
265 2008-06-11  A. Walton  <awalton@gnome.org>
267         * tests/g-file.c (test_g_file_new_null):
268         Fix broken test case.
270 2008-06-11  Matthias Clasen <mclasen@redhat.com>
272         * pltcheck.sh: We use g_clear_error now.
274 2008-06-11  Matthias Clasen <mclasen@redhat.com>
276         * glocalfile.c (g_local_file_enumerate_children): Revert
277         an unintended change.
279 2008-06-11  Matthias Clasen <mclasen@redhat.com>
281         * gfile.c (g_file_replace_contents): Don't unref before the last use.
283 2008-06-10  Matthias Clasen <mclasen@redhat.com>
285         Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
286         folder
287         
288         * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
289         as icon for the desktop directory, also make user-home and
290         user-desktop the preferred icons.
292 2008-06-10  Matthias Clasen <mclasen@redhat.com>
294         * gio.symbols:
295         * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
296         to add a name to the front of the list.
298 2008-06-10  Matthias Clasen <mclasen@redhat.com>
300         Bug 537392 – Additional colon in xattr name
302         * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
303         too. Reported by  Alessandro Morandi 
305 2008-06-10  Matthias Clasen <mclasen@redhat.com>
307         Bug 536641 – Filesystem querying in gio does not list AFS and autofs
308         file systems
310         * glocalfile.c (get_fs_type): Add afs and autofs.
311         Patch by Danny Baumann.
313 2008-06-10  Matthias Clasen <mclasen@redhat.com>
315         Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
317         * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
318         is no parent.  (Owen Taylor, patch by Christian Neumair)
319         
320 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
322         * gfile.c (g_file_replace_contents): do not leak the output stream.
324 2008-06-10  Michael Natterer  <mitch@imendio.com>
326         * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
327         uninitialized memory as array index.
329 2008-06-10  Tor Lillqvist  <tml@novell.com>
331         * gcontenttype.c (g_content_type_can_be_executable)
332         (g_content_type_get_icon) [Win32]: Add TODO comments.
334 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
336         * xdgmime/Makefile.am: Fix the build
338 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
340         * gcontenttype.c (g_content_type_get_icon): Use icons specified
341         in the shared mime database, if available.
343         * xdgmime/*: Sync with upstream. This brings support for
344         glob weights, generic icons, and changes the cache format to 
345         version 1.1.
347 2008-05-28  Michael Natterer  <mitch@imendio.com>
349         * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
350         the global CPPFLAGS now.
352         * tests/data-input-stream.c
353         * tests/data-output-stream.c
354         * tests/g-file-info.c
355         * tests/g-file.c
356         * tests/live-g-file.c
357         * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
359 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
361         * === Released 2.17.0 ===
363         * tests/live-g-file.c: Clean up after the tests, so make distcheck
364         doesn't complain about leftover files.
366 2008-05-27  simon.zheng  <simon.zheng@sun.com>
368         * glocalfile.c: (g_local_file_query_filesystem_info):
369         Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
371 2008-05-26  Michael Natterer  <mitch@imendio.com>
373         * gmemoryoutputstream.h: declare
374         g_memory_output_stream_get_data_size().
376 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
378         * tests/*: Make tests work 
380 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
382         * gio.symbols: Add g_memory_output_stream_get_data_size.
384 2008-05-25  Ross Burton  <ross@burtonini.com>
386         * glocalfile.c:
387         Fix typo in error message (#534764).
389 2008-05-25  Ross Burton  <ross@burtonini.com>
391         * Makefile.am:
392         Fix circular dependency loop for gioenumtypes.h (#534759).
394 2008-05-19  Hans Breuer  <hans@breuer.org>
396         * Makefile.am : EXTRA_DIST += makefile.msc
398 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
400         * gcontenttype.h:
401         * gcontenttype.c: (g_content_type_from_mime_type):
402         New function to create a content type from a mime type. (#527175,
403         Milan Crha)
405 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
407         Bug 532965 – Should not return filesystem::free for certain file systems
409         * glocalfile.c (g_local_file_query_filesystem_info) Don't return
410         free space for ncpfs.
412 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
414         Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
416         * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
417         st_dev might be zero.
419 2008-05-16  Tor Lillqvist  <tml@novell.com>
421         * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
422         get declaration of ReadDirectoryChangesW() from Platform SDK headers.
424 2008-05-13  Bastien Nocera  <hadess@hadess.net>
426         * gfile.c (has_valid_scheme): A URI scheme must start with a
427         letter, even if later more characters are allowed (#532852)
429 2008-05-05  Michael Natterer  <mitch@imendio.com>
431         * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
432         code from being checked in that breaks the build of applications
433         which use G_DISABLE_SINGLE_INCLUDES.
435         * makegioalias.pl: make the alias file include "glib.h" instead of
436         "glibconfig.h".
438         * gio.symbols: whitespace change to force regeneration of the
439         alias file after above script change.
441         * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
443         * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
445         * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
447         * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
449 2008-04-28  David Zeuthen  <davidz@redhat.com>
451         * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
452         displaying mounts in a subdirectory not accessible to the
453         user (#526320).
455 2008-04-22  Michael Natterer  <mitch@imendio.com>
457         * Makefile.am: fix library versioning (it was 0.0.0).
459 2008-04-21  Lin Ma  <Lin.Ma@Sun.COM>
461         * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
462         Default disable all loggings.
463         * fen/fen-kernel.c: (printevent), (port_add_kevent),
464         (port_fetch_event_cb): Fixed two macro nits.
466 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
468         * xdgmime/xdgmime.c: Rework the timestamp checking code
469         to protect against duplicate directories in XDG_DATA_DIRS.
470         Fixes fd.o bug 12513, reported by Joe Shaw.
472 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
474         Partically revert the last commit after realizing that
475         xdg_mime_media_type_equal doesn't have to init at all.
477         * xdgmime/xdgmime.h:
478         * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
480         * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
482 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
484         Avoid possible memory corruption in xdgmime, fd.o bug 12512,
485         reported by Joe Shaw and Federico Mena Quintero.
487         * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
488         (xdg_mime_media_type_equal): Turn into a wrapper around the 
489         _-prefixed version.
491         * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
492         functions throughout.
494 2008-04-16  Michael Meeks  <michael.meeks@novell.com>
496         * gdesktopappinfo.c (g_desktop_app_info_new_from_filename): 
497         tolerate an empty TryExec= line without failing; nautilus used
498         to create launchers with these in previous versions. Fixes #528433
500 2008-04-09  Padraig O'Briain  <padraig.obriain@sun.com>
502         * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
503         after name. Fixes #527132.
505 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
507         * gfile.c: (g_file_replace):
508         Doc update
510 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
512         Bug 526796 – Wrong order of arguments in g_file_copy's fallback
514         * gfile.c (file_copy_fallback): Fix the argument order. Patch
515         by Christian Kellner.
517 2008-04-04  Sebastien Bacher  <seb128@ubuntu.com>
519         * gunixmounts.c: (g_unix_mount_guess_should_display):
520         Don't list the user directory as a mount, fix potential issue
521         when other users have a similar naming and don't special case the
522         gvfs mounts there since that's not required (#525866)
524 2008-03-31  Alexander Larsson  <alexl@redhat.com>
526         * glocalfile.c (get_parent):
527         Don't leak parent.
528         
529 2008-03-31  A. Walton  <awalton@svn.gnome.org>
531         * gfile.c (g_file_query_file_type):
532         Always return a GFileType enum value (#520715).
534 2008-03-31  Alexander Larsson  <alexl@redhat.com>
536         * glocalfileenumerator.c:
537         Read readdir() info in chunks (of 1000) and sort
538         the chunks by inode before stat:ing.
539         This is a 20% performance increase in testing
540         gvfs-ls on /usr/bin with cold cache.
542 2008-03-31  Alexander Larsson  <alexl@redhat.com>
544         * gmemoryoutputstream.c:
545         Clarify docs for g_memory_output_stream_get_size.
546         Add g_memory_output_stream_get_data_size.
548 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
550         * gio.symbols:
551         * gfile.c:
552         * gfile.h: Add g_file_query_file_type convenience function
553         to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)
555 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
557         * gfileenumerator.c:
558         * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)
560 2008-03-28  A. Walton  <awalton@svn.gnome.org>
562         * giomodule.c (_g_io_modules_ensure_loaded):
563         Adds GIO_EXTRA_MODULES environment variable support, closing bug 
564         #523039.
566 2008-03-28  Alexander Larsson  <alexl@redhat.com>
568         * gfile.c:
569         (copy_stream_with_progress):
570         Fix up last commit.
571         
572 2008-03-28  Alexander Larsson  <alexl@redhat.com>
574         * gfile.c:
575         (copy_stream_with_progress):
576         (file_copy_fallback):
577         Fallback to g_file_query_info for source size
578         if g_file_input_stream_query_info fails. (#524579)
580 2008-03-28  Alexander Larsson  <alexl@redhat.com>
582         * glocalfile.c (g_local_file_move):
583         Reuse old string instead of adding new one.
585 2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>
587         * fen/*.[hc]: still copyright issue. I hate copyright.
589 2008-03-27  Alexander Larsson  <alexl@redhat.com>
591         * glocalfile.c (g_local_file_move):
592         Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
593         file over directory. This is according to the docs and what the move via
594         copy+remove fallback does.
596 2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>
598         * fen/*.[hc]: Updated copyright.
600 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
602         * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
604 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
606         * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
607         not emit attribute changed events when optimizing changed events.
608         * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
609         warning messages.
611 2008-03-19  Matthias Clasen  <mclasen@redhat.com>
613         * gmountoperation.[hc]: Small documentation additions
615 2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>
617         * gunixmounts.c: (guess_mount_type): 
618         consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
620 2008-03-19  Alexander Larsson  <alexl@redhat.com>
622         * gfile.c:
623         (copy_stream_with_progress):
624         Bump block side for copy to 64k to minimize
625         overhead for low latency links. (#523015)
627 2008-03-16  Tor Lillqvist  <tml@novell.com>
629         * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
630         depend on gio.def on Windows.
632 2008-03-12  David Zeuthen  <davidz@redhat.com>
634         * gio.symbols:
635         * gunixmounts.[ch]:
636         Add g_unix_mount_monitor_set_rate_limit() function (#521946)
638 2008-03-14  Alexander Larsson  <alexl@redhat.com>
640         * gunixmounts.c:
641         (guess_mount_type):
642         Avoid redudant tests (#521851)
643         Patch from Josselin Mouette
645 2008-03-14  Alexander Larsson  <alexl@redhat.com>
647         * gfilemonitor.c:
648         (g_file_monitor_is_cancelled):
649         Fix C89 issue (#521672)
650         Patch from Jens Granseuer
652 2008-03-14  Alexander Larsson  <alexl@redhat.com>
654         * fam/fam-helper.[ch]:
655         * fam/fam-module.c:
656         Shut down fam (including removing fam GSource) when
657         module is unloaded (#521513)
658         Patch from Joe Marcus Clarke   
660 2008-03-14  Alexander Larsson  <alexl@redhat.com>
662         * giomodule.c:
663         (_g_io_modules_ensure_loaded):
664         Fix up FEN ifdefs
666 2008-03-14  Alexander Larsson  <alexl@redhat.com>
668         * glocalfile.c:
669         (g_local_file_query_filesystem_info):
670         Use right define name for f_fstypename member check
672 2008-03-14  Alexander Larsson  <alexl@redhat.com>
674         * Makefile.am:
675         * fen/Makefile.am: Added.
676         * fen/fen-data.[ch]: Added.
677         * fen/fen-dump.[ch]: Added.
678         * fen/fen-helper.[ch]: Added.
679         * fen/fen-kernel.[ch]: Added.
680         * fen/fen-missing.[ch]: Added.
681         * fen/fen-node.[ch]: Added.
682         * fen/fen-sub.[ch]: Added.
683         * fen/gfendirectorymonitor.[ch]: Added.
684         * fen/gfenfilemonitor.[ch]: Added.
685         * giomodule.c:
686         Added Solaris FEN file notification backend.
687         Patch from Lin Ma <Lin.Ma@Sun.COM>
689 2008-03-13  Tor Lillqvist  <tml@novell.com>
691         * Makefile.am: Actually use the gio.def file when linking the
692         library on Windows. Produce .lib library for Microsoft's toolchain
693         when possible. Install the .lib and .def file like for the other
694         libraries of GLib.
696 2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>
698         * tests/live-g-file.c:
699         Include live-g-file in standard set of tests, making a temporary
700         directory in source structure.
701         
702         Clean target directory before the tests (write mode only)
704 2008-03-12  Tor Lillqvist  <tml@novell.com>
706         Bug 517419 - gio win32 directory monitor
707         Implementation by Vlad Grecescu.
708         
709         * win32/Makefile.am
710         * win32/gwin32directorymonitor.h
711         * win32/gwin32directorymonitor.c: New files.
713         * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
715         * Makefile.am: Add the win32 subdirectory.
717 2008-03-12  Tor Lillqvist  <tml@novell.com>
719         * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
720         normal struct stat on Unix but struct _stati64 on Windows to have
721         access to 64-bit file size information. Use that instead of struct
722         stat in the functions declared here in this private header.
724         * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
725         S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
726         warnings about unused functions and variables. Don't set
727         meaningless attributes like inode numbers on Windows.
729 2008-03-12  Benjamin Otte  <otte@gnome.org>
731         * gvfs.h:
732         trim whitespace so gtk-doc groks the function name
734 2008-03-12  Tor Lillqvist  <tml@novell.com>
736         * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
737         returning FALSE, on Win32.
739 2008-03-11  Alexander Larsson  <alexl@redhat.com>
741         * glocalfile.c:
742         * glocalfileinfo.[ch]:
743         Correctly implement can_trash by actually
744         looking for a trash dir, not just assuming
745         one exists.
747 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
748         
749         * === Released 2.16.1 ===
751 2008-03-11  Alexander Larsson  <alexl@redhat.com>
753         * gthemedicon.c:
754         Fix crashes in new constructor and properties code
756 2008-03-10  Murray Cumming  <murrayc@murrayc.com>
758         * gfile.c: Minor spelling correction in documentation:
759         existance -> existence.
761 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
763         * === Released 2.16.0 ===
765 2008-03-10  Matthias Clasen <mclasen@redhat.com>
767         * gio.symbols: Remove g_file_contains_file here, too.
769 2008-03-10  Matthias Clasen <mclasen@redhat.com>
771         * gthemedicon.c: Add properties to make bindings happy.  (#517676,
772         Samuel Cormier-Iijima)
774 2008-03-08  Tor Lillqvist  <tml@novell.com>
776         * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
777         winnt.h. (#521145)
779 2008-03-07  Alexander Larsson  <alexl@redhat.com>
781         * glocalfile.c:
782         (g_local_file_query_filesystem_info):
783         Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
784         Patch from Jasper Lievisse Adriaanse
786 2008-03-06  Tor Lillqvist  <tml@novell.com>
788         * gfileinfo.h: Correct milliseconds to microseconds in the doc
789         comments for the *_USEC attributes.
791 2008-03-06  Alexander Larsson  <alexl@redhat.com>
793         * gfile.c (g_file_query_exists):
794         Add g_return_val_if_fail check (#520700)
796 2008-03-06  Alexander Larsson  <alexl@redhat.com>
798         * gdesktopappinfo.c:
799         * gfilemonitor.c:
800         * gthemedicon.c:
801         * gunionvolumemonitor.c:
802         * gunixmounts.c:
803         * tests/g-file.c:
804         * tests/live-g-file.c:
805         * xdgmime/xdgmimecache.c:
806         Fix sparse warnings (#519489)
808 2008-03-05  Alexander Larsson  <alexl@redhat.com>
810         * gfilemonitor.c:
811         Make cancellation threadsafe (i.e.
812         guarantee its only done once, and always
813         done)
814         
815         * glocaldirectorymonitor.c:
816         Make sure we the monitor lives while the
817         mounts_changed callback is being called (#520484)
819 2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>
821         * gbufferedinputstream.c: Fix typo in parameter
822         documentation.
824 2008-03-04  Alexander Larsson  <alexl@redhat.com>
826         * gfile.c:
827         Remove deprecated symbols we kept for one release.
829 2008-03-04  Murray Cumming  <murrayc@murrayc.com>
831         * ginputstream.c:
832         * goutputstream.c: Tiny documentation corrections.
834 2008-03-03  Alexander Larsson  <alexl@redhat.com>
836         * gunionvolumemonitor.c:
837         * gvolumemonitor.h:
838         Fix the adopt_orphan_mount vfunc to take a
839         volume_monitor reference in an ABI compat way.
840         This change is not API compat, but the added
841         arg is not used in the only user of this vfunc, so
842         all we get is a harmless warning in gvfs (#520169)
843         
844 2008-03-01  Benjamin Otte  <otte@gnome.org>
846         * gfile.c:
847         clarify docs for g_file_delete().
849 2008-02-29  Alexander Larsson  <alexl@redhat.com>
851         * glocalfileinfo.c:
852         (get_content_type):
853         Make sure empty files get text/plain type (#518720)
855 2008-02-27  Alexander Larsson  <alexl@redhat.com>
857         * gcontenttype.c:
858         Fix type warnings
859         
860         * gunixvolume.c:
861         (g_unix_volume_mount):
862         Add missing GMountMountFlags argument
864 2008-02-26  Alexander Larsson  <alexl@redhat.com>
866         * glocalfile.c:
867         (g_local_file_delete):
868         Handle filesystems (like ntfs-3g) that return EEXIST instead
869         of ENOTEMPTY (#518816)
871 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
873         * === Released 2.15.6 ===
875 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
877         * gfile.c (g_file_find_enclosing_mount):
878         * ginputstream.c (g_input_stream_set_pending):
879         * glocalfile.c (g_local_file_find_enclosing_mount):
880         * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
881         * goutputstream.c (g_output_stream_set_pending):
883         Fixup translator comments (#518578).
885 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
887         * gfile.c (g_file_find_enclosing_mount):
888         * giomodule.c:
889         * glocalfile.c (g_local_file_find_enclosing_mount):
890         * goutputstream.c:
892         Fix a few typos in translator comments and documentation.
894 2008-02-25  Alexander Larsson  <alexl@redhat.com>
896         * gfile.c:
897         * ginputstream.c:
898         * glocalfile.c:
899         * gmount.c:
900         * goutputstream.c:
901         Add translator comments (#518578)
903 2008-02-25  Alexander Larsson  <alexl@redhat.com>
905         * gfile.c:      
906         Reintroduce g_file_contains_file, keep around for one
907         unstable release cycle to avoid crashing to many apps.
908         Make sure to delete after release.
910 2008-02-25  Alexander Larsson  <alexl@redhat.com>
912         * gfile.[ch]:
913         Remove deprecated g_file_contains_file.
915 2008-02-25  Alexander Larsson  <alexl@redhat.com>
917         * gfilemonitor.c:
918         Emit actual change signals in an idle handler.
919         This avoids reentrance and locking problems in
920         the file notification backends.
921         
922 2008-02-25  Alexander Larsson  <alexl@redhat.com>
924         * gunixmounts.c:
925         (g_unix_mount_guess_should_display):
926         Remove type guessing, instead just display
927         mounts in /media and in ~/.
929 2008-02-25  Alexander Larsson  <alexl@redhat.com>
931         * glocalfile.c:
932         Make new strings reuse old ones.
933         
934 2008-02-25  Alexander Larsson  <alexl@redhat.com>
936         * glocalfile.c:
937         Implement trashing and filesystem::readonly for win32 (#517235)
938         Patch from Yevgen Muntyan
940 2008-02-23  Matthias Clasen  <mclasen@redhat.com>
942         * gfileinfo.h: Documentation fixes.
944 2008-02-22  Alexander Larsson  <alexl@redhat.com>
946         * gcontenttype.c (g_content_type_get_icon):
947         Look at old-style gnome mime icon names too, as many
948         have not moved to the new style.
950 2008-02-21  Matthias Clasen  <mclasen@redhat.com>
952         * *.c: Correct the @include in for section docs.
954 2008-02-21  David Zeuthen  <davidz@redhat.com>
956         * glocalfileinfo.c: (_g_local_file_info_get):
957         * gcontenttype.c:
958         (g_content_type_get_icon): Implement this function by
959         moving bits from glocalfileinfo.c
960         (g_content_type_get_description): Unalias before getting
961         description (#517687)
963         * gfile.c: (g_file_class_init),
964         (g_file_query_filesystem_info_async),
965         (g_file_query_filesystem_info_finish),
966         (query_filesystem_info_data_free),
967         (query_filesystem_info_async_thread),
968         (g_file_real_query_filesystem_info_async),
969         (g_file_real_query_filesystem_info_finish):
970         * gfile.h: Implement async version of
971         g_file_query_filesystem_info()
973         * gfileinfo.h: Add new attributes for filesystem::use-preview
975         * gio.symbols: Update
977         * gthemedicon.c: (g_themed_icon_append_name):
978         * gthemedicon.h: Add new new convenience function.
980         * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
981         (get_mounts), (get_volumes), (get_connected_drives),
982         (get_volume_for_uuid), (get_mount_for_uuid),
983         (g_union_volume_monitor_init), (populate_union_monitor),
984         (g_volume_monitor_get), (_g_mount_get_for_mount_path),
985         (g_volume_monitor_adopt_orphan_mount):
986         * gvolumemonitor.c:
987         * gvolumemonitor.h: Use recursive locks so it's safe for volume
988         monitor implementations to call into the main volume monitor. Also
989         separate object initialization and volume monitor initialization
990         such that non-native volume monitors can properly adopt their
991         mounts away.
993 2008-02-21  Alexander Larsson  <alexl@redhat.com>
995         * gfile.c:
996         Fix doc typo
997         
998 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1000         * gfile.c:
1001         Add more documentation about how GFiles work (from #517086)
1003 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1005         * gfile.[ch]:
1006         * gio.symbols:
1007         Add new g_file_has_prefix that does the same as g_file_contains_file.
1008         Deprecate g_file_contains_file and add a macro that converts
1009         it to g_file_has_prefix.
1010         The reason for this change is that the contains_file() name seems to
1011         imply that this does more work than what it does, but its really only
1012         a name match (from #517086)
1013         
1014         * gdummyfile.c:
1015         * glocalfile.c:
1016         * tests/g-file.c:
1017         Update to match the above change.
1019 2008-02-20  Benjamin Otte  <otte@gnome.org>
1021         * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1022         (g_file_eject_mountable):
1023         even more cases of not returning in error path
1025 2008-02-20  Benjamin Otte  <otte@gnome.org>
1027         * gfile.c: (g_file_mount_mountable): 
1028         return from function in error path.
1030 2008-02-18  Sylvain Pasche <sylvain.pasche@gmail.com>
1032         * gfile.h:
1033          Remove trailing coma in GMountMountFlags struct
1035 2008-02-18  Alexander Larsson  <alexl@redhat.com>
1037         * glocalfile.c:
1038         * glocalfileinfo.c:
1039         * glocalfileoutputstream.c:
1040         Use g_unlink/g_rename instead of unlink/rename;
1041         do not pass raw filenames to g_set_error. (#517239)
1042         Patch from Yevgen Muntyan.
1044 2008-02-18  Alexander Larsson  <alexl@redhat.com>
1046         * glocalfile.c:
1047         * glocalfileoutputstream.c:
1048         Open files with O_BINARY on windows. (#517140)
1050 2008-02-14  Alexander Larsson  <alexl@redhat.com>
1052         * glocalfileoutputstream.c:
1053         Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1055 2008-02-14  Alexander Larsson  <alexl@redhat.com>
1057         * glocalfile.c:
1058         Copy permissions with file on copy (#514084)
1059         This is what cp does and makes sure e.g. the
1060         exec permissions are kept.
1061         Its kinda weird in that it keeps the permission bits
1062         the same while the uid and gid are different. However
1063         the new uid is the user so its not a security issue,
1064         and I've heard no complaints about cp on this issue.
1066 2008-02-13  Ryan Lortie  <desrt@desrt.ca>
1068         * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1070 2008-02-13  Alexander Larsson  <alexl@redhat.com>
1072         * inotify/inotify-path.c:
1073         Define IN_ONLYDIR if not in header (#515346)
1075 2008-02-12  Alexander Larsson  <alexl@redhat.com>
1077         * tests/live-g-file.c:
1078         C89 fixes (#515892)
1080 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1082         * === Released 2.15.5 ===
1084 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1086         * gio.symbols: Add g_mount_mount_flags_get_type.
1088 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1090         * gfileinfo.c:
1091         (g_file_info_set_attribute_mask):
1092         (g_file_attribute_matcher_matches_id):
1093         Correctly handle NULL GAttributeMatcher meaning
1094         matches nothing. (Fixes #513492)
1096 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1098         * gfile.[ch]:
1099         * gmount.[ch]:
1100         * gvolume.[ch]:
1101         Added GMountMountFlags enum and added a flags
1102         argument to all mount calls.
1103         
1104         This is an API/ABI change for future extensibility,
1105         as I think we will need at least an
1106         inhibit-autorun flag (the panel needs this).
1107         There are no flags defined yet though.
1109 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1111         * gfileinfo.h:
1112         Added new standard::description attribute.
1113         Requested by Vincent, and useful for both
1114         panel and nautilus
1116 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1118         * gdesktopappinfo.c:
1119         Minor docs cleanup
1121 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1123         * *.c: Documentation additions
1125 2008-02-10  Matthias Clasen <mclasen@redhat.com>
1127         * gappinfo.h: Formatting cleanup
1128         * gappinfo.c: Fix up docs.
1130 2008-02-09  Matthias Clasen <mclasen@redhat.com>
1132         * gunixmounts.c: Consistently use getmntent_r() and fall
1133         back to getmntent().  (#515492)
1135 2008-02-09  Matthias Clasen <mclasen@redhat.com>
1137         * gbufferedinputstream.c:
1138         * ginputstream.c:
1139         * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1141         * tests/data-input-stream.c:
1142         * tests/data-output-stream.c: Portability fixes.
1144 2008-02-08  Alexander Larsson  <alexl@redhat.com>
1146         * gio.symbols: 
1147         * gunixvolume.c:
1148         * gvolume.[ch]:
1149         Add g_volume_should_automount.
1150         Docs needed.
1152 2008-02-07  Tor Lillqvist  <tml@novell.com>
1154         * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1155         Win32, too Unix-specific.
1157 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
1159         * pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
1160         a local plt if the compiler doesn't support what we want.  Bug #514702
1162 2008-02-06  Murray Cumming,,,  <murrayc@murrayc.com>
1164         reviewed by: <delete if not using a buddy>
1166         * gfile.c:
1167         * gunixinputstream.c:
1168         * gunixoutputstream.c:
1170 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1172         * tests/Makefile.am:
1173         * tests/live-g-file.c:
1174         * tests/live-g-file.txt:
1175         New GIO testing module working over real data
1177 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1179         * glocalfileoutputstream.c (g_local_file_output_stream_close):
1180         Fallback to rename() if link() is not available
1181         (when no support on target filesystem)
1183 2008-02-06  Michael Natterer  <mitch@imendio.com>
1185         * gfileinfo.c (g_file_info_get_icon): replace
1186         "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1188 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1190         * gfile.c (g_file_create):
1191         Documentation update of error codes
1193 2008-02-06  Alexander Larsson  <alexl@redhat.com>
1195         * gdesktopappinfo.c:
1196         Update to use both mimeapps.list and
1197         defaults.list as discussed on xdg list.
1199 2008-02-06  Benjamin Otte  <otte@gnome.org>
1201         * gasyncresult.c:
1202         * gfilenamecompleter.c:
1203         Fix some typos in the documentation.
1205 2008-02-06  Alexander Larsson  <alexl@redhat.com>
1207         * glocalfile.c (g_local_file_trash):
1208         Don't succeed with trash if newly created
1209         trash dir has the wrong owner. (#514696)
1211 2008-02-05  Alexander Larsson  <alexl@redhat.com>
1213         * glocalfile.c (g_local_file_move):
1214         Don't spew warnings when destination is not
1215         a GLocalFile.
1217 2008-02-03  Hans Breuer  <hans@breuer.org>
1219         * makefile.msc : update
1221 2008-02-01  Michael Natterer  <mitch@imendio.com>
1223         * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1224         return value of xdg_mime_list_mime_parents() to a variable of the
1225         correct type.
1227 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1229         * gappinfo.c (g_app_info_launch_uris):
1230         Actually call the launch_uris method, not
1231         launch.
1233 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1235         * gdesktopappinfo.c (g_desktop_app_info_equal):
1236         Ensure appinfos with no id but same pointer value
1237         compare equal
1239 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1241         * gappinfo.c (g_app_info_launch_default_for_uri): 
1242         Don't leak appinfo.
1243         
1244 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1246         * gappinfo.[ch]:
1247         * gio.symbols:
1248         Add g_app_info_launch_default_for_uri utility
1249         function. (#513256)
1251 2008-02-01  Cosimo Cecchi  <cosimoc@svn.gnome.org>
1253         * gdesktopappinfo.c:
1254         Doc fix for g_app_info_get_default_for_uri_scheme ()
1255         Bug #513483.
1257 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1259         * gappinfo.c:
1260         Add doc comment about uris vs GFiles to
1261         g_app_info_launch()
1262         
1263         * gdesktopappinfo.c:
1264         Ensure uris passed to g_app_info_launch_uris()
1265         are not roundtriped through GFile (as that
1266         may be slightly destructive for e.g. mailto: links)
1268 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1270         * tests/data-input-stream.c:
1271         * tests/data-output-stream.c:
1272         C89 fixes from Jens Granseuer (#512849)
1274 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1276         * fam/fam-helper.c:
1277         Fix gamin/fam difference build issue. (#509419)
1279 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1281         * gappinfo.h:
1282         * gdesktopappinfo.c:
1283         Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1285 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1287         * gdesktopappinfo.c:
1288         * gdesktopappinfo.h:
1289         giomodule-priv.h include moved to .c file.
1291 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1293         * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1294         Remove unused prio/name fields.
1296 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1298         * gcontenttype.c (looks_like_text):
1299         Don't treat whitespace as control chars.
1301 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1303         * gdesktopappinfo.c:
1304         Lazily create the desktop files for appinfos created
1305         by g_app_info_create_from_commandline() when needed
1306         for mime associations. This allows run-time use
1307         of GAppInfo object without creating unnecessary
1308         files on disk.
1310 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1312         * gio.symbols:
1313         Added new symbols to gio.symbols
1315 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1317         * gfile.[ch]:
1318         Add g_file_query_default_handler utility to easily look up
1319         the GAppInfo that handles a file.
1320         
1321         * gdesktopappinfo.[ch]:
1322         * giomodule.c:
1323         Set up an extension point for g_app_info_get_default_for_uri_scheme()
1324         
1325         * gvfs.c:
1326         Remove unused function
1328 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1330         * gfileenumerator.c:
1331         Mention need to free returned value in
1332         g_file_enumerator_next_files_finish docs.
1333         Fix leak if g_file_enumerator_next_files_finish()
1334         not called.
1336 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1338         * gcontenttype.c:
1339         (_g_unix_content_type_get_parents):
1340         Use list_parents, not get_parents from xdgmime, because
1341         the later doesn't use the cache.
1342         
1343         * xdgmime/xdgmimecache.c:
1344         (_xdg_mime_cache_list_mime_parents):
1345         Don't list the same type as parent multiple times.
1347 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1349         * === Released 2.15.4 ===
1351 2008-01-28  Alexander Larsson  <alexl@redhat.com>
1353         * glocalvfs.c:
1354         Register local vfs with prio 0.
1355         
1356         * gvfs.h:
1357         Remove old name and prio class members
1359 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1361         * tests/g-file.c: Disable some tests that are failing in
1362         the absence of a http backend.
1364 2008-01-28  Alexander Larsson  <alexl@redhat.com>
1366         * giomodule.[ch]:
1367         * gio.symbols:
1368         Add registration hooks for extension points.
1369         Register the gio extension points.
1370         
1371         * fam/gfamdirectorymonitor.c:
1372         * fam/gfamfilemonitor.c:
1373         * glocaldirectorymonitor.[ch]:
1374         * glocalfilemonitor.[ch]:
1375         * gnativevolumemonitor.h:
1376         * gunionvolumemonitor.c:
1377         * gunixvolumemonitor.c:
1378         * gvfs.[ch]:
1379         * gvolumemonitor.h:
1380         * inotify/ginotifydirectorymonitor.c:
1381         * inotify/ginotifyfilemonitor.c:
1382         Use the extension points registration instead
1383         of g_type_children().
1385 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1386         
1387         * gdrive.[hc]: 
1388         * gvolume.[hc]: Document new API. 
1390         * gfile.c (g_file_copy_async): Fix docs
1392 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
1394         * gbufferedinputstream.c:
1395         * ginputstream.c:
1396         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1397         __FUNCTION__.
1398         
1399 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
1401         * glocalfile.c: Avoid trivial differences in translatable strings.
1403 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1405         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1406         build with gcc 3.4  (#509419)
1408 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1410         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1411         (#509994, Murray Cumming)
1413 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1415         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1416         * gioscheduler.c: Keep calling io jobs until they return FALSE;
1417         this allows big jobs to be executed in chunks, instead of blocking
1418         the main loop for a long time.
1420         * gsimpleasyncresult.c:
1421         * giofile.c: Adapt callers.
1423 2008-01-25  Alexander Larsson  <alexl@redhat.com>
1425         * gdesktopappinfo.c:
1426         Implement changes discussed on xdg list.
1427         Now we can add supported mimetypes by just using defaults.list
1428         We can also remove associations in defaults.list.
1430 2008-01-25  Alexander Larsson  <alexl@redhat.com>
1432         * gdesktopappinfo.c:
1433         Don't make local copy of desktop file
1434         for mimetype changes if the file already
1435         supports the new mimetype.
1437 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1439         * ginputstream.c:
1440         * goutputstream.c:
1441         * gbufferedinputstream.c:
1442         * glocalfile.c: String improvements.  (#511966, 
1443          Theppitak Karoonboonyanan)
1445 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
1447         * gioscheduler.h: Expand docs a bit.
1449 2008-01-24  Alexander Larsson  <alexl@redhat.com>
1451         * gdrive.[ch]:
1452         Add g_drive_get_identifier and
1453         g_drive_enumerate_identifiers
1455         * gvolume.[ch]:
1456         Add g_volume_get_identifier and
1457         g_volume_enumerate_identifiers
1458         
1459         * gio.symbols:
1460         Add symbols
1461         
1462         * gunixvolume.c:
1463         Implement identifiers for unix backend
1465 2008-01-24  Alexander Larsson  <alexl@redhat.com>
1467         * gfile.[ch]:
1468         * gfile.h:
1469         * gio.symbols:
1470         Add g_file_copy_async() (#511580)
1471         Based on patch from Carlos Garcia Campos
1473 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
1475         * gioscheduler.c: Some documentation additions.
1477 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1479         * gdesktopappinfo.c:
1480         (g_desktop_app_info_new):
1481         Don't leak basename.
1482         
1483 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1485         * gdesktopappinfo.c:
1486         (g_desktop_app_info_new_from_filename):
1487         Don't leak GKeyFile
1489 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1491         * glocalfileinfo.c (get_thumbnail_attributes):
1492         Fix leak of uri
1494 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1496         * glocalfile.c:
1497         (canonicalize_filename):
1498         Canonicalize paths that start with more than
1499         two slashes.
1500         
1501         * tests/g-file.c:
1502         (compare_two_files):
1503         (test_g_file_new_for_path):
1504         Test the above
1506 2008-01-22  Alexander Larsson  <alexl@redhat.com>
1508         * glocalfile.c:
1509         Allow UTF-8 in file:// parse names.
1510         
1511         * tests/Makefile.am:
1512         * tests/data-input-stream.c:
1513         * tests/data-output-stream.c:
1514         * tests/g-file-info.c:
1515         * tests/g-file.c:
1516         Added a bunch of tests from Tomas Bzatek
1518 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
1520         * === Released 2.15.3 ===
1522 2008-01-21  Alexander Larsson  <alexl@redhat.com>
1524         * gfileinputstream.[ch]:
1525         * gfileoutputstream.[ch]:
1526         * gio.symbols:
1527         Remove duplicated GSeekable functions. (#509990)
1528         Just use the g_seekable_xxx() calls instead.
1530 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
1532         * glocal*.c:
1533         * gvolumemanager.c: Whitespace cleanups.
1535         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1536         Use the right mode when creating the file.
1538 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
1540         * gfileenumerator.c:
1541         * gfileinputstream.c:
1542         * ginputstream.c:
1543         * goutputstream.c: Documentation: Fixed minor typos 
1544         and added more mentions of specific _finish() functions.
1546 2008-01-21  Alexander Larsson  <alexl@redhat.com>
1548         * inotify/Makefile.am:
1549         * inotify/inotify-helper.c:
1550         * inotify/inotify-kernel.c:
1551         * inotify/inotify-path.c:
1552         * inotify/local_inotify.h: Removed.
1553         * inotify/local_inotify_syscalls.h: Removed.
1554         Removed the included copies of the inotify
1555         headers. We now only use the <sys/inotify.h>
1556         header which exists on modern systems.
1557         This fixes problems on ARM and SH5 (#510448)
1558         but is also generally much cleaner and future
1559         safe. For instance, if other OSes add support
1560         for inotify it should "just work".
1562 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
1564         * inotify/*.c: Coding style fixes.
1565         * inotify/inotify-missing.c: Use g_timeout_add_seconds
1566         for the 1/4 Hz timer.
1568 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
1570         * gfile.c:
1571         * gfilemonitor.[hc]:
1572         * gmemoryinputstream.c:
1573         * gmemoryoutputstream.c:
1574         * gmountoperation.c:
1575         * gthemedicon.c: Documentation updates
1577 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
1579         * gfile.c: documentation: Fixed more minor 
1580         typos.
1582 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1584         * gmount.c: (g_mount_remount): documentation: 
1585         Mention g_mount_remount_finish() instead of 
1586         g_mount_unmount_finish().
1588 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1590         * gappinfo.c:
1591         * gcancellable.c:
1592         * gfile.c: Fixed some minor typos in the 
1593         documentation. 
1595 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1597         * gio/gvolumemonitor.c: 
1598         (g_volume_monitor_get_connected_drives): 
1599         (g_volume_monitor_get_volumes): 
1600         (g_volume_monitor_get_mounts): Documentation: 
1601         Clarify the ownership of the regurn GLists.
1603 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1605         * gfile.h:
1606         Add the async find_enclosing_mount version
1607         to the header file too.
1609 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1611         * gfile.c:
1612         Add async version of find_enclosing_mount
1613         with default implementation.
1615 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1617         * gfile.c:
1618         (g_file_copy):
1619         (g_file_move):
1620         Allow calls to implementation of copy and write
1621         even if the type of the file implementations is
1622         different. This can be used to implement native
1623         upload and download calls in a vfs.
1624         
1625         * glocalfile.c:
1626         (g_local_file_move):
1627         Protect against the case where move is called
1628         with one file not being local.
1629         
1630         Make sure we call the progress callback once
1631         in the native move operation so that the caller
1632         knows how many bytes were copied.
1634 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
1636         * gappinfo.c:
1637         * gdatainputstream.c:
1638         * gfile.c:
1639         * gfileoutputstream.c:
1640         * ginputstream.c:
1641         * gmount.c:
1642         * goutputstream.c:
1643         * gseekable.c:
1644         * gunixmounts.c: Corrected some typos in the documentation:
1645         occured -> occurred.
1646         its -> it's (where appropriate).
1648 2008-01-16  Alexander Larsson  <alexl@redhat.com>
1650         * gfile.[ch]:
1651         * gio.symbols:
1652         Add g_file_query_exists (#508771)
1654 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
1656         * gdrive.c:
1657         * gfile.c:
1658         * gmount.c:
1659         * gvolume.c: For async functions that have no non-async 
1660         version, document that the GAsyncReadyCallback may be NULL.
1661         Bug #509626.
1663 2008-01-15  Alexander Larsson  <alexl@redhat.com>
1665         * gmemoryinputstream.c:
1666         * gmemoryoutputstream.c:
1667         Don't do pointer arithmetic on void * (#508602)
1668         Patch from Kazuki IWAMOTO
1670 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
1672         * === Released 2.15.2 ===
1674 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1676         * gfile.c (g_file_monitor_file):
1677         Don't set error here, since we fallback to polling monitor.
1679 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1681         * gfile.[ch]:
1682         (g_file_monitor_directory):
1683         (g_file_monitor_file):
1684         Add GError to file monitor calls
1685         
1686         * glocaldirectorymonitor.c:
1687         * glocaldirectorymonitor.h:
1688         * glocalfile.c:
1689         * glocalfilemonitor.c:
1690         * glocalfilemonitor.h:
1691         * gunixmounts.c:
1692         Update for above change
1694 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1696         * glocalfile.c:
1697         (match_prefix):
1698         Handle root correctly in g_file_get_relative_path (#508719)
1700 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1702         * gasyncresult.c:
1703         Clean up docs and example for GAsyncResult (#508074)
1705 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
1707         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
1708         and correct some spelling mistakes. Bug #508108.
1710 2008-01-11  Matthias Clasen <mclasen@redhat.com>
1712         * glocalfileinfo.c: Add a comment.
1714 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
1716         * gfileinfo.c: GFileInfo description: Mention 
1717         how to actually set attributes in a GFile and how to discover 
1718         which attributes are settable. Bug #508378.
1720 2008-01-10  A. Walton  <awalton@svn.gnome.org>
1722         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1723         (g_app_info_get_default_for_type):
1724         Check for NULL content types.
1726 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
1728         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1730 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
1732         * gfile.c: *_async() functions: Several small corrections 
1733         to the documentation, mostly correcting copy/paste errors 
1734         and improving some sentences.
1736 2008-01-09  Dan Winship  <danw@gnome.org>
1738         * glocalfile.c (get_unique_filename): x86_64 fix
1740 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1742         * gio.symbols:
1743         * gunixmount.c:
1744         * gunixmounts.[ch]:
1745         Add g_unix_mount_guess_should_display and use
1746         for unix volume monitor backend.
1747         This means we more or less show what the
1748         gnome-vfs backend did.
1749         Based on patch from Padraig O'Briain
1751 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1753         * gio.symbols:
1754         * gthemedicon.[ch]:
1755         Add g_themed_icon_new_with_default_fallbacks
1756         
1757         * gunixmounts.c:
1758         Use default fallbacks for icons
1760 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1762         * gio-marshal.list:
1763         * gmountoperation.[ch]:
1764         Change the API a bit so that unhandled methods
1765         get reported via the reply, rather than by
1766         the signal emission return value. This is because
1767         some handlers can't know this immediately without
1768         doing I/O, and this is an async operation that
1769         should not block.
1771 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1773         * fam/fam-helper.c:
1774         * fam/gfamdirectorymonitor.c:
1775         * fam/gfamfilemonitor.c:
1776         Fix double free crash (#508224)
1777         Patch from Joe Marcus Clarke
1779 008-01-07  Matthias Clasen  <mclasen@redhat.com>
1781         * === Released 2.15.1 ===
1783 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1785         * gunixinputstream.c (g_unix_input_stream_skip_finish):
1786         Fix warning (#507835)
1788 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1790         * Makefile.am:
1791         Pass --internal to glib-genmarshal
1792         
1793         * gfilemonitor.c:
1794         * gmountoperation.c:
1795         * gio-marshal.list:
1796         Use better types for signal arguments (#507822)
1798 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1800         * Makefile.am:
1801         Build test subdir after .
1802         Remove gdirectorymonitor.[ch]
1803         
1804         * gdirectorymonitor.[ch]:
1805         * gfilemonitor.c:
1806         * gfile.[ch]:
1807         * gio.h:
1808         Remove GDirectoryMonitor and make
1809         GFileMonitor the baseclass for both file and
1810         directory monitors. Lift the more generic
1811         rate limiting code from GDirectoryMonitor
1812         into GFileMonitor.
1813         
1814         * fam/fam-helper.c:
1815         * fam/gfamdirectorymonitor.[ch]:
1816         * inotify/ginotifydirectorymonitor.[ch]:
1817         * inotify/inotify-helper.c:
1818         * glocaldirectorymonitor.[ch]:
1819         * glocalfile.c:
1820         * gvolumemonitor.c:
1821         Update for the removed GDirectoryMonitor.
1822         
1823         * gmemoryoutputstream.c:
1824         Remove ununsed variable
1826 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1828         * gmemoryinputstream.c:
1829         Translate error strings
1830         
1831         * gio.symbols:
1832         * gmemoryoutputstream.[ch]:
1833         New implementation that avoids using GByteArray
1834         in implementation and API. (#506377)
1836 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1838         * tests/*: Add a test for memory input streams.
1839         
1840         * Makefile.am: Add tests to SUBDIRS.
1842 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1844         * glocalfilemonitor.c:
1845         * glocaldirectorymonitor.c: Mark property nicks and blurbs
1846         for translation.
1848 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1850         * gdesktopappinfo.c: Fix a docs typo.
1852         * gfileattribute.c: Add information about extended attributes
1853         to the documentation.  (#505058)
1855 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1857         * gio-marshal.list:
1858         * gmountoperation.c:
1859         Use the right type (uint) for the ask_password signal.
1861 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1863         * gappinfo.[ch]:
1864         * gwin32appinfo.c:
1865         * gio.symbols:
1866         Add g_app_info_supports_files() 
1867         Remove desktop arg from g_app_info_should_show().
1868         
1869         * gdesktopappinfo.[ch]:
1870         Implement g_app_info_supports_files() and new should_show()
1871         Add g_desktop_app_info_set_desktop_env() to set the desktop
1872         for should_show(). (This will be set by gtk+ later)
1874 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1876         * gio.symbols:
1877         * gmemoryinputstream.[ch]:
1878         Improve API so that you can use multiple chunks
1879         of memory and custom destroy functions. (#506374)
1881 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1883         * gfileinfo.c:
1884         Handle NULL attribute matchers safely, as we return this
1885         for empty attribute matcher strings.
1887 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1889         * gunixmounts.c (g_unix_is_mount_path_system_internal):
1890         Add /usr/local to list of internal mountpoints
1892 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1894         * glocalfileinfo.c:
1895         Check for HAVE_LCHOWN (#505887)
1896         
1897 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1899         * gfileinfo.h:
1900         * glocalfileinfo.c:
1901         Add define for selinux context attribute.
1902         Fix missing : -> :: namespace separator change
1903         Fix missing _ -> - name change for xattr-sys.
1904         (#505058)
1906 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1908         * fam/Makefile.am:
1909         Link to libglib and libgobject directly (#504879)
1910         Patch from Sebastien Bacher
1912 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1914         * gfile.c: Expanded the g_file_new_for_commandline_arg
1915         description a bit, based on the code and the docs of the
1916         other g_file_new_for_* functions.
1918 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1920         * gfilemonitor.h: Fixed typo in docs.
1922 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
1924         Updates to GIO documentation. (#506395, Mikael Hermansson)
1926         * gcontenttype.c: Describe memory management for return value of
1927         g_content_types_get_registered(). Missing piece from #505815.
1928         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1929         GVolume, GDrive, GMounts, which hopefully gives the user less
1930         confusions when using this API. Following explainations from
1931         Alexander Larsson on gtk-devel-list.
1933 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1935         * gfileinfo.c: Expand the long description.
1937 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1939         * fam/Makefile.am:
1940         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1941         fix builds with --disable-visibility.  (#500273, Christian Persch)
1943 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1945         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1946         in the list of returned app infos.
1948 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1950         * gappinfo.c: Fix a cross-reference
1952 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1954         * gfileinputstream.c:
1955         * gfileoutputstream.c:
1956         * gloadableicon.h:
1957         * gunixmounts.c:
1958         * gmount.h:
1959         * gdesktopappinfo.c:
1960         * gvolumemonitor.c: 
1961         * gfileinfo.c: Documentation updates.
1963 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
1965         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
1966         Tommi Komulainen)
1968 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
1970         * gcontenttype.c (g_content_types_get_registered): Don't return
1971         freed memory (#505815, Mikael Hermansson)
1973 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
1975         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1976         used to detect statbuf->st_blocks. (#505042)
1978 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1980         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1981         environment handling.  (#504829, Cosimo Cecchi)
1983 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
1985         * gappinfo.c: Doc improvements
1986         
1987         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1988         not ids.
1990 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
1992         * === Released 2.15.0 ===
1994 2007-12-20  Hans Breuer  <hans@breuer.org>
1996         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
1997         with symbols gwin32appinfo.obj, added gmount.obj
1998         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2000 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2002         * gfile.c:
2003         * gfileattribute.c:
2004         * gfileinfo.c:
2005         * gfileinfo.h:
2006         * gfilenamecompleter.c:
2007         * glocalfile.c:
2008         * glocalfileinfo.c:
2009         * gpollfilemonitor.c:
2010         File attribute renames:
2011         std:: -> standard::
2012         fs:: -> filesystem::
2013         id::fs -> id::filesystem
2014         
2015 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2017         * gfile.[ch]:
2018         * gdrive.[ch]:
2019         * gmount.[ch]:
2020         * gvolume.[ch]:
2021         * gunixmount.c:
2022         * gunixvolume.c:
2023         * gio.symbols:
2024         Add GMountUnmountFlags to all unmount and
2025         eject calls.
2026         Add g_mount_remount() call.
2028 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2030         * gvfs.c (get_default_vfs):
2031         Fix unused variable warning
2033 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2035         * pltcheck.sh: Update
2037 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2039         * gunionvolumemonitor.c:
2040         * gunixmount.c: Remove C99 comments
2042 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2044         * gio.symbols: Add some missing symbols
2046 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2048         * giomodule.c:
2049         Make g_io_modules_load_all_in_directory not unuse
2050         loaded modules so that users of it can do stuff
2051         before unloading.
2052         Init internal "module" types.
2053         Initialize static prio and name for types so that
2054         we don't have to load modules to get it.
2055         
2056         * gnativevolumemonitor.h:
2057         * gvolumemonitor.h:
2058         Move is_supported to parent class so that
2059         non-native monitors can avoid being initialized
2060         too. (For instance GDaemonVolumeMonitor if we're
2061         not using GDaemonVfs.)
2062         
2063         * glocaldirectorymonitor.[ch]:
2064         * glocalfilemonitor.[ch]:
2065         * gunionvolumemonitor.c:
2066         * gunixvolumemonitor.c:
2067         * gvfs.c:
2068         Find plugins using the static prio+name to
2069         avoid unnecessarily loading the modules.
2071 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2073         * giomodule.c:
2074         Remove warnings
2076 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2078         * gunionvolumemonitor.c:
2079         Store the native type as GType, not class so that
2080         we can unload it. But still avoid unnecessarily
2081         unload modules.
2083 2007-12-19  David Zeuthen  <davidz@redhat.com>
2085         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2086         add signals 'disconnected' and 'eject-button' on GDrive. Add
2087         signal 'removed' on GVolume and 'unmounted' on GMount.
2089         * gdrive.c: (g_drive_base_init):
2090         * gdrive.h:
2091         * gfile.c: (g_file_mount_mountable),
2092         (g_file_mount_enclosing_volume):
2093         * gio.symbols:
2094         * gioerror.h:
2095         * gmount.c: (g_mount_base_init):
2096         * gmount.h:
2097         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2098         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2099         * gvolume.c: (g_volume_base_init), (g_volume_mount):
2100         * gvolume.h:
2101         * gvolumemonitor.h:
2103 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2105         * *.c: Fix up includes in the section docs.
2107 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2109         * gnativevolumemonitor.h:
2110         * gunionvolumemonitor.c:
2111         * gunixvolumemonitor.c:
2112         Add is_supported() to GNativeVolumeMonitorClass so
2113         that we can avoid having to create an object to see
2114         if the backend is supported at runtime.
2115         Also add name member and an env var to pick a specific
2116         volume monitor backend.
2117         
2118         * gmountprivate.h:
2119         * glocalfile.c:
2120         Add cancellable to _g_mount_get_for_mount_path()
2121         
2122         * glocaldirectorymonitor.c:
2123         * glocalfilemonitor.c:
2124         Avoid loading and unloading modules while sorting.
2126 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2128         * gio.symbols:
2129         * gunixmounts.[hc]: Namespace waste reduction, move some
2130         g_get_unix_mount functions to the g_unix_mount namespace.
2132         * gunixmounts.c:
2133         * gunixvolumemonitor.c:
2134         * glocalfile.c:
2135         * glocaldirectorymonitor.c: Update all callers.
2137         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2139 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2141         * gfile.c:
2142         Add doc comments about what GFile operations are
2143         guaranteed to not block.
2145 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2147         * gunixmounts.c:
2148         Add missing #ifdef fixing OSX build.
2149         (#503334, patch from Richard Hult)
2151 2007-12-14  David Zeuthen  <davidz@redhat.com>
2153         * Makefile.am:
2154         * gio.symbols:
2155         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2156         (g_mount_eject), (g_mount_eject_finish):
2157         * gmount.h:
2158         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2159         (get_volume_for_uuid), (get_mount_for_uuid),
2160         (g_union_volume_monitor_class_init),
2161         (get_default_native_type_with_exclude), (get_default_native_type),
2162         (get_native_type), (update_native_type),
2163         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2164         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2165         (g_unix_mount_can_eject), (eject_unmount_cb),
2166         (eject_unmount_read_error), (eject_unmount_do),
2167         (g_unix_mount_unmount), (g_unix_mount_eject),
2168         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2169         * gunixmounts.c: (g_unix_mount_guess_can_eject),
2170         (g_unix_mount_point_guess_can_eject):
2171         * gunixmounts.h:
2172         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2173         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2174         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2175         (g_unix_volume_mount), (g_unix_volume_eject),
2176         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2177         * gunixvolumemonitor.c: (get_volume_for_uuid),
2178         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2179         (update_mounts):
2180         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2181         (g_volume_eject), (g_volume_eject_finish):
2182         * gvolume.h:
2183         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2184         (g_volume_monitor_get_mount_for_uuid):
2185         * gvolumemonitor.h:
2187         Provide eject() on both GMount and GVolume and utility functions
2188         to guess whether a GUnixMountPoint or GUnixMountEntry should be
2189         ejected. Introduce the concept of UUID's and wire it into GVolume
2190         and GMount and provide API on GVolumeMonitor to find such
2191         instances. Also handle the case where an external
2192         GNativeVolumeMonitor fails to initialize. Lock around the
2193         _g_get_mount_for_mount_path() function such that volume monitor
2194         implementations won't have to do locking themselves.
2196 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2198         * gdesktopappinfo.c:
2199         * gunixmounts.c:
2200         * gfileinfo.c:
2201         * gvolumemonitor.c:
2202         * gfile.h:
2203         * gioscheduler.c:
2204         * gvolume.h: Documentation updates
2206 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2208         * gunixmounts.c:
2209         * gfile.h: Doc updates
2211 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2213         * gcontenttype.c:
2214         * gdesktopappinfo.c: Use hash table iterators.
2216 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2218         * Makefile.am:
2219         * gfileattribute.[ch]:
2220         * gfileattribute-priv.h:
2221         Move GFileAttributeValue to a private header, as
2222         its sort of ugly.
2223         
2224         * gfile.[ch]:
2225         Make set_attribute take a type + a pointer instead
2226         of a GFileAttributeValue.
2227         
2228         * gfileinfo.[ch]:
2229         Fix up for above changes.
2230         Add g_file_info_get_attribute_data to get
2231         all info in one call, g_file_info_get_attribute_status
2232         to get the status and g_file_info_get_attribute_as_string.
2233         
2234         * gio.symbols:
2235         * glocalfile.c:
2236         * glocalfileinfo.[ch]:
2237         Update for changes
2238         
2239         * gunixmounts.c:
2240         Make _guess_type static.
2242 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
2244         * Makefile.am:
2245         * inotify/Makefile.am: Fixed build when srcdir != builddir,
2246         made mkenums and friends use temporary files to avoid leaving
2247         empty generated files on failure (#503470).
2249 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2251         * gmountoperation.h:
2252         Fix AKS -> ASK typo
2254 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2256         * gappinfo.h:
2257         * gfile.[ch]:
2258         * gfileattribute.[ch]:
2259         * gio.symbols:
2260         * glocalfile.c:
2261         * glocalfileoutputstream.c:
2262         * gmountoperation.[ch]:
2263         * goutputstream.[ch]:
2264         Clean up all flags enums to not have _FLAGS in them
2265         Make the names of some of the enums better.
2267         * glocalfileinfo.c:
2268         Fix warning
2269         
2270 2007-12-14  Michael Natterer  <mitch@imendio.com>
2272         * gio.symbols: fix g_io_scheduler symbol names.
2274 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2276         * Makefile.am:
2277         * fam/Makefile.am:
2278         * gappinfo.h:
2279         * gasyncresult.h:
2280         * gbufferedinputstream.h:
2281         * gbufferedoutputstream.h:
2282         * gcancellable.h:
2283         * gcontenttype.h:
2284         * gdatainputstream.h:
2285         * gdataoutputstream.h:
2286         * gdesktopappinfo.h:
2287         * gdirectorymonitor.h:
2288         * gdrive.h:
2289         * gfile.h:
2290         * gfileattribute.h:
2291         * gfileenumerator.h:
2292         * gfileicon.h:
2293         * gfileinfo.h:
2294         * gfileinputstream.h:
2295         * gfilemonitor.h:
2296         * gfilenamecompleter.h:
2297         * gfileoutputstream.h:
2298         * gfilterinputstream.h:
2299         * gfilteroutputstream.h:
2300         * gicon.h:
2301         * ginputstream.h:
2302         * gio.h:
2303         * gioerror.h:
2304         * giomodule.h:
2305         * gioscheduler.h:
2306         * gloadableicon.h:
2307         * gmemoryinputstream.h:
2308         * gmemoryoutputstream.h:
2309         * gmount.h:
2310         * gmountoperation.h:
2311         * goutputstream.h:
2312         * gseekable.h:
2313         * gsimpleasyncresult.h:
2314         * gthemedicon.h:
2315         * gunixinputstream.h:
2316         * gunixmounts.h:
2317         * gunixoutputstream.h:
2318         * gvfs.h:
2319         * gvolume.h:
2320         * gvolumemonitor.h:
2321         * inotify/Makefile.am:
2322         Only allow including <gio/gio.h> from apps
2324 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2326         * gioscheduler.[ch]:
2327         * gsimpleasyncresult.c:
2328         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2329         Split out the send_to_mainloop call into two versions instead
2330         of having the block argument.
2332 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2334         * gcancellable.[ch]:
2335         * gio.symbols:
2336         * gbufferedinputstream.c:
2337         * gfileenumerator.c:
2338         * gfileinputstream.c:
2339         * gfileoutputstream.c:
2340         * ginputstream.c:
2341         * gioscheduler.c:
2342         * goutputstream.c:
2343         g_push/pop_current_cancellable ->
2344         g_cancellable_push/pop_current
2346 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2348         * gfile.[ch]:
2349         * gio.symbols:
2350         Rename g_mount_for_location to g_file_mount_enclosing_volume.
2352 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2354         * gmountoperation.h:
2355         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2357 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2359         * gioscheduler.c:
2360         Fix race condition when freeing proxy in
2361         g_io_job_send_to_mainloop().
2363 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2365         * gfileattribute.c:
2366         * gfileinfo.[ch]:
2367         * glocalfile.c:
2368         * glocalfileinfo.c:
2369         Make attribute namespace separator "::" instead of ":".
2370         Use - instead of _ as separator in attribute names.
2372 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2374         * gbufferedinputstream.h:
2375         * gbufferedoutputstream.h:
2376         * gdatainputstream.h:
2377         * gdataoutputstream.h:
2378         * gdirectorymonitor.h:
2379         * gfileenumerator.h:
2380         * gfileinputstream.h:
2381         * gfilemonitor.h:
2382         * gfileoutputstream.h:
2383         * gfilterinputstream.h:
2384         * gfilteroutputstream.h:
2385         * ginputstream.h:
2386         * glocalfileinputstream.h:
2387         * glocalfileoutputstream.h:
2388         * gmemoryinputstream.h:
2389         * gmemoryoutputstream.h:
2390         * gnativevolumemonitor.h:
2391         * goutputstream.h:
2392         * gunixinputstream.h:
2393         * gunixoutputstream.h:
2394         * gvfs.h:
2395         * gvolumemonitor.h:
2396         s/parent/parent_instance/ in GObjects
2398 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2400         * gdrive.h:
2401         * gmount.h:
2402         * gvolume.h:
2403         No need for padding for interfaces
2404         
2405 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2407         * gappinfo.[ch]:
2408         * gasyncresult.c:
2409         * gbufferedinputstream.c:
2410         * gbufferedoutputstream.c:
2411         * gcancellable.c:
2412         * gcontenttype.c:
2413         * gdatainputstream.[ch]:
2414         * gdesktopappinfo.c:
2415         * gdirectorymonitor.c:
2416         * gfile.[ch]:
2417         * gfileattribute.[ch]:
2418         * gfileicon.[ch]:
2419         * gfileinfo.h:
2420         * gfileinputstream.h:
2421         * gfilemonitor.[ch]:
2422         * gfileoutputstream.[ch]:
2423         * gfilterinputstream.h:
2424         * gfilteroutputstream.h:
2425         * gicon.h:
2426         * gioscheduler.c:
2427         * gloadableicon.[ch]:
2428         * gmemoryinputstream.c:
2429         * gmountoperation.c:
2430         * gthemedicon.c:
2431         Fix up a bunch of details in the docs.
2433         * glocalfileinfo.c:
2434         CR/LF -> LF fixups
2435         
2436 2007-12-11  David Zeuthen  <davidz@redhat.com>
2438         Rework how volumes, drives and volume monitoring is
2439         done. Previosly the model was
2441          GDrive <1-1> GVolume
2443         where a GDrive instance represented a mount point and a GVolume
2444         instance represented a mounted file system. This patch changes it
2445         the model to
2447                 GDrive <1-N> GVolume <1-1> GMount
2449         where GMount now serves the purpose of the old GVolume and the new
2450         GVolume serves the purpose of the old GDrive. In addition the new
2451         GDrive interface is used to represent a collection of GVolume
2452         instances (typically partitions) and also contains utility to query
2453         the state of the physical drive the GDrive object represents (such
2454         as checking for media, polling the drive, ejecting the media etc.).
2456         Also implement mounting and unmounting in the Unix volume monitor
2457         backend. A subquent patch will introduce GDrive support for ejection
2458         of media.
2460         * Makefile.am:
2461         * gdrive.c: (g_drive_is_media_check_automatic),
2462         (g_drive_is_media_removable), (g_drive_has_media),
2463         (g_drive_can_poll_for_media), (g_drive_eject),
2464         (g_drive_eject_finish), (g_drive_poll_for_media),
2465         (g_drive_poll_for_media_finish):
2466         * gdrive.h:
2467         * gfile.c: (g_file_find_enclosing_mount):
2468         * gfile.h:
2469         * gio.symbols:
2470         * glocaldirectorymonitor.c:
2471         (g_local_directory_monitor_constructor), (mounts_changed):
2472         * glocalfile.c: (get_mount_info),
2473         (g_local_file_find_enclosing_mount),
2474         (g_local_file_file_iface_init):
2475         * gnativevolumemonitor.h:
2476         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2477         (get_connected_drives), (g_union_volume_monitor_class_init),
2478         (child_volume_added), (child_volume_removed),
2479         (child_volume_changed), (child_mount_added), (child_mount_removed),
2480         (child_mount_pre_unmount), (child_mount_changed),
2481         (child_drive_changed), (g_union_volume_monitor_add_monitor),
2482         (g_union_volume_monitor_remove_monitor),
2483         (_g_mount_get_for_mount_path):
2484         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2485         (guess_system_internal), (_g_get_unix_mounts),
2486         (_g_get_unix_mount_points), (g_get_unix_mount_at),
2487         (g_unix_mount_free), (g_unix_mount_compare),
2488         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2489         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2490         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2491         (type_to_icon), (g_unix_mount_guess_name),
2492         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2493         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2494         (_resolve_symlink), (_resolve_dev_root):
2495         * gunixmounts.h:
2496         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2497         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2498         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2499         (g_unix_volume_get_name), (g_unix_volume_can_mount),
2500         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2501         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2502         (g_unix_volume_mount), (g_unix_volume_mount_finish),
2503         (g_unix_volume_volume_iface_init):
2504         * gunixvolume.h:
2505         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2506         (get_mounts), (get_volumes), (get_connected_drives),
2507         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2508         (mountpoints_changed), (mounts_changed),
2509         (g_unix_volume_monitor_init),
2510         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2511         (find_mount_by_mountpath), (update_volumes), (update_mounts):
2512         * gunixvolumemonitor.h:
2513         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2514         (g_volume_mount), (g_volume_mount_finish):
2515         * gvolume.h:
2516         * gvolumemonitor.c: (g_volume_monitor_class_init),
2517         (g_volume_monitor_get_connected_drives),
2518         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2519         * gvolumemonitor.h:
2521 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2523         * gmountoperation.h (GPasswordFlags): Close the gap
2525 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2527         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2528         * gio.symbols:
2529         * gdesktopappinfo.[hc]: Remove _-prefixes
2531 2007-12-10  Tor Lillqvist  <tml@novell.com>
2533         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2534         gcc warnings.
2536 2007-12-10  Alexander Larsson  <alexl@redhat.com>
2538         * gfile.c (g_file_set_display_name):
2539         Don't hardcode '/' (#502727)
2541 2007-12-09  Hans Breuer  <hans@breuer.org>
2543         * makefile.msc : follow lib naming convention
2544         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2545         for user and group name, tested with ../tests/gio-ls
2547 2007-12-09  A. Walton  <awalton@svn.gnome.org>
2549         * gdesktopappinfo.c:
2550         * gdrive.c:
2551         * gdrive.h:
2552         * gfile.c:
2553         * gfile.h:
2554         * gfileattribute.c:
2555         * gfileenumerator.c:
2556         * gioerror.c:
2557         * gioscheduler.c:
2558         * gioscheduler.h:
2559         * gloadableicon.c:
2560         * gmemoryinputstream.c:
2561         * gmemoryoutputstream.c:
2562         * goutputstream.h:
2563         * gsimpleasyncresult.c:
2564         More documentation cleanup and filling in missing information, bringing
2565         GIO to 99% symbol coverage.
2567 2007-12-08  Hans Breuer  <hans@breuer.org>
2569         [gio compiles and links on win32, not sure how much already works]
2570         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2571         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
2572         base on win32 API; prefer g_lstat() over lstat(); instead of 
2573         localtime_r() use an all GLib implementation on win32;
2574         get_mount_info() still needs a win32 specifc implementation
2575         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
2576         win32_get_file_user_info to get owner/group info without uid/gid
2577         * glocalfileinputstream.c : include <io.h> on win32
2578         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2579         definition, use g_win32_ftruncate() for G_OS_WIN32
2580         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2581         it is available with mingw/w32api but a mess with the M$ Platform SDKs
2582         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2583         * makefile.msc : updated
2585 2007-12-07  Alexander Larsson  <alexl@redhat.com>
2587         * glocalfileenumerator.c (_g_local_file_enumerator_new):
2588         Avoid warning spew if error == NULL
2589         
2590 2007-12-07  Alexander Larsson  <alexl@redhat.com>
2592         * gfile.c:
2593         Update docs wrt etags
2595 2007-12-06  Alexander Larsson  <alexl@redhat.com>
2597         * glocalfileinfo.h:
2598         Include sys/types.h for dev_t (#501919)
2600 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
2602         * gio.symbols:
2603         * pltcheck.sh:
2604         Make abicheck and pltcheck pass.
2606 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2608         * Makefile.am:
2609         * giomodule-priv.h: Added.
2610         * glocaldirectorymonitor.c:
2611         * glocalfilemonitor.c:
2612         * gunionvolumemonitor.c:
2613         * gvfs.c:
2614         Actually add the declaration of _g_io_modules_ensure_loaded
2616 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2618         * gdatainputstream.c:
2619         Fix warnings
2620         
2621         * gio.symbols:
2622         * giomodule.[ch]
2623         * glocaldirectorymonitor.c:
2624         * glocalfilemonitor.c:
2625         * gunionvolumemonitor.c:
2626         * gvfs.c:
2627         Make g_io_modules_ensure_loaded a private function and
2628         don't pass in the dirname. This means we can do magic
2629         directory finding in the win32 version.
2630         Export the actual load-modules-in-directory code so that
2631         gvfs can reuse that.
2633 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2635         * gbufferedinputstream.c:
2636         * gbufferedoutputstream.c:
2637         * gdrive.[ch]:
2638         * gfile.[ch]:
2639         * gfileenumerator.[ch]:
2640         * gfileinputstream.c:
2641         * gfileoutputstream.[ch]:
2642         * gfilterinputstream.c:
2643         * gfilteroutputstream.c:
2644         * ginputstream.[ch]:
2645         * glocalfile.c:
2646         * glocalfileenumerator.c:
2647         * glocalfileinputstream.c:
2648         * glocalfileoutputstream.c:
2649         * gmemoryinputstream.c:
2650         * gmemoryoutputstream.c:
2651         * goutputstream.[ch]:
2652         * gseekable.[ch]:
2653         * gunixdrive.c:
2654         * gunixinputstream.c:
2655         * gunixoutputstream.c:
2656         Rename all struct members named:
2657         read, write, close, truncate, or mount
2658         to foo_fn, as these are reserved names
2659         and could be defined as macros in libc.
2660         (#501645)
2662 2007-12-04  Alexander Larsson  <alexl@redhat.com>
2664         * goutputstream.c:
2665         (g_output_stream_close):
2666         Only call flush if non-null.
2668 2007-11-30  Dan Winship  <danw@gnome.org>
2670         * ginputstream.c (g_input_stream_set_pending): Make this take a
2671         GError and return a gboolean, and do the "outstanding operation"
2672         check (and the "stream is already closed" check) itself.
2673         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2675         * goutputstream.c (g_output_stream_set_pending)
2676         (g_output_stream_clear_pending): Likewise
2678         * gbufferedinputstream.c: 
2679         * gfileinputstream.c: 
2680         * gfileoutputstream.c: Update for that
2682         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2683         Like g_simple_async_report_error_in_idle, but takes a GError
2684         rather than building one.
2686 2007-11-30  Dan Winship  <danw@gnome.org>
2688         * goutputstream.c: Don't cheat and unset the "pending" flag around
2689         inner calls. Instead, call the class method directly rather than
2690         the wrapper function that checks "pending"
2692 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
2694         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2696 2007-12-03  Hans Breuer  <hans@breuer.org>
2698         [start of port to win32/msvc]
2699         * gcancellable.c : HAVE_UNIST_H and _pipe()
2700         * gcontenttype.c : only include <dirent.h> in the UNIX branch
2701         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2702         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
2703         HAVE_UNIST_H
2704         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2705         * glocalvfs.c : use HAVE_PWD_H
2706         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2707         * makefile.msc : new file (maybe later converted to makefile.msc.in)
2708         * Makefile.am : added to EXTRA_DIST
2710 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
2712         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2713         (#499783)
2715 2007-12-03  Alexander Larsson  <alexl@redhat.com>
2717         * glocalfileinfo.c:
2718         Handle OSX style xattrs API (#500506)
2720 2007-12-03  Alexander Larsson  <alexl@redhat.com>
2722         * gfile.[ch]:
2723         * glocalfile.c:
2724         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2726 2007-12-02  A. Walton  <awalton@svn.gnome.org>
2728         * gfile.c:
2729         * gfileattribute.c:
2730         Documentation accuracy fixes.
2732 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
2734         * gioenumtypes.c.template: Fix typo.
2736 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2738         * gioenumtypes.c.template: Make threadsafe get_type() functions.
2740 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2742         * gdirectorymonitor.c:
2743         * gfilemonitor.c: Add properties
2745         * gbufferedoutputstream.c: Don't mark buffer-size property 
2746         as construct-only.
2748 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2750         * gbufferedoutputstream.c: Add auto-grow property.
2752 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2754         * *.c: Unify the capitalization of section headings.
2756 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2758         * gmountoperation.c: Add properties
2759         
2760         * gdatainputstream.c: Turn byte-order and newline-type into
2761         properties.
2763 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2765         * gioenumtypes.[hc].template: Templates for enum registration
2767         * Makefile.am: Generate gioenumtypes.[hc]
2769         * gio.h: Include gioenumtypes.h
2770         * gappinfo.h:
2771         * gfile.h: Add some explicit nicks.
2773         * gio.symbols: Add new symbols
2775         * pltcheck.sh: Adjust
2777 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2779         * *.c: Explain etags and link to the explanation
2781 2007-11-29  Matthias Clasen <mclasen@redhat.com>
2783         * *.c: Explain I/O priority.
2785         * *.c: More coding style fixes.
2787 2007-11-29  Matthias Clasen <mclasen@redhat.com>
2789         * gasyncresult.c: Add another paragraph to the intro,
2790         adjust coding style of example.
2792 2007-11-29  A. Walton <awalton@svn.gnome.org>
2794         * gappinfo.c:
2795           Fixes unknown meaning in GAppLaunchContext docs.
2796         * gfile.c:
2797           Clarify asynchronous ops.
2798         * gfileattribute.c:
2799           Fix entity tag docs.
2800         * gicon.c:
2801         * gthemedicon.c:
2802           Provides missing gtk-doc section, fixes API docs slighly.
2803         * gsimpleasyncresult.c:
2804           Fill in missing info in docs.
2805         * gunixinputstream.c:
2806         * gunixoutputstream.c:
2807           Be more expressive in short description.
2808         * gunixvolume.c:
2809           Remove gtk-doc stubs for non-public API.
2811 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2813         * *.c: Coding style fixups
2815 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2817         * inotify/inotify-helper.c: Don't export the lock from libgio.
2819 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2821         * Makefile.am:
2822         * abicheck.sh: Fix copy-and-paste leftovers 
2824 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2826         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2828 2007-11-28  Alexander Larsson  <alexl@redhat.com>
2830         * Makefile.am:
2831         * gdriveprivate.h:
2832         Removed unnecessary file
2833         
2834         * gdesktopappinfo.[ch]:
2835         * gdummyfile.[ch]:
2836         * gfile.c:
2837         * glocaldirectorymonitor.[ch]:
2838         * glocalfile.[ch]:
2839         * glocalfileenumerator.[ch]:
2840         * glocalfileinputstream.[ch]:
2841         * glocalfilemonitor.[ch]:
2842         * glocalfileoutputstream.[ch]:
2843         * glocalvfs.[ch]:
2844         * gnativevolumemonitor.c:
2845         * gpollfilemonitor.[ch]:
2846         * gunionvolumemonitor.[ch]:
2847         * gunixdrive.[ch]:
2848         * gunixvolume.[ch]:
2849         * gunixvolumemonitor.[ch]:
2850         * gvfs.c:
2851         * gvolumeprivate.h:
2852         * inotify/ginotifydirectorymonitor.[ch]:
2853         * inotify/ginotifyfilemonitor.[ch]:
2854         * inotify/inotify-helper.c:
2855         Append _ to all internal functions
2856         
2857         * gio.symbols:
2858         Add missing symbols
2859         Export symbols needed for modules
2861 2007-11-28  Alexander Larsson  <alexl@redhat.com>
2863         * Makefile.am:
2864         * abicheck.sh: Added.
2865         * makegioalias.pl: Added.
2866         * pltcheck.sh: Added.
2867         * gio.symbols: Added.
2868         * *.c:
2869         * inotify/*.c
2870         Initial work on adding symbol handling.
2872         * gvfs.h:
2873         Correct ifdef guard name
2875         * fam/Makefile.am:
2876         * inotify/Makefile.am:
2877         * xdgmime/Makefile.am:
2878         Include toplevel Makefile.decl
2880 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
2882         * gcontenttype.c: Move doc comments to the unix section.
2884         * *.[hc]: More trivial doc corrections.
2886 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
2888         * gpollfilemonitor.c:
2889         * gunixmounts.c:
2890         * gvfs.c:
2891         * gfile.c:
2892         * gdesktopappinfo.c:
2893         * gwin32appinfo.c:
2894         * gvolume.c:
2895         * glocalvfs.c:
2896         * gvolumemonitor.c:
2897         * gdatainputstream.c:
2898         * gdatainputstream.h:
2899         * gdataoutputstream.c:
2900         * gdataoutputstream.h:
2901         * gfileinfo.h: Doc cleanups
2903 2007-11-28  Andre Klapper  <a9016009@gmx.de>
2905         * gdesktopappinfo.c: Fix a typo.
2907 2007-11-27  Andre Klapper  <a9016009@gmx.de>
2909         * glocalfileoutputstream.c: Fix a typo.
2911 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2913         * gio.h:
2914         Don't include removed headers
2916 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2918         * Makefile.am:
2919         * gsocketinputstream.[ch]: Removed.
2920         * gsocketoutputstream.[ch]: Removed.
2921         * gunixinputstream.[ch]: Added.
2922         * gunixoutputstream.[ch]: Added.
2923         Renamed GSocket*Stream to GUnix*Stream and made
2924         it unix-only, since its not really only for sockets
2925         and it only works on unix (but is highly useful there).
2927 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
2928         * gappinfo.c:
2929         * gappinfo.h:
2930         * gasynchelper.c:
2931         * gasyncresult.c:
2932         * gasyncresult.h:
2933         * gbufferedinputstream.c:
2934         * gbufferedinputstream.h:
2935         * gbufferedoutputstream.c:
2936         * gbufferedoutputstream.h:
2937         * gcancellable.c: 
2938         * gcancellable.h:
2939         * gcontenttype.c:
2940         * gdatainputstream.c:
2941         * gdatainputstream.h:
2942         * gdataoutputstream.c:
2943         * gdataoutputstream.h:
2944         * gdirectorymonitor.c:
2945         * gdirectorymonitor.h:
2946         * gdrive.c: 
2947         * gdrive.h:
2948         * gfile.c:
2949         * gfile.h:
2950         * gfileattribute.c:
2951         * gfileattribute.h:
2952         * gfileenumerator.c:
2953         * gfileenumerator.h:
2954         * gfileicon.c:
2955         * gfileicon.h:
2956         * gfileinfo.c:
2957         * gfileinfo.h:
2958         * gfileinputstream.c:
2959         * gfileinputstream.h:
2960         * gfilemonitor.c:
2961         * gfilemonitor.h:
2962         * gfilenamecompleter.c:
2963         * gfilenamecompleter.h:
2964         * gfileoutputstream.c:
2965         * gfileoutputstream.h:
2966         * gfilterinputstream.c:
2967         * gfilterinputstream.h:
2968         * gfilteroutputstream.c:
2969         * gfilteroutputstream.h:
2970         * gicon.c:
2971         * gicon.h:
2972         * ginputstream.c:
2973         * ginputstream.h:
2974         * gioerror.c:
2975         * gioerror.h:
2976         * giomodule.c:
2977         * giomodule.h:
2978         * gioscheduler.c:
2979         * gioscheduler.h:
2980         * gloadableicon.c:
2981         * gloadableicon.h:
2982         * glocalfileoutputstream.c:
2983         * gmemoryinputstream.c:
2984         * gmemoryinputstream.h:
2985         * gmemoryoutputstream.c:
2986         * gmemoryoutputstream.h:
2987         * gmountoperation.c: 
2988         * gmountoperation.h:
2989         * goutputstream.c:
2990         * goutputstream.h:
2991         * gpollfilemonitor.c:
2992         * gseekable.c:
2993         * gseekable.h:
2994         * gsimpleasyncresult.c:
2995         * gsimpleasyncresult.h:
2996         * gsocketinputstream.c:
2997         * gsocketinputstream.h:
2998         * gsocketoutputstream.c:
2999         * gsocketoutputstream.h:
3000         * gthemedicon.c:
3001         * gthemedicon.h:
3002         * gunixdrive.c:
3003         * gunixmounts.c: 
3004         * gunixmounts.h:
3005         * gunixvolume.c:
3006         * gunixvolumemonitor.c:
3007         * gurifuncs.c:
3008         * gurifuncs.h:
3009         * gvfs.c:
3010         * gvfs.h:
3011         * gvolume.c:
3012         * gvolume.h:
3013         * gvolumemonitor.c: 
3014         * gvolumemonitor.h:
3015         Bumps documentation to 93% symbol coverage, touching most 
3016         of the public files. Fixes broken function documentation prototypes. 
3017         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
3018         gtk-doc headers in private files.
3020 2007-11-27  Jürg Billeter  <j@bitron.ch>
3022         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3023         (g_buffered_input_stream_read_byte):
3024         * gbufferedinputstream.h:
3025         New functions for efficient access to buffer and simple single byte
3026         reads.
3028         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3029         (g_data_input_stream_read_until):
3030         * gdatainputstream.h:
3031         Use peek_buffer to avoid memcpy in scan_for_newline, implement
3032         read_until with multiple stop chars.
3034 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3036         * Makefile.am:
3037         * fam/Makefile.am:
3038         * inotify/Makefile.am:
3039         Use the user-specified giomoduledir
3041 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3043         * Makefile.am
3044         * gio.h:
3045         Add catch-all gio.h header
3046         Don't install gdummyfile.h
3048 2007-11-26  Alexander Larsson  <alexl@redhat.com>
3050         * Makefile.am (gioinclude_HEADERS):
3051         Remove trailing whitespace
3052         
3053 2007-11-26  Alexander Larsson  <alexl@redhat.com>
3055         Merge gio-standalone into glib
3057 2007-11-25  Christian Kellner  <gicmo@gnome.org>
3059         * gio/goutputstream.c:
3060         Fix small mistake in the docs.
3062 2007-11-21  Christian Persch  <chpe@gnome.org>
3064         * gio/glocalfile.c: (g_local_file_trash):
3065         Convert filenames to UTF-8 for GError.
3066         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3067         as per xdg base dir spec.
3069 2007-11-21  Christian Persch  <chpe@gnome.org>
3071         * gio/gdesktopappinfo.c:
3072         Use that g_key_file_to_data cannot fail.
3073         Some misc cleanups.
3074         Use stock defines for the key file group and key names.
3075         Use bitfields.
3077 2007-11-21  Alexander Larsson  <alexl@redhat.com>
3079         * gio/gfile.c:
3080         (copy_stream_with_progress):
3081         Make sure we do a final progress callback with
3082         the full total size.
3084 2007-11-21  Alexander Larsson  <alexl@redhat.com>
3086         * gio/gfile.[ch]:
3087         Export g_file_copy_attributes
3088         Remove padding as its not needed for interfaces
3090 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3092         * gio/gfile.c:
3093         * gio/gioerror.h:
3094         * gio/glocalfile.c:
3095         Add G_IO_ERROR_WOULD_MERGE for
3096         copy/move dir on dir with overwrite.
3098 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3100         * gio/gfileinfo.h:
3101         * gio/glocalfileinfo.c:
3102         Add COPY_NAME (this is an optional
3103         non-modified utf8 version of the name) that
3104         can roundtrip.
3106 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3108         * gio/glocalfileenumerator.c:
3109         Report errors as GIOError, not GFileError
3111 2007-11-16  Alexander Larsson  <alexl@redhat.com>
3113         * gio/glocalfileoutputstream.c:
3114         * gio/gwin32appinfo.c:
3115         Fix typos in strings.
3116         Patch from Luca Ferretti <elle.uca@libero.it>
3118 2007-11-15  Alexander Larsson  <alexl@redhat.com>
3120         * configure.ac:
3121         Post release version bump
3123 === gio-standalone 0.1.2 ===
3125 2007-11-15  Alexander Larsson  <alexl@redhat.com>
3127         * docs/reference/gio/Makefile.am:
3128         Fix up distcheck by removing weird
3129         non-needed stuff
3131         * NEWS:
3132         Update for release
3134 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3136         * gio/gdesktopappinfo.c:
3137         * gio/glocaldirectorymonitor.c:
3138         * gio/glocalfile.c:
3139         * gio/glocalfileinfo.c:
3140         * gio/inotify/inotify-sub.c:
3141         * programs/gio-cat.c:
3142         * programs/gio-copy.c:
3143         * programs/gio-info.c:
3144         * programs/gio-ls.c:
3145         * programs/gio-monitor-dir.c:
3146         * programs/gio-monitor-file.c:
3147         * programs/gio-mount.c:
3148         * programs/gio-move.c:
3149         * programs/gio-rm.c:
3150         * programs/gio-save.c:
3151         * programs/gio-trash.c:
3152         Leak fixes from Kjartan Maraas
3154 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3156         * gio/fam/fam-helper.c:
3157         * gio/gdrive.[ch]:
3158         * gio/glocalfileinfo.c:
3159         * gio/gunixdrive.c:
3160         * gio/gvfs.c:
3161         * gio/gvolume.[ch]:
3162         * gio/inotify/inotify-diag.c:
3163         * gio/inotify/inotify-kernel.c:
3164         Various code cleanups from Kjartan Maraas
3166 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3168         * gio/gioscheduler.c:
3169         (init_scheduler):
3170         Set up threadpool so that we cache 2 unused
3171         idle threads for at 15 secs. This means we
3172         will reuse thread-local data (like dbus connections)
3173         for them.
3175 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3177         * gio/fam/fam-helper.c:
3178         * gio/fam/gfamdirectorymonitor.c:
3179         * gio/fam/gfamfilemonitor.c:
3180         * gio/gappinfo.c:
3181         * gio/gcontenttype.c:
3182         * gio/gdatainputstream.c:
3183         * gio/gdataoutputstream.c:
3184         * gio/gdummyfile.c:
3185         * gio/gfile.c:
3186         * gio/gfile.h:
3187         * gio/gfileattribute.h:
3188         * gio/gfileenumerator.c:
3189         * gio/gfileinfo.c:
3190         * gio/ginputstream.c:
3191         * gio/gioerror.h:
3192         * gio/glocalfile.c:
3193         * gio/glocalfileinfo.c:
3194         * gio/goutputstream.c:
3195         * gio/gpollfilemonitor.c:
3196         * gio/gsimpleasyncresult.c:
3197         * gio/gunixmounts.c:
3198         * gio/gunixmounts.h:
3199         * gio/inotify/ginotifydirectorymonitor.c:
3200         * gio/inotify/ginotifyfilemonitor.c:
3201         * gio/inotify/inotify-diag.c:
3202         * gio/inotify/inotify-kernel.c:
3203         * gio/inotify/inotify-path.c:
3204         * gio/test-gio.c:
3205         * gio/test-streams.c:
3206         * programs/gio-info.c:
3207         * programs/gio-monitor-dir.c:
3208         * programs/gio-monitor-file.c:
3209         Various code cleanups from Kjartan Maraas
3211 2007-11-13  Alexander Larsson  <alexl@redhat.com>
3213         * gio/gdummyfile.c:
3214         Handle the uri-scheme calls for dummy files
3216 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3218         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3219         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3220         to avoid clash with the C++ keyword.
3222 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3224         * gio/glocalfileinfo.c: Build fix, added missing semicolon
3225         to an ifdef'ed call to getpwuid() in lookup_uid_data().
3227 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
3229         * gio/glocaldirectorymonitor.c:
3230         * gio/glocalfilemonitor.c:
3231         * gio/gunionvolumemonitor.c:
3232         Don't use g_once_init_*() for initializations that could fail and
3233         could leave the initialization variable set to 0 but use GOnce.
3234         This prevents a deadlock on the second call when trying to create
3235         a monitor and no monitor type is available. Thanks to Sven Herzberg
3236         for reporting.
3238 2007-11-11  Sven Herzberg  <sven@imendio.com>
3240         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3241         #ifdef (make it work on MacOS X again)
3243 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
3244         * Changelog:
3245         Fixes Changelog for last two commits (sorry guys).
3247 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3248         * gio/gappinfo.c:
3249         * gio/gbufferedinputstream.c:
3250         * gio/gdatainputstream.c:
3251         * gio/gfile.c:
3252         * gio/gfileoutputstream.c:
3253         * gio/gfilterinputstream.c:
3254         * gio/glocalfileinputstream.c:
3255         * gio/gurifuncs.c:
3256         * gio/gvfs.c:
3257         More consistency fixes in g*stream.c files. 
3258         Significant clean of gfile's documentation, filling in of 
3259         asynchronous operations documentation.
3261 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3262         * gio/gappinfo.c:
3263         * gio/gasyncresult.c:
3264         * gio/gbufferedinputstream.c:
3265         * gio/gbufferedoutputstream.c:
3266         * gio/gcancellable.c:
3267         * gio/gcontenttype.c:
3268         * gio/gdatainputstream.c:
3269         * gio/gdataoutputstream.c:
3270         * gio/gdesktopappinfo.c:
3271         * gio/gdrive.c:
3272         * gio/gfile.c:
3273         * gio/gfileattribute.c:
3274         * gio/gio/gfileenumerator.c:
3275         * gio/gfileinfo.c:
3276         * gio/gfileinputstream.c:
3277         * gio/gfilemonitor.c:
3278         * gio/gfileoutputstream.c:
3279         * gio/ginputstream.c:
3280         * gio/giomodule.c:
3281         * gio/gioscheduler.c:
3282         * gio/gloadableicon.c:
3283         * gio/glocalfileoutputstream.c:
3284         * gio/gmemoryoutputstream.c:
3285         * gio/gmountoperation.c:
3286         * gio/goutputstream.c:
3287         * gio/gseekable.c:
3288         * gio/gsimpleasyncresult.c:
3289         * gio/gunionvolumemonitor.c:
3290         * gio/gunixmounts.c:
3291         * gio/gunixvolume.c:
3292         * gio/gurifuncs.c:
3293         * gio/gvfs.c:
3294         * gio/gvolume.c:
3295         * gio/gvolumemonitor.c:
3296         Updated documentation stubs, working towards consistency and 
3297         completeness.
3299 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3301         * gio/gmemoryoutputstream.c:
3302         * gio/gmemoryoutputstream.h:
3303         Change g_memory_output_stream_set_free_on_close() to
3304         g_memory_output_stream_set_free_data() as this makes more sense and
3305         is more consistent with GMemoryInputStream.
3307 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3309         * gio/gfile.c:
3310         Fix some docs
3311         
3312         * gio/glocalvfs.c:
3313         * gio/gvfs.[ch]:
3314         Change how we find the default vfs so that
3315         we can handle a gvfs failing to init
3317 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3319         * gio/gbufferedoutputstream.c:
3320         * gio/gdatainputstream.c:
3321         * gio/gdataoutputstream.c:
3322         * gio/gfileinputstream.c:
3323         * gio/gfileoutputstream.c:
3324         * gio/gfilterinputstream.c:
3325         * gio/gfilteroutputstream.c:
3326         * gio/ginputstream.c:
3327         * gio/gmemoryinputstream.c:
3328         * gio/gmemoryoutputstream.c:
3329         * gio/goutputstream.c:
3330         * gio/gsimpleasyncresult.c:
3331         * gio/gsocketinputstream.c:
3332         * gio/gsocketoutputstream.c:
3333         Add guards to the remaining public functions, add a TODO for
3334         an unimplemented function and remove some useless guards.
3336 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3338         * configure.ac:
3339         Autoconf checks for the various types of
3340         getpwuid_r and getgrgid_r
3341         
3342         * gio/glocalfileinfo.c:
3343         Use the autoconf checks from above
3345 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3347         * gio/glocalfile.c:
3348         (g_local_file_query_filesystem_info):
3349         Some fixes for the statvfs case
3350         
3351 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3353         * gio/glocalfile.c:
3354         (g_local_file_query_filesystem_info):
3355         Pick the "best" of statfs / statvfs for the system
3356         if both are availible.
3358 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3360         Solaris fixes from Halton.Huo@Sun.COM:
3361         
3362         * gio/gdrive.c:
3363         * gio/gfile.c:
3364         * gio/gvolume.c:
3365         Don't return void
3366         
3367         * gio/glocalfileinfo.c:
3368         Fix for solaris definition of getpwuid_r
3369         
3370         * gio/test-streams.c:
3371         Use G_GNUC_PRETTY_FUNCTION
3373 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3375         * gio/gdesktopappinfo.c:
3376         (update_default_list):
3377         Remove double semicolon.
3378         Patch from Jens Granseuer
3380 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3382         * docs/reference/gio/gio-sections.txt:
3383         * gio/gbufferedinputstream.c:
3384         * gio/gbufferedinputstream.h:
3385         * gio/gdatainputstream.c:
3386         * gio/gfileenumerator.c:
3387         * gio/gioscheduler.c:
3388         * gio/gunionvolumemonitor.c:
3389         * gio/gvfs.c:
3390         * programs/gio-save.c:
3391         Fix typo: availible -> available. Unfortuntely this breaks API
3392         and ABI as g_buffered_input_stream_get_available() was renamed.
3393         
3394         * gio/gunixmounts.c:
3395         * gio/gbufferedinputstream.c:
3396         Add guards for public functions.
3398 2007-11-06  Ross Burton  <ross@openedhand.com>
3400         * docs/reference/gio/Makefile.am:
3401         Fix invalid += usage which automake 1.10 doesn't like.
3403 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3405         * gio/gappinfo.c:
3406         (g_app_launch_context_class_init):
3407         Fix warning
3409         Patch from Ross Burton 
3410         
3411 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3413         * configure.ac:
3414         Post release version bump
3416 === gio-standalone 0.1.1 ===
3418 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3420         * configure.ac:
3421         Bump version to 0.1.1
3422         
3423         * gio/gsimpleasyncresult.c:
3424         (g_simple_async_result_set_from_error):
3425         Remove bogus g_return_if_fail
3427 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3429         * configure.ac:
3430         The name is gio-standalone
3431         
3432         * gio/Makefile.am:
3433         Add top src/builddir to includedir
3435 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3437         * docs/reference/gio/gio-sections.txt:
3438         * gio/gappinfo.c:
3439         * gio/gbufferedinputstream.c:
3440         * gio/gbufferedoutputstream.c:
3441         * gio/gcancellable.c:
3442         * gio/gdatainputstream.h:
3443         * gio/gdataoutputstream.c:
3444         * gio/gdataoutputstream.h:
3445         * gio/gdirectorymonitor.c:
3446         * gio/gfile.c:
3447         * gio/gfileattribute.c:
3448         * gio/gfileattribute.h:
3449         * gio/gfileenumerator.c:
3450         * gio/gfileenumerator.h:
3451         * gio/gfileinfo.c:
3452         * gio/gfileinfo.h:
3453         * gio/gfileinputstream.h:
3454         * gio/gfilemonitor.c:
3455         * gio/gfileoutputstream.h:
3456         * gio/glocalfilemonitor.h:
3457         * gio/glocalfileoutputstream.h:
3458         * gio/gmemoryinputstream.c:
3459         * gio/gmemoryoutputstream.c:
3460         * gio/gmountoperation.c:
3461         * gio/goutputstream.c:
3462         * gio/goutputstream.h:
3463         * gio/gseekable.h:
3464         * gio/gsimpleasyncresult.c:
3465         * gio/gunixmounts.c:
3466         * gio/gunixmounts.h:
3467         * gio/gurifuncs.h:
3468         * gio/inotify/inotify-helper.c:
3469         Fix gtk-doc warnings
3471         Patch from Ross Burton 
3472         
3473 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3475         * gio/gfilenamecompleter.c:
3476         (g_filename_completer_get_completions):
3477         fix warning
3478         
3479         * gio/gunixvolume.c:
3480         Remove unused function
3482         Patches from Ross Burton 
3484 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3486         * gio/gdrive.h:
3487         * gio/gseekable.h:
3488         * gio/gvolume.h:
3489         Padding not needed for interfaces
3491 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3493         * gio/gfilemonitor.c:
3494         Remove debug spew
3496         * gio/Makefile.am:
3497         Make giotypes.h an internal file
3498         
3499         * gio/gappinfo.h:
3500         * gio/gbufferedinputstream.h:
3501         * gio/gbufferedoutputstream.h:
3502         * gio/gcancellable.h:
3503         * gio/gdatainputstream.h:
3504         * gio/gdataoutputstream.h:
3505         * gio/gdirectorymonitor.c:
3506         * gio/gdirectorymonitor.h:
3507         * gio/gdrive.c:
3508         * gio/gdrive.h:
3509         * gio/gfile.c:
3510         * gio/gfile.h:
3511         * gio/gfileattribute.h:
3512         * gio/gfileenumerator.h:
3513         * gio/gfileicon.c:
3514         * gio/gfileicon.h:
3515         * gio/gfileinfo.c:
3516         * gio/gfileinfo.h:
3517         * gio/gfilemonitor.c:
3518         * gio/gfilemonitor.h:
3519         * gio/gfilenamecompleter.c:
3520         * gio/gfilenamecompleter.h:
3521         * gio/gfilterinputstream.h:
3522         * gio/gfilteroutputstream.h:
3523         * gio/ginputstream.h:
3524         * gio/gmemoryinputstream.h:
3525         * gio/gmemoryoutputstream.h:
3526         * gio/gmountoperation.c:
3527         * gio/gmountoperation.h:
3528         * gio/gnativevolumemonitor.c:
3529         * gio/goutputstream.h:
3530         * gio/gseekable.c:
3531         * gio/gseekable.h:
3532         * gio/gsimpleasyncresult.c:
3533         * gio/gsimpleasyncresult.h:
3534         * gio/gsocketinputstream.h:
3535         * gio/gsocketoutputstream.h:
3536         * gio/gthemedicon.c:
3537         * gio/gthemedicon.h:
3538         * gio/gvfs.h:
3539         * gio/gvolume.c:
3540         * gio/gvolume.h:
3541         * gio/gvolumemonitor.c:
3542         * gio/gvolumemonitor.h:
3543         Add padding in classes where it seems useful
3544         Don't include giotypes.h from public headers
3545         Move in Class definitions into c file where possible
3546         
3547         * gio/glocalfile.c:
3548         Fix warnings
3550 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3552         * docs/reference/gio/gio-docs.xml:
3553         Better structure for API docs
3555 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3557         * gio/gfileicon.c:
3558         * gio/gloadableicon.c:
3559         * gio/gsimpleasyncresult.c:
3560         * gio/gthemedicon.c:
3561         Add some more guards to public functions. Only files missing are now
3562         g*stream*.c.
3564 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3566         * docs/reference/gio/gio-docs.xml:
3567         Remove old files, add missing ones
3569 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3571         * docs/reference/gio/gio-sections.txt:
3572         Restructure
3573         Add missing stuff
3574         Hide implementation classes
3575         
3576         * gio/gdriveprivate.h:
3577         * gio/gvolumeprivate.h:
3578         Remove non-existing function declarations
3580 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3582         * gio/gappinfo.c:
3583         Fix compilation warnings and add guards to the new functions.
3584         
3585         * gio/gasyncresult.c:
3586         * gio/gdummyfile.c:
3587         Add guards to the public functions.
3588         
3589         * gio/gdummyfile.c:
3590         Implement get_path().
3592 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3594         * gio/gfilenamecompleter.c:
3595         Make g_filename_completer_get_completions
3596         return char ** instead of GList for
3597         typesafety.
3598         
3599         * docs/reference/gio/gio-docs.xml:
3600         * docs/reference/gio/gio-sections.txt:
3601         * gio/gappinfo.c:
3602         * gio/gasyncresult.c:
3603         * gio/gbufferedinputstream.c:
3604         * gio/gbufferedoutputstream.c:
3605         * gio/gcancellable.c:
3606         * gio/gcontenttype.c:
3607         * gio/gdatainputstream.c:
3608         * gio/gdataoutputstream.c:
3609         * gio/gdesktopappinfo.c:
3610         * gio/gdirectorymonitor.c:
3611         * gio/gdrive.c:
3612         * gio/gdummyfile.c:
3613         * gio/gfile.c:
3614         * gio/gfileattribute.c:
3615         * gio/gfileenumerator.c:
3616         * gio/gfileicon.c:
3617         * gio/gfileinfo.c:
3618         * gio/gfileinputstream.c:
3619         * gio/gfilemonitor.c:
3620         * gio/gfilenamecompleter.c:
3621         * gio/gfilenamecompleter.h:
3622         * gio/gfileoutputstream.c:
3623         * gio/gfilterinputstream.c:
3624         * gio/gicon.c:
3625         * gio/ginputstream.c:
3626         * gio/giomodule.c:
3627         * gio/gioscheduler.c:
3628         * gio/gloadableicon.c:
3629         * gio/glocaldirectorymonitor.c:
3630         * gio/glocalfile.c:
3631         * gio/glocalfileinputstream.c:
3632         * gio/glocalfilemonitor.c:
3633         * gio/glocalfileoutputstream.c:
3634         * gio/glocalvfs.c:
3635         * gio/gmemoryinputstream.c:
3636         * gio/gmemoryoutputstream.c:
3637         * gio/gmountoperation.c:
3638         * gio/goutputstream.c:
3639         * gio/gpollfilemonitor.c:
3640         * gio/gseekable.c:
3641         * gio/gsimpleasyncresult.c:
3642         * gio/gsocketinputstream.c:
3643         * gio/gsocketoutputstream.c:
3644         * gio/gthemedicon.c:
3645         * gio/gunionvolumemonitor.c:
3646         * gio/gunixdrive.c:
3647         * gio/gunixmounts.c:
3648         * gio/gunixvolume.c:
3649         * gio/gunixvolumemonitor.c:
3650         * gio/gurifuncs.c:
3651         * gio/gvfs.c:
3652         * gio/gvolume.c:
3653         * gio/gvolumemonitor.c:
3654         * gio/gwin32appinfo.c:
3655         Add (mostly stub) doc strings to public functions.
3656         Patch from Andrew Walton (awalton@gmail.com)
3658 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3660         * gio/gappinfo.[ch]:
3661         Added GAppLaunchContext object and pass that to launch.
3662         This allows simple implementation of both
3663         launch-on-screen and startup notification via a gtk+
3664         subclass of GAppLaunchContext
3665         
3666         * gio/gdesktopappinfo.c:
3667         Implement GAppLaunchContext API
3668         
3669         * gio/gwin32appinfo.c:
3670         Update to new APIs
3672 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3674         * gio/gmountoperation.c:
3675         Add some guards to GMountOperation's public functions.
3677 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3680         * gio/gappinfo.c:
3681         * gio/gcancellable.c:
3682         * gio/gdirectorymonitor.c:
3683         * gio/gdrive.c:
3684         * gio/gfileenumerator.c:
3685         * gio/gfilemonitor.c:,
3686         * gio/gfilenamecompleter.c:
3687         * gio/gicon.c:
3688         * gio/giomodule.c:
3689         * gio/gioscheduler.c:
3690         * gio/gseekable.c:
3691         * gio/gurifuncs.c:
3692         * gio/gvolume.c:
3693         * gio/gvolumemonitor.c:
3694         Add even more guards to various public functions.
3696 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3698         * gio/gappinfo.c:
3699         Add guards to the public functions of GAppInfo.
3701 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3703         * gio/gcontenttype.c:
3704         Add some more guards for public functions.
3706 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3708         * gio/fam/fam-module.c:
3709         * gio/fam/gfamdirectorymonitor.c:
3710         * gio/fam/gfamdirectorymonitor.h:
3711         * gio/fam/gfamfilemonitor.c:
3712         * gio/fam/gfamfilemonitor.h:
3713         * gio/inotify/ginotifydirectorymonitor.c:
3714         * gio/inotify/ginotifydirectorymonitor.h:
3715         * gio/inotify/ginotifyfilemonitor.c:
3716         * gio/inotify/ginotifyfilemonitor.h:
3717         Add proper copyright information and remove an unused variable
3718         in the GInotifyFileMonitor constructor.
3720         * gio/gcancellable.c:
3721         Add a guard for a public function and an assertion to prevent
3722         an undefined program state.
3724 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3726         * gio/gfileattribute.c:
3727         Don't run into an assertion if the given attribute value is NULL
3728         in g_file_attribute_value_get_*() but instead return a fallback
3729         value that makes sense in most situations. Passing them a attribute
3730         value with the wrong type will still run into an assertion.
3732 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3734         * gio/gfileattribute.c:
3735         * gio/gfileinfo.c:
3736         Add even more guards to the public functions. Also fix the refcounting
3737         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3738         let g_file_info_list_attributes() filter the attributes by namespace
3739         instead of simply ignoring the namespace parameter.
3741 2007-11-03  Sven Herzberg  <sven@imendio.com>
3743         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3744         (This makes gio work on MacOS X again)
3746 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3748         * Makefile.am:
3749         Build the gio subdirectory before the docs. Otherwise the build will
3750         fail.
3752         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3753         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3754         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3755         Add guards to the public functions.
3757 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3759         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3760         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3761         to prevent a compiler warning.
3763         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3764         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3765         return something in the non-void function find_topdir_for().
3767 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
3769         * configure.ac:
3770         * Makefile.am:
3771         * docs/:
3772         Gtkdocify!
3774 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
3776         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3777         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3778         * gwin32appinfo.c (g_win32_app_info_launch):
3779         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3780         envp_for_startup_id, g_desktop_app_info_launch,
3781         g_desktop_app_info_launch_uris):
3783         Give an opaque 'startup_id' string instead of 'envp'.
3784         Support empty file lists for launching new windows.
3785         Fix infinite recursion bug when launching URIs.
3787 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3789         * gio/gfile.c:
3790         Add guard to the new g_file_get_uri_scheme() function.
3792 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3794         * gio/gfile.c:
3795         Convert a g_return_val_if_fail() to setting the GError instead as
3796         otherwise applications have to verify the parameter before otherwise
3797         and the parameter might come directly from the user.
3799 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3801         * gio/inotify/ginotify*.[ch]:
3802         Add missing copyright information.
3804 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3806         * gio/gfile.c:
3807         Add guards in the beginning of public functions to check for valid
3808         parameters and fix a bug in copy_stream_with_progress() that could've
3809         caused writing less bytes than reading.
3810         * gio/glocalfileinfo.c:
3811         Check for a NULL parameter and set the GError accordingly then.
3812         * gio/goutputstream.c:
3813         Fix the same bug as in gfile.c that could've caused writing less bytes
3814         than reading in g_output_stream_real_splice().
3816 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
3818         * gio/Makefile.am:
3819         Use the correct gvolumeprivate.h naming
3821 2007-11-01  Christian Kellner  <gicmo@gnome.org>
3823         * gio/Makefile.am:
3824         Remove leftover "$(daemon_sources)" entry.
3826 2007-11-01  Christian Kellner  <gicmo@gnome.org>
3828         * gio/fam/*.[ch]:
3829         * gio/*.[ch]:
3830         * programs/*.[ch]:
3831         Add copyright information to source files.
3833 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3835         * gio/gfile.[ch]:
3836         * gio/glocalfile.c:
3837         Add g_file_get_uri_scheme
3839 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3841         * gio/gappinfo.h:
3842         * gio/gdesktopappinfo.c:
3843         * gio/gwin32appinfo.c:
3844         Add g_app_info_get_default_for_uri_scheme.
3846 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3848         * gio/Makefile.am:
3849         Correct filename for gdriveprivate.h
3851 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3853         * gio/gfileinfo.h:
3854         Rename id:value to id:file
3855         Add id:fs
3856         
3857         * gio/glocalfileinfo.c:
3858         Implement id:fs
3860 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3862         * gio/gunixvolume.c:
3863         * gio/gvolume.[ch]:
3864         Remove g_volume_get_platform_id, as thats not
3865         needed with the simpler union volume monitor
3867 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3869         * gio/Makefile.am:
3870         * gio/guniondrive.[ch]: Removed.
3871         * gio/gunionvolume.[ch]: Removed.
3872         Remove GUnionDrive/Volume
3874         * gio/gunionvolumemonitor.c:
3875         Simplify union volume monitor, now we
3876         only have one native volume monitor and
3877         we use the actual volumes/drives from the
3878         child monitors instead of wrapping them
3880         * gio/gnativevolumemonitor.[ch]:
3881         Base class for native volume monitors.
3882         Includes priority and get_volume_for_mountpoint
3883         
3884         * gio/gfile.[ch]:
3885         Add g_file_find_enclosing_volume
3887         * gio/gfileinfo.h:
3888         Remove volume name fs attribute
3889         Add readonly fs attribute
3890         
3891         * gio/glocalfile.c:
3892         Implement readonly attribute
3893         remove volume name attribute
3894         Implement find_enclosing volume
3895         
3896         * gio/gunixmounts.c:
3897         Add a volume for "/".
3898         
3899         * gio/gunixvolume.[ch]:
3900         Set better name for /
3901         
3902         * gio/gunixvolumemonitor.[ch]:
3903         Derive from GNativeVolumeMonitor
3904         Implement get_volume_for_mountpoint
3905         
3906         * gio/gvolume.h:
3907         GVolume typedef moved to gfile.h
3908         
3909         * gio/gvolumeprivate.h:
3910         Add g_volume_get_for_mount_path
3912 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3914         * gio/gunixmounts.[ch]:
3915         Add cache info to unix mount listers
3916         Make getmntent use threadsafe
3917         Add is_system_internal attribute for GUnixMount
3918         
3919         * gio/gunixvolume.c:
3920         (g_unix_volume_new):
3921         Use is_system_internal instead of own code
3922         
3923         * gio/glocaldirectorymonitor.c:
3924         * gio/gunixvolumemonitor.c:
3925         Update to new gunixmounts API
3926         
3927         * gio/glocalfile.c:
3928         Fix warning
3930 2007-10-30  Alexander Larsson  <alexl@redhat.com>
3932         * gio/gfileinfo.h:
3933         Add volume name fsinfo attribute
3934         
3935         * gio/glocalfile.c:
3936         Read volume name info
3937         
3938         * gio/gunionvolumemonitor.c:
3939         Fix infinite loops when finalizing a union volume monitor
3941 2007-10-30  Alexander Larsson  <alexl@redhat.com>
3943         * gio/goutputstream.[ch]:
3944         Add splice() with default implementation
3945         
3946         * gio/gsocketoutputstream.c:
3947         (g_socket_output_stream_write):
3948         Return error on cancellation correctly.
3949         
3950 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
3952         * gio/glocalfile.c (g_local_file_trash):
3953         Do not leak a string.
3955 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
3957         * gio/gfile.c (g_file_load_contents):
3958         Unref the stream after closing it.
3960 2007-10-25  Alexander Larsson  <alexl@redhat.com>
3962         * gio/gioscheduler.h:
3963         Fix include
3965 2007-10-25  Alexander Larsson  <alexl@redhat.com>
3967         * gio/gfile.[ch]:
3968         * gio/glocalfile.c:
3969         Add g_file_has_uri_scheme and implement for local files
3971 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
3973         * gio/gdesktopappinfo.c: do not leak a string.
3975 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
3977         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3978         (g_local_directory_monitor_new):
3979         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3980         (g_local_file_monitor_new):
3981         Only look for the monitor type that should be used the first time
3982         and use g_qsort_with_data() instead of our own bubble sort
3983         implementation.
3985 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
3987         * gio/Makefile.am:
3988         * gio/fam/Makefile.am:
3989         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3990         * gio/fam/fam-helper.h:
3991         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3992         * gio/fam/gfamdirectorymonitor.c:
3993         * gio/fam/gfamdirectorymonitor.h:
3994         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3995         * gio/fam/gfamfilemonitor.h:
3996         * gio/glocaldirectorymonitor.c:
3997         * gio/glocaldirectorymonitor.h:
3998         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3999         * gio/glocalfilemonitor.h:
4000         * gio/inotify/Makefile.am:
4001         * gio/inotify/ginotifydirectorymonitor.c:
4002         * gio/inotify/ginotifydirectorymonitor.h:
4003         * gio/inotify/ginotifyfilemonitor.c:
4004         * gio/inotify/ginotifyfilemonitor.h:
4005         Implement the FAM and Inotify monitors as
4006         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4007         their own GIO module. GLocal(Directory|File)Monitor will use the
4008         monitor with the highest rank that is supported on that machine.
4010 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
4012         * gio/Makefile.am:
4013         Change GIO module dir to $(libdir)/gio/modules and change
4014         the log domain from GVFS to GIO. Also only export symbols starting
4015         with g_ in the resulting library.
4016         * gio/test-streams.c: (main):
4017         Set log handler for the GIO log domain.
4019 2007-10-22  Alexander Larsson  <alexl@redhat.com>
4021         * gio/gfilenamecompleter.[ch]:
4022         Add g_filename_completer_set_dirs_only
4024 2007-10-22  Alexander Larsson  <alexl@redhat.com>
4026         * gio/Makefile.am:
4027         * gio/gurifuncs.[ch]:
4028         Add some simple URI helpers
4029         
4030         * gio/gfilenamecompleter.[ch]:
4031         Added object for filename (parse name actually) completion
4032         
4033         * gio/glocalvfs.c:
4034         Handle ~ in parse names
4036 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4038         * gio/gfileinfo.h:
4039         * gio/glocalfileinfo.c:
4040         Add and implement id:value attribute
4042 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4044         * gio/gdrive.[ch]:
4045         * gio/guniondrive.c:
4046         * gio/gunixdrive.c:
4047         Add and implement g_drive_has_volumes
4048         
4049 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4051         * gio/gfileinfo.h:
4052         * gio/glocalfileinfo.[ch]:
4053         Add unix:is_mountpoint and implement for local files
4055 2007-10-16  Alexander Larsson  <alexl@redhat.com>
4057         * gio/gunionvolumemonitor.c:
4058         (g_union_volume_monitor_init):
4059         Fix up the unix type getting so that it works with gcc
4060         
4061 2007-10-12  Alexander Larsson  <alexl@redhat.com>
4063         * gio/gfileinfo.h:
4064         * gio/glocalfileinfo.c:
4065         Add thumbnail:failed to file info
4067 2007-10-12  Richard Hult  <richard@imendio.com>
4069         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4070         optimizing away the get_type call (happens with some gcc versions,
4071         like the one shipped with OS X 10.4).
4073 2007-10-12  Alexander Larsson  <alexl@redhat.com>
4075         * gio/glocalfileinfo.c:
4076         (_g_local_file_info_set_attribute):
4077         Fix build if not HAVE_XATTR
4078         Patch from Milosz Derezynski <internalerror@gmail.com>
4080 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
4082         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4083         around for review, otherwise I would have asked you before
4084         committing)
4086 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4088         * gio/gfileinfo.h:
4089         Add thumbnail:path attribute
4090         
4091         * gio/glocalfileinfo.c:
4092         Implement thumbnail:path for local files
4094 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4096         * gio/glocalfileinfo.c:
4097         (_g_local_file_info_get):
4098         Avoid duplicate icon names
4100 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4102         * gio/gthemedicon.[ch]:
4103         Change g_themed_icon_get_names return type to const
4105 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4107         * gio/glocalfileinfo.c:
4108         Don't reference freed memory
4110 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4112         * gio/gfileattribute.c:
4113         Handle objects
4114         
4115         * gio/glocalfileinfo.c:
4116         Return icon info
4118 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4120         * gio/gfileinfo.c:
4121         Check for NULL icons
4123         * gio/gfileattribute.c:
4124         Don't dup when getting objects (same as for string attributes)
4126         * gio/gicon.c (g_icon_equal):
4127         Safely handle NULLs in equal
4129 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4131         * gio/gfileinfo.h:
4132         Fix c++ compilation issues
4133         Patch from Milosz Derezynski <internalerror@gmail.com>
4135 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4137         * programs/gio-monitor-dir.c:
4138         Don't crash if dir monitor not supported.
4140 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4142         * gio/gioerror.h:
4143         Add missing G_END_DECLS
4145 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
4147         * gio/gfile.c: (g_file_set_display_name),
4148         (g_file_query_settable_attributes),
4149         (g_file_query_writable_namespaces):
4150         Return NULL not FALSE on errors as the return type is a pointer.
4152 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
4154         * gio/glocalfile.c: (g_local_file_monitor_file):
4155         Don't call monitor_file on the default interface vtable (which
4156         is NULL) but simply return NULL. The caller, GFile, will create a
4157         polling monitor if NULL is returned.
4159 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4161         * Makefile.am:
4162         * configure.ac:
4163         * gio-unix-2.0.pc.in:
4164         Add gio-unix-2.0.pc if OS_UNIX
4165         
4166         * gio/Makefile.am:
4167         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4169 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4171         * gio/gunixmounts.[ch]:
4172         Make unix mount monitoring API sane.
4173         Now its just a object with mounts_changed
4174         and mountpoints_changed signals.
4175         
4176         * gio/glocaldirectorymonitor.c:
4177         * gio/gunixvolumemonitor.c:
4178         Use new mount monitor api
4180 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4182         * gio/gunixmounts.[ch]:
4183         Move guess type into one call for mounts and one for mountpoints
4184         
4185         * gio/gunixdrive.c:
4186         * gio/gunixvolume.c:
4187         Update
4189 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4191         * gio/gunixmounts.[ch]:
4192         Remove _ prefix in preparation to make this semi-public
4193         Hide implementation of structs
4194         
4195         * gio/glocaldirectorymonitor.c:
4196         * gio/gunixdrive.c:
4197         * gio/gunixvolume.c:
4198         * gio/gunixvolumemonitor.c:
4199         Update for above API changes
4201 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4203         * gio/gfile.c:
4204         Better polling fallback. This also handles the case where we have
4205         a monitor_file implementation, but it fails.
4207 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4209         * gio/gfile.[ch]:
4210         * gio/glocalfile.c:
4211         * gio/gunixmounts.c:
4212         * programs/gio-monitor-dir.c:
4213         * programs/gio-monitor-file.c:
4214         Added cancellable to file monitoring calls.
4215         These are really sync calls and need this.
4217 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
4219         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4220         (g_local_vfs_class_init):
4221         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4222         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4224 2007-10-05  Alexander Larsson  <alexl@redhat.com>
4226         * gio/gdirectorymonitorprivate.h: 
4227         * gio/gfilemonitorprivate.h: 
4228         * gio/gdirectorymonitor.h:
4229         * gio/gfilemonitor.h:
4230         Remove *private.h and move to the public API, so that
4231         we can do implementations outside gio (such as in gvfs)
4232         
4233         * gio/gdirectorymonitor.c:
4234         * gio/gfilemonitor.c:
4235         * gio/glocaldirectorymonitor.c:
4236         * gio/gpollfilemonitor.c:
4237         * gio/inotify/inotify-helper.c:
4238         * gio/fam/fam-helper.c:
4239         Update to the new header names
4241 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
4243         * gio/gdirectorymonitor.c:
4244         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4245         GTypes as abstract.
4247 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4249         * gio/glocalfileinfo.c (get_access_rights):
4250         Set CAN_TRASH when we can move the file.
4251         We should really also check for a parent trash dir.
4253 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4255         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4256         Add can_trash access attribute
4258 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4260         * gio/glocalfile.c:
4261         (g_local_file_trash):
4262         Create info file first. This is per-spec and allows
4263         us to actually trash directories.
4265 2007-10-02  Alexander Larsson  <alexl@redhat.com>
4267         * gio/gdesktopappinfo.c:
4268         Implement the new mime support code.
4269         Always set app as handling mimetype when being set as default for it
4271 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4273         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4274         Fix up check for xattrs:
4276 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4278         * gio/gappinfo.c:
4279         (g_app_info_set_as_default_for_extension):
4280         (g_app_info_add_supports_type):
4281         (g_app_info_can_remove_supports_type):
4282         (g_app_info_remove_supports_type):
4283         Make these fail nicely if not implemented
4285 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
4287         * gio/glocalfileoutputstream.c:
4288         * gio/glocalfileoutputstream.h:
4289         * gio/test-gio.c:
4290         * gio/gfile.c:
4291         * gio/gfile.h:
4292         * gio/glocalfile.c:
4293         * programs/gio-save.c: 
4294         Add a GFileCreateFlags argument to operations that can create
4295         a new file.
4297 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4299         * gio/gappinfo.[ch]:
4300         * gio/gdesktopappinfo.c:
4301         Add more (stubbed out) mime API needed for nautilus
4303 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4305         * gio/gappinfo.h:
4306         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4307         Add g_app_info_set_as_default_for_extension.
4308         
4309         * gio/gdesktopappinfo.c:
4310         Dummy for g_app_info_set_as_default_for_extension
4311         Support flags in g_app_info_create_from_commandline
4313         * gio/gwin32appinfo.c:
4314         * gio/test-gio.c:
4315         Update for API changes
4316         
4317         * gio/gthemedicon.c:
4318         Properly NULL-terminate list of icon names
4320 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4322         * gio/gloadableicon.h:
4323         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4325 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4327         * gio/Makefile.am:
4328         Install headers in $includedir/gio-standalone/
4329         
4330         * gio-2.0.pc.in: Added.
4331         * gio-standalone.pc.in: Removed.
4332         * configure.ac:
4333         * Makefile.am:
4334         Renamed pkg-config file to match glib (for future move)
4335         Update to the new include dir
4336         
4337         * gio/gappinfo.h:
4338         Add more TODO comments
4340 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4342         * gio/gdesktopappinfo.[ch]:
4343         Expose new_from_filename
4344         Add getter for is_hidden and handle it better
4346 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4348         * gio/gfileinfo.[ch]:
4349         Rename g_file_size_format_for_display to
4350         g_format_file_size_for_display.
4351         Now it doesn't have the g_file prefix, so we
4352         can later move it to glib.
4354 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4356         * gio/gappinfo.[ch]:
4357         Add g_app_info_get_id and g_app_info_get_executable.
4358         Make all getters non-reffing
4359         Make g_app_info_launch take GFile arguments.
4360         Add must_support_uris argument to g_app_info_get_default_for_type.
4361         
4362         * gio/gwin32appinfo.c:
4363         Update to GAppInfo api changes
4364         
4365         * gio/gdesktopappinfo.c:
4366         Update to GAppInfo api changes
4367         Implement supports_xdg_startup_notify
4368         
4369         * gio/gfileicon.c (g_file_icon_get_file):
4370         Make getter non-reffing.
4371         
4372         * gio/test-gio.c:
4373         Update to new API
4375 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4377         * gio/gfileinfo.[ch]: 
4378         Add g_file_size_format_for_display helper
4379         
4380 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4382         * gio/glocalfileinfo.c:
4383         Set UNIX_GID from gid, not from uid
4385 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4387         * gio/gfile.[ch]:
4388         Add g_file_set_attributes_async
4390 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4392         * gio/glocalfile.c (g_local_file_set_display_name):
4393         Fix set_display_name to actually rename to the right place.
4394         Use lstat to look for existing files so we don't overwrite
4395         broken links.
4397 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4399         * gio/gfile.[ch]:
4400         Add g_file_set_display_name_async()
4402 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4404         * gio/gfile.[ch]:
4405         Add load_partial_contents async calls
4406         
4407         * gio/glocalfile.c:
4408         Make internal function static
4410 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4412         * gio/glocalfileinfo.c:
4413         Correctly detect broken symlinks
4415 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4417         * gio/gcancellable.c (g_cancellable_cancel):
4418         Allow cancel on NULL cancellable
4420 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4422         * gio/gsimpleasyncresult.c:
4423         Don't allocate g_error manually.
4424         Fixes g_slice/g_new mixup crash
4426 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4428         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4429         Actually set active_backend.
4430         This means the monitor will be cancelled correctly.
4432 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4434         * gio/gdirectorymonitor.c:
4435         Set timeout to NULL when destroying
4437 2007-09-25  Alexander Larsson  <alexl@redhat.com>
4439         * gio/gioerror.h:
4440         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4441         that is a better description of the error.
4443 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
4445         * gio/gvfs.c: (g_vfs_get_local):
4446         Make the local vfs variable static. The same instance should
4447         always be returned.
4449 2007-09-24  Alexander Larsson  <alexl@redhat.com>
4451         * gio/glocalfileinfo.c:
4452         Pass in actual length read into sniffer, not the length
4453         we tried to read.
4455 2007-09-21  Alexander Larsson  <alexl@redhat.com>
4457         * gio/gfileenumerator.c:
4458         * gio/gfileinfo.c:
4459         * gio/gfileinfo.h:
4460         * gio/gfileinputstream.c:
4461         * gio/gfileoutputstream.c:
4462         * gio/ginputstream.c:
4463         * gio/goutputstream.c:
4464         Don't crash if async callbacks are NULL
4466 2007-09-20  Alexander Larsson  <alexl@redhat.com>
4468         * gio/gfile.[ch]:
4469         Add async enumerate_children method and default
4470         implementation
4472 2007-09-20  Alexander Larsson  <alexl@redhat.com>
4474         * gio/gfile.[ch]
4475         Add g_file_contains_file & g_file_get_relative_path, since they
4476         were needed for nautilus.
4477         Renamed g_file_resolve_relative to g_file_resolve_relative_path
4478         to make it clearer.
4479         
4480         * gio/gdummyfile.c:
4481         * gio/glocalfile.c:
4482         Implement new methods
4484 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4486         * gio/gfile.[ch]:
4487         * gio/gfileinputstream.[ch]:
4488         * gio/gfileoutputstream.[ch]:
4489         * gio/glocalfile.c:
4490         * gio/glocalfileenumerator.[ch]:
4491         * gio/glocalfileinfo.[ch]:
4492         * gio/glocalfileinputstream.c:
4493         * gio/glocalfileoutputstream.c:
4494         * gio/gpollfilemonitor.c:
4495         * programs/gio-copy.c:
4496         * programs/gio-info.c:
4497         * programs/gio-move.c:
4498         Rename get_file_info to query_info() to make it clearer
4499         that these are not simple getters, but do i/o.
4501 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4503         * gio/gdatainputstream.[ch]:
4504         * gio/test-streams.c:
4505         Use _read_XXX instead of _get_XXX for the i/o calls
4506         in GDataInputStream
4508 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4510         * gio/gappinfo.h:
4511         Added needed stuff to TODO comment
4513 2007-09-17  Alexander Larsson  <alexl@redhat.com>
4515         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4516         Don't error out removing the backup copy if it doesn't
4517         already exist.
4519 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4521         * programs/Makefile.am:
4522         * programs/gvfs-*.c: 
4523         * programs/gio-*.c:
4524         Renamed apps from gvfs-xxx to gio-xxx.
4526 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4528         * gio/gfile.c:
4529         * gio/gfileoutputstream.[ch]:
4530         * gio/glocalfileoutputstream.c:
4531         * programs/gvfs-save.c:
4532         g_file_output_stream_get_etag doesn't do i/o, so remove
4533         cancellation and error.
4535 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4537         * gio/gfile.[ch]:
4538         Add new_etag output to replace_contents functions
4540 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4542         * gio/gfileoutputstream.[ch]:
4543         Add async get_file_info and default implementation
4545 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4547         * gio/gfileinputstream.c:
4548         Implement fallback wrapper for async get_file_info
4550 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4552         * gio/gfile.[ch]:
4553         Add etag out argument to load_contents
4554         
4555         * gio/test-gio.c:
4556         Update to new API
4558 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4560         * gio/gcontenttype.c (looks_like_text):
4561         Whitespace like tab, cr and lf do not make the
4562         file binary.
4564 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4566         * gio/gfileinputstream.[ch]:
4567         Add async get_file_info.
4569 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4571         * gio/goutputstream.c (g_output_stream_write_all):
4572         Allow NULL for bytes_written
4574 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4576         * gio/gmemoryinputstream.[ch]:
4577         Add accessors for data
4579 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4581         * gio/gdatainputstream.c (g_data_input_stream_get_until):
4582         Don't crash if length is NULL