1 2008-07-24 David Zeuthen <davidz@redhat.com>
5 Also export a g_mount_guess_content_type_sync() function.
7 2008-07-23 Matthias Clasen <mclasen@redhat.com>
9 529694 – SELinux context setting support
11 * gfileinfo.c: Support setting selinux attributes.
14 2008-07-22 Priit Laes <plaes@plaes.org>
16 Bug 544140 - fam-helper 64-bit issue?
18 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
20 2008-07-21 Matthias Clasen <mclasen@redhat.com>
22 * === Released 2.17.4 ===
24 2008-07-20 Matthias Clasen <mclasen@redhat.com>
26 * gvolumemonitor.[hc]:
31 * gmount.c: Documentation fixes
33 2008-07-19 Matthias Clasen <mclasen@redhat.com>
35 543504 – crash in Epiphany Web Browser: Opening local file
46 * gvolume.c: Register types thread-safely.
47 Patch by Christian Persch
49 2008-07-18 Matthias Clasen <mclasen@redhat.com>
51 * gcontenttype.c: Remove debug spew
53 2008-07-18 Matthias Clasen <mclasen@redhat.com>
55 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
58 * fen/fen-kernel.c: Remove a warning that was causing
59 crashes. Reported by Lin Ma.
61 2008-07-18 Matthias Clasen <mclasen@redhat.com>
63 Bug 543040 – async reading on dummy file will crash on
66 * gfile.c (open_read_async_thread): Cope with read_fn being
67 NULL. Reported by Lin Ma.
69 2008-07-18 Matthias Clasen <mclasen@redhat.com>
72 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
74 2008-07-16 Matthias Clasen <mclasen@redhat.com>
78 * giomodule.c: Rename a chapter id to avoid filename conflict.
80 2008-07-16 Matthias Clasen <mclasen@redhat.com>
82 Bug 540616 – mem leak in filechooser button
84 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
85 the mount entry. Reported by Chrisitan Persch
87 2008-07-16 Matthias Clasen <mclasen@redhat.com>
89 * gfile.c: Small documentation fixes.
91 2008-07-15 Matthias Clasen <mclasen@redhat.com>
93 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
95 2008-07-08 Matthias Clasen <mclasen@redhat.com>
100 * gmount.c: Documentation improvements.
102 2008-07-08 Matthias Clasen <mclasen@redhat.com>
105 * gmount.[hc]: Add g_mount_guess_content_type().
107 2008-07-06 David Zeuthen <davidz@redhat.com>
110 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
111 is needed for easily handling adoption of foreign volumes by
112 out-of-process volume monitors (#541793)
114 2008-07-06 David Zeuthen <davidz@redhat.com>
116 * gvolumemonitor.[ch]:
117 * gunionvolumemonitor.c: Export the eject-button signal on the
118 volume monitor class (#541794).
120 2008-07-06 Matthias Clasen <mclasen@redhat.com>
122 * gappinfo.c: More doc tweaks
124 2008-07-05 Matthias Clasen <mclasen@redhat.com>
126 * gappinfo.c: Clarify some docs
128 2008-07-03 Matthias Clasen <mclasen@redhat.com>
130 * gdesktopappinfo.c: Fix a stupid mistake.
132 2008-07-02 Matthias Clasen <mclasen@redhat.com>
134 * === Released 2.17.3 ===
136 2008-07-02 Matthias Clasen <mclasen@redhat.com>
138 * gfilemonitor.c: Fix the build.
140 2008-07-02 Matthias Clasen <mclasen@redhat.com>
142 Bug 536160 – Add g_file_monitor()
145 * gfile.[hc]: Add g_file_monitor which can return either
146 a file or a directory monitor. Proposed by Behdad Esfahbod
148 2008-07-02 Matthias Clasen <mclasen@redhat.com>
150 536733 – gio build failure on Irix
152 * glocalfile.c: Use a configure check for structfs.f_bavail.
154 2008-07-02 Matthias Clasen <mclasen@redhat.com>
156 Bug 534639 – add g_desktop_app_info_new_from_keyfile
159 * gdesktopappinfo.[hc]: Add a function to create a
160 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
162 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
164 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
166 2008-07-01 Matthias Clasen <mclasen@redhat.com>
168 * gunixmounts.c: Fix a doc typo.
170 2008-07-01 Cody Russell <bratsche@gnome.org>
172 * gio/gcontenttype.c:
173 * gio/gwin32appinfo.c:
174 * gio/gwin32volumemonitor.c:
175 * gio/gwin32mount.c: Fixed some include problems.
177 2008-07-01 Cody Russell <bratsche@gnome.org>
181 Moved all relevant typedefs into these files.
184 Updated wrt added files.
186 Split types into separate file for easier maintainership. (#538564)
188 2008-06-30 Matthias Clasen <mclasen@redhat.com>
190 Bug 540331 – g_file_append_to () documentation: can return NULL
192 * gfile.c (g_file_append_to): Clarify docs.
195 2008-06-30 Matthias Clasen <mclasen@redhat.com>
197 Bug 539090 – g_content_type_from_mime_type() should unalias
199 * gcontentype.c (g_content_type_from_mime_type): Unalias.
200 Patch by Markus Bergman
202 2008-06-30 Matthias Clasen <mclasen@redhat.com>
204 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
207 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
208 on ppc and alpha. Reported by Mart Raudsepp
210 2008-06-29 Matthias Clasen <mclasen@redhat.com>
213 * tests/memory-output-stream.c: Add some tests for
216 2008-06-29 Matthias Clasen <mclasen@redhat.com>
218 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
221 * gmemoryoutputstream.c (array_resize): Handle truncation to
222 zero correctly. Reported by Akira Tagoh
224 2008-06-29 Matthias Clasen <mclasen@redhat.com>
226 * gmemoryoutputstream.c: Trivial doc fixes
228 2008-06-29 Matthias Clasen <mclasen@redhat.com>
230 Bug 540802 – g_list_prepend doesn't concat lists
232 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
233 one list to another. Pointed out by Jan Arne Petersen
235 2008-06-28 Michael Natterer <mitch@imendio.com>
237 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
239 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
241 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
242 to avoid problems with partial icon themes.
244 2008-06-17 Hans Breuer <hans@breuer.org>
246 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
247 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
248 access again on win32, see bug #538127
249 * giomodule.c : ensure GWin32VolumeMonitor is registered
250 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
251 * Makefile.am makefile.msc : updated
253 2008-06-16 Hans Breuer <hans@breuer.org>
255 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
256 and initialization in one step avoids c99ism
258 2008-06-16 Christian Persch <chpe@gnome.org>
261 * gio/gbufferedinputstream.c
263 * gio/gdatainputstream.c
264 * gio/gdesktopappinfo.c
266 * gio/gfileenumerator.c
267 * gio/gfileinputstream.c
268 * gio/gfileoutputstream.c
270 * gio/glocaldirectorymonitor.c
272 * gio/glocalfileenumerator.c
273 * gio/glocalfileinfo.c
274 * gio/glocalfilemonitor.c
275 * gio/glocalfileoutputstream.c
276 * gio/gmemoryinputstream.c
277 * gio/gmemoryoutputstream.c
278 * gio/goutputstream.c
279 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
282 2008-06-16 Tor Lillqvist <tml@novell.com>
284 Bug 538362 - Get Win32 icons back in the file chooser
286 * gcontenttype.c (g_content_type_get_icon): Look up the icon
287 corresponding to a file extension in the Registry. Patch by Hans
289 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
291 2008-06-16 Tor Lillqvist <tml@novell.com>
293 Patches by Hans Breuer:
295 * glocalfile.c (is_xp_or_later): Handle compiling against older
296 SDK headers with missing VerifyVersionInfo(). Conditioned on
297 _MSC_VER, but should probably use some better test.
298 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
299 uninitialised statfs_result variable on Win32.
301 2008-06-16 Michael Natterer <mitch@imendio.com>
303 * *.c: chain up unconditionally in finalize() and dispose(). Also
304 don't dereference these function pointers when calling them since
305 that has no meaning at all.
307 2008-06-16 Ross Burton <ross@burtonini.com>
310 Remove check for dispose implementation as it annoys Emmanuele.
312 2008-06-16 Ross Burton <ross@burtonini.com>
314 Bug 536252 – GFileEnumerator should allow access to the containing
320 Add g_file_enumerator_get_container() and a container writeable
321 construct-only property. Also shuffle around typedefs to make it
324 * glocalfileenumerator.c:
325 * glocalfileenumerator.h:
327 Instead of a string filename take a GFile in the constructor and
328 use it to set the container property.
333 2008-06-16 Matthias Clasen <mclasen@redhat.com>
335 * gfile.c: Make includes more uniform
337 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
339 * tests/live-g-file.c (sample_struct):
340 Use less fancy unicode filenames, so the test doesn't fail
341 on Mac OS X (#531476).
343 2008-06-12 Matthias Clasen <mclasen@redhat.com>
345 * === Released 2.17.2 ===
347 2008-06-12 Matthias Clasen <mclasen@redhat.com>
349 * === Released 2.17.1 ===
351 2008-06-11 A. Walton <awalton@gnome.org>
353 * tests/g-file.c (test_g_file_new_null):
354 Fix broken test case.
356 2008-06-11 Matthias Clasen <mclasen@redhat.com>
358 * pltcheck.sh: We use g_clear_error now.
360 2008-06-11 Matthias Clasen <mclasen@redhat.com>
362 * glocalfile.c (g_local_file_enumerate_children): Revert
363 an unintended change.
365 2008-06-11 Matthias Clasen <mclasen@redhat.com>
367 * gfile.c (g_file_replace_contents): Don't unref before the last use.
369 2008-06-10 Matthias Clasen <mclasen@redhat.com>
371 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
374 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
375 as icon for the desktop directory, also make user-home and
376 user-desktop the preferred icons.
378 2008-06-10 Matthias Clasen <mclasen@redhat.com>
381 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
382 to add a name to the front of the list.
384 2008-06-10 Matthias Clasen <mclasen@redhat.com>
386 Bug 537392 – Additional colon in xattr name
388 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
389 too. Reported by Alessandro Morandi
391 2008-06-10 Matthias Clasen <mclasen@redhat.com>
393 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
396 * glocalfile.c (get_fs_type): Add afs and autofs.
397 Patch by Danny Baumann.
399 2008-06-10 Matthias Clasen <mclasen@redhat.com>
401 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
403 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
404 is no parent. (Owen Taylor, patch by Christian Neumair)
406 2008-06-10 Paolo Borelli <pborelli@katamail.com>
408 * gfile.c (g_file_replace_contents): do not leak the output stream.
410 2008-06-10 Michael Natterer <mitch@imendio.com>
412 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
413 uninitialized memory as array index.
415 2008-06-10 Tor Lillqvist <tml@novell.com>
417 * gcontenttype.c (g_content_type_can_be_executable)
418 (g_content_type_get_icon) [Win32]: Add TODO comments.
420 2008-06-09 Matthias Clasen <mclasen@redhat.com>
422 * xdgmime/Makefile.am: Fix the build
424 2008-06-09 Matthias Clasen <mclasen@redhat.com>
426 * gcontenttype.c (g_content_type_get_icon): Use icons specified
427 in the shared mime database, if available.
429 * xdgmime/*: Sync with upstream. This brings support for
430 glob weights, generic icons, and changes the cache format to
433 2008-05-28 Michael Natterer <mitch@imendio.com>
435 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
436 the global CPPFLAGS now.
438 * tests/data-input-stream.c
439 * tests/data-output-stream.c
440 * tests/g-file-info.c
442 * tests/live-g-file.c
443 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
445 2008-05-27 Matthias Clasen <mclasen@redhat.com>
447 * === Released 2.17.0 ===
449 * tests/live-g-file.c: Clean up after the tests, so make distcheck
450 doesn't complain about leftover files.
452 2008-05-27 simon.zheng <simon.zheng@sun.com>
454 * glocalfile.c: (g_local_file_query_filesystem_info):
455 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
457 2008-05-26 Michael Natterer <mitch@imendio.com>
459 * gmemoryoutputstream.h: declare
460 g_memory_output_stream_get_data_size().
462 2008-05-26 Matthias Clasen <mclasen@redhat.com>
464 * tests/*: Make tests work
466 2008-05-26 Matthias Clasen <mclasen@redhat.com>
468 * gio.symbols: Add g_memory_output_stream_get_data_size.
470 2008-05-25 Ross Burton <ross@burtonini.com>
473 Fix typo in error message (#534764).
475 2008-05-25 Ross Burton <ross@burtonini.com>
478 Fix circular dependency loop for gioenumtypes.h (#534759).
480 2008-05-19 Hans Breuer <hans@breuer.org>
482 * Makefile.am : EXTRA_DIST += makefile.msc
484 2008-05-17 Matthias Clasen <mclasen@redhat.com>
487 * gcontenttype.c: (g_content_type_from_mime_type):
488 New function to create a content type from a mime type. (#527175,
491 2008-05-17 Matthias Clasen <mclasen@redhat.com>
493 Bug 532965 – Should not return filesystem::free for certain file systems
495 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
496 free space for ncpfs.
498 2008-05-17 Matthias Clasen <mclasen@redhat.com>
500 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
502 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
503 st_dev might be zero.
505 2008-05-16 Tor Lillqvist <tml@novell.com>
507 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
508 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
510 2008-05-13 Bastien Nocera <hadess@hadess.net>
512 * gfile.c (has_valid_scheme): A URI scheme must start with a
513 letter, even if later more characters are allowed (#532852)
515 2008-05-05 Michael Natterer <mitch@imendio.com>
517 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
518 code from being checked in that breaks the build of applications
519 which use G_DISABLE_SINGLE_INCLUDES.
521 * makegioalias.pl: make the alias file include "glib.h" instead of
524 * gio.symbols: whitespace change to force regeneration of the
525 alias file after above script change.
527 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
529 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
531 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
533 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
535 2008-04-28 David Zeuthen <davidz@redhat.com>
537 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
538 displaying mounts in a subdirectory not accessible to the
541 2008-04-22 Michael Natterer <mitch@imendio.com>
543 * Makefile.am: fix library versioning (it was 0.0.0).
545 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
547 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
548 Default disable all loggings.
549 * fen/fen-kernel.c: (printevent), (port_add_kevent),
550 (port_fetch_event_cb): Fixed two macro nits.
552 2008-04-16 Matthias Clasen <mclasen@redhat.com>
554 * xdgmime/xdgmime.c: Rework the timestamp checking code
555 to protect against duplicate directories in XDG_DATA_DIRS.
556 Fixes fd.o bug 12513, reported by Joe Shaw.
558 2008-04-16 Matthias Clasen <mclasen@redhat.com>
560 Partically revert the last commit after realizing that
561 xdg_mime_media_type_equal doesn't have to init at all.
564 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
566 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
568 2008-04-16 Matthias Clasen <mclasen@redhat.com>
570 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
571 reported by Joe Shaw and Federico Mena Quintero.
573 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
574 (xdg_mime_media_type_equal): Turn into a wrapper around the
577 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
578 functions throughout.
580 2008-04-16 Michael Meeks <michael.meeks@novell.com>
582 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
583 tolerate an empty TryExec= line without failing; nautilus used
584 to create launchers with these in previous versions. Fixes #528433
586 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
588 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
589 after name. Fixes #527132.
591 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
593 * gfile.c: (g_file_replace):
596 2008-04-07 Matthias Clasen <mclasen@redhat.com>
598 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
600 * gfile.c (file_copy_fallback): Fix the argument order. Patch
601 by Christian Kellner.
603 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
605 * gunixmounts.c: (g_unix_mount_guess_should_display):
606 Don't list the user directory as a mount, fix potential issue
607 when other users have a similar naming and don't special case the
608 gvfs mounts there since that's not required (#525866)
610 2008-03-31 Alexander Larsson <alexl@redhat.com>
612 * glocalfile.c (get_parent):
615 2008-03-31 A. Walton <awalton@svn.gnome.org>
617 * gfile.c (g_file_query_file_type):
618 Always return a GFileType enum value (#520715).
620 2008-03-31 Alexander Larsson <alexl@redhat.com>
622 * glocalfileenumerator.c:
623 Read readdir() info in chunks (of 1000) and sort
624 the chunks by inode before stat:ing.
625 This is a 20% performance increase in testing
626 gvfs-ls on /usr/bin with cold cache.
628 2008-03-31 Alexander Larsson <alexl@redhat.com>
630 * gmemoryoutputstream.c:
631 Clarify docs for g_memory_output_stream_get_size.
632 Add g_memory_output_stream_get_data_size.
634 2008-03-30 Matthias Clasen <mclasen@redhat.com>
638 * gfile.h: Add g_file_query_file_type convenience function
639 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
641 2008-03-30 Matthias Clasen <mclasen@redhat.com>
644 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
646 2008-03-28 A. Walton <awalton@svn.gnome.org>
648 * giomodule.c (_g_io_modules_ensure_loaded):
649 Adds GIO_EXTRA_MODULES environment variable support, closing bug
652 2008-03-28 Alexander Larsson <alexl@redhat.com>
655 (copy_stream_with_progress):
658 2008-03-28 Alexander Larsson <alexl@redhat.com>
661 (copy_stream_with_progress):
662 (file_copy_fallback):
663 Fallback to g_file_query_info for source size
664 if g_file_input_stream_query_info fails. (#524579)
666 2008-03-28 Alexander Larsson <alexl@redhat.com>
668 * glocalfile.c (g_local_file_move):
669 Reuse old string instead of adding new one.
671 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
673 * fen/*.[hc]: still copyright issue. I hate copyright.
675 2008-03-27 Alexander Larsson <alexl@redhat.com>
677 * glocalfile.c (g_local_file_move):
678 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
679 file over directory. This is according to the docs and what the move via
680 copy+remove fallback does.
682 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
684 * fen/*.[hc]: Updated copyright.
686 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
688 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
690 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
692 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
693 not emit attribute changed events when optimizing changed events.
694 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
697 2008-03-19 Matthias Clasen <mclasen@redhat.com>
699 * gmountoperation.[hc]: Small documentation additions
701 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
703 * gunixmounts.c: (guess_mount_type):
704 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
706 2008-03-19 Alexander Larsson <alexl@redhat.com>
709 (copy_stream_with_progress):
710 Bump block side for copy to 64k to minimize
711 overhead for low latency links. (#523015)
713 2008-03-16 Tor Lillqvist <tml@novell.com>
715 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
716 depend on gio.def on Windows.
718 2008-03-12 David Zeuthen <davidz@redhat.com>
722 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
724 2008-03-14 Alexander Larsson <alexl@redhat.com>
728 Avoid redudant tests (#521851)
729 Patch from Josselin Mouette
731 2008-03-14 Alexander Larsson <alexl@redhat.com>
734 (g_file_monitor_is_cancelled):
735 Fix C89 issue (#521672)
736 Patch from Jens Granseuer
738 2008-03-14 Alexander Larsson <alexl@redhat.com>
740 * fam/fam-helper.[ch]:
742 Shut down fam (including removing fam GSource) when
743 module is unloaded (#521513)
744 Patch from Joe Marcus Clarke
746 2008-03-14 Alexander Larsson <alexl@redhat.com>
749 (_g_io_modules_ensure_loaded):
752 2008-03-14 Alexander Larsson <alexl@redhat.com>
755 (g_local_file_query_filesystem_info):
756 Use right define name for f_fstypename member check
758 2008-03-14 Alexander Larsson <alexl@redhat.com>
761 * fen/Makefile.am: Added.
762 * fen/fen-data.[ch]: Added.
763 * fen/fen-dump.[ch]: Added.
764 * fen/fen-helper.[ch]: Added.
765 * fen/fen-kernel.[ch]: Added.
766 * fen/fen-missing.[ch]: Added.
767 * fen/fen-node.[ch]: Added.
768 * fen/fen-sub.[ch]: Added.
769 * fen/gfendirectorymonitor.[ch]: Added.
770 * fen/gfenfilemonitor.[ch]: Added.
772 Added Solaris FEN file notification backend.
773 Patch from Lin Ma <Lin.Ma@Sun.COM>
775 2008-03-13 Tor Lillqvist <tml@novell.com>
777 * Makefile.am: Actually use the gio.def file when linking the
778 library on Windows. Produce .lib library for Microsoft's toolchain
779 when possible. Install the .lib and .def file like for the other
782 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
784 * tests/live-g-file.c:
785 Include live-g-file in standard set of tests, making a temporary
786 directory in source structure.
788 Clean target directory before the tests (write mode only)
790 2008-03-12 Tor Lillqvist <tml@novell.com>
792 Bug 517419 - gio win32 directory monitor
793 Implementation by Vlad Grecescu.
796 * win32/gwin32directorymonitor.h
797 * win32/gwin32directorymonitor.c: New files.
799 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
801 * Makefile.am: Add the win32 subdirectory.
803 2008-03-12 Tor Lillqvist <tml@novell.com>
805 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
806 normal struct stat on Unix but struct _stati64 on Windows to have
807 access to 64-bit file size information. Use that instead of struct
808 stat in the functions declared here in this private header.
810 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
811 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
812 warnings about unused functions and variables. Don't set
813 meaningless attributes like inode numbers on Windows.
815 2008-03-12 Benjamin Otte <otte@gnome.org>
818 trim whitespace so gtk-doc groks the function name
820 2008-03-12 Tor Lillqvist <tml@novell.com>
822 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
823 returning FALSE, on Win32.
825 2008-03-11 Alexander Larsson <alexl@redhat.com>
828 * glocalfileinfo.[ch]:
829 Correctly implement can_trash by actually
830 looking for a trash dir, not just assuming
833 2008-03-10 Matthias Clasen <mclasen@redhat.com>
835 * === Released 2.16.1 ===
837 2008-03-11 Alexander Larsson <alexl@redhat.com>
840 Fix crashes in new constructor and properties code
842 2008-03-10 Murray Cumming <murrayc@murrayc.com>
844 * gfile.c: Minor spelling correction in documentation:
845 existance -> existence.
847 2008-03-10 Matthias Clasen <mclasen@redhat.com>
849 * === Released 2.16.0 ===
851 2008-03-10 Matthias Clasen <mclasen@redhat.com>
853 * gio.symbols: Remove g_file_contains_file here, too.
855 2008-03-10 Matthias Clasen <mclasen@redhat.com>
857 * gthemedicon.c: Add properties to make bindings happy. (#517676,
858 Samuel Cormier-Iijima)
860 2008-03-08 Tor Lillqvist <tml@novell.com>
862 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
865 2008-03-07 Alexander Larsson <alexl@redhat.com>
868 (g_local_file_query_filesystem_info):
869 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
870 Patch from Jasper Lievisse Adriaanse
872 2008-03-06 Tor Lillqvist <tml@novell.com>
874 * gfileinfo.h: Correct milliseconds to microseconds in the doc
875 comments for the *_USEC attributes.
877 2008-03-06 Alexander Larsson <alexl@redhat.com>
879 * gfile.c (g_file_query_exists):
880 Add g_return_val_if_fail check (#520700)
882 2008-03-06 Alexander Larsson <alexl@redhat.com>
887 * gunionvolumemonitor.c:
890 * tests/live-g-file.c:
891 * xdgmime/xdgmimecache.c:
892 Fix sparse warnings (#519489)
894 2008-03-05 Alexander Larsson <alexl@redhat.com>
897 Make cancellation threadsafe (i.e.
898 guarantee its only done once, and always
901 * glocaldirectorymonitor.c:
902 Make sure we the monitor lives while the
903 mounts_changed callback is being called (#520484)
905 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
907 * gbufferedinputstream.c: Fix typo in parameter
910 2008-03-04 Alexander Larsson <alexl@redhat.com>
913 Remove deprecated symbols we kept for one release.
915 2008-03-04 Murray Cumming <murrayc@murrayc.com>
918 * goutputstream.c: Tiny documentation corrections.
920 2008-03-03 Alexander Larsson <alexl@redhat.com>
922 * gunionvolumemonitor.c:
924 Fix the adopt_orphan_mount vfunc to take a
925 volume_monitor reference in an ABI compat way.
926 This change is not API compat, but the added
927 arg is not used in the only user of this vfunc, so
928 all we get is a harmless warning in gvfs (#520169)
930 2008-03-01 Benjamin Otte <otte@gnome.org>
933 clarify docs for g_file_delete().
935 2008-02-29 Alexander Larsson <alexl@redhat.com>
939 Make sure empty files get text/plain type (#518720)
941 2008-02-27 Alexander Larsson <alexl@redhat.com>
947 (g_unix_volume_mount):
948 Add missing GMountMountFlags argument
950 2008-02-26 Alexander Larsson <alexl@redhat.com>
953 (g_local_file_delete):
954 Handle filesystems (like ntfs-3g) that return EEXIST instead
955 of ENOTEMPTY (#518816)
957 2008-02-25 Matthias Clasen <mclasen@redhat.com>
959 * === Released 2.15.6 ===
961 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
963 * gfile.c (g_file_find_enclosing_mount):
964 * ginputstream.c (g_input_stream_set_pending):
965 * glocalfile.c (g_local_file_find_enclosing_mount):
966 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
967 * goutputstream.c (g_output_stream_set_pending):
969 Fixup translator comments (#518578).
971 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
973 * gfile.c (g_file_find_enclosing_mount):
975 * glocalfile.c (g_local_file_find_enclosing_mount):
978 Fix a few typos in translator comments and documentation.
980 2008-02-25 Alexander Larsson <alexl@redhat.com>
987 Add translator comments (#518578)
989 2008-02-25 Alexander Larsson <alexl@redhat.com>
992 Reintroduce g_file_contains_file, keep around for one
993 unstable release cycle to avoid crashing to many apps.
994 Make sure to delete after release.
996 2008-02-25 Alexander Larsson <alexl@redhat.com>
999 Remove deprecated g_file_contains_file.
1001 2008-02-25 Alexander Larsson <alexl@redhat.com>
1004 Emit actual change signals in an idle handler.
1005 This avoids reentrance and locking problems in
1006 the file notification backends.
1008 2008-02-25 Alexander Larsson <alexl@redhat.com>
1011 (g_unix_mount_guess_should_display):
1012 Remove type guessing, instead just display
1013 mounts in /media and in ~/.
1015 2008-02-25 Alexander Larsson <alexl@redhat.com>
1018 Make new strings reuse old ones.
1020 2008-02-25 Alexander Larsson <alexl@redhat.com>
1023 Implement trashing and filesystem::readonly for win32 (#517235)
1024 Patch from Yevgen Muntyan
1026 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1028 * gfileinfo.h: Documentation fixes.
1030 2008-02-22 Alexander Larsson <alexl@redhat.com>
1032 * gcontenttype.c (g_content_type_get_icon):
1033 Look at old-style gnome mime icon names too, as many
1034 have not moved to the new style.
1036 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1038 * *.c: Correct the @include in for section docs.
1040 2008-02-21 David Zeuthen <davidz@redhat.com>
1042 * glocalfileinfo.c: (_g_local_file_info_get):
1044 (g_content_type_get_icon): Implement this function by
1045 moving bits from glocalfileinfo.c
1046 (g_content_type_get_description): Unalias before getting
1047 description (#517687)
1049 * gfile.c: (g_file_class_init),
1050 (g_file_query_filesystem_info_async),
1051 (g_file_query_filesystem_info_finish),
1052 (query_filesystem_info_data_free),
1053 (query_filesystem_info_async_thread),
1054 (g_file_real_query_filesystem_info_async),
1055 (g_file_real_query_filesystem_info_finish):
1056 * gfile.h: Implement async version of
1057 g_file_query_filesystem_info()
1059 * gfileinfo.h: Add new attributes for filesystem::use-preview
1061 * gio.symbols: Update
1063 * gthemedicon.c: (g_themed_icon_append_name):
1064 * gthemedicon.h: Add new new convenience function.
1066 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1067 (get_mounts), (get_volumes), (get_connected_drives),
1068 (get_volume_for_uuid), (get_mount_for_uuid),
1069 (g_union_volume_monitor_init), (populate_union_monitor),
1070 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1071 (g_volume_monitor_adopt_orphan_mount):
1073 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1074 monitor implementations to call into the main volume monitor. Also
1075 separate object initialization and volume monitor initialization
1076 such that non-native volume monitors can properly adopt their
1079 2008-02-21 Alexander Larsson <alexl@redhat.com>
1084 2008-02-21 Alexander Larsson <alexl@redhat.com>
1087 Add more documentation about how GFiles work (from #517086)
1089 2008-02-21 Alexander Larsson <alexl@redhat.com>
1093 Add new g_file_has_prefix that does the same as g_file_contains_file.
1094 Deprecate g_file_contains_file and add a macro that converts
1095 it to g_file_has_prefix.
1096 The reason for this change is that the contains_file() name seems to
1097 imply that this does more work than what it does, but its really only
1098 a name match (from #517086)
1103 Update to match the above change.
1105 2008-02-20 Benjamin Otte <otte@gnome.org>
1107 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1108 (g_file_eject_mountable):
1109 even more cases of not returning in error path
1111 2008-02-20 Benjamin Otte <otte@gnome.org>
1113 * gfile.c: (g_file_mount_mountable):
1114 return from function in error path.
1116 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1119 Remove trailing coma in GMountMountFlags struct
1121 2008-02-18 Alexander Larsson <alexl@redhat.com>
1125 * glocalfileoutputstream.c:
1126 Use g_unlink/g_rename instead of unlink/rename;
1127 do not pass raw filenames to g_set_error. (#517239)
1128 Patch from Yevgen Muntyan.
1130 2008-02-18 Alexander Larsson <alexl@redhat.com>
1133 * glocalfileoutputstream.c:
1134 Open files with O_BINARY on windows. (#517140)
1136 2008-02-14 Alexander Larsson <alexl@redhat.com>
1138 * glocalfileoutputstream.c:
1139 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1141 2008-02-14 Alexander Larsson <alexl@redhat.com>
1144 Copy permissions with file on copy (#514084)
1145 This is what cp does and makes sure e.g. the
1146 exec permissions are kept.
1147 Its kinda weird in that it keeps the permission bits
1148 the same while the uid and gid are different. However
1149 the new uid is the user so its not a security issue,
1150 and I've heard no complaints about cp on this issue.
1152 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1154 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1156 2008-02-13 Alexander Larsson <alexl@redhat.com>
1158 * inotify/inotify-path.c:
1159 Define IN_ONLYDIR if not in header (#515346)
1161 2008-02-12 Alexander Larsson <alexl@redhat.com>
1163 * tests/live-g-file.c:
1166 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1168 * === Released 2.15.5 ===
1170 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1172 * gio.symbols: Add g_mount_mount_flags_get_type.
1174 2008-02-11 Alexander Larsson <alexl@redhat.com>
1177 (g_file_info_set_attribute_mask):
1178 (g_file_attribute_matcher_matches_id):
1179 Correctly handle NULL GAttributeMatcher meaning
1180 matches nothing. (Fixes #513492)
1182 2008-02-11 Alexander Larsson <alexl@redhat.com>
1187 Added GMountMountFlags enum and added a flags
1188 argument to all mount calls.
1190 This is an API/ABI change for future extensibility,
1191 as I think we will need at least an
1192 inhibit-autorun flag (the panel needs this).
1193 There are no flags defined yet though.
1195 2008-02-11 Alexander Larsson <alexl@redhat.com>
1198 Added new standard::description attribute.
1199 Requested by Vincent, and useful for both
1202 2008-02-11 Alexander Larsson <alexl@redhat.com>
1204 * gdesktopappinfo.c:
1207 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1209 * *.c: Documentation additions
1211 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1213 * gappinfo.h: Formatting cleanup
1214 * gappinfo.c: Fix up docs.
1216 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1218 * gunixmounts.c: Consistently use getmntent_r() and fall
1219 back to getmntent(). (#515492)
1221 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1223 * gbufferedinputstream.c:
1225 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1227 * tests/data-input-stream.c:
1228 * tests/data-output-stream.c: Portability fixes.
1230 2008-02-08 Alexander Larsson <alexl@redhat.com>
1235 Add g_volume_should_automount.
1238 2008-02-07 Tor Lillqvist <tml@novell.com>
1240 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1241 Win32, too Unix-specific.
1243 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1245 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1246 a local plt if the compiler doesn't support what we want. Bug #514702
1248 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1250 reviewed by: <delete if not using a buddy>
1253 * gunixinputstream.c:
1254 * gunixoutputstream.c:
1256 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1258 * tests/Makefile.am:
1259 * tests/live-g-file.c:
1260 * tests/live-g-file.txt:
1261 New GIO testing module working over real data
1263 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1265 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1266 Fallback to rename() if link() is not available
1267 (when no support on target filesystem)
1269 2008-02-06 Michael Natterer <mitch@imendio.com>
1271 * gfileinfo.c (g_file_info_get_icon): replace
1272 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1274 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1276 * gfile.c (g_file_create):
1277 Documentation update of error codes
1279 2008-02-06 Alexander Larsson <alexl@redhat.com>
1281 * gdesktopappinfo.c:
1282 Update to use both mimeapps.list and
1283 defaults.list as discussed on xdg list.
1285 2008-02-06 Benjamin Otte <otte@gnome.org>
1288 * gfilenamecompleter.c:
1289 Fix some typos in the documentation.
1291 2008-02-06 Alexander Larsson <alexl@redhat.com>
1293 * glocalfile.c (g_local_file_trash):
1294 Don't succeed with trash if newly created
1295 trash dir has the wrong owner. (#514696)
1297 2008-02-05 Alexander Larsson <alexl@redhat.com>
1299 * glocalfile.c (g_local_file_move):
1300 Don't spew warnings when destination is not
1303 2008-02-03 Hans Breuer <hans@breuer.org>
1305 * makefile.msc : update
1307 2008-02-01 Michael Natterer <mitch@imendio.com>
1309 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1310 return value of xdg_mime_list_mime_parents() to a variable of the
1313 2008-02-01 Alexander Larsson <alexl@redhat.com>
1315 * gappinfo.c (g_app_info_launch_uris):
1316 Actually call the launch_uris method, not
1319 2008-02-01 Alexander Larsson <alexl@redhat.com>
1321 * gdesktopappinfo.c (g_desktop_app_info_equal):
1322 Ensure appinfos with no id but same pointer value
1325 2008-02-01 Alexander Larsson <alexl@redhat.com>
1327 * gappinfo.c (g_app_info_launch_default_for_uri):
1330 2008-02-01 Alexander Larsson <alexl@redhat.com>
1334 Add g_app_info_launch_default_for_uri utility
1337 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1339 * gdesktopappinfo.c:
1340 Doc fix for g_app_info_get_default_for_uri_scheme ()
1343 2008-01-30 Alexander Larsson <alexl@redhat.com>
1346 Add doc comment about uris vs GFiles to
1349 * gdesktopappinfo.c:
1350 Ensure uris passed to g_app_info_launch_uris()
1351 are not roundtriped through GFile (as that
1352 may be slightly destructive for e.g. mailto: links)
1354 2008-01-30 Alexander Larsson <alexl@redhat.com>
1356 * tests/data-input-stream.c:
1357 * tests/data-output-stream.c:
1358 C89 fixes from Jens Granseuer (#512849)
1360 2008-01-30 Alexander Larsson <alexl@redhat.com>
1363 Fix gamin/fam difference build issue. (#509419)
1365 2008-01-29 Alexander Larsson <alexl@redhat.com>
1368 * gdesktopappinfo.c:
1369 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1371 2008-01-29 Alexander Larsson <alexl@redhat.com>
1373 * gdesktopappinfo.c:
1374 * gdesktopappinfo.h:
1375 giomodule-priv.h include moved to .c file.
1377 2008-01-29 Alexander Larsson <alexl@redhat.com>
1379 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1380 Remove unused prio/name fields.
1382 2008-01-29 Alexander Larsson <alexl@redhat.com>
1384 * gcontenttype.c (looks_like_text):
1385 Don't treat whitespace as control chars.
1387 2008-01-29 Alexander Larsson <alexl@redhat.com>
1389 * gdesktopappinfo.c:
1390 Lazily create the desktop files for appinfos created
1391 by g_app_info_create_from_commandline() when needed
1392 for mime associations. This allows run-time use
1393 of GAppInfo object without creating unnecessary
1396 2008-01-29 Alexander Larsson <alexl@redhat.com>
1399 Added new symbols to gio.symbols
1401 2008-01-29 Alexander Larsson <alexl@redhat.com>
1404 Add g_file_query_default_handler utility to easily look up
1405 the GAppInfo that handles a file.
1407 * gdesktopappinfo.[ch]:
1409 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1412 Remove unused function
1414 2008-01-29 Alexander Larsson <alexl@redhat.com>
1416 * gfileenumerator.c:
1417 Mention need to free returned value in
1418 g_file_enumerator_next_files_finish docs.
1419 Fix leak if g_file_enumerator_next_files_finish()
1422 2008-01-29 Alexander Larsson <alexl@redhat.com>
1425 (_g_unix_content_type_get_parents):
1426 Use list_parents, not get_parents from xdgmime, because
1427 the later doesn't use the cache.
1429 * xdgmime/xdgmimecache.c:
1430 (_xdg_mime_cache_list_mime_parents):
1431 Don't list the same type as parent multiple times.
1433 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1435 * === Released 2.15.4 ===
1437 2008-01-28 Alexander Larsson <alexl@redhat.com>
1440 Register local vfs with prio 0.
1443 Remove old name and prio class members
1445 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1447 * tests/g-file.c: Disable some tests that are failing in
1448 the absence of a http backend.
1450 2008-01-28 Alexander Larsson <alexl@redhat.com>
1454 Add registration hooks for extension points.
1455 Register the gio extension points.
1457 * fam/gfamdirectorymonitor.c:
1458 * fam/gfamfilemonitor.c:
1459 * glocaldirectorymonitor.[ch]:
1460 * glocalfilemonitor.[ch]:
1461 * gnativevolumemonitor.h:
1462 * gunionvolumemonitor.c:
1463 * gunixvolumemonitor.c:
1466 * inotify/ginotifydirectorymonitor.c:
1467 * inotify/ginotifyfilemonitor.c:
1468 Use the extension points registration instead
1469 of g_type_children().
1471 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1474 * gvolume.[hc]: Document new API.
1476 * gfile.c (g_file_copy_async): Fix docs
1478 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1480 * gbufferedinputstream.c:
1482 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1485 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1487 * glocalfile.c: Avoid trivial differences in translatable strings.
1489 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1491 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1492 build with gcc 3.4 (#509419)
1494 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1496 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1497 (#509994, Murray Cumming)
1499 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1501 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1502 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1503 this allows big jobs to be executed in chunks, instead of blocking
1504 the main loop for a long time.
1506 * gsimpleasyncresult.c:
1507 * giofile.c: Adapt callers.
1509 2008-01-25 Alexander Larsson <alexl@redhat.com>
1511 * gdesktopappinfo.c:
1512 Implement changes discussed on xdg list.
1513 Now we can add supported mimetypes by just using defaults.list
1514 We can also remove associations in defaults.list.
1516 2008-01-25 Alexander Larsson <alexl@redhat.com>
1518 * gdesktopappinfo.c:
1519 Don't make local copy of desktop file
1520 for mimetype changes if the file already
1521 supports the new mimetype.
1523 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1527 * gbufferedinputstream.c:
1528 * glocalfile.c: String improvements. (#511966,
1529 Theppitak Karoonboonyanan)
1531 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1533 * gioscheduler.h: Expand docs a bit.
1535 2008-01-24 Alexander Larsson <alexl@redhat.com>
1538 Add g_drive_get_identifier and
1539 g_drive_enumerate_identifiers
1542 Add g_volume_get_identifier and
1543 g_volume_enumerate_identifiers
1549 Implement identifiers for unix backend
1551 2008-01-24 Alexander Larsson <alexl@redhat.com>
1556 Add g_file_copy_async() (#511580)
1557 Based on patch from Carlos Garcia Campos
1559 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1561 * gioscheduler.c: Some documentation additions.
1563 2008-01-22 Alexander Larsson <alexl@redhat.com>
1565 * gdesktopappinfo.c:
1566 (g_desktop_app_info_new):
1567 Don't leak basename.
1569 2008-01-22 Alexander Larsson <alexl@redhat.com>
1571 * gdesktopappinfo.c:
1572 (g_desktop_app_info_new_from_filename):
1575 2008-01-22 Alexander Larsson <alexl@redhat.com>
1577 * glocalfileinfo.c (get_thumbnail_attributes):
1580 2008-01-22 Alexander Larsson <alexl@redhat.com>
1583 (canonicalize_filename):
1584 Canonicalize paths that start with more than
1588 (compare_two_files):
1589 (test_g_file_new_for_path):
1592 2008-01-22 Alexander Larsson <alexl@redhat.com>
1595 Allow UTF-8 in file:// parse names.
1597 * tests/Makefile.am:
1598 * tests/data-input-stream.c:
1599 * tests/data-output-stream.c:
1600 * tests/g-file-info.c:
1602 Added a bunch of tests from Tomas Bzatek
1604 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1606 * === Released 2.15.3 ===
1608 2008-01-21 Alexander Larsson <alexl@redhat.com>
1610 * gfileinputstream.[ch]:
1611 * gfileoutputstream.[ch]:
1613 Remove duplicated GSeekable functions. (#509990)
1614 Just use the g_seekable_xxx() calls instead.
1616 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1619 * gvolumemanager.c: Whitespace cleanups.
1621 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1622 Use the right mode when creating the file.
1624 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1626 * gfileenumerator.c:
1627 * gfileinputstream.c:
1629 * goutputstream.c: Documentation: Fixed minor typos
1630 and added more mentions of specific _finish() functions.
1632 2008-01-21 Alexander Larsson <alexl@redhat.com>
1634 * inotify/Makefile.am:
1635 * inotify/inotify-helper.c:
1636 * inotify/inotify-kernel.c:
1637 * inotify/inotify-path.c:
1638 * inotify/local_inotify.h: Removed.
1639 * inotify/local_inotify_syscalls.h: Removed.
1640 Removed the included copies of the inotify
1641 headers. We now only use the <sys/inotify.h>
1642 header which exists on modern systems.
1643 This fixes problems on ARM and SH5 (#510448)
1644 but is also generally much cleaner and future
1645 safe. For instance, if other OSes add support
1646 for inotify it should "just work".
1648 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1650 * inotify/*.c: Coding style fixes.
1651 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1652 for the 1/4 Hz timer.
1654 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1657 * gfilemonitor.[hc]:
1658 * gmemoryinputstream.c:
1659 * gmemoryoutputstream.c:
1660 * gmountoperation.c:
1661 * gthemedicon.c: Documentation updates
1663 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1665 * gfile.c: documentation: Fixed more minor
1668 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1670 * gmount.c: (g_mount_remount): documentation:
1671 Mention g_mount_remount_finish() instead of
1672 g_mount_unmount_finish().
1674 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1678 * gfile.c: Fixed some minor typos in the
1681 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1683 * gio/gvolumemonitor.c:
1684 (g_volume_monitor_get_connected_drives):
1685 (g_volume_monitor_get_volumes):
1686 (g_volume_monitor_get_mounts): Documentation:
1687 Clarify the ownership of the regurn GLists.
1689 2008-01-17 Alexander Larsson <alexl@redhat.com>
1692 Add the async find_enclosing_mount version
1693 to the header file too.
1695 2008-01-17 Alexander Larsson <alexl@redhat.com>
1698 Add async version of find_enclosing_mount
1699 with default implementation.
1701 2008-01-17 Alexander Larsson <alexl@redhat.com>
1706 Allow calls to implementation of copy and write
1707 even if the type of the file implementations is
1708 different. This can be used to implement native
1709 upload and download calls in a vfs.
1712 (g_local_file_move):
1713 Protect against the case where move is called
1714 with one file not being local.
1716 Make sure we call the progress callback once
1717 in the native move operation so that the caller
1718 knows how many bytes were copied.
1720 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1723 * gdatainputstream.c:
1725 * gfileoutputstream.c:
1730 * gunixmounts.c: Corrected some typos in the documentation:
1731 occured -> occurred.
1732 its -> it's (where appropriate).
1734 2008-01-16 Alexander Larsson <alexl@redhat.com>
1738 Add g_file_query_exists (#508771)
1740 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1745 * gvolume.c: For async functions that have no non-async
1746 version, document that the GAsyncReadyCallback may be NULL.
1749 2008-01-15 Alexander Larsson <alexl@redhat.com>
1751 * gmemoryinputstream.c:
1752 * gmemoryoutputstream.c:
1753 Don't do pointer arithmetic on void * (#508602)
1754 Patch from Kazuki IWAMOTO
1756 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1758 * === Released 2.15.2 ===
1760 2008-01-14 Alexander Larsson <alexl@redhat.com>
1762 * gfile.c (g_file_monitor_file):
1763 Don't set error here, since we fallback to polling monitor.
1765 2008-01-14 Alexander Larsson <alexl@redhat.com>
1768 (g_file_monitor_directory):
1769 (g_file_monitor_file):
1770 Add GError to file monitor calls
1772 * glocaldirectorymonitor.c:
1773 * glocaldirectorymonitor.h:
1775 * glocalfilemonitor.c:
1776 * glocalfilemonitor.h:
1778 Update for above change
1780 2008-01-14 Alexander Larsson <alexl@redhat.com>
1784 Handle root correctly in g_file_get_relative_path (#508719)
1786 2008-01-14 Alexander Larsson <alexl@redhat.com>
1789 Clean up docs and example for GAsyncResult (#508074)
1791 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1793 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1794 and correct some spelling mistakes. Bug #508108.
1796 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1798 * glocalfileinfo.c: Add a comment.
1800 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1802 * gfileinfo.c: GFileInfo description: Mention
1803 how to actually set attributes in a GFile and how to discover
1804 which attributes are settable. Bug #508378.
1806 2008-01-10 A. Walton <awalton@svn.gnome.org>
1808 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1809 (g_app_info_get_default_for_type):
1810 Check for NULL content types.
1812 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1814 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1816 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1818 * gfile.c: *_async() functions: Several small corrections
1819 to the documentation, mostly correcting copy/paste errors
1820 and improving some sentences.
1822 2008-01-09 Dan Winship <danw@gnome.org>
1824 * glocalfile.c (get_unique_filename): x86_64 fix
1826 2008-01-09 Alexander Larsson <alexl@redhat.com>
1831 Add g_unix_mount_guess_should_display and use
1832 for unix volume monitor backend.
1833 This means we more or less show what the
1834 gnome-vfs backend did.
1835 Based on patch from Padraig O'Briain
1837 2008-01-09 Alexander Larsson <alexl@redhat.com>
1841 Add g_themed_icon_new_with_default_fallbacks
1844 Use default fallbacks for icons
1846 2008-01-09 Alexander Larsson <alexl@redhat.com>
1849 * gmountoperation.[ch]:
1850 Change the API a bit so that unhandled methods
1851 get reported via the reply, rather than by
1852 the signal emission return value. This is because
1853 some handlers can't know this immediately without
1854 doing I/O, and this is an async operation that
1857 2008-01-09 Alexander Larsson <alexl@redhat.com>
1860 * fam/gfamdirectorymonitor.c:
1861 * fam/gfamfilemonitor.c:
1862 Fix double free crash (#508224)
1863 Patch from Joe Marcus Clarke
1865 008-01-07 Matthias Clasen <mclasen@redhat.com>
1867 * === Released 2.15.1 ===
1869 2008-01-07 Alexander Larsson <alexl@redhat.com>
1871 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1872 Fix warning (#507835)
1874 2008-01-07 Alexander Larsson <alexl@redhat.com>
1877 Pass --internal to glib-genmarshal
1880 * gmountoperation.c:
1882 Use better types for signal arguments (#507822)
1884 2008-01-07 Alexander Larsson <alexl@redhat.com>
1887 Build test subdir after .
1888 Remove gdirectorymonitor.[ch]
1890 * gdirectorymonitor.[ch]:
1894 Remove GDirectoryMonitor and make
1895 GFileMonitor the baseclass for both file and
1896 directory monitors. Lift the more generic
1897 rate limiting code from GDirectoryMonitor
1901 * fam/gfamdirectorymonitor.[ch]:
1902 * inotify/ginotifydirectorymonitor.[ch]:
1903 * inotify/inotify-helper.c:
1904 * glocaldirectorymonitor.[ch]:
1907 Update for the removed GDirectoryMonitor.
1909 * gmemoryoutputstream.c:
1910 Remove ununsed variable
1912 2008-01-07 Alexander Larsson <alexl@redhat.com>
1914 * gmemoryinputstream.c:
1915 Translate error strings
1918 * gmemoryoutputstream.[ch]:
1919 New implementation that avoids using GByteArray
1920 in implementation and API. (#506377)
1922 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1924 * tests/*: Add a test for memory input streams.
1926 * Makefile.am: Add tests to SUBDIRS.
1928 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1930 * glocalfilemonitor.c:
1931 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1934 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1936 * gdesktopappinfo.c: Fix a docs typo.
1938 * gfileattribute.c: Add information about extended attributes
1939 to the documentation. (#505058)
1941 2008-01-04 Alexander Larsson <alexl@redhat.com>
1944 * gmountoperation.c:
1945 Use the right type (uint) for the ask_password signal.
1947 2008-01-04 Alexander Larsson <alexl@redhat.com>
1952 Add g_app_info_supports_files()
1953 Remove desktop arg from g_app_info_should_show().
1955 * gdesktopappinfo.[ch]:
1956 Implement g_app_info_supports_files() and new should_show()
1957 Add g_desktop_app_info_set_desktop_env() to set the desktop
1958 for should_show(). (This will be set by gtk+ later)
1960 2008-01-04 Alexander Larsson <alexl@redhat.com>
1963 * gmemoryinputstream.[ch]:
1964 Improve API so that you can use multiple chunks
1965 of memory and custom destroy functions. (#506374)
1967 2008-01-03 Alexander Larsson <alexl@redhat.com>
1970 Handle NULL attribute matchers safely, as we return this
1971 for empty attribute matcher strings.
1973 2008-01-03 Alexander Larsson <alexl@redhat.com>
1975 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1976 Add /usr/local to list of internal mountpoints
1978 2008-01-03 Alexander Larsson <alexl@redhat.com>
1981 Check for HAVE_LCHOWN (#505887)
1983 2008-01-03 Alexander Larsson <alexl@redhat.com>
1987 Add define for selinux context attribute.
1988 Fix missing : -> :: namespace separator change
1989 Fix missing _ -> - name change for xattr-sys.
1992 2008-01-03 Alexander Larsson <alexl@redhat.com>
1995 Link to libglib and libgobject directly (#504879)
1996 Patch from Sebastien Bacher
1998 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2000 * gfile.c: Expanded the g_file_new_for_commandline_arg
2001 description a bit, based on the code and the docs of the
2002 other g_file_new_for_* functions.
2004 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2006 * gfilemonitor.h: Fixed typo in docs.
2008 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2010 Updates to GIO documentation. (#506395, Mikael Hermansson)
2012 * gcontenttype.c: Describe memory management for return value of
2013 g_content_types_get_registered(). Missing piece from #505815.
2014 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2015 GVolume, GDrive, GMounts, which hopefully gives the user less
2016 confusions when using this API. Following explainations from
2017 Alexander Larsson on gtk-devel-list.
2019 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2021 * gfileinfo.c: Expand the long description.
2023 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2026 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2027 fix builds with --disable-visibility. (#500273, Christian Persch)
2029 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2031 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2032 in the list of returned app infos.
2034 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2036 * gappinfo.c: Fix a cross-reference
2038 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2040 * gfileinputstream.c:
2041 * gfileoutputstream.c:
2045 * gdesktopappinfo.c:
2047 * gfileinfo.c: Documentation updates.
2049 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2051 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2054 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2056 * gcontenttype.c (g_content_types_get_registered): Don't return
2057 freed memory (#505815, Mikael Hermansson)
2059 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2061 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2062 used to detect statbuf->st_blocks. (#505042)
2064 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2066 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2067 environment handling. (#504829, Cosimo Cecchi)
2069 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2071 * gappinfo.c: Doc improvements
2073 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2076 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2078 * === Released 2.15.0 ===
2080 2007-12-20 Hans Breuer <hans@breuer.org>
2082 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2083 with symbols gwin32appinfo.obj, added gmount.obj
2084 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2086 2007-12-20 Alexander Larsson <alexl@redhat.com>
2092 * gfilenamecompleter.c:
2095 * gpollfilemonitor.c:
2096 File attribute renames:
2098 fs:: -> filesystem::
2099 id::fs -> id::filesystem
2101 2007-12-20 Alexander Larsson <alexl@redhat.com>
2110 Add GMountUnmountFlags to all unmount and
2112 Add g_mount_remount() call.
2114 2007-12-20 Alexander Larsson <alexl@redhat.com>
2116 * gvfs.c (get_default_vfs):
2117 Fix unused variable warning
2119 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2121 * pltcheck.sh: Update
2123 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2125 * gunionvolumemonitor.c:
2126 * gunixmount.c: Remove C99 comments
2128 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2130 * gio.symbols: Add some missing symbols
2132 2007-12-19 Alexander Larsson <alexl@redhat.com>
2135 Make g_io_modules_load_all_in_directory not unuse
2136 loaded modules so that users of it can do stuff
2138 Init internal "module" types.
2139 Initialize static prio and name for types so that
2140 we don't have to load modules to get it.
2142 * gnativevolumemonitor.h:
2144 Move is_supported to parent class so that
2145 non-native monitors can avoid being initialized
2146 too. (For instance GDaemonVolumeMonitor if we're
2147 not using GDaemonVfs.)
2149 * glocaldirectorymonitor.[ch]:
2150 * glocalfilemonitor.[ch]:
2151 * gunionvolumemonitor.c:
2152 * gunixvolumemonitor.c:
2154 Find plugins using the static prio+name to
2155 avoid unnecessarily loading the modules.
2157 2007-12-19 Alexander Larsson <alexl@redhat.com>
2162 2007-12-19 Alexander Larsson <alexl@redhat.com>
2164 * gunionvolumemonitor.c:
2165 Store the native type as GType, not class so that
2166 we can unload it. But still avoid unnecessarily
2169 2007-12-19 David Zeuthen <davidz@redhat.com>
2171 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2172 add signals 'disconnected' and 'eject-button' on GDrive. Add
2173 signal 'removed' on GVolume and 'unmounted' on GMount.
2175 * gdrive.c: (g_drive_base_init):
2177 * gfile.c: (g_file_mount_mountable),
2178 (g_file_mount_enclosing_volume):
2181 * gmount.c: (g_mount_base_init):
2183 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2184 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2185 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2189 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2191 * *.c: Fix up includes in the section docs.
2193 2007-12-17 Alexander Larsson <alexl@redhat.com>
2195 * gnativevolumemonitor.h:
2196 * gunionvolumemonitor.c:
2197 * gunixvolumemonitor.c:
2198 Add is_supported() to GNativeVolumeMonitorClass so
2199 that we can avoid having to create an object to see
2200 if the backend is supported at runtime.
2201 Also add name member and an env var to pick a specific
2202 volume monitor backend.
2206 Add cancellable to _g_mount_get_for_mount_path()
2208 * glocaldirectorymonitor.c:
2209 * glocalfilemonitor.c:
2210 Avoid loading and unloading modules while sorting.
2212 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2215 * gunixmounts.[hc]: Namespace waste reduction, move some
2216 g_get_unix_mount functions to the g_unix_mount namespace.
2219 * gunixvolumemonitor.c:
2221 * glocaldirectorymonitor.c: Update all callers.
2223 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2225 2007-12-17 Alexander Larsson <alexl@redhat.com>
2228 Add doc comments about what GFile operations are
2229 guaranteed to not block.
2231 2007-12-17 Alexander Larsson <alexl@redhat.com>
2234 Add missing #ifdef fixing OSX build.
2235 (#503334, patch from Richard Hult)
2237 2007-12-14 David Zeuthen <davidz@redhat.com>
2241 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2242 (g_mount_eject), (g_mount_eject_finish):
2244 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2245 (get_volume_for_uuid), (get_mount_for_uuid),
2246 (g_union_volume_monitor_class_init),
2247 (get_default_native_type_with_exclude), (get_default_native_type),
2248 (get_native_type), (update_native_type),
2249 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2250 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2251 (g_unix_mount_can_eject), (eject_unmount_cb),
2252 (eject_unmount_read_error), (eject_unmount_do),
2253 (g_unix_mount_unmount), (g_unix_mount_eject),
2254 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2255 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2256 (g_unix_mount_point_guess_can_eject):
2258 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2259 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2260 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2261 (g_unix_volume_mount), (g_unix_volume_eject),
2262 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2263 * gunixvolumemonitor.c: (get_volume_for_uuid),
2264 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2266 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2267 (g_volume_eject), (g_volume_eject_finish):
2269 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2270 (g_volume_monitor_get_mount_for_uuid):
2273 Provide eject() on both GMount and GVolume and utility functions
2274 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2275 ejected. Introduce the concept of UUID's and wire it into GVolume
2276 and GMount and provide API on GVolumeMonitor to find such
2277 instances. Also handle the case where an external
2278 GNativeVolumeMonitor fails to initialize. Lock around the
2279 _g_get_mount_for_mount_path() function such that volume monitor
2280 implementations won't have to do locking themselves.
2282 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2284 * gdesktopappinfo.c:
2290 * gvolume.h: Documentation updates
2292 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2295 * gfile.h: Doc updates
2297 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2300 * gdesktopappinfo.c: Use hash table iterators.
2302 2007-12-14 Alexander Larsson <alexl@redhat.com>
2305 * gfileattribute.[ch]:
2306 * gfileattribute-priv.h:
2307 Move GFileAttributeValue to a private header, as
2311 Make set_attribute take a type + a pointer instead
2312 of a GFileAttributeValue.
2315 Fix up for above changes.
2316 Add g_file_info_get_attribute_data to get
2317 all info in one call, g_file_info_get_attribute_status
2318 to get the status and g_file_info_get_attribute_as_string.
2322 * glocalfileinfo.[ch]:
2326 Make _guess_type static.
2328 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2331 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2332 made mkenums and friends use temporary files to avoid leaving
2333 empty generated files on failure (#503470).
2335 2007-12-14 Alexander Larsson <alexl@redhat.com>
2337 * gmountoperation.h:
2340 2007-12-14 Alexander Larsson <alexl@redhat.com>
2344 * gfileattribute.[ch]:
2347 * glocalfileoutputstream.c:
2348 * gmountoperation.[ch]:
2349 * goutputstream.[ch]:
2350 Clean up all flags enums to not have _FLAGS in them
2351 Make the names of some of the enums better.
2356 2007-12-14 Michael Natterer <mitch@imendio.com>
2358 * gio.symbols: fix g_io_scheduler symbol names.
2360 2007-12-14 Alexander Larsson <alexl@redhat.com>
2366 * gbufferedinputstream.h:
2367 * gbufferedoutputstream.h:
2370 * gdatainputstream.h:
2371 * gdataoutputstream.h:
2372 * gdesktopappinfo.h:
2373 * gdirectorymonitor.h:
2377 * gfileenumerator.h:
2380 * gfileinputstream.h:
2382 * gfilenamecompleter.h:
2383 * gfileoutputstream.h:
2384 * gfilterinputstream.h:
2385 * gfilteroutputstream.h:
2393 * gmemoryinputstream.h:
2394 * gmemoryoutputstream.h:
2396 * gmountoperation.h:
2399 * gsimpleasyncresult.h:
2401 * gunixinputstream.h:
2403 * gunixoutputstream.h:
2407 * inotify/Makefile.am:
2408 Only allow including <gio/gio.h> from apps
2410 2007-12-14 Alexander Larsson <alexl@redhat.com>
2412 * gioscheduler.[ch]:
2413 * gsimpleasyncresult.c:
2414 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2415 Split out the send_to_mainloop call into two versions instead
2416 of having the block argument.
2418 2007-12-13 Alexander Larsson <alexl@redhat.com>
2420 * gcancellable.[ch]:
2422 * gbufferedinputstream.c:
2423 * gfileenumerator.c:
2424 * gfileinputstream.c:
2425 * gfileoutputstream.c:
2429 g_push/pop_current_cancellable ->
2430 g_cancellable_push/pop_current
2432 2007-12-13 Alexander Larsson <alexl@redhat.com>
2436 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2438 2007-12-13 Alexander Larsson <alexl@redhat.com>
2440 * gmountoperation.h:
2441 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2443 2007-12-12 Alexander Larsson <alexl@redhat.com>
2446 Fix race condition when freeing proxy in
2447 g_io_job_send_to_mainloop().
2449 2007-12-12 Alexander Larsson <alexl@redhat.com>
2455 Make attribute namespace separator "::" instead of ":".
2456 Use - instead of _ as separator in attribute names.
2458 2007-12-12 Alexander Larsson <alexl@redhat.com>
2460 * gbufferedinputstream.h:
2461 * gbufferedoutputstream.h:
2462 * gdatainputstream.h:
2463 * gdataoutputstream.h:
2464 * gdirectorymonitor.h:
2465 * gfileenumerator.h:
2466 * gfileinputstream.h:
2468 * gfileoutputstream.h:
2469 * gfilterinputstream.h:
2470 * gfilteroutputstream.h:
2472 * glocalfileinputstream.h:
2473 * glocalfileoutputstream.h:
2474 * gmemoryinputstream.h:
2475 * gmemoryoutputstream.h:
2476 * gnativevolumemonitor.h:
2478 * gunixinputstream.h:
2479 * gunixoutputstream.h:
2482 s/parent/parent_instance/ in GObjects
2484 2007-12-12 Alexander Larsson <alexl@redhat.com>
2489 No need for padding for interfaces
2491 2007-12-12 Alexander Larsson <alexl@redhat.com>
2495 * gbufferedinputstream.c:
2496 * gbufferedoutputstream.c:
2499 * gdatainputstream.[ch]:
2500 * gdesktopappinfo.c:
2501 * gdirectorymonitor.c:
2503 * gfileattribute.[ch]:
2506 * gfileinputstream.h:
2507 * gfilemonitor.[ch]:
2508 * gfileoutputstream.[ch]:
2509 * gfilterinputstream.h:
2510 * gfilteroutputstream.h:
2513 * gloadableicon.[ch]:
2514 * gmemoryinputstream.c:
2515 * gmountoperation.c:
2517 Fix up a bunch of details in the docs.
2522 2007-12-11 David Zeuthen <davidz@redhat.com>
2524 Rework how volumes, drives and volume monitoring is
2525 done. Previosly the model was
2527 GDrive <1-1> GVolume
2529 where a GDrive instance represented a mount point and a GVolume
2530 instance represented a mounted file system. This patch changes it
2533 GDrive <1-N> GVolume <1-1> GMount
2535 where GMount now serves the purpose of the old GVolume and the new
2536 GVolume serves the purpose of the old GDrive. In addition the new
2537 GDrive interface is used to represent a collection of GVolume
2538 instances (typically partitions) and also contains utility to query
2539 the state of the physical drive the GDrive object represents (such
2540 as checking for media, polling the drive, ejecting the media etc.).
2542 Also implement mounting and unmounting in the Unix volume monitor
2543 backend. A subquent patch will introduce GDrive support for ejection
2547 * gdrive.c: (g_drive_is_media_check_automatic),
2548 (g_drive_is_media_removable), (g_drive_has_media),
2549 (g_drive_can_poll_for_media), (g_drive_eject),
2550 (g_drive_eject_finish), (g_drive_poll_for_media),
2551 (g_drive_poll_for_media_finish):
2553 * gfile.c: (g_file_find_enclosing_mount):
2556 * glocaldirectorymonitor.c:
2557 (g_local_directory_monitor_constructor), (mounts_changed):
2558 * glocalfile.c: (get_mount_info),
2559 (g_local_file_find_enclosing_mount),
2560 (g_local_file_file_iface_init):
2561 * gnativevolumemonitor.h:
2562 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2563 (get_connected_drives), (g_union_volume_monitor_class_init),
2564 (child_volume_added), (child_volume_removed),
2565 (child_volume_changed), (child_mount_added), (child_mount_removed),
2566 (child_mount_pre_unmount), (child_mount_changed),
2567 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2568 (g_union_volume_monitor_remove_monitor),
2569 (_g_mount_get_for_mount_path):
2570 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2571 (guess_system_internal), (_g_get_unix_mounts),
2572 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2573 (g_unix_mount_free), (g_unix_mount_compare),
2574 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2575 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2576 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2577 (type_to_icon), (g_unix_mount_guess_name),
2578 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2579 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2580 (_resolve_symlink), (_resolve_dev_root):
2582 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2583 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2584 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2585 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2586 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2587 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2588 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2589 (g_unix_volume_volume_iface_init):
2591 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2592 (get_mounts), (get_volumes), (get_connected_drives),
2593 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2594 (mountpoints_changed), (mounts_changed),
2595 (g_unix_volume_monitor_init),
2596 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2597 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2598 * gunixvolumemonitor.h:
2599 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2600 (g_volume_mount), (g_volume_mount_finish):
2602 * gvolumemonitor.c: (g_volume_monitor_class_init),
2603 (g_volume_monitor_get_connected_drives),
2604 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2607 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2609 * gmountoperation.h (GPasswordFlags): Close the gap
2611 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2613 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2615 * gdesktopappinfo.[hc]: Remove _-prefixes
2617 2007-12-10 Tor Lillqvist <tml@novell.com>
2619 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2622 2007-12-10 Alexander Larsson <alexl@redhat.com>
2624 * gfile.c (g_file_set_display_name):
2625 Don't hardcode '/' (#502727)
2627 2007-12-09 Hans Breuer <hans@breuer.org>
2629 * makefile.msc : follow lib naming convention
2630 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2631 for user and group name, tested with ../tests/gio-ls
2633 2007-12-09 A. Walton <awalton@svn.gnome.org>
2635 * gdesktopappinfo.c:
2641 * gfileenumerator.c:
2646 * gmemoryinputstream.c:
2647 * gmemoryoutputstream.c:
2649 * gsimpleasyncresult.c:
2650 More documentation cleanup and filling in missing information, bringing
2651 GIO to 99% symbol coverage.
2653 2007-12-08 Hans Breuer <hans@breuer.org>
2655 [gio compiles and links on win32, not sure how much already works]
2656 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2657 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2658 base on win32 API; prefer g_lstat() over lstat(); instead of
2659 localtime_r() use an all GLib implementation on win32;
2660 get_mount_info() still needs a win32 specifc implementation
2661 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2662 win32_get_file_user_info to get owner/group info without uid/gid
2663 * glocalfileinputstream.c : include <io.h> on win32
2664 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2665 definition, use g_win32_ftruncate() for G_OS_WIN32
2666 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2667 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2668 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2669 * makefile.msc : updated
2671 2007-12-07 Alexander Larsson <alexl@redhat.com>
2673 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2674 Avoid warning spew if error == NULL
2676 2007-12-07 Alexander Larsson <alexl@redhat.com>
2679 Update docs wrt etags
2681 2007-12-06 Alexander Larsson <alexl@redhat.com>
2684 Include sys/types.h for dev_t (#501919)
2686 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2690 Make abicheck and pltcheck pass.
2692 2007-12-05 Alexander Larsson <alexl@redhat.com>
2695 * giomodule-priv.h: Added.
2696 * glocaldirectorymonitor.c:
2697 * glocalfilemonitor.c:
2698 * gunionvolumemonitor.c:
2700 Actually add the declaration of _g_io_modules_ensure_loaded
2702 2007-12-05 Alexander Larsson <alexl@redhat.com>
2704 * gdatainputstream.c:
2709 * glocaldirectorymonitor.c:
2710 * glocalfilemonitor.c:
2711 * gunionvolumemonitor.c:
2713 Make g_io_modules_ensure_loaded a private function and
2714 don't pass in the dirname. This means we can do magic
2715 directory finding in the win32 version.
2716 Export the actual load-modules-in-directory code so that
2717 gvfs can reuse that.
2719 2007-12-05 Alexander Larsson <alexl@redhat.com>
2721 * gbufferedinputstream.c:
2722 * gbufferedoutputstream.c:
2725 * gfileenumerator.[ch]:
2726 * gfileinputstream.c:
2727 * gfileoutputstream.[ch]:
2728 * gfilterinputstream.c:
2729 * gfilteroutputstream.c:
2730 * ginputstream.[ch]:
2732 * glocalfileenumerator.c:
2733 * glocalfileinputstream.c:
2734 * glocalfileoutputstream.c:
2735 * gmemoryinputstream.c:
2736 * gmemoryoutputstream.c:
2737 * goutputstream.[ch]:
2740 * gunixinputstream.c:
2741 * gunixoutputstream.c:
2742 Rename all struct members named:
2743 read, write, close, truncate, or mount
2744 to foo_fn, as these are reserved names
2745 and could be defined as macros in libc.
2748 2007-12-04 Alexander Larsson <alexl@redhat.com>
2751 (g_output_stream_close):
2752 Only call flush if non-null.
2754 2007-11-30 Dan Winship <danw@gnome.org>
2756 * ginputstream.c (g_input_stream_set_pending): Make this take a
2757 GError and return a gboolean, and do the "outstanding operation"
2758 check (and the "stream is already closed" check) itself.
2759 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2761 * goutputstream.c (g_output_stream_set_pending)
2762 (g_output_stream_clear_pending): Likewise
2764 * gbufferedinputstream.c:
2765 * gfileinputstream.c:
2766 * gfileoutputstream.c: Update for that
2768 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2769 Like g_simple_async_report_error_in_idle, but takes a GError
2770 rather than building one.
2772 2007-11-30 Dan Winship <danw@gnome.org>
2774 * goutputstream.c: Don't cheat and unset the "pending" flag around
2775 inner calls. Instead, call the class method directly rather than
2776 the wrapper function that checks "pending"
2778 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2780 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2782 2007-12-03 Hans Breuer <hans@breuer.org>
2784 [start of port to win32/msvc]
2785 * gcancellable.c : HAVE_UNIST_H and _pipe()
2786 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2787 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2788 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2790 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2791 * glocalvfs.c : use HAVE_PWD_H
2792 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2793 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2794 * Makefile.am : added to EXTRA_DIST
2796 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2798 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2801 2007-12-03 Alexander Larsson <alexl@redhat.com>
2804 Handle OSX style xattrs API (#500506)
2806 2007-12-03 Alexander Larsson <alexl@redhat.com>
2810 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2812 2007-12-02 A. Walton <awalton@svn.gnome.org>
2816 Documentation accuracy fixes.
2818 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2820 * gioenumtypes.c.template: Fix typo.
2822 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2824 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2826 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2828 * gdirectorymonitor.c:
2829 * gfilemonitor.c: Add properties
2831 * gbufferedoutputstream.c: Don't mark buffer-size property
2834 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2836 * gbufferedoutputstream.c: Add auto-grow property.
2838 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2840 * *.c: Unify the capitalization of section headings.
2842 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2844 * gmountoperation.c: Add properties
2846 * gdatainputstream.c: Turn byte-order and newline-type into
2849 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2851 * gioenumtypes.[hc].template: Templates for enum registration
2853 * Makefile.am: Generate gioenumtypes.[hc]
2855 * gio.h: Include gioenumtypes.h
2857 * gfile.h: Add some explicit nicks.
2859 * gio.symbols: Add new symbols
2861 * pltcheck.sh: Adjust
2863 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2865 * *.c: Explain etags and link to the explanation
2867 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2869 * *.c: Explain I/O priority.
2871 * *.c: More coding style fixes.
2873 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2875 * gasyncresult.c: Add another paragraph to the intro,
2876 adjust coding style of example.
2878 2007-11-29 A. Walton <awalton@svn.gnome.org>
2881 Fixes unknown meaning in GAppLaunchContext docs.
2883 Clarify asynchronous ops.
2885 Fix entity tag docs.
2888 Provides missing gtk-doc section, fixes API docs slighly.
2889 * gsimpleasyncresult.c:
2890 Fill in missing info in docs.
2891 * gunixinputstream.c:
2892 * gunixoutputstream.c:
2893 Be more expressive in short description.
2895 Remove gtk-doc stubs for non-public API.
2897 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2899 * *.c: Coding style fixups
2901 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2903 * inotify/inotify-helper.c: Don't export the lock from libgio.
2905 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2908 * abicheck.sh: Fix copy-and-paste leftovers
2910 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2912 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2914 2007-11-28 Alexander Larsson <alexl@redhat.com>
2918 Removed unnecessary file
2920 * gdesktopappinfo.[ch]:
2923 * glocaldirectorymonitor.[ch]:
2925 * glocalfileenumerator.[ch]:
2926 * glocalfileinputstream.[ch]:
2927 * glocalfilemonitor.[ch]:
2928 * glocalfileoutputstream.[ch]:
2930 * gnativevolumemonitor.c:
2931 * gpollfilemonitor.[ch]:
2932 * gunionvolumemonitor.[ch]:
2935 * gunixvolumemonitor.[ch]:
2938 * inotify/ginotifydirectorymonitor.[ch]:
2939 * inotify/ginotifyfilemonitor.[ch]:
2940 * inotify/inotify-helper.c:
2941 Append _ to all internal functions
2945 Export symbols needed for modules
2947 2007-11-28 Alexander Larsson <alexl@redhat.com>
2950 * abicheck.sh: Added.
2951 * makegioalias.pl: Added.
2952 * pltcheck.sh: Added.
2953 * gio.symbols: Added.
2956 Initial work on adding symbol handling.
2959 Correct ifdef guard name
2962 * inotify/Makefile.am:
2963 * xdgmime/Makefile.am:
2964 Include toplevel Makefile.decl
2966 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2968 * gcontenttype.c: Move doc comments to the unix section.
2970 * *.[hc]: More trivial doc corrections.
2972 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2974 * gpollfilemonitor.c:
2978 * gdesktopappinfo.c:
2983 * gdatainputstream.c:
2984 * gdatainputstream.h:
2985 * gdataoutputstream.c:
2986 * gdataoutputstream.h:
2987 * gfileinfo.h: Doc cleanups
2989 2007-11-28 Andre Klapper <a9016009@gmx.de>
2991 * gdesktopappinfo.c: Fix a typo.
2993 2007-11-27 Andre Klapper <a9016009@gmx.de>
2995 * glocalfileoutputstream.c: Fix a typo.
2997 2007-11-27 Alexander Larsson <alexl@redhat.com>
3000 Don't include removed headers
3002 2007-11-27 Alexander Larsson <alexl@redhat.com>
3005 * gsocketinputstream.[ch]: Removed.
3006 * gsocketoutputstream.[ch]: Removed.
3007 * gunixinputstream.[ch]: Added.
3008 * gunixoutputstream.[ch]: Added.
3009 Renamed GSocket*Stream to GUnix*Stream and made
3010 it unix-only, since its not really only for sockets
3011 and it only works on unix (but is highly useful there).
3013 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3019 * gbufferedinputstream.c:
3020 * gbufferedinputstream.h:
3021 * gbufferedoutputstream.c:
3022 * gbufferedoutputstream.h:
3026 * gdatainputstream.c:
3027 * gdatainputstream.h:
3028 * gdataoutputstream.c:
3029 * gdataoutputstream.h:
3030 * gdirectorymonitor.c:
3031 * gdirectorymonitor.h:
3038 * gfileenumerator.c:
3039 * gfileenumerator.h:
3044 * gfileinputstream.c:
3045 * gfileinputstream.h:
3048 * gfilenamecompleter.c:
3049 * gfilenamecompleter.h:
3050 * gfileoutputstream.c:
3051 * gfileoutputstream.h:
3052 * gfilterinputstream.c:
3053 * gfilterinputstream.h:
3054 * gfilteroutputstream.c:
3055 * gfilteroutputstream.h:
3068 * glocalfileoutputstream.c:
3069 * gmemoryinputstream.c:
3070 * gmemoryinputstream.h:
3071 * gmemoryoutputstream.c:
3072 * gmemoryoutputstream.h:
3073 * gmountoperation.c:
3074 * gmountoperation.h:
3077 * gpollfilemonitor.c:
3080 * gsimpleasyncresult.c:
3081 * gsimpleasyncresult.h:
3082 * gsocketinputstream.c:
3083 * gsocketinputstream.h:
3084 * gsocketoutputstream.c:
3085 * gsocketoutputstream.h:
3092 * gunixvolumemonitor.c:
3101 Bumps documentation to 93% symbol coverage, touching most
3102 of the public files. Fixes broken function documentation prototypes.
3103 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3104 gtk-doc headers in private files.
3106 2007-11-27 Jürg Billeter <j@bitron.ch>
3108 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3109 (g_buffered_input_stream_read_byte):
3110 * gbufferedinputstream.h:
3111 New functions for efficient access to buffer and simple single byte
3114 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3115 (g_data_input_stream_read_until):
3116 * gdatainputstream.h:
3117 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3118 read_until with multiple stop chars.
3120 2007-11-27 Alexander Larsson <alexl@redhat.com>
3124 * inotify/Makefile.am:
3125 Use the user-specified giomoduledir
3127 2007-11-27 Alexander Larsson <alexl@redhat.com>
3131 Add catch-all gio.h header
3132 Don't install gdummyfile.h
3134 2007-11-26 Alexander Larsson <alexl@redhat.com>
3136 * Makefile.am (gioinclude_HEADERS):
3137 Remove trailing whitespace
3139 2007-11-26 Alexander Larsson <alexl@redhat.com>
3141 Merge gio-standalone into glib
3143 2007-11-25 Christian Kellner <gicmo@gnome.org>
3145 * gio/goutputstream.c:
3146 Fix small mistake in the docs.
3148 2007-11-21 Christian Persch <chpe@gnome.org>
3150 * gio/glocalfile.c: (g_local_file_trash):
3151 Convert filenames to UTF-8 for GError.
3152 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3153 as per xdg base dir spec.
3155 2007-11-21 Christian Persch <chpe@gnome.org>
3157 * gio/gdesktopappinfo.c:
3158 Use that g_key_file_to_data cannot fail.
3160 Use stock defines for the key file group and key names.
3163 2007-11-21 Alexander Larsson <alexl@redhat.com>
3166 (copy_stream_with_progress):
3167 Make sure we do a final progress callback with
3168 the full total size.
3170 2007-11-21 Alexander Larsson <alexl@redhat.com>
3173 Export g_file_copy_attributes
3174 Remove padding as its not needed for interfaces
3176 2007-11-20 Alexander Larsson <alexl@redhat.com>
3181 Add G_IO_ERROR_WOULD_MERGE for
3182 copy/move dir on dir with overwrite.
3184 2007-11-20 Alexander Larsson <alexl@redhat.com>
3187 * gio/glocalfileinfo.c:
3188 Add COPY_NAME (this is an optional
3189 non-modified utf8 version of the name) that
3192 2007-11-20 Alexander Larsson <alexl@redhat.com>
3194 * gio/glocalfileenumerator.c:
3195 Report errors as GIOError, not GFileError
3197 2007-11-16 Alexander Larsson <alexl@redhat.com>
3199 * gio/glocalfileoutputstream.c:
3200 * gio/gwin32appinfo.c:
3201 Fix typos in strings.
3202 Patch from Luca Ferretti <elle.uca@libero.it>
3204 2007-11-15 Alexander Larsson <alexl@redhat.com>
3207 Post release version bump
3209 === gio-standalone 0.1.2 ===
3211 2007-11-15 Alexander Larsson <alexl@redhat.com>
3213 * docs/reference/gio/Makefile.am:
3214 Fix up distcheck by removing weird
3220 2007-11-14 Alexander Larsson <alexl@redhat.com>
3222 * gio/gdesktopappinfo.c:
3223 * gio/glocaldirectorymonitor.c:
3225 * gio/glocalfileinfo.c:
3226 * gio/inotify/inotify-sub.c:
3227 * programs/gio-cat.c:
3228 * programs/gio-copy.c:
3229 * programs/gio-info.c:
3230 * programs/gio-ls.c:
3231 * programs/gio-monitor-dir.c:
3232 * programs/gio-monitor-file.c:
3233 * programs/gio-mount.c:
3234 * programs/gio-move.c:
3235 * programs/gio-rm.c:
3236 * programs/gio-save.c:
3237 * programs/gio-trash.c:
3238 Leak fixes from Kjartan Maraas
3240 2007-11-14 Alexander Larsson <alexl@redhat.com>
3242 * gio/fam/fam-helper.c:
3244 * gio/glocalfileinfo.c:
3248 * gio/inotify/inotify-diag.c:
3249 * gio/inotify/inotify-kernel.c:
3250 Various code cleanups from Kjartan Maraas
3252 2007-11-14 Alexander Larsson <alexl@redhat.com>
3254 * gio/gioscheduler.c:
3256 Set up threadpool so that we cache 2 unused
3257 idle threads for at 15 secs. This means we
3258 will reuse thread-local data (like dbus connections)
3261 2007-11-14 Alexander Larsson <alexl@redhat.com>
3263 * gio/fam/fam-helper.c:
3264 * gio/fam/gfamdirectorymonitor.c:
3265 * gio/fam/gfamfilemonitor.c:
3267 * gio/gcontenttype.c:
3268 * gio/gdatainputstream.c:
3269 * gio/gdataoutputstream.c:
3273 * gio/gfileattribute.h:
3274 * gio/gfileenumerator.c:
3276 * gio/ginputstream.c:
3279 * gio/glocalfileinfo.c:
3280 * gio/goutputstream.c:
3281 * gio/gpollfilemonitor.c:
3282 * gio/gsimpleasyncresult.c:
3283 * gio/gunixmounts.c:
3284 * gio/gunixmounts.h:
3285 * gio/inotify/ginotifydirectorymonitor.c:
3286 * gio/inotify/ginotifyfilemonitor.c:
3287 * gio/inotify/inotify-diag.c:
3288 * gio/inotify/inotify-kernel.c:
3289 * gio/inotify/inotify-path.c:
3291 * gio/test-streams.c:
3292 * programs/gio-info.c:
3293 * programs/gio-monitor-dir.c:
3294 * programs/gio-monitor-file.c:
3295 Various code cleanups from Kjartan Maraas
3297 2007-11-13 Alexander Larsson <alexl@redhat.com>
3300 Handle the uri-scheme calls for dummy files
3302 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3304 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3305 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3306 to avoid clash with the C++ keyword.
3308 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3310 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3311 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3313 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3315 * gio/glocaldirectorymonitor.c:
3316 * gio/glocalfilemonitor.c:
3317 * gio/gunionvolumemonitor.c:
3318 Don't use g_once_init_*() for initializations that could fail and
3319 could leave the initialization variable set to 0 but use GOnce.
3320 This prevents a deadlock on the second call when trying to create
3321 a monitor and no monitor type is available. Thanks to Sven Herzberg
3324 2007-11-11 Sven Herzberg <sven@imendio.com>
3326 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3327 #ifdef (make it work on MacOS X again)
3329 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3331 Fixes Changelog for last two commits (sorry guys).
3333 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3335 * gio/gbufferedinputstream.c:
3336 * gio/gdatainputstream.c:
3338 * gio/gfileoutputstream.c:
3339 * gio/gfilterinputstream.c:
3340 * gio/glocalfileinputstream.c:
3343 More consistency fixes in g*stream.c files.
3344 Significant clean of gfile's documentation, filling in of
3345 asynchronous operations documentation.
3347 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3349 * gio/gasyncresult.c:
3350 * gio/gbufferedinputstream.c:
3351 * gio/gbufferedoutputstream.c:
3352 * gio/gcancellable.c:
3353 * gio/gcontenttype.c:
3354 * gio/gdatainputstream.c:
3355 * gio/gdataoutputstream.c:
3356 * gio/gdesktopappinfo.c:
3359 * gio/gfileattribute.c:
3360 * gio/gio/gfileenumerator.c:
3362 * gio/gfileinputstream.c:
3363 * gio/gfilemonitor.c:
3364 * gio/gfileoutputstream.c:
3365 * gio/ginputstream.c:
3367 * gio/gioscheduler.c:
3368 * gio/gloadableicon.c:
3369 * gio/glocalfileoutputstream.c:
3370 * gio/gmemoryoutputstream.c:
3371 * gio/gmountoperation.c:
3372 * gio/goutputstream.c:
3374 * gio/gsimpleasyncresult.c:
3375 * gio/gunionvolumemonitor.c:
3376 * gio/gunixmounts.c:
3377 * gio/gunixvolume.c:
3381 * gio/gvolumemonitor.c:
3382 Updated documentation stubs, working towards consistency and
3385 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3387 * gio/gmemoryoutputstream.c:
3388 * gio/gmemoryoutputstream.h:
3389 Change g_memory_output_stream_set_free_on_close() to
3390 g_memory_output_stream_set_free_data() as this makes more sense and
3391 is more consistent with GMemoryInputStream.
3393 2007-11-07 Alexander Larsson <alexl@redhat.com>
3400 Change how we find the default vfs so that
3401 we can handle a gvfs failing to init
3403 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3405 * gio/gbufferedoutputstream.c:
3406 * gio/gdatainputstream.c:
3407 * gio/gdataoutputstream.c:
3408 * gio/gfileinputstream.c:
3409 * gio/gfileoutputstream.c:
3410 * gio/gfilterinputstream.c:
3411 * gio/gfilteroutputstream.c:
3412 * gio/ginputstream.c:
3413 * gio/gmemoryinputstream.c:
3414 * gio/gmemoryoutputstream.c:
3415 * gio/goutputstream.c:
3416 * gio/gsimpleasyncresult.c:
3417 * gio/gsocketinputstream.c:
3418 * gio/gsocketoutputstream.c:
3419 Add guards to the remaining public functions, add a TODO for
3420 an unimplemented function and remove some useless guards.
3422 2007-11-07 Alexander Larsson <alexl@redhat.com>
3425 Autoconf checks for the various types of
3426 getpwuid_r and getgrgid_r
3428 * gio/glocalfileinfo.c:
3429 Use the autoconf checks from above
3431 2007-11-07 Alexander Larsson <alexl@redhat.com>
3434 (g_local_file_query_filesystem_info):
3435 Some fixes for the statvfs case
3437 2007-11-07 Alexander Larsson <alexl@redhat.com>
3440 (g_local_file_query_filesystem_info):
3441 Pick the "best" of statfs / statvfs for the system
3442 if both are availible.
3444 2007-11-07 Alexander Larsson <alexl@redhat.com>
3446 Solaris fixes from Halton.Huo@Sun.COM:
3453 * gio/glocalfileinfo.c:
3454 Fix for solaris definition of getpwuid_r
3456 * gio/test-streams.c:
3457 Use G_GNUC_PRETTY_FUNCTION
3459 2007-11-07 Alexander Larsson <alexl@redhat.com>
3461 * gio/gdesktopappinfo.c:
3462 (update_default_list):
3463 Remove double semicolon.
3464 Patch from Jens Granseuer
3466 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3468 * docs/reference/gio/gio-sections.txt:
3469 * gio/gbufferedinputstream.c:
3470 * gio/gbufferedinputstream.h:
3471 * gio/gdatainputstream.c:
3472 * gio/gfileenumerator.c:
3473 * gio/gioscheduler.c:
3474 * gio/gunionvolumemonitor.c:
3476 * programs/gio-save.c:
3477 Fix typo: availible -> available. Unfortuntely this breaks API
3478 and ABI as g_buffered_input_stream_get_available() was renamed.
3480 * gio/gunixmounts.c:
3481 * gio/gbufferedinputstream.c:
3482 Add guards for public functions.
3484 2007-11-06 Ross Burton <ross@openedhand.com>
3486 * docs/reference/gio/Makefile.am:
3487 Fix invalid += usage which automake 1.10 doesn't like.
3489 2007-11-06 Alexander Larsson <alexl@redhat.com>
3492 (g_app_launch_context_class_init):
3495 Patch from Ross Burton
3497 2007-11-06 Alexander Larsson <alexl@redhat.com>
3500 Post release version bump
3502 === gio-standalone 0.1.1 ===
3504 2007-11-06 Alexander Larsson <alexl@redhat.com>
3507 Bump version to 0.1.1
3509 * gio/gsimpleasyncresult.c:
3510 (g_simple_async_result_set_from_error):
3511 Remove bogus g_return_if_fail
3513 2007-11-06 Alexander Larsson <alexl@redhat.com>
3516 The name is gio-standalone
3519 Add top src/builddir to includedir
3521 2007-11-06 Alexander Larsson <alexl@redhat.com>
3523 * docs/reference/gio/gio-sections.txt:
3525 * gio/gbufferedinputstream.c:
3526 * gio/gbufferedoutputstream.c:
3527 * gio/gcancellable.c:
3528 * gio/gdatainputstream.h:
3529 * gio/gdataoutputstream.c:
3530 * gio/gdataoutputstream.h:
3531 * gio/gdirectorymonitor.c:
3533 * gio/gfileattribute.c:
3534 * gio/gfileattribute.h:
3535 * gio/gfileenumerator.c:
3536 * gio/gfileenumerator.h:
3539 * gio/gfileinputstream.h:
3540 * gio/gfilemonitor.c:
3541 * gio/gfileoutputstream.h:
3542 * gio/glocalfilemonitor.h:
3543 * gio/glocalfileoutputstream.h:
3544 * gio/gmemoryinputstream.c:
3545 * gio/gmemoryoutputstream.c:
3546 * gio/gmountoperation.c:
3547 * gio/goutputstream.c:
3548 * gio/goutputstream.h:
3550 * gio/gsimpleasyncresult.c:
3551 * gio/gunixmounts.c:
3552 * gio/gunixmounts.h:
3554 * gio/inotify/inotify-helper.c:
3555 Fix gtk-doc warnings
3557 Patch from Ross Burton
3559 2007-11-06 Alexander Larsson <alexl@redhat.com>
3561 * gio/gfilenamecompleter.c:
3562 (g_filename_completer_get_completions):
3565 * gio/gunixvolume.c:
3566 Remove unused function
3568 Patches from Ross Burton
3570 2007-11-06 Alexander Larsson <alexl@redhat.com>
3575 Padding not needed for interfaces
3577 2007-11-06 Alexander Larsson <alexl@redhat.com>
3579 * gio/gfilemonitor.c:
3583 Make giotypes.h an internal file
3586 * gio/gbufferedinputstream.h:
3587 * gio/gbufferedoutputstream.h:
3588 * gio/gcancellable.h:
3589 * gio/gdatainputstream.h:
3590 * gio/gdataoutputstream.h:
3591 * gio/gdirectorymonitor.c:
3592 * gio/gdirectorymonitor.h:
3597 * gio/gfileattribute.h:
3598 * gio/gfileenumerator.h:
3603 * gio/gfilemonitor.c:
3604 * gio/gfilemonitor.h:
3605 * gio/gfilenamecompleter.c:
3606 * gio/gfilenamecompleter.h:
3607 * gio/gfilterinputstream.h:
3608 * gio/gfilteroutputstream.h:
3609 * gio/ginputstream.h:
3610 * gio/gmemoryinputstream.h:
3611 * gio/gmemoryoutputstream.h:
3612 * gio/gmountoperation.c:
3613 * gio/gmountoperation.h:
3614 * gio/gnativevolumemonitor.c:
3615 * gio/goutputstream.h:
3618 * gio/gsimpleasyncresult.c:
3619 * gio/gsimpleasyncresult.h:
3620 * gio/gsocketinputstream.h:
3621 * gio/gsocketoutputstream.h:
3622 * gio/gthemedicon.c:
3623 * gio/gthemedicon.h:
3627 * gio/gvolumemonitor.c:
3628 * gio/gvolumemonitor.h:
3629 Add padding in classes where it seems useful
3630 Don't include giotypes.h from public headers
3631 Move in Class definitions into c file where possible
3636 2007-11-06 Alexander Larsson <alexl@redhat.com>
3638 * docs/reference/gio/gio-docs.xml:
3639 Better structure for API docs
3641 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3644 * gio/gloadableicon.c:
3645 * gio/gsimpleasyncresult.c:
3646 * gio/gthemedicon.c:
3647 Add some more guards to public functions. Only files missing are now
3650 2007-11-06 Alexander Larsson <alexl@redhat.com>
3652 * docs/reference/gio/gio-docs.xml:
3653 Remove old files, add missing ones
3655 2007-11-06 Alexander Larsson <alexl@redhat.com>
3657 * docs/reference/gio/gio-sections.txt:
3660 Hide implementation classes
3662 * gio/gdriveprivate.h:
3663 * gio/gvolumeprivate.h:
3664 Remove non-existing function declarations
3666 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3669 Fix compilation warnings and add guards to the new functions.
3671 * gio/gasyncresult.c:
3673 Add guards to the public functions.
3676 Implement get_path().
3678 2007-11-06 Alexander Larsson <alexl@redhat.com>
3680 * gio/gfilenamecompleter.c:
3681 Make g_filename_completer_get_completions
3682 return char ** instead of GList for
3685 * docs/reference/gio/gio-docs.xml:
3686 * docs/reference/gio/gio-sections.txt:
3688 * gio/gasyncresult.c:
3689 * gio/gbufferedinputstream.c:
3690 * gio/gbufferedoutputstream.c:
3691 * gio/gcancellable.c:
3692 * gio/gcontenttype.c:
3693 * gio/gdatainputstream.c:
3694 * gio/gdataoutputstream.c:
3695 * gio/gdesktopappinfo.c:
3696 * gio/gdirectorymonitor.c:
3700 * gio/gfileattribute.c:
3701 * gio/gfileenumerator.c:
3704 * gio/gfileinputstream.c:
3705 * gio/gfilemonitor.c:
3706 * gio/gfilenamecompleter.c:
3707 * gio/gfilenamecompleter.h:
3708 * gio/gfileoutputstream.c:
3709 * gio/gfilterinputstream.c:
3711 * gio/ginputstream.c:
3713 * gio/gioscheduler.c:
3714 * gio/gloadableicon.c:
3715 * gio/glocaldirectorymonitor.c:
3717 * gio/glocalfileinputstream.c:
3718 * gio/glocalfilemonitor.c:
3719 * gio/glocalfileoutputstream.c:
3721 * gio/gmemoryinputstream.c:
3722 * gio/gmemoryoutputstream.c:
3723 * gio/gmountoperation.c:
3724 * gio/goutputstream.c:
3725 * gio/gpollfilemonitor.c:
3727 * gio/gsimpleasyncresult.c:
3728 * gio/gsocketinputstream.c:
3729 * gio/gsocketoutputstream.c:
3730 * gio/gthemedicon.c:
3731 * gio/gunionvolumemonitor.c:
3733 * gio/gunixmounts.c:
3734 * gio/gunixvolume.c:
3735 * gio/gunixvolumemonitor.c:
3739 * gio/gvolumemonitor.c:
3740 * gio/gwin32appinfo.c:
3741 Add (mostly stub) doc strings to public functions.
3742 Patch from Andrew Walton (awalton@gmail.com)
3744 2007-11-06 Alexander Larsson <alexl@redhat.com>
3746 * gio/gappinfo.[ch]:
3747 Added GAppLaunchContext object and pass that to launch.
3748 This allows simple implementation of both
3749 launch-on-screen and startup notification via a gtk+
3750 subclass of GAppLaunchContext
3752 * gio/gdesktopappinfo.c:
3753 Implement GAppLaunchContext API
3755 * gio/gwin32appinfo.c:
3758 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3760 * gio/gmountoperation.c:
3761 Add some guards to GMountOperation's public functions.
3763 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3767 * gio/gcancellable.c:
3768 * gio/gdirectorymonitor.c:
3770 * gio/gfileenumerator.c:
3771 * gio/gfilemonitor.c:,
3772 * gio/gfilenamecompleter.c:
3775 * gio/gioscheduler.c:
3779 * gio/gvolumemonitor.c:
3780 Add even more guards to various public functions.
3782 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3785 Add guards to the public functions of GAppInfo.
3787 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3789 * gio/gcontenttype.c:
3790 Add some more guards for public functions.
3792 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3794 * gio/fam/fam-module.c:
3795 * gio/fam/gfamdirectorymonitor.c:
3796 * gio/fam/gfamdirectorymonitor.h:
3797 * gio/fam/gfamfilemonitor.c:
3798 * gio/fam/gfamfilemonitor.h:
3799 * gio/inotify/ginotifydirectorymonitor.c:
3800 * gio/inotify/ginotifydirectorymonitor.h:
3801 * gio/inotify/ginotifyfilemonitor.c:
3802 * gio/inotify/ginotifyfilemonitor.h:
3803 Add proper copyright information and remove an unused variable
3804 in the GInotifyFileMonitor constructor.
3806 * gio/gcancellable.c:
3807 Add a guard for a public function and an assertion to prevent
3808 an undefined program state.
3810 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3812 * gio/gfileattribute.c:
3813 Don't run into an assertion if the given attribute value is NULL
3814 in g_file_attribute_value_get_*() but instead return a fallback
3815 value that makes sense in most situations. Passing them a attribute
3816 value with the wrong type will still run into an assertion.
3818 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3820 * gio/gfileattribute.c:
3822 Add even more guards to the public functions. Also fix the refcounting
3823 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3824 let g_file_info_list_attributes() filter the attributes by namespace
3825 instead of simply ignoring the namespace parameter.
3827 2007-11-03 Sven Herzberg <sven@imendio.com>
3829 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3830 (This makes gio work on MacOS X again)
3832 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3835 Build the gio subdirectory before the docs. Otherwise the build will
3838 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3839 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3840 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3841 Add guards to the public functions.
3843 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3845 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3846 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3847 to prevent a compiler warning.
3849 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3850 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3851 return something in the non-void function find_topdir_for().
3853 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3860 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3862 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3863 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3864 * gwin32appinfo.c (g_win32_app_info_launch):
3865 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3866 envp_for_startup_id, g_desktop_app_info_launch,
3867 g_desktop_app_info_launch_uris):
3869 Give an opaque 'startup_id' string instead of 'envp'.
3870 Support empty file lists for launching new windows.
3871 Fix infinite recursion bug when launching URIs.
3873 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3876 Add guard to the new g_file_get_uri_scheme() function.
3878 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3881 Convert a g_return_val_if_fail() to setting the GError instead as
3882 otherwise applications have to verify the parameter before otherwise
3883 and the parameter might come directly from the user.
3885 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3887 * gio/inotify/ginotify*.[ch]:
3888 Add missing copyright information.
3890 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3893 Add guards in the beginning of public functions to check for valid
3894 parameters and fix a bug in copy_stream_with_progress() that could've
3895 caused writing less bytes than reading.
3896 * gio/glocalfileinfo.c:
3897 Check for a NULL parameter and set the GError accordingly then.
3898 * gio/goutputstream.c:
3899 Fix the same bug as in gfile.c that could've caused writing less bytes
3900 than reading in g_output_stream_real_splice().
3902 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3905 Use the correct gvolumeprivate.h naming
3907 2007-11-01 Christian Kellner <gicmo@gnome.org>
3910 Remove leftover "$(daemon_sources)" entry.
3912 2007-11-01 Christian Kellner <gicmo@gnome.org>
3917 Add copyright information to source files.
3919 2007-11-01 Alexander Larsson <alexl@redhat.com>
3923 Add g_file_get_uri_scheme
3925 2007-11-01 Alexander Larsson <alexl@redhat.com>
3928 * gio/gdesktopappinfo.c:
3929 * gio/gwin32appinfo.c:
3930 Add g_app_info_get_default_for_uri_scheme.
3932 2007-11-01 Alexander Larsson <alexl@redhat.com>
3935 Correct filename for gdriveprivate.h
3937 2007-10-31 Alexander Larsson <alexl@redhat.com>
3940 Rename id:value to id:file
3943 * gio/glocalfileinfo.c:
3946 2007-10-31 Alexander Larsson <alexl@redhat.com>
3948 * gio/gunixvolume.c:
3950 Remove g_volume_get_platform_id, as thats not
3951 needed with the simpler union volume monitor
3953 2007-10-31 Alexander Larsson <alexl@redhat.com>
3956 * gio/guniondrive.[ch]: Removed.
3957 * gio/gunionvolume.[ch]: Removed.
3958 Remove GUnionDrive/Volume
3960 * gio/gunionvolumemonitor.c:
3961 Simplify union volume monitor, now we
3962 only have one native volume monitor and
3963 we use the actual volumes/drives from the
3964 child monitors instead of wrapping them
3966 * gio/gnativevolumemonitor.[ch]:
3967 Base class for native volume monitors.
3968 Includes priority and get_volume_for_mountpoint
3971 Add g_file_find_enclosing_volume
3974 Remove volume name fs attribute
3975 Add readonly fs attribute
3978 Implement readonly attribute
3979 remove volume name attribute
3980 Implement find_enclosing volume
3982 * gio/gunixmounts.c:
3983 Add a volume for "/".
3985 * gio/gunixvolume.[ch]:
3986 Set better name for /
3988 * gio/gunixvolumemonitor.[ch]:
3989 Derive from GNativeVolumeMonitor
3990 Implement get_volume_for_mountpoint
3993 GVolume typedef moved to gfile.h
3995 * gio/gvolumeprivate.h:
3996 Add g_volume_get_for_mount_path
3998 2007-10-31 Alexander Larsson <alexl@redhat.com>
4000 * gio/gunixmounts.[ch]:
4001 Add cache info to unix mount listers
4002 Make getmntent use threadsafe
4003 Add is_system_internal attribute for GUnixMount
4005 * gio/gunixvolume.c:
4006 (g_unix_volume_new):
4007 Use is_system_internal instead of own code
4009 * gio/glocaldirectorymonitor.c:
4010 * gio/gunixvolumemonitor.c:
4011 Update to new gunixmounts API
4016 2007-10-30 Alexander Larsson <alexl@redhat.com>
4019 Add volume name fsinfo attribute
4022 Read volume name info
4024 * gio/gunionvolumemonitor.c:
4025 Fix infinite loops when finalizing a union volume monitor
4027 2007-10-30 Alexander Larsson <alexl@redhat.com>
4029 * gio/goutputstream.[ch]:
4030 Add splice() with default implementation
4032 * gio/gsocketoutputstream.c:
4033 (g_socket_output_stream_write):
4034 Return error on cancellation correctly.
4036 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4038 * gio/glocalfile.c (g_local_file_trash):
4039 Do not leak a string.
4041 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4043 * gio/gfile.c (g_file_load_contents):
4044 Unref the stream after closing it.
4046 2007-10-25 Alexander Larsson <alexl@redhat.com>
4048 * gio/gioscheduler.h:
4051 2007-10-25 Alexander Larsson <alexl@redhat.com>
4055 Add g_file_has_uri_scheme and implement for local files
4057 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4059 * gio/gdesktopappinfo.c: do not leak a string.
4061 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4063 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4064 (g_local_directory_monitor_new):
4065 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4066 (g_local_file_monitor_new):
4067 Only look for the monitor type that should be used the first time
4068 and use g_qsort_with_data() instead of our own bubble sort
4071 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4074 * gio/fam/Makefile.am:
4075 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4076 * gio/fam/fam-helper.h:
4077 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4078 * gio/fam/gfamdirectorymonitor.c:
4079 * gio/fam/gfamdirectorymonitor.h:
4080 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4081 * gio/fam/gfamfilemonitor.h:
4082 * gio/glocaldirectorymonitor.c:
4083 * gio/glocaldirectorymonitor.h:
4084 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4085 * gio/glocalfilemonitor.h:
4086 * gio/inotify/Makefile.am:
4087 * gio/inotify/ginotifydirectorymonitor.c:
4088 * gio/inotify/ginotifydirectorymonitor.h:
4089 * gio/inotify/ginotifyfilemonitor.c:
4090 * gio/inotify/ginotifyfilemonitor.h:
4091 Implement the FAM and Inotify monitors as
4092 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4093 their own GIO module. GLocal(Directory|File)Monitor will use the
4094 monitor with the highest rank that is supported on that machine.
4096 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4099 Change GIO module dir to $(libdir)/gio/modules and change
4100 the log domain from GVFS to GIO. Also only export symbols starting
4101 with g_ in the resulting library.
4102 * gio/test-streams.c: (main):
4103 Set log handler for the GIO log domain.
4105 2007-10-22 Alexander Larsson <alexl@redhat.com>
4107 * gio/gfilenamecompleter.[ch]:
4108 Add g_filename_completer_set_dirs_only
4110 2007-10-22 Alexander Larsson <alexl@redhat.com>
4113 * gio/gurifuncs.[ch]:
4114 Add some simple URI helpers
4116 * gio/gfilenamecompleter.[ch]:
4117 Added object for filename (parse name actually) completion
4120 Handle ~ in parse names
4122 2007-10-17 Alexander Larsson <alexl@redhat.com>
4125 * gio/glocalfileinfo.c:
4126 Add and implement id:value attribute
4128 2007-10-17 Alexander Larsson <alexl@redhat.com>
4131 * gio/guniondrive.c:
4133 Add and implement g_drive_has_volumes
4135 2007-10-17 Alexander Larsson <alexl@redhat.com>
4138 * gio/glocalfileinfo.[ch]:
4139 Add unix:is_mountpoint and implement for local files
4141 2007-10-16 Alexander Larsson <alexl@redhat.com>
4143 * gio/gunionvolumemonitor.c:
4144 (g_union_volume_monitor_init):
4145 Fix up the unix type getting so that it works with gcc
4147 2007-10-12 Alexander Larsson <alexl@redhat.com>
4150 * gio/glocalfileinfo.c:
4151 Add thumbnail:failed to file info
4153 2007-10-12 Richard Hult <richard@imendio.com>
4155 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4156 optimizing away the get_type call (happens with some gcc versions,
4157 like the one shipped with OS X 10.4).
4159 2007-10-12 Alexander Larsson <alexl@redhat.com>
4161 * gio/glocalfileinfo.c:
4162 (_g_local_file_info_set_attribute):
4163 Fix build if not HAVE_XATTR
4164 Patch from Milosz Derezynski <internalerror@gmail.com>
4166 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4168 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4169 around for review, otherwise I would have asked you before
4172 2007-10-11 Alexander Larsson <alexl@redhat.com>
4175 Add thumbnail:path attribute
4177 * gio/glocalfileinfo.c:
4178 Implement thumbnail:path for local files
4180 2007-10-11 Alexander Larsson <alexl@redhat.com>
4182 * gio/glocalfileinfo.c:
4183 (_g_local_file_info_get):
4184 Avoid duplicate icon names
4186 2007-10-11 Alexander Larsson <alexl@redhat.com>
4188 * gio/gthemedicon.[ch]:
4189 Change g_themed_icon_get_names return type to const
4191 2007-10-10 Alexander Larsson <alexl@redhat.com>
4193 * gio/glocalfileinfo.c:
4194 Don't reference freed memory
4196 2007-10-10 Alexander Larsson <alexl@redhat.com>
4198 * gio/gfileattribute.c:
4201 * gio/glocalfileinfo.c:
4204 2007-10-10 Alexander Larsson <alexl@redhat.com>
4207 Check for NULL icons
4209 * gio/gfileattribute.c:
4210 Don't dup when getting objects (same as for string attributes)
4212 * gio/gicon.c (g_icon_equal):
4213 Safely handle NULLs in equal
4215 2007-10-10 Alexander Larsson <alexl@redhat.com>
4218 Fix c++ compilation issues
4219 Patch from Milosz Derezynski <internalerror@gmail.com>
4221 2007-10-10 Alexander Larsson <alexl@redhat.com>
4223 * programs/gio-monitor-dir.c:
4224 Don't crash if dir monitor not supported.
4226 2007-10-09 Alexander Larsson <alexl@redhat.com>
4229 Add missing G_END_DECLS
4231 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4233 * gio/gfile.c: (g_file_set_display_name),
4234 (g_file_query_settable_attributes),
4235 (g_file_query_writable_namespaces):
4236 Return NULL not FALSE on errors as the return type is a pointer.
4238 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4240 * gio/glocalfile.c: (g_local_file_monitor_file):
4241 Don't call monitor_file on the default interface vtable (which
4242 is NULL) but simply return NULL. The caller, GFile, will create a
4243 polling monitor if NULL is returned.
4245 2007-10-09 Alexander Larsson <alexl@redhat.com>
4249 * gio-unix-2.0.pc.in:
4250 Add gio-unix-2.0.pc if OS_UNIX
4253 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4255 2007-10-09 Alexander Larsson <alexl@redhat.com>
4257 * gio/gunixmounts.[ch]:
4258 Make unix mount monitoring API sane.
4259 Now its just a object with mounts_changed
4260 and mountpoints_changed signals.
4262 * gio/glocaldirectorymonitor.c:
4263 * gio/gunixvolumemonitor.c:
4264 Use new mount monitor api
4266 2007-10-09 Alexander Larsson <alexl@redhat.com>
4268 * gio/gunixmounts.[ch]:
4269 Move guess type into one call for mounts and one for mountpoints
4272 * gio/gunixvolume.c:
4275 2007-10-09 Alexander Larsson <alexl@redhat.com>
4277 * gio/gunixmounts.[ch]:
4278 Remove _ prefix in preparation to make this semi-public
4279 Hide implementation of structs
4281 * gio/glocaldirectorymonitor.c:
4283 * gio/gunixvolume.c:
4284 * gio/gunixvolumemonitor.c:
4285 Update for above API changes
4287 2007-10-08 Alexander Larsson <alexl@redhat.com>
4290 Better polling fallback. This also handles the case where we have
4291 a monitor_file implementation, but it fails.
4293 2007-10-08 Alexander Larsson <alexl@redhat.com>
4297 * gio/gunixmounts.c:
4298 * programs/gio-monitor-dir.c:
4299 * programs/gio-monitor-file.c:
4300 Added cancellable to file monitoring calls.
4301 These are really sync calls and need this.
4303 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4305 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4306 (g_local_vfs_class_init):
4307 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4308 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4310 2007-10-05 Alexander Larsson <alexl@redhat.com>
4312 * gio/gdirectorymonitorprivate.h:
4313 * gio/gfilemonitorprivate.h:
4314 * gio/gdirectorymonitor.h:
4315 * gio/gfilemonitor.h:
4316 Remove *private.h and move to the public API, so that
4317 we can do implementations outside gio (such as in gvfs)
4319 * gio/gdirectorymonitor.c:
4320 * gio/gfilemonitor.c:
4321 * gio/glocaldirectorymonitor.c:
4322 * gio/gpollfilemonitor.c:
4323 * gio/inotify/inotify-helper.c:
4324 * gio/fam/fam-helper.c:
4325 Update to the new header names
4327 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4329 * gio/gdirectorymonitor.c:
4330 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4333 2007-10-04 Alexander Larsson <alexl@redhat.com>
4335 * gio/glocalfileinfo.c (get_access_rights):
4336 Set CAN_TRASH when we can move the file.
4337 We should really also check for a parent trash dir.
4339 2007-10-04 Alexander Larsson <alexl@redhat.com>
4341 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4342 Add can_trash access attribute
4344 2007-10-04 Alexander Larsson <alexl@redhat.com>
4347 (g_local_file_trash):
4348 Create info file first. This is per-spec and allows
4349 us to actually trash directories.
4351 2007-10-02 Alexander Larsson <alexl@redhat.com>
4353 * gio/gdesktopappinfo.c:
4354 Implement the new mime support code.
4355 Always set app as handling mimetype when being set as default for it
4357 2007-10-01 Alexander Larsson <alexl@redhat.com>
4359 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4360 Fix up check for xattrs:
4362 2007-10-01 Alexander Larsson <alexl@redhat.com>
4365 (g_app_info_set_as_default_for_extension):
4366 (g_app_info_add_supports_type):
4367 (g_app_info_can_remove_supports_type):
4368 (g_app_info_remove_supports_type):
4369 Make these fail nicely if not implemented
4371 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4373 * gio/glocalfileoutputstream.c:
4374 * gio/glocalfileoutputstream.h:
4379 * programs/gio-save.c:
4380 Add a GFileCreateFlags argument to operations that can create
4383 2007-10-01 Alexander Larsson <alexl@redhat.com>
4385 * gio/gappinfo.[ch]:
4386 * gio/gdesktopappinfo.c:
4387 Add more (stubbed out) mime API needed for nautilus
4389 2007-10-01 Alexander Larsson <alexl@redhat.com>
4392 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4393 Add g_app_info_set_as_default_for_extension.
4395 * gio/gdesktopappinfo.c:
4396 Dummy for g_app_info_set_as_default_for_extension
4397 Support flags in g_app_info_create_from_commandline
4399 * gio/gwin32appinfo.c:
4401 Update for API changes
4403 * gio/gthemedicon.c:
4404 Properly NULL-terminate list of icon names
4406 2007-09-28 Alexander Larsson <alexl@redhat.com>
4408 * gio/gloadableicon.h:
4409 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4411 2007-09-28 Alexander Larsson <alexl@redhat.com>
4414 Install headers in $includedir/gio-standalone/
4416 * gio-2.0.pc.in: Added.
4417 * gio-standalone.pc.in: Removed.
4420 Renamed pkg-config file to match glib (for future move)
4421 Update to the new include dir
4424 Add more TODO comments
4426 2007-09-28 Alexander Larsson <alexl@redhat.com>
4428 * gio/gdesktopappinfo.[ch]:
4429 Expose new_from_filename
4430 Add getter for is_hidden and handle it better
4432 2007-09-28 Alexander Larsson <alexl@redhat.com>
4434 * gio/gfileinfo.[ch]:
4435 Rename g_file_size_format_for_display to
4436 g_format_file_size_for_display.
4437 Now it doesn't have the g_file prefix, so we
4438 can later move it to glib.
4440 2007-09-28 Alexander Larsson <alexl@redhat.com>
4442 * gio/gappinfo.[ch]:
4443 Add g_app_info_get_id and g_app_info_get_executable.
4444 Make all getters non-reffing
4445 Make g_app_info_launch take GFile arguments.
4446 Add must_support_uris argument to g_app_info_get_default_for_type.
4448 * gio/gwin32appinfo.c:
4449 Update to GAppInfo api changes
4451 * gio/gdesktopappinfo.c:
4452 Update to GAppInfo api changes
4453 Implement supports_xdg_startup_notify
4455 * gio/gfileicon.c (g_file_icon_get_file):
4456 Make getter non-reffing.
4461 2007-09-27 Alexander Larsson <alexl@redhat.com>
4463 * gio/gfileinfo.[ch]:
4464 Add g_file_size_format_for_display helper
4466 2007-09-27 Alexander Larsson <alexl@redhat.com>
4468 * gio/glocalfileinfo.c:
4469 Set UNIX_GID from gid, not from uid
4471 2007-09-27 Alexander Larsson <alexl@redhat.com>
4474 Add g_file_set_attributes_async
4476 2007-09-27 Alexander Larsson <alexl@redhat.com>
4478 * gio/glocalfile.c (g_local_file_set_display_name):
4479 Fix set_display_name to actually rename to the right place.
4480 Use lstat to look for existing files so we don't overwrite
4483 2007-09-26 Alexander Larsson <alexl@redhat.com>
4486 Add g_file_set_display_name_async()
4488 2007-09-26 Alexander Larsson <alexl@redhat.com>
4491 Add load_partial_contents async calls
4494 Make internal function static
4496 2007-09-26 Alexander Larsson <alexl@redhat.com>
4498 * gio/glocalfileinfo.c:
4499 Correctly detect broken symlinks
4501 2007-09-26 Alexander Larsson <alexl@redhat.com>
4503 * gio/gcancellable.c (g_cancellable_cancel):
4504 Allow cancel on NULL cancellable
4506 2007-09-25 Alexander Larsson <alexl@redhat.com>
4508 * gio/gsimpleasyncresult.c:
4509 Don't allocate g_error manually.
4510 Fixes g_slice/g_new mixup crash
4512 2007-09-25 Alexander Larsson <alexl@redhat.com>
4514 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4515 Actually set active_backend.
4516 This means the monitor will be cancelled correctly.
4518 2007-09-25 Alexander Larsson <alexl@redhat.com>
4520 * gio/gdirectorymonitor.c:
4521 Set timeout to NULL when destroying
4523 2007-09-25 Alexander Larsson <alexl@redhat.com>
4526 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4527 that is a better description of the error.
4529 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4531 * gio/gvfs.c: (g_vfs_get_local):
4532 Make the local vfs variable static. The same instance should
4535 2007-09-24 Alexander Larsson <alexl@redhat.com>
4537 * gio/glocalfileinfo.c:
4538 Pass in actual length read into sniffer, not the length
4541 2007-09-21 Alexander Larsson <alexl@redhat.com>
4543 * gio/gfileenumerator.c:
4546 * gio/gfileinputstream.c:
4547 * gio/gfileoutputstream.c:
4548 * gio/ginputstream.c:
4549 * gio/goutputstream.c:
4550 Don't crash if async callbacks are NULL
4552 2007-09-20 Alexander Larsson <alexl@redhat.com>
4555 Add async enumerate_children method and default
4558 2007-09-20 Alexander Larsson <alexl@redhat.com>
4561 Add g_file_contains_file & g_file_get_relative_path, since they
4562 were needed for nautilus.
4563 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4568 Implement new methods
4570 2007-09-17 Alexander Larsson <alexl@redhat.com>
4573 * gio/gfileinputstream.[ch]:
4574 * gio/gfileoutputstream.[ch]:
4576 * gio/glocalfileenumerator.[ch]:
4577 * gio/glocalfileinfo.[ch]:
4578 * gio/glocalfileinputstream.c:
4579 * gio/glocalfileoutputstream.c:
4580 * gio/gpollfilemonitor.c:
4581 * programs/gio-copy.c:
4582 * programs/gio-info.c:
4583 * programs/gio-move.c:
4584 Rename get_file_info to query_info() to make it clearer
4585 that these are not simple getters, but do i/o.
4587 2007-09-17 Alexander Larsson <alexl@redhat.com>
4589 * gio/gdatainputstream.[ch]:
4590 * gio/test-streams.c:
4591 Use _read_XXX instead of _get_XXX for the i/o calls
4594 2007-09-17 Alexander Larsson <alexl@redhat.com>
4597 Added needed stuff to TODO comment
4599 2007-09-17 Alexander Larsson <alexl@redhat.com>
4601 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4602 Don't error out removing the backup copy if it doesn't
4605 2007-09-14 Alexander Larsson <alexl@redhat.com>
4607 * programs/Makefile.am:
4608 * programs/gvfs-*.c:
4610 Renamed apps from gvfs-xxx to gio-xxx.
4612 2007-09-14 Alexander Larsson <alexl@redhat.com>
4615 * gio/gfileoutputstream.[ch]:
4616 * gio/glocalfileoutputstream.c:
4617 * programs/gvfs-save.c:
4618 g_file_output_stream_get_etag doesn't do i/o, so remove
4619 cancellation and error.
4621 2007-09-14 Alexander Larsson <alexl@redhat.com>
4624 Add new_etag output to replace_contents functions
4626 2007-09-14 Alexander Larsson <alexl@redhat.com>
4628 * gio/gfileoutputstream.[ch]:
4629 Add async get_file_info and default implementation
4631 2007-09-14 Alexander Larsson <alexl@redhat.com>
4633 * gio/gfileinputstream.c:
4634 Implement fallback wrapper for async get_file_info
4636 2007-09-14 Alexander Larsson <alexl@redhat.com>
4639 Add etag out argument to load_contents
4644 2007-09-14 Alexander Larsson <alexl@redhat.com>
4646 * gio/gcontenttype.c (looks_like_text):
4647 Whitespace like tab, cr and lf do not make the
4650 2007-09-14 Alexander Larsson <alexl@redhat.com>
4652 * gio/gfileinputstream.[ch]:
4653 Add async get_file_info.
4655 2007-09-13 Alexander Larsson <alexl@redhat.com>
4657 * gio/goutputstream.c (g_output_stream_write_all):
4658 Allow NULL for bytes_written
4660 2007-09-13 Alexander Larsson <alexl@redhat.com>
4662 * gio/gmemoryinputstream.[ch]:
4663 Add accessors for data
4665 2007-09-13 Alexander Larsson <alexl@redhat.com>
4667 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4668 Don't crash if length is NULL