1 2008-08-11 Tor Lillqvist <tml@novell.com>
3 * Makefile.am (platform_libadd): Remove -lwininet which had been
4 added by mistake. We will probably eventually be using WinHTTP,
5 not the older WinInet anyway. (Actually I am working on it.)
7 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
9 Bug 547080 – g_file_copy leaks expected errors
11 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
12 before trying the next fallback routine.
14 2008-08-09 Loïc Minier <lool@dooz.org>
16 Bug 535124 – umask 002 not being applied for new directories, new
17 files get the correct umask
19 * gfile.c (g_file_make_directory)
20 (g_file_make_directory_with_parents): Document ownership and
21 permissions of newly created directories as being the default
24 2008-08-08 Loïc Minier <lool@dooz.org>
26 Bug 535124 – umask 002 not being applied for new directories, new
27 files get the correct umask
29 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
32 2008-08-08 Tor Lillqvist <tml@novell.com>
34 * gwin32mount.c: Remove unused code. Whitespace cleanup.
36 * gwin32volumemonitor.c (get_connected_drives): Put questionable
37 code that didn't actually do anything inside #if 0, and add a
38 comment wondering what the code was supposed to do. This also gets
39 rid of a leftover debugging printout.
41 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
43 * gfileicon.c (g_file_icon_get_property)
44 (g_file_icon_set_property): New functions.
45 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
47 (g_file_icon_new): Use the property (bug #546132).
49 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
51 * gthemedicon.c (g_themed_icon_get_property): Also handle
52 `PROP_USE_DEFAULT_FALLBACKS'.
53 (g_themed_icon_class_init): Make
54 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
56 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
58 Bug 546371 – Improve docs re g_file_monitor
60 * gfilemonitor.c: Mention g_file_monitor() in the docs.
62 2008-08-04 Matthias Clasen <mclasen@redhat.com>
64 * === Released 2.17.6 ===
66 2008-08-04 Matthias Clasen <mclasen@redhat.com>
68 * === Released 2.17.5 ===
70 2008-08-04 Matthias Clasen <mclasen@redhat.com>
72 Bug 546017 – Don't copy attributes when copying a symlink
74 * gfile.c (g_file_copy_attributes): Specify
75 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
76 g_file_set_attributes_from_info. Patch by Christian Kellner
78 2008-08-04 Matthias Clasen <mclasen@redhat.com>
82 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
83 a bit more extensible. Work by Clemens Buss.
85 * gioenums.h: Add GEmblemOrigin.
88 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
90 Bug 546079 – leak in xdgmime
92 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
94 2008-08-03 Tor Lillqvist <tml@novell.com>
96 * win32/gwin32directorymonitor.h
97 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
100 2008-08-03 Tor Lillqvist <tml@novell.com>
102 * win32/gwin32directorymonitor.c
103 (g_win32_directory_monitor_callback): Make prototype match
104 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
105 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
108 (g_win32_directory_monitor_constructor):
109 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
110 names in the GLib API on Windows, so convert to UTF-16 and open
113 2008-08-03 Tor Lillqvist <tml@novell.com>
115 Bug 541036 - Gnumeric crashes when trying to open Desktop or
116 user's folder under Windows
118 * win32/gwin32directorymonitor.c
119 (g_win32_directory_monitor_constructor): Ignore error from
120 CreateFile() when opening directory. Instead of asserting, just
121 store INVALID_HANDLE_VALUE then in
122 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
123 ReadDirectoryChangesW().
124 (g_win32_directory_monitor_cancel): Don't attempt to close
125 directory handle if it is INVALID_HANDLE_VALUE.
127 2008-08-01 Matthias Clasen <mclasen@redhat.com>
129 * gdesktopappinfo.c: Remove debug spew
131 2008-08-01 Hans Breuer <hans@breuer.org>
133 * makefile.msc : add gemblembedicon
135 2008-07-30 Matthias Clasen <mclasen@redhat.com>
137 Bug 545457 – gdmsetup crashed with SIGSEGV in
138 g_unix_mount_guess_should_display()
140 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
141 crash if no mount is found.
143 2008-07-28 Matthias Clasen <mclasen@redhat.com>
145 Bug 545203 – gfile.c: argument is different type.
147 * gfile.c (open_read_async_thread): Pass a GError **
148 to g_file_set_error_literal.
149 Reported by Kazuki Iwamoto
151 2008-07-28 Matthias Clasen <mclasen@redhat.com>
153 Bug 545157 – wrong/no list of "open with" applications for .cc and
156 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
157 Collect all ancestors, not just direct parents. Pointed
158 out by Bastien Nocera
160 2008-07-28 Matthias Clasen <mclasen@redhat.com>
162 * Makefile.am: Install gemblemedicon.h
164 2008-07-28 Matthias Clasen <mclasen@redhat.com>
166 * gemblemedicon.[hc]: Add a GIcon implementation that can
167 add an emblem to another icon.
174 * gfileicon.c: Small documentation additions.
176 2008-07-28 Tor Lillqvist <tml@novell.com>
178 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
181 2008-07-27 Tor Lillqvist <tml@novell.com>
183 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
185 2008-07-24 David Zeuthen <davidz@redhat.com>
189 Also export a g_mount_guess_content_type_sync() function.
191 2008-07-23 Matthias Clasen <mclasen@redhat.com>
193 529694 – SELinux context setting support
195 * gfileinfo.c: Support setting selinux attributes.
196 Patch by Tomas Bzatek
198 2008-07-22 Priit Laes <plaes@plaes.org>
200 Bug 544140 - fam-helper 64-bit issue?
202 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
204 2008-07-21 Matthias Clasen <mclasen@redhat.com>
206 * === Released 2.17.4 ===
208 2008-07-20 Matthias Clasen <mclasen@redhat.com>
210 * gvolumemonitor.[hc]:
215 * gmount.c: Documentation fixes
217 2008-07-19 Matthias Clasen <mclasen@redhat.com>
219 543504 – crash in Epiphany Web Browser: Opening local file
230 * gvolume.c: Register types thread-safely.
231 Patch by Christian Persch
233 2008-07-18 Matthias Clasen <mclasen@redhat.com>
235 * gcontenttype.c: Remove debug spew
237 2008-07-18 Matthias Clasen <mclasen@redhat.com>
239 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
242 * fen/fen-kernel.c: Remove a warning that was causing
243 crashes. Reported by Lin Ma.
245 2008-07-18 Matthias Clasen <mclasen@redhat.com>
247 Bug 543040 – async reading on dummy file will crash on
250 * gfile.c (open_read_async_thread): Cope with read_fn being
251 NULL. Reported by Lin Ma.
253 2008-07-18 Matthias Clasen <mclasen@redhat.com>
256 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
258 2008-07-16 Matthias Clasen <mclasen@redhat.com>
262 * giomodule.c: Rename a chapter id to avoid filename conflict.
264 2008-07-16 Matthias Clasen <mclasen@redhat.com>
266 Bug 540616 – mem leak in filechooser button
268 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
269 the mount entry. Reported by Chrisitan Persch
271 2008-07-16 Matthias Clasen <mclasen@redhat.com>
273 * gfile.c: Small documentation fixes.
275 2008-07-15 Matthias Clasen <mclasen@redhat.com>
277 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
279 2008-07-08 Matthias Clasen <mclasen@redhat.com>
284 * gmount.c: Documentation improvements.
286 2008-07-08 Matthias Clasen <mclasen@redhat.com>
289 * gmount.[hc]: Add g_mount_guess_content_type().
291 2008-07-06 David Zeuthen <davidz@redhat.com>
294 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
295 is needed for easily handling adoption of foreign volumes by
296 out-of-process volume monitors (#541793)
298 2008-07-06 David Zeuthen <davidz@redhat.com>
300 * gvolumemonitor.[ch]:
301 * gunionvolumemonitor.c: Export the eject-button signal on the
302 volume monitor class (#541794).
304 2008-07-06 Matthias Clasen <mclasen@redhat.com>
306 * gappinfo.c: More doc tweaks
308 2008-07-05 Matthias Clasen <mclasen@redhat.com>
310 * gappinfo.c: Clarify some docs
312 2008-07-03 Matthias Clasen <mclasen@redhat.com>
314 * gdesktopappinfo.c: Fix a stupid mistake.
316 2008-07-02 Matthias Clasen <mclasen@redhat.com>
318 * === Released 2.17.3 ===
320 2008-07-02 Matthias Clasen <mclasen@redhat.com>
322 * gfilemonitor.c: Fix the build.
324 2008-07-02 Matthias Clasen <mclasen@redhat.com>
326 Bug 536160 – Add g_file_monitor()
329 * gfile.[hc]: Add g_file_monitor which can return either
330 a file or a directory monitor. Proposed by Behdad Esfahbod
332 2008-07-02 Matthias Clasen <mclasen@redhat.com>
334 536733 – gio build failure on Irix
336 * glocalfile.c: Use a configure check for structfs.f_bavail.
338 2008-07-02 Matthias Clasen <mclasen@redhat.com>
340 Bug 534639 – add g_desktop_app_info_new_from_keyfile
343 * gdesktopappinfo.[hc]: Add a function to create a
344 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
346 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
348 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
350 2008-07-01 Matthias Clasen <mclasen@redhat.com>
352 * gunixmounts.c: Fix a doc typo.
354 2008-07-01 Cody Russell <bratsche@gnome.org>
356 * gio/gcontenttype.c:
357 * gio/gwin32appinfo.c:
358 * gio/gwin32volumemonitor.c:
359 * gio/gwin32mount.c: Fixed some include problems.
361 2008-07-01 Cody Russell <bratsche@gnome.org>
365 Moved all relevant typedefs into these files.
368 Updated wrt added files.
370 Split types into separate file for easier maintainership. (#538564)
372 2008-06-30 Matthias Clasen <mclasen@redhat.com>
374 Bug 540331 – g_file_append_to () documentation: can return NULL
376 * gfile.c (g_file_append_to): Clarify docs.
379 2008-06-30 Matthias Clasen <mclasen@redhat.com>
381 Bug 539090 – g_content_type_from_mime_type() should unalias
383 * gcontentype.c (g_content_type_from_mime_type): Unalias.
384 Patch by Markus Bergman
386 2008-06-30 Matthias Clasen <mclasen@redhat.com>
388 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
391 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
392 on ppc and alpha. Reported by Mart Raudsepp
394 2008-06-29 Matthias Clasen <mclasen@redhat.com>
397 * tests/memory-output-stream.c: Add some tests for
400 2008-06-29 Matthias Clasen <mclasen@redhat.com>
402 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
405 * gmemoryoutputstream.c (array_resize): Handle truncation to
406 zero correctly. Reported by Akira Tagoh
408 2008-06-29 Matthias Clasen <mclasen@redhat.com>
410 * gmemoryoutputstream.c: Trivial doc fixes
412 2008-06-29 Matthias Clasen <mclasen@redhat.com>
414 Bug 540802 – g_list_prepend doesn't concat lists
416 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
417 one list to another. Pointed out by Jan Arne Petersen
419 2008-06-28 Michael Natterer <mitch@imendio.com>
421 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
423 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
425 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
426 to avoid problems with partial icon themes.
428 2008-06-17 Hans Breuer <hans@breuer.org>
430 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
431 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
432 access again on win32, see bug #538127
433 * giomodule.c : ensure GWin32VolumeMonitor is registered
434 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
435 * Makefile.am makefile.msc : updated
437 2008-06-16 Hans Breuer <hans@breuer.org>
439 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
440 and initialization in one step avoids c99ism
442 2008-06-16 Christian Persch <chpe@gnome.org>
445 * gio/gbufferedinputstream.c
447 * gio/gdatainputstream.c
448 * gio/gdesktopappinfo.c
450 * gio/gfileenumerator.c
451 * gio/gfileinputstream.c
452 * gio/gfileoutputstream.c
454 * gio/glocaldirectorymonitor.c
456 * gio/glocalfileenumerator.c
457 * gio/glocalfileinfo.c
458 * gio/glocalfilemonitor.c
459 * gio/glocalfileoutputstream.c
460 * gio/gmemoryinputstream.c
461 * gio/gmemoryoutputstream.c
462 * gio/goutputstream.c
463 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
466 2008-06-16 Tor Lillqvist <tml@novell.com>
468 Bug 538362 - Get Win32 icons back in the file chooser
470 * gcontenttype.c (g_content_type_get_icon): Look up the icon
471 corresponding to a file extension in the Registry. Patch by Hans
473 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
475 2008-06-16 Tor Lillqvist <tml@novell.com>
477 Patches by Hans Breuer:
479 * glocalfile.c (is_xp_or_later): Handle compiling against older
480 SDK headers with missing VerifyVersionInfo(). Conditioned on
481 _MSC_VER, but should probably use some better test.
482 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
483 uninitialised statfs_result variable on Win32.
485 2008-06-16 Michael Natterer <mitch@imendio.com>
487 * *.c: chain up unconditionally in finalize() and dispose(). Also
488 don't dereference these function pointers when calling them since
489 that has no meaning at all.
491 2008-06-16 Ross Burton <ross@burtonini.com>
494 Remove check for dispose implementation as it annoys Emmanuele.
496 2008-06-16 Ross Burton <ross@burtonini.com>
498 Bug 536252 – GFileEnumerator should allow access to the containing
504 Add g_file_enumerator_get_container() and a container writeable
505 construct-only property. Also shuffle around typedefs to make it
508 * glocalfileenumerator.c:
509 * glocalfileenumerator.h:
511 Instead of a string filename take a GFile in the constructor and
512 use it to set the container property.
517 2008-06-16 Matthias Clasen <mclasen@redhat.com>
519 * gfile.c: Make includes more uniform
521 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
523 * tests/live-g-file.c (sample_struct):
524 Use less fancy unicode filenames, so the test doesn't fail
525 on Mac OS X (#531476).
527 2008-06-12 Matthias Clasen <mclasen@redhat.com>
529 * === Released 2.17.2 ===
531 2008-06-12 Matthias Clasen <mclasen@redhat.com>
533 * === Released 2.17.1 ===
535 2008-06-11 A. Walton <awalton@gnome.org>
537 * tests/g-file.c (test_g_file_new_null):
538 Fix broken test case.
540 2008-06-11 Matthias Clasen <mclasen@redhat.com>
542 * pltcheck.sh: We use g_clear_error now.
544 2008-06-11 Matthias Clasen <mclasen@redhat.com>
546 * glocalfile.c (g_local_file_enumerate_children): Revert
547 an unintended change.
549 2008-06-11 Matthias Clasen <mclasen@redhat.com>
551 * gfile.c (g_file_replace_contents): Don't unref before the last use.
553 2008-06-10 Matthias Clasen <mclasen@redhat.com>
555 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
558 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
559 as icon for the desktop directory, also make user-home and
560 user-desktop the preferred icons.
562 2008-06-10 Matthias Clasen <mclasen@redhat.com>
565 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
566 to add a name to the front of the list.
568 2008-06-10 Matthias Clasen <mclasen@redhat.com>
570 Bug 537392 – Additional colon in xattr name
572 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
573 too. Reported by Alessandro Morandi
575 2008-06-10 Matthias Clasen <mclasen@redhat.com>
577 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
580 * glocalfile.c (get_fs_type): Add afs and autofs.
581 Patch by Danny Baumann.
583 2008-06-10 Matthias Clasen <mclasen@redhat.com>
585 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
587 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
588 is no parent. (Owen Taylor, patch by Christian Neumair)
590 2008-06-10 Paolo Borelli <pborelli@katamail.com>
592 * gfile.c (g_file_replace_contents): do not leak the output stream.
594 2008-06-10 Michael Natterer <mitch@imendio.com>
596 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
597 uninitialized memory as array index.
599 2008-06-10 Tor Lillqvist <tml@novell.com>
601 * gcontenttype.c (g_content_type_can_be_executable)
602 (g_content_type_get_icon) [Win32]: Add TODO comments.
604 2008-06-09 Matthias Clasen <mclasen@redhat.com>
606 * xdgmime/Makefile.am: Fix the build
608 2008-06-09 Matthias Clasen <mclasen@redhat.com>
610 * gcontenttype.c (g_content_type_get_icon): Use icons specified
611 in the shared mime database, if available.
613 * xdgmime/*: Sync with upstream. This brings support for
614 glob weights, generic icons, and changes the cache format to
617 2008-05-28 Michael Natterer <mitch@imendio.com>
619 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
620 the global CPPFLAGS now.
622 * tests/data-input-stream.c
623 * tests/data-output-stream.c
624 * tests/g-file-info.c
626 * tests/live-g-file.c
627 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
629 2008-05-27 Matthias Clasen <mclasen@redhat.com>
631 * === Released 2.17.0 ===
633 * tests/live-g-file.c: Clean up after the tests, so make distcheck
634 doesn't complain about leftover files.
636 2008-05-27 simon.zheng <simon.zheng@sun.com>
638 * glocalfile.c: (g_local_file_query_filesystem_info):
639 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
641 2008-05-26 Michael Natterer <mitch@imendio.com>
643 * gmemoryoutputstream.h: declare
644 g_memory_output_stream_get_data_size().
646 2008-05-26 Matthias Clasen <mclasen@redhat.com>
648 * tests/*: Make tests work
650 2008-05-26 Matthias Clasen <mclasen@redhat.com>
652 * gio.symbols: Add g_memory_output_stream_get_data_size.
654 2008-05-25 Ross Burton <ross@burtonini.com>
657 Fix typo in error message (#534764).
659 2008-05-25 Ross Burton <ross@burtonini.com>
662 Fix circular dependency loop for gioenumtypes.h (#534759).
664 2008-05-19 Hans Breuer <hans@breuer.org>
666 * Makefile.am : EXTRA_DIST += makefile.msc
668 2008-05-17 Matthias Clasen <mclasen@redhat.com>
671 * gcontenttype.c: (g_content_type_from_mime_type):
672 New function to create a content type from a mime type. (#527175,
675 2008-05-17 Matthias Clasen <mclasen@redhat.com>
677 Bug 532965 – Should not return filesystem::free for certain file systems
679 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
680 free space for ncpfs.
682 2008-05-17 Matthias Clasen <mclasen@redhat.com>
684 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
686 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
687 st_dev might be zero.
689 2008-05-16 Tor Lillqvist <tml@novell.com>
691 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
692 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
694 2008-05-13 Bastien Nocera <hadess@hadess.net>
696 * gfile.c (has_valid_scheme): A URI scheme must start with a
697 letter, even if later more characters are allowed (#532852)
699 2008-05-05 Michael Natterer <mitch@imendio.com>
701 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
702 code from being checked in that breaks the build of applications
703 which use G_DISABLE_SINGLE_INCLUDES.
705 * makegioalias.pl: make the alias file include "glib.h" instead of
708 * gio.symbols: whitespace change to force regeneration of the
709 alias file after above script change.
711 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
713 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
715 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
717 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
719 2008-04-28 David Zeuthen <davidz@redhat.com>
721 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
722 displaying mounts in a subdirectory not accessible to the
725 2008-04-22 Michael Natterer <mitch@imendio.com>
727 * Makefile.am: fix library versioning (it was 0.0.0).
729 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
731 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
732 Default disable all loggings.
733 * fen/fen-kernel.c: (printevent), (port_add_kevent),
734 (port_fetch_event_cb): Fixed two macro nits.
736 2008-04-16 Matthias Clasen <mclasen@redhat.com>
738 * xdgmime/xdgmime.c: Rework the timestamp checking code
739 to protect against duplicate directories in XDG_DATA_DIRS.
740 Fixes fd.o bug 12513, reported by Joe Shaw.
742 2008-04-16 Matthias Clasen <mclasen@redhat.com>
744 Partically revert the last commit after realizing that
745 xdg_mime_media_type_equal doesn't have to init at all.
748 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
750 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
752 2008-04-16 Matthias Clasen <mclasen@redhat.com>
754 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
755 reported by Joe Shaw and Federico Mena Quintero.
757 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
758 (xdg_mime_media_type_equal): Turn into a wrapper around the
761 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
762 functions throughout.
764 2008-04-16 Michael Meeks <michael.meeks@novell.com>
766 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
767 tolerate an empty TryExec= line without failing; nautilus used
768 to create launchers with these in previous versions. Fixes #528433
770 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
772 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
773 after name. Fixes #527132.
775 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
777 * gfile.c: (g_file_replace):
780 2008-04-07 Matthias Clasen <mclasen@redhat.com>
782 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
784 * gfile.c (file_copy_fallback): Fix the argument order. Patch
785 by Christian Kellner.
787 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
789 * gunixmounts.c: (g_unix_mount_guess_should_display):
790 Don't list the user directory as a mount, fix potential issue
791 when other users have a similar naming and don't special case the
792 gvfs mounts there since that's not required (#525866)
794 2008-03-31 Alexander Larsson <alexl@redhat.com>
796 * glocalfile.c (get_parent):
799 2008-03-31 A. Walton <awalton@svn.gnome.org>
801 * gfile.c (g_file_query_file_type):
802 Always return a GFileType enum value (#520715).
804 2008-03-31 Alexander Larsson <alexl@redhat.com>
806 * glocalfileenumerator.c:
807 Read readdir() info in chunks (of 1000) and sort
808 the chunks by inode before stat:ing.
809 This is a 20% performance increase in testing
810 gvfs-ls on /usr/bin with cold cache.
812 2008-03-31 Alexander Larsson <alexl@redhat.com>
814 * gmemoryoutputstream.c:
815 Clarify docs for g_memory_output_stream_get_size.
816 Add g_memory_output_stream_get_data_size.
818 2008-03-30 Matthias Clasen <mclasen@redhat.com>
822 * gfile.h: Add g_file_query_file_type convenience function
823 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
825 2008-03-30 Matthias Clasen <mclasen@redhat.com>
828 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
830 2008-03-28 A. Walton <awalton@svn.gnome.org>
832 * giomodule.c (_g_io_modules_ensure_loaded):
833 Adds GIO_EXTRA_MODULES environment variable support, closing bug
836 2008-03-28 Alexander Larsson <alexl@redhat.com>
839 (copy_stream_with_progress):
842 2008-03-28 Alexander Larsson <alexl@redhat.com>
845 (copy_stream_with_progress):
846 (file_copy_fallback):
847 Fallback to g_file_query_info for source size
848 if g_file_input_stream_query_info fails. (#524579)
850 2008-03-28 Alexander Larsson <alexl@redhat.com>
852 * glocalfile.c (g_local_file_move):
853 Reuse old string instead of adding new one.
855 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
857 * fen/*.[hc]: still copyright issue. I hate copyright.
859 2008-03-27 Alexander Larsson <alexl@redhat.com>
861 * glocalfile.c (g_local_file_move):
862 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
863 file over directory. This is according to the docs and what the move via
864 copy+remove fallback does.
866 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
868 * fen/*.[hc]: Updated copyright.
870 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
872 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
874 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
876 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
877 not emit attribute changed events when optimizing changed events.
878 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
881 2008-03-19 Matthias Clasen <mclasen@redhat.com>
883 * gmountoperation.[hc]: Small documentation additions
885 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
887 * gunixmounts.c: (guess_mount_type):
888 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
890 2008-03-19 Alexander Larsson <alexl@redhat.com>
893 (copy_stream_with_progress):
894 Bump block side for copy to 64k to minimize
895 overhead for low latency links. (#523015)
897 2008-03-16 Tor Lillqvist <tml@novell.com>
899 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
900 depend on gio.def on Windows.
902 2008-03-12 David Zeuthen <davidz@redhat.com>
906 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
908 2008-03-14 Alexander Larsson <alexl@redhat.com>
912 Avoid redudant tests (#521851)
913 Patch from Josselin Mouette
915 2008-03-14 Alexander Larsson <alexl@redhat.com>
918 (g_file_monitor_is_cancelled):
919 Fix C89 issue (#521672)
920 Patch from Jens Granseuer
922 2008-03-14 Alexander Larsson <alexl@redhat.com>
924 * fam/fam-helper.[ch]:
926 Shut down fam (including removing fam GSource) when
927 module is unloaded (#521513)
928 Patch from Joe Marcus Clarke
930 2008-03-14 Alexander Larsson <alexl@redhat.com>
933 (_g_io_modules_ensure_loaded):
936 2008-03-14 Alexander Larsson <alexl@redhat.com>
939 (g_local_file_query_filesystem_info):
940 Use right define name for f_fstypename member check
942 2008-03-14 Alexander Larsson <alexl@redhat.com>
945 * fen/Makefile.am: Added.
946 * fen/fen-data.[ch]: Added.
947 * fen/fen-dump.[ch]: Added.
948 * fen/fen-helper.[ch]: Added.
949 * fen/fen-kernel.[ch]: Added.
950 * fen/fen-missing.[ch]: Added.
951 * fen/fen-node.[ch]: Added.
952 * fen/fen-sub.[ch]: Added.
953 * fen/gfendirectorymonitor.[ch]: Added.
954 * fen/gfenfilemonitor.[ch]: Added.
956 Added Solaris FEN file notification backend.
957 Patch from Lin Ma <Lin.Ma@Sun.COM>
959 2008-03-13 Tor Lillqvist <tml@novell.com>
961 * Makefile.am: Actually use the gio.def file when linking the
962 library on Windows. Produce .lib library for Microsoft's toolchain
963 when possible. Install the .lib and .def file like for the other
966 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
968 * tests/live-g-file.c:
969 Include live-g-file in standard set of tests, making a temporary
970 directory in source structure.
972 Clean target directory before the tests (write mode only)
974 2008-03-12 Tor Lillqvist <tml@novell.com>
976 Bug 517419 - gio win32 directory monitor
977 Implementation by Vlad Grecescu.
980 * win32/gwin32directorymonitor.h
981 * win32/gwin32directorymonitor.c: New files.
983 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
985 * Makefile.am: Add the win32 subdirectory.
987 2008-03-12 Tor Lillqvist <tml@novell.com>
989 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
990 normal struct stat on Unix but struct _stati64 on Windows to have
991 access to 64-bit file size information. Use that instead of struct
992 stat in the functions declared here in this private header.
994 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
995 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
996 warnings about unused functions and variables. Don't set
997 meaningless attributes like inode numbers on Windows.
999 2008-03-12 Benjamin Otte <otte@gnome.org>
1002 trim whitespace so gtk-doc groks the function name
1004 2008-03-12 Tor Lillqvist <tml@novell.com>
1006 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1007 returning FALSE, on Win32.
1009 2008-03-11 Alexander Larsson <alexl@redhat.com>
1012 * glocalfileinfo.[ch]:
1013 Correctly implement can_trash by actually
1014 looking for a trash dir, not just assuming
1017 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1019 * === Released 2.16.1 ===
1021 2008-03-11 Alexander Larsson <alexl@redhat.com>
1024 Fix crashes in new constructor and properties code
1026 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1028 * gfile.c: Minor spelling correction in documentation:
1029 existance -> existence.
1031 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1033 * === Released 2.16.0 ===
1035 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1037 * gio.symbols: Remove g_file_contains_file here, too.
1039 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1041 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1042 Samuel Cormier-Iijima)
1044 2008-03-08 Tor Lillqvist <tml@novell.com>
1046 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1049 2008-03-07 Alexander Larsson <alexl@redhat.com>
1052 (g_local_file_query_filesystem_info):
1053 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1054 Patch from Jasper Lievisse Adriaanse
1056 2008-03-06 Tor Lillqvist <tml@novell.com>
1058 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1059 comments for the *_USEC attributes.
1061 2008-03-06 Alexander Larsson <alexl@redhat.com>
1063 * gfile.c (g_file_query_exists):
1064 Add g_return_val_if_fail check (#520700)
1066 2008-03-06 Alexander Larsson <alexl@redhat.com>
1068 * gdesktopappinfo.c:
1071 * gunionvolumemonitor.c:
1074 * tests/live-g-file.c:
1075 * xdgmime/xdgmimecache.c:
1076 Fix sparse warnings (#519489)
1078 2008-03-05 Alexander Larsson <alexl@redhat.com>
1081 Make cancellation threadsafe (i.e.
1082 guarantee its only done once, and always
1085 * glocaldirectorymonitor.c:
1086 Make sure we the monitor lives while the
1087 mounts_changed callback is being called (#520484)
1089 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1091 * gbufferedinputstream.c: Fix typo in parameter
1094 2008-03-04 Alexander Larsson <alexl@redhat.com>
1097 Remove deprecated symbols we kept for one release.
1099 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1102 * goutputstream.c: Tiny documentation corrections.
1104 2008-03-03 Alexander Larsson <alexl@redhat.com>
1106 * gunionvolumemonitor.c:
1108 Fix the adopt_orphan_mount vfunc to take a
1109 volume_monitor reference in an ABI compat way.
1110 This change is not API compat, but the added
1111 arg is not used in the only user of this vfunc, so
1112 all we get is a harmless warning in gvfs (#520169)
1114 2008-03-01 Benjamin Otte <otte@gnome.org>
1117 clarify docs for g_file_delete().
1119 2008-02-29 Alexander Larsson <alexl@redhat.com>
1123 Make sure empty files get text/plain type (#518720)
1125 2008-02-27 Alexander Larsson <alexl@redhat.com>
1131 (g_unix_volume_mount):
1132 Add missing GMountMountFlags argument
1134 2008-02-26 Alexander Larsson <alexl@redhat.com>
1137 (g_local_file_delete):
1138 Handle filesystems (like ntfs-3g) that return EEXIST instead
1139 of ENOTEMPTY (#518816)
1141 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1143 * === Released 2.15.6 ===
1145 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1147 * gfile.c (g_file_find_enclosing_mount):
1148 * ginputstream.c (g_input_stream_set_pending):
1149 * glocalfile.c (g_local_file_find_enclosing_mount):
1150 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1151 * goutputstream.c (g_output_stream_set_pending):
1153 Fixup translator comments (#518578).
1155 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1157 * gfile.c (g_file_find_enclosing_mount):
1159 * glocalfile.c (g_local_file_find_enclosing_mount):
1162 Fix a few typos in translator comments and documentation.
1164 2008-02-25 Alexander Larsson <alexl@redhat.com>
1171 Add translator comments (#518578)
1173 2008-02-25 Alexander Larsson <alexl@redhat.com>
1176 Reintroduce g_file_contains_file, keep around for one
1177 unstable release cycle to avoid crashing to many apps.
1178 Make sure to delete after release.
1180 2008-02-25 Alexander Larsson <alexl@redhat.com>
1183 Remove deprecated g_file_contains_file.
1185 2008-02-25 Alexander Larsson <alexl@redhat.com>
1188 Emit actual change signals in an idle handler.
1189 This avoids reentrance and locking problems in
1190 the file notification backends.
1192 2008-02-25 Alexander Larsson <alexl@redhat.com>
1195 (g_unix_mount_guess_should_display):
1196 Remove type guessing, instead just display
1197 mounts in /media and in ~/.
1199 2008-02-25 Alexander Larsson <alexl@redhat.com>
1202 Make new strings reuse old ones.
1204 2008-02-25 Alexander Larsson <alexl@redhat.com>
1207 Implement trashing and filesystem::readonly for win32 (#517235)
1208 Patch from Yevgen Muntyan
1210 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1212 * gfileinfo.h: Documentation fixes.
1214 2008-02-22 Alexander Larsson <alexl@redhat.com>
1216 * gcontenttype.c (g_content_type_get_icon):
1217 Look at old-style gnome mime icon names too, as many
1218 have not moved to the new style.
1220 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1222 * *.c: Correct the @include in for section docs.
1224 2008-02-21 David Zeuthen <davidz@redhat.com>
1226 * glocalfileinfo.c: (_g_local_file_info_get):
1228 (g_content_type_get_icon): Implement this function by
1229 moving bits from glocalfileinfo.c
1230 (g_content_type_get_description): Unalias before getting
1231 description (#517687)
1233 * gfile.c: (g_file_class_init),
1234 (g_file_query_filesystem_info_async),
1235 (g_file_query_filesystem_info_finish),
1236 (query_filesystem_info_data_free),
1237 (query_filesystem_info_async_thread),
1238 (g_file_real_query_filesystem_info_async),
1239 (g_file_real_query_filesystem_info_finish):
1240 * gfile.h: Implement async version of
1241 g_file_query_filesystem_info()
1243 * gfileinfo.h: Add new attributes for filesystem::use-preview
1245 * gio.symbols: Update
1247 * gthemedicon.c: (g_themed_icon_append_name):
1248 * gthemedicon.h: Add new new convenience function.
1250 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1251 (get_mounts), (get_volumes), (get_connected_drives),
1252 (get_volume_for_uuid), (get_mount_for_uuid),
1253 (g_union_volume_monitor_init), (populate_union_monitor),
1254 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1255 (g_volume_monitor_adopt_orphan_mount):
1257 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1258 monitor implementations to call into the main volume monitor. Also
1259 separate object initialization and volume monitor initialization
1260 such that non-native volume monitors can properly adopt their
1263 2008-02-21 Alexander Larsson <alexl@redhat.com>
1268 2008-02-21 Alexander Larsson <alexl@redhat.com>
1271 Add more documentation about how GFiles work (from #517086)
1273 2008-02-21 Alexander Larsson <alexl@redhat.com>
1277 Add new g_file_has_prefix that does the same as g_file_contains_file.
1278 Deprecate g_file_contains_file and add a macro that converts
1279 it to g_file_has_prefix.
1280 The reason for this change is that the contains_file() name seems to
1281 imply that this does more work than what it does, but its really only
1282 a name match (from #517086)
1287 Update to match the above change.
1289 2008-02-20 Benjamin Otte <otte@gnome.org>
1291 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1292 (g_file_eject_mountable):
1293 even more cases of not returning in error path
1295 2008-02-20 Benjamin Otte <otte@gnome.org>
1297 * gfile.c: (g_file_mount_mountable):
1298 return from function in error path.
1300 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1303 Remove trailing coma in GMountMountFlags struct
1305 2008-02-18 Alexander Larsson <alexl@redhat.com>
1309 * glocalfileoutputstream.c:
1310 Use g_unlink/g_rename instead of unlink/rename;
1311 do not pass raw filenames to g_set_error. (#517239)
1312 Patch from Yevgen Muntyan.
1314 2008-02-18 Alexander Larsson <alexl@redhat.com>
1317 * glocalfileoutputstream.c:
1318 Open files with O_BINARY on windows. (#517140)
1320 2008-02-14 Alexander Larsson <alexl@redhat.com>
1322 * glocalfileoutputstream.c:
1323 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1325 2008-02-14 Alexander Larsson <alexl@redhat.com>
1328 Copy permissions with file on copy (#514084)
1329 This is what cp does and makes sure e.g. the
1330 exec permissions are kept.
1331 Its kinda weird in that it keeps the permission bits
1332 the same while the uid and gid are different. However
1333 the new uid is the user so its not a security issue,
1334 and I've heard no complaints about cp on this issue.
1336 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1338 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1340 2008-02-13 Alexander Larsson <alexl@redhat.com>
1342 * inotify/inotify-path.c:
1343 Define IN_ONLYDIR if not in header (#515346)
1345 2008-02-12 Alexander Larsson <alexl@redhat.com>
1347 * tests/live-g-file.c:
1350 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1352 * === Released 2.15.5 ===
1354 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1356 * gio.symbols: Add g_mount_mount_flags_get_type.
1358 2008-02-11 Alexander Larsson <alexl@redhat.com>
1361 (g_file_info_set_attribute_mask):
1362 (g_file_attribute_matcher_matches_id):
1363 Correctly handle NULL GAttributeMatcher meaning
1364 matches nothing. (Fixes #513492)
1366 2008-02-11 Alexander Larsson <alexl@redhat.com>
1371 Added GMountMountFlags enum and added a flags
1372 argument to all mount calls.
1374 This is an API/ABI change for future extensibility,
1375 as I think we will need at least an
1376 inhibit-autorun flag (the panel needs this).
1377 There are no flags defined yet though.
1379 2008-02-11 Alexander Larsson <alexl@redhat.com>
1382 Added new standard::description attribute.
1383 Requested by Vincent, and useful for both
1386 2008-02-11 Alexander Larsson <alexl@redhat.com>
1388 * gdesktopappinfo.c:
1391 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1393 * *.c: Documentation additions
1395 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1397 * gappinfo.h: Formatting cleanup
1398 * gappinfo.c: Fix up docs.
1400 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1402 * gunixmounts.c: Consistently use getmntent_r() and fall
1403 back to getmntent(). (#515492)
1405 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1407 * gbufferedinputstream.c:
1409 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1411 * tests/data-input-stream.c:
1412 * tests/data-output-stream.c: Portability fixes.
1414 2008-02-08 Alexander Larsson <alexl@redhat.com>
1419 Add g_volume_should_automount.
1422 2008-02-07 Tor Lillqvist <tml@novell.com>
1424 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1425 Win32, too Unix-specific.
1427 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1429 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1430 a local plt if the compiler doesn't support what we want. Bug #514702
1432 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1434 reviewed by: <delete if not using a buddy>
1437 * gunixinputstream.c:
1438 * gunixoutputstream.c:
1440 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1442 * tests/Makefile.am:
1443 * tests/live-g-file.c:
1444 * tests/live-g-file.txt:
1445 New GIO testing module working over real data
1447 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1449 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1450 Fallback to rename() if link() is not available
1451 (when no support on target filesystem)
1453 2008-02-06 Michael Natterer <mitch@imendio.com>
1455 * gfileinfo.c (g_file_info_get_icon): replace
1456 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1458 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1460 * gfile.c (g_file_create):
1461 Documentation update of error codes
1463 2008-02-06 Alexander Larsson <alexl@redhat.com>
1465 * gdesktopappinfo.c:
1466 Update to use both mimeapps.list and
1467 defaults.list as discussed on xdg list.
1469 2008-02-06 Benjamin Otte <otte@gnome.org>
1472 * gfilenamecompleter.c:
1473 Fix some typos in the documentation.
1475 2008-02-06 Alexander Larsson <alexl@redhat.com>
1477 * glocalfile.c (g_local_file_trash):
1478 Don't succeed with trash if newly created
1479 trash dir has the wrong owner. (#514696)
1481 2008-02-05 Alexander Larsson <alexl@redhat.com>
1483 * glocalfile.c (g_local_file_move):
1484 Don't spew warnings when destination is not
1487 2008-02-03 Hans Breuer <hans@breuer.org>
1489 * makefile.msc : update
1491 2008-02-01 Michael Natterer <mitch@imendio.com>
1493 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1494 return value of xdg_mime_list_mime_parents() to a variable of the
1497 2008-02-01 Alexander Larsson <alexl@redhat.com>
1499 * gappinfo.c (g_app_info_launch_uris):
1500 Actually call the launch_uris method, not
1503 2008-02-01 Alexander Larsson <alexl@redhat.com>
1505 * gdesktopappinfo.c (g_desktop_app_info_equal):
1506 Ensure appinfos with no id but same pointer value
1509 2008-02-01 Alexander Larsson <alexl@redhat.com>
1511 * gappinfo.c (g_app_info_launch_default_for_uri):
1514 2008-02-01 Alexander Larsson <alexl@redhat.com>
1518 Add g_app_info_launch_default_for_uri utility
1521 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1523 * gdesktopappinfo.c:
1524 Doc fix for g_app_info_get_default_for_uri_scheme ()
1527 2008-01-30 Alexander Larsson <alexl@redhat.com>
1530 Add doc comment about uris vs GFiles to
1533 * gdesktopappinfo.c:
1534 Ensure uris passed to g_app_info_launch_uris()
1535 are not roundtriped through GFile (as that
1536 may be slightly destructive for e.g. mailto: links)
1538 2008-01-30 Alexander Larsson <alexl@redhat.com>
1540 * tests/data-input-stream.c:
1541 * tests/data-output-stream.c:
1542 C89 fixes from Jens Granseuer (#512849)
1544 2008-01-30 Alexander Larsson <alexl@redhat.com>
1547 Fix gamin/fam difference build issue. (#509419)
1549 2008-01-29 Alexander Larsson <alexl@redhat.com>
1552 * gdesktopappinfo.c:
1553 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1555 2008-01-29 Alexander Larsson <alexl@redhat.com>
1557 * gdesktopappinfo.c:
1558 * gdesktopappinfo.h:
1559 giomodule-priv.h include moved to .c file.
1561 2008-01-29 Alexander Larsson <alexl@redhat.com>
1563 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1564 Remove unused prio/name fields.
1566 2008-01-29 Alexander Larsson <alexl@redhat.com>
1568 * gcontenttype.c (looks_like_text):
1569 Don't treat whitespace as control chars.
1571 2008-01-29 Alexander Larsson <alexl@redhat.com>
1573 * gdesktopappinfo.c:
1574 Lazily create the desktop files for appinfos created
1575 by g_app_info_create_from_commandline() when needed
1576 for mime associations. This allows run-time use
1577 of GAppInfo object without creating unnecessary
1580 2008-01-29 Alexander Larsson <alexl@redhat.com>
1583 Added new symbols to gio.symbols
1585 2008-01-29 Alexander Larsson <alexl@redhat.com>
1588 Add g_file_query_default_handler utility to easily look up
1589 the GAppInfo that handles a file.
1591 * gdesktopappinfo.[ch]:
1593 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1596 Remove unused function
1598 2008-01-29 Alexander Larsson <alexl@redhat.com>
1600 * gfileenumerator.c:
1601 Mention need to free returned value in
1602 g_file_enumerator_next_files_finish docs.
1603 Fix leak if g_file_enumerator_next_files_finish()
1606 2008-01-29 Alexander Larsson <alexl@redhat.com>
1609 (_g_unix_content_type_get_parents):
1610 Use list_parents, not get_parents from xdgmime, because
1611 the later doesn't use the cache.
1613 * xdgmime/xdgmimecache.c:
1614 (_xdg_mime_cache_list_mime_parents):
1615 Don't list the same type as parent multiple times.
1617 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1619 * === Released 2.15.4 ===
1621 2008-01-28 Alexander Larsson <alexl@redhat.com>
1624 Register local vfs with prio 0.
1627 Remove old name and prio class members
1629 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1631 * tests/g-file.c: Disable some tests that are failing in
1632 the absence of a http backend.
1634 2008-01-28 Alexander Larsson <alexl@redhat.com>
1638 Add registration hooks for extension points.
1639 Register the gio extension points.
1641 * fam/gfamdirectorymonitor.c:
1642 * fam/gfamfilemonitor.c:
1643 * glocaldirectorymonitor.[ch]:
1644 * glocalfilemonitor.[ch]:
1645 * gnativevolumemonitor.h:
1646 * gunionvolumemonitor.c:
1647 * gunixvolumemonitor.c:
1650 * inotify/ginotifydirectorymonitor.c:
1651 * inotify/ginotifyfilemonitor.c:
1652 Use the extension points registration instead
1653 of g_type_children().
1655 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1658 * gvolume.[hc]: Document new API.
1660 * gfile.c (g_file_copy_async): Fix docs
1662 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1664 * gbufferedinputstream.c:
1666 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1669 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1671 * glocalfile.c: Avoid trivial differences in translatable strings.
1673 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1675 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1676 build with gcc 3.4 (#509419)
1678 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1680 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1681 (#509994, Murray Cumming)
1683 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1685 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1686 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1687 this allows big jobs to be executed in chunks, instead of blocking
1688 the main loop for a long time.
1690 * gsimpleasyncresult.c:
1691 * giofile.c: Adapt callers.
1693 2008-01-25 Alexander Larsson <alexl@redhat.com>
1695 * gdesktopappinfo.c:
1696 Implement changes discussed on xdg list.
1697 Now we can add supported mimetypes by just using defaults.list
1698 We can also remove associations in defaults.list.
1700 2008-01-25 Alexander Larsson <alexl@redhat.com>
1702 * gdesktopappinfo.c:
1703 Don't make local copy of desktop file
1704 for mimetype changes if the file already
1705 supports the new mimetype.
1707 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1711 * gbufferedinputstream.c:
1712 * glocalfile.c: String improvements. (#511966,
1713 Theppitak Karoonboonyanan)
1715 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1717 * gioscheduler.h: Expand docs a bit.
1719 2008-01-24 Alexander Larsson <alexl@redhat.com>
1722 Add g_drive_get_identifier and
1723 g_drive_enumerate_identifiers
1726 Add g_volume_get_identifier and
1727 g_volume_enumerate_identifiers
1733 Implement identifiers for unix backend
1735 2008-01-24 Alexander Larsson <alexl@redhat.com>
1740 Add g_file_copy_async() (#511580)
1741 Based on patch from Carlos Garcia Campos
1743 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1745 * gioscheduler.c: Some documentation additions.
1747 2008-01-22 Alexander Larsson <alexl@redhat.com>
1749 * gdesktopappinfo.c:
1750 (g_desktop_app_info_new):
1751 Don't leak basename.
1753 2008-01-22 Alexander Larsson <alexl@redhat.com>
1755 * gdesktopappinfo.c:
1756 (g_desktop_app_info_new_from_filename):
1759 2008-01-22 Alexander Larsson <alexl@redhat.com>
1761 * glocalfileinfo.c (get_thumbnail_attributes):
1764 2008-01-22 Alexander Larsson <alexl@redhat.com>
1767 (canonicalize_filename):
1768 Canonicalize paths that start with more than
1772 (compare_two_files):
1773 (test_g_file_new_for_path):
1776 2008-01-22 Alexander Larsson <alexl@redhat.com>
1779 Allow UTF-8 in file:// parse names.
1781 * tests/Makefile.am:
1782 * tests/data-input-stream.c:
1783 * tests/data-output-stream.c:
1784 * tests/g-file-info.c:
1786 Added a bunch of tests from Tomas Bzatek
1788 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1790 * === Released 2.15.3 ===
1792 2008-01-21 Alexander Larsson <alexl@redhat.com>
1794 * gfileinputstream.[ch]:
1795 * gfileoutputstream.[ch]:
1797 Remove duplicated GSeekable functions. (#509990)
1798 Just use the g_seekable_xxx() calls instead.
1800 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1803 * gvolumemanager.c: Whitespace cleanups.
1805 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1806 Use the right mode when creating the file.
1808 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1810 * gfileenumerator.c:
1811 * gfileinputstream.c:
1813 * goutputstream.c: Documentation: Fixed minor typos
1814 and added more mentions of specific _finish() functions.
1816 2008-01-21 Alexander Larsson <alexl@redhat.com>
1818 * inotify/Makefile.am:
1819 * inotify/inotify-helper.c:
1820 * inotify/inotify-kernel.c:
1821 * inotify/inotify-path.c:
1822 * inotify/local_inotify.h: Removed.
1823 * inotify/local_inotify_syscalls.h: Removed.
1824 Removed the included copies of the inotify
1825 headers. We now only use the <sys/inotify.h>
1826 header which exists on modern systems.
1827 This fixes problems on ARM and SH5 (#510448)
1828 but is also generally much cleaner and future
1829 safe. For instance, if other OSes add support
1830 for inotify it should "just work".
1832 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1834 * inotify/*.c: Coding style fixes.
1835 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1836 for the 1/4 Hz timer.
1838 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1841 * gfilemonitor.[hc]:
1842 * gmemoryinputstream.c:
1843 * gmemoryoutputstream.c:
1844 * gmountoperation.c:
1845 * gthemedicon.c: Documentation updates
1847 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1849 * gfile.c: documentation: Fixed more minor
1852 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1854 * gmount.c: (g_mount_remount): documentation:
1855 Mention g_mount_remount_finish() instead of
1856 g_mount_unmount_finish().
1858 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1862 * gfile.c: Fixed some minor typos in the
1865 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1867 * gio/gvolumemonitor.c:
1868 (g_volume_monitor_get_connected_drives):
1869 (g_volume_monitor_get_volumes):
1870 (g_volume_monitor_get_mounts): Documentation:
1871 Clarify the ownership of the regurn GLists.
1873 2008-01-17 Alexander Larsson <alexl@redhat.com>
1876 Add the async find_enclosing_mount version
1877 to the header file too.
1879 2008-01-17 Alexander Larsson <alexl@redhat.com>
1882 Add async version of find_enclosing_mount
1883 with default implementation.
1885 2008-01-17 Alexander Larsson <alexl@redhat.com>
1890 Allow calls to implementation of copy and write
1891 even if the type of the file implementations is
1892 different. This can be used to implement native
1893 upload and download calls in a vfs.
1896 (g_local_file_move):
1897 Protect against the case where move is called
1898 with one file not being local.
1900 Make sure we call the progress callback once
1901 in the native move operation so that the caller
1902 knows how many bytes were copied.
1904 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1907 * gdatainputstream.c:
1909 * gfileoutputstream.c:
1914 * gunixmounts.c: Corrected some typos in the documentation:
1915 occured -> occurred.
1916 its -> it's (where appropriate).
1918 2008-01-16 Alexander Larsson <alexl@redhat.com>
1922 Add g_file_query_exists (#508771)
1924 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1929 * gvolume.c: For async functions that have no non-async
1930 version, document that the GAsyncReadyCallback may be NULL.
1933 2008-01-15 Alexander Larsson <alexl@redhat.com>
1935 * gmemoryinputstream.c:
1936 * gmemoryoutputstream.c:
1937 Don't do pointer arithmetic on void * (#508602)
1938 Patch from Kazuki IWAMOTO
1940 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1942 * === Released 2.15.2 ===
1944 2008-01-14 Alexander Larsson <alexl@redhat.com>
1946 * gfile.c (g_file_monitor_file):
1947 Don't set error here, since we fallback to polling monitor.
1949 2008-01-14 Alexander Larsson <alexl@redhat.com>
1952 (g_file_monitor_directory):
1953 (g_file_monitor_file):
1954 Add GError to file monitor calls
1956 * glocaldirectorymonitor.c:
1957 * glocaldirectorymonitor.h:
1959 * glocalfilemonitor.c:
1960 * glocalfilemonitor.h:
1962 Update for above change
1964 2008-01-14 Alexander Larsson <alexl@redhat.com>
1968 Handle root correctly in g_file_get_relative_path (#508719)
1970 2008-01-14 Alexander Larsson <alexl@redhat.com>
1973 Clean up docs and example for GAsyncResult (#508074)
1975 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1977 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1978 and correct some spelling mistakes. Bug #508108.
1980 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1982 * glocalfileinfo.c: Add a comment.
1984 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1986 * gfileinfo.c: GFileInfo description: Mention
1987 how to actually set attributes in a GFile and how to discover
1988 which attributes are settable. Bug #508378.
1990 2008-01-10 A. Walton <awalton@svn.gnome.org>
1992 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1993 (g_app_info_get_default_for_type):
1994 Check for NULL content types.
1996 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1998 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2000 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2002 * gfile.c: *_async() functions: Several small corrections
2003 to the documentation, mostly correcting copy/paste errors
2004 and improving some sentences.
2006 2008-01-09 Dan Winship <danw@gnome.org>
2008 * glocalfile.c (get_unique_filename): x86_64 fix
2010 2008-01-09 Alexander Larsson <alexl@redhat.com>
2015 Add g_unix_mount_guess_should_display and use
2016 for unix volume monitor backend.
2017 This means we more or less show what the
2018 gnome-vfs backend did.
2019 Based on patch from Padraig O'Briain
2021 2008-01-09 Alexander Larsson <alexl@redhat.com>
2025 Add g_themed_icon_new_with_default_fallbacks
2028 Use default fallbacks for icons
2030 2008-01-09 Alexander Larsson <alexl@redhat.com>
2033 * gmountoperation.[ch]:
2034 Change the API a bit so that unhandled methods
2035 get reported via the reply, rather than by
2036 the signal emission return value. This is because
2037 some handlers can't know this immediately without
2038 doing I/O, and this is an async operation that
2041 2008-01-09 Alexander Larsson <alexl@redhat.com>
2044 * fam/gfamdirectorymonitor.c:
2045 * fam/gfamfilemonitor.c:
2046 Fix double free crash (#508224)
2047 Patch from Joe Marcus Clarke
2049 008-01-07 Matthias Clasen <mclasen@redhat.com>
2051 * === Released 2.15.1 ===
2053 2008-01-07 Alexander Larsson <alexl@redhat.com>
2055 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2056 Fix warning (#507835)
2058 2008-01-07 Alexander Larsson <alexl@redhat.com>
2061 Pass --internal to glib-genmarshal
2064 * gmountoperation.c:
2066 Use better types for signal arguments (#507822)
2068 2008-01-07 Alexander Larsson <alexl@redhat.com>
2071 Build test subdir after .
2072 Remove gdirectorymonitor.[ch]
2074 * gdirectorymonitor.[ch]:
2078 Remove GDirectoryMonitor and make
2079 GFileMonitor the baseclass for both file and
2080 directory monitors. Lift the more generic
2081 rate limiting code from GDirectoryMonitor
2085 * fam/gfamdirectorymonitor.[ch]:
2086 * inotify/ginotifydirectorymonitor.[ch]:
2087 * inotify/inotify-helper.c:
2088 * glocaldirectorymonitor.[ch]:
2091 Update for the removed GDirectoryMonitor.
2093 * gmemoryoutputstream.c:
2094 Remove ununsed variable
2096 2008-01-07 Alexander Larsson <alexl@redhat.com>
2098 * gmemoryinputstream.c:
2099 Translate error strings
2102 * gmemoryoutputstream.[ch]:
2103 New implementation that avoids using GByteArray
2104 in implementation and API. (#506377)
2106 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2108 * tests/*: Add a test for memory input streams.
2110 * Makefile.am: Add tests to SUBDIRS.
2112 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2114 * glocalfilemonitor.c:
2115 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2118 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2120 * gdesktopappinfo.c: Fix a docs typo.
2122 * gfileattribute.c: Add information about extended attributes
2123 to the documentation. (#505058)
2125 2008-01-04 Alexander Larsson <alexl@redhat.com>
2128 * gmountoperation.c:
2129 Use the right type (uint) for the ask_password signal.
2131 2008-01-04 Alexander Larsson <alexl@redhat.com>
2136 Add g_app_info_supports_files()
2137 Remove desktop arg from g_app_info_should_show().
2139 * gdesktopappinfo.[ch]:
2140 Implement g_app_info_supports_files() and new should_show()
2141 Add g_desktop_app_info_set_desktop_env() to set the desktop
2142 for should_show(). (This will be set by gtk+ later)
2144 2008-01-04 Alexander Larsson <alexl@redhat.com>
2147 * gmemoryinputstream.[ch]:
2148 Improve API so that you can use multiple chunks
2149 of memory and custom destroy functions. (#506374)
2151 2008-01-03 Alexander Larsson <alexl@redhat.com>
2154 Handle NULL attribute matchers safely, as we return this
2155 for empty attribute matcher strings.
2157 2008-01-03 Alexander Larsson <alexl@redhat.com>
2159 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2160 Add /usr/local to list of internal mountpoints
2162 2008-01-03 Alexander Larsson <alexl@redhat.com>
2165 Check for HAVE_LCHOWN (#505887)
2167 2008-01-03 Alexander Larsson <alexl@redhat.com>
2171 Add define for selinux context attribute.
2172 Fix missing : -> :: namespace separator change
2173 Fix missing _ -> - name change for xattr-sys.
2176 2008-01-03 Alexander Larsson <alexl@redhat.com>
2179 Link to libglib and libgobject directly (#504879)
2180 Patch from Sebastien Bacher
2182 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2184 * gfile.c: Expanded the g_file_new_for_commandline_arg
2185 description a bit, based on the code and the docs of the
2186 other g_file_new_for_* functions.
2188 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2190 * gfilemonitor.h: Fixed typo in docs.
2192 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2194 Updates to GIO documentation. (#506395, Mikael Hermansson)
2196 * gcontenttype.c: Describe memory management for return value of
2197 g_content_types_get_registered(). Missing piece from #505815.
2198 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2199 GVolume, GDrive, GMounts, which hopefully gives the user less
2200 confusions when using this API. Following explainations from
2201 Alexander Larsson on gtk-devel-list.
2203 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2205 * gfileinfo.c: Expand the long description.
2207 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2210 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2211 fix builds with --disable-visibility. (#500273, Christian Persch)
2213 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2215 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2216 in the list of returned app infos.
2218 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2220 * gappinfo.c: Fix a cross-reference
2222 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2224 * gfileinputstream.c:
2225 * gfileoutputstream.c:
2229 * gdesktopappinfo.c:
2231 * gfileinfo.c: Documentation updates.
2233 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2235 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2238 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2240 * gcontenttype.c (g_content_types_get_registered): Don't return
2241 freed memory (#505815, Mikael Hermansson)
2243 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2245 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2246 used to detect statbuf->st_blocks. (#505042)
2248 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2250 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2251 environment handling. (#504829, Cosimo Cecchi)
2253 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2255 * gappinfo.c: Doc improvements
2257 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2260 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2262 * === Released 2.15.0 ===
2264 2007-12-20 Hans Breuer <hans@breuer.org>
2266 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2267 with symbols gwin32appinfo.obj, added gmount.obj
2268 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2270 2007-12-20 Alexander Larsson <alexl@redhat.com>
2276 * gfilenamecompleter.c:
2279 * gpollfilemonitor.c:
2280 File attribute renames:
2282 fs:: -> filesystem::
2283 id::fs -> id::filesystem
2285 2007-12-20 Alexander Larsson <alexl@redhat.com>
2294 Add GMountUnmountFlags to all unmount and
2296 Add g_mount_remount() call.
2298 2007-12-20 Alexander Larsson <alexl@redhat.com>
2300 * gvfs.c (get_default_vfs):
2301 Fix unused variable warning
2303 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2305 * pltcheck.sh: Update
2307 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2309 * gunionvolumemonitor.c:
2310 * gunixmount.c: Remove C99 comments
2312 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2314 * gio.symbols: Add some missing symbols
2316 2007-12-19 Alexander Larsson <alexl@redhat.com>
2319 Make g_io_modules_load_all_in_directory not unuse
2320 loaded modules so that users of it can do stuff
2322 Init internal "module" types.
2323 Initialize static prio and name for types so that
2324 we don't have to load modules to get it.
2326 * gnativevolumemonitor.h:
2328 Move is_supported to parent class so that
2329 non-native monitors can avoid being initialized
2330 too. (For instance GDaemonVolumeMonitor if we're
2331 not using GDaemonVfs.)
2333 * glocaldirectorymonitor.[ch]:
2334 * glocalfilemonitor.[ch]:
2335 * gunionvolumemonitor.c:
2336 * gunixvolumemonitor.c:
2338 Find plugins using the static prio+name to
2339 avoid unnecessarily loading the modules.
2341 2007-12-19 Alexander Larsson <alexl@redhat.com>
2346 2007-12-19 Alexander Larsson <alexl@redhat.com>
2348 * gunionvolumemonitor.c:
2349 Store the native type as GType, not class so that
2350 we can unload it. But still avoid unnecessarily
2353 2007-12-19 David Zeuthen <davidz@redhat.com>
2355 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2356 add signals 'disconnected' and 'eject-button' on GDrive. Add
2357 signal 'removed' on GVolume and 'unmounted' on GMount.
2359 * gdrive.c: (g_drive_base_init):
2361 * gfile.c: (g_file_mount_mountable),
2362 (g_file_mount_enclosing_volume):
2365 * gmount.c: (g_mount_base_init):
2367 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2368 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2369 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2373 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2375 * *.c: Fix up includes in the section docs.
2377 2007-12-17 Alexander Larsson <alexl@redhat.com>
2379 * gnativevolumemonitor.h:
2380 * gunionvolumemonitor.c:
2381 * gunixvolumemonitor.c:
2382 Add is_supported() to GNativeVolumeMonitorClass so
2383 that we can avoid having to create an object to see
2384 if the backend is supported at runtime.
2385 Also add name member and an env var to pick a specific
2386 volume monitor backend.
2390 Add cancellable to _g_mount_get_for_mount_path()
2392 * glocaldirectorymonitor.c:
2393 * glocalfilemonitor.c:
2394 Avoid loading and unloading modules while sorting.
2396 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2399 * gunixmounts.[hc]: Namespace waste reduction, move some
2400 g_get_unix_mount functions to the g_unix_mount namespace.
2403 * gunixvolumemonitor.c:
2405 * glocaldirectorymonitor.c: Update all callers.
2407 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2409 2007-12-17 Alexander Larsson <alexl@redhat.com>
2412 Add doc comments about what GFile operations are
2413 guaranteed to not block.
2415 2007-12-17 Alexander Larsson <alexl@redhat.com>
2418 Add missing #ifdef fixing OSX build.
2419 (#503334, patch from Richard Hult)
2421 2007-12-14 David Zeuthen <davidz@redhat.com>
2425 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2426 (g_mount_eject), (g_mount_eject_finish):
2428 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2429 (get_volume_for_uuid), (get_mount_for_uuid),
2430 (g_union_volume_monitor_class_init),
2431 (get_default_native_type_with_exclude), (get_default_native_type),
2432 (get_native_type), (update_native_type),
2433 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2434 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2435 (g_unix_mount_can_eject), (eject_unmount_cb),
2436 (eject_unmount_read_error), (eject_unmount_do),
2437 (g_unix_mount_unmount), (g_unix_mount_eject),
2438 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2439 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2440 (g_unix_mount_point_guess_can_eject):
2442 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2443 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2444 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2445 (g_unix_volume_mount), (g_unix_volume_eject),
2446 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2447 * gunixvolumemonitor.c: (get_volume_for_uuid),
2448 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2450 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2451 (g_volume_eject), (g_volume_eject_finish):
2453 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2454 (g_volume_monitor_get_mount_for_uuid):
2457 Provide eject() on both GMount and GVolume and utility functions
2458 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2459 ejected. Introduce the concept of UUID's and wire it into GVolume
2460 and GMount and provide API on GVolumeMonitor to find such
2461 instances. Also handle the case where an external
2462 GNativeVolumeMonitor fails to initialize. Lock around the
2463 _g_get_mount_for_mount_path() function such that volume monitor
2464 implementations won't have to do locking themselves.
2466 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2468 * gdesktopappinfo.c:
2474 * gvolume.h: Documentation updates
2476 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2479 * gfile.h: Doc updates
2481 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2484 * gdesktopappinfo.c: Use hash table iterators.
2486 2007-12-14 Alexander Larsson <alexl@redhat.com>
2489 * gfileattribute.[ch]:
2490 * gfileattribute-priv.h:
2491 Move GFileAttributeValue to a private header, as
2495 Make set_attribute take a type + a pointer instead
2496 of a GFileAttributeValue.
2499 Fix up for above changes.
2500 Add g_file_info_get_attribute_data to get
2501 all info in one call, g_file_info_get_attribute_status
2502 to get the status and g_file_info_get_attribute_as_string.
2506 * glocalfileinfo.[ch]:
2510 Make _guess_type static.
2512 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2515 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2516 made mkenums and friends use temporary files to avoid leaving
2517 empty generated files on failure (#503470).
2519 2007-12-14 Alexander Larsson <alexl@redhat.com>
2521 * gmountoperation.h:
2524 2007-12-14 Alexander Larsson <alexl@redhat.com>
2528 * gfileattribute.[ch]:
2531 * glocalfileoutputstream.c:
2532 * gmountoperation.[ch]:
2533 * goutputstream.[ch]:
2534 Clean up all flags enums to not have _FLAGS in them
2535 Make the names of some of the enums better.
2540 2007-12-14 Michael Natterer <mitch@imendio.com>
2542 * gio.symbols: fix g_io_scheduler symbol names.
2544 2007-12-14 Alexander Larsson <alexl@redhat.com>
2550 * gbufferedinputstream.h:
2551 * gbufferedoutputstream.h:
2554 * gdatainputstream.h:
2555 * gdataoutputstream.h:
2556 * gdesktopappinfo.h:
2557 * gdirectorymonitor.h:
2561 * gfileenumerator.h:
2564 * gfileinputstream.h:
2566 * gfilenamecompleter.h:
2567 * gfileoutputstream.h:
2568 * gfilterinputstream.h:
2569 * gfilteroutputstream.h:
2577 * gmemoryinputstream.h:
2578 * gmemoryoutputstream.h:
2580 * gmountoperation.h:
2583 * gsimpleasyncresult.h:
2585 * gunixinputstream.h:
2587 * gunixoutputstream.h:
2591 * inotify/Makefile.am:
2592 Only allow including <gio/gio.h> from apps
2594 2007-12-14 Alexander Larsson <alexl@redhat.com>
2596 * gioscheduler.[ch]:
2597 * gsimpleasyncresult.c:
2598 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2599 Split out the send_to_mainloop call into two versions instead
2600 of having the block argument.
2602 2007-12-13 Alexander Larsson <alexl@redhat.com>
2604 * gcancellable.[ch]:
2606 * gbufferedinputstream.c:
2607 * gfileenumerator.c:
2608 * gfileinputstream.c:
2609 * gfileoutputstream.c:
2613 g_push/pop_current_cancellable ->
2614 g_cancellable_push/pop_current
2616 2007-12-13 Alexander Larsson <alexl@redhat.com>
2620 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2622 2007-12-13 Alexander Larsson <alexl@redhat.com>
2624 * gmountoperation.h:
2625 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2627 2007-12-12 Alexander Larsson <alexl@redhat.com>
2630 Fix race condition when freeing proxy in
2631 g_io_job_send_to_mainloop().
2633 2007-12-12 Alexander Larsson <alexl@redhat.com>
2639 Make attribute namespace separator "::" instead of ":".
2640 Use - instead of _ as separator in attribute names.
2642 2007-12-12 Alexander Larsson <alexl@redhat.com>
2644 * gbufferedinputstream.h:
2645 * gbufferedoutputstream.h:
2646 * gdatainputstream.h:
2647 * gdataoutputstream.h:
2648 * gdirectorymonitor.h:
2649 * gfileenumerator.h:
2650 * gfileinputstream.h:
2652 * gfileoutputstream.h:
2653 * gfilterinputstream.h:
2654 * gfilteroutputstream.h:
2656 * glocalfileinputstream.h:
2657 * glocalfileoutputstream.h:
2658 * gmemoryinputstream.h:
2659 * gmemoryoutputstream.h:
2660 * gnativevolumemonitor.h:
2662 * gunixinputstream.h:
2663 * gunixoutputstream.h:
2666 s/parent/parent_instance/ in GObjects
2668 2007-12-12 Alexander Larsson <alexl@redhat.com>
2673 No need for padding for interfaces
2675 2007-12-12 Alexander Larsson <alexl@redhat.com>
2679 * gbufferedinputstream.c:
2680 * gbufferedoutputstream.c:
2683 * gdatainputstream.[ch]:
2684 * gdesktopappinfo.c:
2685 * gdirectorymonitor.c:
2687 * gfileattribute.[ch]:
2690 * gfileinputstream.h:
2691 * gfilemonitor.[ch]:
2692 * gfileoutputstream.[ch]:
2693 * gfilterinputstream.h:
2694 * gfilteroutputstream.h:
2697 * gloadableicon.[ch]:
2698 * gmemoryinputstream.c:
2699 * gmountoperation.c:
2701 Fix up a bunch of details in the docs.
2706 2007-12-11 David Zeuthen <davidz@redhat.com>
2708 Rework how volumes, drives and volume monitoring is
2709 done. Previosly the model was
2711 GDrive <1-1> GVolume
2713 where a GDrive instance represented a mount point and a GVolume
2714 instance represented a mounted file system. This patch changes it
2717 GDrive <1-N> GVolume <1-1> GMount
2719 where GMount now serves the purpose of the old GVolume and the new
2720 GVolume serves the purpose of the old GDrive. In addition the new
2721 GDrive interface is used to represent a collection of GVolume
2722 instances (typically partitions) and also contains utility to query
2723 the state of the physical drive the GDrive object represents (such
2724 as checking for media, polling the drive, ejecting the media etc.).
2726 Also implement mounting and unmounting in the Unix volume monitor
2727 backend. A subquent patch will introduce GDrive support for ejection
2731 * gdrive.c: (g_drive_is_media_check_automatic),
2732 (g_drive_is_media_removable), (g_drive_has_media),
2733 (g_drive_can_poll_for_media), (g_drive_eject),
2734 (g_drive_eject_finish), (g_drive_poll_for_media),
2735 (g_drive_poll_for_media_finish):
2737 * gfile.c: (g_file_find_enclosing_mount):
2740 * glocaldirectorymonitor.c:
2741 (g_local_directory_monitor_constructor), (mounts_changed):
2742 * glocalfile.c: (get_mount_info),
2743 (g_local_file_find_enclosing_mount),
2744 (g_local_file_file_iface_init):
2745 * gnativevolumemonitor.h:
2746 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2747 (get_connected_drives), (g_union_volume_monitor_class_init),
2748 (child_volume_added), (child_volume_removed),
2749 (child_volume_changed), (child_mount_added), (child_mount_removed),
2750 (child_mount_pre_unmount), (child_mount_changed),
2751 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2752 (g_union_volume_monitor_remove_monitor),
2753 (_g_mount_get_for_mount_path):
2754 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2755 (guess_system_internal), (_g_get_unix_mounts),
2756 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2757 (g_unix_mount_free), (g_unix_mount_compare),
2758 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2759 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2760 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2761 (type_to_icon), (g_unix_mount_guess_name),
2762 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2763 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2764 (_resolve_symlink), (_resolve_dev_root):
2766 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2767 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2768 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2769 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2770 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2771 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2772 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2773 (g_unix_volume_volume_iface_init):
2775 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2776 (get_mounts), (get_volumes), (get_connected_drives),
2777 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2778 (mountpoints_changed), (mounts_changed),
2779 (g_unix_volume_monitor_init),
2780 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2781 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2782 * gunixvolumemonitor.h:
2783 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2784 (g_volume_mount), (g_volume_mount_finish):
2786 * gvolumemonitor.c: (g_volume_monitor_class_init),
2787 (g_volume_monitor_get_connected_drives),
2788 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2791 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2793 * gmountoperation.h (GPasswordFlags): Close the gap
2795 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2797 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2799 * gdesktopappinfo.[hc]: Remove _-prefixes
2801 2007-12-10 Tor Lillqvist <tml@novell.com>
2803 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2806 2007-12-10 Alexander Larsson <alexl@redhat.com>
2808 * gfile.c (g_file_set_display_name):
2809 Don't hardcode '/' (#502727)
2811 2007-12-09 Hans Breuer <hans@breuer.org>
2813 * makefile.msc : follow lib naming convention
2814 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2815 for user and group name, tested with ../tests/gio-ls
2817 2007-12-09 A. Walton <awalton@svn.gnome.org>
2819 * gdesktopappinfo.c:
2825 * gfileenumerator.c:
2830 * gmemoryinputstream.c:
2831 * gmemoryoutputstream.c:
2833 * gsimpleasyncresult.c:
2834 More documentation cleanup and filling in missing information, bringing
2835 GIO to 99% symbol coverage.
2837 2007-12-08 Hans Breuer <hans@breuer.org>
2839 [gio compiles and links on win32, not sure how much already works]
2840 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2841 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2842 base on win32 API; prefer g_lstat() over lstat(); instead of
2843 localtime_r() use an all GLib implementation on win32;
2844 get_mount_info() still needs a win32 specifc implementation
2845 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2846 win32_get_file_user_info to get owner/group info without uid/gid
2847 * glocalfileinputstream.c : include <io.h> on win32
2848 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2849 definition, use g_win32_ftruncate() for G_OS_WIN32
2850 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2851 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2852 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2853 * makefile.msc : updated
2855 2007-12-07 Alexander Larsson <alexl@redhat.com>
2857 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2858 Avoid warning spew if error == NULL
2860 2007-12-07 Alexander Larsson <alexl@redhat.com>
2863 Update docs wrt etags
2865 2007-12-06 Alexander Larsson <alexl@redhat.com>
2868 Include sys/types.h for dev_t (#501919)
2870 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2874 Make abicheck and pltcheck pass.
2876 2007-12-05 Alexander Larsson <alexl@redhat.com>
2879 * giomodule-priv.h: Added.
2880 * glocaldirectorymonitor.c:
2881 * glocalfilemonitor.c:
2882 * gunionvolumemonitor.c:
2884 Actually add the declaration of _g_io_modules_ensure_loaded
2886 2007-12-05 Alexander Larsson <alexl@redhat.com>
2888 * gdatainputstream.c:
2893 * glocaldirectorymonitor.c:
2894 * glocalfilemonitor.c:
2895 * gunionvolumemonitor.c:
2897 Make g_io_modules_ensure_loaded a private function and
2898 don't pass in the dirname. This means we can do magic
2899 directory finding in the win32 version.
2900 Export the actual load-modules-in-directory code so that
2901 gvfs can reuse that.
2903 2007-12-05 Alexander Larsson <alexl@redhat.com>
2905 * gbufferedinputstream.c:
2906 * gbufferedoutputstream.c:
2909 * gfileenumerator.[ch]:
2910 * gfileinputstream.c:
2911 * gfileoutputstream.[ch]:
2912 * gfilterinputstream.c:
2913 * gfilteroutputstream.c:
2914 * ginputstream.[ch]:
2916 * glocalfileenumerator.c:
2917 * glocalfileinputstream.c:
2918 * glocalfileoutputstream.c:
2919 * gmemoryinputstream.c:
2920 * gmemoryoutputstream.c:
2921 * goutputstream.[ch]:
2924 * gunixinputstream.c:
2925 * gunixoutputstream.c:
2926 Rename all struct members named:
2927 read, write, close, truncate, or mount
2928 to foo_fn, as these are reserved names
2929 and could be defined as macros in libc.
2932 2007-12-04 Alexander Larsson <alexl@redhat.com>
2935 (g_output_stream_close):
2936 Only call flush if non-null.
2938 2007-11-30 Dan Winship <danw@gnome.org>
2940 * ginputstream.c (g_input_stream_set_pending): Make this take a
2941 GError and return a gboolean, and do the "outstanding operation"
2942 check (and the "stream is already closed" check) itself.
2943 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2945 * goutputstream.c (g_output_stream_set_pending)
2946 (g_output_stream_clear_pending): Likewise
2948 * gbufferedinputstream.c:
2949 * gfileinputstream.c:
2950 * gfileoutputstream.c: Update for that
2952 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2953 Like g_simple_async_report_error_in_idle, but takes a GError
2954 rather than building one.
2956 2007-11-30 Dan Winship <danw@gnome.org>
2958 * goutputstream.c: Don't cheat and unset the "pending" flag around
2959 inner calls. Instead, call the class method directly rather than
2960 the wrapper function that checks "pending"
2962 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2964 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2966 2007-12-03 Hans Breuer <hans@breuer.org>
2968 [start of port to win32/msvc]
2969 * gcancellable.c : HAVE_UNIST_H and _pipe()
2970 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2971 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2972 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2974 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2975 * glocalvfs.c : use HAVE_PWD_H
2976 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2977 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2978 * Makefile.am : added to EXTRA_DIST
2980 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2982 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2985 2007-12-03 Alexander Larsson <alexl@redhat.com>
2988 Handle OSX style xattrs API (#500506)
2990 2007-12-03 Alexander Larsson <alexl@redhat.com>
2994 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2996 2007-12-02 A. Walton <awalton@svn.gnome.org>
3000 Documentation accuracy fixes.
3002 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3004 * gioenumtypes.c.template: Fix typo.
3006 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3008 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3010 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3012 * gdirectorymonitor.c:
3013 * gfilemonitor.c: Add properties
3015 * gbufferedoutputstream.c: Don't mark buffer-size property
3018 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3020 * gbufferedoutputstream.c: Add auto-grow property.
3022 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3024 * *.c: Unify the capitalization of section headings.
3026 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3028 * gmountoperation.c: Add properties
3030 * gdatainputstream.c: Turn byte-order and newline-type into
3033 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3035 * gioenumtypes.[hc].template: Templates for enum registration
3037 * Makefile.am: Generate gioenumtypes.[hc]
3039 * gio.h: Include gioenumtypes.h
3041 * gfile.h: Add some explicit nicks.
3043 * gio.symbols: Add new symbols
3045 * pltcheck.sh: Adjust
3047 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3049 * *.c: Explain etags and link to the explanation
3051 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3053 * *.c: Explain I/O priority.
3055 * *.c: More coding style fixes.
3057 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3059 * gasyncresult.c: Add another paragraph to the intro,
3060 adjust coding style of example.
3062 2007-11-29 A. Walton <awalton@svn.gnome.org>
3065 Fixes unknown meaning in GAppLaunchContext docs.
3067 Clarify asynchronous ops.
3069 Fix entity tag docs.
3072 Provides missing gtk-doc section, fixes API docs slighly.
3073 * gsimpleasyncresult.c:
3074 Fill in missing info in docs.
3075 * gunixinputstream.c:
3076 * gunixoutputstream.c:
3077 Be more expressive in short description.
3079 Remove gtk-doc stubs for non-public API.
3081 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3083 * *.c: Coding style fixups
3085 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3087 * inotify/inotify-helper.c: Don't export the lock from libgio.
3089 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3092 * abicheck.sh: Fix copy-and-paste leftovers
3094 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3096 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3098 2007-11-28 Alexander Larsson <alexl@redhat.com>
3102 Removed unnecessary file
3104 * gdesktopappinfo.[ch]:
3107 * glocaldirectorymonitor.[ch]:
3109 * glocalfileenumerator.[ch]:
3110 * glocalfileinputstream.[ch]:
3111 * glocalfilemonitor.[ch]:
3112 * glocalfileoutputstream.[ch]:
3114 * gnativevolumemonitor.c:
3115 * gpollfilemonitor.[ch]:
3116 * gunionvolumemonitor.[ch]:
3119 * gunixvolumemonitor.[ch]:
3122 * inotify/ginotifydirectorymonitor.[ch]:
3123 * inotify/ginotifyfilemonitor.[ch]:
3124 * inotify/inotify-helper.c:
3125 Append _ to all internal functions
3129 Export symbols needed for modules
3131 2007-11-28 Alexander Larsson <alexl@redhat.com>
3134 * abicheck.sh: Added.
3135 * makegioalias.pl: Added.
3136 * pltcheck.sh: Added.
3137 * gio.symbols: Added.
3140 Initial work on adding symbol handling.
3143 Correct ifdef guard name
3146 * inotify/Makefile.am:
3147 * xdgmime/Makefile.am:
3148 Include toplevel Makefile.decl
3150 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3152 * gcontenttype.c: Move doc comments to the unix section.
3154 * *.[hc]: More trivial doc corrections.
3156 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3158 * gpollfilemonitor.c:
3162 * gdesktopappinfo.c:
3167 * gdatainputstream.c:
3168 * gdatainputstream.h:
3169 * gdataoutputstream.c:
3170 * gdataoutputstream.h:
3171 * gfileinfo.h: Doc cleanups
3173 2007-11-28 Andre Klapper <a9016009@gmx.de>
3175 * gdesktopappinfo.c: Fix a typo.
3177 2007-11-27 Andre Klapper <a9016009@gmx.de>
3179 * glocalfileoutputstream.c: Fix a typo.
3181 2007-11-27 Alexander Larsson <alexl@redhat.com>
3184 Don't include removed headers
3186 2007-11-27 Alexander Larsson <alexl@redhat.com>
3189 * gsocketinputstream.[ch]: Removed.
3190 * gsocketoutputstream.[ch]: Removed.
3191 * gunixinputstream.[ch]: Added.
3192 * gunixoutputstream.[ch]: Added.
3193 Renamed GSocket*Stream to GUnix*Stream and made
3194 it unix-only, since its not really only for sockets
3195 and it only works on unix (but is highly useful there).
3197 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3203 * gbufferedinputstream.c:
3204 * gbufferedinputstream.h:
3205 * gbufferedoutputstream.c:
3206 * gbufferedoutputstream.h:
3210 * gdatainputstream.c:
3211 * gdatainputstream.h:
3212 * gdataoutputstream.c:
3213 * gdataoutputstream.h:
3214 * gdirectorymonitor.c:
3215 * gdirectorymonitor.h:
3222 * gfileenumerator.c:
3223 * gfileenumerator.h:
3228 * gfileinputstream.c:
3229 * gfileinputstream.h:
3232 * gfilenamecompleter.c:
3233 * gfilenamecompleter.h:
3234 * gfileoutputstream.c:
3235 * gfileoutputstream.h:
3236 * gfilterinputstream.c:
3237 * gfilterinputstream.h:
3238 * gfilteroutputstream.c:
3239 * gfilteroutputstream.h:
3252 * glocalfileoutputstream.c:
3253 * gmemoryinputstream.c:
3254 * gmemoryinputstream.h:
3255 * gmemoryoutputstream.c:
3256 * gmemoryoutputstream.h:
3257 * gmountoperation.c:
3258 * gmountoperation.h:
3261 * gpollfilemonitor.c:
3264 * gsimpleasyncresult.c:
3265 * gsimpleasyncresult.h:
3266 * gsocketinputstream.c:
3267 * gsocketinputstream.h:
3268 * gsocketoutputstream.c:
3269 * gsocketoutputstream.h:
3276 * gunixvolumemonitor.c:
3285 Bumps documentation to 93% symbol coverage, touching most
3286 of the public files. Fixes broken function documentation prototypes.
3287 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3288 gtk-doc headers in private files.
3290 2007-11-27 Jürg Billeter <j@bitron.ch>
3292 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3293 (g_buffered_input_stream_read_byte):
3294 * gbufferedinputstream.h:
3295 New functions for efficient access to buffer and simple single byte
3298 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3299 (g_data_input_stream_read_until):
3300 * gdatainputstream.h:
3301 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3302 read_until with multiple stop chars.
3304 2007-11-27 Alexander Larsson <alexl@redhat.com>
3308 * inotify/Makefile.am:
3309 Use the user-specified giomoduledir
3311 2007-11-27 Alexander Larsson <alexl@redhat.com>
3315 Add catch-all gio.h header
3316 Don't install gdummyfile.h
3318 2007-11-26 Alexander Larsson <alexl@redhat.com>
3320 * Makefile.am (gioinclude_HEADERS):
3321 Remove trailing whitespace
3323 2007-11-26 Alexander Larsson <alexl@redhat.com>
3325 Merge gio-standalone into glib
3327 2007-11-25 Christian Kellner <gicmo@gnome.org>
3329 * gio/goutputstream.c:
3330 Fix small mistake in the docs.
3332 2007-11-21 Christian Persch <chpe@gnome.org>
3334 * gio/glocalfile.c: (g_local_file_trash):
3335 Convert filenames to UTF-8 for GError.
3336 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3337 as per xdg base dir spec.
3339 2007-11-21 Christian Persch <chpe@gnome.org>
3341 * gio/gdesktopappinfo.c:
3342 Use that g_key_file_to_data cannot fail.
3344 Use stock defines for the key file group and key names.
3347 2007-11-21 Alexander Larsson <alexl@redhat.com>
3350 (copy_stream_with_progress):
3351 Make sure we do a final progress callback with
3352 the full total size.
3354 2007-11-21 Alexander Larsson <alexl@redhat.com>
3357 Export g_file_copy_attributes
3358 Remove padding as its not needed for interfaces
3360 2007-11-20 Alexander Larsson <alexl@redhat.com>
3365 Add G_IO_ERROR_WOULD_MERGE for
3366 copy/move dir on dir with overwrite.
3368 2007-11-20 Alexander Larsson <alexl@redhat.com>
3371 * gio/glocalfileinfo.c:
3372 Add COPY_NAME (this is an optional
3373 non-modified utf8 version of the name) that
3376 2007-11-20 Alexander Larsson <alexl@redhat.com>
3378 * gio/glocalfileenumerator.c:
3379 Report errors as GIOError, not GFileError
3381 2007-11-16 Alexander Larsson <alexl@redhat.com>
3383 * gio/glocalfileoutputstream.c:
3384 * gio/gwin32appinfo.c:
3385 Fix typos in strings.
3386 Patch from Luca Ferretti <elle.uca@libero.it>
3388 2007-11-15 Alexander Larsson <alexl@redhat.com>
3391 Post release version bump
3393 === gio-standalone 0.1.2 ===
3395 2007-11-15 Alexander Larsson <alexl@redhat.com>
3397 * docs/reference/gio/Makefile.am:
3398 Fix up distcheck by removing weird
3404 2007-11-14 Alexander Larsson <alexl@redhat.com>
3406 * gio/gdesktopappinfo.c:
3407 * gio/glocaldirectorymonitor.c:
3409 * gio/glocalfileinfo.c:
3410 * gio/inotify/inotify-sub.c:
3411 * programs/gio-cat.c:
3412 * programs/gio-copy.c:
3413 * programs/gio-info.c:
3414 * programs/gio-ls.c:
3415 * programs/gio-monitor-dir.c:
3416 * programs/gio-monitor-file.c:
3417 * programs/gio-mount.c:
3418 * programs/gio-move.c:
3419 * programs/gio-rm.c:
3420 * programs/gio-save.c:
3421 * programs/gio-trash.c:
3422 Leak fixes from Kjartan Maraas
3424 2007-11-14 Alexander Larsson <alexl@redhat.com>
3426 * gio/fam/fam-helper.c:
3428 * gio/glocalfileinfo.c:
3432 * gio/inotify/inotify-diag.c:
3433 * gio/inotify/inotify-kernel.c:
3434 Various code cleanups from Kjartan Maraas
3436 2007-11-14 Alexander Larsson <alexl@redhat.com>
3438 * gio/gioscheduler.c:
3440 Set up threadpool so that we cache 2 unused
3441 idle threads for at 15 secs. This means we
3442 will reuse thread-local data (like dbus connections)
3445 2007-11-14 Alexander Larsson <alexl@redhat.com>
3447 * gio/fam/fam-helper.c:
3448 * gio/fam/gfamdirectorymonitor.c:
3449 * gio/fam/gfamfilemonitor.c:
3451 * gio/gcontenttype.c:
3452 * gio/gdatainputstream.c:
3453 * gio/gdataoutputstream.c:
3457 * gio/gfileattribute.h:
3458 * gio/gfileenumerator.c:
3460 * gio/ginputstream.c:
3463 * gio/glocalfileinfo.c:
3464 * gio/goutputstream.c:
3465 * gio/gpollfilemonitor.c:
3466 * gio/gsimpleasyncresult.c:
3467 * gio/gunixmounts.c:
3468 * gio/gunixmounts.h:
3469 * gio/inotify/ginotifydirectorymonitor.c:
3470 * gio/inotify/ginotifyfilemonitor.c:
3471 * gio/inotify/inotify-diag.c:
3472 * gio/inotify/inotify-kernel.c:
3473 * gio/inotify/inotify-path.c:
3475 * gio/test-streams.c:
3476 * programs/gio-info.c:
3477 * programs/gio-monitor-dir.c:
3478 * programs/gio-monitor-file.c:
3479 Various code cleanups from Kjartan Maraas
3481 2007-11-13 Alexander Larsson <alexl@redhat.com>
3484 Handle the uri-scheme calls for dummy files
3486 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3488 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3489 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3490 to avoid clash with the C++ keyword.
3492 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3494 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3495 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3497 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3499 * gio/glocaldirectorymonitor.c:
3500 * gio/glocalfilemonitor.c:
3501 * gio/gunionvolumemonitor.c:
3502 Don't use g_once_init_*() for initializations that could fail and
3503 could leave the initialization variable set to 0 but use GOnce.
3504 This prevents a deadlock on the second call when trying to create
3505 a monitor and no monitor type is available. Thanks to Sven Herzberg
3508 2007-11-11 Sven Herzberg <sven@imendio.com>
3510 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3511 #ifdef (make it work on MacOS X again)
3513 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3515 Fixes Changelog for last two commits (sorry guys).
3517 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3519 * gio/gbufferedinputstream.c:
3520 * gio/gdatainputstream.c:
3522 * gio/gfileoutputstream.c:
3523 * gio/gfilterinputstream.c:
3524 * gio/glocalfileinputstream.c:
3527 More consistency fixes in g*stream.c files.
3528 Significant clean of gfile's documentation, filling in of
3529 asynchronous operations documentation.
3531 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3533 * gio/gasyncresult.c:
3534 * gio/gbufferedinputstream.c:
3535 * gio/gbufferedoutputstream.c:
3536 * gio/gcancellable.c:
3537 * gio/gcontenttype.c:
3538 * gio/gdatainputstream.c:
3539 * gio/gdataoutputstream.c:
3540 * gio/gdesktopappinfo.c:
3543 * gio/gfileattribute.c:
3544 * gio/gio/gfileenumerator.c:
3546 * gio/gfileinputstream.c:
3547 * gio/gfilemonitor.c:
3548 * gio/gfileoutputstream.c:
3549 * gio/ginputstream.c:
3551 * gio/gioscheduler.c:
3552 * gio/gloadableicon.c:
3553 * gio/glocalfileoutputstream.c:
3554 * gio/gmemoryoutputstream.c:
3555 * gio/gmountoperation.c:
3556 * gio/goutputstream.c:
3558 * gio/gsimpleasyncresult.c:
3559 * gio/gunionvolumemonitor.c:
3560 * gio/gunixmounts.c:
3561 * gio/gunixvolume.c:
3565 * gio/gvolumemonitor.c:
3566 Updated documentation stubs, working towards consistency and
3569 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3571 * gio/gmemoryoutputstream.c:
3572 * gio/gmemoryoutputstream.h:
3573 Change g_memory_output_stream_set_free_on_close() to
3574 g_memory_output_stream_set_free_data() as this makes more sense and
3575 is more consistent with GMemoryInputStream.
3577 2007-11-07 Alexander Larsson <alexl@redhat.com>
3584 Change how we find the default vfs so that
3585 we can handle a gvfs failing to init
3587 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3589 * gio/gbufferedoutputstream.c:
3590 * gio/gdatainputstream.c:
3591 * gio/gdataoutputstream.c:
3592 * gio/gfileinputstream.c:
3593 * gio/gfileoutputstream.c:
3594 * gio/gfilterinputstream.c:
3595 * gio/gfilteroutputstream.c:
3596 * gio/ginputstream.c:
3597 * gio/gmemoryinputstream.c:
3598 * gio/gmemoryoutputstream.c:
3599 * gio/goutputstream.c:
3600 * gio/gsimpleasyncresult.c:
3601 * gio/gsocketinputstream.c:
3602 * gio/gsocketoutputstream.c:
3603 Add guards to the remaining public functions, add a TODO for
3604 an unimplemented function and remove some useless guards.
3606 2007-11-07 Alexander Larsson <alexl@redhat.com>
3609 Autoconf checks for the various types of
3610 getpwuid_r and getgrgid_r
3612 * gio/glocalfileinfo.c:
3613 Use the autoconf checks from above
3615 2007-11-07 Alexander Larsson <alexl@redhat.com>
3618 (g_local_file_query_filesystem_info):
3619 Some fixes for the statvfs case
3621 2007-11-07 Alexander Larsson <alexl@redhat.com>
3624 (g_local_file_query_filesystem_info):
3625 Pick the "best" of statfs / statvfs for the system
3626 if both are availible.
3628 2007-11-07 Alexander Larsson <alexl@redhat.com>
3630 Solaris fixes from Halton.Huo@Sun.COM:
3637 * gio/glocalfileinfo.c:
3638 Fix for solaris definition of getpwuid_r
3640 * gio/test-streams.c:
3641 Use G_GNUC_PRETTY_FUNCTION
3643 2007-11-07 Alexander Larsson <alexl@redhat.com>
3645 * gio/gdesktopappinfo.c:
3646 (update_default_list):
3647 Remove double semicolon.
3648 Patch from Jens Granseuer
3650 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3652 * docs/reference/gio/gio-sections.txt:
3653 * gio/gbufferedinputstream.c:
3654 * gio/gbufferedinputstream.h:
3655 * gio/gdatainputstream.c:
3656 * gio/gfileenumerator.c:
3657 * gio/gioscheduler.c:
3658 * gio/gunionvolumemonitor.c:
3660 * programs/gio-save.c:
3661 Fix typo: availible -> available. Unfortuntely this breaks API
3662 and ABI as g_buffered_input_stream_get_available() was renamed.
3664 * gio/gunixmounts.c:
3665 * gio/gbufferedinputstream.c:
3666 Add guards for public functions.
3668 2007-11-06 Ross Burton <ross@openedhand.com>
3670 * docs/reference/gio/Makefile.am:
3671 Fix invalid += usage which automake 1.10 doesn't like.
3673 2007-11-06 Alexander Larsson <alexl@redhat.com>
3676 (g_app_launch_context_class_init):
3679 Patch from Ross Burton
3681 2007-11-06 Alexander Larsson <alexl@redhat.com>
3684 Post release version bump
3686 === gio-standalone 0.1.1 ===
3688 2007-11-06 Alexander Larsson <alexl@redhat.com>
3691 Bump version to 0.1.1
3693 * gio/gsimpleasyncresult.c:
3694 (g_simple_async_result_set_from_error):
3695 Remove bogus g_return_if_fail
3697 2007-11-06 Alexander Larsson <alexl@redhat.com>
3700 The name is gio-standalone
3703 Add top src/builddir to includedir
3705 2007-11-06 Alexander Larsson <alexl@redhat.com>
3707 * docs/reference/gio/gio-sections.txt:
3709 * gio/gbufferedinputstream.c:
3710 * gio/gbufferedoutputstream.c:
3711 * gio/gcancellable.c:
3712 * gio/gdatainputstream.h:
3713 * gio/gdataoutputstream.c:
3714 * gio/gdataoutputstream.h:
3715 * gio/gdirectorymonitor.c:
3717 * gio/gfileattribute.c:
3718 * gio/gfileattribute.h:
3719 * gio/gfileenumerator.c:
3720 * gio/gfileenumerator.h:
3723 * gio/gfileinputstream.h:
3724 * gio/gfilemonitor.c:
3725 * gio/gfileoutputstream.h:
3726 * gio/glocalfilemonitor.h:
3727 * gio/glocalfileoutputstream.h:
3728 * gio/gmemoryinputstream.c:
3729 * gio/gmemoryoutputstream.c:
3730 * gio/gmountoperation.c:
3731 * gio/goutputstream.c:
3732 * gio/goutputstream.h:
3734 * gio/gsimpleasyncresult.c:
3735 * gio/gunixmounts.c:
3736 * gio/gunixmounts.h:
3738 * gio/inotify/inotify-helper.c:
3739 Fix gtk-doc warnings
3741 Patch from Ross Burton
3743 2007-11-06 Alexander Larsson <alexl@redhat.com>
3745 * gio/gfilenamecompleter.c:
3746 (g_filename_completer_get_completions):
3749 * gio/gunixvolume.c:
3750 Remove unused function
3752 Patches from Ross Burton
3754 2007-11-06 Alexander Larsson <alexl@redhat.com>
3759 Padding not needed for interfaces
3761 2007-11-06 Alexander Larsson <alexl@redhat.com>
3763 * gio/gfilemonitor.c:
3767 Make giotypes.h an internal file
3770 * gio/gbufferedinputstream.h:
3771 * gio/gbufferedoutputstream.h:
3772 * gio/gcancellable.h:
3773 * gio/gdatainputstream.h:
3774 * gio/gdataoutputstream.h:
3775 * gio/gdirectorymonitor.c:
3776 * gio/gdirectorymonitor.h:
3781 * gio/gfileattribute.h:
3782 * gio/gfileenumerator.h:
3787 * gio/gfilemonitor.c:
3788 * gio/gfilemonitor.h:
3789 * gio/gfilenamecompleter.c:
3790 * gio/gfilenamecompleter.h:
3791 * gio/gfilterinputstream.h:
3792 * gio/gfilteroutputstream.h:
3793 * gio/ginputstream.h:
3794 * gio/gmemoryinputstream.h:
3795 * gio/gmemoryoutputstream.h:
3796 * gio/gmountoperation.c:
3797 * gio/gmountoperation.h:
3798 * gio/gnativevolumemonitor.c:
3799 * gio/goutputstream.h:
3802 * gio/gsimpleasyncresult.c:
3803 * gio/gsimpleasyncresult.h:
3804 * gio/gsocketinputstream.h:
3805 * gio/gsocketoutputstream.h:
3806 * gio/gthemedicon.c:
3807 * gio/gthemedicon.h:
3811 * gio/gvolumemonitor.c:
3812 * gio/gvolumemonitor.h:
3813 Add padding in classes where it seems useful
3814 Don't include giotypes.h from public headers
3815 Move in Class definitions into c file where possible
3820 2007-11-06 Alexander Larsson <alexl@redhat.com>
3822 * docs/reference/gio/gio-docs.xml:
3823 Better structure for API docs
3825 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3828 * gio/gloadableicon.c:
3829 * gio/gsimpleasyncresult.c:
3830 * gio/gthemedicon.c:
3831 Add some more guards to public functions. Only files missing are now
3834 2007-11-06 Alexander Larsson <alexl@redhat.com>
3836 * docs/reference/gio/gio-docs.xml:
3837 Remove old files, add missing ones
3839 2007-11-06 Alexander Larsson <alexl@redhat.com>
3841 * docs/reference/gio/gio-sections.txt:
3844 Hide implementation classes
3846 * gio/gdriveprivate.h:
3847 * gio/gvolumeprivate.h:
3848 Remove non-existing function declarations
3850 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3853 Fix compilation warnings and add guards to the new functions.
3855 * gio/gasyncresult.c:
3857 Add guards to the public functions.
3860 Implement get_path().
3862 2007-11-06 Alexander Larsson <alexl@redhat.com>
3864 * gio/gfilenamecompleter.c:
3865 Make g_filename_completer_get_completions
3866 return char ** instead of GList for
3869 * docs/reference/gio/gio-docs.xml:
3870 * docs/reference/gio/gio-sections.txt:
3872 * gio/gasyncresult.c:
3873 * gio/gbufferedinputstream.c:
3874 * gio/gbufferedoutputstream.c:
3875 * gio/gcancellable.c:
3876 * gio/gcontenttype.c:
3877 * gio/gdatainputstream.c:
3878 * gio/gdataoutputstream.c:
3879 * gio/gdesktopappinfo.c:
3880 * gio/gdirectorymonitor.c:
3884 * gio/gfileattribute.c:
3885 * gio/gfileenumerator.c:
3888 * gio/gfileinputstream.c:
3889 * gio/gfilemonitor.c:
3890 * gio/gfilenamecompleter.c:
3891 * gio/gfilenamecompleter.h:
3892 * gio/gfileoutputstream.c:
3893 * gio/gfilterinputstream.c:
3895 * gio/ginputstream.c:
3897 * gio/gioscheduler.c:
3898 * gio/gloadableicon.c:
3899 * gio/glocaldirectorymonitor.c:
3901 * gio/glocalfileinputstream.c:
3902 * gio/glocalfilemonitor.c:
3903 * gio/glocalfileoutputstream.c:
3905 * gio/gmemoryinputstream.c:
3906 * gio/gmemoryoutputstream.c:
3907 * gio/gmountoperation.c:
3908 * gio/goutputstream.c:
3909 * gio/gpollfilemonitor.c:
3911 * gio/gsimpleasyncresult.c:
3912 * gio/gsocketinputstream.c:
3913 * gio/gsocketoutputstream.c:
3914 * gio/gthemedicon.c:
3915 * gio/gunionvolumemonitor.c:
3917 * gio/gunixmounts.c:
3918 * gio/gunixvolume.c:
3919 * gio/gunixvolumemonitor.c:
3923 * gio/gvolumemonitor.c:
3924 * gio/gwin32appinfo.c:
3925 Add (mostly stub) doc strings to public functions.
3926 Patch from Andrew Walton (awalton@gmail.com)
3928 2007-11-06 Alexander Larsson <alexl@redhat.com>
3930 * gio/gappinfo.[ch]:
3931 Added GAppLaunchContext object and pass that to launch.
3932 This allows simple implementation of both
3933 launch-on-screen and startup notification via a gtk+
3934 subclass of GAppLaunchContext
3936 * gio/gdesktopappinfo.c:
3937 Implement GAppLaunchContext API
3939 * gio/gwin32appinfo.c:
3942 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3944 * gio/gmountoperation.c:
3945 Add some guards to GMountOperation's public functions.
3947 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3951 * gio/gcancellable.c:
3952 * gio/gdirectorymonitor.c:
3954 * gio/gfileenumerator.c:
3955 * gio/gfilemonitor.c:,
3956 * gio/gfilenamecompleter.c:
3959 * gio/gioscheduler.c:
3963 * gio/gvolumemonitor.c:
3964 Add even more guards to various public functions.
3966 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3969 Add guards to the public functions of GAppInfo.
3971 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3973 * gio/gcontenttype.c:
3974 Add some more guards for public functions.
3976 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3978 * gio/fam/fam-module.c:
3979 * gio/fam/gfamdirectorymonitor.c:
3980 * gio/fam/gfamdirectorymonitor.h:
3981 * gio/fam/gfamfilemonitor.c:
3982 * gio/fam/gfamfilemonitor.h:
3983 * gio/inotify/ginotifydirectorymonitor.c:
3984 * gio/inotify/ginotifydirectorymonitor.h:
3985 * gio/inotify/ginotifyfilemonitor.c:
3986 * gio/inotify/ginotifyfilemonitor.h:
3987 Add proper copyright information and remove an unused variable
3988 in the GInotifyFileMonitor constructor.
3990 * gio/gcancellable.c:
3991 Add a guard for a public function and an assertion to prevent
3992 an undefined program state.
3994 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3996 * gio/gfileattribute.c:
3997 Don't run into an assertion if the given attribute value is NULL
3998 in g_file_attribute_value_get_*() but instead return a fallback
3999 value that makes sense in most situations. Passing them a attribute
4000 value with the wrong type will still run into an assertion.
4002 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4004 * gio/gfileattribute.c:
4006 Add even more guards to the public functions. Also fix the refcounting
4007 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4008 let g_file_info_list_attributes() filter the attributes by namespace
4009 instead of simply ignoring the namespace parameter.
4011 2007-11-03 Sven Herzberg <sven@imendio.com>
4013 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4014 (This makes gio work on MacOS X again)
4016 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4019 Build the gio subdirectory before the docs. Otherwise the build will
4022 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4023 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4024 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4025 Add guards to the public functions.
4027 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4029 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4030 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4031 to prevent a compiler warning.
4033 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4034 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4035 return something in the non-void function find_topdir_for().
4037 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4044 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4046 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4047 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4048 * gwin32appinfo.c (g_win32_app_info_launch):
4049 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4050 envp_for_startup_id, g_desktop_app_info_launch,
4051 g_desktop_app_info_launch_uris):
4053 Give an opaque 'startup_id' string instead of 'envp'.
4054 Support empty file lists for launching new windows.
4055 Fix infinite recursion bug when launching URIs.
4057 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4060 Add guard to the new g_file_get_uri_scheme() function.
4062 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4065 Convert a g_return_val_if_fail() to setting the GError instead as
4066 otherwise applications have to verify the parameter before otherwise
4067 and the parameter might come directly from the user.
4069 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4071 * gio/inotify/ginotify*.[ch]:
4072 Add missing copyright information.
4074 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4077 Add guards in the beginning of public functions to check for valid
4078 parameters and fix a bug in copy_stream_with_progress() that could've
4079 caused writing less bytes than reading.
4080 * gio/glocalfileinfo.c:
4081 Check for a NULL parameter and set the GError accordingly then.
4082 * gio/goutputstream.c:
4083 Fix the same bug as in gfile.c that could've caused writing less bytes
4084 than reading in g_output_stream_real_splice().
4086 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4089 Use the correct gvolumeprivate.h naming
4091 2007-11-01 Christian Kellner <gicmo@gnome.org>
4094 Remove leftover "$(daemon_sources)" entry.
4096 2007-11-01 Christian Kellner <gicmo@gnome.org>
4101 Add copyright information to source files.
4103 2007-11-01 Alexander Larsson <alexl@redhat.com>
4107 Add g_file_get_uri_scheme
4109 2007-11-01 Alexander Larsson <alexl@redhat.com>
4112 * gio/gdesktopappinfo.c:
4113 * gio/gwin32appinfo.c:
4114 Add g_app_info_get_default_for_uri_scheme.
4116 2007-11-01 Alexander Larsson <alexl@redhat.com>
4119 Correct filename for gdriveprivate.h
4121 2007-10-31 Alexander Larsson <alexl@redhat.com>
4124 Rename id:value to id:file
4127 * gio/glocalfileinfo.c:
4130 2007-10-31 Alexander Larsson <alexl@redhat.com>
4132 * gio/gunixvolume.c:
4134 Remove g_volume_get_platform_id, as thats not
4135 needed with the simpler union volume monitor
4137 2007-10-31 Alexander Larsson <alexl@redhat.com>
4140 * gio/guniondrive.[ch]: Removed.
4141 * gio/gunionvolume.[ch]: Removed.
4142 Remove GUnionDrive/Volume
4144 * gio/gunionvolumemonitor.c:
4145 Simplify union volume monitor, now we
4146 only have one native volume monitor and
4147 we use the actual volumes/drives from the
4148 child monitors instead of wrapping them
4150 * gio/gnativevolumemonitor.[ch]:
4151 Base class for native volume monitors.
4152 Includes priority and get_volume_for_mountpoint
4155 Add g_file_find_enclosing_volume
4158 Remove volume name fs attribute
4159 Add readonly fs attribute
4162 Implement readonly attribute
4163 remove volume name attribute
4164 Implement find_enclosing volume
4166 * gio/gunixmounts.c:
4167 Add a volume for "/".
4169 * gio/gunixvolume.[ch]:
4170 Set better name for /
4172 * gio/gunixvolumemonitor.[ch]:
4173 Derive from GNativeVolumeMonitor
4174 Implement get_volume_for_mountpoint
4177 GVolume typedef moved to gfile.h
4179 * gio/gvolumeprivate.h:
4180 Add g_volume_get_for_mount_path
4182 2007-10-31 Alexander Larsson <alexl@redhat.com>
4184 * gio/gunixmounts.[ch]:
4185 Add cache info to unix mount listers
4186 Make getmntent use threadsafe
4187 Add is_system_internal attribute for GUnixMount
4189 * gio/gunixvolume.c:
4190 (g_unix_volume_new):
4191 Use is_system_internal instead of own code
4193 * gio/glocaldirectorymonitor.c:
4194 * gio/gunixvolumemonitor.c:
4195 Update to new gunixmounts API
4200 2007-10-30 Alexander Larsson <alexl@redhat.com>
4203 Add volume name fsinfo attribute
4206 Read volume name info
4208 * gio/gunionvolumemonitor.c:
4209 Fix infinite loops when finalizing a union volume monitor
4211 2007-10-30 Alexander Larsson <alexl@redhat.com>
4213 * gio/goutputstream.[ch]:
4214 Add splice() with default implementation
4216 * gio/gsocketoutputstream.c:
4217 (g_socket_output_stream_write):
4218 Return error on cancellation correctly.
4220 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4222 * gio/glocalfile.c (g_local_file_trash):
4223 Do not leak a string.
4225 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4227 * gio/gfile.c (g_file_load_contents):
4228 Unref the stream after closing it.
4230 2007-10-25 Alexander Larsson <alexl@redhat.com>
4232 * gio/gioscheduler.h:
4235 2007-10-25 Alexander Larsson <alexl@redhat.com>
4239 Add g_file_has_uri_scheme and implement for local files
4241 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4243 * gio/gdesktopappinfo.c: do not leak a string.
4245 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4247 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4248 (g_local_directory_monitor_new):
4249 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4250 (g_local_file_monitor_new):
4251 Only look for the monitor type that should be used the first time
4252 and use g_qsort_with_data() instead of our own bubble sort
4255 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4258 * gio/fam/Makefile.am:
4259 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4260 * gio/fam/fam-helper.h:
4261 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4262 * gio/fam/gfamdirectorymonitor.c:
4263 * gio/fam/gfamdirectorymonitor.h:
4264 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4265 * gio/fam/gfamfilemonitor.h:
4266 * gio/glocaldirectorymonitor.c:
4267 * gio/glocaldirectorymonitor.h:
4268 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4269 * gio/glocalfilemonitor.h:
4270 * gio/inotify/Makefile.am:
4271 * gio/inotify/ginotifydirectorymonitor.c:
4272 * gio/inotify/ginotifydirectorymonitor.h:
4273 * gio/inotify/ginotifyfilemonitor.c:
4274 * gio/inotify/ginotifyfilemonitor.h:
4275 Implement the FAM and Inotify monitors as
4276 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4277 their own GIO module. GLocal(Directory|File)Monitor will use the
4278 monitor with the highest rank that is supported on that machine.
4280 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4283 Change GIO module dir to $(libdir)/gio/modules and change
4284 the log domain from GVFS to GIO. Also only export symbols starting
4285 with g_ in the resulting library.
4286 * gio/test-streams.c: (main):
4287 Set log handler for the GIO log domain.
4289 2007-10-22 Alexander Larsson <alexl@redhat.com>
4291 * gio/gfilenamecompleter.[ch]:
4292 Add g_filename_completer_set_dirs_only
4294 2007-10-22 Alexander Larsson <alexl@redhat.com>
4297 * gio/gurifuncs.[ch]:
4298 Add some simple URI helpers
4300 * gio/gfilenamecompleter.[ch]:
4301 Added object for filename (parse name actually) completion
4304 Handle ~ in parse names
4306 2007-10-17 Alexander Larsson <alexl@redhat.com>
4309 * gio/glocalfileinfo.c:
4310 Add and implement id:value attribute
4312 2007-10-17 Alexander Larsson <alexl@redhat.com>
4315 * gio/guniondrive.c:
4317 Add and implement g_drive_has_volumes
4319 2007-10-17 Alexander Larsson <alexl@redhat.com>
4322 * gio/glocalfileinfo.[ch]:
4323 Add unix:is_mountpoint and implement for local files
4325 2007-10-16 Alexander Larsson <alexl@redhat.com>
4327 * gio/gunionvolumemonitor.c:
4328 (g_union_volume_monitor_init):
4329 Fix up the unix type getting so that it works with gcc
4331 2007-10-12 Alexander Larsson <alexl@redhat.com>
4334 * gio/glocalfileinfo.c:
4335 Add thumbnail:failed to file info
4337 2007-10-12 Richard Hult <richard@imendio.com>
4339 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4340 optimizing away the get_type call (happens with some gcc versions,
4341 like the one shipped with OS X 10.4).
4343 2007-10-12 Alexander Larsson <alexl@redhat.com>
4345 * gio/glocalfileinfo.c:
4346 (_g_local_file_info_set_attribute):
4347 Fix build if not HAVE_XATTR
4348 Patch from Milosz Derezynski <internalerror@gmail.com>
4350 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4352 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4353 around for review, otherwise I would have asked you before
4356 2007-10-11 Alexander Larsson <alexl@redhat.com>
4359 Add thumbnail:path attribute
4361 * gio/glocalfileinfo.c:
4362 Implement thumbnail:path for local files
4364 2007-10-11 Alexander Larsson <alexl@redhat.com>
4366 * gio/glocalfileinfo.c:
4367 (_g_local_file_info_get):
4368 Avoid duplicate icon names
4370 2007-10-11 Alexander Larsson <alexl@redhat.com>
4372 * gio/gthemedicon.[ch]:
4373 Change g_themed_icon_get_names return type to const
4375 2007-10-10 Alexander Larsson <alexl@redhat.com>
4377 * gio/glocalfileinfo.c:
4378 Don't reference freed memory
4380 2007-10-10 Alexander Larsson <alexl@redhat.com>
4382 * gio/gfileattribute.c:
4385 * gio/glocalfileinfo.c:
4388 2007-10-10 Alexander Larsson <alexl@redhat.com>
4391 Check for NULL icons
4393 * gio/gfileattribute.c:
4394 Don't dup when getting objects (same as for string attributes)
4396 * gio/gicon.c (g_icon_equal):
4397 Safely handle NULLs in equal
4399 2007-10-10 Alexander Larsson <alexl@redhat.com>
4402 Fix c++ compilation issues
4403 Patch from Milosz Derezynski <internalerror@gmail.com>
4405 2007-10-10 Alexander Larsson <alexl@redhat.com>
4407 * programs/gio-monitor-dir.c:
4408 Don't crash if dir monitor not supported.
4410 2007-10-09 Alexander Larsson <alexl@redhat.com>
4413 Add missing G_END_DECLS
4415 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4417 * gio/gfile.c: (g_file_set_display_name),
4418 (g_file_query_settable_attributes),
4419 (g_file_query_writable_namespaces):
4420 Return NULL not FALSE on errors as the return type is a pointer.
4422 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4424 * gio/glocalfile.c: (g_local_file_monitor_file):
4425 Don't call monitor_file on the default interface vtable (which
4426 is NULL) but simply return NULL. The caller, GFile, will create a
4427 polling monitor if NULL is returned.
4429 2007-10-09 Alexander Larsson <alexl@redhat.com>
4433 * gio-unix-2.0.pc.in:
4434 Add gio-unix-2.0.pc if OS_UNIX
4437 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4439 2007-10-09 Alexander Larsson <alexl@redhat.com>
4441 * gio/gunixmounts.[ch]:
4442 Make unix mount monitoring API sane.
4443 Now its just a object with mounts_changed
4444 and mountpoints_changed signals.
4446 * gio/glocaldirectorymonitor.c:
4447 * gio/gunixvolumemonitor.c:
4448 Use new mount monitor api
4450 2007-10-09 Alexander Larsson <alexl@redhat.com>
4452 * gio/gunixmounts.[ch]:
4453 Move guess type into one call for mounts and one for mountpoints
4456 * gio/gunixvolume.c:
4459 2007-10-09 Alexander Larsson <alexl@redhat.com>
4461 * gio/gunixmounts.[ch]:
4462 Remove _ prefix in preparation to make this semi-public
4463 Hide implementation of structs
4465 * gio/glocaldirectorymonitor.c:
4467 * gio/gunixvolume.c:
4468 * gio/gunixvolumemonitor.c:
4469 Update for above API changes
4471 2007-10-08 Alexander Larsson <alexl@redhat.com>
4474 Better polling fallback. This also handles the case where we have
4475 a monitor_file implementation, but it fails.
4477 2007-10-08 Alexander Larsson <alexl@redhat.com>
4481 * gio/gunixmounts.c:
4482 * programs/gio-monitor-dir.c:
4483 * programs/gio-monitor-file.c:
4484 Added cancellable to file monitoring calls.
4485 These are really sync calls and need this.
4487 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4489 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4490 (g_local_vfs_class_init):
4491 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4492 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4494 2007-10-05 Alexander Larsson <alexl@redhat.com>
4496 * gio/gdirectorymonitorprivate.h:
4497 * gio/gfilemonitorprivate.h:
4498 * gio/gdirectorymonitor.h:
4499 * gio/gfilemonitor.h:
4500 Remove *private.h and move to the public API, so that
4501 we can do implementations outside gio (such as in gvfs)
4503 * gio/gdirectorymonitor.c:
4504 * gio/gfilemonitor.c:
4505 * gio/glocaldirectorymonitor.c:
4506 * gio/gpollfilemonitor.c:
4507 * gio/inotify/inotify-helper.c:
4508 * gio/fam/fam-helper.c:
4509 Update to the new header names
4511 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4513 * gio/gdirectorymonitor.c:
4514 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4517 2007-10-04 Alexander Larsson <alexl@redhat.com>
4519 * gio/glocalfileinfo.c (get_access_rights):
4520 Set CAN_TRASH when we can move the file.
4521 We should really also check for a parent trash dir.
4523 2007-10-04 Alexander Larsson <alexl@redhat.com>
4525 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4526 Add can_trash access attribute
4528 2007-10-04 Alexander Larsson <alexl@redhat.com>
4531 (g_local_file_trash):
4532 Create info file first. This is per-spec and allows
4533 us to actually trash directories.
4535 2007-10-02 Alexander Larsson <alexl@redhat.com>
4537 * gio/gdesktopappinfo.c:
4538 Implement the new mime support code.
4539 Always set app as handling mimetype when being set as default for it
4541 2007-10-01 Alexander Larsson <alexl@redhat.com>
4543 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4544 Fix up check for xattrs:
4546 2007-10-01 Alexander Larsson <alexl@redhat.com>
4549 (g_app_info_set_as_default_for_extension):
4550 (g_app_info_add_supports_type):
4551 (g_app_info_can_remove_supports_type):
4552 (g_app_info_remove_supports_type):
4553 Make these fail nicely if not implemented
4555 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4557 * gio/glocalfileoutputstream.c:
4558 * gio/glocalfileoutputstream.h:
4563 * programs/gio-save.c:
4564 Add a GFileCreateFlags argument to operations that can create
4567 2007-10-01 Alexander Larsson <alexl@redhat.com>
4569 * gio/gappinfo.[ch]:
4570 * gio/gdesktopappinfo.c:
4571 Add more (stubbed out) mime API needed for nautilus
4573 2007-10-01 Alexander Larsson <alexl@redhat.com>
4576 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4577 Add g_app_info_set_as_default_for_extension.
4579 * gio/gdesktopappinfo.c:
4580 Dummy for g_app_info_set_as_default_for_extension
4581 Support flags in g_app_info_create_from_commandline
4583 * gio/gwin32appinfo.c:
4585 Update for API changes
4587 * gio/gthemedicon.c:
4588 Properly NULL-terminate list of icon names
4590 2007-09-28 Alexander Larsson <alexl@redhat.com>
4592 * gio/gloadableicon.h:
4593 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4595 2007-09-28 Alexander Larsson <alexl@redhat.com>
4598 Install headers in $includedir/gio-standalone/
4600 * gio-2.0.pc.in: Added.
4601 * gio-standalone.pc.in: Removed.
4604 Renamed pkg-config file to match glib (for future move)
4605 Update to the new include dir
4608 Add more TODO comments
4610 2007-09-28 Alexander Larsson <alexl@redhat.com>
4612 * gio/gdesktopappinfo.[ch]:
4613 Expose new_from_filename
4614 Add getter for is_hidden and handle it better
4616 2007-09-28 Alexander Larsson <alexl@redhat.com>
4618 * gio/gfileinfo.[ch]:
4619 Rename g_file_size_format_for_display to
4620 g_format_file_size_for_display.
4621 Now it doesn't have the g_file prefix, so we
4622 can later move it to glib.
4624 2007-09-28 Alexander Larsson <alexl@redhat.com>
4626 * gio/gappinfo.[ch]:
4627 Add g_app_info_get_id and g_app_info_get_executable.
4628 Make all getters non-reffing
4629 Make g_app_info_launch take GFile arguments.
4630 Add must_support_uris argument to g_app_info_get_default_for_type.
4632 * gio/gwin32appinfo.c:
4633 Update to GAppInfo api changes
4635 * gio/gdesktopappinfo.c:
4636 Update to GAppInfo api changes
4637 Implement supports_xdg_startup_notify
4639 * gio/gfileicon.c (g_file_icon_get_file):
4640 Make getter non-reffing.
4645 2007-09-27 Alexander Larsson <alexl@redhat.com>
4647 * gio/gfileinfo.[ch]:
4648 Add g_file_size_format_for_display helper
4650 2007-09-27 Alexander Larsson <alexl@redhat.com>
4652 * gio/glocalfileinfo.c:
4653 Set UNIX_GID from gid, not from uid
4655 2007-09-27 Alexander Larsson <alexl@redhat.com>
4658 Add g_file_set_attributes_async
4660 2007-09-27 Alexander Larsson <alexl@redhat.com>
4662 * gio/glocalfile.c (g_local_file_set_display_name):
4663 Fix set_display_name to actually rename to the right place.
4664 Use lstat to look for existing files so we don't overwrite
4667 2007-09-26 Alexander Larsson <alexl@redhat.com>
4670 Add g_file_set_display_name_async()
4672 2007-09-26 Alexander Larsson <alexl@redhat.com>
4675 Add load_partial_contents async calls
4678 Make internal function static
4680 2007-09-26 Alexander Larsson <alexl@redhat.com>
4682 * gio/glocalfileinfo.c:
4683 Correctly detect broken symlinks
4685 2007-09-26 Alexander Larsson <alexl@redhat.com>
4687 * gio/gcancellable.c (g_cancellable_cancel):
4688 Allow cancel on NULL cancellable
4690 2007-09-25 Alexander Larsson <alexl@redhat.com>
4692 * gio/gsimpleasyncresult.c:
4693 Don't allocate g_error manually.
4694 Fixes g_slice/g_new mixup crash
4696 2007-09-25 Alexander Larsson <alexl@redhat.com>
4698 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4699 Actually set active_backend.
4700 This means the monitor will be cancelled correctly.
4702 2007-09-25 Alexander Larsson <alexl@redhat.com>
4704 * gio/gdirectorymonitor.c:
4705 Set timeout to NULL when destroying
4707 2007-09-25 Alexander Larsson <alexl@redhat.com>
4710 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4711 that is a better description of the error.
4713 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4715 * gio/gvfs.c: (g_vfs_get_local):
4716 Make the local vfs variable static. The same instance should
4719 2007-09-24 Alexander Larsson <alexl@redhat.com>
4721 * gio/glocalfileinfo.c:
4722 Pass in actual length read into sniffer, not the length
4725 2007-09-21 Alexander Larsson <alexl@redhat.com>
4727 * gio/gfileenumerator.c:
4730 * gio/gfileinputstream.c:
4731 * gio/gfileoutputstream.c:
4732 * gio/ginputstream.c:
4733 * gio/goutputstream.c:
4734 Don't crash if async callbacks are NULL
4736 2007-09-20 Alexander Larsson <alexl@redhat.com>
4739 Add async enumerate_children method and default
4742 2007-09-20 Alexander Larsson <alexl@redhat.com>
4745 Add g_file_contains_file & g_file_get_relative_path, since they
4746 were needed for nautilus.
4747 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4752 Implement new methods
4754 2007-09-17 Alexander Larsson <alexl@redhat.com>
4757 * gio/gfileinputstream.[ch]:
4758 * gio/gfileoutputstream.[ch]:
4760 * gio/glocalfileenumerator.[ch]:
4761 * gio/glocalfileinfo.[ch]:
4762 * gio/glocalfileinputstream.c:
4763 * gio/glocalfileoutputstream.c:
4764 * gio/gpollfilemonitor.c:
4765 * programs/gio-copy.c:
4766 * programs/gio-info.c:
4767 * programs/gio-move.c:
4768 Rename get_file_info to query_info() to make it clearer
4769 that these are not simple getters, but do i/o.
4771 2007-09-17 Alexander Larsson <alexl@redhat.com>
4773 * gio/gdatainputstream.[ch]:
4774 * gio/test-streams.c:
4775 Use _read_XXX instead of _get_XXX for the i/o calls
4778 2007-09-17 Alexander Larsson <alexl@redhat.com>
4781 Added needed stuff to TODO comment
4783 2007-09-17 Alexander Larsson <alexl@redhat.com>
4785 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4786 Don't error out removing the backup copy if it doesn't
4789 2007-09-14 Alexander Larsson <alexl@redhat.com>
4791 * programs/Makefile.am:
4792 * programs/gvfs-*.c:
4794 Renamed apps from gvfs-xxx to gio-xxx.
4796 2007-09-14 Alexander Larsson <alexl@redhat.com>
4799 * gio/gfileoutputstream.[ch]:
4800 * gio/glocalfileoutputstream.c:
4801 * programs/gvfs-save.c:
4802 g_file_output_stream_get_etag doesn't do i/o, so remove
4803 cancellation and error.
4805 2007-09-14 Alexander Larsson <alexl@redhat.com>
4808 Add new_etag output to replace_contents functions
4810 2007-09-14 Alexander Larsson <alexl@redhat.com>
4812 * gio/gfileoutputstream.[ch]:
4813 Add async get_file_info and default implementation
4815 2007-09-14 Alexander Larsson <alexl@redhat.com>
4817 * gio/gfileinputstream.c:
4818 Implement fallback wrapper for async get_file_info
4820 2007-09-14 Alexander Larsson <alexl@redhat.com>
4823 Add etag out argument to load_contents
4828 2007-09-14 Alexander Larsson <alexl@redhat.com>
4830 * gio/gcontenttype.c (looks_like_text):
4831 Whitespace like tab, cr and lf do not make the
4834 2007-09-14 Alexander Larsson <alexl@redhat.com>
4836 * gio/gfileinputstream.[ch]:
4837 Add async get_file_info.
4839 2007-09-13 Alexander Larsson <alexl@redhat.com>
4841 * gio/goutputstream.c (g_output_stream_write_all):
4842 Allow NULL for bytes_written
4844 2007-09-13 Alexander Larsson <alexl@redhat.com>
4846 * gio/gmemoryinputstream.[ch]:
4847 Add accessors for data
4849 2007-09-13 Alexander Larsson <alexl@redhat.com>
4851 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4852 Don't crash if length is NULL