1 2008-08-13 Tor Lillqvist <tml@novell.com>
3 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
6 * win32/gwin32directorymonitor.c
7 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
9 2008-08-13 Matthias Clasen <mclasen@redhat.com>
12 * goutputstream.c: Add intro docs.
14 2008-08-13 Tor Lillqvist <tml@novell.com>
16 * win32/gwinhttpfileoutputstream.c
17 (g_winhttp_file_output_stream_write): Don't write the
18 Content-Length header ourselves, WinHttpSendRequest() takes care
19 of that when the dwTotalLength parameter is non-zero. Increment
20 offset by the number of actual bytes sent, although I wonder if
21 such a scenario is possible where less than requested would be
22 sent and accepted by the server without errors.
24 2008-08-13 Tor Lillqvist <tml@novell.com>
28 * win32/gwinhttpfile.c
29 * win32/gwinhttpfile.h
30 * win32/gwinhttpfileinputstream.c
31 * win32/gwinhttpfileinputstream.h
32 * win32/gwinhttpfileoutputstream.c
33 * win32/gwinhttpfileoutputstream.h: New files implementing
34 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
35 Windows. The implementation uses the WinHttp API. Both reading and
36 writing are supported, i.e. GET and PUT requests. When writing,
37 each write call is done using a separate PUT request with a
38 Content-Range header. Requests for file URIs and plain pathnames
39 are forwarded to GLocalVfs.
41 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
42 WINE. Used as there is no <winhttp.h> bundled with mingw, and
43 requiring people to download the Windows SDK just for this one
44 header is not reasonable.
46 * win32/Makefile.am: Add above files.
48 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
49 the plumbing for the above.
51 2008-08-11 Sven Neumann <sven@gimp.org>
53 * gfilenamecompleter.c
54 * glocaldirectorymonitor.c
56 * gunionvolumemonitor.c
60 * gunixvolumemonitor.c
63 * gwin32volumemonitor.c: use canonical signal names.
65 2008-08-11 Tor Lillqvist <tml@novell.com>
67 * Makefile.am: Put a list of the platform-dependent .la files in
68 the subdirectories in the platform_deps Make variable, and make
69 libgio-2.0.la depend on that, so that it gets relinked if one of
70 the dependent libraries has changed.
72 2008-08-11 Tor Lillqvist <tml@novell.com>
74 * Makefile.am (platform_libadd): Remove -lwininet which had been
75 added by mistake. We will probably eventually be using WinHTTP,
76 not the older WinInet anyway. (Actually I am working on it.)
78 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
80 Bug 547080 – g_file_copy leaks expected errors
82 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
83 before trying the next fallback routine.
85 2008-08-09 Loïc Minier <lool@dooz.org>
87 Bug 535124 – umask 002 not being applied for new directories, new
88 files get the correct umask
90 * gfile.c (g_file_make_directory)
91 (g_file_make_directory_with_parents): Document ownership and
92 permissions of newly created directories as being the default
95 2008-08-08 Loïc Minier <lool@dooz.org>
97 Bug 535124 – umask 002 not being applied for new directories, new
98 files get the correct umask
100 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
103 2008-08-08 Tor Lillqvist <tml@novell.com>
105 * gwin32mount.c: Remove unused code. Whitespace cleanup.
107 * gwin32volumemonitor.c (get_connected_drives): Put questionable
108 code that didn't actually do anything inside #if 0, and add a
109 comment wondering what the code was supposed to do. This also gets
110 rid of a leftover debugging printout.
112 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
114 * gfileicon.c (g_file_icon_get_property)
115 (g_file_icon_set_property): New functions.
116 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
118 (g_file_icon_new): Use the property (bug #546132).
120 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
122 * gthemedicon.c (g_themed_icon_get_property): Also handle
123 `PROP_USE_DEFAULT_FALLBACKS'.
124 (g_themed_icon_class_init): Make
125 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
127 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
129 Bug 546371 – Improve docs re g_file_monitor
131 * gfilemonitor.c: Mention g_file_monitor() in the docs.
133 2008-08-04 Matthias Clasen <mclasen@redhat.com>
135 * === Released 2.17.6 ===
137 2008-08-04 Matthias Clasen <mclasen@redhat.com>
139 * === Released 2.17.5 ===
141 2008-08-04 Matthias Clasen <mclasen@redhat.com>
143 Bug 546017 – Don't copy attributes when copying a symlink
145 * gfile.c (g_file_copy_attributes): Specify
146 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
147 g_file_set_attributes_from_info. Patch by Christian Kellner
149 2008-08-04 Matthias Clasen <mclasen@redhat.com>
151 * gemblemedicon.[hc]:
153 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
154 a bit more extensible. Work by Clemens Buss.
156 * gioenums.h: Add GEmblemOrigin.
159 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
161 Bug 546079 – leak in xdgmime
163 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
165 2008-08-03 Tor Lillqvist <tml@novell.com>
167 * win32/gwin32directorymonitor.h
168 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
171 2008-08-03 Tor Lillqvist <tml@novell.com>
173 * win32/gwin32directorymonitor.c
174 (g_win32_directory_monitor_callback): Make prototype match
175 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
176 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
179 (g_win32_directory_monitor_constructor):
180 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
181 names in the GLib API on Windows, so convert to UTF-16 and open
184 2008-08-03 Tor Lillqvist <tml@novell.com>
186 Bug 541036 - Gnumeric crashes when trying to open Desktop or
187 user's folder under Windows
189 * win32/gwin32directorymonitor.c
190 (g_win32_directory_monitor_constructor): Ignore error from
191 CreateFile() when opening directory. Instead of asserting, just
192 store INVALID_HANDLE_VALUE then in
193 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
194 ReadDirectoryChangesW().
195 (g_win32_directory_monitor_cancel): Don't attempt to close
196 directory handle if it is INVALID_HANDLE_VALUE.
198 2008-08-01 Matthias Clasen <mclasen@redhat.com>
200 * gdesktopappinfo.c: Remove debug spew
202 2008-08-01 Hans Breuer <hans@breuer.org>
204 * makefile.msc : add gemblembedicon
206 2008-07-30 Matthias Clasen <mclasen@redhat.com>
208 Bug 545457 – gdmsetup crashed with SIGSEGV in
209 g_unix_mount_guess_should_display()
211 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
212 crash if no mount is found.
214 2008-07-28 Matthias Clasen <mclasen@redhat.com>
216 Bug 545203 – gfile.c: argument is different type.
218 * gfile.c (open_read_async_thread): Pass a GError **
219 to g_file_set_error_literal.
220 Reported by Kazuki Iwamoto
222 2008-07-28 Matthias Clasen <mclasen@redhat.com>
224 Bug 545157 – wrong/no list of "open with" applications for .cc and
227 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
228 Collect all ancestors, not just direct parents. Pointed
229 out by Bastien Nocera
231 2008-07-28 Matthias Clasen <mclasen@redhat.com>
233 * Makefile.am: Install gemblemedicon.h
235 2008-07-28 Matthias Clasen <mclasen@redhat.com>
237 * gemblemedicon.[hc]: Add a GIcon implementation that can
238 add an emblem to another icon.
245 * gfileicon.c: Small documentation additions.
247 2008-07-28 Tor Lillqvist <tml@novell.com>
249 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
252 2008-07-27 Tor Lillqvist <tml@novell.com>
254 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
256 2008-07-24 David Zeuthen <davidz@redhat.com>
260 Also export a g_mount_guess_content_type_sync() function.
262 2008-07-23 Matthias Clasen <mclasen@redhat.com>
264 529694 – SELinux context setting support
266 * gfileinfo.c: Support setting selinux attributes.
267 Patch by Tomas Bzatek
269 2008-07-22 Priit Laes <plaes@plaes.org>
271 Bug 544140 - fam-helper 64-bit issue?
273 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
275 2008-07-21 Matthias Clasen <mclasen@redhat.com>
277 * === Released 2.17.4 ===
279 2008-07-20 Matthias Clasen <mclasen@redhat.com>
281 * gvolumemonitor.[hc]:
286 * gmount.c: Documentation fixes
288 2008-07-19 Matthias Clasen <mclasen@redhat.com>
290 543504 – crash in Epiphany Web Browser: Opening local file
301 * gvolume.c: Register types thread-safely.
302 Patch by Christian Persch
304 2008-07-18 Matthias Clasen <mclasen@redhat.com>
306 * gcontenttype.c: Remove debug spew
308 2008-07-18 Matthias Clasen <mclasen@redhat.com>
310 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
313 * fen/fen-kernel.c: Remove a warning that was causing
314 crashes. Reported by Lin Ma.
316 2008-07-18 Matthias Clasen <mclasen@redhat.com>
318 Bug 543040 – async reading on dummy file will crash on
321 * gfile.c (open_read_async_thread): Cope with read_fn being
322 NULL. Reported by Lin Ma.
324 2008-07-18 Matthias Clasen <mclasen@redhat.com>
327 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
329 2008-07-16 Matthias Clasen <mclasen@redhat.com>
333 * giomodule.c: Rename a chapter id to avoid filename conflict.
335 2008-07-16 Matthias Clasen <mclasen@redhat.com>
337 Bug 540616 – mem leak in filechooser button
339 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
340 the mount entry. Reported by Chrisitan Persch
342 2008-07-16 Matthias Clasen <mclasen@redhat.com>
344 * gfile.c: Small documentation fixes.
346 2008-07-15 Matthias Clasen <mclasen@redhat.com>
348 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
350 2008-07-08 Matthias Clasen <mclasen@redhat.com>
355 * gmount.c: Documentation improvements.
357 2008-07-08 Matthias Clasen <mclasen@redhat.com>
360 * gmount.[hc]: Add g_mount_guess_content_type().
362 2008-07-06 David Zeuthen <davidz@redhat.com>
365 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
366 is needed for easily handling adoption of foreign volumes by
367 out-of-process volume monitors (#541793)
369 2008-07-06 David Zeuthen <davidz@redhat.com>
371 * gvolumemonitor.[ch]:
372 * gunionvolumemonitor.c: Export the eject-button signal on the
373 volume monitor class (#541794).
375 2008-07-06 Matthias Clasen <mclasen@redhat.com>
377 * gappinfo.c: More doc tweaks
379 2008-07-05 Matthias Clasen <mclasen@redhat.com>
381 * gappinfo.c: Clarify some docs
383 2008-07-03 Matthias Clasen <mclasen@redhat.com>
385 * gdesktopappinfo.c: Fix a stupid mistake.
387 2008-07-02 Matthias Clasen <mclasen@redhat.com>
389 * === Released 2.17.3 ===
391 2008-07-02 Matthias Clasen <mclasen@redhat.com>
393 * gfilemonitor.c: Fix the build.
395 2008-07-02 Matthias Clasen <mclasen@redhat.com>
397 Bug 536160 – Add g_file_monitor()
400 * gfile.[hc]: Add g_file_monitor which can return either
401 a file or a directory monitor. Proposed by Behdad Esfahbod
403 2008-07-02 Matthias Clasen <mclasen@redhat.com>
405 536733 – gio build failure on Irix
407 * glocalfile.c: Use a configure check for structfs.f_bavail.
409 2008-07-02 Matthias Clasen <mclasen@redhat.com>
411 Bug 534639 – add g_desktop_app_info_new_from_keyfile
414 * gdesktopappinfo.[hc]: Add a function to create a
415 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
417 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
419 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
421 2008-07-01 Matthias Clasen <mclasen@redhat.com>
423 * gunixmounts.c: Fix a doc typo.
425 2008-07-01 Cody Russell <bratsche@gnome.org>
427 * gio/gcontenttype.c:
428 * gio/gwin32appinfo.c:
429 * gio/gwin32volumemonitor.c:
430 * gio/gwin32mount.c: Fixed some include problems.
432 2008-07-01 Cody Russell <bratsche@gnome.org>
436 Moved all relevant typedefs into these files.
439 Updated wrt added files.
441 Split types into separate file for easier maintainership. (#538564)
443 2008-06-30 Matthias Clasen <mclasen@redhat.com>
445 Bug 540331 – g_file_append_to () documentation: can return NULL
447 * gfile.c (g_file_append_to): Clarify docs.
450 2008-06-30 Matthias Clasen <mclasen@redhat.com>
452 Bug 539090 – g_content_type_from_mime_type() should unalias
454 * gcontentype.c (g_content_type_from_mime_type): Unalias.
455 Patch by Markus Bergman
457 2008-06-30 Matthias Clasen <mclasen@redhat.com>
459 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
462 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
463 on ppc and alpha. Reported by Mart Raudsepp
465 2008-06-29 Matthias Clasen <mclasen@redhat.com>
468 * tests/memory-output-stream.c: Add some tests for
471 2008-06-29 Matthias Clasen <mclasen@redhat.com>
473 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
476 * gmemoryoutputstream.c (array_resize): Handle truncation to
477 zero correctly. Reported by Akira Tagoh
479 2008-06-29 Matthias Clasen <mclasen@redhat.com>
481 * gmemoryoutputstream.c: Trivial doc fixes
483 2008-06-29 Matthias Clasen <mclasen@redhat.com>
485 Bug 540802 – g_list_prepend doesn't concat lists
487 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
488 one list to another. Pointed out by Jan Arne Petersen
490 2008-06-28 Michael Natterer <mitch@imendio.com>
492 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
494 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
496 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
497 to avoid problems with partial icon themes.
499 2008-06-17 Hans Breuer <hans@breuer.org>
501 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
502 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
503 access again on win32, see bug #538127
504 * giomodule.c : ensure GWin32VolumeMonitor is registered
505 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
506 * Makefile.am makefile.msc : updated
508 2008-06-16 Hans Breuer <hans@breuer.org>
510 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
511 and initialization in one step avoids c99ism
513 2008-06-16 Christian Persch <chpe@gnome.org>
516 * gio/gbufferedinputstream.c
518 * gio/gdatainputstream.c
519 * gio/gdesktopappinfo.c
521 * gio/gfileenumerator.c
522 * gio/gfileinputstream.c
523 * gio/gfileoutputstream.c
525 * gio/glocaldirectorymonitor.c
527 * gio/glocalfileenumerator.c
528 * gio/glocalfileinfo.c
529 * gio/glocalfilemonitor.c
530 * gio/glocalfileoutputstream.c
531 * gio/gmemoryinputstream.c
532 * gio/gmemoryoutputstream.c
533 * gio/goutputstream.c
534 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
537 2008-06-16 Tor Lillqvist <tml@novell.com>
539 Bug 538362 - Get Win32 icons back in the file chooser
541 * gcontenttype.c (g_content_type_get_icon): Look up the icon
542 corresponding to a file extension in the Registry. Patch by Hans
544 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
546 2008-06-16 Tor Lillqvist <tml@novell.com>
548 Patches by Hans Breuer:
550 * glocalfile.c (is_xp_or_later): Handle compiling against older
551 SDK headers with missing VerifyVersionInfo(). Conditioned on
552 _MSC_VER, but should probably use some better test.
553 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
554 uninitialised statfs_result variable on Win32.
556 2008-06-16 Michael Natterer <mitch@imendio.com>
558 * *.c: chain up unconditionally in finalize() and dispose(). Also
559 don't dereference these function pointers when calling them since
560 that has no meaning at all.
562 2008-06-16 Ross Burton <ross@burtonini.com>
565 Remove check for dispose implementation as it annoys Emmanuele.
567 2008-06-16 Ross Burton <ross@burtonini.com>
569 Bug 536252 – GFileEnumerator should allow access to the containing
575 Add g_file_enumerator_get_container() and a container writeable
576 construct-only property. Also shuffle around typedefs to make it
579 * glocalfileenumerator.c:
580 * glocalfileenumerator.h:
582 Instead of a string filename take a GFile in the constructor and
583 use it to set the container property.
588 2008-06-16 Matthias Clasen <mclasen@redhat.com>
590 * gfile.c: Make includes more uniform
592 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
594 * tests/live-g-file.c (sample_struct):
595 Use less fancy unicode filenames, so the test doesn't fail
596 on Mac OS X (#531476).
598 2008-06-12 Matthias Clasen <mclasen@redhat.com>
600 * === Released 2.17.2 ===
602 2008-06-12 Matthias Clasen <mclasen@redhat.com>
604 * === Released 2.17.1 ===
606 2008-06-11 A. Walton <awalton@gnome.org>
608 * tests/g-file.c (test_g_file_new_null):
609 Fix broken test case.
611 2008-06-11 Matthias Clasen <mclasen@redhat.com>
613 * pltcheck.sh: We use g_clear_error now.
615 2008-06-11 Matthias Clasen <mclasen@redhat.com>
617 * glocalfile.c (g_local_file_enumerate_children): Revert
618 an unintended change.
620 2008-06-11 Matthias Clasen <mclasen@redhat.com>
622 * gfile.c (g_file_replace_contents): Don't unref before the last use.
624 2008-06-10 Matthias Clasen <mclasen@redhat.com>
626 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
629 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
630 as icon for the desktop directory, also make user-home and
631 user-desktop the preferred icons.
633 2008-06-10 Matthias Clasen <mclasen@redhat.com>
636 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
637 to add a name to the front of the list.
639 2008-06-10 Matthias Clasen <mclasen@redhat.com>
641 Bug 537392 – Additional colon in xattr name
643 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
644 too. Reported by Alessandro Morandi
646 2008-06-10 Matthias Clasen <mclasen@redhat.com>
648 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
651 * glocalfile.c (get_fs_type): Add afs and autofs.
652 Patch by Danny Baumann.
654 2008-06-10 Matthias Clasen <mclasen@redhat.com>
656 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
658 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
659 is no parent. (Owen Taylor, patch by Christian Neumair)
661 2008-06-10 Paolo Borelli <pborelli@katamail.com>
663 * gfile.c (g_file_replace_contents): do not leak the output stream.
665 2008-06-10 Michael Natterer <mitch@imendio.com>
667 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
668 uninitialized memory as array index.
670 2008-06-10 Tor Lillqvist <tml@novell.com>
672 * gcontenttype.c (g_content_type_can_be_executable)
673 (g_content_type_get_icon) [Win32]: Add TODO comments.
675 2008-06-09 Matthias Clasen <mclasen@redhat.com>
677 * xdgmime/Makefile.am: Fix the build
679 2008-06-09 Matthias Clasen <mclasen@redhat.com>
681 * gcontenttype.c (g_content_type_get_icon): Use icons specified
682 in the shared mime database, if available.
684 * xdgmime/*: Sync with upstream. This brings support for
685 glob weights, generic icons, and changes the cache format to
688 2008-05-28 Michael Natterer <mitch@imendio.com>
690 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
691 the global CPPFLAGS now.
693 * tests/data-input-stream.c
694 * tests/data-output-stream.c
695 * tests/g-file-info.c
697 * tests/live-g-file.c
698 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
700 2008-05-27 Matthias Clasen <mclasen@redhat.com>
702 * === Released 2.17.0 ===
704 * tests/live-g-file.c: Clean up after the tests, so make distcheck
705 doesn't complain about leftover files.
707 2008-05-27 simon.zheng <simon.zheng@sun.com>
709 * glocalfile.c: (g_local_file_query_filesystem_info):
710 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
712 2008-05-26 Michael Natterer <mitch@imendio.com>
714 * gmemoryoutputstream.h: declare
715 g_memory_output_stream_get_data_size().
717 2008-05-26 Matthias Clasen <mclasen@redhat.com>
719 * tests/*: Make tests work
721 2008-05-26 Matthias Clasen <mclasen@redhat.com>
723 * gio.symbols: Add g_memory_output_stream_get_data_size.
725 2008-05-25 Ross Burton <ross@burtonini.com>
728 Fix typo in error message (#534764).
730 2008-05-25 Ross Burton <ross@burtonini.com>
733 Fix circular dependency loop for gioenumtypes.h (#534759).
735 2008-05-19 Hans Breuer <hans@breuer.org>
737 * Makefile.am : EXTRA_DIST += makefile.msc
739 2008-05-17 Matthias Clasen <mclasen@redhat.com>
742 * gcontenttype.c: (g_content_type_from_mime_type):
743 New function to create a content type from a mime type. (#527175,
746 2008-05-17 Matthias Clasen <mclasen@redhat.com>
748 Bug 532965 – Should not return filesystem::free for certain file systems
750 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
751 free space for ncpfs.
753 2008-05-17 Matthias Clasen <mclasen@redhat.com>
755 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
757 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
758 st_dev might be zero.
760 2008-05-16 Tor Lillqvist <tml@novell.com>
762 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
763 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
765 2008-05-13 Bastien Nocera <hadess@hadess.net>
767 * gfile.c (has_valid_scheme): A URI scheme must start with a
768 letter, even if later more characters are allowed (#532852)
770 2008-05-05 Michael Natterer <mitch@imendio.com>
772 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
773 code from being checked in that breaks the build of applications
774 which use G_DISABLE_SINGLE_INCLUDES.
776 * makegioalias.pl: make the alias file include "glib.h" instead of
779 * gio.symbols: whitespace change to force regeneration of the
780 alias file after above script change.
782 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
784 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
786 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
788 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
790 2008-04-28 David Zeuthen <davidz@redhat.com>
792 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
793 displaying mounts in a subdirectory not accessible to the
796 2008-04-22 Michael Natterer <mitch@imendio.com>
798 * Makefile.am: fix library versioning (it was 0.0.0).
800 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
802 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
803 Default disable all loggings.
804 * fen/fen-kernel.c: (printevent), (port_add_kevent),
805 (port_fetch_event_cb): Fixed two macro nits.
807 2008-04-16 Matthias Clasen <mclasen@redhat.com>
809 * xdgmime/xdgmime.c: Rework the timestamp checking code
810 to protect against duplicate directories in XDG_DATA_DIRS.
811 Fixes fd.o bug 12513, reported by Joe Shaw.
813 2008-04-16 Matthias Clasen <mclasen@redhat.com>
815 Partically revert the last commit after realizing that
816 xdg_mime_media_type_equal doesn't have to init at all.
819 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
821 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
823 2008-04-16 Matthias Clasen <mclasen@redhat.com>
825 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
826 reported by Joe Shaw and Federico Mena Quintero.
828 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
829 (xdg_mime_media_type_equal): Turn into a wrapper around the
832 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
833 functions throughout.
835 2008-04-16 Michael Meeks <michael.meeks@novell.com>
837 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
838 tolerate an empty TryExec= line without failing; nautilus used
839 to create launchers with these in previous versions. Fixes #528433
841 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
843 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
844 after name. Fixes #527132.
846 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
848 * gfile.c: (g_file_replace):
851 2008-04-07 Matthias Clasen <mclasen@redhat.com>
853 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
855 * gfile.c (file_copy_fallback): Fix the argument order. Patch
856 by Christian Kellner.
858 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
860 * gunixmounts.c: (g_unix_mount_guess_should_display):
861 Don't list the user directory as a mount, fix potential issue
862 when other users have a similar naming and don't special case the
863 gvfs mounts there since that's not required (#525866)
865 2008-03-31 Alexander Larsson <alexl@redhat.com>
867 * glocalfile.c (get_parent):
870 2008-03-31 A. Walton <awalton@svn.gnome.org>
872 * gfile.c (g_file_query_file_type):
873 Always return a GFileType enum value (#520715).
875 2008-03-31 Alexander Larsson <alexl@redhat.com>
877 * glocalfileenumerator.c:
878 Read readdir() info in chunks (of 1000) and sort
879 the chunks by inode before stat:ing.
880 This is a 20% performance increase in testing
881 gvfs-ls on /usr/bin with cold cache.
883 2008-03-31 Alexander Larsson <alexl@redhat.com>
885 * gmemoryoutputstream.c:
886 Clarify docs for g_memory_output_stream_get_size.
887 Add g_memory_output_stream_get_data_size.
889 2008-03-30 Matthias Clasen <mclasen@redhat.com>
893 * gfile.h: Add g_file_query_file_type convenience function
894 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
896 2008-03-30 Matthias Clasen <mclasen@redhat.com>
899 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
901 2008-03-28 A. Walton <awalton@svn.gnome.org>
903 * giomodule.c (_g_io_modules_ensure_loaded):
904 Adds GIO_EXTRA_MODULES environment variable support, closing bug
907 2008-03-28 Alexander Larsson <alexl@redhat.com>
910 (copy_stream_with_progress):
913 2008-03-28 Alexander Larsson <alexl@redhat.com>
916 (copy_stream_with_progress):
917 (file_copy_fallback):
918 Fallback to g_file_query_info for source size
919 if g_file_input_stream_query_info fails. (#524579)
921 2008-03-28 Alexander Larsson <alexl@redhat.com>
923 * glocalfile.c (g_local_file_move):
924 Reuse old string instead of adding new one.
926 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
928 * fen/*.[hc]: still copyright issue. I hate copyright.
930 2008-03-27 Alexander Larsson <alexl@redhat.com>
932 * glocalfile.c (g_local_file_move):
933 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
934 file over directory. This is according to the docs and what the move via
935 copy+remove fallback does.
937 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
939 * fen/*.[hc]: Updated copyright.
941 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
943 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
945 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
947 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
948 not emit attribute changed events when optimizing changed events.
949 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
952 2008-03-19 Matthias Clasen <mclasen@redhat.com>
954 * gmountoperation.[hc]: Small documentation additions
956 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
958 * gunixmounts.c: (guess_mount_type):
959 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
961 2008-03-19 Alexander Larsson <alexl@redhat.com>
964 (copy_stream_with_progress):
965 Bump block side for copy to 64k to minimize
966 overhead for low latency links. (#523015)
968 2008-03-16 Tor Lillqvist <tml@novell.com>
970 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
971 depend on gio.def on Windows.
973 2008-03-12 David Zeuthen <davidz@redhat.com>
977 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
979 2008-03-14 Alexander Larsson <alexl@redhat.com>
983 Avoid redudant tests (#521851)
984 Patch from Josselin Mouette
986 2008-03-14 Alexander Larsson <alexl@redhat.com>
989 (g_file_monitor_is_cancelled):
990 Fix C89 issue (#521672)
991 Patch from Jens Granseuer
993 2008-03-14 Alexander Larsson <alexl@redhat.com>
995 * fam/fam-helper.[ch]:
997 Shut down fam (including removing fam GSource) when
998 module is unloaded (#521513)
999 Patch from Joe Marcus Clarke
1001 2008-03-14 Alexander Larsson <alexl@redhat.com>
1004 (_g_io_modules_ensure_loaded):
1007 2008-03-14 Alexander Larsson <alexl@redhat.com>
1010 (g_local_file_query_filesystem_info):
1011 Use right define name for f_fstypename member check
1013 2008-03-14 Alexander Larsson <alexl@redhat.com>
1016 * fen/Makefile.am: Added.
1017 * fen/fen-data.[ch]: Added.
1018 * fen/fen-dump.[ch]: Added.
1019 * fen/fen-helper.[ch]: Added.
1020 * fen/fen-kernel.[ch]: Added.
1021 * fen/fen-missing.[ch]: Added.
1022 * fen/fen-node.[ch]: Added.
1023 * fen/fen-sub.[ch]: Added.
1024 * fen/gfendirectorymonitor.[ch]: Added.
1025 * fen/gfenfilemonitor.[ch]: Added.
1027 Added Solaris FEN file notification backend.
1028 Patch from Lin Ma <Lin.Ma@Sun.COM>
1030 2008-03-13 Tor Lillqvist <tml@novell.com>
1032 * Makefile.am: Actually use the gio.def file when linking the
1033 library on Windows. Produce .lib library for Microsoft's toolchain
1034 when possible. Install the .lib and .def file like for the other
1037 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1039 * tests/live-g-file.c:
1040 Include live-g-file in standard set of tests, making a temporary
1041 directory in source structure.
1043 Clean target directory before the tests (write mode only)
1045 2008-03-12 Tor Lillqvist <tml@novell.com>
1047 Bug 517419 - gio win32 directory monitor
1048 Implementation by Vlad Grecescu.
1051 * win32/gwin32directorymonitor.h
1052 * win32/gwin32directorymonitor.c: New files.
1054 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1056 * Makefile.am: Add the win32 subdirectory.
1058 2008-03-12 Tor Lillqvist <tml@novell.com>
1060 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1061 normal struct stat on Unix but struct _stati64 on Windows to have
1062 access to 64-bit file size information. Use that instead of struct
1063 stat in the functions declared here in this private header.
1065 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1066 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1067 warnings about unused functions and variables. Don't set
1068 meaningless attributes like inode numbers on Windows.
1070 2008-03-12 Benjamin Otte <otte@gnome.org>
1073 trim whitespace so gtk-doc groks the function name
1075 2008-03-12 Tor Lillqvist <tml@novell.com>
1077 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1078 returning FALSE, on Win32.
1080 2008-03-11 Alexander Larsson <alexl@redhat.com>
1083 * glocalfileinfo.[ch]:
1084 Correctly implement can_trash by actually
1085 looking for a trash dir, not just assuming
1088 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1090 * === Released 2.16.1 ===
1092 2008-03-11 Alexander Larsson <alexl@redhat.com>
1095 Fix crashes in new constructor and properties code
1097 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1099 * gfile.c: Minor spelling correction in documentation:
1100 existance -> existence.
1102 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1104 * === Released 2.16.0 ===
1106 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1108 * gio.symbols: Remove g_file_contains_file here, too.
1110 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1112 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1113 Samuel Cormier-Iijima)
1115 2008-03-08 Tor Lillqvist <tml@novell.com>
1117 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1120 2008-03-07 Alexander Larsson <alexl@redhat.com>
1123 (g_local_file_query_filesystem_info):
1124 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1125 Patch from Jasper Lievisse Adriaanse
1127 2008-03-06 Tor Lillqvist <tml@novell.com>
1129 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1130 comments for the *_USEC attributes.
1132 2008-03-06 Alexander Larsson <alexl@redhat.com>
1134 * gfile.c (g_file_query_exists):
1135 Add g_return_val_if_fail check (#520700)
1137 2008-03-06 Alexander Larsson <alexl@redhat.com>
1139 * gdesktopappinfo.c:
1142 * gunionvolumemonitor.c:
1145 * tests/live-g-file.c:
1146 * xdgmime/xdgmimecache.c:
1147 Fix sparse warnings (#519489)
1149 2008-03-05 Alexander Larsson <alexl@redhat.com>
1152 Make cancellation threadsafe (i.e.
1153 guarantee its only done once, and always
1156 * glocaldirectorymonitor.c:
1157 Make sure we the monitor lives while the
1158 mounts_changed callback is being called (#520484)
1160 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1162 * gbufferedinputstream.c: Fix typo in parameter
1165 2008-03-04 Alexander Larsson <alexl@redhat.com>
1168 Remove deprecated symbols we kept for one release.
1170 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1173 * goutputstream.c: Tiny documentation corrections.
1175 2008-03-03 Alexander Larsson <alexl@redhat.com>
1177 * gunionvolumemonitor.c:
1179 Fix the adopt_orphan_mount vfunc to take a
1180 volume_monitor reference in an ABI compat way.
1181 This change is not API compat, but the added
1182 arg is not used in the only user of this vfunc, so
1183 all we get is a harmless warning in gvfs (#520169)
1185 2008-03-01 Benjamin Otte <otte@gnome.org>
1188 clarify docs for g_file_delete().
1190 2008-02-29 Alexander Larsson <alexl@redhat.com>
1194 Make sure empty files get text/plain type (#518720)
1196 2008-02-27 Alexander Larsson <alexl@redhat.com>
1202 (g_unix_volume_mount):
1203 Add missing GMountMountFlags argument
1205 2008-02-26 Alexander Larsson <alexl@redhat.com>
1208 (g_local_file_delete):
1209 Handle filesystems (like ntfs-3g) that return EEXIST instead
1210 of ENOTEMPTY (#518816)
1212 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1214 * === Released 2.15.6 ===
1216 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1218 * gfile.c (g_file_find_enclosing_mount):
1219 * ginputstream.c (g_input_stream_set_pending):
1220 * glocalfile.c (g_local_file_find_enclosing_mount):
1221 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1222 * goutputstream.c (g_output_stream_set_pending):
1224 Fixup translator comments (#518578).
1226 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1228 * gfile.c (g_file_find_enclosing_mount):
1230 * glocalfile.c (g_local_file_find_enclosing_mount):
1233 Fix a few typos in translator comments and documentation.
1235 2008-02-25 Alexander Larsson <alexl@redhat.com>
1242 Add translator comments (#518578)
1244 2008-02-25 Alexander Larsson <alexl@redhat.com>
1247 Reintroduce g_file_contains_file, keep around for one
1248 unstable release cycle to avoid crashing to many apps.
1249 Make sure to delete after release.
1251 2008-02-25 Alexander Larsson <alexl@redhat.com>
1254 Remove deprecated g_file_contains_file.
1256 2008-02-25 Alexander Larsson <alexl@redhat.com>
1259 Emit actual change signals in an idle handler.
1260 This avoids reentrance and locking problems in
1261 the file notification backends.
1263 2008-02-25 Alexander Larsson <alexl@redhat.com>
1266 (g_unix_mount_guess_should_display):
1267 Remove type guessing, instead just display
1268 mounts in /media and in ~/.
1270 2008-02-25 Alexander Larsson <alexl@redhat.com>
1273 Make new strings reuse old ones.
1275 2008-02-25 Alexander Larsson <alexl@redhat.com>
1278 Implement trashing and filesystem::readonly for win32 (#517235)
1279 Patch from Yevgen Muntyan
1281 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1283 * gfileinfo.h: Documentation fixes.
1285 2008-02-22 Alexander Larsson <alexl@redhat.com>
1287 * gcontenttype.c (g_content_type_get_icon):
1288 Look at old-style gnome mime icon names too, as many
1289 have not moved to the new style.
1291 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1293 * *.c: Correct the @include in for section docs.
1295 2008-02-21 David Zeuthen <davidz@redhat.com>
1297 * glocalfileinfo.c: (_g_local_file_info_get):
1299 (g_content_type_get_icon): Implement this function by
1300 moving bits from glocalfileinfo.c
1301 (g_content_type_get_description): Unalias before getting
1302 description (#517687)
1304 * gfile.c: (g_file_class_init),
1305 (g_file_query_filesystem_info_async),
1306 (g_file_query_filesystem_info_finish),
1307 (query_filesystem_info_data_free),
1308 (query_filesystem_info_async_thread),
1309 (g_file_real_query_filesystem_info_async),
1310 (g_file_real_query_filesystem_info_finish):
1311 * gfile.h: Implement async version of
1312 g_file_query_filesystem_info()
1314 * gfileinfo.h: Add new attributes for filesystem::use-preview
1316 * gio.symbols: Update
1318 * gthemedicon.c: (g_themed_icon_append_name):
1319 * gthemedicon.h: Add new new convenience function.
1321 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1322 (get_mounts), (get_volumes), (get_connected_drives),
1323 (get_volume_for_uuid), (get_mount_for_uuid),
1324 (g_union_volume_monitor_init), (populate_union_monitor),
1325 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1326 (g_volume_monitor_adopt_orphan_mount):
1328 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1329 monitor implementations to call into the main volume monitor. Also
1330 separate object initialization and volume monitor initialization
1331 such that non-native volume monitors can properly adopt their
1334 2008-02-21 Alexander Larsson <alexl@redhat.com>
1339 2008-02-21 Alexander Larsson <alexl@redhat.com>
1342 Add more documentation about how GFiles work (from #517086)
1344 2008-02-21 Alexander Larsson <alexl@redhat.com>
1348 Add new g_file_has_prefix that does the same as g_file_contains_file.
1349 Deprecate g_file_contains_file and add a macro that converts
1350 it to g_file_has_prefix.
1351 The reason for this change is that the contains_file() name seems to
1352 imply that this does more work than what it does, but its really only
1353 a name match (from #517086)
1358 Update to match the above change.
1360 2008-02-20 Benjamin Otte <otte@gnome.org>
1362 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1363 (g_file_eject_mountable):
1364 even more cases of not returning in error path
1366 2008-02-20 Benjamin Otte <otte@gnome.org>
1368 * gfile.c: (g_file_mount_mountable):
1369 return from function in error path.
1371 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1374 Remove trailing coma in GMountMountFlags struct
1376 2008-02-18 Alexander Larsson <alexl@redhat.com>
1380 * glocalfileoutputstream.c:
1381 Use g_unlink/g_rename instead of unlink/rename;
1382 do not pass raw filenames to g_set_error. (#517239)
1383 Patch from Yevgen Muntyan.
1385 2008-02-18 Alexander Larsson <alexl@redhat.com>
1388 * glocalfileoutputstream.c:
1389 Open files with O_BINARY on windows. (#517140)
1391 2008-02-14 Alexander Larsson <alexl@redhat.com>
1393 * glocalfileoutputstream.c:
1394 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1396 2008-02-14 Alexander Larsson <alexl@redhat.com>
1399 Copy permissions with file on copy (#514084)
1400 This is what cp does and makes sure e.g. the
1401 exec permissions are kept.
1402 Its kinda weird in that it keeps the permission bits
1403 the same while the uid and gid are different. However
1404 the new uid is the user so its not a security issue,
1405 and I've heard no complaints about cp on this issue.
1407 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1409 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1411 2008-02-13 Alexander Larsson <alexl@redhat.com>
1413 * inotify/inotify-path.c:
1414 Define IN_ONLYDIR if not in header (#515346)
1416 2008-02-12 Alexander Larsson <alexl@redhat.com>
1418 * tests/live-g-file.c:
1421 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1423 * === Released 2.15.5 ===
1425 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1427 * gio.symbols: Add g_mount_mount_flags_get_type.
1429 2008-02-11 Alexander Larsson <alexl@redhat.com>
1432 (g_file_info_set_attribute_mask):
1433 (g_file_attribute_matcher_matches_id):
1434 Correctly handle NULL GAttributeMatcher meaning
1435 matches nothing. (Fixes #513492)
1437 2008-02-11 Alexander Larsson <alexl@redhat.com>
1442 Added GMountMountFlags enum and added a flags
1443 argument to all mount calls.
1445 This is an API/ABI change for future extensibility,
1446 as I think we will need at least an
1447 inhibit-autorun flag (the panel needs this).
1448 There are no flags defined yet though.
1450 2008-02-11 Alexander Larsson <alexl@redhat.com>
1453 Added new standard::description attribute.
1454 Requested by Vincent, and useful for both
1457 2008-02-11 Alexander Larsson <alexl@redhat.com>
1459 * gdesktopappinfo.c:
1462 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1464 * *.c: Documentation additions
1466 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1468 * gappinfo.h: Formatting cleanup
1469 * gappinfo.c: Fix up docs.
1471 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1473 * gunixmounts.c: Consistently use getmntent_r() and fall
1474 back to getmntent(). (#515492)
1476 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1478 * gbufferedinputstream.c:
1480 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1482 * tests/data-input-stream.c:
1483 * tests/data-output-stream.c: Portability fixes.
1485 2008-02-08 Alexander Larsson <alexl@redhat.com>
1490 Add g_volume_should_automount.
1493 2008-02-07 Tor Lillqvist <tml@novell.com>
1495 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1496 Win32, too Unix-specific.
1498 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1500 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1501 a local plt if the compiler doesn't support what we want. Bug #514702
1503 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1505 reviewed by: <delete if not using a buddy>
1508 * gunixinputstream.c:
1509 * gunixoutputstream.c:
1511 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1513 * tests/Makefile.am:
1514 * tests/live-g-file.c:
1515 * tests/live-g-file.txt:
1516 New GIO testing module working over real data
1518 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1520 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1521 Fallback to rename() if link() is not available
1522 (when no support on target filesystem)
1524 2008-02-06 Michael Natterer <mitch@imendio.com>
1526 * gfileinfo.c (g_file_info_get_icon): replace
1527 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1529 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1531 * gfile.c (g_file_create):
1532 Documentation update of error codes
1534 2008-02-06 Alexander Larsson <alexl@redhat.com>
1536 * gdesktopappinfo.c:
1537 Update to use both mimeapps.list and
1538 defaults.list as discussed on xdg list.
1540 2008-02-06 Benjamin Otte <otte@gnome.org>
1543 * gfilenamecompleter.c:
1544 Fix some typos in the documentation.
1546 2008-02-06 Alexander Larsson <alexl@redhat.com>
1548 * glocalfile.c (g_local_file_trash):
1549 Don't succeed with trash if newly created
1550 trash dir has the wrong owner. (#514696)
1552 2008-02-05 Alexander Larsson <alexl@redhat.com>
1554 * glocalfile.c (g_local_file_move):
1555 Don't spew warnings when destination is not
1558 2008-02-03 Hans Breuer <hans@breuer.org>
1560 * makefile.msc : update
1562 2008-02-01 Michael Natterer <mitch@imendio.com>
1564 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1565 return value of xdg_mime_list_mime_parents() to a variable of the
1568 2008-02-01 Alexander Larsson <alexl@redhat.com>
1570 * gappinfo.c (g_app_info_launch_uris):
1571 Actually call the launch_uris method, not
1574 2008-02-01 Alexander Larsson <alexl@redhat.com>
1576 * gdesktopappinfo.c (g_desktop_app_info_equal):
1577 Ensure appinfos with no id but same pointer value
1580 2008-02-01 Alexander Larsson <alexl@redhat.com>
1582 * gappinfo.c (g_app_info_launch_default_for_uri):
1585 2008-02-01 Alexander Larsson <alexl@redhat.com>
1589 Add g_app_info_launch_default_for_uri utility
1592 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1594 * gdesktopappinfo.c:
1595 Doc fix for g_app_info_get_default_for_uri_scheme ()
1598 2008-01-30 Alexander Larsson <alexl@redhat.com>
1601 Add doc comment about uris vs GFiles to
1604 * gdesktopappinfo.c:
1605 Ensure uris passed to g_app_info_launch_uris()
1606 are not roundtriped through GFile (as that
1607 may be slightly destructive for e.g. mailto: links)
1609 2008-01-30 Alexander Larsson <alexl@redhat.com>
1611 * tests/data-input-stream.c:
1612 * tests/data-output-stream.c:
1613 C89 fixes from Jens Granseuer (#512849)
1615 2008-01-30 Alexander Larsson <alexl@redhat.com>
1618 Fix gamin/fam difference build issue. (#509419)
1620 2008-01-29 Alexander Larsson <alexl@redhat.com>
1623 * gdesktopappinfo.c:
1624 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1626 2008-01-29 Alexander Larsson <alexl@redhat.com>
1628 * gdesktopappinfo.c:
1629 * gdesktopappinfo.h:
1630 giomodule-priv.h include moved to .c file.
1632 2008-01-29 Alexander Larsson <alexl@redhat.com>
1634 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1635 Remove unused prio/name fields.
1637 2008-01-29 Alexander Larsson <alexl@redhat.com>
1639 * gcontenttype.c (looks_like_text):
1640 Don't treat whitespace as control chars.
1642 2008-01-29 Alexander Larsson <alexl@redhat.com>
1644 * gdesktopappinfo.c:
1645 Lazily create the desktop files for appinfos created
1646 by g_app_info_create_from_commandline() when needed
1647 for mime associations. This allows run-time use
1648 of GAppInfo object without creating unnecessary
1651 2008-01-29 Alexander Larsson <alexl@redhat.com>
1654 Added new symbols to gio.symbols
1656 2008-01-29 Alexander Larsson <alexl@redhat.com>
1659 Add g_file_query_default_handler utility to easily look up
1660 the GAppInfo that handles a file.
1662 * gdesktopappinfo.[ch]:
1664 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1667 Remove unused function
1669 2008-01-29 Alexander Larsson <alexl@redhat.com>
1671 * gfileenumerator.c:
1672 Mention need to free returned value in
1673 g_file_enumerator_next_files_finish docs.
1674 Fix leak if g_file_enumerator_next_files_finish()
1677 2008-01-29 Alexander Larsson <alexl@redhat.com>
1680 (_g_unix_content_type_get_parents):
1681 Use list_parents, not get_parents from xdgmime, because
1682 the later doesn't use the cache.
1684 * xdgmime/xdgmimecache.c:
1685 (_xdg_mime_cache_list_mime_parents):
1686 Don't list the same type as parent multiple times.
1688 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1690 * === Released 2.15.4 ===
1692 2008-01-28 Alexander Larsson <alexl@redhat.com>
1695 Register local vfs with prio 0.
1698 Remove old name and prio class members
1700 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1702 * tests/g-file.c: Disable some tests that are failing in
1703 the absence of a http backend.
1705 2008-01-28 Alexander Larsson <alexl@redhat.com>
1709 Add registration hooks for extension points.
1710 Register the gio extension points.
1712 * fam/gfamdirectorymonitor.c:
1713 * fam/gfamfilemonitor.c:
1714 * glocaldirectorymonitor.[ch]:
1715 * glocalfilemonitor.[ch]:
1716 * gnativevolumemonitor.h:
1717 * gunionvolumemonitor.c:
1718 * gunixvolumemonitor.c:
1721 * inotify/ginotifydirectorymonitor.c:
1722 * inotify/ginotifyfilemonitor.c:
1723 Use the extension points registration instead
1724 of g_type_children().
1726 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1729 * gvolume.[hc]: Document new API.
1731 * gfile.c (g_file_copy_async): Fix docs
1733 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1735 * gbufferedinputstream.c:
1737 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1740 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1742 * glocalfile.c: Avoid trivial differences in translatable strings.
1744 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1746 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1747 build with gcc 3.4 (#509419)
1749 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1751 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1752 (#509994, Murray Cumming)
1754 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1756 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1757 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1758 this allows big jobs to be executed in chunks, instead of blocking
1759 the main loop for a long time.
1761 * gsimpleasyncresult.c:
1762 * giofile.c: Adapt callers.
1764 2008-01-25 Alexander Larsson <alexl@redhat.com>
1766 * gdesktopappinfo.c:
1767 Implement changes discussed on xdg list.
1768 Now we can add supported mimetypes by just using defaults.list
1769 We can also remove associations in defaults.list.
1771 2008-01-25 Alexander Larsson <alexl@redhat.com>
1773 * gdesktopappinfo.c:
1774 Don't make local copy of desktop file
1775 for mimetype changes if the file already
1776 supports the new mimetype.
1778 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1782 * gbufferedinputstream.c:
1783 * glocalfile.c: String improvements. (#511966,
1784 Theppitak Karoonboonyanan)
1786 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1788 * gioscheduler.h: Expand docs a bit.
1790 2008-01-24 Alexander Larsson <alexl@redhat.com>
1793 Add g_drive_get_identifier and
1794 g_drive_enumerate_identifiers
1797 Add g_volume_get_identifier and
1798 g_volume_enumerate_identifiers
1804 Implement identifiers for unix backend
1806 2008-01-24 Alexander Larsson <alexl@redhat.com>
1811 Add g_file_copy_async() (#511580)
1812 Based on patch from Carlos Garcia Campos
1814 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1816 * gioscheduler.c: Some documentation additions.
1818 2008-01-22 Alexander Larsson <alexl@redhat.com>
1820 * gdesktopappinfo.c:
1821 (g_desktop_app_info_new):
1822 Don't leak basename.
1824 2008-01-22 Alexander Larsson <alexl@redhat.com>
1826 * gdesktopappinfo.c:
1827 (g_desktop_app_info_new_from_filename):
1830 2008-01-22 Alexander Larsson <alexl@redhat.com>
1832 * glocalfileinfo.c (get_thumbnail_attributes):
1835 2008-01-22 Alexander Larsson <alexl@redhat.com>
1838 (canonicalize_filename):
1839 Canonicalize paths that start with more than
1843 (compare_two_files):
1844 (test_g_file_new_for_path):
1847 2008-01-22 Alexander Larsson <alexl@redhat.com>
1850 Allow UTF-8 in file:// parse names.
1852 * tests/Makefile.am:
1853 * tests/data-input-stream.c:
1854 * tests/data-output-stream.c:
1855 * tests/g-file-info.c:
1857 Added a bunch of tests from Tomas Bzatek
1859 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1861 * === Released 2.15.3 ===
1863 2008-01-21 Alexander Larsson <alexl@redhat.com>
1865 * gfileinputstream.[ch]:
1866 * gfileoutputstream.[ch]:
1868 Remove duplicated GSeekable functions. (#509990)
1869 Just use the g_seekable_xxx() calls instead.
1871 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1874 * gvolumemanager.c: Whitespace cleanups.
1876 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1877 Use the right mode when creating the file.
1879 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1881 * gfileenumerator.c:
1882 * gfileinputstream.c:
1884 * goutputstream.c: Documentation: Fixed minor typos
1885 and added more mentions of specific _finish() functions.
1887 2008-01-21 Alexander Larsson <alexl@redhat.com>
1889 * inotify/Makefile.am:
1890 * inotify/inotify-helper.c:
1891 * inotify/inotify-kernel.c:
1892 * inotify/inotify-path.c:
1893 * inotify/local_inotify.h: Removed.
1894 * inotify/local_inotify_syscalls.h: Removed.
1895 Removed the included copies of the inotify
1896 headers. We now only use the <sys/inotify.h>
1897 header which exists on modern systems.
1898 This fixes problems on ARM and SH5 (#510448)
1899 but is also generally much cleaner and future
1900 safe. For instance, if other OSes add support
1901 for inotify it should "just work".
1903 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1905 * inotify/*.c: Coding style fixes.
1906 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1907 for the 1/4 Hz timer.
1909 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1912 * gfilemonitor.[hc]:
1913 * gmemoryinputstream.c:
1914 * gmemoryoutputstream.c:
1915 * gmountoperation.c:
1916 * gthemedicon.c: Documentation updates
1918 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1920 * gfile.c: documentation: Fixed more minor
1923 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1925 * gmount.c: (g_mount_remount): documentation:
1926 Mention g_mount_remount_finish() instead of
1927 g_mount_unmount_finish().
1929 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1933 * gfile.c: Fixed some minor typos in the
1936 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1938 * gio/gvolumemonitor.c:
1939 (g_volume_monitor_get_connected_drives):
1940 (g_volume_monitor_get_volumes):
1941 (g_volume_monitor_get_mounts): Documentation:
1942 Clarify the ownership of the regurn GLists.
1944 2008-01-17 Alexander Larsson <alexl@redhat.com>
1947 Add the async find_enclosing_mount version
1948 to the header file too.
1950 2008-01-17 Alexander Larsson <alexl@redhat.com>
1953 Add async version of find_enclosing_mount
1954 with default implementation.
1956 2008-01-17 Alexander Larsson <alexl@redhat.com>
1961 Allow calls to implementation of copy and write
1962 even if the type of the file implementations is
1963 different. This can be used to implement native
1964 upload and download calls in a vfs.
1967 (g_local_file_move):
1968 Protect against the case where move is called
1969 with one file not being local.
1971 Make sure we call the progress callback once
1972 in the native move operation so that the caller
1973 knows how many bytes were copied.
1975 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1978 * gdatainputstream.c:
1980 * gfileoutputstream.c:
1985 * gunixmounts.c: Corrected some typos in the documentation:
1986 occured -> occurred.
1987 its -> it's (where appropriate).
1989 2008-01-16 Alexander Larsson <alexl@redhat.com>
1993 Add g_file_query_exists (#508771)
1995 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2000 * gvolume.c: For async functions that have no non-async
2001 version, document that the GAsyncReadyCallback may be NULL.
2004 2008-01-15 Alexander Larsson <alexl@redhat.com>
2006 * gmemoryinputstream.c:
2007 * gmemoryoutputstream.c:
2008 Don't do pointer arithmetic on void * (#508602)
2009 Patch from Kazuki IWAMOTO
2011 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2013 * === Released 2.15.2 ===
2015 2008-01-14 Alexander Larsson <alexl@redhat.com>
2017 * gfile.c (g_file_monitor_file):
2018 Don't set error here, since we fallback to polling monitor.
2020 2008-01-14 Alexander Larsson <alexl@redhat.com>
2023 (g_file_monitor_directory):
2024 (g_file_monitor_file):
2025 Add GError to file monitor calls
2027 * glocaldirectorymonitor.c:
2028 * glocaldirectorymonitor.h:
2030 * glocalfilemonitor.c:
2031 * glocalfilemonitor.h:
2033 Update for above change
2035 2008-01-14 Alexander Larsson <alexl@redhat.com>
2039 Handle root correctly in g_file_get_relative_path (#508719)
2041 2008-01-14 Alexander Larsson <alexl@redhat.com>
2044 Clean up docs and example for GAsyncResult (#508074)
2046 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2048 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2049 and correct some spelling mistakes. Bug #508108.
2051 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2053 * glocalfileinfo.c: Add a comment.
2055 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2057 * gfileinfo.c: GFileInfo description: Mention
2058 how to actually set attributes in a GFile and how to discover
2059 which attributes are settable. Bug #508378.
2061 2008-01-10 A. Walton <awalton@svn.gnome.org>
2063 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2064 (g_app_info_get_default_for_type):
2065 Check for NULL content types.
2067 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2069 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2071 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2073 * gfile.c: *_async() functions: Several small corrections
2074 to the documentation, mostly correcting copy/paste errors
2075 and improving some sentences.
2077 2008-01-09 Dan Winship <danw@gnome.org>
2079 * glocalfile.c (get_unique_filename): x86_64 fix
2081 2008-01-09 Alexander Larsson <alexl@redhat.com>
2086 Add g_unix_mount_guess_should_display and use
2087 for unix volume monitor backend.
2088 This means we more or less show what the
2089 gnome-vfs backend did.
2090 Based on patch from Padraig O'Briain
2092 2008-01-09 Alexander Larsson <alexl@redhat.com>
2096 Add g_themed_icon_new_with_default_fallbacks
2099 Use default fallbacks for icons
2101 2008-01-09 Alexander Larsson <alexl@redhat.com>
2104 * gmountoperation.[ch]:
2105 Change the API a bit so that unhandled methods
2106 get reported via the reply, rather than by
2107 the signal emission return value. This is because
2108 some handlers can't know this immediately without
2109 doing I/O, and this is an async operation that
2112 2008-01-09 Alexander Larsson <alexl@redhat.com>
2115 * fam/gfamdirectorymonitor.c:
2116 * fam/gfamfilemonitor.c:
2117 Fix double free crash (#508224)
2118 Patch from Joe Marcus Clarke
2120 008-01-07 Matthias Clasen <mclasen@redhat.com>
2122 * === Released 2.15.1 ===
2124 2008-01-07 Alexander Larsson <alexl@redhat.com>
2126 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2127 Fix warning (#507835)
2129 2008-01-07 Alexander Larsson <alexl@redhat.com>
2132 Pass --internal to glib-genmarshal
2135 * gmountoperation.c:
2137 Use better types for signal arguments (#507822)
2139 2008-01-07 Alexander Larsson <alexl@redhat.com>
2142 Build test subdir after .
2143 Remove gdirectorymonitor.[ch]
2145 * gdirectorymonitor.[ch]:
2149 Remove GDirectoryMonitor and make
2150 GFileMonitor the baseclass for both file and
2151 directory monitors. Lift the more generic
2152 rate limiting code from GDirectoryMonitor
2156 * fam/gfamdirectorymonitor.[ch]:
2157 * inotify/ginotifydirectorymonitor.[ch]:
2158 * inotify/inotify-helper.c:
2159 * glocaldirectorymonitor.[ch]:
2162 Update for the removed GDirectoryMonitor.
2164 * gmemoryoutputstream.c:
2165 Remove ununsed variable
2167 2008-01-07 Alexander Larsson <alexl@redhat.com>
2169 * gmemoryinputstream.c:
2170 Translate error strings
2173 * gmemoryoutputstream.[ch]:
2174 New implementation that avoids using GByteArray
2175 in implementation and API. (#506377)
2177 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2179 * tests/*: Add a test for memory input streams.
2181 * Makefile.am: Add tests to SUBDIRS.
2183 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2185 * glocalfilemonitor.c:
2186 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2189 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2191 * gdesktopappinfo.c: Fix a docs typo.
2193 * gfileattribute.c: Add information about extended attributes
2194 to the documentation. (#505058)
2196 2008-01-04 Alexander Larsson <alexl@redhat.com>
2199 * gmountoperation.c:
2200 Use the right type (uint) for the ask_password signal.
2202 2008-01-04 Alexander Larsson <alexl@redhat.com>
2207 Add g_app_info_supports_files()
2208 Remove desktop arg from g_app_info_should_show().
2210 * gdesktopappinfo.[ch]:
2211 Implement g_app_info_supports_files() and new should_show()
2212 Add g_desktop_app_info_set_desktop_env() to set the desktop
2213 for should_show(). (This will be set by gtk+ later)
2215 2008-01-04 Alexander Larsson <alexl@redhat.com>
2218 * gmemoryinputstream.[ch]:
2219 Improve API so that you can use multiple chunks
2220 of memory and custom destroy functions. (#506374)
2222 2008-01-03 Alexander Larsson <alexl@redhat.com>
2225 Handle NULL attribute matchers safely, as we return this
2226 for empty attribute matcher strings.
2228 2008-01-03 Alexander Larsson <alexl@redhat.com>
2230 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2231 Add /usr/local to list of internal mountpoints
2233 2008-01-03 Alexander Larsson <alexl@redhat.com>
2236 Check for HAVE_LCHOWN (#505887)
2238 2008-01-03 Alexander Larsson <alexl@redhat.com>
2242 Add define for selinux context attribute.
2243 Fix missing : -> :: namespace separator change
2244 Fix missing _ -> - name change for xattr-sys.
2247 2008-01-03 Alexander Larsson <alexl@redhat.com>
2250 Link to libglib and libgobject directly (#504879)
2251 Patch from Sebastien Bacher
2253 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2255 * gfile.c: Expanded the g_file_new_for_commandline_arg
2256 description a bit, based on the code and the docs of the
2257 other g_file_new_for_* functions.
2259 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2261 * gfilemonitor.h: Fixed typo in docs.
2263 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2265 Updates to GIO documentation. (#506395, Mikael Hermansson)
2267 * gcontenttype.c: Describe memory management for return value of
2268 g_content_types_get_registered(). Missing piece from #505815.
2269 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2270 GVolume, GDrive, GMounts, which hopefully gives the user less
2271 confusions when using this API. Following explainations from
2272 Alexander Larsson on gtk-devel-list.
2274 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2276 * gfileinfo.c: Expand the long description.
2278 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2281 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2282 fix builds with --disable-visibility. (#500273, Christian Persch)
2284 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2286 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2287 in the list of returned app infos.
2289 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2291 * gappinfo.c: Fix a cross-reference
2293 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2295 * gfileinputstream.c:
2296 * gfileoutputstream.c:
2300 * gdesktopappinfo.c:
2302 * gfileinfo.c: Documentation updates.
2304 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2306 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2309 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2311 * gcontenttype.c (g_content_types_get_registered): Don't return
2312 freed memory (#505815, Mikael Hermansson)
2314 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2316 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2317 used to detect statbuf->st_blocks. (#505042)
2319 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2321 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2322 environment handling. (#504829, Cosimo Cecchi)
2324 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2326 * gappinfo.c: Doc improvements
2328 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2331 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2333 * === Released 2.15.0 ===
2335 2007-12-20 Hans Breuer <hans@breuer.org>
2337 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2338 with symbols gwin32appinfo.obj, added gmount.obj
2339 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2341 2007-12-20 Alexander Larsson <alexl@redhat.com>
2347 * gfilenamecompleter.c:
2350 * gpollfilemonitor.c:
2351 File attribute renames:
2353 fs:: -> filesystem::
2354 id::fs -> id::filesystem
2356 2007-12-20 Alexander Larsson <alexl@redhat.com>
2365 Add GMountUnmountFlags to all unmount and
2367 Add g_mount_remount() call.
2369 2007-12-20 Alexander Larsson <alexl@redhat.com>
2371 * gvfs.c (get_default_vfs):
2372 Fix unused variable warning
2374 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2376 * pltcheck.sh: Update
2378 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2380 * gunionvolumemonitor.c:
2381 * gunixmount.c: Remove C99 comments
2383 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2385 * gio.symbols: Add some missing symbols
2387 2007-12-19 Alexander Larsson <alexl@redhat.com>
2390 Make g_io_modules_load_all_in_directory not unuse
2391 loaded modules so that users of it can do stuff
2393 Init internal "module" types.
2394 Initialize static prio and name for types so that
2395 we don't have to load modules to get it.
2397 * gnativevolumemonitor.h:
2399 Move is_supported to parent class so that
2400 non-native monitors can avoid being initialized
2401 too. (For instance GDaemonVolumeMonitor if we're
2402 not using GDaemonVfs.)
2404 * glocaldirectorymonitor.[ch]:
2405 * glocalfilemonitor.[ch]:
2406 * gunionvolumemonitor.c:
2407 * gunixvolumemonitor.c:
2409 Find plugins using the static prio+name to
2410 avoid unnecessarily loading the modules.
2412 2007-12-19 Alexander Larsson <alexl@redhat.com>
2417 2007-12-19 Alexander Larsson <alexl@redhat.com>
2419 * gunionvolumemonitor.c:
2420 Store the native type as GType, not class so that
2421 we can unload it. But still avoid unnecessarily
2424 2007-12-19 David Zeuthen <davidz@redhat.com>
2426 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2427 add signals 'disconnected' and 'eject-button' on GDrive. Add
2428 signal 'removed' on GVolume and 'unmounted' on GMount.
2430 * gdrive.c: (g_drive_base_init):
2432 * gfile.c: (g_file_mount_mountable),
2433 (g_file_mount_enclosing_volume):
2436 * gmount.c: (g_mount_base_init):
2438 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2439 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2440 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2444 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2446 * *.c: Fix up includes in the section docs.
2448 2007-12-17 Alexander Larsson <alexl@redhat.com>
2450 * gnativevolumemonitor.h:
2451 * gunionvolumemonitor.c:
2452 * gunixvolumemonitor.c:
2453 Add is_supported() to GNativeVolumeMonitorClass so
2454 that we can avoid having to create an object to see
2455 if the backend is supported at runtime.
2456 Also add name member and an env var to pick a specific
2457 volume monitor backend.
2461 Add cancellable to _g_mount_get_for_mount_path()
2463 * glocaldirectorymonitor.c:
2464 * glocalfilemonitor.c:
2465 Avoid loading and unloading modules while sorting.
2467 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2470 * gunixmounts.[hc]: Namespace waste reduction, move some
2471 g_get_unix_mount functions to the g_unix_mount namespace.
2474 * gunixvolumemonitor.c:
2476 * glocaldirectorymonitor.c: Update all callers.
2478 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2480 2007-12-17 Alexander Larsson <alexl@redhat.com>
2483 Add doc comments about what GFile operations are
2484 guaranteed to not block.
2486 2007-12-17 Alexander Larsson <alexl@redhat.com>
2489 Add missing #ifdef fixing OSX build.
2490 (#503334, patch from Richard Hult)
2492 2007-12-14 David Zeuthen <davidz@redhat.com>
2496 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2497 (g_mount_eject), (g_mount_eject_finish):
2499 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2500 (get_volume_for_uuid), (get_mount_for_uuid),
2501 (g_union_volume_monitor_class_init),
2502 (get_default_native_type_with_exclude), (get_default_native_type),
2503 (get_native_type), (update_native_type),
2504 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2505 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2506 (g_unix_mount_can_eject), (eject_unmount_cb),
2507 (eject_unmount_read_error), (eject_unmount_do),
2508 (g_unix_mount_unmount), (g_unix_mount_eject),
2509 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2510 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2511 (g_unix_mount_point_guess_can_eject):
2513 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2514 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2515 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2516 (g_unix_volume_mount), (g_unix_volume_eject),
2517 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2518 * gunixvolumemonitor.c: (get_volume_for_uuid),
2519 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2521 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2522 (g_volume_eject), (g_volume_eject_finish):
2524 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2525 (g_volume_monitor_get_mount_for_uuid):
2528 Provide eject() on both GMount and GVolume and utility functions
2529 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2530 ejected. Introduce the concept of UUID's and wire it into GVolume
2531 and GMount and provide API on GVolumeMonitor to find such
2532 instances. Also handle the case where an external
2533 GNativeVolumeMonitor fails to initialize. Lock around the
2534 _g_get_mount_for_mount_path() function such that volume monitor
2535 implementations won't have to do locking themselves.
2537 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2539 * gdesktopappinfo.c:
2545 * gvolume.h: Documentation updates
2547 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2550 * gfile.h: Doc updates
2552 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2555 * gdesktopappinfo.c: Use hash table iterators.
2557 2007-12-14 Alexander Larsson <alexl@redhat.com>
2560 * gfileattribute.[ch]:
2561 * gfileattribute-priv.h:
2562 Move GFileAttributeValue to a private header, as
2566 Make set_attribute take a type + a pointer instead
2567 of a GFileAttributeValue.
2570 Fix up for above changes.
2571 Add g_file_info_get_attribute_data to get
2572 all info in one call, g_file_info_get_attribute_status
2573 to get the status and g_file_info_get_attribute_as_string.
2577 * glocalfileinfo.[ch]:
2581 Make _guess_type static.
2583 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2586 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2587 made mkenums and friends use temporary files to avoid leaving
2588 empty generated files on failure (#503470).
2590 2007-12-14 Alexander Larsson <alexl@redhat.com>
2592 * gmountoperation.h:
2595 2007-12-14 Alexander Larsson <alexl@redhat.com>
2599 * gfileattribute.[ch]:
2602 * glocalfileoutputstream.c:
2603 * gmountoperation.[ch]:
2604 * goutputstream.[ch]:
2605 Clean up all flags enums to not have _FLAGS in them
2606 Make the names of some of the enums better.
2611 2007-12-14 Michael Natterer <mitch@imendio.com>
2613 * gio.symbols: fix g_io_scheduler symbol names.
2615 2007-12-14 Alexander Larsson <alexl@redhat.com>
2621 * gbufferedinputstream.h:
2622 * gbufferedoutputstream.h:
2625 * gdatainputstream.h:
2626 * gdataoutputstream.h:
2627 * gdesktopappinfo.h:
2628 * gdirectorymonitor.h:
2632 * gfileenumerator.h:
2635 * gfileinputstream.h:
2637 * gfilenamecompleter.h:
2638 * gfileoutputstream.h:
2639 * gfilterinputstream.h:
2640 * gfilteroutputstream.h:
2648 * gmemoryinputstream.h:
2649 * gmemoryoutputstream.h:
2651 * gmountoperation.h:
2654 * gsimpleasyncresult.h:
2656 * gunixinputstream.h:
2658 * gunixoutputstream.h:
2662 * inotify/Makefile.am:
2663 Only allow including <gio/gio.h> from apps
2665 2007-12-14 Alexander Larsson <alexl@redhat.com>
2667 * gioscheduler.[ch]:
2668 * gsimpleasyncresult.c:
2669 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2670 Split out the send_to_mainloop call into two versions instead
2671 of having the block argument.
2673 2007-12-13 Alexander Larsson <alexl@redhat.com>
2675 * gcancellable.[ch]:
2677 * gbufferedinputstream.c:
2678 * gfileenumerator.c:
2679 * gfileinputstream.c:
2680 * gfileoutputstream.c:
2684 g_push/pop_current_cancellable ->
2685 g_cancellable_push/pop_current
2687 2007-12-13 Alexander Larsson <alexl@redhat.com>
2691 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2693 2007-12-13 Alexander Larsson <alexl@redhat.com>
2695 * gmountoperation.h:
2696 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2698 2007-12-12 Alexander Larsson <alexl@redhat.com>
2701 Fix race condition when freeing proxy in
2702 g_io_job_send_to_mainloop().
2704 2007-12-12 Alexander Larsson <alexl@redhat.com>
2710 Make attribute namespace separator "::" instead of ":".
2711 Use - instead of _ as separator in attribute names.
2713 2007-12-12 Alexander Larsson <alexl@redhat.com>
2715 * gbufferedinputstream.h:
2716 * gbufferedoutputstream.h:
2717 * gdatainputstream.h:
2718 * gdataoutputstream.h:
2719 * gdirectorymonitor.h:
2720 * gfileenumerator.h:
2721 * gfileinputstream.h:
2723 * gfileoutputstream.h:
2724 * gfilterinputstream.h:
2725 * gfilteroutputstream.h:
2727 * glocalfileinputstream.h:
2728 * glocalfileoutputstream.h:
2729 * gmemoryinputstream.h:
2730 * gmemoryoutputstream.h:
2731 * gnativevolumemonitor.h:
2733 * gunixinputstream.h:
2734 * gunixoutputstream.h:
2737 s/parent/parent_instance/ in GObjects
2739 2007-12-12 Alexander Larsson <alexl@redhat.com>
2744 No need for padding for interfaces
2746 2007-12-12 Alexander Larsson <alexl@redhat.com>
2750 * gbufferedinputstream.c:
2751 * gbufferedoutputstream.c:
2754 * gdatainputstream.[ch]:
2755 * gdesktopappinfo.c:
2756 * gdirectorymonitor.c:
2758 * gfileattribute.[ch]:
2761 * gfileinputstream.h:
2762 * gfilemonitor.[ch]:
2763 * gfileoutputstream.[ch]:
2764 * gfilterinputstream.h:
2765 * gfilteroutputstream.h:
2768 * gloadableicon.[ch]:
2769 * gmemoryinputstream.c:
2770 * gmountoperation.c:
2772 Fix up a bunch of details in the docs.
2777 2007-12-11 David Zeuthen <davidz@redhat.com>
2779 Rework how volumes, drives and volume monitoring is
2780 done. Previosly the model was
2782 GDrive <1-1> GVolume
2784 where a GDrive instance represented a mount point and a GVolume
2785 instance represented a mounted file system. This patch changes it
2788 GDrive <1-N> GVolume <1-1> GMount
2790 where GMount now serves the purpose of the old GVolume and the new
2791 GVolume serves the purpose of the old GDrive. In addition the new
2792 GDrive interface is used to represent a collection of GVolume
2793 instances (typically partitions) and also contains utility to query
2794 the state of the physical drive the GDrive object represents (such
2795 as checking for media, polling the drive, ejecting the media etc.).
2797 Also implement mounting and unmounting in the Unix volume monitor
2798 backend. A subquent patch will introduce GDrive support for ejection
2802 * gdrive.c: (g_drive_is_media_check_automatic),
2803 (g_drive_is_media_removable), (g_drive_has_media),
2804 (g_drive_can_poll_for_media), (g_drive_eject),
2805 (g_drive_eject_finish), (g_drive_poll_for_media),
2806 (g_drive_poll_for_media_finish):
2808 * gfile.c: (g_file_find_enclosing_mount):
2811 * glocaldirectorymonitor.c:
2812 (g_local_directory_monitor_constructor), (mounts_changed):
2813 * glocalfile.c: (get_mount_info),
2814 (g_local_file_find_enclosing_mount),
2815 (g_local_file_file_iface_init):
2816 * gnativevolumemonitor.h:
2817 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2818 (get_connected_drives), (g_union_volume_monitor_class_init),
2819 (child_volume_added), (child_volume_removed),
2820 (child_volume_changed), (child_mount_added), (child_mount_removed),
2821 (child_mount_pre_unmount), (child_mount_changed),
2822 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2823 (g_union_volume_monitor_remove_monitor),
2824 (_g_mount_get_for_mount_path):
2825 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2826 (guess_system_internal), (_g_get_unix_mounts),
2827 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2828 (g_unix_mount_free), (g_unix_mount_compare),
2829 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2830 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2831 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2832 (type_to_icon), (g_unix_mount_guess_name),
2833 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2834 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2835 (_resolve_symlink), (_resolve_dev_root):
2837 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2838 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2839 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2840 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2841 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2842 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2843 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2844 (g_unix_volume_volume_iface_init):
2846 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2847 (get_mounts), (get_volumes), (get_connected_drives),
2848 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2849 (mountpoints_changed), (mounts_changed),
2850 (g_unix_volume_monitor_init),
2851 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2852 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2853 * gunixvolumemonitor.h:
2854 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2855 (g_volume_mount), (g_volume_mount_finish):
2857 * gvolumemonitor.c: (g_volume_monitor_class_init),
2858 (g_volume_monitor_get_connected_drives),
2859 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2862 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2864 * gmountoperation.h (GPasswordFlags): Close the gap
2866 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2868 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2870 * gdesktopappinfo.[hc]: Remove _-prefixes
2872 2007-12-10 Tor Lillqvist <tml@novell.com>
2874 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2877 2007-12-10 Alexander Larsson <alexl@redhat.com>
2879 * gfile.c (g_file_set_display_name):
2880 Don't hardcode '/' (#502727)
2882 2007-12-09 Hans Breuer <hans@breuer.org>
2884 * makefile.msc : follow lib naming convention
2885 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2886 for user and group name, tested with ../tests/gio-ls
2888 2007-12-09 A. Walton <awalton@svn.gnome.org>
2890 * gdesktopappinfo.c:
2896 * gfileenumerator.c:
2901 * gmemoryinputstream.c:
2902 * gmemoryoutputstream.c:
2904 * gsimpleasyncresult.c:
2905 More documentation cleanup and filling in missing information, bringing
2906 GIO to 99% symbol coverage.
2908 2007-12-08 Hans Breuer <hans@breuer.org>
2910 [gio compiles and links on win32, not sure how much already works]
2911 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2912 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2913 base on win32 API; prefer g_lstat() over lstat(); instead of
2914 localtime_r() use an all GLib implementation on win32;
2915 get_mount_info() still needs a win32 specifc implementation
2916 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2917 win32_get_file_user_info to get owner/group info without uid/gid
2918 * glocalfileinputstream.c : include <io.h> on win32
2919 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2920 definition, use g_win32_ftruncate() for G_OS_WIN32
2921 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2922 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2923 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2924 * makefile.msc : updated
2926 2007-12-07 Alexander Larsson <alexl@redhat.com>
2928 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2929 Avoid warning spew if error == NULL
2931 2007-12-07 Alexander Larsson <alexl@redhat.com>
2934 Update docs wrt etags
2936 2007-12-06 Alexander Larsson <alexl@redhat.com>
2939 Include sys/types.h for dev_t (#501919)
2941 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2945 Make abicheck and pltcheck pass.
2947 2007-12-05 Alexander Larsson <alexl@redhat.com>
2950 * giomodule-priv.h: Added.
2951 * glocaldirectorymonitor.c:
2952 * glocalfilemonitor.c:
2953 * gunionvolumemonitor.c:
2955 Actually add the declaration of _g_io_modules_ensure_loaded
2957 2007-12-05 Alexander Larsson <alexl@redhat.com>
2959 * gdatainputstream.c:
2964 * glocaldirectorymonitor.c:
2965 * glocalfilemonitor.c:
2966 * gunionvolumemonitor.c:
2968 Make g_io_modules_ensure_loaded a private function and
2969 don't pass in the dirname. This means we can do magic
2970 directory finding in the win32 version.
2971 Export the actual load-modules-in-directory code so that
2972 gvfs can reuse that.
2974 2007-12-05 Alexander Larsson <alexl@redhat.com>
2976 * gbufferedinputstream.c:
2977 * gbufferedoutputstream.c:
2980 * gfileenumerator.[ch]:
2981 * gfileinputstream.c:
2982 * gfileoutputstream.[ch]:
2983 * gfilterinputstream.c:
2984 * gfilteroutputstream.c:
2985 * ginputstream.[ch]:
2987 * glocalfileenumerator.c:
2988 * glocalfileinputstream.c:
2989 * glocalfileoutputstream.c:
2990 * gmemoryinputstream.c:
2991 * gmemoryoutputstream.c:
2992 * goutputstream.[ch]:
2995 * gunixinputstream.c:
2996 * gunixoutputstream.c:
2997 Rename all struct members named:
2998 read, write, close, truncate, or mount
2999 to foo_fn, as these are reserved names
3000 and could be defined as macros in libc.
3003 2007-12-04 Alexander Larsson <alexl@redhat.com>
3006 (g_output_stream_close):
3007 Only call flush if non-null.
3009 2007-11-30 Dan Winship <danw@gnome.org>
3011 * ginputstream.c (g_input_stream_set_pending): Make this take a
3012 GError and return a gboolean, and do the "outstanding operation"
3013 check (and the "stream is already closed" check) itself.
3014 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3016 * goutputstream.c (g_output_stream_set_pending)
3017 (g_output_stream_clear_pending): Likewise
3019 * gbufferedinputstream.c:
3020 * gfileinputstream.c:
3021 * gfileoutputstream.c: Update for that
3023 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3024 Like g_simple_async_report_error_in_idle, but takes a GError
3025 rather than building one.
3027 2007-11-30 Dan Winship <danw@gnome.org>
3029 * goutputstream.c: Don't cheat and unset the "pending" flag around
3030 inner calls. Instead, call the class method directly rather than
3031 the wrapper function that checks "pending"
3033 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3035 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3037 2007-12-03 Hans Breuer <hans@breuer.org>
3039 [start of port to win32/msvc]
3040 * gcancellable.c : HAVE_UNIST_H and _pipe()
3041 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3042 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3043 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3045 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3046 * glocalvfs.c : use HAVE_PWD_H
3047 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3048 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3049 * Makefile.am : added to EXTRA_DIST
3051 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3053 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3056 2007-12-03 Alexander Larsson <alexl@redhat.com>
3059 Handle OSX style xattrs API (#500506)
3061 2007-12-03 Alexander Larsson <alexl@redhat.com>
3065 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3067 2007-12-02 A. Walton <awalton@svn.gnome.org>
3071 Documentation accuracy fixes.
3073 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3075 * gioenumtypes.c.template: Fix typo.
3077 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3079 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3081 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3083 * gdirectorymonitor.c:
3084 * gfilemonitor.c: Add properties
3086 * gbufferedoutputstream.c: Don't mark buffer-size property
3089 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3091 * gbufferedoutputstream.c: Add auto-grow property.
3093 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3095 * *.c: Unify the capitalization of section headings.
3097 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3099 * gmountoperation.c: Add properties
3101 * gdatainputstream.c: Turn byte-order and newline-type into
3104 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3106 * gioenumtypes.[hc].template: Templates for enum registration
3108 * Makefile.am: Generate gioenumtypes.[hc]
3110 * gio.h: Include gioenumtypes.h
3112 * gfile.h: Add some explicit nicks.
3114 * gio.symbols: Add new symbols
3116 * pltcheck.sh: Adjust
3118 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3120 * *.c: Explain etags and link to the explanation
3122 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3124 * *.c: Explain I/O priority.
3126 * *.c: More coding style fixes.
3128 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3130 * gasyncresult.c: Add another paragraph to the intro,
3131 adjust coding style of example.
3133 2007-11-29 A. Walton <awalton@svn.gnome.org>
3136 Fixes unknown meaning in GAppLaunchContext docs.
3138 Clarify asynchronous ops.
3140 Fix entity tag docs.
3143 Provides missing gtk-doc section, fixes API docs slighly.
3144 * gsimpleasyncresult.c:
3145 Fill in missing info in docs.
3146 * gunixinputstream.c:
3147 * gunixoutputstream.c:
3148 Be more expressive in short description.
3150 Remove gtk-doc stubs for non-public API.
3152 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3154 * *.c: Coding style fixups
3156 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3158 * inotify/inotify-helper.c: Don't export the lock from libgio.
3160 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3163 * abicheck.sh: Fix copy-and-paste leftovers
3165 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3167 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3169 2007-11-28 Alexander Larsson <alexl@redhat.com>
3173 Removed unnecessary file
3175 * gdesktopappinfo.[ch]:
3178 * glocaldirectorymonitor.[ch]:
3180 * glocalfileenumerator.[ch]:
3181 * glocalfileinputstream.[ch]:
3182 * glocalfilemonitor.[ch]:
3183 * glocalfileoutputstream.[ch]:
3185 * gnativevolumemonitor.c:
3186 * gpollfilemonitor.[ch]:
3187 * gunionvolumemonitor.[ch]:
3190 * gunixvolumemonitor.[ch]:
3193 * inotify/ginotifydirectorymonitor.[ch]:
3194 * inotify/ginotifyfilemonitor.[ch]:
3195 * inotify/inotify-helper.c:
3196 Append _ to all internal functions
3200 Export symbols needed for modules
3202 2007-11-28 Alexander Larsson <alexl@redhat.com>
3205 * abicheck.sh: Added.
3206 * makegioalias.pl: Added.
3207 * pltcheck.sh: Added.
3208 * gio.symbols: Added.
3211 Initial work on adding symbol handling.
3214 Correct ifdef guard name
3217 * inotify/Makefile.am:
3218 * xdgmime/Makefile.am:
3219 Include toplevel Makefile.decl
3221 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3223 * gcontenttype.c: Move doc comments to the unix section.
3225 * *.[hc]: More trivial doc corrections.
3227 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3229 * gpollfilemonitor.c:
3233 * gdesktopappinfo.c:
3238 * gdatainputstream.c:
3239 * gdatainputstream.h:
3240 * gdataoutputstream.c:
3241 * gdataoutputstream.h:
3242 * gfileinfo.h: Doc cleanups
3244 2007-11-28 Andre Klapper <a9016009@gmx.de>
3246 * gdesktopappinfo.c: Fix a typo.
3248 2007-11-27 Andre Klapper <a9016009@gmx.de>
3250 * glocalfileoutputstream.c: Fix a typo.
3252 2007-11-27 Alexander Larsson <alexl@redhat.com>
3255 Don't include removed headers
3257 2007-11-27 Alexander Larsson <alexl@redhat.com>
3260 * gsocketinputstream.[ch]: Removed.
3261 * gsocketoutputstream.[ch]: Removed.
3262 * gunixinputstream.[ch]: Added.
3263 * gunixoutputstream.[ch]: Added.
3264 Renamed GSocket*Stream to GUnix*Stream and made
3265 it unix-only, since its not really only for sockets
3266 and it only works on unix (but is highly useful there).
3268 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3274 * gbufferedinputstream.c:
3275 * gbufferedinputstream.h:
3276 * gbufferedoutputstream.c:
3277 * gbufferedoutputstream.h:
3281 * gdatainputstream.c:
3282 * gdatainputstream.h:
3283 * gdataoutputstream.c:
3284 * gdataoutputstream.h:
3285 * gdirectorymonitor.c:
3286 * gdirectorymonitor.h:
3293 * gfileenumerator.c:
3294 * gfileenumerator.h:
3299 * gfileinputstream.c:
3300 * gfileinputstream.h:
3303 * gfilenamecompleter.c:
3304 * gfilenamecompleter.h:
3305 * gfileoutputstream.c:
3306 * gfileoutputstream.h:
3307 * gfilterinputstream.c:
3308 * gfilterinputstream.h:
3309 * gfilteroutputstream.c:
3310 * gfilteroutputstream.h:
3323 * glocalfileoutputstream.c:
3324 * gmemoryinputstream.c:
3325 * gmemoryinputstream.h:
3326 * gmemoryoutputstream.c:
3327 * gmemoryoutputstream.h:
3328 * gmountoperation.c:
3329 * gmountoperation.h:
3332 * gpollfilemonitor.c:
3335 * gsimpleasyncresult.c:
3336 * gsimpleasyncresult.h:
3337 * gsocketinputstream.c:
3338 * gsocketinputstream.h:
3339 * gsocketoutputstream.c:
3340 * gsocketoutputstream.h:
3347 * gunixvolumemonitor.c:
3356 Bumps documentation to 93% symbol coverage, touching most
3357 of the public files. Fixes broken function documentation prototypes.
3358 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3359 gtk-doc headers in private files.
3361 2007-11-27 Jürg Billeter <j@bitron.ch>
3363 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3364 (g_buffered_input_stream_read_byte):
3365 * gbufferedinputstream.h:
3366 New functions for efficient access to buffer and simple single byte
3369 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3370 (g_data_input_stream_read_until):
3371 * gdatainputstream.h:
3372 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3373 read_until with multiple stop chars.
3375 2007-11-27 Alexander Larsson <alexl@redhat.com>
3379 * inotify/Makefile.am:
3380 Use the user-specified giomoduledir
3382 2007-11-27 Alexander Larsson <alexl@redhat.com>
3386 Add catch-all gio.h header
3387 Don't install gdummyfile.h
3389 2007-11-26 Alexander Larsson <alexl@redhat.com>
3391 * Makefile.am (gioinclude_HEADERS):
3392 Remove trailing whitespace
3394 2007-11-26 Alexander Larsson <alexl@redhat.com>
3396 Merge gio-standalone into glib
3398 2007-11-25 Christian Kellner <gicmo@gnome.org>
3400 * gio/goutputstream.c:
3401 Fix small mistake in the docs.
3403 2007-11-21 Christian Persch <chpe@gnome.org>
3405 * gio/glocalfile.c: (g_local_file_trash):
3406 Convert filenames to UTF-8 for GError.
3407 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3408 as per xdg base dir spec.
3410 2007-11-21 Christian Persch <chpe@gnome.org>
3412 * gio/gdesktopappinfo.c:
3413 Use that g_key_file_to_data cannot fail.
3415 Use stock defines for the key file group and key names.
3418 2007-11-21 Alexander Larsson <alexl@redhat.com>
3421 (copy_stream_with_progress):
3422 Make sure we do a final progress callback with
3423 the full total size.
3425 2007-11-21 Alexander Larsson <alexl@redhat.com>
3428 Export g_file_copy_attributes
3429 Remove padding as its not needed for interfaces
3431 2007-11-20 Alexander Larsson <alexl@redhat.com>
3436 Add G_IO_ERROR_WOULD_MERGE for
3437 copy/move dir on dir with overwrite.
3439 2007-11-20 Alexander Larsson <alexl@redhat.com>
3442 * gio/glocalfileinfo.c:
3443 Add COPY_NAME (this is an optional
3444 non-modified utf8 version of the name) that
3447 2007-11-20 Alexander Larsson <alexl@redhat.com>
3449 * gio/glocalfileenumerator.c:
3450 Report errors as GIOError, not GFileError
3452 2007-11-16 Alexander Larsson <alexl@redhat.com>
3454 * gio/glocalfileoutputstream.c:
3455 * gio/gwin32appinfo.c:
3456 Fix typos in strings.
3457 Patch from Luca Ferretti <elle.uca@libero.it>
3459 2007-11-15 Alexander Larsson <alexl@redhat.com>
3462 Post release version bump
3464 === gio-standalone 0.1.2 ===
3466 2007-11-15 Alexander Larsson <alexl@redhat.com>
3468 * docs/reference/gio/Makefile.am:
3469 Fix up distcheck by removing weird
3475 2007-11-14 Alexander Larsson <alexl@redhat.com>
3477 * gio/gdesktopappinfo.c:
3478 * gio/glocaldirectorymonitor.c:
3480 * gio/glocalfileinfo.c:
3481 * gio/inotify/inotify-sub.c:
3482 * programs/gio-cat.c:
3483 * programs/gio-copy.c:
3484 * programs/gio-info.c:
3485 * programs/gio-ls.c:
3486 * programs/gio-monitor-dir.c:
3487 * programs/gio-monitor-file.c:
3488 * programs/gio-mount.c:
3489 * programs/gio-move.c:
3490 * programs/gio-rm.c:
3491 * programs/gio-save.c:
3492 * programs/gio-trash.c:
3493 Leak fixes from Kjartan Maraas
3495 2007-11-14 Alexander Larsson <alexl@redhat.com>
3497 * gio/fam/fam-helper.c:
3499 * gio/glocalfileinfo.c:
3503 * gio/inotify/inotify-diag.c:
3504 * gio/inotify/inotify-kernel.c:
3505 Various code cleanups from Kjartan Maraas
3507 2007-11-14 Alexander Larsson <alexl@redhat.com>
3509 * gio/gioscheduler.c:
3511 Set up threadpool so that we cache 2 unused
3512 idle threads for at 15 secs. This means we
3513 will reuse thread-local data (like dbus connections)
3516 2007-11-14 Alexander Larsson <alexl@redhat.com>
3518 * gio/fam/fam-helper.c:
3519 * gio/fam/gfamdirectorymonitor.c:
3520 * gio/fam/gfamfilemonitor.c:
3522 * gio/gcontenttype.c:
3523 * gio/gdatainputstream.c:
3524 * gio/gdataoutputstream.c:
3528 * gio/gfileattribute.h:
3529 * gio/gfileenumerator.c:
3531 * gio/ginputstream.c:
3534 * gio/glocalfileinfo.c:
3535 * gio/goutputstream.c:
3536 * gio/gpollfilemonitor.c:
3537 * gio/gsimpleasyncresult.c:
3538 * gio/gunixmounts.c:
3539 * gio/gunixmounts.h:
3540 * gio/inotify/ginotifydirectorymonitor.c:
3541 * gio/inotify/ginotifyfilemonitor.c:
3542 * gio/inotify/inotify-diag.c:
3543 * gio/inotify/inotify-kernel.c:
3544 * gio/inotify/inotify-path.c:
3546 * gio/test-streams.c:
3547 * programs/gio-info.c:
3548 * programs/gio-monitor-dir.c:
3549 * programs/gio-monitor-file.c:
3550 Various code cleanups from Kjartan Maraas
3552 2007-11-13 Alexander Larsson <alexl@redhat.com>
3555 Handle the uri-scheme calls for dummy files
3557 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3559 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3560 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3561 to avoid clash with the C++ keyword.
3563 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3565 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3566 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3568 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3570 * gio/glocaldirectorymonitor.c:
3571 * gio/glocalfilemonitor.c:
3572 * gio/gunionvolumemonitor.c:
3573 Don't use g_once_init_*() for initializations that could fail and
3574 could leave the initialization variable set to 0 but use GOnce.
3575 This prevents a deadlock on the second call when trying to create
3576 a monitor and no monitor type is available. Thanks to Sven Herzberg
3579 2007-11-11 Sven Herzberg <sven@imendio.com>
3581 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3582 #ifdef (make it work on MacOS X again)
3584 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3586 Fixes Changelog for last two commits (sorry guys).
3588 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3590 * gio/gbufferedinputstream.c:
3591 * gio/gdatainputstream.c:
3593 * gio/gfileoutputstream.c:
3594 * gio/gfilterinputstream.c:
3595 * gio/glocalfileinputstream.c:
3598 More consistency fixes in g*stream.c files.
3599 Significant clean of gfile's documentation, filling in of
3600 asynchronous operations documentation.
3602 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3604 * gio/gasyncresult.c:
3605 * gio/gbufferedinputstream.c:
3606 * gio/gbufferedoutputstream.c:
3607 * gio/gcancellable.c:
3608 * gio/gcontenttype.c:
3609 * gio/gdatainputstream.c:
3610 * gio/gdataoutputstream.c:
3611 * gio/gdesktopappinfo.c:
3614 * gio/gfileattribute.c:
3615 * gio/gio/gfileenumerator.c:
3617 * gio/gfileinputstream.c:
3618 * gio/gfilemonitor.c:
3619 * gio/gfileoutputstream.c:
3620 * gio/ginputstream.c:
3622 * gio/gioscheduler.c:
3623 * gio/gloadableicon.c:
3624 * gio/glocalfileoutputstream.c:
3625 * gio/gmemoryoutputstream.c:
3626 * gio/gmountoperation.c:
3627 * gio/goutputstream.c:
3629 * gio/gsimpleasyncresult.c:
3630 * gio/gunionvolumemonitor.c:
3631 * gio/gunixmounts.c:
3632 * gio/gunixvolume.c:
3636 * gio/gvolumemonitor.c:
3637 Updated documentation stubs, working towards consistency and
3640 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3642 * gio/gmemoryoutputstream.c:
3643 * gio/gmemoryoutputstream.h:
3644 Change g_memory_output_stream_set_free_on_close() to
3645 g_memory_output_stream_set_free_data() as this makes more sense and
3646 is more consistent with GMemoryInputStream.
3648 2007-11-07 Alexander Larsson <alexl@redhat.com>
3655 Change how we find the default vfs so that
3656 we can handle a gvfs failing to init
3658 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3660 * gio/gbufferedoutputstream.c:
3661 * gio/gdatainputstream.c:
3662 * gio/gdataoutputstream.c:
3663 * gio/gfileinputstream.c:
3664 * gio/gfileoutputstream.c:
3665 * gio/gfilterinputstream.c:
3666 * gio/gfilteroutputstream.c:
3667 * gio/ginputstream.c:
3668 * gio/gmemoryinputstream.c:
3669 * gio/gmemoryoutputstream.c:
3670 * gio/goutputstream.c:
3671 * gio/gsimpleasyncresult.c:
3672 * gio/gsocketinputstream.c:
3673 * gio/gsocketoutputstream.c:
3674 Add guards to the remaining public functions, add a TODO for
3675 an unimplemented function and remove some useless guards.
3677 2007-11-07 Alexander Larsson <alexl@redhat.com>
3680 Autoconf checks for the various types of
3681 getpwuid_r and getgrgid_r
3683 * gio/glocalfileinfo.c:
3684 Use the autoconf checks from above
3686 2007-11-07 Alexander Larsson <alexl@redhat.com>
3689 (g_local_file_query_filesystem_info):
3690 Some fixes for the statvfs case
3692 2007-11-07 Alexander Larsson <alexl@redhat.com>
3695 (g_local_file_query_filesystem_info):
3696 Pick the "best" of statfs / statvfs for the system
3697 if both are availible.
3699 2007-11-07 Alexander Larsson <alexl@redhat.com>
3701 Solaris fixes from Halton.Huo@Sun.COM:
3708 * gio/glocalfileinfo.c:
3709 Fix for solaris definition of getpwuid_r
3711 * gio/test-streams.c:
3712 Use G_GNUC_PRETTY_FUNCTION
3714 2007-11-07 Alexander Larsson <alexl@redhat.com>
3716 * gio/gdesktopappinfo.c:
3717 (update_default_list):
3718 Remove double semicolon.
3719 Patch from Jens Granseuer
3721 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3723 * docs/reference/gio/gio-sections.txt:
3724 * gio/gbufferedinputstream.c:
3725 * gio/gbufferedinputstream.h:
3726 * gio/gdatainputstream.c:
3727 * gio/gfileenumerator.c:
3728 * gio/gioscheduler.c:
3729 * gio/gunionvolumemonitor.c:
3731 * programs/gio-save.c:
3732 Fix typo: availible -> available. Unfortuntely this breaks API
3733 and ABI as g_buffered_input_stream_get_available() was renamed.
3735 * gio/gunixmounts.c:
3736 * gio/gbufferedinputstream.c:
3737 Add guards for public functions.
3739 2007-11-06 Ross Burton <ross@openedhand.com>
3741 * docs/reference/gio/Makefile.am:
3742 Fix invalid += usage which automake 1.10 doesn't like.
3744 2007-11-06 Alexander Larsson <alexl@redhat.com>
3747 (g_app_launch_context_class_init):
3750 Patch from Ross Burton
3752 2007-11-06 Alexander Larsson <alexl@redhat.com>
3755 Post release version bump
3757 === gio-standalone 0.1.1 ===
3759 2007-11-06 Alexander Larsson <alexl@redhat.com>
3762 Bump version to 0.1.1
3764 * gio/gsimpleasyncresult.c:
3765 (g_simple_async_result_set_from_error):
3766 Remove bogus g_return_if_fail
3768 2007-11-06 Alexander Larsson <alexl@redhat.com>
3771 The name is gio-standalone
3774 Add top src/builddir to includedir
3776 2007-11-06 Alexander Larsson <alexl@redhat.com>
3778 * docs/reference/gio/gio-sections.txt:
3780 * gio/gbufferedinputstream.c:
3781 * gio/gbufferedoutputstream.c:
3782 * gio/gcancellable.c:
3783 * gio/gdatainputstream.h:
3784 * gio/gdataoutputstream.c:
3785 * gio/gdataoutputstream.h:
3786 * gio/gdirectorymonitor.c:
3788 * gio/gfileattribute.c:
3789 * gio/gfileattribute.h:
3790 * gio/gfileenumerator.c:
3791 * gio/gfileenumerator.h:
3794 * gio/gfileinputstream.h:
3795 * gio/gfilemonitor.c:
3796 * gio/gfileoutputstream.h:
3797 * gio/glocalfilemonitor.h:
3798 * gio/glocalfileoutputstream.h:
3799 * gio/gmemoryinputstream.c:
3800 * gio/gmemoryoutputstream.c:
3801 * gio/gmountoperation.c:
3802 * gio/goutputstream.c:
3803 * gio/goutputstream.h:
3805 * gio/gsimpleasyncresult.c:
3806 * gio/gunixmounts.c:
3807 * gio/gunixmounts.h:
3809 * gio/inotify/inotify-helper.c:
3810 Fix gtk-doc warnings
3812 Patch from Ross Burton
3814 2007-11-06 Alexander Larsson <alexl@redhat.com>
3816 * gio/gfilenamecompleter.c:
3817 (g_filename_completer_get_completions):
3820 * gio/gunixvolume.c:
3821 Remove unused function
3823 Patches from Ross Burton
3825 2007-11-06 Alexander Larsson <alexl@redhat.com>
3830 Padding not needed for interfaces
3832 2007-11-06 Alexander Larsson <alexl@redhat.com>
3834 * gio/gfilemonitor.c:
3838 Make giotypes.h an internal file
3841 * gio/gbufferedinputstream.h:
3842 * gio/gbufferedoutputstream.h:
3843 * gio/gcancellable.h:
3844 * gio/gdatainputstream.h:
3845 * gio/gdataoutputstream.h:
3846 * gio/gdirectorymonitor.c:
3847 * gio/gdirectorymonitor.h:
3852 * gio/gfileattribute.h:
3853 * gio/gfileenumerator.h:
3858 * gio/gfilemonitor.c:
3859 * gio/gfilemonitor.h:
3860 * gio/gfilenamecompleter.c:
3861 * gio/gfilenamecompleter.h:
3862 * gio/gfilterinputstream.h:
3863 * gio/gfilteroutputstream.h:
3864 * gio/ginputstream.h:
3865 * gio/gmemoryinputstream.h:
3866 * gio/gmemoryoutputstream.h:
3867 * gio/gmountoperation.c:
3868 * gio/gmountoperation.h:
3869 * gio/gnativevolumemonitor.c:
3870 * gio/goutputstream.h:
3873 * gio/gsimpleasyncresult.c:
3874 * gio/gsimpleasyncresult.h:
3875 * gio/gsocketinputstream.h:
3876 * gio/gsocketoutputstream.h:
3877 * gio/gthemedicon.c:
3878 * gio/gthemedicon.h:
3882 * gio/gvolumemonitor.c:
3883 * gio/gvolumemonitor.h:
3884 Add padding in classes where it seems useful
3885 Don't include giotypes.h from public headers
3886 Move in Class definitions into c file where possible
3891 2007-11-06 Alexander Larsson <alexl@redhat.com>
3893 * docs/reference/gio/gio-docs.xml:
3894 Better structure for API docs
3896 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3899 * gio/gloadableicon.c:
3900 * gio/gsimpleasyncresult.c:
3901 * gio/gthemedicon.c:
3902 Add some more guards to public functions. Only files missing are now
3905 2007-11-06 Alexander Larsson <alexl@redhat.com>
3907 * docs/reference/gio/gio-docs.xml:
3908 Remove old files, add missing ones
3910 2007-11-06 Alexander Larsson <alexl@redhat.com>
3912 * docs/reference/gio/gio-sections.txt:
3915 Hide implementation classes
3917 * gio/gdriveprivate.h:
3918 * gio/gvolumeprivate.h:
3919 Remove non-existing function declarations
3921 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3924 Fix compilation warnings and add guards to the new functions.
3926 * gio/gasyncresult.c:
3928 Add guards to the public functions.
3931 Implement get_path().
3933 2007-11-06 Alexander Larsson <alexl@redhat.com>
3935 * gio/gfilenamecompleter.c:
3936 Make g_filename_completer_get_completions
3937 return char ** instead of GList for
3940 * docs/reference/gio/gio-docs.xml:
3941 * docs/reference/gio/gio-sections.txt:
3943 * gio/gasyncresult.c:
3944 * gio/gbufferedinputstream.c:
3945 * gio/gbufferedoutputstream.c:
3946 * gio/gcancellable.c:
3947 * gio/gcontenttype.c:
3948 * gio/gdatainputstream.c:
3949 * gio/gdataoutputstream.c:
3950 * gio/gdesktopappinfo.c:
3951 * gio/gdirectorymonitor.c:
3955 * gio/gfileattribute.c:
3956 * gio/gfileenumerator.c:
3959 * gio/gfileinputstream.c:
3960 * gio/gfilemonitor.c:
3961 * gio/gfilenamecompleter.c:
3962 * gio/gfilenamecompleter.h:
3963 * gio/gfileoutputstream.c:
3964 * gio/gfilterinputstream.c:
3966 * gio/ginputstream.c:
3968 * gio/gioscheduler.c:
3969 * gio/gloadableicon.c:
3970 * gio/glocaldirectorymonitor.c:
3972 * gio/glocalfileinputstream.c:
3973 * gio/glocalfilemonitor.c:
3974 * gio/glocalfileoutputstream.c:
3976 * gio/gmemoryinputstream.c:
3977 * gio/gmemoryoutputstream.c:
3978 * gio/gmountoperation.c:
3979 * gio/goutputstream.c:
3980 * gio/gpollfilemonitor.c:
3982 * gio/gsimpleasyncresult.c:
3983 * gio/gsocketinputstream.c:
3984 * gio/gsocketoutputstream.c:
3985 * gio/gthemedicon.c:
3986 * gio/gunionvolumemonitor.c:
3988 * gio/gunixmounts.c:
3989 * gio/gunixvolume.c:
3990 * gio/gunixvolumemonitor.c:
3994 * gio/gvolumemonitor.c:
3995 * gio/gwin32appinfo.c:
3996 Add (mostly stub) doc strings to public functions.
3997 Patch from Andrew Walton (awalton@gmail.com)
3999 2007-11-06 Alexander Larsson <alexl@redhat.com>
4001 * gio/gappinfo.[ch]:
4002 Added GAppLaunchContext object and pass that to launch.
4003 This allows simple implementation of both
4004 launch-on-screen and startup notification via a gtk+
4005 subclass of GAppLaunchContext
4007 * gio/gdesktopappinfo.c:
4008 Implement GAppLaunchContext API
4010 * gio/gwin32appinfo.c:
4013 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4015 * gio/gmountoperation.c:
4016 Add some guards to GMountOperation's public functions.
4018 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4022 * gio/gcancellable.c:
4023 * gio/gdirectorymonitor.c:
4025 * gio/gfileenumerator.c:
4026 * gio/gfilemonitor.c:,
4027 * gio/gfilenamecompleter.c:
4030 * gio/gioscheduler.c:
4034 * gio/gvolumemonitor.c:
4035 Add even more guards to various public functions.
4037 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4040 Add guards to the public functions of GAppInfo.
4042 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4044 * gio/gcontenttype.c:
4045 Add some more guards for public functions.
4047 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4049 * gio/fam/fam-module.c:
4050 * gio/fam/gfamdirectorymonitor.c:
4051 * gio/fam/gfamdirectorymonitor.h:
4052 * gio/fam/gfamfilemonitor.c:
4053 * gio/fam/gfamfilemonitor.h:
4054 * gio/inotify/ginotifydirectorymonitor.c:
4055 * gio/inotify/ginotifydirectorymonitor.h:
4056 * gio/inotify/ginotifyfilemonitor.c:
4057 * gio/inotify/ginotifyfilemonitor.h:
4058 Add proper copyright information and remove an unused variable
4059 in the GInotifyFileMonitor constructor.
4061 * gio/gcancellable.c:
4062 Add a guard for a public function and an assertion to prevent
4063 an undefined program state.
4065 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4067 * gio/gfileattribute.c:
4068 Don't run into an assertion if the given attribute value is NULL
4069 in g_file_attribute_value_get_*() but instead return a fallback
4070 value that makes sense in most situations. Passing them a attribute
4071 value with the wrong type will still run into an assertion.
4073 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4075 * gio/gfileattribute.c:
4077 Add even more guards to the public functions. Also fix the refcounting
4078 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4079 let g_file_info_list_attributes() filter the attributes by namespace
4080 instead of simply ignoring the namespace parameter.
4082 2007-11-03 Sven Herzberg <sven@imendio.com>
4084 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4085 (This makes gio work on MacOS X again)
4087 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4090 Build the gio subdirectory before the docs. Otherwise the build will
4093 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4094 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4095 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4096 Add guards to the public functions.
4098 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4100 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4101 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4102 to prevent a compiler warning.
4104 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4105 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4106 return something in the non-void function find_topdir_for().
4108 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4115 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4117 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4118 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4119 * gwin32appinfo.c (g_win32_app_info_launch):
4120 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4121 envp_for_startup_id, g_desktop_app_info_launch,
4122 g_desktop_app_info_launch_uris):
4124 Give an opaque 'startup_id' string instead of 'envp'.
4125 Support empty file lists for launching new windows.
4126 Fix infinite recursion bug when launching URIs.
4128 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4131 Add guard to the new g_file_get_uri_scheme() function.
4133 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4136 Convert a g_return_val_if_fail() to setting the GError instead as
4137 otherwise applications have to verify the parameter before otherwise
4138 and the parameter might come directly from the user.
4140 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4142 * gio/inotify/ginotify*.[ch]:
4143 Add missing copyright information.
4145 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4148 Add guards in the beginning of public functions to check for valid
4149 parameters and fix a bug in copy_stream_with_progress() that could've
4150 caused writing less bytes than reading.
4151 * gio/glocalfileinfo.c:
4152 Check for a NULL parameter and set the GError accordingly then.
4153 * gio/goutputstream.c:
4154 Fix the same bug as in gfile.c that could've caused writing less bytes
4155 than reading in g_output_stream_real_splice().
4157 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4160 Use the correct gvolumeprivate.h naming
4162 2007-11-01 Christian Kellner <gicmo@gnome.org>
4165 Remove leftover "$(daemon_sources)" entry.
4167 2007-11-01 Christian Kellner <gicmo@gnome.org>
4172 Add copyright information to source files.
4174 2007-11-01 Alexander Larsson <alexl@redhat.com>
4178 Add g_file_get_uri_scheme
4180 2007-11-01 Alexander Larsson <alexl@redhat.com>
4183 * gio/gdesktopappinfo.c:
4184 * gio/gwin32appinfo.c:
4185 Add g_app_info_get_default_for_uri_scheme.
4187 2007-11-01 Alexander Larsson <alexl@redhat.com>
4190 Correct filename for gdriveprivate.h
4192 2007-10-31 Alexander Larsson <alexl@redhat.com>
4195 Rename id:value to id:file
4198 * gio/glocalfileinfo.c:
4201 2007-10-31 Alexander Larsson <alexl@redhat.com>
4203 * gio/gunixvolume.c:
4205 Remove g_volume_get_platform_id, as thats not
4206 needed with the simpler union volume monitor
4208 2007-10-31 Alexander Larsson <alexl@redhat.com>
4211 * gio/guniondrive.[ch]: Removed.
4212 * gio/gunionvolume.[ch]: Removed.
4213 Remove GUnionDrive/Volume
4215 * gio/gunionvolumemonitor.c:
4216 Simplify union volume monitor, now we
4217 only have one native volume monitor and
4218 we use the actual volumes/drives from the
4219 child monitors instead of wrapping them
4221 * gio/gnativevolumemonitor.[ch]:
4222 Base class for native volume monitors.
4223 Includes priority and get_volume_for_mountpoint
4226 Add g_file_find_enclosing_volume
4229 Remove volume name fs attribute
4230 Add readonly fs attribute
4233 Implement readonly attribute
4234 remove volume name attribute
4235 Implement find_enclosing volume
4237 * gio/gunixmounts.c:
4238 Add a volume for "/".
4240 * gio/gunixvolume.[ch]:
4241 Set better name for /
4243 * gio/gunixvolumemonitor.[ch]:
4244 Derive from GNativeVolumeMonitor
4245 Implement get_volume_for_mountpoint
4248 GVolume typedef moved to gfile.h
4250 * gio/gvolumeprivate.h:
4251 Add g_volume_get_for_mount_path
4253 2007-10-31 Alexander Larsson <alexl@redhat.com>
4255 * gio/gunixmounts.[ch]:
4256 Add cache info to unix mount listers
4257 Make getmntent use threadsafe
4258 Add is_system_internal attribute for GUnixMount
4260 * gio/gunixvolume.c:
4261 (g_unix_volume_new):
4262 Use is_system_internal instead of own code
4264 * gio/glocaldirectorymonitor.c:
4265 * gio/gunixvolumemonitor.c:
4266 Update to new gunixmounts API
4271 2007-10-30 Alexander Larsson <alexl@redhat.com>
4274 Add volume name fsinfo attribute
4277 Read volume name info
4279 * gio/gunionvolumemonitor.c:
4280 Fix infinite loops when finalizing a union volume monitor
4282 2007-10-30 Alexander Larsson <alexl@redhat.com>
4284 * gio/goutputstream.[ch]:
4285 Add splice() with default implementation
4287 * gio/gsocketoutputstream.c:
4288 (g_socket_output_stream_write):
4289 Return error on cancellation correctly.
4291 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4293 * gio/glocalfile.c (g_local_file_trash):
4294 Do not leak a string.
4296 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4298 * gio/gfile.c (g_file_load_contents):
4299 Unref the stream after closing it.
4301 2007-10-25 Alexander Larsson <alexl@redhat.com>
4303 * gio/gioscheduler.h:
4306 2007-10-25 Alexander Larsson <alexl@redhat.com>
4310 Add g_file_has_uri_scheme and implement for local files
4312 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4314 * gio/gdesktopappinfo.c: do not leak a string.
4316 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4318 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4319 (g_local_directory_monitor_new):
4320 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4321 (g_local_file_monitor_new):
4322 Only look for the monitor type that should be used the first time
4323 and use g_qsort_with_data() instead of our own bubble sort
4326 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4329 * gio/fam/Makefile.am:
4330 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4331 * gio/fam/fam-helper.h:
4332 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4333 * gio/fam/gfamdirectorymonitor.c:
4334 * gio/fam/gfamdirectorymonitor.h:
4335 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4336 * gio/fam/gfamfilemonitor.h:
4337 * gio/glocaldirectorymonitor.c:
4338 * gio/glocaldirectorymonitor.h:
4339 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4340 * gio/glocalfilemonitor.h:
4341 * gio/inotify/Makefile.am:
4342 * gio/inotify/ginotifydirectorymonitor.c:
4343 * gio/inotify/ginotifydirectorymonitor.h:
4344 * gio/inotify/ginotifyfilemonitor.c:
4345 * gio/inotify/ginotifyfilemonitor.h:
4346 Implement the FAM and Inotify monitors as
4347 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4348 their own GIO module. GLocal(Directory|File)Monitor will use the
4349 monitor with the highest rank that is supported on that machine.
4351 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4354 Change GIO module dir to $(libdir)/gio/modules and change
4355 the log domain from GVFS to GIO. Also only export symbols starting
4356 with g_ in the resulting library.
4357 * gio/test-streams.c: (main):
4358 Set log handler for the GIO log domain.
4360 2007-10-22 Alexander Larsson <alexl@redhat.com>
4362 * gio/gfilenamecompleter.[ch]:
4363 Add g_filename_completer_set_dirs_only
4365 2007-10-22 Alexander Larsson <alexl@redhat.com>
4368 * gio/gurifuncs.[ch]:
4369 Add some simple URI helpers
4371 * gio/gfilenamecompleter.[ch]:
4372 Added object for filename (parse name actually) completion
4375 Handle ~ in parse names
4377 2007-10-17 Alexander Larsson <alexl@redhat.com>
4380 * gio/glocalfileinfo.c:
4381 Add and implement id:value attribute
4383 2007-10-17 Alexander Larsson <alexl@redhat.com>
4386 * gio/guniondrive.c:
4388 Add and implement g_drive_has_volumes
4390 2007-10-17 Alexander Larsson <alexl@redhat.com>
4393 * gio/glocalfileinfo.[ch]:
4394 Add unix:is_mountpoint and implement for local files
4396 2007-10-16 Alexander Larsson <alexl@redhat.com>
4398 * gio/gunionvolumemonitor.c:
4399 (g_union_volume_monitor_init):
4400 Fix up the unix type getting so that it works with gcc
4402 2007-10-12 Alexander Larsson <alexl@redhat.com>
4405 * gio/glocalfileinfo.c:
4406 Add thumbnail:failed to file info
4408 2007-10-12 Richard Hult <richard@imendio.com>
4410 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4411 optimizing away the get_type call (happens with some gcc versions,
4412 like the one shipped with OS X 10.4).
4414 2007-10-12 Alexander Larsson <alexl@redhat.com>
4416 * gio/glocalfileinfo.c:
4417 (_g_local_file_info_set_attribute):
4418 Fix build if not HAVE_XATTR
4419 Patch from Milosz Derezynski <internalerror@gmail.com>
4421 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4423 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4424 around for review, otherwise I would have asked you before
4427 2007-10-11 Alexander Larsson <alexl@redhat.com>
4430 Add thumbnail:path attribute
4432 * gio/glocalfileinfo.c:
4433 Implement thumbnail:path for local files
4435 2007-10-11 Alexander Larsson <alexl@redhat.com>
4437 * gio/glocalfileinfo.c:
4438 (_g_local_file_info_get):
4439 Avoid duplicate icon names
4441 2007-10-11 Alexander Larsson <alexl@redhat.com>
4443 * gio/gthemedicon.[ch]:
4444 Change g_themed_icon_get_names return type to const
4446 2007-10-10 Alexander Larsson <alexl@redhat.com>
4448 * gio/glocalfileinfo.c:
4449 Don't reference freed memory
4451 2007-10-10 Alexander Larsson <alexl@redhat.com>
4453 * gio/gfileattribute.c:
4456 * gio/glocalfileinfo.c:
4459 2007-10-10 Alexander Larsson <alexl@redhat.com>
4462 Check for NULL icons
4464 * gio/gfileattribute.c:
4465 Don't dup when getting objects (same as for string attributes)
4467 * gio/gicon.c (g_icon_equal):
4468 Safely handle NULLs in equal
4470 2007-10-10 Alexander Larsson <alexl@redhat.com>
4473 Fix c++ compilation issues
4474 Patch from Milosz Derezynski <internalerror@gmail.com>
4476 2007-10-10 Alexander Larsson <alexl@redhat.com>
4478 * programs/gio-monitor-dir.c:
4479 Don't crash if dir monitor not supported.
4481 2007-10-09 Alexander Larsson <alexl@redhat.com>
4484 Add missing G_END_DECLS
4486 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4488 * gio/gfile.c: (g_file_set_display_name),
4489 (g_file_query_settable_attributes),
4490 (g_file_query_writable_namespaces):
4491 Return NULL not FALSE on errors as the return type is a pointer.
4493 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4495 * gio/glocalfile.c: (g_local_file_monitor_file):
4496 Don't call monitor_file on the default interface vtable (which
4497 is NULL) but simply return NULL. The caller, GFile, will create a
4498 polling monitor if NULL is returned.
4500 2007-10-09 Alexander Larsson <alexl@redhat.com>
4504 * gio-unix-2.0.pc.in:
4505 Add gio-unix-2.0.pc if OS_UNIX
4508 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4510 2007-10-09 Alexander Larsson <alexl@redhat.com>
4512 * gio/gunixmounts.[ch]:
4513 Make unix mount monitoring API sane.
4514 Now its just a object with mounts_changed
4515 and mountpoints_changed signals.
4517 * gio/glocaldirectorymonitor.c:
4518 * gio/gunixvolumemonitor.c:
4519 Use new mount monitor api
4521 2007-10-09 Alexander Larsson <alexl@redhat.com>
4523 * gio/gunixmounts.[ch]:
4524 Move guess type into one call for mounts and one for mountpoints
4527 * gio/gunixvolume.c:
4530 2007-10-09 Alexander Larsson <alexl@redhat.com>
4532 * gio/gunixmounts.[ch]:
4533 Remove _ prefix in preparation to make this semi-public
4534 Hide implementation of structs
4536 * gio/glocaldirectorymonitor.c:
4538 * gio/gunixvolume.c:
4539 * gio/gunixvolumemonitor.c:
4540 Update for above API changes
4542 2007-10-08 Alexander Larsson <alexl@redhat.com>
4545 Better polling fallback. This also handles the case where we have
4546 a monitor_file implementation, but it fails.
4548 2007-10-08 Alexander Larsson <alexl@redhat.com>
4552 * gio/gunixmounts.c:
4553 * programs/gio-monitor-dir.c:
4554 * programs/gio-monitor-file.c:
4555 Added cancellable to file monitoring calls.
4556 These are really sync calls and need this.
4558 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4560 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4561 (g_local_vfs_class_init):
4562 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4563 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4565 2007-10-05 Alexander Larsson <alexl@redhat.com>
4567 * gio/gdirectorymonitorprivate.h:
4568 * gio/gfilemonitorprivate.h:
4569 * gio/gdirectorymonitor.h:
4570 * gio/gfilemonitor.h:
4571 Remove *private.h and move to the public API, so that
4572 we can do implementations outside gio (such as in gvfs)
4574 * gio/gdirectorymonitor.c:
4575 * gio/gfilemonitor.c:
4576 * gio/glocaldirectorymonitor.c:
4577 * gio/gpollfilemonitor.c:
4578 * gio/inotify/inotify-helper.c:
4579 * gio/fam/fam-helper.c:
4580 Update to the new header names
4582 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4584 * gio/gdirectorymonitor.c:
4585 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4588 2007-10-04 Alexander Larsson <alexl@redhat.com>
4590 * gio/glocalfileinfo.c (get_access_rights):
4591 Set CAN_TRASH when we can move the file.
4592 We should really also check for a parent trash dir.
4594 2007-10-04 Alexander Larsson <alexl@redhat.com>
4596 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4597 Add can_trash access attribute
4599 2007-10-04 Alexander Larsson <alexl@redhat.com>
4602 (g_local_file_trash):
4603 Create info file first. This is per-spec and allows
4604 us to actually trash directories.
4606 2007-10-02 Alexander Larsson <alexl@redhat.com>
4608 * gio/gdesktopappinfo.c:
4609 Implement the new mime support code.
4610 Always set app as handling mimetype when being set as default for it
4612 2007-10-01 Alexander Larsson <alexl@redhat.com>
4614 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4615 Fix up check for xattrs:
4617 2007-10-01 Alexander Larsson <alexl@redhat.com>
4620 (g_app_info_set_as_default_for_extension):
4621 (g_app_info_add_supports_type):
4622 (g_app_info_can_remove_supports_type):
4623 (g_app_info_remove_supports_type):
4624 Make these fail nicely if not implemented
4626 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4628 * gio/glocalfileoutputstream.c:
4629 * gio/glocalfileoutputstream.h:
4634 * programs/gio-save.c:
4635 Add a GFileCreateFlags argument to operations that can create
4638 2007-10-01 Alexander Larsson <alexl@redhat.com>
4640 * gio/gappinfo.[ch]:
4641 * gio/gdesktopappinfo.c:
4642 Add more (stubbed out) mime API needed for nautilus
4644 2007-10-01 Alexander Larsson <alexl@redhat.com>
4647 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4648 Add g_app_info_set_as_default_for_extension.
4650 * gio/gdesktopappinfo.c:
4651 Dummy for g_app_info_set_as_default_for_extension
4652 Support flags in g_app_info_create_from_commandline
4654 * gio/gwin32appinfo.c:
4656 Update for API changes
4658 * gio/gthemedicon.c:
4659 Properly NULL-terminate list of icon names
4661 2007-09-28 Alexander Larsson <alexl@redhat.com>
4663 * gio/gloadableicon.h:
4664 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4666 2007-09-28 Alexander Larsson <alexl@redhat.com>
4669 Install headers in $includedir/gio-standalone/
4671 * gio-2.0.pc.in: Added.
4672 * gio-standalone.pc.in: Removed.
4675 Renamed pkg-config file to match glib (for future move)
4676 Update to the new include dir
4679 Add more TODO comments
4681 2007-09-28 Alexander Larsson <alexl@redhat.com>
4683 * gio/gdesktopappinfo.[ch]:
4684 Expose new_from_filename
4685 Add getter for is_hidden and handle it better
4687 2007-09-28 Alexander Larsson <alexl@redhat.com>
4689 * gio/gfileinfo.[ch]:
4690 Rename g_file_size_format_for_display to
4691 g_format_file_size_for_display.
4692 Now it doesn't have the g_file prefix, so we
4693 can later move it to glib.
4695 2007-09-28 Alexander Larsson <alexl@redhat.com>
4697 * gio/gappinfo.[ch]:
4698 Add g_app_info_get_id and g_app_info_get_executable.
4699 Make all getters non-reffing
4700 Make g_app_info_launch take GFile arguments.
4701 Add must_support_uris argument to g_app_info_get_default_for_type.
4703 * gio/gwin32appinfo.c:
4704 Update to GAppInfo api changes
4706 * gio/gdesktopappinfo.c:
4707 Update to GAppInfo api changes
4708 Implement supports_xdg_startup_notify
4710 * gio/gfileicon.c (g_file_icon_get_file):
4711 Make getter non-reffing.
4716 2007-09-27 Alexander Larsson <alexl@redhat.com>
4718 * gio/gfileinfo.[ch]:
4719 Add g_file_size_format_for_display helper
4721 2007-09-27 Alexander Larsson <alexl@redhat.com>
4723 * gio/glocalfileinfo.c:
4724 Set UNIX_GID from gid, not from uid
4726 2007-09-27 Alexander Larsson <alexl@redhat.com>
4729 Add g_file_set_attributes_async
4731 2007-09-27 Alexander Larsson <alexl@redhat.com>
4733 * gio/glocalfile.c (g_local_file_set_display_name):
4734 Fix set_display_name to actually rename to the right place.
4735 Use lstat to look for existing files so we don't overwrite
4738 2007-09-26 Alexander Larsson <alexl@redhat.com>
4741 Add g_file_set_display_name_async()
4743 2007-09-26 Alexander Larsson <alexl@redhat.com>
4746 Add load_partial_contents async calls
4749 Make internal function static
4751 2007-09-26 Alexander Larsson <alexl@redhat.com>
4753 * gio/glocalfileinfo.c:
4754 Correctly detect broken symlinks
4756 2007-09-26 Alexander Larsson <alexl@redhat.com>
4758 * gio/gcancellable.c (g_cancellable_cancel):
4759 Allow cancel on NULL cancellable
4761 2007-09-25 Alexander Larsson <alexl@redhat.com>
4763 * gio/gsimpleasyncresult.c:
4764 Don't allocate g_error manually.
4765 Fixes g_slice/g_new mixup crash
4767 2007-09-25 Alexander Larsson <alexl@redhat.com>
4769 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4770 Actually set active_backend.
4771 This means the monitor will be cancelled correctly.
4773 2007-09-25 Alexander Larsson <alexl@redhat.com>
4775 * gio/gdirectorymonitor.c:
4776 Set timeout to NULL when destroying
4778 2007-09-25 Alexander Larsson <alexl@redhat.com>
4781 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4782 that is a better description of the error.
4784 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4786 * gio/gvfs.c: (g_vfs_get_local):
4787 Make the local vfs variable static. The same instance should
4790 2007-09-24 Alexander Larsson <alexl@redhat.com>
4792 * gio/glocalfileinfo.c:
4793 Pass in actual length read into sniffer, not the length
4796 2007-09-21 Alexander Larsson <alexl@redhat.com>
4798 * gio/gfileenumerator.c:
4801 * gio/gfileinputstream.c:
4802 * gio/gfileoutputstream.c:
4803 * gio/ginputstream.c:
4804 * gio/goutputstream.c:
4805 Don't crash if async callbacks are NULL
4807 2007-09-20 Alexander Larsson <alexl@redhat.com>
4810 Add async enumerate_children method and default
4813 2007-09-20 Alexander Larsson <alexl@redhat.com>
4816 Add g_file_contains_file & g_file_get_relative_path, since they
4817 were needed for nautilus.
4818 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4823 Implement new methods
4825 2007-09-17 Alexander Larsson <alexl@redhat.com>
4828 * gio/gfileinputstream.[ch]:
4829 * gio/gfileoutputstream.[ch]:
4831 * gio/glocalfileenumerator.[ch]:
4832 * gio/glocalfileinfo.[ch]:
4833 * gio/glocalfileinputstream.c:
4834 * gio/glocalfileoutputstream.c:
4835 * gio/gpollfilemonitor.c:
4836 * programs/gio-copy.c:
4837 * programs/gio-info.c:
4838 * programs/gio-move.c:
4839 Rename get_file_info to query_info() to make it clearer
4840 that these are not simple getters, but do i/o.
4842 2007-09-17 Alexander Larsson <alexl@redhat.com>
4844 * gio/gdatainputstream.[ch]:
4845 * gio/test-streams.c:
4846 Use _read_XXX instead of _get_XXX for the i/o calls
4849 2007-09-17 Alexander Larsson <alexl@redhat.com>
4852 Added needed stuff to TODO comment
4854 2007-09-17 Alexander Larsson <alexl@redhat.com>
4856 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4857 Don't error out removing the backup copy if it doesn't
4860 2007-09-14 Alexander Larsson <alexl@redhat.com>
4862 * programs/Makefile.am:
4863 * programs/gvfs-*.c:
4865 Renamed apps from gvfs-xxx to gio-xxx.
4867 2007-09-14 Alexander Larsson <alexl@redhat.com>
4870 * gio/gfileoutputstream.[ch]:
4871 * gio/glocalfileoutputstream.c:
4872 * programs/gvfs-save.c:
4873 g_file_output_stream_get_etag doesn't do i/o, so remove
4874 cancellation and error.
4876 2007-09-14 Alexander Larsson <alexl@redhat.com>
4879 Add new_etag output to replace_contents functions
4881 2007-09-14 Alexander Larsson <alexl@redhat.com>
4883 * gio/gfileoutputstream.[ch]:
4884 Add async get_file_info and default implementation
4886 2007-09-14 Alexander Larsson <alexl@redhat.com>
4888 * gio/gfileinputstream.c:
4889 Implement fallback wrapper for async get_file_info
4891 2007-09-14 Alexander Larsson <alexl@redhat.com>
4894 Add etag out argument to load_contents
4899 2007-09-14 Alexander Larsson <alexl@redhat.com>
4901 * gio/gcontenttype.c (looks_like_text):
4902 Whitespace like tab, cr and lf do not make the
4905 2007-09-14 Alexander Larsson <alexl@redhat.com>
4907 * gio/gfileinputstream.[ch]:
4908 Add async get_file_info.
4910 2007-09-13 Alexander Larsson <alexl@redhat.com>
4912 * gio/goutputstream.c (g_output_stream_write_all):
4913 Allow NULL for bytes_written
4915 2007-09-13 Alexander Larsson <alexl@redhat.com>
4917 * gio/gmemoryinputstream.[ch]:
4918 Add accessors for data
4920 2007-09-13 Alexander Larsson <alexl@redhat.com>
4922 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4923 Don't crash if length is NULL