1 2008-08-13 Tor Lillqvist <tml@novell.com>
7 * win32/gwinhttpfileinputstream.c
8 * win32/gwinhttpfileinputstream.h
9 * win32/gwinhttpfileoutputstream.c
10 * win32/gwinhttpfileoutputstream.h: New files implementing
11 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
12 Windows. The implementation uses the WinHttp API. Both reading and
13 writing are supported, i.e. GET and PUT requests. When writing,
14 each write call is done using a separate PUT request with a
15 Content-Range header. Requests for file URIs and plain pathnames
16 are forwarded to GLocalVfs.
18 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
19 WINE. Used as there is no <winhttp.h> bundled with mingw, and
20 requiring people to download the Windows SDK just for this one
21 header is not reasonable.
23 * win32/Makefile.am: Add above files.
25 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
26 the plumbing for the above.
28 2008-08-11 Sven Neumann <sven@gimp.org>
30 * gfilenamecompleter.c
31 * glocaldirectorymonitor.c
33 * gunionvolumemonitor.c
37 * gunixvolumemonitor.c
40 * gwin32volumemonitor.c: use canonical signal names.
42 2008-08-11 Tor Lillqvist <tml@novell.com>
44 * Makefile.am: Put a list of the platform-dependent .la files in
45 the subdirectories in the platform_deps Make variable, and make
46 libgio-2.0.la depend on that, so that it gets relinked if one of
47 the dependent libraries has changed.
49 2008-08-11 Tor Lillqvist <tml@novell.com>
51 * Makefile.am (platform_libadd): Remove -lwininet which had been
52 added by mistake. We will probably eventually be using WinHTTP,
53 not the older WinInet anyway. (Actually I am working on it.)
55 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
57 Bug 547080 – g_file_copy leaks expected errors
59 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
60 before trying the next fallback routine.
62 2008-08-09 Loïc Minier <lool@dooz.org>
64 Bug 535124 – umask 002 not being applied for new directories, new
65 files get the correct umask
67 * gfile.c (g_file_make_directory)
68 (g_file_make_directory_with_parents): Document ownership and
69 permissions of newly created directories as being the default
72 2008-08-08 Loïc Minier <lool@dooz.org>
74 Bug 535124 – umask 002 not being applied for new directories, new
75 files get the correct umask
77 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
80 2008-08-08 Tor Lillqvist <tml@novell.com>
82 * gwin32mount.c: Remove unused code. Whitespace cleanup.
84 * gwin32volumemonitor.c (get_connected_drives): Put questionable
85 code that didn't actually do anything inside #if 0, and add a
86 comment wondering what the code was supposed to do. This also gets
87 rid of a leftover debugging printout.
89 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
91 * gfileicon.c (g_file_icon_get_property)
92 (g_file_icon_set_property): New functions.
93 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
95 (g_file_icon_new): Use the property (bug #546132).
97 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
99 * gthemedicon.c (g_themed_icon_get_property): Also handle
100 `PROP_USE_DEFAULT_FALLBACKS'.
101 (g_themed_icon_class_init): Make
102 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
104 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
106 Bug 546371 – Improve docs re g_file_monitor
108 * gfilemonitor.c: Mention g_file_monitor() in the docs.
110 2008-08-04 Matthias Clasen <mclasen@redhat.com>
112 * === Released 2.17.6 ===
114 2008-08-04 Matthias Clasen <mclasen@redhat.com>
116 * === Released 2.17.5 ===
118 2008-08-04 Matthias Clasen <mclasen@redhat.com>
120 Bug 546017 – Don't copy attributes when copying a symlink
122 * gfile.c (g_file_copy_attributes): Specify
123 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
124 g_file_set_attributes_from_info. Patch by Christian Kellner
126 2008-08-04 Matthias Clasen <mclasen@redhat.com>
128 * gemblemedicon.[hc]:
130 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
131 a bit more extensible. Work by Clemens Buss.
133 * gioenums.h: Add GEmblemOrigin.
136 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
138 Bug 546079 – leak in xdgmime
140 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
142 2008-08-03 Tor Lillqvist <tml@novell.com>
144 * win32/gwin32directorymonitor.h
145 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
148 2008-08-03 Tor Lillqvist <tml@novell.com>
150 * win32/gwin32directorymonitor.c
151 (g_win32_directory_monitor_callback): Make prototype match
152 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
153 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
156 (g_win32_directory_monitor_constructor):
157 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
158 names in the GLib API on Windows, so convert to UTF-16 and open
161 2008-08-03 Tor Lillqvist <tml@novell.com>
163 Bug 541036 - Gnumeric crashes when trying to open Desktop or
164 user's folder under Windows
166 * win32/gwin32directorymonitor.c
167 (g_win32_directory_monitor_constructor): Ignore error from
168 CreateFile() when opening directory. Instead of asserting, just
169 store INVALID_HANDLE_VALUE then in
170 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
171 ReadDirectoryChangesW().
172 (g_win32_directory_monitor_cancel): Don't attempt to close
173 directory handle if it is INVALID_HANDLE_VALUE.
175 2008-08-01 Matthias Clasen <mclasen@redhat.com>
177 * gdesktopappinfo.c: Remove debug spew
179 2008-08-01 Hans Breuer <hans@breuer.org>
181 * makefile.msc : add gemblembedicon
183 2008-07-30 Matthias Clasen <mclasen@redhat.com>
185 Bug 545457 – gdmsetup crashed with SIGSEGV in
186 g_unix_mount_guess_should_display()
188 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
189 crash if no mount is found.
191 2008-07-28 Matthias Clasen <mclasen@redhat.com>
193 Bug 545203 – gfile.c: argument is different type.
195 * gfile.c (open_read_async_thread): Pass a GError **
196 to g_file_set_error_literal.
197 Reported by Kazuki Iwamoto
199 2008-07-28 Matthias Clasen <mclasen@redhat.com>
201 Bug 545157 – wrong/no list of "open with" applications for .cc and
204 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
205 Collect all ancestors, not just direct parents. Pointed
206 out by Bastien Nocera
208 2008-07-28 Matthias Clasen <mclasen@redhat.com>
210 * Makefile.am: Install gemblemedicon.h
212 2008-07-28 Matthias Clasen <mclasen@redhat.com>
214 * gemblemedicon.[hc]: Add a GIcon implementation that can
215 add an emblem to another icon.
222 * gfileicon.c: Small documentation additions.
224 2008-07-28 Tor Lillqvist <tml@novell.com>
226 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
229 2008-07-27 Tor Lillqvist <tml@novell.com>
231 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
233 2008-07-24 David Zeuthen <davidz@redhat.com>
237 Also export a g_mount_guess_content_type_sync() function.
239 2008-07-23 Matthias Clasen <mclasen@redhat.com>
241 529694 – SELinux context setting support
243 * gfileinfo.c: Support setting selinux attributes.
244 Patch by Tomas Bzatek
246 2008-07-22 Priit Laes <plaes@plaes.org>
248 Bug 544140 - fam-helper 64-bit issue?
250 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
252 2008-07-21 Matthias Clasen <mclasen@redhat.com>
254 * === Released 2.17.4 ===
256 2008-07-20 Matthias Clasen <mclasen@redhat.com>
258 * gvolumemonitor.[hc]:
263 * gmount.c: Documentation fixes
265 2008-07-19 Matthias Clasen <mclasen@redhat.com>
267 543504 – crash in Epiphany Web Browser: Opening local file
278 * gvolume.c: Register types thread-safely.
279 Patch by Christian Persch
281 2008-07-18 Matthias Clasen <mclasen@redhat.com>
283 * gcontenttype.c: Remove debug spew
285 2008-07-18 Matthias Clasen <mclasen@redhat.com>
287 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
290 * fen/fen-kernel.c: Remove a warning that was causing
291 crashes. Reported by Lin Ma.
293 2008-07-18 Matthias Clasen <mclasen@redhat.com>
295 Bug 543040 – async reading on dummy file will crash on
298 * gfile.c (open_read_async_thread): Cope with read_fn being
299 NULL. Reported by Lin Ma.
301 2008-07-18 Matthias Clasen <mclasen@redhat.com>
304 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
306 2008-07-16 Matthias Clasen <mclasen@redhat.com>
310 * giomodule.c: Rename a chapter id to avoid filename conflict.
312 2008-07-16 Matthias Clasen <mclasen@redhat.com>
314 Bug 540616 – mem leak in filechooser button
316 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
317 the mount entry. Reported by Chrisitan Persch
319 2008-07-16 Matthias Clasen <mclasen@redhat.com>
321 * gfile.c: Small documentation fixes.
323 2008-07-15 Matthias Clasen <mclasen@redhat.com>
325 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
327 2008-07-08 Matthias Clasen <mclasen@redhat.com>
332 * gmount.c: Documentation improvements.
334 2008-07-08 Matthias Clasen <mclasen@redhat.com>
337 * gmount.[hc]: Add g_mount_guess_content_type().
339 2008-07-06 David Zeuthen <davidz@redhat.com>
342 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
343 is needed for easily handling adoption of foreign volumes by
344 out-of-process volume monitors (#541793)
346 2008-07-06 David Zeuthen <davidz@redhat.com>
348 * gvolumemonitor.[ch]:
349 * gunionvolumemonitor.c: Export the eject-button signal on the
350 volume monitor class (#541794).
352 2008-07-06 Matthias Clasen <mclasen@redhat.com>
354 * gappinfo.c: More doc tweaks
356 2008-07-05 Matthias Clasen <mclasen@redhat.com>
358 * gappinfo.c: Clarify some docs
360 2008-07-03 Matthias Clasen <mclasen@redhat.com>
362 * gdesktopappinfo.c: Fix a stupid mistake.
364 2008-07-02 Matthias Clasen <mclasen@redhat.com>
366 * === Released 2.17.3 ===
368 2008-07-02 Matthias Clasen <mclasen@redhat.com>
370 * gfilemonitor.c: Fix the build.
372 2008-07-02 Matthias Clasen <mclasen@redhat.com>
374 Bug 536160 – Add g_file_monitor()
377 * gfile.[hc]: Add g_file_monitor which can return either
378 a file or a directory monitor. Proposed by Behdad Esfahbod
380 2008-07-02 Matthias Clasen <mclasen@redhat.com>
382 536733 – gio build failure on Irix
384 * glocalfile.c: Use a configure check for structfs.f_bavail.
386 2008-07-02 Matthias Clasen <mclasen@redhat.com>
388 Bug 534639 – add g_desktop_app_info_new_from_keyfile
391 * gdesktopappinfo.[hc]: Add a function to create a
392 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
394 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
396 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
398 2008-07-01 Matthias Clasen <mclasen@redhat.com>
400 * gunixmounts.c: Fix a doc typo.
402 2008-07-01 Cody Russell <bratsche@gnome.org>
404 * gio/gcontenttype.c:
405 * gio/gwin32appinfo.c:
406 * gio/gwin32volumemonitor.c:
407 * gio/gwin32mount.c: Fixed some include problems.
409 2008-07-01 Cody Russell <bratsche@gnome.org>
413 Moved all relevant typedefs into these files.
416 Updated wrt added files.
418 Split types into separate file for easier maintainership. (#538564)
420 2008-06-30 Matthias Clasen <mclasen@redhat.com>
422 Bug 540331 – g_file_append_to () documentation: can return NULL
424 * gfile.c (g_file_append_to): Clarify docs.
427 2008-06-30 Matthias Clasen <mclasen@redhat.com>
429 Bug 539090 – g_content_type_from_mime_type() should unalias
431 * gcontentype.c (g_content_type_from_mime_type): Unalias.
432 Patch by Markus Bergman
434 2008-06-30 Matthias Clasen <mclasen@redhat.com>
436 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
439 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
440 on ppc and alpha. Reported by Mart Raudsepp
442 2008-06-29 Matthias Clasen <mclasen@redhat.com>
445 * tests/memory-output-stream.c: Add some tests for
448 2008-06-29 Matthias Clasen <mclasen@redhat.com>
450 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
453 * gmemoryoutputstream.c (array_resize): Handle truncation to
454 zero correctly. Reported by Akira Tagoh
456 2008-06-29 Matthias Clasen <mclasen@redhat.com>
458 * gmemoryoutputstream.c: Trivial doc fixes
460 2008-06-29 Matthias Clasen <mclasen@redhat.com>
462 Bug 540802 – g_list_prepend doesn't concat lists
464 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
465 one list to another. Pointed out by Jan Arne Petersen
467 2008-06-28 Michael Natterer <mitch@imendio.com>
469 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
471 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
473 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
474 to avoid problems with partial icon themes.
476 2008-06-17 Hans Breuer <hans@breuer.org>
478 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
479 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
480 access again on win32, see bug #538127
481 * giomodule.c : ensure GWin32VolumeMonitor is registered
482 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
483 * Makefile.am makefile.msc : updated
485 2008-06-16 Hans Breuer <hans@breuer.org>
487 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
488 and initialization in one step avoids c99ism
490 2008-06-16 Christian Persch <chpe@gnome.org>
493 * gio/gbufferedinputstream.c
495 * gio/gdatainputstream.c
496 * gio/gdesktopappinfo.c
498 * gio/gfileenumerator.c
499 * gio/gfileinputstream.c
500 * gio/gfileoutputstream.c
502 * gio/glocaldirectorymonitor.c
504 * gio/glocalfileenumerator.c
505 * gio/glocalfileinfo.c
506 * gio/glocalfilemonitor.c
507 * gio/glocalfileoutputstream.c
508 * gio/gmemoryinputstream.c
509 * gio/gmemoryoutputstream.c
510 * gio/goutputstream.c
511 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
514 2008-06-16 Tor Lillqvist <tml@novell.com>
516 Bug 538362 - Get Win32 icons back in the file chooser
518 * gcontenttype.c (g_content_type_get_icon): Look up the icon
519 corresponding to a file extension in the Registry. Patch by Hans
521 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
523 2008-06-16 Tor Lillqvist <tml@novell.com>
525 Patches by Hans Breuer:
527 * glocalfile.c (is_xp_or_later): Handle compiling against older
528 SDK headers with missing VerifyVersionInfo(). Conditioned on
529 _MSC_VER, but should probably use some better test.
530 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
531 uninitialised statfs_result variable on Win32.
533 2008-06-16 Michael Natterer <mitch@imendio.com>
535 * *.c: chain up unconditionally in finalize() and dispose(). Also
536 don't dereference these function pointers when calling them since
537 that has no meaning at all.
539 2008-06-16 Ross Burton <ross@burtonini.com>
542 Remove check for dispose implementation as it annoys Emmanuele.
544 2008-06-16 Ross Burton <ross@burtonini.com>
546 Bug 536252 – GFileEnumerator should allow access to the containing
552 Add g_file_enumerator_get_container() and a container writeable
553 construct-only property. Also shuffle around typedefs to make it
556 * glocalfileenumerator.c:
557 * glocalfileenumerator.h:
559 Instead of a string filename take a GFile in the constructor and
560 use it to set the container property.
565 2008-06-16 Matthias Clasen <mclasen@redhat.com>
567 * gfile.c: Make includes more uniform
569 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
571 * tests/live-g-file.c (sample_struct):
572 Use less fancy unicode filenames, so the test doesn't fail
573 on Mac OS X (#531476).
575 2008-06-12 Matthias Clasen <mclasen@redhat.com>
577 * === Released 2.17.2 ===
579 2008-06-12 Matthias Clasen <mclasen@redhat.com>
581 * === Released 2.17.1 ===
583 2008-06-11 A. Walton <awalton@gnome.org>
585 * tests/g-file.c (test_g_file_new_null):
586 Fix broken test case.
588 2008-06-11 Matthias Clasen <mclasen@redhat.com>
590 * pltcheck.sh: We use g_clear_error now.
592 2008-06-11 Matthias Clasen <mclasen@redhat.com>
594 * glocalfile.c (g_local_file_enumerate_children): Revert
595 an unintended change.
597 2008-06-11 Matthias Clasen <mclasen@redhat.com>
599 * gfile.c (g_file_replace_contents): Don't unref before the last use.
601 2008-06-10 Matthias Clasen <mclasen@redhat.com>
603 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
606 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
607 as icon for the desktop directory, also make user-home and
608 user-desktop the preferred icons.
610 2008-06-10 Matthias Clasen <mclasen@redhat.com>
613 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
614 to add a name to the front of the list.
616 2008-06-10 Matthias Clasen <mclasen@redhat.com>
618 Bug 537392 – Additional colon in xattr name
620 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
621 too. Reported by Alessandro Morandi
623 2008-06-10 Matthias Clasen <mclasen@redhat.com>
625 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
628 * glocalfile.c (get_fs_type): Add afs and autofs.
629 Patch by Danny Baumann.
631 2008-06-10 Matthias Clasen <mclasen@redhat.com>
633 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
635 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
636 is no parent. (Owen Taylor, patch by Christian Neumair)
638 2008-06-10 Paolo Borelli <pborelli@katamail.com>
640 * gfile.c (g_file_replace_contents): do not leak the output stream.
642 2008-06-10 Michael Natterer <mitch@imendio.com>
644 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
645 uninitialized memory as array index.
647 2008-06-10 Tor Lillqvist <tml@novell.com>
649 * gcontenttype.c (g_content_type_can_be_executable)
650 (g_content_type_get_icon) [Win32]: Add TODO comments.
652 2008-06-09 Matthias Clasen <mclasen@redhat.com>
654 * xdgmime/Makefile.am: Fix the build
656 2008-06-09 Matthias Clasen <mclasen@redhat.com>
658 * gcontenttype.c (g_content_type_get_icon): Use icons specified
659 in the shared mime database, if available.
661 * xdgmime/*: Sync with upstream. This brings support for
662 glob weights, generic icons, and changes the cache format to
665 2008-05-28 Michael Natterer <mitch@imendio.com>
667 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
668 the global CPPFLAGS now.
670 * tests/data-input-stream.c
671 * tests/data-output-stream.c
672 * tests/g-file-info.c
674 * tests/live-g-file.c
675 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
677 2008-05-27 Matthias Clasen <mclasen@redhat.com>
679 * === Released 2.17.0 ===
681 * tests/live-g-file.c: Clean up after the tests, so make distcheck
682 doesn't complain about leftover files.
684 2008-05-27 simon.zheng <simon.zheng@sun.com>
686 * glocalfile.c: (g_local_file_query_filesystem_info):
687 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
689 2008-05-26 Michael Natterer <mitch@imendio.com>
691 * gmemoryoutputstream.h: declare
692 g_memory_output_stream_get_data_size().
694 2008-05-26 Matthias Clasen <mclasen@redhat.com>
696 * tests/*: Make tests work
698 2008-05-26 Matthias Clasen <mclasen@redhat.com>
700 * gio.symbols: Add g_memory_output_stream_get_data_size.
702 2008-05-25 Ross Burton <ross@burtonini.com>
705 Fix typo in error message (#534764).
707 2008-05-25 Ross Burton <ross@burtonini.com>
710 Fix circular dependency loop for gioenumtypes.h (#534759).
712 2008-05-19 Hans Breuer <hans@breuer.org>
714 * Makefile.am : EXTRA_DIST += makefile.msc
716 2008-05-17 Matthias Clasen <mclasen@redhat.com>
719 * gcontenttype.c: (g_content_type_from_mime_type):
720 New function to create a content type from a mime type. (#527175,
723 2008-05-17 Matthias Clasen <mclasen@redhat.com>
725 Bug 532965 – Should not return filesystem::free for certain file systems
727 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
728 free space for ncpfs.
730 2008-05-17 Matthias Clasen <mclasen@redhat.com>
732 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
734 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
735 st_dev might be zero.
737 2008-05-16 Tor Lillqvist <tml@novell.com>
739 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
740 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
742 2008-05-13 Bastien Nocera <hadess@hadess.net>
744 * gfile.c (has_valid_scheme): A URI scheme must start with a
745 letter, even if later more characters are allowed (#532852)
747 2008-05-05 Michael Natterer <mitch@imendio.com>
749 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
750 code from being checked in that breaks the build of applications
751 which use G_DISABLE_SINGLE_INCLUDES.
753 * makegioalias.pl: make the alias file include "glib.h" instead of
756 * gio.symbols: whitespace change to force regeneration of the
757 alias file after above script change.
759 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
761 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
763 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
765 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
767 2008-04-28 David Zeuthen <davidz@redhat.com>
769 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
770 displaying mounts in a subdirectory not accessible to the
773 2008-04-22 Michael Natterer <mitch@imendio.com>
775 * Makefile.am: fix library versioning (it was 0.0.0).
777 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
779 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
780 Default disable all loggings.
781 * fen/fen-kernel.c: (printevent), (port_add_kevent),
782 (port_fetch_event_cb): Fixed two macro nits.
784 2008-04-16 Matthias Clasen <mclasen@redhat.com>
786 * xdgmime/xdgmime.c: Rework the timestamp checking code
787 to protect against duplicate directories in XDG_DATA_DIRS.
788 Fixes fd.o bug 12513, reported by Joe Shaw.
790 2008-04-16 Matthias Clasen <mclasen@redhat.com>
792 Partically revert the last commit after realizing that
793 xdg_mime_media_type_equal doesn't have to init at all.
796 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
798 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
800 2008-04-16 Matthias Clasen <mclasen@redhat.com>
802 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
803 reported by Joe Shaw and Federico Mena Quintero.
805 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
806 (xdg_mime_media_type_equal): Turn into a wrapper around the
809 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
810 functions throughout.
812 2008-04-16 Michael Meeks <michael.meeks@novell.com>
814 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
815 tolerate an empty TryExec= line without failing; nautilus used
816 to create launchers with these in previous versions. Fixes #528433
818 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
820 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
821 after name. Fixes #527132.
823 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
825 * gfile.c: (g_file_replace):
828 2008-04-07 Matthias Clasen <mclasen@redhat.com>
830 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
832 * gfile.c (file_copy_fallback): Fix the argument order. Patch
833 by Christian Kellner.
835 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
837 * gunixmounts.c: (g_unix_mount_guess_should_display):
838 Don't list the user directory as a mount, fix potential issue
839 when other users have a similar naming and don't special case the
840 gvfs mounts there since that's not required (#525866)
842 2008-03-31 Alexander Larsson <alexl@redhat.com>
844 * glocalfile.c (get_parent):
847 2008-03-31 A. Walton <awalton@svn.gnome.org>
849 * gfile.c (g_file_query_file_type):
850 Always return a GFileType enum value (#520715).
852 2008-03-31 Alexander Larsson <alexl@redhat.com>
854 * glocalfileenumerator.c:
855 Read readdir() info in chunks (of 1000) and sort
856 the chunks by inode before stat:ing.
857 This is a 20% performance increase in testing
858 gvfs-ls on /usr/bin with cold cache.
860 2008-03-31 Alexander Larsson <alexl@redhat.com>
862 * gmemoryoutputstream.c:
863 Clarify docs for g_memory_output_stream_get_size.
864 Add g_memory_output_stream_get_data_size.
866 2008-03-30 Matthias Clasen <mclasen@redhat.com>
870 * gfile.h: Add g_file_query_file_type convenience function
871 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
873 2008-03-30 Matthias Clasen <mclasen@redhat.com>
876 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
878 2008-03-28 A. Walton <awalton@svn.gnome.org>
880 * giomodule.c (_g_io_modules_ensure_loaded):
881 Adds GIO_EXTRA_MODULES environment variable support, closing bug
884 2008-03-28 Alexander Larsson <alexl@redhat.com>
887 (copy_stream_with_progress):
890 2008-03-28 Alexander Larsson <alexl@redhat.com>
893 (copy_stream_with_progress):
894 (file_copy_fallback):
895 Fallback to g_file_query_info for source size
896 if g_file_input_stream_query_info fails. (#524579)
898 2008-03-28 Alexander Larsson <alexl@redhat.com>
900 * glocalfile.c (g_local_file_move):
901 Reuse old string instead of adding new one.
903 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
905 * fen/*.[hc]: still copyright issue. I hate copyright.
907 2008-03-27 Alexander Larsson <alexl@redhat.com>
909 * glocalfile.c (g_local_file_move):
910 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
911 file over directory. This is according to the docs and what the move via
912 copy+remove fallback does.
914 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
916 * fen/*.[hc]: Updated copyright.
918 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
920 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
922 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
924 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
925 not emit attribute changed events when optimizing changed events.
926 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
929 2008-03-19 Matthias Clasen <mclasen@redhat.com>
931 * gmountoperation.[hc]: Small documentation additions
933 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
935 * gunixmounts.c: (guess_mount_type):
936 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
938 2008-03-19 Alexander Larsson <alexl@redhat.com>
941 (copy_stream_with_progress):
942 Bump block side for copy to 64k to minimize
943 overhead for low latency links. (#523015)
945 2008-03-16 Tor Lillqvist <tml@novell.com>
947 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
948 depend on gio.def on Windows.
950 2008-03-12 David Zeuthen <davidz@redhat.com>
954 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
956 2008-03-14 Alexander Larsson <alexl@redhat.com>
960 Avoid redudant tests (#521851)
961 Patch from Josselin Mouette
963 2008-03-14 Alexander Larsson <alexl@redhat.com>
966 (g_file_monitor_is_cancelled):
967 Fix C89 issue (#521672)
968 Patch from Jens Granseuer
970 2008-03-14 Alexander Larsson <alexl@redhat.com>
972 * fam/fam-helper.[ch]:
974 Shut down fam (including removing fam GSource) when
975 module is unloaded (#521513)
976 Patch from Joe Marcus Clarke
978 2008-03-14 Alexander Larsson <alexl@redhat.com>
981 (_g_io_modules_ensure_loaded):
984 2008-03-14 Alexander Larsson <alexl@redhat.com>
987 (g_local_file_query_filesystem_info):
988 Use right define name for f_fstypename member check
990 2008-03-14 Alexander Larsson <alexl@redhat.com>
993 * fen/Makefile.am: Added.
994 * fen/fen-data.[ch]: Added.
995 * fen/fen-dump.[ch]: Added.
996 * fen/fen-helper.[ch]: Added.
997 * fen/fen-kernel.[ch]: Added.
998 * fen/fen-missing.[ch]: Added.
999 * fen/fen-node.[ch]: Added.
1000 * fen/fen-sub.[ch]: Added.
1001 * fen/gfendirectorymonitor.[ch]: Added.
1002 * fen/gfenfilemonitor.[ch]: Added.
1004 Added Solaris FEN file notification backend.
1005 Patch from Lin Ma <Lin.Ma@Sun.COM>
1007 2008-03-13 Tor Lillqvist <tml@novell.com>
1009 * Makefile.am: Actually use the gio.def file when linking the
1010 library on Windows. Produce .lib library for Microsoft's toolchain
1011 when possible. Install the .lib and .def file like for the other
1014 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1016 * tests/live-g-file.c:
1017 Include live-g-file in standard set of tests, making a temporary
1018 directory in source structure.
1020 Clean target directory before the tests (write mode only)
1022 2008-03-12 Tor Lillqvist <tml@novell.com>
1024 Bug 517419 - gio win32 directory monitor
1025 Implementation by Vlad Grecescu.
1028 * win32/gwin32directorymonitor.h
1029 * win32/gwin32directorymonitor.c: New files.
1031 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1033 * Makefile.am: Add the win32 subdirectory.
1035 2008-03-12 Tor Lillqvist <tml@novell.com>
1037 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1038 normal struct stat on Unix but struct _stati64 on Windows to have
1039 access to 64-bit file size information. Use that instead of struct
1040 stat in the functions declared here in this private header.
1042 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1043 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1044 warnings about unused functions and variables. Don't set
1045 meaningless attributes like inode numbers on Windows.
1047 2008-03-12 Benjamin Otte <otte@gnome.org>
1050 trim whitespace so gtk-doc groks the function name
1052 2008-03-12 Tor Lillqvist <tml@novell.com>
1054 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1055 returning FALSE, on Win32.
1057 2008-03-11 Alexander Larsson <alexl@redhat.com>
1060 * glocalfileinfo.[ch]:
1061 Correctly implement can_trash by actually
1062 looking for a trash dir, not just assuming
1065 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1067 * === Released 2.16.1 ===
1069 2008-03-11 Alexander Larsson <alexl@redhat.com>
1072 Fix crashes in new constructor and properties code
1074 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1076 * gfile.c: Minor spelling correction in documentation:
1077 existance -> existence.
1079 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1081 * === Released 2.16.0 ===
1083 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1085 * gio.symbols: Remove g_file_contains_file here, too.
1087 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1089 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1090 Samuel Cormier-Iijima)
1092 2008-03-08 Tor Lillqvist <tml@novell.com>
1094 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1097 2008-03-07 Alexander Larsson <alexl@redhat.com>
1100 (g_local_file_query_filesystem_info):
1101 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1102 Patch from Jasper Lievisse Adriaanse
1104 2008-03-06 Tor Lillqvist <tml@novell.com>
1106 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1107 comments for the *_USEC attributes.
1109 2008-03-06 Alexander Larsson <alexl@redhat.com>
1111 * gfile.c (g_file_query_exists):
1112 Add g_return_val_if_fail check (#520700)
1114 2008-03-06 Alexander Larsson <alexl@redhat.com>
1116 * gdesktopappinfo.c:
1119 * gunionvolumemonitor.c:
1122 * tests/live-g-file.c:
1123 * xdgmime/xdgmimecache.c:
1124 Fix sparse warnings (#519489)
1126 2008-03-05 Alexander Larsson <alexl@redhat.com>
1129 Make cancellation threadsafe (i.e.
1130 guarantee its only done once, and always
1133 * glocaldirectorymonitor.c:
1134 Make sure we the monitor lives while the
1135 mounts_changed callback is being called (#520484)
1137 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1139 * gbufferedinputstream.c: Fix typo in parameter
1142 2008-03-04 Alexander Larsson <alexl@redhat.com>
1145 Remove deprecated symbols we kept for one release.
1147 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1150 * goutputstream.c: Tiny documentation corrections.
1152 2008-03-03 Alexander Larsson <alexl@redhat.com>
1154 * gunionvolumemonitor.c:
1156 Fix the adopt_orphan_mount vfunc to take a
1157 volume_monitor reference in an ABI compat way.
1158 This change is not API compat, but the added
1159 arg is not used in the only user of this vfunc, so
1160 all we get is a harmless warning in gvfs (#520169)
1162 2008-03-01 Benjamin Otte <otte@gnome.org>
1165 clarify docs for g_file_delete().
1167 2008-02-29 Alexander Larsson <alexl@redhat.com>
1171 Make sure empty files get text/plain type (#518720)
1173 2008-02-27 Alexander Larsson <alexl@redhat.com>
1179 (g_unix_volume_mount):
1180 Add missing GMountMountFlags argument
1182 2008-02-26 Alexander Larsson <alexl@redhat.com>
1185 (g_local_file_delete):
1186 Handle filesystems (like ntfs-3g) that return EEXIST instead
1187 of ENOTEMPTY (#518816)
1189 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1191 * === Released 2.15.6 ===
1193 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1195 * gfile.c (g_file_find_enclosing_mount):
1196 * ginputstream.c (g_input_stream_set_pending):
1197 * glocalfile.c (g_local_file_find_enclosing_mount):
1198 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1199 * goutputstream.c (g_output_stream_set_pending):
1201 Fixup translator comments (#518578).
1203 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1205 * gfile.c (g_file_find_enclosing_mount):
1207 * glocalfile.c (g_local_file_find_enclosing_mount):
1210 Fix a few typos in translator comments and documentation.
1212 2008-02-25 Alexander Larsson <alexl@redhat.com>
1219 Add translator comments (#518578)
1221 2008-02-25 Alexander Larsson <alexl@redhat.com>
1224 Reintroduce g_file_contains_file, keep around for one
1225 unstable release cycle to avoid crashing to many apps.
1226 Make sure to delete after release.
1228 2008-02-25 Alexander Larsson <alexl@redhat.com>
1231 Remove deprecated g_file_contains_file.
1233 2008-02-25 Alexander Larsson <alexl@redhat.com>
1236 Emit actual change signals in an idle handler.
1237 This avoids reentrance and locking problems in
1238 the file notification backends.
1240 2008-02-25 Alexander Larsson <alexl@redhat.com>
1243 (g_unix_mount_guess_should_display):
1244 Remove type guessing, instead just display
1245 mounts in /media and in ~/.
1247 2008-02-25 Alexander Larsson <alexl@redhat.com>
1250 Make new strings reuse old ones.
1252 2008-02-25 Alexander Larsson <alexl@redhat.com>
1255 Implement trashing and filesystem::readonly for win32 (#517235)
1256 Patch from Yevgen Muntyan
1258 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1260 * gfileinfo.h: Documentation fixes.
1262 2008-02-22 Alexander Larsson <alexl@redhat.com>
1264 * gcontenttype.c (g_content_type_get_icon):
1265 Look at old-style gnome mime icon names too, as many
1266 have not moved to the new style.
1268 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1270 * *.c: Correct the @include in for section docs.
1272 2008-02-21 David Zeuthen <davidz@redhat.com>
1274 * glocalfileinfo.c: (_g_local_file_info_get):
1276 (g_content_type_get_icon): Implement this function by
1277 moving bits from glocalfileinfo.c
1278 (g_content_type_get_description): Unalias before getting
1279 description (#517687)
1281 * gfile.c: (g_file_class_init),
1282 (g_file_query_filesystem_info_async),
1283 (g_file_query_filesystem_info_finish),
1284 (query_filesystem_info_data_free),
1285 (query_filesystem_info_async_thread),
1286 (g_file_real_query_filesystem_info_async),
1287 (g_file_real_query_filesystem_info_finish):
1288 * gfile.h: Implement async version of
1289 g_file_query_filesystem_info()
1291 * gfileinfo.h: Add new attributes for filesystem::use-preview
1293 * gio.symbols: Update
1295 * gthemedicon.c: (g_themed_icon_append_name):
1296 * gthemedicon.h: Add new new convenience function.
1298 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1299 (get_mounts), (get_volumes), (get_connected_drives),
1300 (get_volume_for_uuid), (get_mount_for_uuid),
1301 (g_union_volume_monitor_init), (populate_union_monitor),
1302 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1303 (g_volume_monitor_adopt_orphan_mount):
1305 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1306 monitor implementations to call into the main volume monitor. Also
1307 separate object initialization and volume monitor initialization
1308 such that non-native volume monitors can properly adopt their
1311 2008-02-21 Alexander Larsson <alexl@redhat.com>
1316 2008-02-21 Alexander Larsson <alexl@redhat.com>
1319 Add more documentation about how GFiles work (from #517086)
1321 2008-02-21 Alexander Larsson <alexl@redhat.com>
1325 Add new g_file_has_prefix that does the same as g_file_contains_file.
1326 Deprecate g_file_contains_file and add a macro that converts
1327 it to g_file_has_prefix.
1328 The reason for this change is that the contains_file() name seems to
1329 imply that this does more work than what it does, but its really only
1330 a name match (from #517086)
1335 Update to match the above change.
1337 2008-02-20 Benjamin Otte <otte@gnome.org>
1339 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1340 (g_file_eject_mountable):
1341 even more cases of not returning in error path
1343 2008-02-20 Benjamin Otte <otte@gnome.org>
1345 * gfile.c: (g_file_mount_mountable):
1346 return from function in error path.
1348 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1351 Remove trailing coma in GMountMountFlags struct
1353 2008-02-18 Alexander Larsson <alexl@redhat.com>
1357 * glocalfileoutputstream.c:
1358 Use g_unlink/g_rename instead of unlink/rename;
1359 do not pass raw filenames to g_set_error. (#517239)
1360 Patch from Yevgen Muntyan.
1362 2008-02-18 Alexander Larsson <alexl@redhat.com>
1365 * glocalfileoutputstream.c:
1366 Open files with O_BINARY on windows. (#517140)
1368 2008-02-14 Alexander Larsson <alexl@redhat.com>
1370 * glocalfileoutputstream.c:
1371 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1373 2008-02-14 Alexander Larsson <alexl@redhat.com>
1376 Copy permissions with file on copy (#514084)
1377 This is what cp does and makes sure e.g. the
1378 exec permissions are kept.
1379 Its kinda weird in that it keeps the permission bits
1380 the same while the uid and gid are different. However
1381 the new uid is the user so its not a security issue,
1382 and I've heard no complaints about cp on this issue.
1384 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1386 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1388 2008-02-13 Alexander Larsson <alexl@redhat.com>
1390 * inotify/inotify-path.c:
1391 Define IN_ONLYDIR if not in header (#515346)
1393 2008-02-12 Alexander Larsson <alexl@redhat.com>
1395 * tests/live-g-file.c:
1398 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1400 * === Released 2.15.5 ===
1402 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1404 * gio.symbols: Add g_mount_mount_flags_get_type.
1406 2008-02-11 Alexander Larsson <alexl@redhat.com>
1409 (g_file_info_set_attribute_mask):
1410 (g_file_attribute_matcher_matches_id):
1411 Correctly handle NULL GAttributeMatcher meaning
1412 matches nothing. (Fixes #513492)
1414 2008-02-11 Alexander Larsson <alexl@redhat.com>
1419 Added GMountMountFlags enum and added a flags
1420 argument to all mount calls.
1422 This is an API/ABI change for future extensibility,
1423 as I think we will need at least an
1424 inhibit-autorun flag (the panel needs this).
1425 There are no flags defined yet though.
1427 2008-02-11 Alexander Larsson <alexl@redhat.com>
1430 Added new standard::description attribute.
1431 Requested by Vincent, and useful for both
1434 2008-02-11 Alexander Larsson <alexl@redhat.com>
1436 * gdesktopappinfo.c:
1439 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1441 * *.c: Documentation additions
1443 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1445 * gappinfo.h: Formatting cleanup
1446 * gappinfo.c: Fix up docs.
1448 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1450 * gunixmounts.c: Consistently use getmntent_r() and fall
1451 back to getmntent(). (#515492)
1453 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1455 * gbufferedinputstream.c:
1457 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1459 * tests/data-input-stream.c:
1460 * tests/data-output-stream.c: Portability fixes.
1462 2008-02-08 Alexander Larsson <alexl@redhat.com>
1467 Add g_volume_should_automount.
1470 2008-02-07 Tor Lillqvist <tml@novell.com>
1472 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1473 Win32, too Unix-specific.
1475 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1477 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1478 a local plt if the compiler doesn't support what we want. Bug #514702
1480 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1482 reviewed by: <delete if not using a buddy>
1485 * gunixinputstream.c:
1486 * gunixoutputstream.c:
1488 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1490 * tests/Makefile.am:
1491 * tests/live-g-file.c:
1492 * tests/live-g-file.txt:
1493 New GIO testing module working over real data
1495 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1497 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1498 Fallback to rename() if link() is not available
1499 (when no support on target filesystem)
1501 2008-02-06 Michael Natterer <mitch@imendio.com>
1503 * gfileinfo.c (g_file_info_get_icon): replace
1504 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1506 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1508 * gfile.c (g_file_create):
1509 Documentation update of error codes
1511 2008-02-06 Alexander Larsson <alexl@redhat.com>
1513 * gdesktopappinfo.c:
1514 Update to use both mimeapps.list and
1515 defaults.list as discussed on xdg list.
1517 2008-02-06 Benjamin Otte <otte@gnome.org>
1520 * gfilenamecompleter.c:
1521 Fix some typos in the documentation.
1523 2008-02-06 Alexander Larsson <alexl@redhat.com>
1525 * glocalfile.c (g_local_file_trash):
1526 Don't succeed with trash if newly created
1527 trash dir has the wrong owner. (#514696)
1529 2008-02-05 Alexander Larsson <alexl@redhat.com>
1531 * glocalfile.c (g_local_file_move):
1532 Don't spew warnings when destination is not
1535 2008-02-03 Hans Breuer <hans@breuer.org>
1537 * makefile.msc : update
1539 2008-02-01 Michael Natterer <mitch@imendio.com>
1541 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1542 return value of xdg_mime_list_mime_parents() to a variable of the
1545 2008-02-01 Alexander Larsson <alexl@redhat.com>
1547 * gappinfo.c (g_app_info_launch_uris):
1548 Actually call the launch_uris method, not
1551 2008-02-01 Alexander Larsson <alexl@redhat.com>
1553 * gdesktopappinfo.c (g_desktop_app_info_equal):
1554 Ensure appinfos with no id but same pointer value
1557 2008-02-01 Alexander Larsson <alexl@redhat.com>
1559 * gappinfo.c (g_app_info_launch_default_for_uri):
1562 2008-02-01 Alexander Larsson <alexl@redhat.com>
1566 Add g_app_info_launch_default_for_uri utility
1569 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1571 * gdesktopappinfo.c:
1572 Doc fix for g_app_info_get_default_for_uri_scheme ()
1575 2008-01-30 Alexander Larsson <alexl@redhat.com>
1578 Add doc comment about uris vs GFiles to
1581 * gdesktopappinfo.c:
1582 Ensure uris passed to g_app_info_launch_uris()
1583 are not roundtriped through GFile (as that
1584 may be slightly destructive for e.g. mailto: links)
1586 2008-01-30 Alexander Larsson <alexl@redhat.com>
1588 * tests/data-input-stream.c:
1589 * tests/data-output-stream.c:
1590 C89 fixes from Jens Granseuer (#512849)
1592 2008-01-30 Alexander Larsson <alexl@redhat.com>
1595 Fix gamin/fam difference build issue. (#509419)
1597 2008-01-29 Alexander Larsson <alexl@redhat.com>
1600 * gdesktopappinfo.c:
1601 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1603 2008-01-29 Alexander Larsson <alexl@redhat.com>
1605 * gdesktopappinfo.c:
1606 * gdesktopappinfo.h:
1607 giomodule-priv.h include moved to .c file.
1609 2008-01-29 Alexander Larsson <alexl@redhat.com>
1611 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1612 Remove unused prio/name fields.
1614 2008-01-29 Alexander Larsson <alexl@redhat.com>
1616 * gcontenttype.c (looks_like_text):
1617 Don't treat whitespace as control chars.
1619 2008-01-29 Alexander Larsson <alexl@redhat.com>
1621 * gdesktopappinfo.c:
1622 Lazily create the desktop files for appinfos created
1623 by g_app_info_create_from_commandline() when needed
1624 for mime associations. This allows run-time use
1625 of GAppInfo object without creating unnecessary
1628 2008-01-29 Alexander Larsson <alexl@redhat.com>
1631 Added new symbols to gio.symbols
1633 2008-01-29 Alexander Larsson <alexl@redhat.com>
1636 Add g_file_query_default_handler utility to easily look up
1637 the GAppInfo that handles a file.
1639 * gdesktopappinfo.[ch]:
1641 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1644 Remove unused function
1646 2008-01-29 Alexander Larsson <alexl@redhat.com>
1648 * gfileenumerator.c:
1649 Mention need to free returned value in
1650 g_file_enumerator_next_files_finish docs.
1651 Fix leak if g_file_enumerator_next_files_finish()
1654 2008-01-29 Alexander Larsson <alexl@redhat.com>
1657 (_g_unix_content_type_get_parents):
1658 Use list_parents, not get_parents from xdgmime, because
1659 the later doesn't use the cache.
1661 * xdgmime/xdgmimecache.c:
1662 (_xdg_mime_cache_list_mime_parents):
1663 Don't list the same type as parent multiple times.
1665 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1667 * === Released 2.15.4 ===
1669 2008-01-28 Alexander Larsson <alexl@redhat.com>
1672 Register local vfs with prio 0.
1675 Remove old name and prio class members
1677 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1679 * tests/g-file.c: Disable some tests that are failing in
1680 the absence of a http backend.
1682 2008-01-28 Alexander Larsson <alexl@redhat.com>
1686 Add registration hooks for extension points.
1687 Register the gio extension points.
1689 * fam/gfamdirectorymonitor.c:
1690 * fam/gfamfilemonitor.c:
1691 * glocaldirectorymonitor.[ch]:
1692 * glocalfilemonitor.[ch]:
1693 * gnativevolumemonitor.h:
1694 * gunionvolumemonitor.c:
1695 * gunixvolumemonitor.c:
1698 * inotify/ginotifydirectorymonitor.c:
1699 * inotify/ginotifyfilemonitor.c:
1700 Use the extension points registration instead
1701 of g_type_children().
1703 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1706 * gvolume.[hc]: Document new API.
1708 * gfile.c (g_file_copy_async): Fix docs
1710 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1712 * gbufferedinputstream.c:
1714 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1717 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1719 * glocalfile.c: Avoid trivial differences in translatable strings.
1721 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1723 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1724 build with gcc 3.4 (#509419)
1726 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1728 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1729 (#509994, Murray Cumming)
1731 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1733 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1734 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1735 this allows big jobs to be executed in chunks, instead of blocking
1736 the main loop for a long time.
1738 * gsimpleasyncresult.c:
1739 * giofile.c: Adapt callers.
1741 2008-01-25 Alexander Larsson <alexl@redhat.com>
1743 * gdesktopappinfo.c:
1744 Implement changes discussed on xdg list.
1745 Now we can add supported mimetypes by just using defaults.list
1746 We can also remove associations in defaults.list.
1748 2008-01-25 Alexander Larsson <alexl@redhat.com>
1750 * gdesktopappinfo.c:
1751 Don't make local copy of desktop file
1752 for mimetype changes if the file already
1753 supports the new mimetype.
1755 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1759 * gbufferedinputstream.c:
1760 * glocalfile.c: String improvements. (#511966,
1761 Theppitak Karoonboonyanan)
1763 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1765 * gioscheduler.h: Expand docs a bit.
1767 2008-01-24 Alexander Larsson <alexl@redhat.com>
1770 Add g_drive_get_identifier and
1771 g_drive_enumerate_identifiers
1774 Add g_volume_get_identifier and
1775 g_volume_enumerate_identifiers
1781 Implement identifiers for unix backend
1783 2008-01-24 Alexander Larsson <alexl@redhat.com>
1788 Add g_file_copy_async() (#511580)
1789 Based on patch from Carlos Garcia Campos
1791 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1793 * gioscheduler.c: Some documentation additions.
1795 2008-01-22 Alexander Larsson <alexl@redhat.com>
1797 * gdesktopappinfo.c:
1798 (g_desktop_app_info_new):
1799 Don't leak basename.
1801 2008-01-22 Alexander Larsson <alexl@redhat.com>
1803 * gdesktopappinfo.c:
1804 (g_desktop_app_info_new_from_filename):
1807 2008-01-22 Alexander Larsson <alexl@redhat.com>
1809 * glocalfileinfo.c (get_thumbnail_attributes):
1812 2008-01-22 Alexander Larsson <alexl@redhat.com>
1815 (canonicalize_filename):
1816 Canonicalize paths that start with more than
1820 (compare_two_files):
1821 (test_g_file_new_for_path):
1824 2008-01-22 Alexander Larsson <alexl@redhat.com>
1827 Allow UTF-8 in file:// parse names.
1829 * tests/Makefile.am:
1830 * tests/data-input-stream.c:
1831 * tests/data-output-stream.c:
1832 * tests/g-file-info.c:
1834 Added a bunch of tests from Tomas Bzatek
1836 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1838 * === Released 2.15.3 ===
1840 2008-01-21 Alexander Larsson <alexl@redhat.com>
1842 * gfileinputstream.[ch]:
1843 * gfileoutputstream.[ch]:
1845 Remove duplicated GSeekable functions. (#509990)
1846 Just use the g_seekable_xxx() calls instead.
1848 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1851 * gvolumemanager.c: Whitespace cleanups.
1853 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1854 Use the right mode when creating the file.
1856 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1858 * gfileenumerator.c:
1859 * gfileinputstream.c:
1861 * goutputstream.c: Documentation: Fixed minor typos
1862 and added more mentions of specific _finish() functions.
1864 2008-01-21 Alexander Larsson <alexl@redhat.com>
1866 * inotify/Makefile.am:
1867 * inotify/inotify-helper.c:
1868 * inotify/inotify-kernel.c:
1869 * inotify/inotify-path.c:
1870 * inotify/local_inotify.h: Removed.
1871 * inotify/local_inotify_syscalls.h: Removed.
1872 Removed the included copies of the inotify
1873 headers. We now only use the <sys/inotify.h>
1874 header which exists on modern systems.
1875 This fixes problems on ARM and SH5 (#510448)
1876 but is also generally much cleaner and future
1877 safe. For instance, if other OSes add support
1878 for inotify it should "just work".
1880 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1882 * inotify/*.c: Coding style fixes.
1883 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1884 for the 1/4 Hz timer.
1886 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1889 * gfilemonitor.[hc]:
1890 * gmemoryinputstream.c:
1891 * gmemoryoutputstream.c:
1892 * gmountoperation.c:
1893 * gthemedicon.c: Documentation updates
1895 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1897 * gfile.c: documentation: Fixed more minor
1900 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1902 * gmount.c: (g_mount_remount): documentation:
1903 Mention g_mount_remount_finish() instead of
1904 g_mount_unmount_finish().
1906 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1910 * gfile.c: Fixed some minor typos in the
1913 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1915 * gio/gvolumemonitor.c:
1916 (g_volume_monitor_get_connected_drives):
1917 (g_volume_monitor_get_volumes):
1918 (g_volume_monitor_get_mounts): Documentation:
1919 Clarify the ownership of the regurn GLists.
1921 2008-01-17 Alexander Larsson <alexl@redhat.com>
1924 Add the async find_enclosing_mount version
1925 to the header file too.
1927 2008-01-17 Alexander Larsson <alexl@redhat.com>
1930 Add async version of find_enclosing_mount
1931 with default implementation.
1933 2008-01-17 Alexander Larsson <alexl@redhat.com>
1938 Allow calls to implementation of copy and write
1939 even if the type of the file implementations is
1940 different. This can be used to implement native
1941 upload and download calls in a vfs.
1944 (g_local_file_move):
1945 Protect against the case where move is called
1946 with one file not being local.
1948 Make sure we call the progress callback once
1949 in the native move operation so that the caller
1950 knows how many bytes were copied.
1952 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1955 * gdatainputstream.c:
1957 * gfileoutputstream.c:
1962 * gunixmounts.c: Corrected some typos in the documentation:
1963 occured -> occurred.
1964 its -> it's (where appropriate).
1966 2008-01-16 Alexander Larsson <alexl@redhat.com>
1970 Add g_file_query_exists (#508771)
1972 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1977 * gvolume.c: For async functions that have no non-async
1978 version, document that the GAsyncReadyCallback may be NULL.
1981 2008-01-15 Alexander Larsson <alexl@redhat.com>
1983 * gmemoryinputstream.c:
1984 * gmemoryoutputstream.c:
1985 Don't do pointer arithmetic on void * (#508602)
1986 Patch from Kazuki IWAMOTO
1988 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1990 * === Released 2.15.2 ===
1992 2008-01-14 Alexander Larsson <alexl@redhat.com>
1994 * gfile.c (g_file_monitor_file):
1995 Don't set error here, since we fallback to polling monitor.
1997 2008-01-14 Alexander Larsson <alexl@redhat.com>
2000 (g_file_monitor_directory):
2001 (g_file_monitor_file):
2002 Add GError to file monitor calls
2004 * glocaldirectorymonitor.c:
2005 * glocaldirectorymonitor.h:
2007 * glocalfilemonitor.c:
2008 * glocalfilemonitor.h:
2010 Update for above change
2012 2008-01-14 Alexander Larsson <alexl@redhat.com>
2016 Handle root correctly in g_file_get_relative_path (#508719)
2018 2008-01-14 Alexander Larsson <alexl@redhat.com>
2021 Clean up docs and example for GAsyncResult (#508074)
2023 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2025 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2026 and correct some spelling mistakes. Bug #508108.
2028 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2030 * glocalfileinfo.c: Add a comment.
2032 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2034 * gfileinfo.c: GFileInfo description: Mention
2035 how to actually set attributes in a GFile and how to discover
2036 which attributes are settable. Bug #508378.
2038 2008-01-10 A. Walton <awalton@svn.gnome.org>
2040 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2041 (g_app_info_get_default_for_type):
2042 Check for NULL content types.
2044 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2046 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2048 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2050 * gfile.c: *_async() functions: Several small corrections
2051 to the documentation, mostly correcting copy/paste errors
2052 and improving some sentences.
2054 2008-01-09 Dan Winship <danw@gnome.org>
2056 * glocalfile.c (get_unique_filename): x86_64 fix
2058 2008-01-09 Alexander Larsson <alexl@redhat.com>
2063 Add g_unix_mount_guess_should_display and use
2064 for unix volume monitor backend.
2065 This means we more or less show what the
2066 gnome-vfs backend did.
2067 Based on patch from Padraig O'Briain
2069 2008-01-09 Alexander Larsson <alexl@redhat.com>
2073 Add g_themed_icon_new_with_default_fallbacks
2076 Use default fallbacks for icons
2078 2008-01-09 Alexander Larsson <alexl@redhat.com>
2081 * gmountoperation.[ch]:
2082 Change the API a bit so that unhandled methods
2083 get reported via the reply, rather than by
2084 the signal emission return value. This is because
2085 some handlers can't know this immediately without
2086 doing I/O, and this is an async operation that
2089 2008-01-09 Alexander Larsson <alexl@redhat.com>
2092 * fam/gfamdirectorymonitor.c:
2093 * fam/gfamfilemonitor.c:
2094 Fix double free crash (#508224)
2095 Patch from Joe Marcus Clarke
2097 008-01-07 Matthias Clasen <mclasen@redhat.com>
2099 * === Released 2.15.1 ===
2101 2008-01-07 Alexander Larsson <alexl@redhat.com>
2103 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2104 Fix warning (#507835)
2106 2008-01-07 Alexander Larsson <alexl@redhat.com>
2109 Pass --internal to glib-genmarshal
2112 * gmountoperation.c:
2114 Use better types for signal arguments (#507822)
2116 2008-01-07 Alexander Larsson <alexl@redhat.com>
2119 Build test subdir after .
2120 Remove gdirectorymonitor.[ch]
2122 * gdirectorymonitor.[ch]:
2126 Remove GDirectoryMonitor and make
2127 GFileMonitor the baseclass for both file and
2128 directory monitors. Lift the more generic
2129 rate limiting code from GDirectoryMonitor
2133 * fam/gfamdirectorymonitor.[ch]:
2134 * inotify/ginotifydirectorymonitor.[ch]:
2135 * inotify/inotify-helper.c:
2136 * glocaldirectorymonitor.[ch]:
2139 Update for the removed GDirectoryMonitor.
2141 * gmemoryoutputstream.c:
2142 Remove ununsed variable
2144 2008-01-07 Alexander Larsson <alexl@redhat.com>
2146 * gmemoryinputstream.c:
2147 Translate error strings
2150 * gmemoryoutputstream.[ch]:
2151 New implementation that avoids using GByteArray
2152 in implementation and API. (#506377)
2154 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2156 * tests/*: Add a test for memory input streams.
2158 * Makefile.am: Add tests to SUBDIRS.
2160 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2162 * glocalfilemonitor.c:
2163 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2166 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2168 * gdesktopappinfo.c: Fix a docs typo.
2170 * gfileattribute.c: Add information about extended attributes
2171 to the documentation. (#505058)
2173 2008-01-04 Alexander Larsson <alexl@redhat.com>
2176 * gmountoperation.c:
2177 Use the right type (uint) for the ask_password signal.
2179 2008-01-04 Alexander Larsson <alexl@redhat.com>
2184 Add g_app_info_supports_files()
2185 Remove desktop arg from g_app_info_should_show().
2187 * gdesktopappinfo.[ch]:
2188 Implement g_app_info_supports_files() and new should_show()
2189 Add g_desktop_app_info_set_desktop_env() to set the desktop
2190 for should_show(). (This will be set by gtk+ later)
2192 2008-01-04 Alexander Larsson <alexl@redhat.com>
2195 * gmemoryinputstream.[ch]:
2196 Improve API so that you can use multiple chunks
2197 of memory and custom destroy functions. (#506374)
2199 2008-01-03 Alexander Larsson <alexl@redhat.com>
2202 Handle NULL attribute matchers safely, as we return this
2203 for empty attribute matcher strings.
2205 2008-01-03 Alexander Larsson <alexl@redhat.com>
2207 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2208 Add /usr/local to list of internal mountpoints
2210 2008-01-03 Alexander Larsson <alexl@redhat.com>
2213 Check for HAVE_LCHOWN (#505887)
2215 2008-01-03 Alexander Larsson <alexl@redhat.com>
2219 Add define for selinux context attribute.
2220 Fix missing : -> :: namespace separator change
2221 Fix missing _ -> - name change for xattr-sys.
2224 2008-01-03 Alexander Larsson <alexl@redhat.com>
2227 Link to libglib and libgobject directly (#504879)
2228 Patch from Sebastien Bacher
2230 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2232 * gfile.c: Expanded the g_file_new_for_commandline_arg
2233 description a bit, based on the code and the docs of the
2234 other g_file_new_for_* functions.
2236 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2238 * gfilemonitor.h: Fixed typo in docs.
2240 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2242 Updates to GIO documentation. (#506395, Mikael Hermansson)
2244 * gcontenttype.c: Describe memory management for return value of
2245 g_content_types_get_registered(). Missing piece from #505815.
2246 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2247 GVolume, GDrive, GMounts, which hopefully gives the user less
2248 confusions when using this API. Following explainations from
2249 Alexander Larsson on gtk-devel-list.
2251 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2253 * gfileinfo.c: Expand the long description.
2255 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2258 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2259 fix builds with --disable-visibility. (#500273, Christian Persch)
2261 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2263 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2264 in the list of returned app infos.
2266 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2268 * gappinfo.c: Fix a cross-reference
2270 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2272 * gfileinputstream.c:
2273 * gfileoutputstream.c:
2277 * gdesktopappinfo.c:
2279 * gfileinfo.c: Documentation updates.
2281 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2283 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2286 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2288 * gcontenttype.c (g_content_types_get_registered): Don't return
2289 freed memory (#505815, Mikael Hermansson)
2291 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2293 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2294 used to detect statbuf->st_blocks. (#505042)
2296 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2298 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2299 environment handling. (#504829, Cosimo Cecchi)
2301 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2303 * gappinfo.c: Doc improvements
2305 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2308 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2310 * === Released 2.15.0 ===
2312 2007-12-20 Hans Breuer <hans@breuer.org>
2314 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2315 with symbols gwin32appinfo.obj, added gmount.obj
2316 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2318 2007-12-20 Alexander Larsson <alexl@redhat.com>
2324 * gfilenamecompleter.c:
2327 * gpollfilemonitor.c:
2328 File attribute renames:
2330 fs:: -> filesystem::
2331 id::fs -> id::filesystem
2333 2007-12-20 Alexander Larsson <alexl@redhat.com>
2342 Add GMountUnmountFlags to all unmount and
2344 Add g_mount_remount() call.
2346 2007-12-20 Alexander Larsson <alexl@redhat.com>
2348 * gvfs.c (get_default_vfs):
2349 Fix unused variable warning
2351 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2353 * pltcheck.sh: Update
2355 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2357 * gunionvolumemonitor.c:
2358 * gunixmount.c: Remove C99 comments
2360 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2362 * gio.symbols: Add some missing symbols
2364 2007-12-19 Alexander Larsson <alexl@redhat.com>
2367 Make g_io_modules_load_all_in_directory not unuse
2368 loaded modules so that users of it can do stuff
2370 Init internal "module" types.
2371 Initialize static prio and name for types so that
2372 we don't have to load modules to get it.
2374 * gnativevolumemonitor.h:
2376 Move is_supported to parent class so that
2377 non-native monitors can avoid being initialized
2378 too. (For instance GDaemonVolumeMonitor if we're
2379 not using GDaemonVfs.)
2381 * glocaldirectorymonitor.[ch]:
2382 * glocalfilemonitor.[ch]:
2383 * gunionvolumemonitor.c:
2384 * gunixvolumemonitor.c:
2386 Find plugins using the static prio+name to
2387 avoid unnecessarily loading the modules.
2389 2007-12-19 Alexander Larsson <alexl@redhat.com>
2394 2007-12-19 Alexander Larsson <alexl@redhat.com>
2396 * gunionvolumemonitor.c:
2397 Store the native type as GType, not class so that
2398 we can unload it. But still avoid unnecessarily
2401 2007-12-19 David Zeuthen <davidz@redhat.com>
2403 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2404 add signals 'disconnected' and 'eject-button' on GDrive. Add
2405 signal 'removed' on GVolume and 'unmounted' on GMount.
2407 * gdrive.c: (g_drive_base_init):
2409 * gfile.c: (g_file_mount_mountable),
2410 (g_file_mount_enclosing_volume):
2413 * gmount.c: (g_mount_base_init):
2415 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2416 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2417 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2421 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2423 * *.c: Fix up includes in the section docs.
2425 2007-12-17 Alexander Larsson <alexl@redhat.com>
2427 * gnativevolumemonitor.h:
2428 * gunionvolumemonitor.c:
2429 * gunixvolumemonitor.c:
2430 Add is_supported() to GNativeVolumeMonitorClass so
2431 that we can avoid having to create an object to see
2432 if the backend is supported at runtime.
2433 Also add name member and an env var to pick a specific
2434 volume monitor backend.
2438 Add cancellable to _g_mount_get_for_mount_path()
2440 * glocaldirectorymonitor.c:
2441 * glocalfilemonitor.c:
2442 Avoid loading and unloading modules while sorting.
2444 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2447 * gunixmounts.[hc]: Namespace waste reduction, move some
2448 g_get_unix_mount functions to the g_unix_mount namespace.
2451 * gunixvolumemonitor.c:
2453 * glocaldirectorymonitor.c: Update all callers.
2455 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2457 2007-12-17 Alexander Larsson <alexl@redhat.com>
2460 Add doc comments about what GFile operations are
2461 guaranteed to not block.
2463 2007-12-17 Alexander Larsson <alexl@redhat.com>
2466 Add missing #ifdef fixing OSX build.
2467 (#503334, patch from Richard Hult)
2469 2007-12-14 David Zeuthen <davidz@redhat.com>
2473 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2474 (g_mount_eject), (g_mount_eject_finish):
2476 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2477 (get_volume_for_uuid), (get_mount_for_uuid),
2478 (g_union_volume_monitor_class_init),
2479 (get_default_native_type_with_exclude), (get_default_native_type),
2480 (get_native_type), (update_native_type),
2481 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2482 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2483 (g_unix_mount_can_eject), (eject_unmount_cb),
2484 (eject_unmount_read_error), (eject_unmount_do),
2485 (g_unix_mount_unmount), (g_unix_mount_eject),
2486 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2487 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2488 (g_unix_mount_point_guess_can_eject):
2490 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2491 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2492 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2493 (g_unix_volume_mount), (g_unix_volume_eject),
2494 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2495 * gunixvolumemonitor.c: (get_volume_for_uuid),
2496 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2498 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2499 (g_volume_eject), (g_volume_eject_finish):
2501 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2502 (g_volume_monitor_get_mount_for_uuid):
2505 Provide eject() on both GMount and GVolume and utility functions
2506 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2507 ejected. Introduce the concept of UUID's and wire it into GVolume
2508 and GMount and provide API on GVolumeMonitor to find such
2509 instances. Also handle the case where an external
2510 GNativeVolumeMonitor fails to initialize. Lock around the
2511 _g_get_mount_for_mount_path() function such that volume monitor
2512 implementations won't have to do locking themselves.
2514 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2516 * gdesktopappinfo.c:
2522 * gvolume.h: Documentation updates
2524 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2527 * gfile.h: Doc updates
2529 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2532 * gdesktopappinfo.c: Use hash table iterators.
2534 2007-12-14 Alexander Larsson <alexl@redhat.com>
2537 * gfileattribute.[ch]:
2538 * gfileattribute-priv.h:
2539 Move GFileAttributeValue to a private header, as
2543 Make set_attribute take a type + a pointer instead
2544 of a GFileAttributeValue.
2547 Fix up for above changes.
2548 Add g_file_info_get_attribute_data to get
2549 all info in one call, g_file_info_get_attribute_status
2550 to get the status and g_file_info_get_attribute_as_string.
2554 * glocalfileinfo.[ch]:
2558 Make _guess_type static.
2560 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2563 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2564 made mkenums and friends use temporary files to avoid leaving
2565 empty generated files on failure (#503470).
2567 2007-12-14 Alexander Larsson <alexl@redhat.com>
2569 * gmountoperation.h:
2572 2007-12-14 Alexander Larsson <alexl@redhat.com>
2576 * gfileattribute.[ch]:
2579 * glocalfileoutputstream.c:
2580 * gmountoperation.[ch]:
2581 * goutputstream.[ch]:
2582 Clean up all flags enums to not have _FLAGS in them
2583 Make the names of some of the enums better.
2588 2007-12-14 Michael Natterer <mitch@imendio.com>
2590 * gio.symbols: fix g_io_scheduler symbol names.
2592 2007-12-14 Alexander Larsson <alexl@redhat.com>
2598 * gbufferedinputstream.h:
2599 * gbufferedoutputstream.h:
2602 * gdatainputstream.h:
2603 * gdataoutputstream.h:
2604 * gdesktopappinfo.h:
2605 * gdirectorymonitor.h:
2609 * gfileenumerator.h:
2612 * gfileinputstream.h:
2614 * gfilenamecompleter.h:
2615 * gfileoutputstream.h:
2616 * gfilterinputstream.h:
2617 * gfilteroutputstream.h:
2625 * gmemoryinputstream.h:
2626 * gmemoryoutputstream.h:
2628 * gmountoperation.h:
2631 * gsimpleasyncresult.h:
2633 * gunixinputstream.h:
2635 * gunixoutputstream.h:
2639 * inotify/Makefile.am:
2640 Only allow including <gio/gio.h> from apps
2642 2007-12-14 Alexander Larsson <alexl@redhat.com>
2644 * gioscheduler.[ch]:
2645 * gsimpleasyncresult.c:
2646 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2647 Split out the send_to_mainloop call into two versions instead
2648 of having the block argument.
2650 2007-12-13 Alexander Larsson <alexl@redhat.com>
2652 * gcancellable.[ch]:
2654 * gbufferedinputstream.c:
2655 * gfileenumerator.c:
2656 * gfileinputstream.c:
2657 * gfileoutputstream.c:
2661 g_push/pop_current_cancellable ->
2662 g_cancellable_push/pop_current
2664 2007-12-13 Alexander Larsson <alexl@redhat.com>
2668 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2670 2007-12-13 Alexander Larsson <alexl@redhat.com>
2672 * gmountoperation.h:
2673 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2675 2007-12-12 Alexander Larsson <alexl@redhat.com>
2678 Fix race condition when freeing proxy in
2679 g_io_job_send_to_mainloop().
2681 2007-12-12 Alexander Larsson <alexl@redhat.com>
2687 Make attribute namespace separator "::" instead of ":".
2688 Use - instead of _ as separator in attribute names.
2690 2007-12-12 Alexander Larsson <alexl@redhat.com>
2692 * gbufferedinputstream.h:
2693 * gbufferedoutputstream.h:
2694 * gdatainputstream.h:
2695 * gdataoutputstream.h:
2696 * gdirectorymonitor.h:
2697 * gfileenumerator.h:
2698 * gfileinputstream.h:
2700 * gfileoutputstream.h:
2701 * gfilterinputstream.h:
2702 * gfilteroutputstream.h:
2704 * glocalfileinputstream.h:
2705 * glocalfileoutputstream.h:
2706 * gmemoryinputstream.h:
2707 * gmemoryoutputstream.h:
2708 * gnativevolumemonitor.h:
2710 * gunixinputstream.h:
2711 * gunixoutputstream.h:
2714 s/parent/parent_instance/ in GObjects
2716 2007-12-12 Alexander Larsson <alexl@redhat.com>
2721 No need for padding for interfaces
2723 2007-12-12 Alexander Larsson <alexl@redhat.com>
2727 * gbufferedinputstream.c:
2728 * gbufferedoutputstream.c:
2731 * gdatainputstream.[ch]:
2732 * gdesktopappinfo.c:
2733 * gdirectorymonitor.c:
2735 * gfileattribute.[ch]:
2738 * gfileinputstream.h:
2739 * gfilemonitor.[ch]:
2740 * gfileoutputstream.[ch]:
2741 * gfilterinputstream.h:
2742 * gfilteroutputstream.h:
2745 * gloadableicon.[ch]:
2746 * gmemoryinputstream.c:
2747 * gmountoperation.c:
2749 Fix up a bunch of details in the docs.
2754 2007-12-11 David Zeuthen <davidz@redhat.com>
2756 Rework how volumes, drives and volume monitoring is
2757 done. Previosly the model was
2759 GDrive <1-1> GVolume
2761 where a GDrive instance represented a mount point and a GVolume
2762 instance represented a mounted file system. This patch changes it
2765 GDrive <1-N> GVolume <1-1> GMount
2767 where GMount now serves the purpose of the old GVolume and the new
2768 GVolume serves the purpose of the old GDrive. In addition the new
2769 GDrive interface is used to represent a collection of GVolume
2770 instances (typically partitions) and also contains utility to query
2771 the state of the physical drive the GDrive object represents (such
2772 as checking for media, polling the drive, ejecting the media etc.).
2774 Also implement mounting and unmounting in the Unix volume monitor
2775 backend. A subquent patch will introduce GDrive support for ejection
2779 * gdrive.c: (g_drive_is_media_check_automatic),
2780 (g_drive_is_media_removable), (g_drive_has_media),
2781 (g_drive_can_poll_for_media), (g_drive_eject),
2782 (g_drive_eject_finish), (g_drive_poll_for_media),
2783 (g_drive_poll_for_media_finish):
2785 * gfile.c: (g_file_find_enclosing_mount):
2788 * glocaldirectorymonitor.c:
2789 (g_local_directory_monitor_constructor), (mounts_changed):
2790 * glocalfile.c: (get_mount_info),
2791 (g_local_file_find_enclosing_mount),
2792 (g_local_file_file_iface_init):
2793 * gnativevolumemonitor.h:
2794 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2795 (get_connected_drives), (g_union_volume_monitor_class_init),
2796 (child_volume_added), (child_volume_removed),
2797 (child_volume_changed), (child_mount_added), (child_mount_removed),
2798 (child_mount_pre_unmount), (child_mount_changed),
2799 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2800 (g_union_volume_monitor_remove_monitor),
2801 (_g_mount_get_for_mount_path):
2802 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2803 (guess_system_internal), (_g_get_unix_mounts),
2804 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2805 (g_unix_mount_free), (g_unix_mount_compare),
2806 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2807 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2808 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2809 (type_to_icon), (g_unix_mount_guess_name),
2810 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2811 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2812 (_resolve_symlink), (_resolve_dev_root):
2814 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2815 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2816 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2817 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2818 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2819 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2820 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2821 (g_unix_volume_volume_iface_init):
2823 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2824 (get_mounts), (get_volumes), (get_connected_drives),
2825 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2826 (mountpoints_changed), (mounts_changed),
2827 (g_unix_volume_monitor_init),
2828 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2829 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2830 * gunixvolumemonitor.h:
2831 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2832 (g_volume_mount), (g_volume_mount_finish):
2834 * gvolumemonitor.c: (g_volume_monitor_class_init),
2835 (g_volume_monitor_get_connected_drives),
2836 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2839 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2841 * gmountoperation.h (GPasswordFlags): Close the gap
2843 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2845 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2847 * gdesktopappinfo.[hc]: Remove _-prefixes
2849 2007-12-10 Tor Lillqvist <tml@novell.com>
2851 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2854 2007-12-10 Alexander Larsson <alexl@redhat.com>
2856 * gfile.c (g_file_set_display_name):
2857 Don't hardcode '/' (#502727)
2859 2007-12-09 Hans Breuer <hans@breuer.org>
2861 * makefile.msc : follow lib naming convention
2862 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2863 for user and group name, tested with ../tests/gio-ls
2865 2007-12-09 A. Walton <awalton@svn.gnome.org>
2867 * gdesktopappinfo.c:
2873 * gfileenumerator.c:
2878 * gmemoryinputstream.c:
2879 * gmemoryoutputstream.c:
2881 * gsimpleasyncresult.c:
2882 More documentation cleanup and filling in missing information, bringing
2883 GIO to 99% symbol coverage.
2885 2007-12-08 Hans Breuer <hans@breuer.org>
2887 [gio compiles and links on win32, not sure how much already works]
2888 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2889 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2890 base on win32 API; prefer g_lstat() over lstat(); instead of
2891 localtime_r() use an all GLib implementation on win32;
2892 get_mount_info() still needs a win32 specifc implementation
2893 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2894 win32_get_file_user_info to get owner/group info without uid/gid
2895 * glocalfileinputstream.c : include <io.h> on win32
2896 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2897 definition, use g_win32_ftruncate() for G_OS_WIN32
2898 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2899 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2900 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2901 * makefile.msc : updated
2903 2007-12-07 Alexander Larsson <alexl@redhat.com>
2905 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2906 Avoid warning spew if error == NULL
2908 2007-12-07 Alexander Larsson <alexl@redhat.com>
2911 Update docs wrt etags
2913 2007-12-06 Alexander Larsson <alexl@redhat.com>
2916 Include sys/types.h for dev_t (#501919)
2918 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2922 Make abicheck and pltcheck pass.
2924 2007-12-05 Alexander Larsson <alexl@redhat.com>
2927 * giomodule-priv.h: Added.
2928 * glocaldirectorymonitor.c:
2929 * glocalfilemonitor.c:
2930 * gunionvolumemonitor.c:
2932 Actually add the declaration of _g_io_modules_ensure_loaded
2934 2007-12-05 Alexander Larsson <alexl@redhat.com>
2936 * gdatainputstream.c:
2941 * glocaldirectorymonitor.c:
2942 * glocalfilemonitor.c:
2943 * gunionvolumemonitor.c:
2945 Make g_io_modules_ensure_loaded a private function and
2946 don't pass in the dirname. This means we can do magic
2947 directory finding in the win32 version.
2948 Export the actual load-modules-in-directory code so that
2949 gvfs can reuse that.
2951 2007-12-05 Alexander Larsson <alexl@redhat.com>
2953 * gbufferedinputstream.c:
2954 * gbufferedoutputstream.c:
2957 * gfileenumerator.[ch]:
2958 * gfileinputstream.c:
2959 * gfileoutputstream.[ch]:
2960 * gfilterinputstream.c:
2961 * gfilteroutputstream.c:
2962 * ginputstream.[ch]:
2964 * glocalfileenumerator.c:
2965 * glocalfileinputstream.c:
2966 * glocalfileoutputstream.c:
2967 * gmemoryinputstream.c:
2968 * gmemoryoutputstream.c:
2969 * goutputstream.[ch]:
2972 * gunixinputstream.c:
2973 * gunixoutputstream.c:
2974 Rename all struct members named:
2975 read, write, close, truncate, or mount
2976 to foo_fn, as these are reserved names
2977 and could be defined as macros in libc.
2980 2007-12-04 Alexander Larsson <alexl@redhat.com>
2983 (g_output_stream_close):
2984 Only call flush if non-null.
2986 2007-11-30 Dan Winship <danw@gnome.org>
2988 * ginputstream.c (g_input_stream_set_pending): Make this take a
2989 GError and return a gboolean, and do the "outstanding operation"
2990 check (and the "stream is already closed" check) itself.
2991 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2993 * goutputstream.c (g_output_stream_set_pending)
2994 (g_output_stream_clear_pending): Likewise
2996 * gbufferedinputstream.c:
2997 * gfileinputstream.c:
2998 * gfileoutputstream.c: Update for that
3000 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3001 Like g_simple_async_report_error_in_idle, but takes a GError
3002 rather than building one.
3004 2007-11-30 Dan Winship <danw@gnome.org>
3006 * goutputstream.c: Don't cheat and unset the "pending" flag around
3007 inner calls. Instead, call the class method directly rather than
3008 the wrapper function that checks "pending"
3010 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3012 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3014 2007-12-03 Hans Breuer <hans@breuer.org>
3016 [start of port to win32/msvc]
3017 * gcancellable.c : HAVE_UNIST_H and _pipe()
3018 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3019 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3020 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3022 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3023 * glocalvfs.c : use HAVE_PWD_H
3024 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3025 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3026 * Makefile.am : added to EXTRA_DIST
3028 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3030 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3033 2007-12-03 Alexander Larsson <alexl@redhat.com>
3036 Handle OSX style xattrs API (#500506)
3038 2007-12-03 Alexander Larsson <alexl@redhat.com>
3042 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3044 2007-12-02 A. Walton <awalton@svn.gnome.org>
3048 Documentation accuracy fixes.
3050 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3052 * gioenumtypes.c.template: Fix typo.
3054 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3056 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3058 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3060 * gdirectorymonitor.c:
3061 * gfilemonitor.c: Add properties
3063 * gbufferedoutputstream.c: Don't mark buffer-size property
3066 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3068 * gbufferedoutputstream.c: Add auto-grow property.
3070 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3072 * *.c: Unify the capitalization of section headings.
3074 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3076 * gmountoperation.c: Add properties
3078 * gdatainputstream.c: Turn byte-order and newline-type into
3081 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3083 * gioenumtypes.[hc].template: Templates for enum registration
3085 * Makefile.am: Generate gioenumtypes.[hc]
3087 * gio.h: Include gioenumtypes.h
3089 * gfile.h: Add some explicit nicks.
3091 * gio.symbols: Add new symbols
3093 * pltcheck.sh: Adjust
3095 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3097 * *.c: Explain etags and link to the explanation
3099 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3101 * *.c: Explain I/O priority.
3103 * *.c: More coding style fixes.
3105 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3107 * gasyncresult.c: Add another paragraph to the intro,
3108 adjust coding style of example.
3110 2007-11-29 A. Walton <awalton@svn.gnome.org>
3113 Fixes unknown meaning in GAppLaunchContext docs.
3115 Clarify asynchronous ops.
3117 Fix entity tag docs.
3120 Provides missing gtk-doc section, fixes API docs slighly.
3121 * gsimpleasyncresult.c:
3122 Fill in missing info in docs.
3123 * gunixinputstream.c:
3124 * gunixoutputstream.c:
3125 Be more expressive in short description.
3127 Remove gtk-doc stubs for non-public API.
3129 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3131 * *.c: Coding style fixups
3133 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3135 * inotify/inotify-helper.c: Don't export the lock from libgio.
3137 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3140 * abicheck.sh: Fix copy-and-paste leftovers
3142 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3144 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3146 2007-11-28 Alexander Larsson <alexl@redhat.com>
3150 Removed unnecessary file
3152 * gdesktopappinfo.[ch]:
3155 * glocaldirectorymonitor.[ch]:
3157 * glocalfileenumerator.[ch]:
3158 * glocalfileinputstream.[ch]:
3159 * glocalfilemonitor.[ch]:
3160 * glocalfileoutputstream.[ch]:
3162 * gnativevolumemonitor.c:
3163 * gpollfilemonitor.[ch]:
3164 * gunionvolumemonitor.[ch]:
3167 * gunixvolumemonitor.[ch]:
3170 * inotify/ginotifydirectorymonitor.[ch]:
3171 * inotify/ginotifyfilemonitor.[ch]:
3172 * inotify/inotify-helper.c:
3173 Append _ to all internal functions
3177 Export symbols needed for modules
3179 2007-11-28 Alexander Larsson <alexl@redhat.com>
3182 * abicheck.sh: Added.
3183 * makegioalias.pl: Added.
3184 * pltcheck.sh: Added.
3185 * gio.symbols: Added.
3188 Initial work on adding symbol handling.
3191 Correct ifdef guard name
3194 * inotify/Makefile.am:
3195 * xdgmime/Makefile.am:
3196 Include toplevel Makefile.decl
3198 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3200 * gcontenttype.c: Move doc comments to the unix section.
3202 * *.[hc]: More trivial doc corrections.
3204 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3206 * gpollfilemonitor.c:
3210 * gdesktopappinfo.c:
3215 * gdatainputstream.c:
3216 * gdatainputstream.h:
3217 * gdataoutputstream.c:
3218 * gdataoutputstream.h:
3219 * gfileinfo.h: Doc cleanups
3221 2007-11-28 Andre Klapper <a9016009@gmx.de>
3223 * gdesktopappinfo.c: Fix a typo.
3225 2007-11-27 Andre Klapper <a9016009@gmx.de>
3227 * glocalfileoutputstream.c: Fix a typo.
3229 2007-11-27 Alexander Larsson <alexl@redhat.com>
3232 Don't include removed headers
3234 2007-11-27 Alexander Larsson <alexl@redhat.com>
3237 * gsocketinputstream.[ch]: Removed.
3238 * gsocketoutputstream.[ch]: Removed.
3239 * gunixinputstream.[ch]: Added.
3240 * gunixoutputstream.[ch]: Added.
3241 Renamed GSocket*Stream to GUnix*Stream and made
3242 it unix-only, since its not really only for sockets
3243 and it only works on unix (but is highly useful there).
3245 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3251 * gbufferedinputstream.c:
3252 * gbufferedinputstream.h:
3253 * gbufferedoutputstream.c:
3254 * gbufferedoutputstream.h:
3258 * gdatainputstream.c:
3259 * gdatainputstream.h:
3260 * gdataoutputstream.c:
3261 * gdataoutputstream.h:
3262 * gdirectorymonitor.c:
3263 * gdirectorymonitor.h:
3270 * gfileenumerator.c:
3271 * gfileenumerator.h:
3276 * gfileinputstream.c:
3277 * gfileinputstream.h:
3280 * gfilenamecompleter.c:
3281 * gfilenamecompleter.h:
3282 * gfileoutputstream.c:
3283 * gfileoutputstream.h:
3284 * gfilterinputstream.c:
3285 * gfilterinputstream.h:
3286 * gfilteroutputstream.c:
3287 * gfilteroutputstream.h:
3300 * glocalfileoutputstream.c:
3301 * gmemoryinputstream.c:
3302 * gmemoryinputstream.h:
3303 * gmemoryoutputstream.c:
3304 * gmemoryoutputstream.h:
3305 * gmountoperation.c:
3306 * gmountoperation.h:
3309 * gpollfilemonitor.c:
3312 * gsimpleasyncresult.c:
3313 * gsimpleasyncresult.h:
3314 * gsocketinputstream.c:
3315 * gsocketinputstream.h:
3316 * gsocketoutputstream.c:
3317 * gsocketoutputstream.h:
3324 * gunixvolumemonitor.c:
3333 Bumps documentation to 93% symbol coverage, touching most
3334 of the public files. Fixes broken function documentation prototypes.
3335 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3336 gtk-doc headers in private files.
3338 2007-11-27 Jürg Billeter <j@bitron.ch>
3340 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3341 (g_buffered_input_stream_read_byte):
3342 * gbufferedinputstream.h:
3343 New functions for efficient access to buffer and simple single byte
3346 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3347 (g_data_input_stream_read_until):
3348 * gdatainputstream.h:
3349 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3350 read_until with multiple stop chars.
3352 2007-11-27 Alexander Larsson <alexl@redhat.com>
3356 * inotify/Makefile.am:
3357 Use the user-specified giomoduledir
3359 2007-11-27 Alexander Larsson <alexl@redhat.com>
3363 Add catch-all gio.h header
3364 Don't install gdummyfile.h
3366 2007-11-26 Alexander Larsson <alexl@redhat.com>
3368 * Makefile.am (gioinclude_HEADERS):
3369 Remove trailing whitespace
3371 2007-11-26 Alexander Larsson <alexl@redhat.com>
3373 Merge gio-standalone into glib
3375 2007-11-25 Christian Kellner <gicmo@gnome.org>
3377 * gio/goutputstream.c:
3378 Fix small mistake in the docs.
3380 2007-11-21 Christian Persch <chpe@gnome.org>
3382 * gio/glocalfile.c: (g_local_file_trash):
3383 Convert filenames to UTF-8 for GError.
3384 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3385 as per xdg base dir spec.
3387 2007-11-21 Christian Persch <chpe@gnome.org>
3389 * gio/gdesktopappinfo.c:
3390 Use that g_key_file_to_data cannot fail.
3392 Use stock defines for the key file group and key names.
3395 2007-11-21 Alexander Larsson <alexl@redhat.com>
3398 (copy_stream_with_progress):
3399 Make sure we do a final progress callback with
3400 the full total size.
3402 2007-11-21 Alexander Larsson <alexl@redhat.com>
3405 Export g_file_copy_attributes
3406 Remove padding as its not needed for interfaces
3408 2007-11-20 Alexander Larsson <alexl@redhat.com>
3413 Add G_IO_ERROR_WOULD_MERGE for
3414 copy/move dir on dir with overwrite.
3416 2007-11-20 Alexander Larsson <alexl@redhat.com>
3419 * gio/glocalfileinfo.c:
3420 Add COPY_NAME (this is an optional
3421 non-modified utf8 version of the name) that
3424 2007-11-20 Alexander Larsson <alexl@redhat.com>
3426 * gio/glocalfileenumerator.c:
3427 Report errors as GIOError, not GFileError
3429 2007-11-16 Alexander Larsson <alexl@redhat.com>
3431 * gio/glocalfileoutputstream.c:
3432 * gio/gwin32appinfo.c:
3433 Fix typos in strings.
3434 Patch from Luca Ferretti <elle.uca@libero.it>
3436 2007-11-15 Alexander Larsson <alexl@redhat.com>
3439 Post release version bump
3441 === gio-standalone 0.1.2 ===
3443 2007-11-15 Alexander Larsson <alexl@redhat.com>
3445 * docs/reference/gio/Makefile.am:
3446 Fix up distcheck by removing weird
3452 2007-11-14 Alexander Larsson <alexl@redhat.com>
3454 * gio/gdesktopappinfo.c:
3455 * gio/glocaldirectorymonitor.c:
3457 * gio/glocalfileinfo.c:
3458 * gio/inotify/inotify-sub.c:
3459 * programs/gio-cat.c:
3460 * programs/gio-copy.c:
3461 * programs/gio-info.c:
3462 * programs/gio-ls.c:
3463 * programs/gio-monitor-dir.c:
3464 * programs/gio-monitor-file.c:
3465 * programs/gio-mount.c:
3466 * programs/gio-move.c:
3467 * programs/gio-rm.c:
3468 * programs/gio-save.c:
3469 * programs/gio-trash.c:
3470 Leak fixes from Kjartan Maraas
3472 2007-11-14 Alexander Larsson <alexl@redhat.com>
3474 * gio/fam/fam-helper.c:
3476 * gio/glocalfileinfo.c:
3480 * gio/inotify/inotify-diag.c:
3481 * gio/inotify/inotify-kernel.c:
3482 Various code cleanups from Kjartan Maraas
3484 2007-11-14 Alexander Larsson <alexl@redhat.com>
3486 * gio/gioscheduler.c:
3488 Set up threadpool so that we cache 2 unused
3489 idle threads for at 15 secs. This means we
3490 will reuse thread-local data (like dbus connections)
3493 2007-11-14 Alexander Larsson <alexl@redhat.com>
3495 * gio/fam/fam-helper.c:
3496 * gio/fam/gfamdirectorymonitor.c:
3497 * gio/fam/gfamfilemonitor.c:
3499 * gio/gcontenttype.c:
3500 * gio/gdatainputstream.c:
3501 * gio/gdataoutputstream.c:
3505 * gio/gfileattribute.h:
3506 * gio/gfileenumerator.c:
3508 * gio/ginputstream.c:
3511 * gio/glocalfileinfo.c:
3512 * gio/goutputstream.c:
3513 * gio/gpollfilemonitor.c:
3514 * gio/gsimpleasyncresult.c:
3515 * gio/gunixmounts.c:
3516 * gio/gunixmounts.h:
3517 * gio/inotify/ginotifydirectorymonitor.c:
3518 * gio/inotify/ginotifyfilemonitor.c:
3519 * gio/inotify/inotify-diag.c:
3520 * gio/inotify/inotify-kernel.c:
3521 * gio/inotify/inotify-path.c:
3523 * gio/test-streams.c:
3524 * programs/gio-info.c:
3525 * programs/gio-monitor-dir.c:
3526 * programs/gio-monitor-file.c:
3527 Various code cleanups from Kjartan Maraas
3529 2007-11-13 Alexander Larsson <alexl@redhat.com>
3532 Handle the uri-scheme calls for dummy files
3534 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3536 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3537 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3538 to avoid clash with the C++ keyword.
3540 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3542 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3543 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3545 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3547 * gio/glocaldirectorymonitor.c:
3548 * gio/glocalfilemonitor.c:
3549 * gio/gunionvolumemonitor.c:
3550 Don't use g_once_init_*() for initializations that could fail and
3551 could leave the initialization variable set to 0 but use GOnce.
3552 This prevents a deadlock on the second call when trying to create
3553 a monitor and no monitor type is available. Thanks to Sven Herzberg
3556 2007-11-11 Sven Herzberg <sven@imendio.com>
3558 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3559 #ifdef (make it work on MacOS X again)
3561 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3563 Fixes Changelog for last two commits (sorry guys).
3565 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3567 * gio/gbufferedinputstream.c:
3568 * gio/gdatainputstream.c:
3570 * gio/gfileoutputstream.c:
3571 * gio/gfilterinputstream.c:
3572 * gio/glocalfileinputstream.c:
3575 More consistency fixes in g*stream.c files.
3576 Significant clean of gfile's documentation, filling in of
3577 asynchronous operations documentation.
3579 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3581 * gio/gasyncresult.c:
3582 * gio/gbufferedinputstream.c:
3583 * gio/gbufferedoutputstream.c:
3584 * gio/gcancellable.c:
3585 * gio/gcontenttype.c:
3586 * gio/gdatainputstream.c:
3587 * gio/gdataoutputstream.c:
3588 * gio/gdesktopappinfo.c:
3591 * gio/gfileattribute.c:
3592 * gio/gio/gfileenumerator.c:
3594 * gio/gfileinputstream.c:
3595 * gio/gfilemonitor.c:
3596 * gio/gfileoutputstream.c:
3597 * gio/ginputstream.c:
3599 * gio/gioscheduler.c:
3600 * gio/gloadableicon.c:
3601 * gio/glocalfileoutputstream.c:
3602 * gio/gmemoryoutputstream.c:
3603 * gio/gmountoperation.c:
3604 * gio/goutputstream.c:
3606 * gio/gsimpleasyncresult.c:
3607 * gio/gunionvolumemonitor.c:
3608 * gio/gunixmounts.c:
3609 * gio/gunixvolume.c:
3613 * gio/gvolumemonitor.c:
3614 Updated documentation stubs, working towards consistency and
3617 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3619 * gio/gmemoryoutputstream.c:
3620 * gio/gmemoryoutputstream.h:
3621 Change g_memory_output_stream_set_free_on_close() to
3622 g_memory_output_stream_set_free_data() as this makes more sense and
3623 is more consistent with GMemoryInputStream.
3625 2007-11-07 Alexander Larsson <alexl@redhat.com>
3632 Change how we find the default vfs so that
3633 we can handle a gvfs failing to init
3635 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3637 * gio/gbufferedoutputstream.c:
3638 * gio/gdatainputstream.c:
3639 * gio/gdataoutputstream.c:
3640 * gio/gfileinputstream.c:
3641 * gio/gfileoutputstream.c:
3642 * gio/gfilterinputstream.c:
3643 * gio/gfilteroutputstream.c:
3644 * gio/ginputstream.c:
3645 * gio/gmemoryinputstream.c:
3646 * gio/gmemoryoutputstream.c:
3647 * gio/goutputstream.c:
3648 * gio/gsimpleasyncresult.c:
3649 * gio/gsocketinputstream.c:
3650 * gio/gsocketoutputstream.c:
3651 Add guards to the remaining public functions, add a TODO for
3652 an unimplemented function and remove some useless guards.
3654 2007-11-07 Alexander Larsson <alexl@redhat.com>
3657 Autoconf checks for the various types of
3658 getpwuid_r and getgrgid_r
3660 * gio/glocalfileinfo.c:
3661 Use the autoconf checks from above
3663 2007-11-07 Alexander Larsson <alexl@redhat.com>
3666 (g_local_file_query_filesystem_info):
3667 Some fixes for the statvfs case
3669 2007-11-07 Alexander Larsson <alexl@redhat.com>
3672 (g_local_file_query_filesystem_info):
3673 Pick the "best" of statfs / statvfs for the system
3674 if both are availible.
3676 2007-11-07 Alexander Larsson <alexl@redhat.com>
3678 Solaris fixes from Halton.Huo@Sun.COM:
3685 * gio/glocalfileinfo.c:
3686 Fix for solaris definition of getpwuid_r
3688 * gio/test-streams.c:
3689 Use G_GNUC_PRETTY_FUNCTION
3691 2007-11-07 Alexander Larsson <alexl@redhat.com>
3693 * gio/gdesktopappinfo.c:
3694 (update_default_list):
3695 Remove double semicolon.
3696 Patch from Jens Granseuer
3698 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3700 * docs/reference/gio/gio-sections.txt:
3701 * gio/gbufferedinputstream.c:
3702 * gio/gbufferedinputstream.h:
3703 * gio/gdatainputstream.c:
3704 * gio/gfileenumerator.c:
3705 * gio/gioscheduler.c:
3706 * gio/gunionvolumemonitor.c:
3708 * programs/gio-save.c:
3709 Fix typo: availible -> available. Unfortuntely this breaks API
3710 and ABI as g_buffered_input_stream_get_available() was renamed.
3712 * gio/gunixmounts.c:
3713 * gio/gbufferedinputstream.c:
3714 Add guards for public functions.
3716 2007-11-06 Ross Burton <ross@openedhand.com>
3718 * docs/reference/gio/Makefile.am:
3719 Fix invalid += usage which automake 1.10 doesn't like.
3721 2007-11-06 Alexander Larsson <alexl@redhat.com>
3724 (g_app_launch_context_class_init):
3727 Patch from Ross Burton
3729 2007-11-06 Alexander Larsson <alexl@redhat.com>
3732 Post release version bump
3734 === gio-standalone 0.1.1 ===
3736 2007-11-06 Alexander Larsson <alexl@redhat.com>
3739 Bump version to 0.1.1
3741 * gio/gsimpleasyncresult.c:
3742 (g_simple_async_result_set_from_error):
3743 Remove bogus g_return_if_fail
3745 2007-11-06 Alexander Larsson <alexl@redhat.com>
3748 The name is gio-standalone
3751 Add top src/builddir to includedir
3753 2007-11-06 Alexander Larsson <alexl@redhat.com>
3755 * docs/reference/gio/gio-sections.txt:
3757 * gio/gbufferedinputstream.c:
3758 * gio/gbufferedoutputstream.c:
3759 * gio/gcancellable.c:
3760 * gio/gdatainputstream.h:
3761 * gio/gdataoutputstream.c:
3762 * gio/gdataoutputstream.h:
3763 * gio/gdirectorymonitor.c:
3765 * gio/gfileattribute.c:
3766 * gio/gfileattribute.h:
3767 * gio/gfileenumerator.c:
3768 * gio/gfileenumerator.h:
3771 * gio/gfileinputstream.h:
3772 * gio/gfilemonitor.c:
3773 * gio/gfileoutputstream.h:
3774 * gio/glocalfilemonitor.h:
3775 * gio/glocalfileoutputstream.h:
3776 * gio/gmemoryinputstream.c:
3777 * gio/gmemoryoutputstream.c:
3778 * gio/gmountoperation.c:
3779 * gio/goutputstream.c:
3780 * gio/goutputstream.h:
3782 * gio/gsimpleasyncresult.c:
3783 * gio/gunixmounts.c:
3784 * gio/gunixmounts.h:
3786 * gio/inotify/inotify-helper.c:
3787 Fix gtk-doc warnings
3789 Patch from Ross Burton
3791 2007-11-06 Alexander Larsson <alexl@redhat.com>
3793 * gio/gfilenamecompleter.c:
3794 (g_filename_completer_get_completions):
3797 * gio/gunixvolume.c:
3798 Remove unused function
3800 Patches from Ross Burton
3802 2007-11-06 Alexander Larsson <alexl@redhat.com>
3807 Padding not needed for interfaces
3809 2007-11-06 Alexander Larsson <alexl@redhat.com>
3811 * gio/gfilemonitor.c:
3815 Make giotypes.h an internal file
3818 * gio/gbufferedinputstream.h:
3819 * gio/gbufferedoutputstream.h:
3820 * gio/gcancellable.h:
3821 * gio/gdatainputstream.h:
3822 * gio/gdataoutputstream.h:
3823 * gio/gdirectorymonitor.c:
3824 * gio/gdirectorymonitor.h:
3829 * gio/gfileattribute.h:
3830 * gio/gfileenumerator.h:
3835 * gio/gfilemonitor.c:
3836 * gio/gfilemonitor.h:
3837 * gio/gfilenamecompleter.c:
3838 * gio/gfilenamecompleter.h:
3839 * gio/gfilterinputstream.h:
3840 * gio/gfilteroutputstream.h:
3841 * gio/ginputstream.h:
3842 * gio/gmemoryinputstream.h:
3843 * gio/gmemoryoutputstream.h:
3844 * gio/gmountoperation.c:
3845 * gio/gmountoperation.h:
3846 * gio/gnativevolumemonitor.c:
3847 * gio/goutputstream.h:
3850 * gio/gsimpleasyncresult.c:
3851 * gio/gsimpleasyncresult.h:
3852 * gio/gsocketinputstream.h:
3853 * gio/gsocketoutputstream.h:
3854 * gio/gthemedicon.c:
3855 * gio/gthemedicon.h:
3859 * gio/gvolumemonitor.c:
3860 * gio/gvolumemonitor.h:
3861 Add padding in classes where it seems useful
3862 Don't include giotypes.h from public headers
3863 Move in Class definitions into c file where possible
3868 2007-11-06 Alexander Larsson <alexl@redhat.com>
3870 * docs/reference/gio/gio-docs.xml:
3871 Better structure for API docs
3873 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3876 * gio/gloadableicon.c:
3877 * gio/gsimpleasyncresult.c:
3878 * gio/gthemedicon.c:
3879 Add some more guards to public functions. Only files missing are now
3882 2007-11-06 Alexander Larsson <alexl@redhat.com>
3884 * docs/reference/gio/gio-docs.xml:
3885 Remove old files, add missing ones
3887 2007-11-06 Alexander Larsson <alexl@redhat.com>
3889 * docs/reference/gio/gio-sections.txt:
3892 Hide implementation classes
3894 * gio/gdriveprivate.h:
3895 * gio/gvolumeprivate.h:
3896 Remove non-existing function declarations
3898 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3901 Fix compilation warnings and add guards to the new functions.
3903 * gio/gasyncresult.c:
3905 Add guards to the public functions.
3908 Implement get_path().
3910 2007-11-06 Alexander Larsson <alexl@redhat.com>
3912 * gio/gfilenamecompleter.c:
3913 Make g_filename_completer_get_completions
3914 return char ** instead of GList for
3917 * docs/reference/gio/gio-docs.xml:
3918 * docs/reference/gio/gio-sections.txt:
3920 * gio/gasyncresult.c:
3921 * gio/gbufferedinputstream.c:
3922 * gio/gbufferedoutputstream.c:
3923 * gio/gcancellable.c:
3924 * gio/gcontenttype.c:
3925 * gio/gdatainputstream.c:
3926 * gio/gdataoutputstream.c:
3927 * gio/gdesktopappinfo.c:
3928 * gio/gdirectorymonitor.c:
3932 * gio/gfileattribute.c:
3933 * gio/gfileenumerator.c:
3936 * gio/gfileinputstream.c:
3937 * gio/gfilemonitor.c:
3938 * gio/gfilenamecompleter.c:
3939 * gio/gfilenamecompleter.h:
3940 * gio/gfileoutputstream.c:
3941 * gio/gfilterinputstream.c:
3943 * gio/ginputstream.c:
3945 * gio/gioscheduler.c:
3946 * gio/gloadableicon.c:
3947 * gio/glocaldirectorymonitor.c:
3949 * gio/glocalfileinputstream.c:
3950 * gio/glocalfilemonitor.c:
3951 * gio/glocalfileoutputstream.c:
3953 * gio/gmemoryinputstream.c:
3954 * gio/gmemoryoutputstream.c:
3955 * gio/gmountoperation.c:
3956 * gio/goutputstream.c:
3957 * gio/gpollfilemonitor.c:
3959 * gio/gsimpleasyncresult.c:
3960 * gio/gsocketinputstream.c:
3961 * gio/gsocketoutputstream.c:
3962 * gio/gthemedicon.c:
3963 * gio/gunionvolumemonitor.c:
3965 * gio/gunixmounts.c:
3966 * gio/gunixvolume.c:
3967 * gio/gunixvolumemonitor.c:
3971 * gio/gvolumemonitor.c:
3972 * gio/gwin32appinfo.c:
3973 Add (mostly stub) doc strings to public functions.
3974 Patch from Andrew Walton (awalton@gmail.com)
3976 2007-11-06 Alexander Larsson <alexl@redhat.com>
3978 * gio/gappinfo.[ch]:
3979 Added GAppLaunchContext object and pass that to launch.
3980 This allows simple implementation of both
3981 launch-on-screen and startup notification via a gtk+
3982 subclass of GAppLaunchContext
3984 * gio/gdesktopappinfo.c:
3985 Implement GAppLaunchContext API
3987 * gio/gwin32appinfo.c:
3990 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3992 * gio/gmountoperation.c:
3993 Add some guards to GMountOperation's public functions.
3995 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3999 * gio/gcancellable.c:
4000 * gio/gdirectorymonitor.c:
4002 * gio/gfileenumerator.c:
4003 * gio/gfilemonitor.c:,
4004 * gio/gfilenamecompleter.c:
4007 * gio/gioscheduler.c:
4011 * gio/gvolumemonitor.c:
4012 Add even more guards to various public functions.
4014 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4017 Add guards to the public functions of GAppInfo.
4019 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4021 * gio/gcontenttype.c:
4022 Add some more guards for public functions.
4024 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4026 * gio/fam/fam-module.c:
4027 * gio/fam/gfamdirectorymonitor.c:
4028 * gio/fam/gfamdirectorymonitor.h:
4029 * gio/fam/gfamfilemonitor.c:
4030 * gio/fam/gfamfilemonitor.h:
4031 * gio/inotify/ginotifydirectorymonitor.c:
4032 * gio/inotify/ginotifydirectorymonitor.h:
4033 * gio/inotify/ginotifyfilemonitor.c:
4034 * gio/inotify/ginotifyfilemonitor.h:
4035 Add proper copyright information and remove an unused variable
4036 in the GInotifyFileMonitor constructor.
4038 * gio/gcancellable.c:
4039 Add a guard for a public function and an assertion to prevent
4040 an undefined program state.
4042 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4044 * gio/gfileattribute.c:
4045 Don't run into an assertion if the given attribute value is NULL
4046 in g_file_attribute_value_get_*() but instead return a fallback
4047 value that makes sense in most situations. Passing them a attribute
4048 value with the wrong type will still run into an assertion.
4050 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4052 * gio/gfileattribute.c:
4054 Add even more guards to the public functions. Also fix the refcounting
4055 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4056 let g_file_info_list_attributes() filter the attributes by namespace
4057 instead of simply ignoring the namespace parameter.
4059 2007-11-03 Sven Herzberg <sven@imendio.com>
4061 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4062 (This makes gio work on MacOS X again)
4064 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4067 Build the gio subdirectory before the docs. Otherwise the build will
4070 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4071 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4072 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4073 Add guards to the public functions.
4075 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4077 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4078 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4079 to prevent a compiler warning.
4081 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4082 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4083 return something in the non-void function find_topdir_for().
4085 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4092 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4094 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4095 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4096 * gwin32appinfo.c (g_win32_app_info_launch):
4097 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4098 envp_for_startup_id, g_desktop_app_info_launch,
4099 g_desktop_app_info_launch_uris):
4101 Give an opaque 'startup_id' string instead of 'envp'.
4102 Support empty file lists for launching new windows.
4103 Fix infinite recursion bug when launching URIs.
4105 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4108 Add guard to the new g_file_get_uri_scheme() function.
4110 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4113 Convert a g_return_val_if_fail() to setting the GError instead as
4114 otherwise applications have to verify the parameter before otherwise
4115 and the parameter might come directly from the user.
4117 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4119 * gio/inotify/ginotify*.[ch]:
4120 Add missing copyright information.
4122 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4125 Add guards in the beginning of public functions to check for valid
4126 parameters and fix a bug in copy_stream_with_progress() that could've
4127 caused writing less bytes than reading.
4128 * gio/glocalfileinfo.c:
4129 Check for a NULL parameter and set the GError accordingly then.
4130 * gio/goutputstream.c:
4131 Fix the same bug as in gfile.c that could've caused writing less bytes
4132 than reading in g_output_stream_real_splice().
4134 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4137 Use the correct gvolumeprivate.h naming
4139 2007-11-01 Christian Kellner <gicmo@gnome.org>
4142 Remove leftover "$(daemon_sources)" entry.
4144 2007-11-01 Christian Kellner <gicmo@gnome.org>
4149 Add copyright information to source files.
4151 2007-11-01 Alexander Larsson <alexl@redhat.com>
4155 Add g_file_get_uri_scheme
4157 2007-11-01 Alexander Larsson <alexl@redhat.com>
4160 * gio/gdesktopappinfo.c:
4161 * gio/gwin32appinfo.c:
4162 Add g_app_info_get_default_for_uri_scheme.
4164 2007-11-01 Alexander Larsson <alexl@redhat.com>
4167 Correct filename for gdriveprivate.h
4169 2007-10-31 Alexander Larsson <alexl@redhat.com>
4172 Rename id:value to id:file
4175 * gio/glocalfileinfo.c:
4178 2007-10-31 Alexander Larsson <alexl@redhat.com>
4180 * gio/gunixvolume.c:
4182 Remove g_volume_get_platform_id, as thats not
4183 needed with the simpler union volume monitor
4185 2007-10-31 Alexander Larsson <alexl@redhat.com>
4188 * gio/guniondrive.[ch]: Removed.
4189 * gio/gunionvolume.[ch]: Removed.
4190 Remove GUnionDrive/Volume
4192 * gio/gunionvolumemonitor.c:
4193 Simplify union volume monitor, now we
4194 only have one native volume monitor and
4195 we use the actual volumes/drives from the
4196 child monitors instead of wrapping them
4198 * gio/gnativevolumemonitor.[ch]:
4199 Base class for native volume monitors.
4200 Includes priority and get_volume_for_mountpoint
4203 Add g_file_find_enclosing_volume
4206 Remove volume name fs attribute
4207 Add readonly fs attribute
4210 Implement readonly attribute
4211 remove volume name attribute
4212 Implement find_enclosing volume
4214 * gio/gunixmounts.c:
4215 Add a volume for "/".
4217 * gio/gunixvolume.[ch]:
4218 Set better name for /
4220 * gio/gunixvolumemonitor.[ch]:
4221 Derive from GNativeVolumeMonitor
4222 Implement get_volume_for_mountpoint
4225 GVolume typedef moved to gfile.h
4227 * gio/gvolumeprivate.h:
4228 Add g_volume_get_for_mount_path
4230 2007-10-31 Alexander Larsson <alexl@redhat.com>
4232 * gio/gunixmounts.[ch]:
4233 Add cache info to unix mount listers
4234 Make getmntent use threadsafe
4235 Add is_system_internal attribute for GUnixMount
4237 * gio/gunixvolume.c:
4238 (g_unix_volume_new):
4239 Use is_system_internal instead of own code
4241 * gio/glocaldirectorymonitor.c:
4242 * gio/gunixvolumemonitor.c:
4243 Update to new gunixmounts API
4248 2007-10-30 Alexander Larsson <alexl@redhat.com>
4251 Add volume name fsinfo attribute
4254 Read volume name info
4256 * gio/gunionvolumemonitor.c:
4257 Fix infinite loops when finalizing a union volume monitor
4259 2007-10-30 Alexander Larsson <alexl@redhat.com>
4261 * gio/goutputstream.[ch]:
4262 Add splice() with default implementation
4264 * gio/gsocketoutputstream.c:
4265 (g_socket_output_stream_write):
4266 Return error on cancellation correctly.
4268 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4270 * gio/glocalfile.c (g_local_file_trash):
4271 Do not leak a string.
4273 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4275 * gio/gfile.c (g_file_load_contents):
4276 Unref the stream after closing it.
4278 2007-10-25 Alexander Larsson <alexl@redhat.com>
4280 * gio/gioscheduler.h:
4283 2007-10-25 Alexander Larsson <alexl@redhat.com>
4287 Add g_file_has_uri_scheme and implement for local files
4289 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4291 * gio/gdesktopappinfo.c: do not leak a string.
4293 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4295 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4296 (g_local_directory_monitor_new):
4297 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4298 (g_local_file_monitor_new):
4299 Only look for the monitor type that should be used the first time
4300 and use g_qsort_with_data() instead of our own bubble sort
4303 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4306 * gio/fam/Makefile.am:
4307 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4308 * gio/fam/fam-helper.h:
4309 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4310 * gio/fam/gfamdirectorymonitor.c:
4311 * gio/fam/gfamdirectorymonitor.h:
4312 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4313 * gio/fam/gfamfilemonitor.h:
4314 * gio/glocaldirectorymonitor.c:
4315 * gio/glocaldirectorymonitor.h:
4316 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4317 * gio/glocalfilemonitor.h:
4318 * gio/inotify/Makefile.am:
4319 * gio/inotify/ginotifydirectorymonitor.c:
4320 * gio/inotify/ginotifydirectorymonitor.h:
4321 * gio/inotify/ginotifyfilemonitor.c:
4322 * gio/inotify/ginotifyfilemonitor.h:
4323 Implement the FAM and Inotify monitors as
4324 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4325 their own GIO module. GLocal(Directory|File)Monitor will use the
4326 monitor with the highest rank that is supported on that machine.
4328 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4331 Change GIO module dir to $(libdir)/gio/modules and change
4332 the log domain from GVFS to GIO. Also only export symbols starting
4333 with g_ in the resulting library.
4334 * gio/test-streams.c: (main):
4335 Set log handler for the GIO log domain.
4337 2007-10-22 Alexander Larsson <alexl@redhat.com>
4339 * gio/gfilenamecompleter.[ch]:
4340 Add g_filename_completer_set_dirs_only
4342 2007-10-22 Alexander Larsson <alexl@redhat.com>
4345 * gio/gurifuncs.[ch]:
4346 Add some simple URI helpers
4348 * gio/gfilenamecompleter.[ch]:
4349 Added object for filename (parse name actually) completion
4352 Handle ~ in parse names
4354 2007-10-17 Alexander Larsson <alexl@redhat.com>
4357 * gio/glocalfileinfo.c:
4358 Add and implement id:value attribute
4360 2007-10-17 Alexander Larsson <alexl@redhat.com>
4363 * gio/guniondrive.c:
4365 Add and implement g_drive_has_volumes
4367 2007-10-17 Alexander Larsson <alexl@redhat.com>
4370 * gio/glocalfileinfo.[ch]:
4371 Add unix:is_mountpoint and implement for local files
4373 2007-10-16 Alexander Larsson <alexl@redhat.com>
4375 * gio/gunionvolumemonitor.c:
4376 (g_union_volume_monitor_init):
4377 Fix up the unix type getting so that it works with gcc
4379 2007-10-12 Alexander Larsson <alexl@redhat.com>
4382 * gio/glocalfileinfo.c:
4383 Add thumbnail:failed to file info
4385 2007-10-12 Richard Hult <richard@imendio.com>
4387 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4388 optimizing away the get_type call (happens with some gcc versions,
4389 like the one shipped with OS X 10.4).
4391 2007-10-12 Alexander Larsson <alexl@redhat.com>
4393 * gio/glocalfileinfo.c:
4394 (_g_local_file_info_set_attribute):
4395 Fix build if not HAVE_XATTR
4396 Patch from Milosz Derezynski <internalerror@gmail.com>
4398 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4400 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4401 around for review, otherwise I would have asked you before
4404 2007-10-11 Alexander Larsson <alexl@redhat.com>
4407 Add thumbnail:path attribute
4409 * gio/glocalfileinfo.c:
4410 Implement thumbnail:path for local files
4412 2007-10-11 Alexander Larsson <alexl@redhat.com>
4414 * gio/glocalfileinfo.c:
4415 (_g_local_file_info_get):
4416 Avoid duplicate icon names
4418 2007-10-11 Alexander Larsson <alexl@redhat.com>
4420 * gio/gthemedicon.[ch]:
4421 Change g_themed_icon_get_names return type to const
4423 2007-10-10 Alexander Larsson <alexl@redhat.com>
4425 * gio/glocalfileinfo.c:
4426 Don't reference freed memory
4428 2007-10-10 Alexander Larsson <alexl@redhat.com>
4430 * gio/gfileattribute.c:
4433 * gio/glocalfileinfo.c:
4436 2007-10-10 Alexander Larsson <alexl@redhat.com>
4439 Check for NULL icons
4441 * gio/gfileattribute.c:
4442 Don't dup when getting objects (same as for string attributes)
4444 * gio/gicon.c (g_icon_equal):
4445 Safely handle NULLs in equal
4447 2007-10-10 Alexander Larsson <alexl@redhat.com>
4450 Fix c++ compilation issues
4451 Patch from Milosz Derezynski <internalerror@gmail.com>
4453 2007-10-10 Alexander Larsson <alexl@redhat.com>
4455 * programs/gio-monitor-dir.c:
4456 Don't crash if dir monitor not supported.
4458 2007-10-09 Alexander Larsson <alexl@redhat.com>
4461 Add missing G_END_DECLS
4463 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4465 * gio/gfile.c: (g_file_set_display_name),
4466 (g_file_query_settable_attributes),
4467 (g_file_query_writable_namespaces):
4468 Return NULL not FALSE on errors as the return type is a pointer.
4470 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4472 * gio/glocalfile.c: (g_local_file_monitor_file):
4473 Don't call monitor_file on the default interface vtable (which
4474 is NULL) but simply return NULL. The caller, GFile, will create a
4475 polling monitor if NULL is returned.
4477 2007-10-09 Alexander Larsson <alexl@redhat.com>
4481 * gio-unix-2.0.pc.in:
4482 Add gio-unix-2.0.pc if OS_UNIX
4485 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4487 2007-10-09 Alexander Larsson <alexl@redhat.com>
4489 * gio/gunixmounts.[ch]:
4490 Make unix mount monitoring API sane.
4491 Now its just a object with mounts_changed
4492 and mountpoints_changed signals.
4494 * gio/glocaldirectorymonitor.c:
4495 * gio/gunixvolumemonitor.c:
4496 Use new mount monitor api
4498 2007-10-09 Alexander Larsson <alexl@redhat.com>
4500 * gio/gunixmounts.[ch]:
4501 Move guess type into one call for mounts and one for mountpoints
4504 * gio/gunixvolume.c:
4507 2007-10-09 Alexander Larsson <alexl@redhat.com>
4509 * gio/gunixmounts.[ch]:
4510 Remove _ prefix in preparation to make this semi-public
4511 Hide implementation of structs
4513 * gio/glocaldirectorymonitor.c:
4515 * gio/gunixvolume.c:
4516 * gio/gunixvolumemonitor.c:
4517 Update for above API changes
4519 2007-10-08 Alexander Larsson <alexl@redhat.com>
4522 Better polling fallback. This also handles the case where we have
4523 a monitor_file implementation, but it fails.
4525 2007-10-08 Alexander Larsson <alexl@redhat.com>
4529 * gio/gunixmounts.c:
4530 * programs/gio-monitor-dir.c:
4531 * programs/gio-monitor-file.c:
4532 Added cancellable to file monitoring calls.
4533 These are really sync calls and need this.
4535 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4537 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4538 (g_local_vfs_class_init):
4539 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4540 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4542 2007-10-05 Alexander Larsson <alexl@redhat.com>
4544 * gio/gdirectorymonitorprivate.h:
4545 * gio/gfilemonitorprivate.h:
4546 * gio/gdirectorymonitor.h:
4547 * gio/gfilemonitor.h:
4548 Remove *private.h and move to the public API, so that
4549 we can do implementations outside gio (such as in gvfs)
4551 * gio/gdirectorymonitor.c:
4552 * gio/gfilemonitor.c:
4553 * gio/glocaldirectorymonitor.c:
4554 * gio/gpollfilemonitor.c:
4555 * gio/inotify/inotify-helper.c:
4556 * gio/fam/fam-helper.c:
4557 Update to the new header names
4559 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4561 * gio/gdirectorymonitor.c:
4562 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4565 2007-10-04 Alexander Larsson <alexl@redhat.com>
4567 * gio/glocalfileinfo.c (get_access_rights):
4568 Set CAN_TRASH when we can move the file.
4569 We should really also check for a parent trash dir.
4571 2007-10-04 Alexander Larsson <alexl@redhat.com>
4573 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4574 Add can_trash access attribute
4576 2007-10-04 Alexander Larsson <alexl@redhat.com>
4579 (g_local_file_trash):
4580 Create info file first. This is per-spec and allows
4581 us to actually trash directories.
4583 2007-10-02 Alexander Larsson <alexl@redhat.com>
4585 * gio/gdesktopappinfo.c:
4586 Implement the new mime support code.
4587 Always set app as handling mimetype when being set as default for it
4589 2007-10-01 Alexander Larsson <alexl@redhat.com>
4591 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4592 Fix up check for xattrs:
4594 2007-10-01 Alexander Larsson <alexl@redhat.com>
4597 (g_app_info_set_as_default_for_extension):
4598 (g_app_info_add_supports_type):
4599 (g_app_info_can_remove_supports_type):
4600 (g_app_info_remove_supports_type):
4601 Make these fail nicely if not implemented
4603 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4605 * gio/glocalfileoutputstream.c:
4606 * gio/glocalfileoutputstream.h:
4611 * programs/gio-save.c:
4612 Add a GFileCreateFlags argument to operations that can create
4615 2007-10-01 Alexander Larsson <alexl@redhat.com>
4617 * gio/gappinfo.[ch]:
4618 * gio/gdesktopappinfo.c:
4619 Add more (stubbed out) mime API needed for nautilus
4621 2007-10-01 Alexander Larsson <alexl@redhat.com>
4624 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4625 Add g_app_info_set_as_default_for_extension.
4627 * gio/gdesktopappinfo.c:
4628 Dummy for g_app_info_set_as_default_for_extension
4629 Support flags in g_app_info_create_from_commandline
4631 * gio/gwin32appinfo.c:
4633 Update for API changes
4635 * gio/gthemedicon.c:
4636 Properly NULL-terminate list of icon names
4638 2007-09-28 Alexander Larsson <alexl@redhat.com>
4640 * gio/gloadableicon.h:
4641 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4643 2007-09-28 Alexander Larsson <alexl@redhat.com>
4646 Install headers in $includedir/gio-standalone/
4648 * gio-2.0.pc.in: Added.
4649 * gio-standalone.pc.in: Removed.
4652 Renamed pkg-config file to match glib (for future move)
4653 Update to the new include dir
4656 Add more TODO comments
4658 2007-09-28 Alexander Larsson <alexl@redhat.com>
4660 * gio/gdesktopappinfo.[ch]:
4661 Expose new_from_filename
4662 Add getter for is_hidden and handle it better
4664 2007-09-28 Alexander Larsson <alexl@redhat.com>
4666 * gio/gfileinfo.[ch]:
4667 Rename g_file_size_format_for_display to
4668 g_format_file_size_for_display.
4669 Now it doesn't have the g_file prefix, so we
4670 can later move it to glib.
4672 2007-09-28 Alexander Larsson <alexl@redhat.com>
4674 * gio/gappinfo.[ch]:
4675 Add g_app_info_get_id and g_app_info_get_executable.
4676 Make all getters non-reffing
4677 Make g_app_info_launch take GFile arguments.
4678 Add must_support_uris argument to g_app_info_get_default_for_type.
4680 * gio/gwin32appinfo.c:
4681 Update to GAppInfo api changes
4683 * gio/gdesktopappinfo.c:
4684 Update to GAppInfo api changes
4685 Implement supports_xdg_startup_notify
4687 * gio/gfileicon.c (g_file_icon_get_file):
4688 Make getter non-reffing.
4693 2007-09-27 Alexander Larsson <alexl@redhat.com>
4695 * gio/gfileinfo.[ch]:
4696 Add g_file_size_format_for_display helper
4698 2007-09-27 Alexander Larsson <alexl@redhat.com>
4700 * gio/glocalfileinfo.c:
4701 Set UNIX_GID from gid, not from uid
4703 2007-09-27 Alexander Larsson <alexl@redhat.com>
4706 Add g_file_set_attributes_async
4708 2007-09-27 Alexander Larsson <alexl@redhat.com>
4710 * gio/glocalfile.c (g_local_file_set_display_name):
4711 Fix set_display_name to actually rename to the right place.
4712 Use lstat to look for existing files so we don't overwrite
4715 2007-09-26 Alexander Larsson <alexl@redhat.com>
4718 Add g_file_set_display_name_async()
4720 2007-09-26 Alexander Larsson <alexl@redhat.com>
4723 Add load_partial_contents async calls
4726 Make internal function static
4728 2007-09-26 Alexander Larsson <alexl@redhat.com>
4730 * gio/glocalfileinfo.c:
4731 Correctly detect broken symlinks
4733 2007-09-26 Alexander Larsson <alexl@redhat.com>
4735 * gio/gcancellable.c (g_cancellable_cancel):
4736 Allow cancel on NULL cancellable
4738 2007-09-25 Alexander Larsson <alexl@redhat.com>
4740 * gio/gsimpleasyncresult.c:
4741 Don't allocate g_error manually.
4742 Fixes g_slice/g_new mixup crash
4744 2007-09-25 Alexander Larsson <alexl@redhat.com>
4746 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4747 Actually set active_backend.
4748 This means the monitor will be cancelled correctly.
4750 2007-09-25 Alexander Larsson <alexl@redhat.com>
4752 * gio/gdirectorymonitor.c:
4753 Set timeout to NULL when destroying
4755 2007-09-25 Alexander Larsson <alexl@redhat.com>
4758 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4759 that is a better description of the error.
4761 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4763 * gio/gvfs.c: (g_vfs_get_local):
4764 Make the local vfs variable static. The same instance should
4767 2007-09-24 Alexander Larsson <alexl@redhat.com>
4769 * gio/glocalfileinfo.c:
4770 Pass in actual length read into sniffer, not the length
4773 2007-09-21 Alexander Larsson <alexl@redhat.com>
4775 * gio/gfileenumerator.c:
4778 * gio/gfileinputstream.c:
4779 * gio/gfileoutputstream.c:
4780 * gio/ginputstream.c:
4781 * gio/goutputstream.c:
4782 Don't crash if async callbacks are NULL
4784 2007-09-20 Alexander Larsson <alexl@redhat.com>
4787 Add async enumerate_children method and default
4790 2007-09-20 Alexander Larsson <alexl@redhat.com>
4793 Add g_file_contains_file & g_file_get_relative_path, since they
4794 were needed for nautilus.
4795 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4800 Implement new methods
4802 2007-09-17 Alexander Larsson <alexl@redhat.com>
4805 * gio/gfileinputstream.[ch]:
4806 * gio/gfileoutputstream.[ch]:
4808 * gio/glocalfileenumerator.[ch]:
4809 * gio/glocalfileinfo.[ch]:
4810 * gio/glocalfileinputstream.c:
4811 * gio/glocalfileoutputstream.c:
4812 * gio/gpollfilemonitor.c:
4813 * programs/gio-copy.c:
4814 * programs/gio-info.c:
4815 * programs/gio-move.c:
4816 Rename get_file_info to query_info() to make it clearer
4817 that these are not simple getters, but do i/o.
4819 2007-09-17 Alexander Larsson <alexl@redhat.com>
4821 * gio/gdatainputstream.[ch]:
4822 * gio/test-streams.c:
4823 Use _read_XXX instead of _get_XXX for the i/o calls
4826 2007-09-17 Alexander Larsson <alexl@redhat.com>
4829 Added needed stuff to TODO comment
4831 2007-09-17 Alexander Larsson <alexl@redhat.com>
4833 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4834 Don't error out removing the backup copy if it doesn't
4837 2007-09-14 Alexander Larsson <alexl@redhat.com>
4839 * programs/Makefile.am:
4840 * programs/gvfs-*.c:
4842 Renamed apps from gvfs-xxx to gio-xxx.
4844 2007-09-14 Alexander Larsson <alexl@redhat.com>
4847 * gio/gfileoutputstream.[ch]:
4848 * gio/glocalfileoutputstream.c:
4849 * programs/gvfs-save.c:
4850 g_file_output_stream_get_etag doesn't do i/o, so remove
4851 cancellation and error.
4853 2007-09-14 Alexander Larsson <alexl@redhat.com>
4856 Add new_etag output to replace_contents functions
4858 2007-09-14 Alexander Larsson <alexl@redhat.com>
4860 * gio/gfileoutputstream.[ch]:
4861 Add async get_file_info and default implementation
4863 2007-09-14 Alexander Larsson <alexl@redhat.com>
4865 * gio/gfileinputstream.c:
4866 Implement fallback wrapper for async get_file_info
4868 2007-09-14 Alexander Larsson <alexl@redhat.com>
4871 Add etag out argument to load_contents
4876 2007-09-14 Alexander Larsson <alexl@redhat.com>
4878 * gio/gcontenttype.c (looks_like_text):
4879 Whitespace like tab, cr and lf do not make the
4882 2007-09-14 Alexander Larsson <alexl@redhat.com>
4884 * gio/gfileinputstream.[ch]:
4885 Add async get_file_info.
4887 2007-09-13 Alexander Larsson <alexl@redhat.com>
4889 * gio/goutputstream.c (g_output_stream_write_all):
4890 Allow NULL for bytes_written
4892 2007-09-13 Alexander Larsson <alexl@redhat.com>
4894 * gio/gmemoryinputstream.[ch]:
4895 Add accessors for data
4897 2007-09-13 Alexander Larsson <alexl@redhat.com>
4899 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4900 Don't crash if length is NULL