1 2008-08-01 Matthias Clasen <mclasen@redhat.com>
3 * gdesktopappinfo.c: Remove debug spew
5 2008-08-01 Hans Breuer <hans@breuer.org>
7 * makefile.msc : add gemblembedicon
9 2008-07-30 Matthias Clasen <mclasen@redhat.com>
11 Bug 545457 – gdmsetup crashed with SIGSEGV in
12 g_unix_mount_guess_should_display()
14 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
15 crash if no mount is found.
17 2008-07-28 Matthias Clasen <mclasen@redhat.com>
19 Bug 545203 – gfile.c: argument is different type.
21 * gfile.c (open_read_async_thread): Pass a GError **
22 to g_file_set_error_literal.
23 Reported by Kazuki Iwamoto
25 2008-07-28 Matthias Clasen <mclasen@redhat.com>
27 Bug 545157 – wrong/no list of "open with" applications for .cc and
30 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
31 Collect all ancestors, not just direct parents. Pointed
34 2008-07-28 Matthias Clasen <mclasen@redhat.com>
36 * Makefile.am: Install gemblemedicon.h
38 2008-07-28 Matthias Clasen <mclasen@redhat.com>
40 * gemblemedicon.[hc]: Add a GIcon implementation that can
41 add an emblem to another icon.
48 * gfileicon.c: Small documentation additions.
50 2008-07-28 Tor Lillqvist <tml@novell.com>
52 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
55 2008-07-27 Tor Lillqvist <tml@novell.com>
57 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
59 2008-07-24 David Zeuthen <davidz@redhat.com>
63 Also export a g_mount_guess_content_type_sync() function.
65 2008-07-23 Matthias Clasen <mclasen@redhat.com>
67 529694 – SELinux context setting support
69 * gfileinfo.c: Support setting selinux attributes.
72 2008-07-22 Priit Laes <plaes@plaes.org>
74 Bug 544140 - fam-helper 64-bit issue?
76 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
78 2008-07-21 Matthias Clasen <mclasen@redhat.com>
80 * === Released 2.17.4 ===
82 2008-07-20 Matthias Clasen <mclasen@redhat.com>
84 * gvolumemonitor.[hc]:
89 * gmount.c: Documentation fixes
91 2008-07-19 Matthias Clasen <mclasen@redhat.com>
93 543504 – crash in Epiphany Web Browser: Opening local file
104 * gvolume.c: Register types thread-safely.
105 Patch by Christian Persch
107 2008-07-18 Matthias Clasen <mclasen@redhat.com>
109 * gcontenttype.c: Remove debug spew
111 2008-07-18 Matthias Clasen <mclasen@redhat.com>
113 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
116 * fen/fen-kernel.c: Remove a warning that was causing
117 crashes. Reported by Lin Ma.
119 2008-07-18 Matthias Clasen <mclasen@redhat.com>
121 Bug 543040 – async reading on dummy file will crash on
124 * gfile.c (open_read_async_thread): Cope with read_fn being
125 NULL. Reported by Lin Ma.
127 2008-07-18 Matthias Clasen <mclasen@redhat.com>
130 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
132 2008-07-16 Matthias Clasen <mclasen@redhat.com>
136 * giomodule.c: Rename a chapter id to avoid filename conflict.
138 2008-07-16 Matthias Clasen <mclasen@redhat.com>
140 Bug 540616 – mem leak in filechooser button
142 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
143 the mount entry. Reported by Chrisitan Persch
145 2008-07-16 Matthias Clasen <mclasen@redhat.com>
147 * gfile.c: Small documentation fixes.
149 2008-07-15 Matthias Clasen <mclasen@redhat.com>
151 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
153 2008-07-08 Matthias Clasen <mclasen@redhat.com>
158 * gmount.c: Documentation improvements.
160 2008-07-08 Matthias Clasen <mclasen@redhat.com>
163 * gmount.[hc]: Add g_mount_guess_content_type().
165 2008-07-06 David Zeuthen <davidz@redhat.com>
168 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
169 is needed for easily handling adoption of foreign volumes by
170 out-of-process volume monitors (#541793)
172 2008-07-06 David Zeuthen <davidz@redhat.com>
174 * gvolumemonitor.[ch]:
175 * gunionvolumemonitor.c: Export the eject-button signal on the
176 volume monitor class (#541794).
178 2008-07-06 Matthias Clasen <mclasen@redhat.com>
180 * gappinfo.c: More doc tweaks
182 2008-07-05 Matthias Clasen <mclasen@redhat.com>
184 * gappinfo.c: Clarify some docs
186 2008-07-03 Matthias Clasen <mclasen@redhat.com>
188 * gdesktopappinfo.c: Fix a stupid mistake.
190 2008-07-02 Matthias Clasen <mclasen@redhat.com>
192 * === Released 2.17.3 ===
194 2008-07-02 Matthias Clasen <mclasen@redhat.com>
196 * gfilemonitor.c: Fix the build.
198 2008-07-02 Matthias Clasen <mclasen@redhat.com>
200 Bug 536160 – Add g_file_monitor()
203 * gfile.[hc]: Add g_file_monitor which can return either
204 a file or a directory monitor. Proposed by Behdad Esfahbod
206 2008-07-02 Matthias Clasen <mclasen@redhat.com>
208 536733 – gio build failure on Irix
210 * glocalfile.c: Use a configure check for structfs.f_bavail.
212 2008-07-02 Matthias Clasen <mclasen@redhat.com>
214 Bug 534639 – add g_desktop_app_info_new_from_keyfile
217 * gdesktopappinfo.[hc]: Add a function to create a
218 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
220 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
222 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
224 2008-07-01 Matthias Clasen <mclasen@redhat.com>
226 * gunixmounts.c: Fix a doc typo.
228 2008-07-01 Cody Russell <bratsche@gnome.org>
230 * gio/gcontenttype.c:
231 * gio/gwin32appinfo.c:
232 * gio/gwin32volumemonitor.c:
233 * gio/gwin32mount.c: Fixed some include problems.
235 2008-07-01 Cody Russell <bratsche@gnome.org>
239 Moved all relevant typedefs into these files.
242 Updated wrt added files.
244 Split types into separate file for easier maintainership. (#538564)
246 2008-06-30 Matthias Clasen <mclasen@redhat.com>
248 Bug 540331 – g_file_append_to () documentation: can return NULL
250 * gfile.c (g_file_append_to): Clarify docs.
253 2008-06-30 Matthias Clasen <mclasen@redhat.com>
255 Bug 539090 – g_content_type_from_mime_type() should unalias
257 * gcontentype.c (g_content_type_from_mime_type): Unalias.
258 Patch by Markus Bergman
260 2008-06-30 Matthias Clasen <mclasen@redhat.com>
262 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
265 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
266 on ppc and alpha. Reported by Mart Raudsepp
268 2008-06-29 Matthias Clasen <mclasen@redhat.com>
271 * tests/memory-output-stream.c: Add some tests for
274 2008-06-29 Matthias Clasen <mclasen@redhat.com>
276 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
279 * gmemoryoutputstream.c (array_resize): Handle truncation to
280 zero correctly. Reported by Akira Tagoh
282 2008-06-29 Matthias Clasen <mclasen@redhat.com>
284 * gmemoryoutputstream.c: Trivial doc fixes
286 2008-06-29 Matthias Clasen <mclasen@redhat.com>
288 Bug 540802 – g_list_prepend doesn't concat lists
290 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
291 one list to another. Pointed out by Jan Arne Petersen
293 2008-06-28 Michael Natterer <mitch@imendio.com>
295 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
297 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
299 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
300 to avoid problems with partial icon themes.
302 2008-06-17 Hans Breuer <hans@breuer.org>
304 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
305 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
306 access again on win32, see bug #538127
307 * giomodule.c : ensure GWin32VolumeMonitor is registered
308 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
309 * Makefile.am makefile.msc : updated
311 2008-06-16 Hans Breuer <hans@breuer.org>
313 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
314 and initialization in one step avoids c99ism
316 2008-06-16 Christian Persch <chpe@gnome.org>
319 * gio/gbufferedinputstream.c
321 * gio/gdatainputstream.c
322 * gio/gdesktopappinfo.c
324 * gio/gfileenumerator.c
325 * gio/gfileinputstream.c
326 * gio/gfileoutputstream.c
328 * gio/glocaldirectorymonitor.c
330 * gio/glocalfileenumerator.c
331 * gio/glocalfileinfo.c
332 * gio/glocalfilemonitor.c
333 * gio/glocalfileoutputstream.c
334 * gio/gmemoryinputstream.c
335 * gio/gmemoryoutputstream.c
336 * gio/goutputstream.c
337 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
340 2008-06-16 Tor Lillqvist <tml@novell.com>
342 Bug 538362 - Get Win32 icons back in the file chooser
344 * gcontenttype.c (g_content_type_get_icon): Look up the icon
345 corresponding to a file extension in the Registry. Patch by Hans
347 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
349 2008-06-16 Tor Lillqvist <tml@novell.com>
351 Patches by Hans Breuer:
353 * glocalfile.c (is_xp_or_later): Handle compiling against older
354 SDK headers with missing VerifyVersionInfo(). Conditioned on
355 _MSC_VER, but should probably use some better test.
356 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
357 uninitialised statfs_result variable on Win32.
359 2008-06-16 Michael Natterer <mitch@imendio.com>
361 * *.c: chain up unconditionally in finalize() and dispose(). Also
362 don't dereference these function pointers when calling them since
363 that has no meaning at all.
365 2008-06-16 Ross Burton <ross@burtonini.com>
368 Remove check for dispose implementation as it annoys Emmanuele.
370 2008-06-16 Ross Burton <ross@burtonini.com>
372 Bug 536252 – GFileEnumerator should allow access to the containing
378 Add g_file_enumerator_get_container() and a container writeable
379 construct-only property. Also shuffle around typedefs to make it
382 * glocalfileenumerator.c:
383 * glocalfileenumerator.h:
385 Instead of a string filename take a GFile in the constructor and
386 use it to set the container property.
391 2008-06-16 Matthias Clasen <mclasen@redhat.com>
393 * gfile.c: Make includes more uniform
395 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
397 * tests/live-g-file.c (sample_struct):
398 Use less fancy unicode filenames, so the test doesn't fail
399 on Mac OS X (#531476).
401 2008-06-12 Matthias Clasen <mclasen@redhat.com>
403 * === Released 2.17.2 ===
405 2008-06-12 Matthias Clasen <mclasen@redhat.com>
407 * === Released 2.17.1 ===
409 2008-06-11 A. Walton <awalton@gnome.org>
411 * tests/g-file.c (test_g_file_new_null):
412 Fix broken test case.
414 2008-06-11 Matthias Clasen <mclasen@redhat.com>
416 * pltcheck.sh: We use g_clear_error now.
418 2008-06-11 Matthias Clasen <mclasen@redhat.com>
420 * glocalfile.c (g_local_file_enumerate_children): Revert
421 an unintended change.
423 2008-06-11 Matthias Clasen <mclasen@redhat.com>
425 * gfile.c (g_file_replace_contents): Don't unref before the last use.
427 2008-06-10 Matthias Clasen <mclasen@redhat.com>
429 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
432 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
433 as icon for the desktop directory, also make user-home and
434 user-desktop the preferred icons.
436 2008-06-10 Matthias Clasen <mclasen@redhat.com>
439 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
440 to add a name to the front of the list.
442 2008-06-10 Matthias Clasen <mclasen@redhat.com>
444 Bug 537392 – Additional colon in xattr name
446 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
447 too. Reported by Alessandro Morandi
449 2008-06-10 Matthias Clasen <mclasen@redhat.com>
451 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
454 * glocalfile.c (get_fs_type): Add afs and autofs.
455 Patch by Danny Baumann.
457 2008-06-10 Matthias Clasen <mclasen@redhat.com>
459 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
461 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
462 is no parent. (Owen Taylor, patch by Christian Neumair)
464 2008-06-10 Paolo Borelli <pborelli@katamail.com>
466 * gfile.c (g_file_replace_contents): do not leak the output stream.
468 2008-06-10 Michael Natterer <mitch@imendio.com>
470 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
471 uninitialized memory as array index.
473 2008-06-10 Tor Lillqvist <tml@novell.com>
475 * gcontenttype.c (g_content_type_can_be_executable)
476 (g_content_type_get_icon) [Win32]: Add TODO comments.
478 2008-06-09 Matthias Clasen <mclasen@redhat.com>
480 * xdgmime/Makefile.am: Fix the build
482 2008-06-09 Matthias Clasen <mclasen@redhat.com>
484 * gcontenttype.c (g_content_type_get_icon): Use icons specified
485 in the shared mime database, if available.
487 * xdgmime/*: Sync with upstream. This brings support for
488 glob weights, generic icons, and changes the cache format to
491 2008-05-28 Michael Natterer <mitch@imendio.com>
493 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
494 the global CPPFLAGS now.
496 * tests/data-input-stream.c
497 * tests/data-output-stream.c
498 * tests/g-file-info.c
500 * tests/live-g-file.c
501 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
503 2008-05-27 Matthias Clasen <mclasen@redhat.com>
505 * === Released 2.17.0 ===
507 * tests/live-g-file.c: Clean up after the tests, so make distcheck
508 doesn't complain about leftover files.
510 2008-05-27 simon.zheng <simon.zheng@sun.com>
512 * glocalfile.c: (g_local_file_query_filesystem_info):
513 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
515 2008-05-26 Michael Natterer <mitch@imendio.com>
517 * gmemoryoutputstream.h: declare
518 g_memory_output_stream_get_data_size().
520 2008-05-26 Matthias Clasen <mclasen@redhat.com>
522 * tests/*: Make tests work
524 2008-05-26 Matthias Clasen <mclasen@redhat.com>
526 * gio.symbols: Add g_memory_output_stream_get_data_size.
528 2008-05-25 Ross Burton <ross@burtonini.com>
531 Fix typo in error message (#534764).
533 2008-05-25 Ross Burton <ross@burtonini.com>
536 Fix circular dependency loop for gioenumtypes.h (#534759).
538 2008-05-19 Hans Breuer <hans@breuer.org>
540 * Makefile.am : EXTRA_DIST += makefile.msc
542 2008-05-17 Matthias Clasen <mclasen@redhat.com>
545 * gcontenttype.c: (g_content_type_from_mime_type):
546 New function to create a content type from a mime type. (#527175,
549 2008-05-17 Matthias Clasen <mclasen@redhat.com>
551 Bug 532965 – Should not return filesystem::free for certain file systems
553 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
554 free space for ncpfs.
556 2008-05-17 Matthias Clasen <mclasen@redhat.com>
558 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
560 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
561 st_dev might be zero.
563 2008-05-16 Tor Lillqvist <tml@novell.com>
565 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
566 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
568 2008-05-13 Bastien Nocera <hadess@hadess.net>
570 * gfile.c (has_valid_scheme): A URI scheme must start with a
571 letter, even if later more characters are allowed (#532852)
573 2008-05-05 Michael Natterer <mitch@imendio.com>
575 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
576 code from being checked in that breaks the build of applications
577 which use G_DISABLE_SINGLE_INCLUDES.
579 * makegioalias.pl: make the alias file include "glib.h" instead of
582 * gio.symbols: whitespace change to force regeneration of the
583 alias file after above script change.
585 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
587 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
589 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
591 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
593 2008-04-28 David Zeuthen <davidz@redhat.com>
595 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
596 displaying mounts in a subdirectory not accessible to the
599 2008-04-22 Michael Natterer <mitch@imendio.com>
601 * Makefile.am: fix library versioning (it was 0.0.0).
603 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
605 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
606 Default disable all loggings.
607 * fen/fen-kernel.c: (printevent), (port_add_kevent),
608 (port_fetch_event_cb): Fixed two macro nits.
610 2008-04-16 Matthias Clasen <mclasen@redhat.com>
612 * xdgmime/xdgmime.c: Rework the timestamp checking code
613 to protect against duplicate directories in XDG_DATA_DIRS.
614 Fixes fd.o bug 12513, reported by Joe Shaw.
616 2008-04-16 Matthias Clasen <mclasen@redhat.com>
618 Partically revert the last commit after realizing that
619 xdg_mime_media_type_equal doesn't have to init at all.
622 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
624 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
626 2008-04-16 Matthias Clasen <mclasen@redhat.com>
628 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
629 reported by Joe Shaw and Federico Mena Quintero.
631 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
632 (xdg_mime_media_type_equal): Turn into a wrapper around the
635 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
636 functions throughout.
638 2008-04-16 Michael Meeks <michael.meeks@novell.com>
640 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
641 tolerate an empty TryExec= line without failing; nautilus used
642 to create launchers with these in previous versions. Fixes #528433
644 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
646 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
647 after name. Fixes #527132.
649 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
651 * gfile.c: (g_file_replace):
654 2008-04-07 Matthias Clasen <mclasen@redhat.com>
656 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
658 * gfile.c (file_copy_fallback): Fix the argument order. Patch
659 by Christian Kellner.
661 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
663 * gunixmounts.c: (g_unix_mount_guess_should_display):
664 Don't list the user directory as a mount, fix potential issue
665 when other users have a similar naming and don't special case the
666 gvfs mounts there since that's not required (#525866)
668 2008-03-31 Alexander Larsson <alexl@redhat.com>
670 * glocalfile.c (get_parent):
673 2008-03-31 A. Walton <awalton@svn.gnome.org>
675 * gfile.c (g_file_query_file_type):
676 Always return a GFileType enum value (#520715).
678 2008-03-31 Alexander Larsson <alexl@redhat.com>
680 * glocalfileenumerator.c:
681 Read readdir() info in chunks (of 1000) and sort
682 the chunks by inode before stat:ing.
683 This is a 20% performance increase in testing
684 gvfs-ls on /usr/bin with cold cache.
686 2008-03-31 Alexander Larsson <alexl@redhat.com>
688 * gmemoryoutputstream.c:
689 Clarify docs for g_memory_output_stream_get_size.
690 Add g_memory_output_stream_get_data_size.
692 2008-03-30 Matthias Clasen <mclasen@redhat.com>
696 * gfile.h: Add g_file_query_file_type convenience function
697 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
699 2008-03-30 Matthias Clasen <mclasen@redhat.com>
702 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
704 2008-03-28 A. Walton <awalton@svn.gnome.org>
706 * giomodule.c (_g_io_modules_ensure_loaded):
707 Adds GIO_EXTRA_MODULES environment variable support, closing bug
710 2008-03-28 Alexander Larsson <alexl@redhat.com>
713 (copy_stream_with_progress):
716 2008-03-28 Alexander Larsson <alexl@redhat.com>
719 (copy_stream_with_progress):
720 (file_copy_fallback):
721 Fallback to g_file_query_info for source size
722 if g_file_input_stream_query_info fails. (#524579)
724 2008-03-28 Alexander Larsson <alexl@redhat.com>
726 * glocalfile.c (g_local_file_move):
727 Reuse old string instead of adding new one.
729 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
731 * fen/*.[hc]: still copyright issue. I hate copyright.
733 2008-03-27 Alexander Larsson <alexl@redhat.com>
735 * glocalfile.c (g_local_file_move):
736 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
737 file over directory. This is according to the docs and what the move via
738 copy+remove fallback does.
740 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
742 * fen/*.[hc]: Updated copyright.
744 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
746 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
748 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
750 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
751 not emit attribute changed events when optimizing changed events.
752 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
755 2008-03-19 Matthias Clasen <mclasen@redhat.com>
757 * gmountoperation.[hc]: Small documentation additions
759 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
761 * gunixmounts.c: (guess_mount_type):
762 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
764 2008-03-19 Alexander Larsson <alexl@redhat.com>
767 (copy_stream_with_progress):
768 Bump block side for copy to 64k to minimize
769 overhead for low latency links. (#523015)
771 2008-03-16 Tor Lillqvist <tml@novell.com>
773 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
774 depend on gio.def on Windows.
776 2008-03-12 David Zeuthen <davidz@redhat.com>
780 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
782 2008-03-14 Alexander Larsson <alexl@redhat.com>
786 Avoid redudant tests (#521851)
787 Patch from Josselin Mouette
789 2008-03-14 Alexander Larsson <alexl@redhat.com>
792 (g_file_monitor_is_cancelled):
793 Fix C89 issue (#521672)
794 Patch from Jens Granseuer
796 2008-03-14 Alexander Larsson <alexl@redhat.com>
798 * fam/fam-helper.[ch]:
800 Shut down fam (including removing fam GSource) when
801 module is unloaded (#521513)
802 Patch from Joe Marcus Clarke
804 2008-03-14 Alexander Larsson <alexl@redhat.com>
807 (_g_io_modules_ensure_loaded):
810 2008-03-14 Alexander Larsson <alexl@redhat.com>
813 (g_local_file_query_filesystem_info):
814 Use right define name for f_fstypename member check
816 2008-03-14 Alexander Larsson <alexl@redhat.com>
819 * fen/Makefile.am: Added.
820 * fen/fen-data.[ch]: Added.
821 * fen/fen-dump.[ch]: Added.
822 * fen/fen-helper.[ch]: Added.
823 * fen/fen-kernel.[ch]: Added.
824 * fen/fen-missing.[ch]: Added.
825 * fen/fen-node.[ch]: Added.
826 * fen/fen-sub.[ch]: Added.
827 * fen/gfendirectorymonitor.[ch]: Added.
828 * fen/gfenfilemonitor.[ch]: Added.
830 Added Solaris FEN file notification backend.
831 Patch from Lin Ma <Lin.Ma@Sun.COM>
833 2008-03-13 Tor Lillqvist <tml@novell.com>
835 * Makefile.am: Actually use the gio.def file when linking the
836 library on Windows. Produce .lib library for Microsoft's toolchain
837 when possible. Install the .lib and .def file like for the other
840 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
842 * tests/live-g-file.c:
843 Include live-g-file in standard set of tests, making a temporary
844 directory in source structure.
846 Clean target directory before the tests (write mode only)
848 2008-03-12 Tor Lillqvist <tml@novell.com>
850 Bug 517419 - gio win32 directory monitor
851 Implementation by Vlad Grecescu.
854 * win32/gwin32directorymonitor.h
855 * win32/gwin32directorymonitor.c: New files.
857 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
859 * Makefile.am: Add the win32 subdirectory.
861 2008-03-12 Tor Lillqvist <tml@novell.com>
863 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
864 normal struct stat on Unix but struct _stati64 on Windows to have
865 access to 64-bit file size information. Use that instead of struct
866 stat in the functions declared here in this private header.
868 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
869 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
870 warnings about unused functions and variables. Don't set
871 meaningless attributes like inode numbers on Windows.
873 2008-03-12 Benjamin Otte <otte@gnome.org>
876 trim whitespace so gtk-doc groks the function name
878 2008-03-12 Tor Lillqvist <tml@novell.com>
880 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
881 returning FALSE, on Win32.
883 2008-03-11 Alexander Larsson <alexl@redhat.com>
886 * glocalfileinfo.[ch]:
887 Correctly implement can_trash by actually
888 looking for a trash dir, not just assuming
891 2008-03-10 Matthias Clasen <mclasen@redhat.com>
893 * === Released 2.16.1 ===
895 2008-03-11 Alexander Larsson <alexl@redhat.com>
898 Fix crashes in new constructor and properties code
900 2008-03-10 Murray Cumming <murrayc@murrayc.com>
902 * gfile.c: Minor spelling correction in documentation:
903 existance -> existence.
905 2008-03-10 Matthias Clasen <mclasen@redhat.com>
907 * === Released 2.16.0 ===
909 2008-03-10 Matthias Clasen <mclasen@redhat.com>
911 * gio.symbols: Remove g_file_contains_file here, too.
913 2008-03-10 Matthias Clasen <mclasen@redhat.com>
915 * gthemedicon.c: Add properties to make bindings happy. (#517676,
916 Samuel Cormier-Iijima)
918 2008-03-08 Tor Lillqvist <tml@novell.com>
920 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
923 2008-03-07 Alexander Larsson <alexl@redhat.com>
926 (g_local_file_query_filesystem_info):
927 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
928 Patch from Jasper Lievisse Adriaanse
930 2008-03-06 Tor Lillqvist <tml@novell.com>
932 * gfileinfo.h: Correct milliseconds to microseconds in the doc
933 comments for the *_USEC attributes.
935 2008-03-06 Alexander Larsson <alexl@redhat.com>
937 * gfile.c (g_file_query_exists):
938 Add g_return_val_if_fail check (#520700)
940 2008-03-06 Alexander Larsson <alexl@redhat.com>
945 * gunionvolumemonitor.c:
948 * tests/live-g-file.c:
949 * xdgmime/xdgmimecache.c:
950 Fix sparse warnings (#519489)
952 2008-03-05 Alexander Larsson <alexl@redhat.com>
955 Make cancellation threadsafe (i.e.
956 guarantee its only done once, and always
959 * glocaldirectorymonitor.c:
960 Make sure we the monitor lives while the
961 mounts_changed callback is being called (#520484)
963 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
965 * gbufferedinputstream.c: Fix typo in parameter
968 2008-03-04 Alexander Larsson <alexl@redhat.com>
971 Remove deprecated symbols we kept for one release.
973 2008-03-04 Murray Cumming <murrayc@murrayc.com>
976 * goutputstream.c: Tiny documentation corrections.
978 2008-03-03 Alexander Larsson <alexl@redhat.com>
980 * gunionvolumemonitor.c:
982 Fix the adopt_orphan_mount vfunc to take a
983 volume_monitor reference in an ABI compat way.
984 This change is not API compat, but the added
985 arg is not used in the only user of this vfunc, so
986 all we get is a harmless warning in gvfs (#520169)
988 2008-03-01 Benjamin Otte <otte@gnome.org>
991 clarify docs for g_file_delete().
993 2008-02-29 Alexander Larsson <alexl@redhat.com>
997 Make sure empty files get text/plain type (#518720)
999 2008-02-27 Alexander Larsson <alexl@redhat.com>
1005 (g_unix_volume_mount):
1006 Add missing GMountMountFlags argument
1008 2008-02-26 Alexander Larsson <alexl@redhat.com>
1011 (g_local_file_delete):
1012 Handle filesystems (like ntfs-3g) that return EEXIST instead
1013 of ENOTEMPTY (#518816)
1015 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1017 * === Released 2.15.6 ===
1019 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1021 * gfile.c (g_file_find_enclosing_mount):
1022 * ginputstream.c (g_input_stream_set_pending):
1023 * glocalfile.c (g_local_file_find_enclosing_mount):
1024 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1025 * goutputstream.c (g_output_stream_set_pending):
1027 Fixup translator comments (#518578).
1029 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1031 * gfile.c (g_file_find_enclosing_mount):
1033 * glocalfile.c (g_local_file_find_enclosing_mount):
1036 Fix a few typos in translator comments and documentation.
1038 2008-02-25 Alexander Larsson <alexl@redhat.com>
1045 Add translator comments (#518578)
1047 2008-02-25 Alexander Larsson <alexl@redhat.com>
1050 Reintroduce g_file_contains_file, keep around for one
1051 unstable release cycle to avoid crashing to many apps.
1052 Make sure to delete after release.
1054 2008-02-25 Alexander Larsson <alexl@redhat.com>
1057 Remove deprecated g_file_contains_file.
1059 2008-02-25 Alexander Larsson <alexl@redhat.com>
1062 Emit actual change signals in an idle handler.
1063 This avoids reentrance and locking problems in
1064 the file notification backends.
1066 2008-02-25 Alexander Larsson <alexl@redhat.com>
1069 (g_unix_mount_guess_should_display):
1070 Remove type guessing, instead just display
1071 mounts in /media and in ~/.
1073 2008-02-25 Alexander Larsson <alexl@redhat.com>
1076 Make new strings reuse old ones.
1078 2008-02-25 Alexander Larsson <alexl@redhat.com>
1081 Implement trashing and filesystem::readonly for win32 (#517235)
1082 Patch from Yevgen Muntyan
1084 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1086 * gfileinfo.h: Documentation fixes.
1088 2008-02-22 Alexander Larsson <alexl@redhat.com>
1090 * gcontenttype.c (g_content_type_get_icon):
1091 Look at old-style gnome mime icon names too, as many
1092 have not moved to the new style.
1094 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1096 * *.c: Correct the @include in for section docs.
1098 2008-02-21 David Zeuthen <davidz@redhat.com>
1100 * glocalfileinfo.c: (_g_local_file_info_get):
1102 (g_content_type_get_icon): Implement this function by
1103 moving bits from glocalfileinfo.c
1104 (g_content_type_get_description): Unalias before getting
1105 description (#517687)
1107 * gfile.c: (g_file_class_init),
1108 (g_file_query_filesystem_info_async),
1109 (g_file_query_filesystem_info_finish),
1110 (query_filesystem_info_data_free),
1111 (query_filesystem_info_async_thread),
1112 (g_file_real_query_filesystem_info_async),
1113 (g_file_real_query_filesystem_info_finish):
1114 * gfile.h: Implement async version of
1115 g_file_query_filesystem_info()
1117 * gfileinfo.h: Add new attributes for filesystem::use-preview
1119 * gio.symbols: Update
1121 * gthemedicon.c: (g_themed_icon_append_name):
1122 * gthemedicon.h: Add new new convenience function.
1124 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1125 (get_mounts), (get_volumes), (get_connected_drives),
1126 (get_volume_for_uuid), (get_mount_for_uuid),
1127 (g_union_volume_monitor_init), (populate_union_monitor),
1128 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1129 (g_volume_monitor_adopt_orphan_mount):
1131 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1132 monitor implementations to call into the main volume monitor. Also
1133 separate object initialization and volume monitor initialization
1134 such that non-native volume monitors can properly adopt their
1137 2008-02-21 Alexander Larsson <alexl@redhat.com>
1142 2008-02-21 Alexander Larsson <alexl@redhat.com>
1145 Add more documentation about how GFiles work (from #517086)
1147 2008-02-21 Alexander Larsson <alexl@redhat.com>
1151 Add new g_file_has_prefix that does the same as g_file_contains_file.
1152 Deprecate g_file_contains_file and add a macro that converts
1153 it to g_file_has_prefix.
1154 The reason for this change is that the contains_file() name seems to
1155 imply that this does more work than what it does, but its really only
1156 a name match (from #517086)
1161 Update to match the above change.
1163 2008-02-20 Benjamin Otte <otte@gnome.org>
1165 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1166 (g_file_eject_mountable):
1167 even more cases of not returning in error path
1169 2008-02-20 Benjamin Otte <otte@gnome.org>
1171 * gfile.c: (g_file_mount_mountable):
1172 return from function in error path.
1174 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1177 Remove trailing coma in GMountMountFlags struct
1179 2008-02-18 Alexander Larsson <alexl@redhat.com>
1183 * glocalfileoutputstream.c:
1184 Use g_unlink/g_rename instead of unlink/rename;
1185 do not pass raw filenames to g_set_error. (#517239)
1186 Patch from Yevgen Muntyan.
1188 2008-02-18 Alexander Larsson <alexl@redhat.com>
1191 * glocalfileoutputstream.c:
1192 Open files with O_BINARY on windows. (#517140)
1194 2008-02-14 Alexander Larsson <alexl@redhat.com>
1196 * glocalfileoutputstream.c:
1197 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1199 2008-02-14 Alexander Larsson <alexl@redhat.com>
1202 Copy permissions with file on copy (#514084)
1203 This is what cp does and makes sure e.g. the
1204 exec permissions are kept.
1205 Its kinda weird in that it keeps the permission bits
1206 the same while the uid and gid are different. However
1207 the new uid is the user so its not a security issue,
1208 and I've heard no complaints about cp on this issue.
1210 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1212 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1214 2008-02-13 Alexander Larsson <alexl@redhat.com>
1216 * inotify/inotify-path.c:
1217 Define IN_ONLYDIR if not in header (#515346)
1219 2008-02-12 Alexander Larsson <alexl@redhat.com>
1221 * tests/live-g-file.c:
1224 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1226 * === Released 2.15.5 ===
1228 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1230 * gio.symbols: Add g_mount_mount_flags_get_type.
1232 2008-02-11 Alexander Larsson <alexl@redhat.com>
1235 (g_file_info_set_attribute_mask):
1236 (g_file_attribute_matcher_matches_id):
1237 Correctly handle NULL GAttributeMatcher meaning
1238 matches nothing. (Fixes #513492)
1240 2008-02-11 Alexander Larsson <alexl@redhat.com>
1245 Added GMountMountFlags enum and added a flags
1246 argument to all mount calls.
1248 This is an API/ABI change for future extensibility,
1249 as I think we will need at least an
1250 inhibit-autorun flag (the panel needs this).
1251 There are no flags defined yet though.
1253 2008-02-11 Alexander Larsson <alexl@redhat.com>
1256 Added new standard::description attribute.
1257 Requested by Vincent, and useful for both
1260 2008-02-11 Alexander Larsson <alexl@redhat.com>
1262 * gdesktopappinfo.c:
1265 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1267 * *.c: Documentation additions
1269 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1271 * gappinfo.h: Formatting cleanup
1272 * gappinfo.c: Fix up docs.
1274 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1276 * gunixmounts.c: Consistently use getmntent_r() and fall
1277 back to getmntent(). (#515492)
1279 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1281 * gbufferedinputstream.c:
1283 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1285 * tests/data-input-stream.c:
1286 * tests/data-output-stream.c: Portability fixes.
1288 2008-02-08 Alexander Larsson <alexl@redhat.com>
1293 Add g_volume_should_automount.
1296 2008-02-07 Tor Lillqvist <tml@novell.com>
1298 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1299 Win32, too Unix-specific.
1301 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1303 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1304 a local plt if the compiler doesn't support what we want. Bug #514702
1306 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1308 reviewed by: <delete if not using a buddy>
1311 * gunixinputstream.c:
1312 * gunixoutputstream.c:
1314 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1316 * tests/Makefile.am:
1317 * tests/live-g-file.c:
1318 * tests/live-g-file.txt:
1319 New GIO testing module working over real data
1321 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1323 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1324 Fallback to rename() if link() is not available
1325 (when no support on target filesystem)
1327 2008-02-06 Michael Natterer <mitch@imendio.com>
1329 * gfileinfo.c (g_file_info_get_icon): replace
1330 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1332 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1334 * gfile.c (g_file_create):
1335 Documentation update of error codes
1337 2008-02-06 Alexander Larsson <alexl@redhat.com>
1339 * gdesktopappinfo.c:
1340 Update to use both mimeapps.list and
1341 defaults.list as discussed on xdg list.
1343 2008-02-06 Benjamin Otte <otte@gnome.org>
1346 * gfilenamecompleter.c:
1347 Fix some typos in the documentation.
1349 2008-02-06 Alexander Larsson <alexl@redhat.com>
1351 * glocalfile.c (g_local_file_trash):
1352 Don't succeed with trash if newly created
1353 trash dir has the wrong owner. (#514696)
1355 2008-02-05 Alexander Larsson <alexl@redhat.com>
1357 * glocalfile.c (g_local_file_move):
1358 Don't spew warnings when destination is not
1361 2008-02-03 Hans Breuer <hans@breuer.org>
1363 * makefile.msc : update
1365 2008-02-01 Michael Natterer <mitch@imendio.com>
1367 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1368 return value of xdg_mime_list_mime_parents() to a variable of the
1371 2008-02-01 Alexander Larsson <alexl@redhat.com>
1373 * gappinfo.c (g_app_info_launch_uris):
1374 Actually call the launch_uris method, not
1377 2008-02-01 Alexander Larsson <alexl@redhat.com>
1379 * gdesktopappinfo.c (g_desktop_app_info_equal):
1380 Ensure appinfos with no id but same pointer value
1383 2008-02-01 Alexander Larsson <alexl@redhat.com>
1385 * gappinfo.c (g_app_info_launch_default_for_uri):
1388 2008-02-01 Alexander Larsson <alexl@redhat.com>
1392 Add g_app_info_launch_default_for_uri utility
1395 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1397 * gdesktopappinfo.c:
1398 Doc fix for g_app_info_get_default_for_uri_scheme ()
1401 2008-01-30 Alexander Larsson <alexl@redhat.com>
1404 Add doc comment about uris vs GFiles to
1407 * gdesktopappinfo.c:
1408 Ensure uris passed to g_app_info_launch_uris()
1409 are not roundtriped through GFile (as that
1410 may be slightly destructive for e.g. mailto: links)
1412 2008-01-30 Alexander Larsson <alexl@redhat.com>
1414 * tests/data-input-stream.c:
1415 * tests/data-output-stream.c:
1416 C89 fixes from Jens Granseuer (#512849)
1418 2008-01-30 Alexander Larsson <alexl@redhat.com>
1421 Fix gamin/fam difference build issue. (#509419)
1423 2008-01-29 Alexander Larsson <alexl@redhat.com>
1426 * gdesktopappinfo.c:
1427 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1429 2008-01-29 Alexander Larsson <alexl@redhat.com>
1431 * gdesktopappinfo.c:
1432 * gdesktopappinfo.h:
1433 giomodule-priv.h include moved to .c file.
1435 2008-01-29 Alexander Larsson <alexl@redhat.com>
1437 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1438 Remove unused prio/name fields.
1440 2008-01-29 Alexander Larsson <alexl@redhat.com>
1442 * gcontenttype.c (looks_like_text):
1443 Don't treat whitespace as control chars.
1445 2008-01-29 Alexander Larsson <alexl@redhat.com>
1447 * gdesktopappinfo.c:
1448 Lazily create the desktop files for appinfos created
1449 by g_app_info_create_from_commandline() when needed
1450 for mime associations. This allows run-time use
1451 of GAppInfo object without creating unnecessary
1454 2008-01-29 Alexander Larsson <alexl@redhat.com>
1457 Added new symbols to gio.symbols
1459 2008-01-29 Alexander Larsson <alexl@redhat.com>
1462 Add g_file_query_default_handler utility to easily look up
1463 the GAppInfo that handles a file.
1465 * gdesktopappinfo.[ch]:
1467 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1470 Remove unused function
1472 2008-01-29 Alexander Larsson <alexl@redhat.com>
1474 * gfileenumerator.c:
1475 Mention need to free returned value in
1476 g_file_enumerator_next_files_finish docs.
1477 Fix leak if g_file_enumerator_next_files_finish()
1480 2008-01-29 Alexander Larsson <alexl@redhat.com>
1483 (_g_unix_content_type_get_parents):
1484 Use list_parents, not get_parents from xdgmime, because
1485 the later doesn't use the cache.
1487 * xdgmime/xdgmimecache.c:
1488 (_xdg_mime_cache_list_mime_parents):
1489 Don't list the same type as parent multiple times.
1491 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1493 * === Released 2.15.4 ===
1495 2008-01-28 Alexander Larsson <alexl@redhat.com>
1498 Register local vfs with prio 0.
1501 Remove old name and prio class members
1503 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1505 * tests/g-file.c: Disable some tests that are failing in
1506 the absence of a http backend.
1508 2008-01-28 Alexander Larsson <alexl@redhat.com>
1512 Add registration hooks for extension points.
1513 Register the gio extension points.
1515 * fam/gfamdirectorymonitor.c:
1516 * fam/gfamfilemonitor.c:
1517 * glocaldirectorymonitor.[ch]:
1518 * glocalfilemonitor.[ch]:
1519 * gnativevolumemonitor.h:
1520 * gunionvolumemonitor.c:
1521 * gunixvolumemonitor.c:
1524 * inotify/ginotifydirectorymonitor.c:
1525 * inotify/ginotifyfilemonitor.c:
1526 Use the extension points registration instead
1527 of g_type_children().
1529 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1532 * gvolume.[hc]: Document new API.
1534 * gfile.c (g_file_copy_async): Fix docs
1536 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1538 * gbufferedinputstream.c:
1540 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1543 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1545 * glocalfile.c: Avoid trivial differences in translatable strings.
1547 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1549 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1550 build with gcc 3.4 (#509419)
1552 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1554 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1555 (#509994, Murray Cumming)
1557 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1559 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1560 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1561 this allows big jobs to be executed in chunks, instead of blocking
1562 the main loop for a long time.
1564 * gsimpleasyncresult.c:
1565 * giofile.c: Adapt callers.
1567 2008-01-25 Alexander Larsson <alexl@redhat.com>
1569 * gdesktopappinfo.c:
1570 Implement changes discussed on xdg list.
1571 Now we can add supported mimetypes by just using defaults.list
1572 We can also remove associations in defaults.list.
1574 2008-01-25 Alexander Larsson <alexl@redhat.com>
1576 * gdesktopappinfo.c:
1577 Don't make local copy of desktop file
1578 for mimetype changes if the file already
1579 supports the new mimetype.
1581 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1585 * gbufferedinputstream.c:
1586 * glocalfile.c: String improvements. (#511966,
1587 Theppitak Karoonboonyanan)
1589 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1591 * gioscheduler.h: Expand docs a bit.
1593 2008-01-24 Alexander Larsson <alexl@redhat.com>
1596 Add g_drive_get_identifier and
1597 g_drive_enumerate_identifiers
1600 Add g_volume_get_identifier and
1601 g_volume_enumerate_identifiers
1607 Implement identifiers for unix backend
1609 2008-01-24 Alexander Larsson <alexl@redhat.com>
1614 Add g_file_copy_async() (#511580)
1615 Based on patch from Carlos Garcia Campos
1617 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1619 * gioscheduler.c: Some documentation additions.
1621 2008-01-22 Alexander Larsson <alexl@redhat.com>
1623 * gdesktopappinfo.c:
1624 (g_desktop_app_info_new):
1625 Don't leak basename.
1627 2008-01-22 Alexander Larsson <alexl@redhat.com>
1629 * gdesktopappinfo.c:
1630 (g_desktop_app_info_new_from_filename):
1633 2008-01-22 Alexander Larsson <alexl@redhat.com>
1635 * glocalfileinfo.c (get_thumbnail_attributes):
1638 2008-01-22 Alexander Larsson <alexl@redhat.com>
1641 (canonicalize_filename):
1642 Canonicalize paths that start with more than
1646 (compare_two_files):
1647 (test_g_file_new_for_path):
1650 2008-01-22 Alexander Larsson <alexl@redhat.com>
1653 Allow UTF-8 in file:// parse names.
1655 * tests/Makefile.am:
1656 * tests/data-input-stream.c:
1657 * tests/data-output-stream.c:
1658 * tests/g-file-info.c:
1660 Added a bunch of tests from Tomas Bzatek
1662 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1664 * === Released 2.15.3 ===
1666 2008-01-21 Alexander Larsson <alexl@redhat.com>
1668 * gfileinputstream.[ch]:
1669 * gfileoutputstream.[ch]:
1671 Remove duplicated GSeekable functions. (#509990)
1672 Just use the g_seekable_xxx() calls instead.
1674 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1677 * gvolumemanager.c: Whitespace cleanups.
1679 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1680 Use the right mode when creating the file.
1682 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1684 * gfileenumerator.c:
1685 * gfileinputstream.c:
1687 * goutputstream.c: Documentation: Fixed minor typos
1688 and added more mentions of specific _finish() functions.
1690 2008-01-21 Alexander Larsson <alexl@redhat.com>
1692 * inotify/Makefile.am:
1693 * inotify/inotify-helper.c:
1694 * inotify/inotify-kernel.c:
1695 * inotify/inotify-path.c:
1696 * inotify/local_inotify.h: Removed.
1697 * inotify/local_inotify_syscalls.h: Removed.
1698 Removed the included copies of the inotify
1699 headers. We now only use the <sys/inotify.h>
1700 header which exists on modern systems.
1701 This fixes problems on ARM and SH5 (#510448)
1702 but is also generally much cleaner and future
1703 safe. For instance, if other OSes add support
1704 for inotify it should "just work".
1706 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1708 * inotify/*.c: Coding style fixes.
1709 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1710 for the 1/4 Hz timer.
1712 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1715 * gfilemonitor.[hc]:
1716 * gmemoryinputstream.c:
1717 * gmemoryoutputstream.c:
1718 * gmountoperation.c:
1719 * gthemedicon.c: Documentation updates
1721 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1723 * gfile.c: documentation: Fixed more minor
1726 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1728 * gmount.c: (g_mount_remount): documentation:
1729 Mention g_mount_remount_finish() instead of
1730 g_mount_unmount_finish().
1732 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1736 * gfile.c: Fixed some minor typos in the
1739 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1741 * gio/gvolumemonitor.c:
1742 (g_volume_monitor_get_connected_drives):
1743 (g_volume_monitor_get_volumes):
1744 (g_volume_monitor_get_mounts): Documentation:
1745 Clarify the ownership of the regurn GLists.
1747 2008-01-17 Alexander Larsson <alexl@redhat.com>
1750 Add the async find_enclosing_mount version
1751 to the header file too.
1753 2008-01-17 Alexander Larsson <alexl@redhat.com>
1756 Add async version of find_enclosing_mount
1757 with default implementation.
1759 2008-01-17 Alexander Larsson <alexl@redhat.com>
1764 Allow calls to implementation of copy and write
1765 even if the type of the file implementations is
1766 different. This can be used to implement native
1767 upload and download calls in a vfs.
1770 (g_local_file_move):
1771 Protect against the case where move is called
1772 with one file not being local.
1774 Make sure we call the progress callback once
1775 in the native move operation so that the caller
1776 knows how many bytes were copied.
1778 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1781 * gdatainputstream.c:
1783 * gfileoutputstream.c:
1788 * gunixmounts.c: Corrected some typos in the documentation:
1789 occured -> occurred.
1790 its -> it's (where appropriate).
1792 2008-01-16 Alexander Larsson <alexl@redhat.com>
1796 Add g_file_query_exists (#508771)
1798 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1803 * gvolume.c: For async functions that have no non-async
1804 version, document that the GAsyncReadyCallback may be NULL.
1807 2008-01-15 Alexander Larsson <alexl@redhat.com>
1809 * gmemoryinputstream.c:
1810 * gmemoryoutputstream.c:
1811 Don't do pointer arithmetic on void * (#508602)
1812 Patch from Kazuki IWAMOTO
1814 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1816 * === Released 2.15.2 ===
1818 2008-01-14 Alexander Larsson <alexl@redhat.com>
1820 * gfile.c (g_file_monitor_file):
1821 Don't set error here, since we fallback to polling monitor.
1823 2008-01-14 Alexander Larsson <alexl@redhat.com>
1826 (g_file_monitor_directory):
1827 (g_file_monitor_file):
1828 Add GError to file monitor calls
1830 * glocaldirectorymonitor.c:
1831 * glocaldirectorymonitor.h:
1833 * glocalfilemonitor.c:
1834 * glocalfilemonitor.h:
1836 Update for above change
1838 2008-01-14 Alexander Larsson <alexl@redhat.com>
1842 Handle root correctly in g_file_get_relative_path (#508719)
1844 2008-01-14 Alexander Larsson <alexl@redhat.com>
1847 Clean up docs and example for GAsyncResult (#508074)
1849 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1851 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1852 and correct some spelling mistakes. Bug #508108.
1854 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1856 * glocalfileinfo.c: Add a comment.
1858 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1860 * gfileinfo.c: GFileInfo description: Mention
1861 how to actually set attributes in a GFile and how to discover
1862 which attributes are settable. Bug #508378.
1864 2008-01-10 A. Walton <awalton@svn.gnome.org>
1866 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1867 (g_app_info_get_default_for_type):
1868 Check for NULL content types.
1870 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1872 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1874 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1876 * gfile.c: *_async() functions: Several small corrections
1877 to the documentation, mostly correcting copy/paste errors
1878 and improving some sentences.
1880 2008-01-09 Dan Winship <danw@gnome.org>
1882 * glocalfile.c (get_unique_filename): x86_64 fix
1884 2008-01-09 Alexander Larsson <alexl@redhat.com>
1889 Add g_unix_mount_guess_should_display and use
1890 for unix volume monitor backend.
1891 This means we more or less show what the
1892 gnome-vfs backend did.
1893 Based on patch from Padraig O'Briain
1895 2008-01-09 Alexander Larsson <alexl@redhat.com>
1899 Add g_themed_icon_new_with_default_fallbacks
1902 Use default fallbacks for icons
1904 2008-01-09 Alexander Larsson <alexl@redhat.com>
1907 * gmountoperation.[ch]:
1908 Change the API a bit so that unhandled methods
1909 get reported via the reply, rather than by
1910 the signal emission return value. This is because
1911 some handlers can't know this immediately without
1912 doing I/O, and this is an async operation that
1915 2008-01-09 Alexander Larsson <alexl@redhat.com>
1918 * fam/gfamdirectorymonitor.c:
1919 * fam/gfamfilemonitor.c:
1920 Fix double free crash (#508224)
1921 Patch from Joe Marcus Clarke
1923 008-01-07 Matthias Clasen <mclasen@redhat.com>
1925 * === Released 2.15.1 ===
1927 2008-01-07 Alexander Larsson <alexl@redhat.com>
1929 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1930 Fix warning (#507835)
1932 2008-01-07 Alexander Larsson <alexl@redhat.com>
1935 Pass --internal to glib-genmarshal
1938 * gmountoperation.c:
1940 Use better types for signal arguments (#507822)
1942 2008-01-07 Alexander Larsson <alexl@redhat.com>
1945 Build test subdir after .
1946 Remove gdirectorymonitor.[ch]
1948 * gdirectorymonitor.[ch]:
1952 Remove GDirectoryMonitor and make
1953 GFileMonitor the baseclass for both file and
1954 directory monitors. Lift the more generic
1955 rate limiting code from GDirectoryMonitor
1959 * fam/gfamdirectorymonitor.[ch]:
1960 * inotify/ginotifydirectorymonitor.[ch]:
1961 * inotify/inotify-helper.c:
1962 * glocaldirectorymonitor.[ch]:
1965 Update for the removed GDirectoryMonitor.
1967 * gmemoryoutputstream.c:
1968 Remove ununsed variable
1970 2008-01-07 Alexander Larsson <alexl@redhat.com>
1972 * gmemoryinputstream.c:
1973 Translate error strings
1976 * gmemoryoutputstream.[ch]:
1977 New implementation that avoids using GByteArray
1978 in implementation and API. (#506377)
1980 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1982 * tests/*: Add a test for memory input streams.
1984 * Makefile.am: Add tests to SUBDIRS.
1986 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1988 * glocalfilemonitor.c:
1989 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1992 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1994 * gdesktopappinfo.c: Fix a docs typo.
1996 * gfileattribute.c: Add information about extended attributes
1997 to the documentation. (#505058)
1999 2008-01-04 Alexander Larsson <alexl@redhat.com>
2002 * gmountoperation.c:
2003 Use the right type (uint) for the ask_password signal.
2005 2008-01-04 Alexander Larsson <alexl@redhat.com>
2010 Add g_app_info_supports_files()
2011 Remove desktop arg from g_app_info_should_show().
2013 * gdesktopappinfo.[ch]:
2014 Implement g_app_info_supports_files() and new should_show()
2015 Add g_desktop_app_info_set_desktop_env() to set the desktop
2016 for should_show(). (This will be set by gtk+ later)
2018 2008-01-04 Alexander Larsson <alexl@redhat.com>
2021 * gmemoryinputstream.[ch]:
2022 Improve API so that you can use multiple chunks
2023 of memory and custom destroy functions. (#506374)
2025 2008-01-03 Alexander Larsson <alexl@redhat.com>
2028 Handle NULL attribute matchers safely, as we return this
2029 for empty attribute matcher strings.
2031 2008-01-03 Alexander Larsson <alexl@redhat.com>
2033 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2034 Add /usr/local to list of internal mountpoints
2036 2008-01-03 Alexander Larsson <alexl@redhat.com>
2039 Check for HAVE_LCHOWN (#505887)
2041 2008-01-03 Alexander Larsson <alexl@redhat.com>
2045 Add define for selinux context attribute.
2046 Fix missing : -> :: namespace separator change
2047 Fix missing _ -> - name change for xattr-sys.
2050 2008-01-03 Alexander Larsson <alexl@redhat.com>
2053 Link to libglib and libgobject directly (#504879)
2054 Patch from Sebastien Bacher
2056 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2058 * gfile.c: Expanded the g_file_new_for_commandline_arg
2059 description a bit, based on the code and the docs of the
2060 other g_file_new_for_* functions.
2062 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2064 * gfilemonitor.h: Fixed typo in docs.
2066 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2068 Updates to GIO documentation. (#506395, Mikael Hermansson)
2070 * gcontenttype.c: Describe memory management for return value of
2071 g_content_types_get_registered(). Missing piece from #505815.
2072 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2073 GVolume, GDrive, GMounts, which hopefully gives the user less
2074 confusions when using this API. Following explainations from
2075 Alexander Larsson on gtk-devel-list.
2077 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2079 * gfileinfo.c: Expand the long description.
2081 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2084 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2085 fix builds with --disable-visibility. (#500273, Christian Persch)
2087 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2089 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2090 in the list of returned app infos.
2092 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2094 * gappinfo.c: Fix a cross-reference
2096 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2098 * gfileinputstream.c:
2099 * gfileoutputstream.c:
2103 * gdesktopappinfo.c:
2105 * gfileinfo.c: Documentation updates.
2107 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2109 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2112 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2114 * gcontenttype.c (g_content_types_get_registered): Don't return
2115 freed memory (#505815, Mikael Hermansson)
2117 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2119 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2120 used to detect statbuf->st_blocks. (#505042)
2122 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2124 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2125 environment handling. (#504829, Cosimo Cecchi)
2127 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2129 * gappinfo.c: Doc improvements
2131 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2134 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2136 * === Released 2.15.0 ===
2138 2007-12-20 Hans Breuer <hans@breuer.org>
2140 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2141 with symbols gwin32appinfo.obj, added gmount.obj
2142 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2144 2007-12-20 Alexander Larsson <alexl@redhat.com>
2150 * gfilenamecompleter.c:
2153 * gpollfilemonitor.c:
2154 File attribute renames:
2156 fs:: -> filesystem::
2157 id::fs -> id::filesystem
2159 2007-12-20 Alexander Larsson <alexl@redhat.com>
2168 Add GMountUnmountFlags to all unmount and
2170 Add g_mount_remount() call.
2172 2007-12-20 Alexander Larsson <alexl@redhat.com>
2174 * gvfs.c (get_default_vfs):
2175 Fix unused variable warning
2177 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2179 * pltcheck.sh: Update
2181 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2183 * gunionvolumemonitor.c:
2184 * gunixmount.c: Remove C99 comments
2186 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2188 * gio.symbols: Add some missing symbols
2190 2007-12-19 Alexander Larsson <alexl@redhat.com>
2193 Make g_io_modules_load_all_in_directory not unuse
2194 loaded modules so that users of it can do stuff
2196 Init internal "module" types.
2197 Initialize static prio and name for types so that
2198 we don't have to load modules to get it.
2200 * gnativevolumemonitor.h:
2202 Move is_supported to parent class so that
2203 non-native monitors can avoid being initialized
2204 too. (For instance GDaemonVolumeMonitor if we're
2205 not using GDaemonVfs.)
2207 * glocaldirectorymonitor.[ch]:
2208 * glocalfilemonitor.[ch]:
2209 * gunionvolumemonitor.c:
2210 * gunixvolumemonitor.c:
2212 Find plugins using the static prio+name to
2213 avoid unnecessarily loading the modules.
2215 2007-12-19 Alexander Larsson <alexl@redhat.com>
2220 2007-12-19 Alexander Larsson <alexl@redhat.com>
2222 * gunionvolumemonitor.c:
2223 Store the native type as GType, not class so that
2224 we can unload it. But still avoid unnecessarily
2227 2007-12-19 David Zeuthen <davidz@redhat.com>
2229 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2230 add signals 'disconnected' and 'eject-button' on GDrive. Add
2231 signal 'removed' on GVolume and 'unmounted' on GMount.
2233 * gdrive.c: (g_drive_base_init):
2235 * gfile.c: (g_file_mount_mountable),
2236 (g_file_mount_enclosing_volume):
2239 * gmount.c: (g_mount_base_init):
2241 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2242 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2243 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2247 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2249 * *.c: Fix up includes in the section docs.
2251 2007-12-17 Alexander Larsson <alexl@redhat.com>
2253 * gnativevolumemonitor.h:
2254 * gunionvolumemonitor.c:
2255 * gunixvolumemonitor.c:
2256 Add is_supported() to GNativeVolumeMonitorClass so
2257 that we can avoid having to create an object to see
2258 if the backend is supported at runtime.
2259 Also add name member and an env var to pick a specific
2260 volume monitor backend.
2264 Add cancellable to _g_mount_get_for_mount_path()
2266 * glocaldirectorymonitor.c:
2267 * glocalfilemonitor.c:
2268 Avoid loading and unloading modules while sorting.
2270 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2273 * gunixmounts.[hc]: Namespace waste reduction, move some
2274 g_get_unix_mount functions to the g_unix_mount namespace.
2277 * gunixvolumemonitor.c:
2279 * glocaldirectorymonitor.c: Update all callers.
2281 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2283 2007-12-17 Alexander Larsson <alexl@redhat.com>
2286 Add doc comments about what GFile operations are
2287 guaranteed to not block.
2289 2007-12-17 Alexander Larsson <alexl@redhat.com>
2292 Add missing #ifdef fixing OSX build.
2293 (#503334, patch from Richard Hult)
2295 2007-12-14 David Zeuthen <davidz@redhat.com>
2299 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2300 (g_mount_eject), (g_mount_eject_finish):
2302 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2303 (get_volume_for_uuid), (get_mount_for_uuid),
2304 (g_union_volume_monitor_class_init),
2305 (get_default_native_type_with_exclude), (get_default_native_type),
2306 (get_native_type), (update_native_type),
2307 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2308 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2309 (g_unix_mount_can_eject), (eject_unmount_cb),
2310 (eject_unmount_read_error), (eject_unmount_do),
2311 (g_unix_mount_unmount), (g_unix_mount_eject),
2312 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2313 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2314 (g_unix_mount_point_guess_can_eject):
2316 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2317 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2318 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2319 (g_unix_volume_mount), (g_unix_volume_eject),
2320 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2321 * gunixvolumemonitor.c: (get_volume_for_uuid),
2322 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2324 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2325 (g_volume_eject), (g_volume_eject_finish):
2327 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2328 (g_volume_monitor_get_mount_for_uuid):
2331 Provide eject() on both GMount and GVolume and utility functions
2332 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2333 ejected. Introduce the concept of UUID's and wire it into GVolume
2334 and GMount and provide API on GVolumeMonitor to find such
2335 instances. Also handle the case where an external
2336 GNativeVolumeMonitor fails to initialize. Lock around the
2337 _g_get_mount_for_mount_path() function such that volume monitor
2338 implementations won't have to do locking themselves.
2340 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2342 * gdesktopappinfo.c:
2348 * gvolume.h: Documentation updates
2350 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2353 * gfile.h: Doc updates
2355 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2358 * gdesktopappinfo.c: Use hash table iterators.
2360 2007-12-14 Alexander Larsson <alexl@redhat.com>
2363 * gfileattribute.[ch]:
2364 * gfileattribute-priv.h:
2365 Move GFileAttributeValue to a private header, as
2369 Make set_attribute take a type + a pointer instead
2370 of a GFileAttributeValue.
2373 Fix up for above changes.
2374 Add g_file_info_get_attribute_data to get
2375 all info in one call, g_file_info_get_attribute_status
2376 to get the status and g_file_info_get_attribute_as_string.
2380 * glocalfileinfo.[ch]:
2384 Make _guess_type static.
2386 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2389 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2390 made mkenums and friends use temporary files to avoid leaving
2391 empty generated files on failure (#503470).
2393 2007-12-14 Alexander Larsson <alexl@redhat.com>
2395 * gmountoperation.h:
2398 2007-12-14 Alexander Larsson <alexl@redhat.com>
2402 * gfileattribute.[ch]:
2405 * glocalfileoutputstream.c:
2406 * gmountoperation.[ch]:
2407 * goutputstream.[ch]:
2408 Clean up all flags enums to not have _FLAGS in them
2409 Make the names of some of the enums better.
2414 2007-12-14 Michael Natterer <mitch@imendio.com>
2416 * gio.symbols: fix g_io_scheduler symbol names.
2418 2007-12-14 Alexander Larsson <alexl@redhat.com>
2424 * gbufferedinputstream.h:
2425 * gbufferedoutputstream.h:
2428 * gdatainputstream.h:
2429 * gdataoutputstream.h:
2430 * gdesktopappinfo.h:
2431 * gdirectorymonitor.h:
2435 * gfileenumerator.h:
2438 * gfileinputstream.h:
2440 * gfilenamecompleter.h:
2441 * gfileoutputstream.h:
2442 * gfilterinputstream.h:
2443 * gfilteroutputstream.h:
2451 * gmemoryinputstream.h:
2452 * gmemoryoutputstream.h:
2454 * gmountoperation.h:
2457 * gsimpleasyncresult.h:
2459 * gunixinputstream.h:
2461 * gunixoutputstream.h:
2465 * inotify/Makefile.am:
2466 Only allow including <gio/gio.h> from apps
2468 2007-12-14 Alexander Larsson <alexl@redhat.com>
2470 * gioscheduler.[ch]:
2471 * gsimpleasyncresult.c:
2472 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2473 Split out the send_to_mainloop call into two versions instead
2474 of having the block argument.
2476 2007-12-13 Alexander Larsson <alexl@redhat.com>
2478 * gcancellable.[ch]:
2480 * gbufferedinputstream.c:
2481 * gfileenumerator.c:
2482 * gfileinputstream.c:
2483 * gfileoutputstream.c:
2487 g_push/pop_current_cancellable ->
2488 g_cancellable_push/pop_current
2490 2007-12-13 Alexander Larsson <alexl@redhat.com>
2494 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2496 2007-12-13 Alexander Larsson <alexl@redhat.com>
2498 * gmountoperation.h:
2499 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2501 2007-12-12 Alexander Larsson <alexl@redhat.com>
2504 Fix race condition when freeing proxy in
2505 g_io_job_send_to_mainloop().
2507 2007-12-12 Alexander Larsson <alexl@redhat.com>
2513 Make attribute namespace separator "::" instead of ":".
2514 Use - instead of _ as separator in attribute names.
2516 2007-12-12 Alexander Larsson <alexl@redhat.com>
2518 * gbufferedinputstream.h:
2519 * gbufferedoutputstream.h:
2520 * gdatainputstream.h:
2521 * gdataoutputstream.h:
2522 * gdirectorymonitor.h:
2523 * gfileenumerator.h:
2524 * gfileinputstream.h:
2526 * gfileoutputstream.h:
2527 * gfilterinputstream.h:
2528 * gfilteroutputstream.h:
2530 * glocalfileinputstream.h:
2531 * glocalfileoutputstream.h:
2532 * gmemoryinputstream.h:
2533 * gmemoryoutputstream.h:
2534 * gnativevolumemonitor.h:
2536 * gunixinputstream.h:
2537 * gunixoutputstream.h:
2540 s/parent/parent_instance/ in GObjects
2542 2007-12-12 Alexander Larsson <alexl@redhat.com>
2547 No need for padding for interfaces
2549 2007-12-12 Alexander Larsson <alexl@redhat.com>
2553 * gbufferedinputstream.c:
2554 * gbufferedoutputstream.c:
2557 * gdatainputstream.[ch]:
2558 * gdesktopappinfo.c:
2559 * gdirectorymonitor.c:
2561 * gfileattribute.[ch]:
2564 * gfileinputstream.h:
2565 * gfilemonitor.[ch]:
2566 * gfileoutputstream.[ch]:
2567 * gfilterinputstream.h:
2568 * gfilteroutputstream.h:
2571 * gloadableicon.[ch]:
2572 * gmemoryinputstream.c:
2573 * gmountoperation.c:
2575 Fix up a bunch of details in the docs.
2580 2007-12-11 David Zeuthen <davidz@redhat.com>
2582 Rework how volumes, drives and volume monitoring is
2583 done. Previosly the model was
2585 GDrive <1-1> GVolume
2587 where a GDrive instance represented a mount point and a GVolume
2588 instance represented a mounted file system. This patch changes it
2591 GDrive <1-N> GVolume <1-1> GMount
2593 where GMount now serves the purpose of the old GVolume and the new
2594 GVolume serves the purpose of the old GDrive. In addition the new
2595 GDrive interface is used to represent a collection of GVolume
2596 instances (typically partitions) and also contains utility to query
2597 the state of the physical drive the GDrive object represents (such
2598 as checking for media, polling the drive, ejecting the media etc.).
2600 Also implement mounting and unmounting in the Unix volume monitor
2601 backend. A subquent patch will introduce GDrive support for ejection
2605 * gdrive.c: (g_drive_is_media_check_automatic),
2606 (g_drive_is_media_removable), (g_drive_has_media),
2607 (g_drive_can_poll_for_media), (g_drive_eject),
2608 (g_drive_eject_finish), (g_drive_poll_for_media),
2609 (g_drive_poll_for_media_finish):
2611 * gfile.c: (g_file_find_enclosing_mount):
2614 * glocaldirectorymonitor.c:
2615 (g_local_directory_monitor_constructor), (mounts_changed):
2616 * glocalfile.c: (get_mount_info),
2617 (g_local_file_find_enclosing_mount),
2618 (g_local_file_file_iface_init):
2619 * gnativevolumemonitor.h:
2620 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2621 (get_connected_drives), (g_union_volume_monitor_class_init),
2622 (child_volume_added), (child_volume_removed),
2623 (child_volume_changed), (child_mount_added), (child_mount_removed),
2624 (child_mount_pre_unmount), (child_mount_changed),
2625 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2626 (g_union_volume_monitor_remove_monitor),
2627 (_g_mount_get_for_mount_path):
2628 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2629 (guess_system_internal), (_g_get_unix_mounts),
2630 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2631 (g_unix_mount_free), (g_unix_mount_compare),
2632 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2633 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2634 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2635 (type_to_icon), (g_unix_mount_guess_name),
2636 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2637 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2638 (_resolve_symlink), (_resolve_dev_root):
2640 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2641 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2642 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2643 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2644 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2645 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2646 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2647 (g_unix_volume_volume_iface_init):
2649 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2650 (get_mounts), (get_volumes), (get_connected_drives),
2651 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2652 (mountpoints_changed), (mounts_changed),
2653 (g_unix_volume_monitor_init),
2654 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2655 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2656 * gunixvolumemonitor.h:
2657 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2658 (g_volume_mount), (g_volume_mount_finish):
2660 * gvolumemonitor.c: (g_volume_monitor_class_init),
2661 (g_volume_monitor_get_connected_drives),
2662 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2665 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2667 * gmountoperation.h (GPasswordFlags): Close the gap
2669 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2671 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2673 * gdesktopappinfo.[hc]: Remove _-prefixes
2675 2007-12-10 Tor Lillqvist <tml@novell.com>
2677 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2680 2007-12-10 Alexander Larsson <alexl@redhat.com>
2682 * gfile.c (g_file_set_display_name):
2683 Don't hardcode '/' (#502727)
2685 2007-12-09 Hans Breuer <hans@breuer.org>
2687 * makefile.msc : follow lib naming convention
2688 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2689 for user and group name, tested with ../tests/gio-ls
2691 2007-12-09 A. Walton <awalton@svn.gnome.org>
2693 * gdesktopappinfo.c:
2699 * gfileenumerator.c:
2704 * gmemoryinputstream.c:
2705 * gmemoryoutputstream.c:
2707 * gsimpleasyncresult.c:
2708 More documentation cleanup and filling in missing information, bringing
2709 GIO to 99% symbol coverage.
2711 2007-12-08 Hans Breuer <hans@breuer.org>
2713 [gio compiles and links on win32, not sure how much already works]
2714 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2715 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2716 base on win32 API; prefer g_lstat() over lstat(); instead of
2717 localtime_r() use an all GLib implementation on win32;
2718 get_mount_info() still needs a win32 specifc implementation
2719 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2720 win32_get_file_user_info to get owner/group info without uid/gid
2721 * glocalfileinputstream.c : include <io.h> on win32
2722 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2723 definition, use g_win32_ftruncate() for G_OS_WIN32
2724 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2725 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2726 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2727 * makefile.msc : updated
2729 2007-12-07 Alexander Larsson <alexl@redhat.com>
2731 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2732 Avoid warning spew if error == NULL
2734 2007-12-07 Alexander Larsson <alexl@redhat.com>
2737 Update docs wrt etags
2739 2007-12-06 Alexander Larsson <alexl@redhat.com>
2742 Include sys/types.h for dev_t (#501919)
2744 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2748 Make abicheck and pltcheck pass.
2750 2007-12-05 Alexander Larsson <alexl@redhat.com>
2753 * giomodule-priv.h: Added.
2754 * glocaldirectorymonitor.c:
2755 * glocalfilemonitor.c:
2756 * gunionvolumemonitor.c:
2758 Actually add the declaration of _g_io_modules_ensure_loaded
2760 2007-12-05 Alexander Larsson <alexl@redhat.com>
2762 * gdatainputstream.c:
2767 * glocaldirectorymonitor.c:
2768 * glocalfilemonitor.c:
2769 * gunionvolumemonitor.c:
2771 Make g_io_modules_ensure_loaded a private function and
2772 don't pass in the dirname. This means we can do magic
2773 directory finding in the win32 version.
2774 Export the actual load-modules-in-directory code so that
2775 gvfs can reuse that.
2777 2007-12-05 Alexander Larsson <alexl@redhat.com>
2779 * gbufferedinputstream.c:
2780 * gbufferedoutputstream.c:
2783 * gfileenumerator.[ch]:
2784 * gfileinputstream.c:
2785 * gfileoutputstream.[ch]:
2786 * gfilterinputstream.c:
2787 * gfilteroutputstream.c:
2788 * ginputstream.[ch]:
2790 * glocalfileenumerator.c:
2791 * glocalfileinputstream.c:
2792 * glocalfileoutputstream.c:
2793 * gmemoryinputstream.c:
2794 * gmemoryoutputstream.c:
2795 * goutputstream.[ch]:
2798 * gunixinputstream.c:
2799 * gunixoutputstream.c:
2800 Rename all struct members named:
2801 read, write, close, truncate, or mount
2802 to foo_fn, as these are reserved names
2803 and could be defined as macros in libc.
2806 2007-12-04 Alexander Larsson <alexl@redhat.com>
2809 (g_output_stream_close):
2810 Only call flush if non-null.
2812 2007-11-30 Dan Winship <danw@gnome.org>
2814 * ginputstream.c (g_input_stream_set_pending): Make this take a
2815 GError and return a gboolean, and do the "outstanding operation"
2816 check (and the "stream is already closed" check) itself.
2817 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2819 * goutputstream.c (g_output_stream_set_pending)
2820 (g_output_stream_clear_pending): Likewise
2822 * gbufferedinputstream.c:
2823 * gfileinputstream.c:
2824 * gfileoutputstream.c: Update for that
2826 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2827 Like g_simple_async_report_error_in_idle, but takes a GError
2828 rather than building one.
2830 2007-11-30 Dan Winship <danw@gnome.org>
2832 * goutputstream.c: Don't cheat and unset the "pending" flag around
2833 inner calls. Instead, call the class method directly rather than
2834 the wrapper function that checks "pending"
2836 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2838 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2840 2007-12-03 Hans Breuer <hans@breuer.org>
2842 [start of port to win32/msvc]
2843 * gcancellable.c : HAVE_UNIST_H and _pipe()
2844 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2845 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2846 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2848 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2849 * glocalvfs.c : use HAVE_PWD_H
2850 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2851 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2852 * Makefile.am : added to EXTRA_DIST
2854 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2856 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2859 2007-12-03 Alexander Larsson <alexl@redhat.com>
2862 Handle OSX style xattrs API (#500506)
2864 2007-12-03 Alexander Larsson <alexl@redhat.com>
2868 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2870 2007-12-02 A. Walton <awalton@svn.gnome.org>
2874 Documentation accuracy fixes.
2876 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2878 * gioenumtypes.c.template: Fix typo.
2880 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2882 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2884 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2886 * gdirectorymonitor.c:
2887 * gfilemonitor.c: Add properties
2889 * gbufferedoutputstream.c: Don't mark buffer-size property
2892 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2894 * gbufferedoutputstream.c: Add auto-grow property.
2896 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2898 * *.c: Unify the capitalization of section headings.
2900 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2902 * gmountoperation.c: Add properties
2904 * gdatainputstream.c: Turn byte-order and newline-type into
2907 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2909 * gioenumtypes.[hc].template: Templates for enum registration
2911 * Makefile.am: Generate gioenumtypes.[hc]
2913 * gio.h: Include gioenumtypes.h
2915 * gfile.h: Add some explicit nicks.
2917 * gio.symbols: Add new symbols
2919 * pltcheck.sh: Adjust
2921 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2923 * *.c: Explain etags and link to the explanation
2925 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2927 * *.c: Explain I/O priority.
2929 * *.c: More coding style fixes.
2931 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2933 * gasyncresult.c: Add another paragraph to the intro,
2934 adjust coding style of example.
2936 2007-11-29 A. Walton <awalton@svn.gnome.org>
2939 Fixes unknown meaning in GAppLaunchContext docs.
2941 Clarify asynchronous ops.
2943 Fix entity tag docs.
2946 Provides missing gtk-doc section, fixes API docs slighly.
2947 * gsimpleasyncresult.c:
2948 Fill in missing info in docs.
2949 * gunixinputstream.c:
2950 * gunixoutputstream.c:
2951 Be more expressive in short description.
2953 Remove gtk-doc stubs for non-public API.
2955 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2957 * *.c: Coding style fixups
2959 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2961 * inotify/inotify-helper.c: Don't export the lock from libgio.
2963 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2966 * abicheck.sh: Fix copy-and-paste leftovers
2968 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2970 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2972 2007-11-28 Alexander Larsson <alexl@redhat.com>
2976 Removed unnecessary file
2978 * gdesktopappinfo.[ch]:
2981 * glocaldirectorymonitor.[ch]:
2983 * glocalfileenumerator.[ch]:
2984 * glocalfileinputstream.[ch]:
2985 * glocalfilemonitor.[ch]:
2986 * glocalfileoutputstream.[ch]:
2988 * gnativevolumemonitor.c:
2989 * gpollfilemonitor.[ch]:
2990 * gunionvolumemonitor.[ch]:
2993 * gunixvolumemonitor.[ch]:
2996 * inotify/ginotifydirectorymonitor.[ch]:
2997 * inotify/ginotifyfilemonitor.[ch]:
2998 * inotify/inotify-helper.c:
2999 Append _ to all internal functions
3003 Export symbols needed for modules
3005 2007-11-28 Alexander Larsson <alexl@redhat.com>
3008 * abicheck.sh: Added.
3009 * makegioalias.pl: Added.
3010 * pltcheck.sh: Added.
3011 * gio.symbols: Added.
3014 Initial work on adding symbol handling.
3017 Correct ifdef guard name
3020 * inotify/Makefile.am:
3021 * xdgmime/Makefile.am:
3022 Include toplevel Makefile.decl
3024 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3026 * gcontenttype.c: Move doc comments to the unix section.
3028 * *.[hc]: More trivial doc corrections.
3030 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3032 * gpollfilemonitor.c:
3036 * gdesktopappinfo.c:
3041 * gdatainputstream.c:
3042 * gdatainputstream.h:
3043 * gdataoutputstream.c:
3044 * gdataoutputstream.h:
3045 * gfileinfo.h: Doc cleanups
3047 2007-11-28 Andre Klapper <a9016009@gmx.de>
3049 * gdesktopappinfo.c: Fix a typo.
3051 2007-11-27 Andre Klapper <a9016009@gmx.de>
3053 * glocalfileoutputstream.c: Fix a typo.
3055 2007-11-27 Alexander Larsson <alexl@redhat.com>
3058 Don't include removed headers
3060 2007-11-27 Alexander Larsson <alexl@redhat.com>
3063 * gsocketinputstream.[ch]: Removed.
3064 * gsocketoutputstream.[ch]: Removed.
3065 * gunixinputstream.[ch]: Added.
3066 * gunixoutputstream.[ch]: Added.
3067 Renamed GSocket*Stream to GUnix*Stream and made
3068 it unix-only, since its not really only for sockets
3069 and it only works on unix (but is highly useful there).
3071 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3077 * gbufferedinputstream.c:
3078 * gbufferedinputstream.h:
3079 * gbufferedoutputstream.c:
3080 * gbufferedoutputstream.h:
3084 * gdatainputstream.c:
3085 * gdatainputstream.h:
3086 * gdataoutputstream.c:
3087 * gdataoutputstream.h:
3088 * gdirectorymonitor.c:
3089 * gdirectorymonitor.h:
3096 * gfileenumerator.c:
3097 * gfileenumerator.h:
3102 * gfileinputstream.c:
3103 * gfileinputstream.h:
3106 * gfilenamecompleter.c:
3107 * gfilenamecompleter.h:
3108 * gfileoutputstream.c:
3109 * gfileoutputstream.h:
3110 * gfilterinputstream.c:
3111 * gfilterinputstream.h:
3112 * gfilteroutputstream.c:
3113 * gfilteroutputstream.h:
3126 * glocalfileoutputstream.c:
3127 * gmemoryinputstream.c:
3128 * gmemoryinputstream.h:
3129 * gmemoryoutputstream.c:
3130 * gmemoryoutputstream.h:
3131 * gmountoperation.c:
3132 * gmountoperation.h:
3135 * gpollfilemonitor.c:
3138 * gsimpleasyncresult.c:
3139 * gsimpleasyncresult.h:
3140 * gsocketinputstream.c:
3141 * gsocketinputstream.h:
3142 * gsocketoutputstream.c:
3143 * gsocketoutputstream.h:
3150 * gunixvolumemonitor.c:
3159 Bumps documentation to 93% symbol coverage, touching most
3160 of the public files. Fixes broken function documentation prototypes.
3161 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3162 gtk-doc headers in private files.
3164 2007-11-27 Jürg Billeter <j@bitron.ch>
3166 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3167 (g_buffered_input_stream_read_byte):
3168 * gbufferedinputstream.h:
3169 New functions for efficient access to buffer and simple single byte
3172 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3173 (g_data_input_stream_read_until):
3174 * gdatainputstream.h:
3175 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3176 read_until with multiple stop chars.
3178 2007-11-27 Alexander Larsson <alexl@redhat.com>
3182 * inotify/Makefile.am:
3183 Use the user-specified giomoduledir
3185 2007-11-27 Alexander Larsson <alexl@redhat.com>
3189 Add catch-all gio.h header
3190 Don't install gdummyfile.h
3192 2007-11-26 Alexander Larsson <alexl@redhat.com>
3194 * Makefile.am (gioinclude_HEADERS):
3195 Remove trailing whitespace
3197 2007-11-26 Alexander Larsson <alexl@redhat.com>
3199 Merge gio-standalone into glib
3201 2007-11-25 Christian Kellner <gicmo@gnome.org>
3203 * gio/goutputstream.c:
3204 Fix small mistake in the docs.
3206 2007-11-21 Christian Persch <chpe@gnome.org>
3208 * gio/glocalfile.c: (g_local_file_trash):
3209 Convert filenames to UTF-8 for GError.
3210 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3211 as per xdg base dir spec.
3213 2007-11-21 Christian Persch <chpe@gnome.org>
3215 * gio/gdesktopappinfo.c:
3216 Use that g_key_file_to_data cannot fail.
3218 Use stock defines for the key file group and key names.
3221 2007-11-21 Alexander Larsson <alexl@redhat.com>
3224 (copy_stream_with_progress):
3225 Make sure we do a final progress callback with
3226 the full total size.
3228 2007-11-21 Alexander Larsson <alexl@redhat.com>
3231 Export g_file_copy_attributes
3232 Remove padding as its not needed for interfaces
3234 2007-11-20 Alexander Larsson <alexl@redhat.com>
3239 Add G_IO_ERROR_WOULD_MERGE for
3240 copy/move dir on dir with overwrite.
3242 2007-11-20 Alexander Larsson <alexl@redhat.com>
3245 * gio/glocalfileinfo.c:
3246 Add COPY_NAME (this is an optional
3247 non-modified utf8 version of the name) that
3250 2007-11-20 Alexander Larsson <alexl@redhat.com>
3252 * gio/glocalfileenumerator.c:
3253 Report errors as GIOError, not GFileError
3255 2007-11-16 Alexander Larsson <alexl@redhat.com>
3257 * gio/glocalfileoutputstream.c:
3258 * gio/gwin32appinfo.c:
3259 Fix typos in strings.
3260 Patch from Luca Ferretti <elle.uca@libero.it>
3262 2007-11-15 Alexander Larsson <alexl@redhat.com>
3265 Post release version bump
3267 === gio-standalone 0.1.2 ===
3269 2007-11-15 Alexander Larsson <alexl@redhat.com>
3271 * docs/reference/gio/Makefile.am:
3272 Fix up distcheck by removing weird
3278 2007-11-14 Alexander Larsson <alexl@redhat.com>
3280 * gio/gdesktopappinfo.c:
3281 * gio/glocaldirectorymonitor.c:
3283 * gio/glocalfileinfo.c:
3284 * gio/inotify/inotify-sub.c:
3285 * programs/gio-cat.c:
3286 * programs/gio-copy.c:
3287 * programs/gio-info.c:
3288 * programs/gio-ls.c:
3289 * programs/gio-monitor-dir.c:
3290 * programs/gio-monitor-file.c:
3291 * programs/gio-mount.c:
3292 * programs/gio-move.c:
3293 * programs/gio-rm.c:
3294 * programs/gio-save.c:
3295 * programs/gio-trash.c:
3296 Leak fixes from Kjartan Maraas
3298 2007-11-14 Alexander Larsson <alexl@redhat.com>
3300 * gio/fam/fam-helper.c:
3302 * gio/glocalfileinfo.c:
3306 * gio/inotify/inotify-diag.c:
3307 * gio/inotify/inotify-kernel.c:
3308 Various code cleanups from Kjartan Maraas
3310 2007-11-14 Alexander Larsson <alexl@redhat.com>
3312 * gio/gioscheduler.c:
3314 Set up threadpool so that we cache 2 unused
3315 idle threads for at 15 secs. This means we
3316 will reuse thread-local data (like dbus connections)
3319 2007-11-14 Alexander Larsson <alexl@redhat.com>
3321 * gio/fam/fam-helper.c:
3322 * gio/fam/gfamdirectorymonitor.c:
3323 * gio/fam/gfamfilemonitor.c:
3325 * gio/gcontenttype.c:
3326 * gio/gdatainputstream.c:
3327 * gio/gdataoutputstream.c:
3331 * gio/gfileattribute.h:
3332 * gio/gfileenumerator.c:
3334 * gio/ginputstream.c:
3337 * gio/glocalfileinfo.c:
3338 * gio/goutputstream.c:
3339 * gio/gpollfilemonitor.c:
3340 * gio/gsimpleasyncresult.c:
3341 * gio/gunixmounts.c:
3342 * gio/gunixmounts.h:
3343 * gio/inotify/ginotifydirectorymonitor.c:
3344 * gio/inotify/ginotifyfilemonitor.c:
3345 * gio/inotify/inotify-diag.c:
3346 * gio/inotify/inotify-kernel.c:
3347 * gio/inotify/inotify-path.c:
3349 * gio/test-streams.c:
3350 * programs/gio-info.c:
3351 * programs/gio-monitor-dir.c:
3352 * programs/gio-monitor-file.c:
3353 Various code cleanups from Kjartan Maraas
3355 2007-11-13 Alexander Larsson <alexl@redhat.com>
3358 Handle the uri-scheme calls for dummy files
3360 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3362 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3363 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3364 to avoid clash with the C++ keyword.
3366 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3368 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3369 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3371 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3373 * gio/glocaldirectorymonitor.c:
3374 * gio/glocalfilemonitor.c:
3375 * gio/gunionvolumemonitor.c:
3376 Don't use g_once_init_*() for initializations that could fail and
3377 could leave the initialization variable set to 0 but use GOnce.
3378 This prevents a deadlock on the second call when trying to create
3379 a monitor and no monitor type is available. Thanks to Sven Herzberg
3382 2007-11-11 Sven Herzberg <sven@imendio.com>
3384 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3385 #ifdef (make it work on MacOS X again)
3387 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3389 Fixes Changelog for last two commits (sorry guys).
3391 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3393 * gio/gbufferedinputstream.c:
3394 * gio/gdatainputstream.c:
3396 * gio/gfileoutputstream.c:
3397 * gio/gfilterinputstream.c:
3398 * gio/glocalfileinputstream.c:
3401 More consistency fixes in g*stream.c files.
3402 Significant clean of gfile's documentation, filling in of
3403 asynchronous operations documentation.
3405 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3407 * gio/gasyncresult.c:
3408 * gio/gbufferedinputstream.c:
3409 * gio/gbufferedoutputstream.c:
3410 * gio/gcancellable.c:
3411 * gio/gcontenttype.c:
3412 * gio/gdatainputstream.c:
3413 * gio/gdataoutputstream.c:
3414 * gio/gdesktopappinfo.c:
3417 * gio/gfileattribute.c:
3418 * gio/gio/gfileenumerator.c:
3420 * gio/gfileinputstream.c:
3421 * gio/gfilemonitor.c:
3422 * gio/gfileoutputstream.c:
3423 * gio/ginputstream.c:
3425 * gio/gioscheduler.c:
3426 * gio/gloadableicon.c:
3427 * gio/glocalfileoutputstream.c:
3428 * gio/gmemoryoutputstream.c:
3429 * gio/gmountoperation.c:
3430 * gio/goutputstream.c:
3432 * gio/gsimpleasyncresult.c:
3433 * gio/gunionvolumemonitor.c:
3434 * gio/gunixmounts.c:
3435 * gio/gunixvolume.c:
3439 * gio/gvolumemonitor.c:
3440 Updated documentation stubs, working towards consistency and
3443 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3445 * gio/gmemoryoutputstream.c:
3446 * gio/gmemoryoutputstream.h:
3447 Change g_memory_output_stream_set_free_on_close() to
3448 g_memory_output_stream_set_free_data() as this makes more sense and
3449 is more consistent with GMemoryInputStream.
3451 2007-11-07 Alexander Larsson <alexl@redhat.com>
3458 Change how we find the default vfs so that
3459 we can handle a gvfs failing to init
3461 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3463 * gio/gbufferedoutputstream.c:
3464 * gio/gdatainputstream.c:
3465 * gio/gdataoutputstream.c:
3466 * gio/gfileinputstream.c:
3467 * gio/gfileoutputstream.c:
3468 * gio/gfilterinputstream.c:
3469 * gio/gfilteroutputstream.c:
3470 * gio/ginputstream.c:
3471 * gio/gmemoryinputstream.c:
3472 * gio/gmemoryoutputstream.c:
3473 * gio/goutputstream.c:
3474 * gio/gsimpleasyncresult.c:
3475 * gio/gsocketinputstream.c:
3476 * gio/gsocketoutputstream.c:
3477 Add guards to the remaining public functions, add a TODO for
3478 an unimplemented function and remove some useless guards.
3480 2007-11-07 Alexander Larsson <alexl@redhat.com>
3483 Autoconf checks for the various types of
3484 getpwuid_r and getgrgid_r
3486 * gio/glocalfileinfo.c:
3487 Use the autoconf checks from above
3489 2007-11-07 Alexander Larsson <alexl@redhat.com>
3492 (g_local_file_query_filesystem_info):
3493 Some fixes for the statvfs case
3495 2007-11-07 Alexander Larsson <alexl@redhat.com>
3498 (g_local_file_query_filesystem_info):
3499 Pick the "best" of statfs / statvfs for the system
3500 if both are availible.
3502 2007-11-07 Alexander Larsson <alexl@redhat.com>
3504 Solaris fixes from Halton.Huo@Sun.COM:
3511 * gio/glocalfileinfo.c:
3512 Fix for solaris definition of getpwuid_r
3514 * gio/test-streams.c:
3515 Use G_GNUC_PRETTY_FUNCTION
3517 2007-11-07 Alexander Larsson <alexl@redhat.com>
3519 * gio/gdesktopappinfo.c:
3520 (update_default_list):
3521 Remove double semicolon.
3522 Patch from Jens Granseuer
3524 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3526 * docs/reference/gio/gio-sections.txt:
3527 * gio/gbufferedinputstream.c:
3528 * gio/gbufferedinputstream.h:
3529 * gio/gdatainputstream.c:
3530 * gio/gfileenumerator.c:
3531 * gio/gioscheduler.c:
3532 * gio/gunionvolumemonitor.c:
3534 * programs/gio-save.c:
3535 Fix typo: availible -> available. Unfortuntely this breaks API
3536 and ABI as g_buffered_input_stream_get_available() was renamed.
3538 * gio/gunixmounts.c:
3539 * gio/gbufferedinputstream.c:
3540 Add guards for public functions.
3542 2007-11-06 Ross Burton <ross@openedhand.com>
3544 * docs/reference/gio/Makefile.am:
3545 Fix invalid += usage which automake 1.10 doesn't like.
3547 2007-11-06 Alexander Larsson <alexl@redhat.com>
3550 (g_app_launch_context_class_init):
3553 Patch from Ross Burton
3555 2007-11-06 Alexander Larsson <alexl@redhat.com>
3558 Post release version bump
3560 === gio-standalone 0.1.1 ===
3562 2007-11-06 Alexander Larsson <alexl@redhat.com>
3565 Bump version to 0.1.1
3567 * gio/gsimpleasyncresult.c:
3568 (g_simple_async_result_set_from_error):
3569 Remove bogus g_return_if_fail
3571 2007-11-06 Alexander Larsson <alexl@redhat.com>
3574 The name is gio-standalone
3577 Add top src/builddir to includedir
3579 2007-11-06 Alexander Larsson <alexl@redhat.com>
3581 * docs/reference/gio/gio-sections.txt:
3583 * gio/gbufferedinputstream.c:
3584 * gio/gbufferedoutputstream.c:
3585 * gio/gcancellable.c:
3586 * gio/gdatainputstream.h:
3587 * gio/gdataoutputstream.c:
3588 * gio/gdataoutputstream.h:
3589 * gio/gdirectorymonitor.c:
3591 * gio/gfileattribute.c:
3592 * gio/gfileattribute.h:
3593 * gio/gfileenumerator.c:
3594 * gio/gfileenumerator.h:
3597 * gio/gfileinputstream.h:
3598 * gio/gfilemonitor.c:
3599 * gio/gfileoutputstream.h:
3600 * gio/glocalfilemonitor.h:
3601 * gio/glocalfileoutputstream.h:
3602 * gio/gmemoryinputstream.c:
3603 * gio/gmemoryoutputstream.c:
3604 * gio/gmountoperation.c:
3605 * gio/goutputstream.c:
3606 * gio/goutputstream.h:
3608 * gio/gsimpleasyncresult.c:
3609 * gio/gunixmounts.c:
3610 * gio/gunixmounts.h:
3612 * gio/inotify/inotify-helper.c:
3613 Fix gtk-doc warnings
3615 Patch from Ross Burton
3617 2007-11-06 Alexander Larsson <alexl@redhat.com>
3619 * gio/gfilenamecompleter.c:
3620 (g_filename_completer_get_completions):
3623 * gio/gunixvolume.c:
3624 Remove unused function
3626 Patches from Ross Burton
3628 2007-11-06 Alexander Larsson <alexl@redhat.com>
3633 Padding not needed for interfaces
3635 2007-11-06 Alexander Larsson <alexl@redhat.com>
3637 * gio/gfilemonitor.c:
3641 Make giotypes.h an internal file
3644 * gio/gbufferedinputstream.h:
3645 * gio/gbufferedoutputstream.h:
3646 * gio/gcancellable.h:
3647 * gio/gdatainputstream.h:
3648 * gio/gdataoutputstream.h:
3649 * gio/gdirectorymonitor.c:
3650 * gio/gdirectorymonitor.h:
3655 * gio/gfileattribute.h:
3656 * gio/gfileenumerator.h:
3661 * gio/gfilemonitor.c:
3662 * gio/gfilemonitor.h:
3663 * gio/gfilenamecompleter.c:
3664 * gio/gfilenamecompleter.h:
3665 * gio/gfilterinputstream.h:
3666 * gio/gfilteroutputstream.h:
3667 * gio/ginputstream.h:
3668 * gio/gmemoryinputstream.h:
3669 * gio/gmemoryoutputstream.h:
3670 * gio/gmountoperation.c:
3671 * gio/gmountoperation.h:
3672 * gio/gnativevolumemonitor.c:
3673 * gio/goutputstream.h:
3676 * gio/gsimpleasyncresult.c:
3677 * gio/gsimpleasyncresult.h:
3678 * gio/gsocketinputstream.h:
3679 * gio/gsocketoutputstream.h:
3680 * gio/gthemedicon.c:
3681 * gio/gthemedicon.h:
3685 * gio/gvolumemonitor.c:
3686 * gio/gvolumemonitor.h:
3687 Add padding in classes where it seems useful
3688 Don't include giotypes.h from public headers
3689 Move in Class definitions into c file where possible
3694 2007-11-06 Alexander Larsson <alexl@redhat.com>
3696 * docs/reference/gio/gio-docs.xml:
3697 Better structure for API docs
3699 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3702 * gio/gloadableicon.c:
3703 * gio/gsimpleasyncresult.c:
3704 * gio/gthemedicon.c:
3705 Add some more guards to public functions. Only files missing are now
3708 2007-11-06 Alexander Larsson <alexl@redhat.com>
3710 * docs/reference/gio/gio-docs.xml:
3711 Remove old files, add missing ones
3713 2007-11-06 Alexander Larsson <alexl@redhat.com>
3715 * docs/reference/gio/gio-sections.txt:
3718 Hide implementation classes
3720 * gio/gdriveprivate.h:
3721 * gio/gvolumeprivate.h:
3722 Remove non-existing function declarations
3724 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3727 Fix compilation warnings and add guards to the new functions.
3729 * gio/gasyncresult.c:
3731 Add guards to the public functions.
3734 Implement get_path().
3736 2007-11-06 Alexander Larsson <alexl@redhat.com>
3738 * gio/gfilenamecompleter.c:
3739 Make g_filename_completer_get_completions
3740 return char ** instead of GList for
3743 * docs/reference/gio/gio-docs.xml:
3744 * docs/reference/gio/gio-sections.txt:
3746 * gio/gasyncresult.c:
3747 * gio/gbufferedinputstream.c:
3748 * gio/gbufferedoutputstream.c:
3749 * gio/gcancellable.c:
3750 * gio/gcontenttype.c:
3751 * gio/gdatainputstream.c:
3752 * gio/gdataoutputstream.c:
3753 * gio/gdesktopappinfo.c:
3754 * gio/gdirectorymonitor.c:
3758 * gio/gfileattribute.c:
3759 * gio/gfileenumerator.c:
3762 * gio/gfileinputstream.c:
3763 * gio/gfilemonitor.c:
3764 * gio/gfilenamecompleter.c:
3765 * gio/gfilenamecompleter.h:
3766 * gio/gfileoutputstream.c:
3767 * gio/gfilterinputstream.c:
3769 * gio/ginputstream.c:
3771 * gio/gioscheduler.c:
3772 * gio/gloadableicon.c:
3773 * gio/glocaldirectorymonitor.c:
3775 * gio/glocalfileinputstream.c:
3776 * gio/glocalfilemonitor.c:
3777 * gio/glocalfileoutputstream.c:
3779 * gio/gmemoryinputstream.c:
3780 * gio/gmemoryoutputstream.c:
3781 * gio/gmountoperation.c:
3782 * gio/goutputstream.c:
3783 * gio/gpollfilemonitor.c:
3785 * gio/gsimpleasyncresult.c:
3786 * gio/gsocketinputstream.c:
3787 * gio/gsocketoutputstream.c:
3788 * gio/gthemedicon.c:
3789 * gio/gunionvolumemonitor.c:
3791 * gio/gunixmounts.c:
3792 * gio/gunixvolume.c:
3793 * gio/gunixvolumemonitor.c:
3797 * gio/gvolumemonitor.c:
3798 * gio/gwin32appinfo.c:
3799 Add (mostly stub) doc strings to public functions.
3800 Patch from Andrew Walton (awalton@gmail.com)
3802 2007-11-06 Alexander Larsson <alexl@redhat.com>
3804 * gio/gappinfo.[ch]:
3805 Added GAppLaunchContext object and pass that to launch.
3806 This allows simple implementation of both
3807 launch-on-screen and startup notification via a gtk+
3808 subclass of GAppLaunchContext
3810 * gio/gdesktopappinfo.c:
3811 Implement GAppLaunchContext API
3813 * gio/gwin32appinfo.c:
3816 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3818 * gio/gmountoperation.c:
3819 Add some guards to GMountOperation's public functions.
3821 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3825 * gio/gcancellable.c:
3826 * gio/gdirectorymonitor.c:
3828 * gio/gfileenumerator.c:
3829 * gio/gfilemonitor.c:,
3830 * gio/gfilenamecompleter.c:
3833 * gio/gioscheduler.c:
3837 * gio/gvolumemonitor.c:
3838 Add even more guards to various public functions.
3840 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3843 Add guards to the public functions of GAppInfo.
3845 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3847 * gio/gcontenttype.c:
3848 Add some more guards for public functions.
3850 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3852 * gio/fam/fam-module.c:
3853 * gio/fam/gfamdirectorymonitor.c:
3854 * gio/fam/gfamdirectorymonitor.h:
3855 * gio/fam/gfamfilemonitor.c:
3856 * gio/fam/gfamfilemonitor.h:
3857 * gio/inotify/ginotifydirectorymonitor.c:
3858 * gio/inotify/ginotifydirectorymonitor.h:
3859 * gio/inotify/ginotifyfilemonitor.c:
3860 * gio/inotify/ginotifyfilemonitor.h:
3861 Add proper copyright information and remove an unused variable
3862 in the GInotifyFileMonitor constructor.
3864 * gio/gcancellable.c:
3865 Add a guard for a public function and an assertion to prevent
3866 an undefined program state.
3868 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3870 * gio/gfileattribute.c:
3871 Don't run into an assertion if the given attribute value is NULL
3872 in g_file_attribute_value_get_*() but instead return a fallback
3873 value that makes sense in most situations. Passing them a attribute
3874 value with the wrong type will still run into an assertion.
3876 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3878 * gio/gfileattribute.c:
3880 Add even more guards to the public functions. Also fix the refcounting
3881 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3882 let g_file_info_list_attributes() filter the attributes by namespace
3883 instead of simply ignoring the namespace parameter.
3885 2007-11-03 Sven Herzberg <sven@imendio.com>
3887 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3888 (This makes gio work on MacOS X again)
3890 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3893 Build the gio subdirectory before the docs. Otherwise the build will
3896 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3897 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3898 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3899 Add guards to the public functions.
3901 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3903 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3904 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3905 to prevent a compiler warning.
3907 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3908 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3909 return something in the non-void function find_topdir_for().
3911 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3918 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3920 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3921 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3922 * gwin32appinfo.c (g_win32_app_info_launch):
3923 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3924 envp_for_startup_id, g_desktop_app_info_launch,
3925 g_desktop_app_info_launch_uris):
3927 Give an opaque 'startup_id' string instead of 'envp'.
3928 Support empty file lists for launching new windows.
3929 Fix infinite recursion bug when launching URIs.
3931 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3934 Add guard to the new g_file_get_uri_scheme() function.
3936 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3939 Convert a g_return_val_if_fail() to setting the GError instead as
3940 otherwise applications have to verify the parameter before otherwise
3941 and the parameter might come directly from the user.
3943 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3945 * gio/inotify/ginotify*.[ch]:
3946 Add missing copyright information.
3948 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3951 Add guards in the beginning of public functions to check for valid
3952 parameters and fix a bug in copy_stream_with_progress() that could've
3953 caused writing less bytes than reading.
3954 * gio/glocalfileinfo.c:
3955 Check for a NULL parameter and set the GError accordingly then.
3956 * gio/goutputstream.c:
3957 Fix the same bug as in gfile.c that could've caused writing less bytes
3958 than reading in g_output_stream_real_splice().
3960 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3963 Use the correct gvolumeprivate.h naming
3965 2007-11-01 Christian Kellner <gicmo@gnome.org>
3968 Remove leftover "$(daemon_sources)" entry.
3970 2007-11-01 Christian Kellner <gicmo@gnome.org>
3975 Add copyright information to source files.
3977 2007-11-01 Alexander Larsson <alexl@redhat.com>
3981 Add g_file_get_uri_scheme
3983 2007-11-01 Alexander Larsson <alexl@redhat.com>
3986 * gio/gdesktopappinfo.c:
3987 * gio/gwin32appinfo.c:
3988 Add g_app_info_get_default_for_uri_scheme.
3990 2007-11-01 Alexander Larsson <alexl@redhat.com>
3993 Correct filename for gdriveprivate.h
3995 2007-10-31 Alexander Larsson <alexl@redhat.com>
3998 Rename id:value to id:file
4001 * gio/glocalfileinfo.c:
4004 2007-10-31 Alexander Larsson <alexl@redhat.com>
4006 * gio/gunixvolume.c:
4008 Remove g_volume_get_platform_id, as thats not
4009 needed with the simpler union volume monitor
4011 2007-10-31 Alexander Larsson <alexl@redhat.com>
4014 * gio/guniondrive.[ch]: Removed.
4015 * gio/gunionvolume.[ch]: Removed.
4016 Remove GUnionDrive/Volume
4018 * gio/gunionvolumemonitor.c:
4019 Simplify union volume monitor, now we
4020 only have one native volume monitor and
4021 we use the actual volumes/drives from the
4022 child monitors instead of wrapping them
4024 * gio/gnativevolumemonitor.[ch]:
4025 Base class for native volume monitors.
4026 Includes priority and get_volume_for_mountpoint
4029 Add g_file_find_enclosing_volume
4032 Remove volume name fs attribute
4033 Add readonly fs attribute
4036 Implement readonly attribute
4037 remove volume name attribute
4038 Implement find_enclosing volume
4040 * gio/gunixmounts.c:
4041 Add a volume for "/".
4043 * gio/gunixvolume.[ch]:
4044 Set better name for /
4046 * gio/gunixvolumemonitor.[ch]:
4047 Derive from GNativeVolumeMonitor
4048 Implement get_volume_for_mountpoint
4051 GVolume typedef moved to gfile.h
4053 * gio/gvolumeprivate.h:
4054 Add g_volume_get_for_mount_path
4056 2007-10-31 Alexander Larsson <alexl@redhat.com>
4058 * gio/gunixmounts.[ch]:
4059 Add cache info to unix mount listers
4060 Make getmntent use threadsafe
4061 Add is_system_internal attribute for GUnixMount
4063 * gio/gunixvolume.c:
4064 (g_unix_volume_new):
4065 Use is_system_internal instead of own code
4067 * gio/glocaldirectorymonitor.c:
4068 * gio/gunixvolumemonitor.c:
4069 Update to new gunixmounts API
4074 2007-10-30 Alexander Larsson <alexl@redhat.com>
4077 Add volume name fsinfo attribute
4080 Read volume name info
4082 * gio/gunionvolumemonitor.c:
4083 Fix infinite loops when finalizing a union volume monitor
4085 2007-10-30 Alexander Larsson <alexl@redhat.com>
4087 * gio/goutputstream.[ch]:
4088 Add splice() with default implementation
4090 * gio/gsocketoutputstream.c:
4091 (g_socket_output_stream_write):
4092 Return error on cancellation correctly.
4094 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4096 * gio/glocalfile.c (g_local_file_trash):
4097 Do not leak a string.
4099 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4101 * gio/gfile.c (g_file_load_contents):
4102 Unref the stream after closing it.
4104 2007-10-25 Alexander Larsson <alexl@redhat.com>
4106 * gio/gioscheduler.h:
4109 2007-10-25 Alexander Larsson <alexl@redhat.com>
4113 Add g_file_has_uri_scheme and implement for local files
4115 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4117 * gio/gdesktopappinfo.c: do not leak a string.
4119 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4121 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4122 (g_local_directory_monitor_new):
4123 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4124 (g_local_file_monitor_new):
4125 Only look for the monitor type that should be used the first time
4126 and use g_qsort_with_data() instead of our own bubble sort
4129 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4132 * gio/fam/Makefile.am:
4133 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4134 * gio/fam/fam-helper.h:
4135 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4136 * gio/fam/gfamdirectorymonitor.c:
4137 * gio/fam/gfamdirectorymonitor.h:
4138 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4139 * gio/fam/gfamfilemonitor.h:
4140 * gio/glocaldirectorymonitor.c:
4141 * gio/glocaldirectorymonitor.h:
4142 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4143 * gio/glocalfilemonitor.h:
4144 * gio/inotify/Makefile.am:
4145 * gio/inotify/ginotifydirectorymonitor.c:
4146 * gio/inotify/ginotifydirectorymonitor.h:
4147 * gio/inotify/ginotifyfilemonitor.c:
4148 * gio/inotify/ginotifyfilemonitor.h:
4149 Implement the FAM and Inotify monitors as
4150 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4151 their own GIO module. GLocal(Directory|File)Monitor will use the
4152 monitor with the highest rank that is supported on that machine.
4154 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4157 Change GIO module dir to $(libdir)/gio/modules and change
4158 the log domain from GVFS to GIO. Also only export symbols starting
4159 with g_ in the resulting library.
4160 * gio/test-streams.c: (main):
4161 Set log handler for the GIO log domain.
4163 2007-10-22 Alexander Larsson <alexl@redhat.com>
4165 * gio/gfilenamecompleter.[ch]:
4166 Add g_filename_completer_set_dirs_only
4168 2007-10-22 Alexander Larsson <alexl@redhat.com>
4171 * gio/gurifuncs.[ch]:
4172 Add some simple URI helpers
4174 * gio/gfilenamecompleter.[ch]:
4175 Added object for filename (parse name actually) completion
4178 Handle ~ in parse names
4180 2007-10-17 Alexander Larsson <alexl@redhat.com>
4183 * gio/glocalfileinfo.c:
4184 Add and implement id:value attribute
4186 2007-10-17 Alexander Larsson <alexl@redhat.com>
4189 * gio/guniondrive.c:
4191 Add and implement g_drive_has_volumes
4193 2007-10-17 Alexander Larsson <alexl@redhat.com>
4196 * gio/glocalfileinfo.[ch]:
4197 Add unix:is_mountpoint and implement for local files
4199 2007-10-16 Alexander Larsson <alexl@redhat.com>
4201 * gio/gunionvolumemonitor.c:
4202 (g_union_volume_monitor_init):
4203 Fix up the unix type getting so that it works with gcc
4205 2007-10-12 Alexander Larsson <alexl@redhat.com>
4208 * gio/glocalfileinfo.c:
4209 Add thumbnail:failed to file info
4211 2007-10-12 Richard Hult <richard@imendio.com>
4213 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4214 optimizing away the get_type call (happens with some gcc versions,
4215 like the one shipped with OS X 10.4).
4217 2007-10-12 Alexander Larsson <alexl@redhat.com>
4219 * gio/glocalfileinfo.c:
4220 (_g_local_file_info_set_attribute):
4221 Fix build if not HAVE_XATTR
4222 Patch from Milosz Derezynski <internalerror@gmail.com>
4224 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4226 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4227 around for review, otherwise I would have asked you before
4230 2007-10-11 Alexander Larsson <alexl@redhat.com>
4233 Add thumbnail:path attribute
4235 * gio/glocalfileinfo.c:
4236 Implement thumbnail:path for local files
4238 2007-10-11 Alexander Larsson <alexl@redhat.com>
4240 * gio/glocalfileinfo.c:
4241 (_g_local_file_info_get):
4242 Avoid duplicate icon names
4244 2007-10-11 Alexander Larsson <alexl@redhat.com>
4246 * gio/gthemedicon.[ch]:
4247 Change g_themed_icon_get_names return type to const
4249 2007-10-10 Alexander Larsson <alexl@redhat.com>
4251 * gio/glocalfileinfo.c:
4252 Don't reference freed memory
4254 2007-10-10 Alexander Larsson <alexl@redhat.com>
4256 * gio/gfileattribute.c:
4259 * gio/glocalfileinfo.c:
4262 2007-10-10 Alexander Larsson <alexl@redhat.com>
4265 Check for NULL icons
4267 * gio/gfileattribute.c:
4268 Don't dup when getting objects (same as for string attributes)
4270 * gio/gicon.c (g_icon_equal):
4271 Safely handle NULLs in equal
4273 2007-10-10 Alexander Larsson <alexl@redhat.com>
4276 Fix c++ compilation issues
4277 Patch from Milosz Derezynski <internalerror@gmail.com>
4279 2007-10-10 Alexander Larsson <alexl@redhat.com>
4281 * programs/gio-monitor-dir.c:
4282 Don't crash if dir monitor not supported.
4284 2007-10-09 Alexander Larsson <alexl@redhat.com>
4287 Add missing G_END_DECLS
4289 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4291 * gio/gfile.c: (g_file_set_display_name),
4292 (g_file_query_settable_attributes),
4293 (g_file_query_writable_namespaces):
4294 Return NULL not FALSE on errors as the return type is a pointer.
4296 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4298 * gio/glocalfile.c: (g_local_file_monitor_file):
4299 Don't call monitor_file on the default interface vtable (which
4300 is NULL) but simply return NULL. The caller, GFile, will create a
4301 polling monitor if NULL is returned.
4303 2007-10-09 Alexander Larsson <alexl@redhat.com>
4307 * gio-unix-2.0.pc.in:
4308 Add gio-unix-2.0.pc if OS_UNIX
4311 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4313 2007-10-09 Alexander Larsson <alexl@redhat.com>
4315 * gio/gunixmounts.[ch]:
4316 Make unix mount monitoring API sane.
4317 Now its just a object with mounts_changed
4318 and mountpoints_changed signals.
4320 * gio/glocaldirectorymonitor.c:
4321 * gio/gunixvolumemonitor.c:
4322 Use new mount monitor api
4324 2007-10-09 Alexander Larsson <alexl@redhat.com>
4326 * gio/gunixmounts.[ch]:
4327 Move guess type into one call for mounts and one for mountpoints
4330 * gio/gunixvolume.c:
4333 2007-10-09 Alexander Larsson <alexl@redhat.com>
4335 * gio/gunixmounts.[ch]:
4336 Remove _ prefix in preparation to make this semi-public
4337 Hide implementation of structs
4339 * gio/glocaldirectorymonitor.c:
4341 * gio/gunixvolume.c:
4342 * gio/gunixvolumemonitor.c:
4343 Update for above API changes
4345 2007-10-08 Alexander Larsson <alexl@redhat.com>
4348 Better polling fallback. This also handles the case where we have
4349 a monitor_file implementation, but it fails.
4351 2007-10-08 Alexander Larsson <alexl@redhat.com>
4355 * gio/gunixmounts.c:
4356 * programs/gio-monitor-dir.c:
4357 * programs/gio-monitor-file.c:
4358 Added cancellable to file monitoring calls.
4359 These are really sync calls and need this.
4361 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4363 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4364 (g_local_vfs_class_init):
4365 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4366 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4368 2007-10-05 Alexander Larsson <alexl@redhat.com>
4370 * gio/gdirectorymonitorprivate.h:
4371 * gio/gfilemonitorprivate.h:
4372 * gio/gdirectorymonitor.h:
4373 * gio/gfilemonitor.h:
4374 Remove *private.h and move to the public API, so that
4375 we can do implementations outside gio (such as in gvfs)
4377 * gio/gdirectorymonitor.c:
4378 * gio/gfilemonitor.c:
4379 * gio/glocaldirectorymonitor.c:
4380 * gio/gpollfilemonitor.c:
4381 * gio/inotify/inotify-helper.c:
4382 * gio/fam/fam-helper.c:
4383 Update to the new header names
4385 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4387 * gio/gdirectorymonitor.c:
4388 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4391 2007-10-04 Alexander Larsson <alexl@redhat.com>
4393 * gio/glocalfileinfo.c (get_access_rights):
4394 Set CAN_TRASH when we can move the file.
4395 We should really also check for a parent trash dir.
4397 2007-10-04 Alexander Larsson <alexl@redhat.com>
4399 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4400 Add can_trash access attribute
4402 2007-10-04 Alexander Larsson <alexl@redhat.com>
4405 (g_local_file_trash):
4406 Create info file first. This is per-spec and allows
4407 us to actually trash directories.
4409 2007-10-02 Alexander Larsson <alexl@redhat.com>
4411 * gio/gdesktopappinfo.c:
4412 Implement the new mime support code.
4413 Always set app as handling mimetype when being set as default for it
4415 2007-10-01 Alexander Larsson <alexl@redhat.com>
4417 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4418 Fix up check for xattrs:
4420 2007-10-01 Alexander Larsson <alexl@redhat.com>
4423 (g_app_info_set_as_default_for_extension):
4424 (g_app_info_add_supports_type):
4425 (g_app_info_can_remove_supports_type):
4426 (g_app_info_remove_supports_type):
4427 Make these fail nicely if not implemented
4429 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4431 * gio/glocalfileoutputstream.c:
4432 * gio/glocalfileoutputstream.h:
4437 * programs/gio-save.c:
4438 Add a GFileCreateFlags argument to operations that can create
4441 2007-10-01 Alexander Larsson <alexl@redhat.com>
4443 * gio/gappinfo.[ch]:
4444 * gio/gdesktopappinfo.c:
4445 Add more (stubbed out) mime API needed for nautilus
4447 2007-10-01 Alexander Larsson <alexl@redhat.com>
4450 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4451 Add g_app_info_set_as_default_for_extension.
4453 * gio/gdesktopappinfo.c:
4454 Dummy for g_app_info_set_as_default_for_extension
4455 Support flags in g_app_info_create_from_commandline
4457 * gio/gwin32appinfo.c:
4459 Update for API changes
4461 * gio/gthemedicon.c:
4462 Properly NULL-terminate list of icon names
4464 2007-09-28 Alexander Larsson <alexl@redhat.com>
4466 * gio/gloadableicon.h:
4467 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4469 2007-09-28 Alexander Larsson <alexl@redhat.com>
4472 Install headers in $includedir/gio-standalone/
4474 * gio-2.0.pc.in: Added.
4475 * gio-standalone.pc.in: Removed.
4478 Renamed pkg-config file to match glib (for future move)
4479 Update to the new include dir
4482 Add more TODO comments
4484 2007-09-28 Alexander Larsson <alexl@redhat.com>
4486 * gio/gdesktopappinfo.[ch]:
4487 Expose new_from_filename
4488 Add getter for is_hidden and handle it better
4490 2007-09-28 Alexander Larsson <alexl@redhat.com>
4492 * gio/gfileinfo.[ch]:
4493 Rename g_file_size_format_for_display to
4494 g_format_file_size_for_display.
4495 Now it doesn't have the g_file prefix, so we
4496 can later move it to glib.
4498 2007-09-28 Alexander Larsson <alexl@redhat.com>
4500 * gio/gappinfo.[ch]:
4501 Add g_app_info_get_id and g_app_info_get_executable.
4502 Make all getters non-reffing
4503 Make g_app_info_launch take GFile arguments.
4504 Add must_support_uris argument to g_app_info_get_default_for_type.
4506 * gio/gwin32appinfo.c:
4507 Update to GAppInfo api changes
4509 * gio/gdesktopappinfo.c:
4510 Update to GAppInfo api changes
4511 Implement supports_xdg_startup_notify
4513 * gio/gfileicon.c (g_file_icon_get_file):
4514 Make getter non-reffing.
4519 2007-09-27 Alexander Larsson <alexl@redhat.com>
4521 * gio/gfileinfo.[ch]:
4522 Add g_file_size_format_for_display helper
4524 2007-09-27 Alexander Larsson <alexl@redhat.com>
4526 * gio/glocalfileinfo.c:
4527 Set UNIX_GID from gid, not from uid
4529 2007-09-27 Alexander Larsson <alexl@redhat.com>
4532 Add g_file_set_attributes_async
4534 2007-09-27 Alexander Larsson <alexl@redhat.com>
4536 * gio/glocalfile.c (g_local_file_set_display_name):
4537 Fix set_display_name to actually rename to the right place.
4538 Use lstat to look for existing files so we don't overwrite
4541 2007-09-26 Alexander Larsson <alexl@redhat.com>
4544 Add g_file_set_display_name_async()
4546 2007-09-26 Alexander Larsson <alexl@redhat.com>
4549 Add load_partial_contents async calls
4552 Make internal function static
4554 2007-09-26 Alexander Larsson <alexl@redhat.com>
4556 * gio/glocalfileinfo.c:
4557 Correctly detect broken symlinks
4559 2007-09-26 Alexander Larsson <alexl@redhat.com>
4561 * gio/gcancellable.c (g_cancellable_cancel):
4562 Allow cancel on NULL cancellable
4564 2007-09-25 Alexander Larsson <alexl@redhat.com>
4566 * gio/gsimpleasyncresult.c:
4567 Don't allocate g_error manually.
4568 Fixes g_slice/g_new mixup crash
4570 2007-09-25 Alexander Larsson <alexl@redhat.com>
4572 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4573 Actually set active_backend.
4574 This means the monitor will be cancelled correctly.
4576 2007-09-25 Alexander Larsson <alexl@redhat.com>
4578 * gio/gdirectorymonitor.c:
4579 Set timeout to NULL when destroying
4581 2007-09-25 Alexander Larsson <alexl@redhat.com>
4584 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4585 that is a better description of the error.
4587 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4589 * gio/gvfs.c: (g_vfs_get_local):
4590 Make the local vfs variable static. The same instance should
4593 2007-09-24 Alexander Larsson <alexl@redhat.com>
4595 * gio/glocalfileinfo.c:
4596 Pass in actual length read into sniffer, not the length
4599 2007-09-21 Alexander Larsson <alexl@redhat.com>
4601 * gio/gfileenumerator.c:
4604 * gio/gfileinputstream.c:
4605 * gio/gfileoutputstream.c:
4606 * gio/ginputstream.c:
4607 * gio/goutputstream.c:
4608 Don't crash if async callbacks are NULL
4610 2007-09-20 Alexander Larsson <alexl@redhat.com>
4613 Add async enumerate_children method and default
4616 2007-09-20 Alexander Larsson <alexl@redhat.com>
4619 Add g_file_contains_file & g_file_get_relative_path, since they
4620 were needed for nautilus.
4621 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4626 Implement new methods
4628 2007-09-17 Alexander Larsson <alexl@redhat.com>
4631 * gio/gfileinputstream.[ch]:
4632 * gio/gfileoutputstream.[ch]:
4634 * gio/glocalfileenumerator.[ch]:
4635 * gio/glocalfileinfo.[ch]:
4636 * gio/glocalfileinputstream.c:
4637 * gio/glocalfileoutputstream.c:
4638 * gio/gpollfilemonitor.c:
4639 * programs/gio-copy.c:
4640 * programs/gio-info.c:
4641 * programs/gio-move.c:
4642 Rename get_file_info to query_info() to make it clearer
4643 that these are not simple getters, but do i/o.
4645 2007-09-17 Alexander Larsson <alexl@redhat.com>
4647 * gio/gdatainputstream.[ch]:
4648 * gio/test-streams.c:
4649 Use _read_XXX instead of _get_XXX for the i/o calls
4652 2007-09-17 Alexander Larsson <alexl@redhat.com>
4655 Added needed stuff to TODO comment
4657 2007-09-17 Alexander Larsson <alexl@redhat.com>
4659 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4660 Don't error out removing the backup copy if it doesn't
4663 2007-09-14 Alexander Larsson <alexl@redhat.com>
4665 * programs/Makefile.am:
4666 * programs/gvfs-*.c:
4668 Renamed apps from gvfs-xxx to gio-xxx.
4670 2007-09-14 Alexander Larsson <alexl@redhat.com>
4673 * gio/gfileoutputstream.[ch]:
4674 * gio/glocalfileoutputstream.c:
4675 * programs/gvfs-save.c:
4676 g_file_output_stream_get_etag doesn't do i/o, so remove
4677 cancellation and error.
4679 2007-09-14 Alexander Larsson <alexl@redhat.com>
4682 Add new_etag output to replace_contents functions
4684 2007-09-14 Alexander Larsson <alexl@redhat.com>
4686 * gio/gfileoutputstream.[ch]:
4687 Add async get_file_info and default implementation
4689 2007-09-14 Alexander Larsson <alexl@redhat.com>
4691 * gio/gfileinputstream.c:
4692 Implement fallback wrapper for async get_file_info
4694 2007-09-14 Alexander Larsson <alexl@redhat.com>
4697 Add etag out argument to load_contents
4702 2007-09-14 Alexander Larsson <alexl@redhat.com>
4704 * gio/gcontenttype.c (looks_like_text):
4705 Whitespace like tab, cr and lf do not make the
4708 2007-09-14 Alexander Larsson <alexl@redhat.com>
4710 * gio/gfileinputstream.[ch]:
4711 Add async get_file_info.
4713 2007-09-13 Alexander Larsson <alexl@redhat.com>
4715 * gio/goutputstream.c (g_output_stream_write_all):
4716 Allow NULL for bytes_written
4718 2007-09-13 Alexander Larsson <alexl@redhat.com>
4720 * gio/gmemoryinputstream.[ch]:
4721 Add accessors for data
4723 2007-09-13 Alexander Larsson <alexl@redhat.com>
4725 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4726 Don't crash if length is NULL