1 2008-07-28 Matthias Clasen <mclasen@redhat.com>
3 Bug 545157 – wrong/no list of "open with" applications for .cc and
6 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
7 Collect all ancestors, not just direct parents. Pointed
10 2008-07-28 Matthias Clasen <mclasen@redhat.com>
12 * Makefile.am: Install gemblemedicon.h
14 2008-07-28 Matthias Clasen <mclasen@redhat.com>
16 * gemblemedicon.[hc]: Add a GIcon implementation that can
17 add an emblem to another icon.
24 * gfileicon.c: Small documentation additions.
26 2008-07-28 Tor Lillqvist <tml@novell.com>
28 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
31 2008-07-27 Tor Lillqvist <tml@novell.com>
33 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
35 2008-07-24 David Zeuthen <davidz@redhat.com>
39 Also export a g_mount_guess_content_type_sync() function.
41 2008-07-23 Matthias Clasen <mclasen@redhat.com>
43 529694 – SELinux context setting support
45 * gfileinfo.c: Support setting selinux attributes.
48 2008-07-22 Priit Laes <plaes@plaes.org>
50 Bug 544140 - fam-helper 64-bit issue?
52 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
54 2008-07-21 Matthias Clasen <mclasen@redhat.com>
56 * === Released 2.17.4 ===
58 2008-07-20 Matthias Clasen <mclasen@redhat.com>
60 * gvolumemonitor.[hc]:
65 * gmount.c: Documentation fixes
67 2008-07-19 Matthias Clasen <mclasen@redhat.com>
69 543504 – crash in Epiphany Web Browser: Opening local file
80 * gvolume.c: Register types thread-safely.
81 Patch by Christian Persch
83 2008-07-18 Matthias Clasen <mclasen@redhat.com>
85 * gcontenttype.c: Remove debug spew
87 2008-07-18 Matthias Clasen <mclasen@redhat.com>
89 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
92 * fen/fen-kernel.c: Remove a warning that was causing
93 crashes. Reported by Lin Ma.
95 2008-07-18 Matthias Clasen <mclasen@redhat.com>
97 Bug 543040 – async reading on dummy file will crash on
100 * gfile.c (open_read_async_thread): Cope with read_fn being
101 NULL. Reported by Lin Ma.
103 2008-07-18 Matthias Clasen <mclasen@redhat.com>
106 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
108 2008-07-16 Matthias Clasen <mclasen@redhat.com>
112 * giomodule.c: Rename a chapter id to avoid filename conflict.
114 2008-07-16 Matthias Clasen <mclasen@redhat.com>
116 Bug 540616 – mem leak in filechooser button
118 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
119 the mount entry. Reported by Chrisitan Persch
121 2008-07-16 Matthias Clasen <mclasen@redhat.com>
123 * gfile.c: Small documentation fixes.
125 2008-07-15 Matthias Clasen <mclasen@redhat.com>
127 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
129 2008-07-08 Matthias Clasen <mclasen@redhat.com>
134 * gmount.c: Documentation improvements.
136 2008-07-08 Matthias Clasen <mclasen@redhat.com>
139 * gmount.[hc]: Add g_mount_guess_content_type().
141 2008-07-06 David Zeuthen <davidz@redhat.com>
144 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
145 is needed for easily handling adoption of foreign volumes by
146 out-of-process volume monitors (#541793)
148 2008-07-06 David Zeuthen <davidz@redhat.com>
150 * gvolumemonitor.[ch]:
151 * gunionvolumemonitor.c: Export the eject-button signal on the
152 volume monitor class (#541794).
154 2008-07-06 Matthias Clasen <mclasen@redhat.com>
156 * gappinfo.c: More doc tweaks
158 2008-07-05 Matthias Clasen <mclasen@redhat.com>
160 * gappinfo.c: Clarify some docs
162 2008-07-03 Matthias Clasen <mclasen@redhat.com>
164 * gdesktopappinfo.c: Fix a stupid mistake.
166 2008-07-02 Matthias Clasen <mclasen@redhat.com>
168 * === Released 2.17.3 ===
170 2008-07-02 Matthias Clasen <mclasen@redhat.com>
172 * gfilemonitor.c: Fix the build.
174 2008-07-02 Matthias Clasen <mclasen@redhat.com>
176 Bug 536160 – Add g_file_monitor()
179 * gfile.[hc]: Add g_file_monitor which can return either
180 a file or a directory monitor. Proposed by Behdad Esfahbod
182 2008-07-02 Matthias Clasen <mclasen@redhat.com>
184 536733 – gio build failure on Irix
186 * glocalfile.c: Use a configure check for structfs.f_bavail.
188 2008-07-02 Matthias Clasen <mclasen@redhat.com>
190 Bug 534639 – add g_desktop_app_info_new_from_keyfile
193 * gdesktopappinfo.[hc]: Add a function to create a
194 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
196 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
198 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
200 2008-07-01 Matthias Clasen <mclasen@redhat.com>
202 * gunixmounts.c: Fix a doc typo.
204 2008-07-01 Cody Russell <bratsche@gnome.org>
206 * gio/gcontenttype.c:
207 * gio/gwin32appinfo.c:
208 * gio/gwin32volumemonitor.c:
209 * gio/gwin32mount.c: Fixed some include problems.
211 2008-07-01 Cody Russell <bratsche@gnome.org>
215 Moved all relevant typedefs into these files.
218 Updated wrt added files.
220 Split types into separate file for easier maintainership. (#538564)
222 2008-06-30 Matthias Clasen <mclasen@redhat.com>
224 Bug 540331 – g_file_append_to () documentation: can return NULL
226 * gfile.c (g_file_append_to): Clarify docs.
229 2008-06-30 Matthias Clasen <mclasen@redhat.com>
231 Bug 539090 – g_content_type_from_mime_type() should unalias
233 * gcontentype.c (g_content_type_from_mime_type): Unalias.
234 Patch by Markus Bergman
236 2008-06-30 Matthias Clasen <mclasen@redhat.com>
238 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
241 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
242 on ppc and alpha. Reported by Mart Raudsepp
244 2008-06-29 Matthias Clasen <mclasen@redhat.com>
247 * tests/memory-output-stream.c: Add some tests for
250 2008-06-29 Matthias Clasen <mclasen@redhat.com>
252 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
255 * gmemoryoutputstream.c (array_resize): Handle truncation to
256 zero correctly. Reported by Akira Tagoh
258 2008-06-29 Matthias Clasen <mclasen@redhat.com>
260 * gmemoryoutputstream.c: Trivial doc fixes
262 2008-06-29 Matthias Clasen <mclasen@redhat.com>
264 Bug 540802 – g_list_prepend doesn't concat lists
266 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
267 one list to another. Pointed out by Jan Arne Petersen
269 2008-06-28 Michael Natterer <mitch@imendio.com>
271 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
273 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
275 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
276 to avoid problems with partial icon themes.
278 2008-06-17 Hans Breuer <hans@breuer.org>
280 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
281 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
282 access again on win32, see bug #538127
283 * giomodule.c : ensure GWin32VolumeMonitor is registered
284 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
285 * Makefile.am makefile.msc : updated
287 2008-06-16 Hans Breuer <hans@breuer.org>
289 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
290 and initialization in one step avoids c99ism
292 2008-06-16 Christian Persch <chpe@gnome.org>
295 * gio/gbufferedinputstream.c
297 * gio/gdatainputstream.c
298 * gio/gdesktopappinfo.c
300 * gio/gfileenumerator.c
301 * gio/gfileinputstream.c
302 * gio/gfileoutputstream.c
304 * gio/glocaldirectorymonitor.c
306 * gio/glocalfileenumerator.c
307 * gio/glocalfileinfo.c
308 * gio/glocalfilemonitor.c
309 * gio/glocalfileoutputstream.c
310 * gio/gmemoryinputstream.c
311 * gio/gmemoryoutputstream.c
312 * gio/goutputstream.c
313 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
316 2008-06-16 Tor Lillqvist <tml@novell.com>
318 Bug 538362 - Get Win32 icons back in the file chooser
320 * gcontenttype.c (g_content_type_get_icon): Look up the icon
321 corresponding to a file extension in the Registry. Patch by Hans
323 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
325 2008-06-16 Tor Lillqvist <tml@novell.com>
327 Patches by Hans Breuer:
329 * glocalfile.c (is_xp_or_later): Handle compiling against older
330 SDK headers with missing VerifyVersionInfo(). Conditioned on
331 _MSC_VER, but should probably use some better test.
332 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
333 uninitialised statfs_result variable on Win32.
335 2008-06-16 Michael Natterer <mitch@imendio.com>
337 * *.c: chain up unconditionally in finalize() and dispose(). Also
338 don't dereference these function pointers when calling them since
339 that has no meaning at all.
341 2008-06-16 Ross Burton <ross@burtonini.com>
344 Remove check for dispose implementation as it annoys Emmanuele.
346 2008-06-16 Ross Burton <ross@burtonini.com>
348 Bug 536252 – GFileEnumerator should allow access to the containing
354 Add g_file_enumerator_get_container() and a container writeable
355 construct-only property. Also shuffle around typedefs to make it
358 * glocalfileenumerator.c:
359 * glocalfileenumerator.h:
361 Instead of a string filename take a GFile in the constructor and
362 use it to set the container property.
367 2008-06-16 Matthias Clasen <mclasen@redhat.com>
369 * gfile.c: Make includes more uniform
371 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
373 * tests/live-g-file.c (sample_struct):
374 Use less fancy unicode filenames, so the test doesn't fail
375 on Mac OS X (#531476).
377 2008-06-12 Matthias Clasen <mclasen@redhat.com>
379 * === Released 2.17.2 ===
381 2008-06-12 Matthias Clasen <mclasen@redhat.com>
383 * === Released 2.17.1 ===
385 2008-06-11 A. Walton <awalton@gnome.org>
387 * tests/g-file.c (test_g_file_new_null):
388 Fix broken test case.
390 2008-06-11 Matthias Clasen <mclasen@redhat.com>
392 * pltcheck.sh: We use g_clear_error now.
394 2008-06-11 Matthias Clasen <mclasen@redhat.com>
396 * glocalfile.c (g_local_file_enumerate_children): Revert
397 an unintended change.
399 2008-06-11 Matthias Clasen <mclasen@redhat.com>
401 * gfile.c (g_file_replace_contents): Don't unref before the last use.
403 2008-06-10 Matthias Clasen <mclasen@redhat.com>
405 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
408 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
409 as icon for the desktop directory, also make user-home and
410 user-desktop the preferred icons.
412 2008-06-10 Matthias Clasen <mclasen@redhat.com>
415 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
416 to add a name to the front of the list.
418 2008-06-10 Matthias Clasen <mclasen@redhat.com>
420 Bug 537392 – Additional colon in xattr name
422 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
423 too. Reported by Alessandro Morandi
425 2008-06-10 Matthias Clasen <mclasen@redhat.com>
427 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
430 * glocalfile.c (get_fs_type): Add afs and autofs.
431 Patch by Danny Baumann.
433 2008-06-10 Matthias Clasen <mclasen@redhat.com>
435 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
437 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
438 is no parent. (Owen Taylor, patch by Christian Neumair)
440 2008-06-10 Paolo Borelli <pborelli@katamail.com>
442 * gfile.c (g_file_replace_contents): do not leak the output stream.
444 2008-06-10 Michael Natterer <mitch@imendio.com>
446 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
447 uninitialized memory as array index.
449 2008-06-10 Tor Lillqvist <tml@novell.com>
451 * gcontenttype.c (g_content_type_can_be_executable)
452 (g_content_type_get_icon) [Win32]: Add TODO comments.
454 2008-06-09 Matthias Clasen <mclasen@redhat.com>
456 * xdgmime/Makefile.am: Fix the build
458 2008-06-09 Matthias Clasen <mclasen@redhat.com>
460 * gcontenttype.c (g_content_type_get_icon): Use icons specified
461 in the shared mime database, if available.
463 * xdgmime/*: Sync with upstream. This brings support for
464 glob weights, generic icons, and changes the cache format to
467 2008-05-28 Michael Natterer <mitch@imendio.com>
469 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
470 the global CPPFLAGS now.
472 * tests/data-input-stream.c
473 * tests/data-output-stream.c
474 * tests/g-file-info.c
476 * tests/live-g-file.c
477 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
479 2008-05-27 Matthias Clasen <mclasen@redhat.com>
481 * === Released 2.17.0 ===
483 * tests/live-g-file.c: Clean up after the tests, so make distcheck
484 doesn't complain about leftover files.
486 2008-05-27 simon.zheng <simon.zheng@sun.com>
488 * glocalfile.c: (g_local_file_query_filesystem_info):
489 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
491 2008-05-26 Michael Natterer <mitch@imendio.com>
493 * gmemoryoutputstream.h: declare
494 g_memory_output_stream_get_data_size().
496 2008-05-26 Matthias Clasen <mclasen@redhat.com>
498 * tests/*: Make tests work
500 2008-05-26 Matthias Clasen <mclasen@redhat.com>
502 * gio.symbols: Add g_memory_output_stream_get_data_size.
504 2008-05-25 Ross Burton <ross@burtonini.com>
507 Fix typo in error message (#534764).
509 2008-05-25 Ross Burton <ross@burtonini.com>
512 Fix circular dependency loop for gioenumtypes.h (#534759).
514 2008-05-19 Hans Breuer <hans@breuer.org>
516 * Makefile.am : EXTRA_DIST += makefile.msc
518 2008-05-17 Matthias Clasen <mclasen@redhat.com>
521 * gcontenttype.c: (g_content_type_from_mime_type):
522 New function to create a content type from a mime type. (#527175,
525 2008-05-17 Matthias Clasen <mclasen@redhat.com>
527 Bug 532965 – Should not return filesystem::free for certain file systems
529 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
530 free space for ncpfs.
532 2008-05-17 Matthias Clasen <mclasen@redhat.com>
534 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
536 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
537 st_dev might be zero.
539 2008-05-16 Tor Lillqvist <tml@novell.com>
541 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
542 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
544 2008-05-13 Bastien Nocera <hadess@hadess.net>
546 * gfile.c (has_valid_scheme): A URI scheme must start with a
547 letter, even if later more characters are allowed (#532852)
549 2008-05-05 Michael Natterer <mitch@imendio.com>
551 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
552 code from being checked in that breaks the build of applications
553 which use G_DISABLE_SINGLE_INCLUDES.
555 * makegioalias.pl: make the alias file include "glib.h" instead of
558 * gio.symbols: whitespace change to force regeneration of the
559 alias file after above script change.
561 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
563 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
565 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
567 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
569 2008-04-28 David Zeuthen <davidz@redhat.com>
571 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
572 displaying mounts in a subdirectory not accessible to the
575 2008-04-22 Michael Natterer <mitch@imendio.com>
577 * Makefile.am: fix library versioning (it was 0.0.0).
579 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
581 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
582 Default disable all loggings.
583 * fen/fen-kernel.c: (printevent), (port_add_kevent),
584 (port_fetch_event_cb): Fixed two macro nits.
586 2008-04-16 Matthias Clasen <mclasen@redhat.com>
588 * xdgmime/xdgmime.c: Rework the timestamp checking code
589 to protect against duplicate directories in XDG_DATA_DIRS.
590 Fixes fd.o bug 12513, reported by Joe Shaw.
592 2008-04-16 Matthias Clasen <mclasen@redhat.com>
594 Partically revert the last commit after realizing that
595 xdg_mime_media_type_equal doesn't have to init at all.
598 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
600 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
602 2008-04-16 Matthias Clasen <mclasen@redhat.com>
604 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
605 reported by Joe Shaw and Federico Mena Quintero.
607 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
608 (xdg_mime_media_type_equal): Turn into a wrapper around the
611 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
612 functions throughout.
614 2008-04-16 Michael Meeks <michael.meeks@novell.com>
616 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
617 tolerate an empty TryExec= line without failing; nautilus used
618 to create launchers with these in previous versions. Fixes #528433
620 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
622 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
623 after name. Fixes #527132.
625 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
627 * gfile.c: (g_file_replace):
630 2008-04-07 Matthias Clasen <mclasen@redhat.com>
632 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
634 * gfile.c (file_copy_fallback): Fix the argument order. Patch
635 by Christian Kellner.
637 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
639 * gunixmounts.c: (g_unix_mount_guess_should_display):
640 Don't list the user directory as a mount, fix potential issue
641 when other users have a similar naming and don't special case the
642 gvfs mounts there since that's not required (#525866)
644 2008-03-31 Alexander Larsson <alexl@redhat.com>
646 * glocalfile.c (get_parent):
649 2008-03-31 A. Walton <awalton@svn.gnome.org>
651 * gfile.c (g_file_query_file_type):
652 Always return a GFileType enum value (#520715).
654 2008-03-31 Alexander Larsson <alexl@redhat.com>
656 * glocalfileenumerator.c:
657 Read readdir() info in chunks (of 1000) and sort
658 the chunks by inode before stat:ing.
659 This is a 20% performance increase in testing
660 gvfs-ls on /usr/bin with cold cache.
662 2008-03-31 Alexander Larsson <alexl@redhat.com>
664 * gmemoryoutputstream.c:
665 Clarify docs for g_memory_output_stream_get_size.
666 Add g_memory_output_stream_get_data_size.
668 2008-03-30 Matthias Clasen <mclasen@redhat.com>
672 * gfile.h: Add g_file_query_file_type convenience function
673 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
675 2008-03-30 Matthias Clasen <mclasen@redhat.com>
678 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
680 2008-03-28 A. Walton <awalton@svn.gnome.org>
682 * giomodule.c (_g_io_modules_ensure_loaded):
683 Adds GIO_EXTRA_MODULES environment variable support, closing bug
686 2008-03-28 Alexander Larsson <alexl@redhat.com>
689 (copy_stream_with_progress):
692 2008-03-28 Alexander Larsson <alexl@redhat.com>
695 (copy_stream_with_progress):
696 (file_copy_fallback):
697 Fallback to g_file_query_info for source size
698 if g_file_input_stream_query_info fails. (#524579)
700 2008-03-28 Alexander Larsson <alexl@redhat.com>
702 * glocalfile.c (g_local_file_move):
703 Reuse old string instead of adding new one.
705 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
707 * fen/*.[hc]: still copyright issue. I hate copyright.
709 2008-03-27 Alexander Larsson <alexl@redhat.com>
711 * glocalfile.c (g_local_file_move):
712 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
713 file over directory. This is according to the docs and what the move via
714 copy+remove fallback does.
716 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
718 * fen/*.[hc]: Updated copyright.
720 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
722 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
724 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
726 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
727 not emit attribute changed events when optimizing changed events.
728 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
731 2008-03-19 Matthias Clasen <mclasen@redhat.com>
733 * gmountoperation.[hc]: Small documentation additions
735 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
737 * gunixmounts.c: (guess_mount_type):
738 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
740 2008-03-19 Alexander Larsson <alexl@redhat.com>
743 (copy_stream_with_progress):
744 Bump block side for copy to 64k to minimize
745 overhead for low latency links. (#523015)
747 2008-03-16 Tor Lillqvist <tml@novell.com>
749 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
750 depend on gio.def on Windows.
752 2008-03-12 David Zeuthen <davidz@redhat.com>
756 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
758 2008-03-14 Alexander Larsson <alexl@redhat.com>
762 Avoid redudant tests (#521851)
763 Patch from Josselin Mouette
765 2008-03-14 Alexander Larsson <alexl@redhat.com>
768 (g_file_monitor_is_cancelled):
769 Fix C89 issue (#521672)
770 Patch from Jens Granseuer
772 2008-03-14 Alexander Larsson <alexl@redhat.com>
774 * fam/fam-helper.[ch]:
776 Shut down fam (including removing fam GSource) when
777 module is unloaded (#521513)
778 Patch from Joe Marcus Clarke
780 2008-03-14 Alexander Larsson <alexl@redhat.com>
783 (_g_io_modules_ensure_loaded):
786 2008-03-14 Alexander Larsson <alexl@redhat.com>
789 (g_local_file_query_filesystem_info):
790 Use right define name for f_fstypename member check
792 2008-03-14 Alexander Larsson <alexl@redhat.com>
795 * fen/Makefile.am: Added.
796 * fen/fen-data.[ch]: Added.
797 * fen/fen-dump.[ch]: Added.
798 * fen/fen-helper.[ch]: Added.
799 * fen/fen-kernel.[ch]: Added.
800 * fen/fen-missing.[ch]: Added.
801 * fen/fen-node.[ch]: Added.
802 * fen/fen-sub.[ch]: Added.
803 * fen/gfendirectorymonitor.[ch]: Added.
804 * fen/gfenfilemonitor.[ch]: Added.
806 Added Solaris FEN file notification backend.
807 Patch from Lin Ma <Lin.Ma@Sun.COM>
809 2008-03-13 Tor Lillqvist <tml@novell.com>
811 * Makefile.am: Actually use the gio.def file when linking the
812 library on Windows. Produce .lib library for Microsoft's toolchain
813 when possible. Install the .lib and .def file like for the other
816 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
818 * tests/live-g-file.c:
819 Include live-g-file in standard set of tests, making a temporary
820 directory in source structure.
822 Clean target directory before the tests (write mode only)
824 2008-03-12 Tor Lillqvist <tml@novell.com>
826 Bug 517419 - gio win32 directory monitor
827 Implementation by Vlad Grecescu.
830 * win32/gwin32directorymonitor.h
831 * win32/gwin32directorymonitor.c: New files.
833 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
835 * Makefile.am: Add the win32 subdirectory.
837 2008-03-12 Tor Lillqvist <tml@novell.com>
839 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
840 normal struct stat on Unix but struct _stati64 on Windows to have
841 access to 64-bit file size information. Use that instead of struct
842 stat in the functions declared here in this private header.
844 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
845 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
846 warnings about unused functions and variables. Don't set
847 meaningless attributes like inode numbers on Windows.
849 2008-03-12 Benjamin Otte <otte@gnome.org>
852 trim whitespace so gtk-doc groks the function name
854 2008-03-12 Tor Lillqvist <tml@novell.com>
856 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
857 returning FALSE, on Win32.
859 2008-03-11 Alexander Larsson <alexl@redhat.com>
862 * glocalfileinfo.[ch]:
863 Correctly implement can_trash by actually
864 looking for a trash dir, not just assuming
867 2008-03-10 Matthias Clasen <mclasen@redhat.com>
869 * === Released 2.16.1 ===
871 2008-03-11 Alexander Larsson <alexl@redhat.com>
874 Fix crashes in new constructor and properties code
876 2008-03-10 Murray Cumming <murrayc@murrayc.com>
878 * gfile.c: Minor spelling correction in documentation:
879 existance -> existence.
881 2008-03-10 Matthias Clasen <mclasen@redhat.com>
883 * === Released 2.16.0 ===
885 2008-03-10 Matthias Clasen <mclasen@redhat.com>
887 * gio.symbols: Remove g_file_contains_file here, too.
889 2008-03-10 Matthias Clasen <mclasen@redhat.com>
891 * gthemedicon.c: Add properties to make bindings happy. (#517676,
892 Samuel Cormier-Iijima)
894 2008-03-08 Tor Lillqvist <tml@novell.com>
896 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
899 2008-03-07 Alexander Larsson <alexl@redhat.com>
902 (g_local_file_query_filesystem_info):
903 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
904 Patch from Jasper Lievisse Adriaanse
906 2008-03-06 Tor Lillqvist <tml@novell.com>
908 * gfileinfo.h: Correct milliseconds to microseconds in the doc
909 comments for the *_USEC attributes.
911 2008-03-06 Alexander Larsson <alexl@redhat.com>
913 * gfile.c (g_file_query_exists):
914 Add g_return_val_if_fail check (#520700)
916 2008-03-06 Alexander Larsson <alexl@redhat.com>
921 * gunionvolumemonitor.c:
924 * tests/live-g-file.c:
925 * xdgmime/xdgmimecache.c:
926 Fix sparse warnings (#519489)
928 2008-03-05 Alexander Larsson <alexl@redhat.com>
931 Make cancellation threadsafe (i.e.
932 guarantee its only done once, and always
935 * glocaldirectorymonitor.c:
936 Make sure we the monitor lives while the
937 mounts_changed callback is being called (#520484)
939 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
941 * gbufferedinputstream.c: Fix typo in parameter
944 2008-03-04 Alexander Larsson <alexl@redhat.com>
947 Remove deprecated symbols we kept for one release.
949 2008-03-04 Murray Cumming <murrayc@murrayc.com>
952 * goutputstream.c: Tiny documentation corrections.
954 2008-03-03 Alexander Larsson <alexl@redhat.com>
956 * gunionvolumemonitor.c:
958 Fix the adopt_orphan_mount vfunc to take a
959 volume_monitor reference in an ABI compat way.
960 This change is not API compat, but the added
961 arg is not used in the only user of this vfunc, so
962 all we get is a harmless warning in gvfs (#520169)
964 2008-03-01 Benjamin Otte <otte@gnome.org>
967 clarify docs for g_file_delete().
969 2008-02-29 Alexander Larsson <alexl@redhat.com>
973 Make sure empty files get text/plain type (#518720)
975 2008-02-27 Alexander Larsson <alexl@redhat.com>
981 (g_unix_volume_mount):
982 Add missing GMountMountFlags argument
984 2008-02-26 Alexander Larsson <alexl@redhat.com>
987 (g_local_file_delete):
988 Handle filesystems (like ntfs-3g) that return EEXIST instead
989 of ENOTEMPTY (#518816)
991 2008-02-25 Matthias Clasen <mclasen@redhat.com>
993 * === Released 2.15.6 ===
995 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
997 * gfile.c (g_file_find_enclosing_mount):
998 * ginputstream.c (g_input_stream_set_pending):
999 * glocalfile.c (g_local_file_find_enclosing_mount):
1000 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1001 * goutputstream.c (g_output_stream_set_pending):
1003 Fixup translator comments (#518578).
1005 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1007 * gfile.c (g_file_find_enclosing_mount):
1009 * glocalfile.c (g_local_file_find_enclosing_mount):
1012 Fix a few typos in translator comments and documentation.
1014 2008-02-25 Alexander Larsson <alexl@redhat.com>
1021 Add translator comments (#518578)
1023 2008-02-25 Alexander Larsson <alexl@redhat.com>
1026 Reintroduce g_file_contains_file, keep around for one
1027 unstable release cycle to avoid crashing to many apps.
1028 Make sure to delete after release.
1030 2008-02-25 Alexander Larsson <alexl@redhat.com>
1033 Remove deprecated g_file_contains_file.
1035 2008-02-25 Alexander Larsson <alexl@redhat.com>
1038 Emit actual change signals in an idle handler.
1039 This avoids reentrance and locking problems in
1040 the file notification backends.
1042 2008-02-25 Alexander Larsson <alexl@redhat.com>
1045 (g_unix_mount_guess_should_display):
1046 Remove type guessing, instead just display
1047 mounts in /media and in ~/.
1049 2008-02-25 Alexander Larsson <alexl@redhat.com>
1052 Make new strings reuse old ones.
1054 2008-02-25 Alexander Larsson <alexl@redhat.com>
1057 Implement trashing and filesystem::readonly for win32 (#517235)
1058 Patch from Yevgen Muntyan
1060 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1062 * gfileinfo.h: Documentation fixes.
1064 2008-02-22 Alexander Larsson <alexl@redhat.com>
1066 * gcontenttype.c (g_content_type_get_icon):
1067 Look at old-style gnome mime icon names too, as many
1068 have not moved to the new style.
1070 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1072 * *.c: Correct the @include in for section docs.
1074 2008-02-21 David Zeuthen <davidz@redhat.com>
1076 * glocalfileinfo.c: (_g_local_file_info_get):
1078 (g_content_type_get_icon): Implement this function by
1079 moving bits from glocalfileinfo.c
1080 (g_content_type_get_description): Unalias before getting
1081 description (#517687)
1083 * gfile.c: (g_file_class_init),
1084 (g_file_query_filesystem_info_async),
1085 (g_file_query_filesystem_info_finish),
1086 (query_filesystem_info_data_free),
1087 (query_filesystem_info_async_thread),
1088 (g_file_real_query_filesystem_info_async),
1089 (g_file_real_query_filesystem_info_finish):
1090 * gfile.h: Implement async version of
1091 g_file_query_filesystem_info()
1093 * gfileinfo.h: Add new attributes for filesystem::use-preview
1095 * gio.symbols: Update
1097 * gthemedicon.c: (g_themed_icon_append_name):
1098 * gthemedicon.h: Add new new convenience function.
1100 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1101 (get_mounts), (get_volumes), (get_connected_drives),
1102 (get_volume_for_uuid), (get_mount_for_uuid),
1103 (g_union_volume_monitor_init), (populate_union_monitor),
1104 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1105 (g_volume_monitor_adopt_orphan_mount):
1107 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1108 monitor implementations to call into the main volume monitor. Also
1109 separate object initialization and volume monitor initialization
1110 such that non-native volume monitors can properly adopt their
1113 2008-02-21 Alexander Larsson <alexl@redhat.com>
1118 2008-02-21 Alexander Larsson <alexl@redhat.com>
1121 Add more documentation about how GFiles work (from #517086)
1123 2008-02-21 Alexander Larsson <alexl@redhat.com>
1127 Add new g_file_has_prefix that does the same as g_file_contains_file.
1128 Deprecate g_file_contains_file and add a macro that converts
1129 it to g_file_has_prefix.
1130 The reason for this change is that the contains_file() name seems to
1131 imply that this does more work than what it does, but its really only
1132 a name match (from #517086)
1137 Update to match the above change.
1139 2008-02-20 Benjamin Otte <otte@gnome.org>
1141 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1142 (g_file_eject_mountable):
1143 even more cases of not returning in error path
1145 2008-02-20 Benjamin Otte <otte@gnome.org>
1147 * gfile.c: (g_file_mount_mountable):
1148 return from function in error path.
1150 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1153 Remove trailing coma in GMountMountFlags struct
1155 2008-02-18 Alexander Larsson <alexl@redhat.com>
1159 * glocalfileoutputstream.c:
1160 Use g_unlink/g_rename instead of unlink/rename;
1161 do not pass raw filenames to g_set_error. (#517239)
1162 Patch from Yevgen Muntyan.
1164 2008-02-18 Alexander Larsson <alexl@redhat.com>
1167 * glocalfileoutputstream.c:
1168 Open files with O_BINARY on windows. (#517140)
1170 2008-02-14 Alexander Larsson <alexl@redhat.com>
1172 * glocalfileoutputstream.c:
1173 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1175 2008-02-14 Alexander Larsson <alexl@redhat.com>
1178 Copy permissions with file on copy (#514084)
1179 This is what cp does and makes sure e.g. the
1180 exec permissions are kept.
1181 Its kinda weird in that it keeps the permission bits
1182 the same while the uid and gid are different. However
1183 the new uid is the user so its not a security issue,
1184 and I've heard no complaints about cp on this issue.
1186 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1188 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1190 2008-02-13 Alexander Larsson <alexl@redhat.com>
1192 * inotify/inotify-path.c:
1193 Define IN_ONLYDIR if not in header (#515346)
1195 2008-02-12 Alexander Larsson <alexl@redhat.com>
1197 * tests/live-g-file.c:
1200 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1202 * === Released 2.15.5 ===
1204 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1206 * gio.symbols: Add g_mount_mount_flags_get_type.
1208 2008-02-11 Alexander Larsson <alexl@redhat.com>
1211 (g_file_info_set_attribute_mask):
1212 (g_file_attribute_matcher_matches_id):
1213 Correctly handle NULL GAttributeMatcher meaning
1214 matches nothing. (Fixes #513492)
1216 2008-02-11 Alexander Larsson <alexl@redhat.com>
1221 Added GMountMountFlags enum and added a flags
1222 argument to all mount calls.
1224 This is an API/ABI change for future extensibility,
1225 as I think we will need at least an
1226 inhibit-autorun flag (the panel needs this).
1227 There are no flags defined yet though.
1229 2008-02-11 Alexander Larsson <alexl@redhat.com>
1232 Added new standard::description attribute.
1233 Requested by Vincent, and useful for both
1236 2008-02-11 Alexander Larsson <alexl@redhat.com>
1238 * gdesktopappinfo.c:
1241 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1243 * *.c: Documentation additions
1245 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1247 * gappinfo.h: Formatting cleanup
1248 * gappinfo.c: Fix up docs.
1250 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1252 * gunixmounts.c: Consistently use getmntent_r() and fall
1253 back to getmntent(). (#515492)
1255 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1257 * gbufferedinputstream.c:
1259 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1261 * tests/data-input-stream.c:
1262 * tests/data-output-stream.c: Portability fixes.
1264 2008-02-08 Alexander Larsson <alexl@redhat.com>
1269 Add g_volume_should_automount.
1272 2008-02-07 Tor Lillqvist <tml@novell.com>
1274 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1275 Win32, too Unix-specific.
1277 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1279 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1280 a local plt if the compiler doesn't support what we want. Bug #514702
1282 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1284 reviewed by: <delete if not using a buddy>
1287 * gunixinputstream.c:
1288 * gunixoutputstream.c:
1290 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1292 * tests/Makefile.am:
1293 * tests/live-g-file.c:
1294 * tests/live-g-file.txt:
1295 New GIO testing module working over real data
1297 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1299 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1300 Fallback to rename() if link() is not available
1301 (when no support on target filesystem)
1303 2008-02-06 Michael Natterer <mitch@imendio.com>
1305 * gfileinfo.c (g_file_info_get_icon): replace
1306 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1308 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1310 * gfile.c (g_file_create):
1311 Documentation update of error codes
1313 2008-02-06 Alexander Larsson <alexl@redhat.com>
1315 * gdesktopappinfo.c:
1316 Update to use both mimeapps.list and
1317 defaults.list as discussed on xdg list.
1319 2008-02-06 Benjamin Otte <otte@gnome.org>
1322 * gfilenamecompleter.c:
1323 Fix some typos in the documentation.
1325 2008-02-06 Alexander Larsson <alexl@redhat.com>
1327 * glocalfile.c (g_local_file_trash):
1328 Don't succeed with trash if newly created
1329 trash dir has the wrong owner. (#514696)
1331 2008-02-05 Alexander Larsson <alexl@redhat.com>
1333 * glocalfile.c (g_local_file_move):
1334 Don't spew warnings when destination is not
1337 2008-02-03 Hans Breuer <hans@breuer.org>
1339 * makefile.msc : update
1341 2008-02-01 Michael Natterer <mitch@imendio.com>
1343 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1344 return value of xdg_mime_list_mime_parents() to a variable of the
1347 2008-02-01 Alexander Larsson <alexl@redhat.com>
1349 * gappinfo.c (g_app_info_launch_uris):
1350 Actually call the launch_uris method, not
1353 2008-02-01 Alexander Larsson <alexl@redhat.com>
1355 * gdesktopappinfo.c (g_desktop_app_info_equal):
1356 Ensure appinfos with no id but same pointer value
1359 2008-02-01 Alexander Larsson <alexl@redhat.com>
1361 * gappinfo.c (g_app_info_launch_default_for_uri):
1364 2008-02-01 Alexander Larsson <alexl@redhat.com>
1368 Add g_app_info_launch_default_for_uri utility
1371 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1373 * gdesktopappinfo.c:
1374 Doc fix for g_app_info_get_default_for_uri_scheme ()
1377 2008-01-30 Alexander Larsson <alexl@redhat.com>
1380 Add doc comment about uris vs GFiles to
1383 * gdesktopappinfo.c:
1384 Ensure uris passed to g_app_info_launch_uris()
1385 are not roundtriped through GFile (as that
1386 may be slightly destructive for e.g. mailto: links)
1388 2008-01-30 Alexander Larsson <alexl@redhat.com>
1390 * tests/data-input-stream.c:
1391 * tests/data-output-stream.c:
1392 C89 fixes from Jens Granseuer (#512849)
1394 2008-01-30 Alexander Larsson <alexl@redhat.com>
1397 Fix gamin/fam difference build issue. (#509419)
1399 2008-01-29 Alexander Larsson <alexl@redhat.com>
1402 * gdesktopappinfo.c:
1403 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1405 2008-01-29 Alexander Larsson <alexl@redhat.com>
1407 * gdesktopappinfo.c:
1408 * gdesktopappinfo.h:
1409 giomodule-priv.h include moved to .c file.
1411 2008-01-29 Alexander Larsson <alexl@redhat.com>
1413 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1414 Remove unused prio/name fields.
1416 2008-01-29 Alexander Larsson <alexl@redhat.com>
1418 * gcontenttype.c (looks_like_text):
1419 Don't treat whitespace as control chars.
1421 2008-01-29 Alexander Larsson <alexl@redhat.com>
1423 * gdesktopappinfo.c:
1424 Lazily create the desktop files for appinfos created
1425 by g_app_info_create_from_commandline() when needed
1426 for mime associations. This allows run-time use
1427 of GAppInfo object without creating unnecessary
1430 2008-01-29 Alexander Larsson <alexl@redhat.com>
1433 Added new symbols to gio.symbols
1435 2008-01-29 Alexander Larsson <alexl@redhat.com>
1438 Add g_file_query_default_handler utility to easily look up
1439 the GAppInfo that handles a file.
1441 * gdesktopappinfo.[ch]:
1443 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1446 Remove unused function
1448 2008-01-29 Alexander Larsson <alexl@redhat.com>
1450 * gfileenumerator.c:
1451 Mention need to free returned value in
1452 g_file_enumerator_next_files_finish docs.
1453 Fix leak if g_file_enumerator_next_files_finish()
1456 2008-01-29 Alexander Larsson <alexl@redhat.com>
1459 (_g_unix_content_type_get_parents):
1460 Use list_parents, not get_parents from xdgmime, because
1461 the later doesn't use the cache.
1463 * xdgmime/xdgmimecache.c:
1464 (_xdg_mime_cache_list_mime_parents):
1465 Don't list the same type as parent multiple times.
1467 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1469 * === Released 2.15.4 ===
1471 2008-01-28 Alexander Larsson <alexl@redhat.com>
1474 Register local vfs with prio 0.
1477 Remove old name and prio class members
1479 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1481 * tests/g-file.c: Disable some tests that are failing in
1482 the absence of a http backend.
1484 2008-01-28 Alexander Larsson <alexl@redhat.com>
1488 Add registration hooks for extension points.
1489 Register the gio extension points.
1491 * fam/gfamdirectorymonitor.c:
1492 * fam/gfamfilemonitor.c:
1493 * glocaldirectorymonitor.[ch]:
1494 * glocalfilemonitor.[ch]:
1495 * gnativevolumemonitor.h:
1496 * gunionvolumemonitor.c:
1497 * gunixvolumemonitor.c:
1500 * inotify/ginotifydirectorymonitor.c:
1501 * inotify/ginotifyfilemonitor.c:
1502 Use the extension points registration instead
1503 of g_type_children().
1505 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1508 * gvolume.[hc]: Document new API.
1510 * gfile.c (g_file_copy_async): Fix docs
1512 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1514 * gbufferedinputstream.c:
1516 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1519 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1521 * glocalfile.c: Avoid trivial differences in translatable strings.
1523 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1525 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1526 build with gcc 3.4 (#509419)
1528 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1530 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1531 (#509994, Murray Cumming)
1533 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1535 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1536 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1537 this allows big jobs to be executed in chunks, instead of blocking
1538 the main loop for a long time.
1540 * gsimpleasyncresult.c:
1541 * giofile.c: Adapt callers.
1543 2008-01-25 Alexander Larsson <alexl@redhat.com>
1545 * gdesktopappinfo.c:
1546 Implement changes discussed on xdg list.
1547 Now we can add supported mimetypes by just using defaults.list
1548 We can also remove associations in defaults.list.
1550 2008-01-25 Alexander Larsson <alexl@redhat.com>
1552 * gdesktopappinfo.c:
1553 Don't make local copy of desktop file
1554 for mimetype changes if the file already
1555 supports the new mimetype.
1557 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1561 * gbufferedinputstream.c:
1562 * glocalfile.c: String improvements. (#511966,
1563 Theppitak Karoonboonyanan)
1565 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1567 * gioscheduler.h: Expand docs a bit.
1569 2008-01-24 Alexander Larsson <alexl@redhat.com>
1572 Add g_drive_get_identifier and
1573 g_drive_enumerate_identifiers
1576 Add g_volume_get_identifier and
1577 g_volume_enumerate_identifiers
1583 Implement identifiers for unix backend
1585 2008-01-24 Alexander Larsson <alexl@redhat.com>
1590 Add g_file_copy_async() (#511580)
1591 Based on patch from Carlos Garcia Campos
1593 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1595 * gioscheduler.c: Some documentation additions.
1597 2008-01-22 Alexander Larsson <alexl@redhat.com>
1599 * gdesktopappinfo.c:
1600 (g_desktop_app_info_new):
1601 Don't leak basename.
1603 2008-01-22 Alexander Larsson <alexl@redhat.com>
1605 * gdesktopappinfo.c:
1606 (g_desktop_app_info_new_from_filename):
1609 2008-01-22 Alexander Larsson <alexl@redhat.com>
1611 * glocalfileinfo.c (get_thumbnail_attributes):
1614 2008-01-22 Alexander Larsson <alexl@redhat.com>
1617 (canonicalize_filename):
1618 Canonicalize paths that start with more than
1622 (compare_two_files):
1623 (test_g_file_new_for_path):
1626 2008-01-22 Alexander Larsson <alexl@redhat.com>
1629 Allow UTF-8 in file:// parse names.
1631 * tests/Makefile.am:
1632 * tests/data-input-stream.c:
1633 * tests/data-output-stream.c:
1634 * tests/g-file-info.c:
1636 Added a bunch of tests from Tomas Bzatek
1638 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1640 * === Released 2.15.3 ===
1642 2008-01-21 Alexander Larsson <alexl@redhat.com>
1644 * gfileinputstream.[ch]:
1645 * gfileoutputstream.[ch]:
1647 Remove duplicated GSeekable functions. (#509990)
1648 Just use the g_seekable_xxx() calls instead.
1650 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1653 * gvolumemanager.c: Whitespace cleanups.
1655 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1656 Use the right mode when creating the file.
1658 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1660 * gfileenumerator.c:
1661 * gfileinputstream.c:
1663 * goutputstream.c: Documentation: Fixed minor typos
1664 and added more mentions of specific _finish() functions.
1666 2008-01-21 Alexander Larsson <alexl@redhat.com>
1668 * inotify/Makefile.am:
1669 * inotify/inotify-helper.c:
1670 * inotify/inotify-kernel.c:
1671 * inotify/inotify-path.c:
1672 * inotify/local_inotify.h: Removed.
1673 * inotify/local_inotify_syscalls.h: Removed.
1674 Removed the included copies of the inotify
1675 headers. We now only use the <sys/inotify.h>
1676 header which exists on modern systems.
1677 This fixes problems on ARM and SH5 (#510448)
1678 but is also generally much cleaner and future
1679 safe. For instance, if other OSes add support
1680 for inotify it should "just work".
1682 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1684 * inotify/*.c: Coding style fixes.
1685 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1686 for the 1/4 Hz timer.
1688 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1691 * gfilemonitor.[hc]:
1692 * gmemoryinputstream.c:
1693 * gmemoryoutputstream.c:
1694 * gmountoperation.c:
1695 * gthemedicon.c: Documentation updates
1697 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1699 * gfile.c: documentation: Fixed more minor
1702 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1704 * gmount.c: (g_mount_remount): documentation:
1705 Mention g_mount_remount_finish() instead of
1706 g_mount_unmount_finish().
1708 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1712 * gfile.c: Fixed some minor typos in the
1715 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1717 * gio/gvolumemonitor.c:
1718 (g_volume_monitor_get_connected_drives):
1719 (g_volume_monitor_get_volumes):
1720 (g_volume_monitor_get_mounts): Documentation:
1721 Clarify the ownership of the regurn GLists.
1723 2008-01-17 Alexander Larsson <alexl@redhat.com>
1726 Add the async find_enclosing_mount version
1727 to the header file too.
1729 2008-01-17 Alexander Larsson <alexl@redhat.com>
1732 Add async version of find_enclosing_mount
1733 with default implementation.
1735 2008-01-17 Alexander Larsson <alexl@redhat.com>
1740 Allow calls to implementation of copy and write
1741 even if the type of the file implementations is
1742 different. This can be used to implement native
1743 upload and download calls in a vfs.
1746 (g_local_file_move):
1747 Protect against the case where move is called
1748 with one file not being local.
1750 Make sure we call the progress callback once
1751 in the native move operation so that the caller
1752 knows how many bytes were copied.
1754 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1757 * gdatainputstream.c:
1759 * gfileoutputstream.c:
1764 * gunixmounts.c: Corrected some typos in the documentation:
1765 occured -> occurred.
1766 its -> it's (where appropriate).
1768 2008-01-16 Alexander Larsson <alexl@redhat.com>
1772 Add g_file_query_exists (#508771)
1774 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1779 * gvolume.c: For async functions that have no non-async
1780 version, document that the GAsyncReadyCallback may be NULL.
1783 2008-01-15 Alexander Larsson <alexl@redhat.com>
1785 * gmemoryinputstream.c:
1786 * gmemoryoutputstream.c:
1787 Don't do pointer arithmetic on void * (#508602)
1788 Patch from Kazuki IWAMOTO
1790 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1792 * === Released 2.15.2 ===
1794 2008-01-14 Alexander Larsson <alexl@redhat.com>
1796 * gfile.c (g_file_monitor_file):
1797 Don't set error here, since we fallback to polling monitor.
1799 2008-01-14 Alexander Larsson <alexl@redhat.com>
1802 (g_file_monitor_directory):
1803 (g_file_monitor_file):
1804 Add GError to file monitor calls
1806 * glocaldirectorymonitor.c:
1807 * glocaldirectorymonitor.h:
1809 * glocalfilemonitor.c:
1810 * glocalfilemonitor.h:
1812 Update for above change
1814 2008-01-14 Alexander Larsson <alexl@redhat.com>
1818 Handle root correctly in g_file_get_relative_path (#508719)
1820 2008-01-14 Alexander Larsson <alexl@redhat.com>
1823 Clean up docs and example for GAsyncResult (#508074)
1825 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1827 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1828 and correct some spelling mistakes. Bug #508108.
1830 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1832 * glocalfileinfo.c: Add a comment.
1834 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1836 * gfileinfo.c: GFileInfo description: Mention
1837 how to actually set attributes in a GFile and how to discover
1838 which attributes are settable. Bug #508378.
1840 2008-01-10 A. Walton <awalton@svn.gnome.org>
1842 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1843 (g_app_info_get_default_for_type):
1844 Check for NULL content types.
1846 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1848 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1850 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1852 * gfile.c: *_async() functions: Several small corrections
1853 to the documentation, mostly correcting copy/paste errors
1854 and improving some sentences.
1856 2008-01-09 Dan Winship <danw@gnome.org>
1858 * glocalfile.c (get_unique_filename): x86_64 fix
1860 2008-01-09 Alexander Larsson <alexl@redhat.com>
1865 Add g_unix_mount_guess_should_display and use
1866 for unix volume monitor backend.
1867 This means we more or less show what the
1868 gnome-vfs backend did.
1869 Based on patch from Padraig O'Briain
1871 2008-01-09 Alexander Larsson <alexl@redhat.com>
1875 Add g_themed_icon_new_with_default_fallbacks
1878 Use default fallbacks for icons
1880 2008-01-09 Alexander Larsson <alexl@redhat.com>
1883 * gmountoperation.[ch]:
1884 Change the API a bit so that unhandled methods
1885 get reported via the reply, rather than by
1886 the signal emission return value. This is because
1887 some handlers can't know this immediately without
1888 doing I/O, and this is an async operation that
1891 2008-01-09 Alexander Larsson <alexl@redhat.com>
1894 * fam/gfamdirectorymonitor.c:
1895 * fam/gfamfilemonitor.c:
1896 Fix double free crash (#508224)
1897 Patch from Joe Marcus Clarke
1899 008-01-07 Matthias Clasen <mclasen@redhat.com>
1901 * === Released 2.15.1 ===
1903 2008-01-07 Alexander Larsson <alexl@redhat.com>
1905 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1906 Fix warning (#507835)
1908 2008-01-07 Alexander Larsson <alexl@redhat.com>
1911 Pass --internal to glib-genmarshal
1914 * gmountoperation.c:
1916 Use better types for signal arguments (#507822)
1918 2008-01-07 Alexander Larsson <alexl@redhat.com>
1921 Build test subdir after .
1922 Remove gdirectorymonitor.[ch]
1924 * gdirectorymonitor.[ch]:
1928 Remove GDirectoryMonitor and make
1929 GFileMonitor the baseclass for both file and
1930 directory monitors. Lift the more generic
1931 rate limiting code from GDirectoryMonitor
1935 * fam/gfamdirectorymonitor.[ch]:
1936 * inotify/ginotifydirectorymonitor.[ch]:
1937 * inotify/inotify-helper.c:
1938 * glocaldirectorymonitor.[ch]:
1941 Update for the removed GDirectoryMonitor.
1943 * gmemoryoutputstream.c:
1944 Remove ununsed variable
1946 2008-01-07 Alexander Larsson <alexl@redhat.com>
1948 * gmemoryinputstream.c:
1949 Translate error strings
1952 * gmemoryoutputstream.[ch]:
1953 New implementation that avoids using GByteArray
1954 in implementation and API. (#506377)
1956 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1958 * tests/*: Add a test for memory input streams.
1960 * Makefile.am: Add tests to SUBDIRS.
1962 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1964 * glocalfilemonitor.c:
1965 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1968 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1970 * gdesktopappinfo.c: Fix a docs typo.
1972 * gfileattribute.c: Add information about extended attributes
1973 to the documentation. (#505058)
1975 2008-01-04 Alexander Larsson <alexl@redhat.com>
1978 * gmountoperation.c:
1979 Use the right type (uint) for the ask_password signal.
1981 2008-01-04 Alexander Larsson <alexl@redhat.com>
1986 Add g_app_info_supports_files()
1987 Remove desktop arg from g_app_info_should_show().
1989 * gdesktopappinfo.[ch]:
1990 Implement g_app_info_supports_files() and new should_show()
1991 Add g_desktop_app_info_set_desktop_env() to set the desktop
1992 for should_show(). (This will be set by gtk+ later)
1994 2008-01-04 Alexander Larsson <alexl@redhat.com>
1997 * gmemoryinputstream.[ch]:
1998 Improve API so that you can use multiple chunks
1999 of memory and custom destroy functions. (#506374)
2001 2008-01-03 Alexander Larsson <alexl@redhat.com>
2004 Handle NULL attribute matchers safely, as we return this
2005 for empty attribute matcher strings.
2007 2008-01-03 Alexander Larsson <alexl@redhat.com>
2009 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2010 Add /usr/local to list of internal mountpoints
2012 2008-01-03 Alexander Larsson <alexl@redhat.com>
2015 Check for HAVE_LCHOWN (#505887)
2017 2008-01-03 Alexander Larsson <alexl@redhat.com>
2021 Add define for selinux context attribute.
2022 Fix missing : -> :: namespace separator change
2023 Fix missing _ -> - name change for xattr-sys.
2026 2008-01-03 Alexander Larsson <alexl@redhat.com>
2029 Link to libglib and libgobject directly (#504879)
2030 Patch from Sebastien Bacher
2032 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2034 * gfile.c: Expanded the g_file_new_for_commandline_arg
2035 description a bit, based on the code and the docs of the
2036 other g_file_new_for_* functions.
2038 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2040 * gfilemonitor.h: Fixed typo in docs.
2042 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2044 Updates to GIO documentation. (#506395, Mikael Hermansson)
2046 * gcontenttype.c: Describe memory management for return value of
2047 g_content_types_get_registered(). Missing piece from #505815.
2048 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2049 GVolume, GDrive, GMounts, which hopefully gives the user less
2050 confusions when using this API. Following explainations from
2051 Alexander Larsson on gtk-devel-list.
2053 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2055 * gfileinfo.c: Expand the long description.
2057 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2060 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2061 fix builds with --disable-visibility. (#500273, Christian Persch)
2063 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2065 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2066 in the list of returned app infos.
2068 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2070 * gappinfo.c: Fix a cross-reference
2072 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2074 * gfileinputstream.c:
2075 * gfileoutputstream.c:
2079 * gdesktopappinfo.c:
2081 * gfileinfo.c: Documentation updates.
2083 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2085 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2088 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2090 * gcontenttype.c (g_content_types_get_registered): Don't return
2091 freed memory (#505815, Mikael Hermansson)
2093 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2095 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2096 used to detect statbuf->st_blocks. (#505042)
2098 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2100 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2101 environment handling. (#504829, Cosimo Cecchi)
2103 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2105 * gappinfo.c: Doc improvements
2107 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2110 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2112 * === Released 2.15.0 ===
2114 2007-12-20 Hans Breuer <hans@breuer.org>
2116 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2117 with symbols gwin32appinfo.obj, added gmount.obj
2118 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2120 2007-12-20 Alexander Larsson <alexl@redhat.com>
2126 * gfilenamecompleter.c:
2129 * gpollfilemonitor.c:
2130 File attribute renames:
2132 fs:: -> filesystem::
2133 id::fs -> id::filesystem
2135 2007-12-20 Alexander Larsson <alexl@redhat.com>
2144 Add GMountUnmountFlags to all unmount and
2146 Add g_mount_remount() call.
2148 2007-12-20 Alexander Larsson <alexl@redhat.com>
2150 * gvfs.c (get_default_vfs):
2151 Fix unused variable warning
2153 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2155 * pltcheck.sh: Update
2157 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2159 * gunionvolumemonitor.c:
2160 * gunixmount.c: Remove C99 comments
2162 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2164 * gio.symbols: Add some missing symbols
2166 2007-12-19 Alexander Larsson <alexl@redhat.com>
2169 Make g_io_modules_load_all_in_directory not unuse
2170 loaded modules so that users of it can do stuff
2172 Init internal "module" types.
2173 Initialize static prio and name for types so that
2174 we don't have to load modules to get it.
2176 * gnativevolumemonitor.h:
2178 Move is_supported to parent class so that
2179 non-native monitors can avoid being initialized
2180 too. (For instance GDaemonVolumeMonitor if we're
2181 not using GDaemonVfs.)
2183 * glocaldirectorymonitor.[ch]:
2184 * glocalfilemonitor.[ch]:
2185 * gunionvolumemonitor.c:
2186 * gunixvolumemonitor.c:
2188 Find plugins using the static prio+name to
2189 avoid unnecessarily loading the modules.
2191 2007-12-19 Alexander Larsson <alexl@redhat.com>
2196 2007-12-19 Alexander Larsson <alexl@redhat.com>
2198 * gunionvolumemonitor.c:
2199 Store the native type as GType, not class so that
2200 we can unload it. But still avoid unnecessarily
2203 2007-12-19 David Zeuthen <davidz@redhat.com>
2205 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2206 add signals 'disconnected' and 'eject-button' on GDrive. Add
2207 signal 'removed' on GVolume and 'unmounted' on GMount.
2209 * gdrive.c: (g_drive_base_init):
2211 * gfile.c: (g_file_mount_mountable),
2212 (g_file_mount_enclosing_volume):
2215 * gmount.c: (g_mount_base_init):
2217 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2218 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2219 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2223 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2225 * *.c: Fix up includes in the section docs.
2227 2007-12-17 Alexander Larsson <alexl@redhat.com>
2229 * gnativevolumemonitor.h:
2230 * gunionvolumemonitor.c:
2231 * gunixvolumemonitor.c:
2232 Add is_supported() to GNativeVolumeMonitorClass so
2233 that we can avoid having to create an object to see
2234 if the backend is supported at runtime.
2235 Also add name member and an env var to pick a specific
2236 volume monitor backend.
2240 Add cancellable to _g_mount_get_for_mount_path()
2242 * glocaldirectorymonitor.c:
2243 * glocalfilemonitor.c:
2244 Avoid loading and unloading modules while sorting.
2246 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2249 * gunixmounts.[hc]: Namespace waste reduction, move some
2250 g_get_unix_mount functions to the g_unix_mount namespace.
2253 * gunixvolumemonitor.c:
2255 * glocaldirectorymonitor.c: Update all callers.
2257 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2259 2007-12-17 Alexander Larsson <alexl@redhat.com>
2262 Add doc comments about what GFile operations are
2263 guaranteed to not block.
2265 2007-12-17 Alexander Larsson <alexl@redhat.com>
2268 Add missing #ifdef fixing OSX build.
2269 (#503334, patch from Richard Hult)
2271 2007-12-14 David Zeuthen <davidz@redhat.com>
2275 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2276 (g_mount_eject), (g_mount_eject_finish):
2278 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2279 (get_volume_for_uuid), (get_mount_for_uuid),
2280 (g_union_volume_monitor_class_init),
2281 (get_default_native_type_with_exclude), (get_default_native_type),
2282 (get_native_type), (update_native_type),
2283 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2284 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2285 (g_unix_mount_can_eject), (eject_unmount_cb),
2286 (eject_unmount_read_error), (eject_unmount_do),
2287 (g_unix_mount_unmount), (g_unix_mount_eject),
2288 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2289 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2290 (g_unix_mount_point_guess_can_eject):
2292 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2293 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2294 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2295 (g_unix_volume_mount), (g_unix_volume_eject),
2296 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2297 * gunixvolumemonitor.c: (get_volume_for_uuid),
2298 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2300 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2301 (g_volume_eject), (g_volume_eject_finish):
2303 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2304 (g_volume_monitor_get_mount_for_uuid):
2307 Provide eject() on both GMount and GVolume and utility functions
2308 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2309 ejected. Introduce the concept of UUID's and wire it into GVolume
2310 and GMount and provide API on GVolumeMonitor to find such
2311 instances. Also handle the case where an external
2312 GNativeVolumeMonitor fails to initialize. Lock around the
2313 _g_get_mount_for_mount_path() function such that volume monitor
2314 implementations won't have to do locking themselves.
2316 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2318 * gdesktopappinfo.c:
2324 * gvolume.h: Documentation updates
2326 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2329 * gfile.h: Doc updates
2331 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2334 * gdesktopappinfo.c: Use hash table iterators.
2336 2007-12-14 Alexander Larsson <alexl@redhat.com>
2339 * gfileattribute.[ch]:
2340 * gfileattribute-priv.h:
2341 Move GFileAttributeValue to a private header, as
2345 Make set_attribute take a type + a pointer instead
2346 of a GFileAttributeValue.
2349 Fix up for above changes.
2350 Add g_file_info_get_attribute_data to get
2351 all info in one call, g_file_info_get_attribute_status
2352 to get the status and g_file_info_get_attribute_as_string.
2356 * glocalfileinfo.[ch]:
2360 Make _guess_type static.
2362 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2365 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2366 made mkenums and friends use temporary files to avoid leaving
2367 empty generated files on failure (#503470).
2369 2007-12-14 Alexander Larsson <alexl@redhat.com>
2371 * gmountoperation.h:
2374 2007-12-14 Alexander Larsson <alexl@redhat.com>
2378 * gfileattribute.[ch]:
2381 * glocalfileoutputstream.c:
2382 * gmountoperation.[ch]:
2383 * goutputstream.[ch]:
2384 Clean up all flags enums to not have _FLAGS in them
2385 Make the names of some of the enums better.
2390 2007-12-14 Michael Natterer <mitch@imendio.com>
2392 * gio.symbols: fix g_io_scheduler symbol names.
2394 2007-12-14 Alexander Larsson <alexl@redhat.com>
2400 * gbufferedinputstream.h:
2401 * gbufferedoutputstream.h:
2404 * gdatainputstream.h:
2405 * gdataoutputstream.h:
2406 * gdesktopappinfo.h:
2407 * gdirectorymonitor.h:
2411 * gfileenumerator.h:
2414 * gfileinputstream.h:
2416 * gfilenamecompleter.h:
2417 * gfileoutputstream.h:
2418 * gfilterinputstream.h:
2419 * gfilteroutputstream.h:
2427 * gmemoryinputstream.h:
2428 * gmemoryoutputstream.h:
2430 * gmountoperation.h:
2433 * gsimpleasyncresult.h:
2435 * gunixinputstream.h:
2437 * gunixoutputstream.h:
2441 * inotify/Makefile.am:
2442 Only allow including <gio/gio.h> from apps
2444 2007-12-14 Alexander Larsson <alexl@redhat.com>
2446 * gioscheduler.[ch]:
2447 * gsimpleasyncresult.c:
2448 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2449 Split out the send_to_mainloop call into two versions instead
2450 of having the block argument.
2452 2007-12-13 Alexander Larsson <alexl@redhat.com>
2454 * gcancellable.[ch]:
2456 * gbufferedinputstream.c:
2457 * gfileenumerator.c:
2458 * gfileinputstream.c:
2459 * gfileoutputstream.c:
2463 g_push/pop_current_cancellable ->
2464 g_cancellable_push/pop_current
2466 2007-12-13 Alexander Larsson <alexl@redhat.com>
2470 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2472 2007-12-13 Alexander Larsson <alexl@redhat.com>
2474 * gmountoperation.h:
2475 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2477 2007-12-12 Alexander Larsson <alexl@redhat.com>
2480 Fix race condition when freeing proxy in
2481 g_io_job_send_to_mainloop().
2483 2007-12-12 Alexander Larsson <alexl@redhat.com>
2489 Make attribute namespace separator "::" instead of ":".
2490 Use - instead of _ as separator in attribute names.
2492 2007-12-12 Alexander Larsson <alexl@redhat.com>
2494 * gbufferedinputstream.h:
2495 * gbufferedoutputstream.h:
2496 * gdatainputstream.h:
2497 * gdataoutputstream.h:
2498 * gdirectorymonitor.h:
2499 * gfileenumerator.h:
2500 * gfileinputstream.h:
2502 * gfileoutputstream.h:
2503 * gfilterinputstream.h:
2504 * gfilteroutputstream.h:
2506 * glocalfileinputstream.h:
2507 * glocalfileoutputstream.h:
2508 * gmemoryinputstream.h:
2509 * gmemoryoutputstream.h:
2510 * gnativevolumemonitor.h:
2512 * gunixinputstream.h:
2513 * gunixoutputstream.h:
2516 s/parent/parent_instance/ in GObjects
2518 2007-12-12 Alexander Larsson <alexl@redhat.com>
2523 No need for padding for interfaces
2525 2007-12-12 Alexander Larsson <alexl@redhat.com>
2529 * gbufferedinputstream.c:
2530 * gbufferedoutputstream.c:
2533 * gdatainputstream.[ch]:
2534 * gdesktopappinfo.c:
2535 * gdirectorymonitor.c:
2537 * gfileattribute.[ch]:
2540 * gfileinputstream.h:
2541 * gfilemonitor.[ch]:
2542 * gfileoutputstream.[ch]:
2543 * gfilterinputstream.h:
2544 * gfilteroutputstream.h:
2547 * gloadableicon.[ch]:
2548 * gmemoryinputstream.c:
2549 * gmountoperation.c:
2551 Fix up a bunch of details in the docs.
2556 2007-12-11 David Zeuthen <davidz@redhat.com>
2558 Rework how volumes, drives and volume monitoring is
2559 done. Previosly the model was
2561 GDrive <1-1> GVolume
2563 where a GDrive instance represented a mount point and a GVolume
2564 instance represented a mounted file system. This patch changes it
2567 GDrive <1-N> GVolume <1-1> GMount
2569 where GMount now serves the purpose of the old GVolume and the new
2570 GVolume serves the purpose of the old GDrive. In addition the new
2571 GDrive interface is used to represent a collection of GVolume
2572 instances (typically partitions) and also contains utility to query
2573 the state of the physical drive the GDrive object represents (such
2574 as checking for media, polling the drive, ejecting the media etc.).
2576 Also implement mounting and unmounting in the Unix volume monitor
2577 backend. A subquent patch will introduce GDrive support for ejection
2581 * gdrive.c: (g_drive_is_media_check_automatic),
2582 (g_drive_is_media_removable), (g_drive_has_media),
2583 (g_drive_can_poll_for_media), (g_drive_eject),
2584 (g_drive_eject_finish), (g_drive_poll_for_media),
2585 (g_drive_poll_for_media_finish):
2587 * gfile.c: (g_file_find_enclosing_mount):
2590 * glocaldirectorymonitor.c:
2591 (g_local_directory_monitor_constructor), (mounts_changed):
2592 * glocalfile.c: (get_mount_info),
2593 (g_local_file_find_enclosing_mount),
2594 (g_local_file_file_iface_init):
2595 * gnativevolumemonitor.h:
2596 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2597 (get_connected_drives), (g_union_volume_monitor_class_init),
2598 (child_volume_added), (child_volume_removed),
2599 (child_volume_changed), (child_mount_added), (child_mount_removed),
2600 (child_mount_pre_unmount), (child_mount_changed),
2601 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2602 (g_union_volume_monitor_remove_monitor),
2603 (_g_mount_get_for_mount_path):
2604 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2605 (guess_system_internal), (_g_get_unix_mounts),
2606 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2607 (g_unix_mount_free), (g_unix_mount_compare),
2608 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2609 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2610 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2611 (type_to_icon), (g_unix_mount_guess_name),
2612 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2613 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2614 (_resolve_symlink), (_resolve_dev_root):
2616 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2617 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2618 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2619 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2620 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2621 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2622 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2623 (g_unix_volume_volume_iface_init):
2625 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2626 (get_mounts), (get_volumes), (get_connected_drives),
2627 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2628 (mountpoints_changed), (mounts_changed),
2629 (g_unix_volume_monitor_init),
2630 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2631 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2632 * gunixvolumemonitor.h:
2633 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2634 (g_volume_mount), (g_volume_mount_finish):
2636 * gvolumemonitor.c: (g_volume_monitor_class_init),
2637 (g_volume_monitor_get_connected_drives),
2638 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2641 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2643 * gmountoperation.h (GPasswordFlags): Close the gap
2645 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2647 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2649 * gdesktopappinfo.[hc]: Remove _-prefixes
2651 2007-12-10 Tor Lillqvist <tml@novell.com>
2653 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2656 2007-12-10 Alexander Larsson <alexl@redhat.com>
2658 * gfile.c (g_file_set_display_name):
2659 Don't hardcode '/' (#502727)
2661 2007-12-09 Hans Breuer <hans@breuer.org>
2663 * makefile.msc : follow lib naming convention
2664 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2665 for user and group name, tested with ../tests/gio-ls
2667 2007-12-09 A. Walton <awalton@svn.gnome.org>
2669 * gdesktopappinfo.c:
2675 * gfileenumerator.c:
2680 * gmemoryinputstream.c:
2681 * gmemoryoutputstream.c:
2683 * gsimpleasyncresult.c:
2684 More documentation cleanup and filling in missing information, bringing
2685 GIO to 99% symbol coverage.
2687 2007-12-08 Hans Breuer <hans@breuer.org>
2689 [gio compiles and links on win32, not sure how much already works]
2690 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2691 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2692 base on win32 API; prefer g_lstat() over lstat(); instead of
2693 localtime_r() use an all GLib implementation on win32;
2694 get_mount_info() still needs a win32 specifc implementation
2695 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2696 win32_get_file_user_info to get owner/group info without uid/gid
2697 * glocalfileinputstream.c : include <io.h> on win32
2698 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2699 definition, use g_win32_ftruncate() for G_OS_WIN32
2700 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2701 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2702 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2703 * makefile.msc : updated
2705 2007-12-07 Alexander Larsson <alexl@redhat.com>
2707 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2708 Avoid warning spew if error == NULL
2710 2007-12-07 Alexander Larsson <alexl@redhat.com>
2713 Update docs wrt etags
2715 2007-12-06 Alexander Larsson <alexl@redhat.com>
2718 Include sys/types.h for dev_t (#501919)
2720 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2724 Make abicheck and pltcheck pass.
2726 2007-12-05 Alexander Larsson <alexl@redhat.com>
2729 * giomodule-priv.h: Added.
2730 * glocaldirectorymonitor.c:
2731 * glocalfilemonitor.c:
2732 * gunionvolumemonitor.c:
2734 Actually add the declaration of _g_io_modules_ensure_loaded
2736 2007-12-05 Alexander Larsson <alexl@redhat.com>
2738 * gdatainputstream.c:
2743 * glocaldirectorymonitor.c:
2744 * glocalfilemonitor.c:
2745 * gunionvolumemonitor.c:
2747 Make g_io_modules_ensure_loaded a private function and
2748 don't pass in the dirname. This means we can do magic
2749 directory finding in the win32 version.
2750 Export the actual load-modules-in-directory code so that
2751 gvfs can reuse that.
2753 2007-12-05 Alexander Larsson <alexl@redhat.com>
2755 * gbufferedinputstream.c:
2756 * gbufferedoutputstream.c:
2759 * gfileenumerator.[ch]:
2760 * gfileinputstream.c:
2761 * gfileoutputstream.[ch]:
2762 * gfilterinputstream.c:
2763 * gfilteroutputstream.c:
2764 * ginputstream.[ch]:
2766 * glocalfileenumerator.c:
2767 * glocalfileinputstream.c:
2768 * glocalfileoutputstream.c:
2769 * gmemoryinputstream.c:
2770 * gmemoryoutputstream.c:
2771 * goutputstream.[ch]:
2774 * gunixinputstream.c:
2775 * gunixoutputstream.c:
2776 Rename all struct members named:
2777 read, write, close, truncate, or mount
2778 to foo_fn, as these are reserved names
2779 and could be defined as macros in libc.
2782 2007-12-04 Alexander Larsson <alexl@redhat.com>
2785 (g_output_stream_close):
2786 Only call flush if non-null.
2788 2007-11-30 Dan Winship <danw@gnome.org>
2790 * ginputstream.c (g_input_stream_set_pending): Make this take a
2791 GError and return a gboolean, and do the "outstanding operation"
2792 check (and the "stream is already closed" check) itself.
2793 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2795 * goutputstream.c (g_output_stream_set_pending)
2796 (g_output_stream_clear_pending): Likewise
2798 * gbufferedinputstream.c:
2799 * gfileinputstream.c:
2800 * gfileoutputstream.c: Update for that
2802 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2803 Like g_simple_async_report_error_in_idle, but takes a GError
2804 rather than building one.
2806 2007-11-30 Dan Winship <danw@gnome.org>
2808 * goutputstream.c: Don't cheat and unset the "pending" flag around
2809 inner calls. Instead, call the class method directly rather than
2810 the wrapper function that checks "pending"
2812 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2814 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2816 2007-12-03 Hans Breuer <hans@breuer.org>
2818 [start of port to win32/msvc]
2819 * gcancellable.c : HAVE_UNIST_H and _pipe()
2820 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2821 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2822 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2824 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2825 * glocalvfs.c : use HAVE_PWD_H
2826 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2827 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2828 * Makefile.am : added to EXTRA_DIST
2830 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2832 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2835 2007-12-03 Alexander Larsson <alexl@redhat.com>
2838 Handle OSX style xattrs API (#500506)
2840 2007-12-03 Alexander Larsson <alexl@redhat.com>
2844 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2846 2007-12-02 A. Walton <awalton@svn.gnome.org>
2850 Documentation accuracy fixes.
2852 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2854 * gioenumtypes.c.template: Fix typo.
2856 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2858 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2860 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2862 * gdirectorymonitor.c:
2863 * gfilemonitor.c: Add properties
2865 * gbufferedoutputstream.c: Don't mark buffer-size property
2868 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2870 * gbufferedoutputstream.c: Add auto-grow property.
2872 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2874 * *.c: Unify the capitalization of section headings.
2876 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2878 * gmountoperation.c: Add properties
2880 * gdatainputstream.c: Turn byte-order and newline-type into
2883 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2885 * gioenumtypes.[hc].template: Templates for enum registration
2887 * Makefile.am: Generate gioenumtypes.[hc]
2889 * gio.h: Include gioenumtypes.h
2891 * gfile.h: Add some explicit nicks.
2893 * gio.symbols: Add new symbols
2895 * pltcheck.sh: Adjust
2897 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2899 * *.c: Explain etags and link to the explanation
2901 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2903 * *.c: Explain I/O priority.
2905 * *.c: More coding style fixes.
2907 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2909 * gasyncresult.c: Add another paragraph to the intro,
2910 adjust coding style of example.
2912 2007-11-29 A. Walton <awalton@svn.gnome.org>
2915 Fixes unknown meaning in GAppLaunchContext docs.
2917 Clarify asynchronous ops.
2919 Fix entity tag docs.
2922 Provides missing gtk-doc section, fixes API docs slighly.
2923 * gsimpleasyncresult.c:
2924 Fill in missing info in docs.
2925 * gunixinputstream.c:
2926 * gunixoutputstream.c:
2927 Be more expressive in short description.
2929 Remove gtk-doc stubs for non-public API.
2931 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2933 * *.c: Coding style fixups
2935 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2937 * inotify/inotify-helper.c: Don't export the lock from libgio.
2939 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2942 * abicheck.sh: Fix copy-and-paste leftovers
2944 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2946 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2948 2007-11-28 Alexander Larsson <alexl@redhat.com>
2952 Removed unnecessary file
2954 * gdesktopappinfo.[ch]:
2957 * glocaldirectorymonitor.[ch]:
2959 * glocalfileenumerator.[ch]:
2960 * glocalfileinputstream.[ch]:
2961 * glocalfilemonitor.[ch]:
2962 * glocalfileoutputstream.[ch]:
2964 * gnativevolumemonitor.c:
2965 * gpollfilemonitor.[ch]:
2966 * gunionvolumemonitor.[ch]:
2969 * gunixvolumemonitor.[ch]:
2972 * inotify/ginotifydirectorymonitor.[ch]:
2973 * inotify/ginotifyfilemonitor.[ch]:
2974 * inotify/inotify-helper.c:
2975 Append _ to all internal functions
2979 Export symbols needed for modules
2981 2007-11-28 Alexander Larsson <alexl@redhat.com>
2984 * abicheck.sh: Added.
2985 * makegioalias.pl: Added.
2986 * pltcheck.sh: Added.
2987 * gio.symbols: Added.
2990 Initial work on adding symbol handling.
2993 Correct ifdef guard name
2996 * inotify/Makefile.am:
2997 * xdgmime/Makefile.am:
2998 Include toplevel Makefile.decl
3000 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3002 * gcontenttype.c: Move doc comments to the unix section.
3004 * *.[hc]: More trivial doc corrections.
3006 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3008 * gpollfilemonitor.c:
3012 * gdesktopappinfo.c:
3017 * gdatainputstream.c:
3018 * gdatainputstream.h:
3019 * gdataoutputstream.c:
3020 * gdataoutputstream.h:
3021 * gfileinfo.h: Doc cleanups
3023 2007-11-28 Andre Klapper <a9016009@gmx.de>
3025 * gdesktopappinfo.c: Fix a typo.
3027 2007-11-27 Andre Klapper <a9016009@gmx.de>
3029 * glocalfileoutputstream.c: Fix a typo.
3031 2007-11-27 Alexander Larsson <alexl@redhat.com>
3034 Don't include removed headers
3036 2007-11-27 Alexander Larsson <alexl@redhat.com>
3039 * gsocketinputstream.[ch]: Removed.
3040 * gsocketoutputstream.[ch]: Removed.
3041 * gunixinputstream.[ch]: Added.
3042 * gunixoutputstream.[ch]: Added.
3043 Renamed GSocket*Stream to GUnix*Stream and made
3044 it unix-only, since its not really only for sockets
3045 and it only works on unix (but is highly useful there).
3047 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3053 * gbufferedinputstream.c:
3054 * gbufferedinputstream.h:
3055 * gbufferedoutputstream.c:
3056 * gbufferedoutputstream.h:
3060 * gdatainputstream.c:
3061 * gdatainputstream.h:
3062 * gdataoutputstream.c:
3063 * gdataoutputstream.h:
3064 * gdirectorymonitor.c:
3065 * gdirectorymonitor.h:
3072 * gfileenumerator.c:
3073 * gfileenumerator.h:
3078 * gfileinputstream.c:
3079 * gfileinputstream.h:
3082 * gfilenamecompleter.c:
3083 * gfilenamecompleter.h:
3084 * gfileoutputstream.c:
3085 * gfileoutputstream.h:
3086 * gfilterinputstream.c:
3087 * gfilterinputstream.h:
3088 * gfilteroutputstream.c:
3089 * gfilteroutputstream.h:
3102 * glocalfileoutputstream.c:
3103 * gmemoryinputstream.c:
3104 * gmemoryinputstream.h:
3105 * gmemoryoutputstream.c:
3106 * gmemoryoutputstream.h:
3107 * gmountoperation.c:
3108 * gmountoperation.h:
3111 * gpollfilemonitor.c:
3114 * gsimpleasyncresult.c:
3115 * gsimpleasyncresult.h:
3116 * gsocketinputstream.c:
3117 * gsocketinputstream.h:
3118 * gsocketoutputstream.c:
3119 * gsocketoutputstream.h:
3126 * gunixvolumemonitor.c:
3135 Bumps documentation to 93% symbol coverage, touching most
3136 of the public files. Fixes broken function documentation prototypes.
3137 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3138 gtk-doc headers in private files.
3140 2007-11-27 Jürg Billeter <j@bitron.ch>
3142 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3143 (g_buffered_input_stream_read_byte):
3144 * gbufferedinputstream.h:
3145 New functions for efficient access to buffer and simple single byte
3148 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3149 (g_data_input_stream_read_until):
3150 * gdatainputstream.h:
3151 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3152 read_until with multiple stop chars.
3154 2007-11-27 Alexander Larsson <alexl@redhat.com>
3158 * inotify/Makefile.am:
3159 Use the user-specified giomoduledir
3161 2007-11-27 Alexander Larsson <alexl@redhat.com>
3165 Add catch-all gio.h header
3166 Don't install gdummyfile.h
3168 2007-11-26 Alexander Larsson <alexl@redhat.com>
3170 * Makefile.am (gioinclude_HEADERS):
3171 Remove trailing whitespace
3173 2007-11-26 Alexander Larsson <alexl@redhat.com>
3175 Merge gio-standalone into glib
3177 2007-11-25 Christian Kellner <gicmo@gnome.org>
3179 * gio/goutputstream.c:
3180 Fix small mistake in the docs.
3182 2007-11-21 Christian Persch <chpe@gnome.org>
3184 * gio/glocalfile.c: (g_local_file_trash):
3185 Convert filenames to UTF-8 for GError.
3186 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3187 as per xdg base dir spec.
3189 2007-11-21 Christian Persch <chpe@gnome.org>
3191 * gio/gdesktopappinfo.c:
3192 Use that g_key_file_to_data cannot fail.
3194 Use stock defines for the key file group and key names.
3197 2007-11-21 Alexander Larsson <alexl@redhat.com>
3200 (copy_stream_with_progress):
3201 Make sure we do a final progress callback with
3202 the full total size.
3204 2007-11-21 Alexander Larsson <alexl@redhat.com>
3207 Export g_file_copy_attributes
3208 Remove padding as its not needed for interfaces
3210 2007-11-20 Alexander Larsson <alexl@redhat.com>
3215 Add G_IO_ERROR_WOULD_MERGE for
3216 copy/move dir on dir with overwrite.
3218 2007-11-20 Alexander Larsson <alexl@redhat.com>
3221 * gio/glocalfileinfo.c:
3222 Add COPY_NAME (this is an optional
3223 non-modified utf8 version of the name) that
3226 2007-11-20 Alexander Larsson <alexl@redhat.com>
3228 * gio/glocalfileenumerator.c:
3229 Report errors as GIOError, not GFileError
3231 2007-11-16 Alexander Larsson <alexl@redhat.com>
3233 * gio/glocalfileoutputstream.c:
3234 * gio/gwin32appinfo.c:
3235 Fix typos in strings.
3236 Patch from Luca Ferretti <elle.uca@libero.it>
3238 2007-11-15 Alexander Larsson <alexl@redhat.com>
3241 Post release version bump
3243 === gio-standalone 0.1.2 ===
3245 2007-11-15 Alexander Larsson <alexl@redhat.com>
3247 * docs/reference/gio/Makefile.am:
3248 Fix up distcheck by removing weird
3254 2007-11-14 Alexander Larsson <alexl@redhat.com>
3256 * gio/gdesktopappinfo.c:
3257 * gio/glocaldirectorymonitor.c:
3259 * gio/glocalfileinfo.c:
3260 * gio/inotify/inotify-sub.c:
3261 * programs/gio-cat.c:
3262 * programs/gio-copy.c:
3263 * programs/gio-info.c:
3264 * programs/gio-ls.c:
3265 * programs/gio-monitor-dir.c:
3266 * programs/gio-monitor-file.c:
3267 * programs/gio-mount.c:
3268 * programs/gio-move.c:
3269 * programs/gio-rm.c:
3270 * programs/gio-save.c:
3271 * programs/gio-trash.c:
3272 Leak fixes from Kjartan Maraas
3274 2007-11-14 Alexander Larsson <alexl@redhat.com>
3276 * gio/fam/fam-helper.c:
3278 * gio/glocalfileinfo.c:
3282 * gio/inotify/inotify-diag.c:
3283 * gio/inotify/inotify-kernel.c:
3284 Various code cleanups from Kjartan Maraas
3286 2007-11-14 Alexander Larsson <alexl@redhat.com>
3288 * gio/gioscheduler.c:
3290 Set up threadpool so that we cache 2 unused
3291 idle threads for at 15 secs. This means we
3292 will reuse thread-local data (like dbus connections)
3295 2007-11-14 Alexander Larsson <alexl@redhat.com>
3297 * gio/fam/fam-helper.c:
3298 * gio/fam/gfamdirectorymonitor.c:
3299 * gio/fam/gfamfilemonitor.c:
3301 * gio/gcontenttype.c:
3302 * gio/gdatainputstream.c:
3303 * gio/gdataoutputstream.c:
3307 * gio/gfileattribute.h:
3308 * gio/gfileenumerator.c:
3310 * gio/ginputstream.c:
3313 * gio/glocalfileinfo.c:
3314 * gio/goutputstream.c:
3315 * gio/gpollfilemonitor.c:
3316 * gio/gsimpleasyncresult.c:
3317 * gio/gunixmounts.c:
3318 * gio/gunixmounts.h:
3319 * gio/inotify/ginotifydirectorymonitor.c:
3320 * gio/inotify/ginotifyfilemonitor.c:
3321 * gio/inotify/inotify-diag.c:
3322 * gio/inotify/inotify-kernel.c:
3323 * gio/inotify/inotify-path.c:
3325 * gio/test-streams.c:
3326 * programs/gio-info.c:
3327 * programs/gio-monitor-dir.c:
3328 * programs/gio-monitor-file.c:
3329 Various code cleanups from Kjartan Maraas
3331 2007-11-13 Alexander Larsson <alexl@redhat.com>
3334 Handle the uri-scheme calls for dummy files
3336 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3338 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3339 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3340 to avoid clash with the C++ keyword.
3342 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3344 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3345 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3347 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3349 * gio/glocaldirectorymonitor.c:
3350 * gio/glocalfilemonitor.c:
3351 * gio/gunionvolumemonitor.c:
3352 Don't use g_once_init_*() for initializations that could fail and
3353 could leave the initialization variable set to 0 but use GOnce.
3354 This prevents a deadlock on the second call when trying to create
3355 a monitor and no monitor type is available. Thanks to Sven Herzberg
3358 2007-11-11 Sven Herzberg <sven@imendio.com>
3360 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3361 #ifdef (make it work on MacOS X again)
3363 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3365 Fixes Changelog for last two commits (sorry guys).
3367 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3369 * gio/gbufferedinputstream.c:
3370 * gio/gdatainputstream.c:
3372 * gio/gfileoutputstream.c:
3373 * gio/gfilterinputstream.c:
3374 * gio/glocalfileinputstream.c:
3377 More consistency fixes in g*stream.c files.
3378 Significant clean of gfile's documentation, filling in of
3379 asynchronous operations documentation.
3381 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3383 * gio/gasyncresult.c:
3384 * gio/gbufferedinputstream.c:
3385 * gio/gbufferedoutputstream.c:
3386 * gio/gcancellable.c:
3387 * gio/gcontenttype.c:
3388 * gio/gdatainputstream.c:
3389 * gio/gdataoutputstream.c:
3390 * gio/gdesktopappinfo.c:
3393 * gio/gfileattribute.c:
3394 * gio/gio/gfileenumerator.c:
3396 * gio/gfileinputstream.c:
3397 * gio/gfilemonitor.c:
3398 * gio/gfileoutputstream.c:
3399 * gio/ginputstream.c:
3401 * gio/gioscheduler.c:
3402 * gio/gloadableicon.c:
3403 * gio/glocalfileoutputstream.c:
3404 * gio/gmemoryoutputstream.c:
3405 * gio/gmountoperation.c:
3406 * gio/goutputstream.c:
3408 * gio/gsimpleasyncresult.c:
3409 * gio/gunionvolumemonitor.c:
3410 * gio/gunixmounts.c:
3411 * gio/gunixvolume.c:
3415 * gio/gvolumemonitor.c:
3416 Updated documentation stubs, working towards consistency and
3419 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3421 * gio/gmemoryoutputstream.c:
3422 * gio/gmemoryoutputstream.h:
3423 Change g_memory_output_stream_set_free_on_close() to
3424 g_memory_output_stream_set_free_data() as this makes more sense and
3425 is more consistent with GMemoryInputStream.
3427 2007-11-07 Alexander Larsson <alexl@redhat.com>
3434 Change how we find the default vfs so that
3435 we can handle a gvfs failing to init
3437 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3439 * gio/gbufferedoutputstream.c:
3440 * gio/gdatainputstream.c:
3441 * gio/gdataoutputstream.c:
3442 * gio/gfileinputstream.c:
3443 * gio/gfileoutputstream.c:
3444 * gio/gfilterinputstream.c:
3445 * gio/gfilteroutputstream.c:
3446 * gio/ginputstream.c:
3447 * gio/gmemoryinputstream.c:
3448 * gio/gmemoryoutputstream.c:
3449 * gio/goutputstream.c:
3450 * gio/gsimpleasyncresult.c:
3451 * gio/gsocketinputstream.c:
3452 * gio/gsocketoutputstream.c:
3453 Add guards to the remaining public functions, add a TODO for
3454 an unimplemented function and remove some useless guards.
3456 2007-11-07 Alexander Larsson <alexl@redhat.com>
3459 Autoconf checks for the various types of
3460 getpwuid_r and getgrgid_r
3462 * gio/glocalfileinfo.c:
3463 Use the autoconf checks from above
3465 2007-11-07 Alexander Larsson <alexl@redhat.com>
3468 (g_local_file_query_filesystem_info):
3469 Some fixes for the statvfs case
3471 2007-11-07 Alexander Larsson <alexl@redhat.com>
3474 (g_local_file_query_filesystem_info):
3475 Pick the "best" of statfs / statvfs for the system
3476 if both are availible.
3478 2007-11-07 Alexander Larsson <alexl@redhat.com>
3480 Solaris fixes from Halton.Huo@Sun.COM:
3487 * gio/glocalfileinfo.c:
3488 Fix for solaris definition of getpwuid_r
3490 * gio/test-streams.c:
3491 Use G_GNUC_PRETTY_FUNCTION
3493 2007-11-07 Alexander Larsson <alexl@redhat.com>
3495 * gio/gdesktopappinfo.c:
3496 (update_default_list):
3497 Remove double semicolon.
3498 Patch from Jens Granseuer
3500 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3502 * docs/reference/gio/gio-sections.txt:
3503 * gio/gbufferedinputstream.c:
3504 * gio/gbufferedinputstream.h:
3505 * gio/gdatainputstream.c:
3506 * gio/gfileenumerator.c:
3507 * gio/gioscheduler.c:
3508 * gio/gunionvolumemonitor.c:
3510 * programs/gio-save.c:
3511 Fix typo: availible -> available. Unfortuntely this breaks API
3512 and ABI as g_buffered_input_stream_get_available() was renamed.
3514 * gio/gunixmounts.c:
3515 * gio/gbufferedinputstream.c:
3516 Add guards for public functions.
3518 2007-11-06 Ross Burton <ross@openedhand.com>
3520 * docs/reference/gio/Makefile.am:
3521 Fix invalid += usage which automake 1.10 doesn't like.
3523 2007-11-06 Alexander Larsson <alexl@redhat.com>
3526 (g_app_launch_context_class_init):
3529 Patch from Ross Burton
3531 2007-11-06 Alexander Larsson <alexl@redhat.com>
3534 Post release version bump
3536 === gio-standalone 0.1.1 ===
3538 2007-11-06 Alexander Larsson <alexl@redhat.com>
3541 Bump version to 0.1.1
3543 * gio/gsimpleasyncresult.c:
3544 (g_simple_async_result_set_from_error):
3545 Remove bogus g_return_if_fail
3547 2007-11-06 Alexander Larsson <alexl@redhat.com>
3550 The name is gio-standalone
3553 Add top src/builddir to includedir
3555 2007-11-06 Alexander Larsson <alexl@redhat.com>
3557 * docs/reference/gio/gio-sections.txt:
3559 * gio/gbufferedinputstream.c:
3560 * gio/gbufferedoutputstream.c:
3561 * gio/gcancellable.c:
3562 * gio/gdatainputstream.h:
3563 * gio/gdataoutputstream.c:
3564 * gio/gdataoutputstream.h:
3565 * gio/gdirectorymonitor.c:
3567 * gio/gfileattribute.c:
3568 * gio/gfileattribute.h:
3569 * gio/gfileenumerator.c:
3570 * gio/gfileenumerator.h:
3573 * gio/gfileinputstream.h:
3574 * gio/gfilemonitor.c:
3575 * gio/gfileoutputstream.h:
3576 * gio/glocalfilemonitor.h:
3577 * gio/glocalfileoutputstream.h:
3578 * gio/gmemoryinputstream.c:
3579 * gio/gmemoryoutputstream.c:
3580 * gio/gmountoperation.c:
3581 * gio/goutputstream.c:
3582 * gio/goutputstream.h:
3584 * gio/gsimpleasyncresult.c:
3585 * gio/gunixmounts.c:
3586 * gio/gunixmounts.h:
3588 * gio/inotify/inotify-helper.c:
3589 Fix gtk-doc warnings
3591 Patch from Ross Burton
3593 2007-11-06 Alexander Larsson <alexl@redhat.com>
3595 * gio/gfilenamecompleter.c:
3596 (g_filename_completer_get_completions):
3599 * gio/gunixvolume.c:
3600 Remove unused function
3602 Patches from Ross Burton
3604 2007-11-06 Alexander Larsson <alexl@redhat.com>
3609 Padding not needed for interfaces
3611 2007-11-06 Alexander Larsson <alexl@redhat.com>
3613 * gio/gfilemonitor.c:
3617 Make giotypes.h an internal file
3620 * gio/gbufferedinputstream.h:
3621 * gio/gbufferedoutputstream.h:
3622 * gio/gcancellable.h:
3623 * gio/gdatainputstream.h:
3624 * gio/gdataoutputstream.h:
3625 * gio/gdirectorymonitor.c:
3626 * gio/gdirectorymonitor.h:
3631 * gio/gfileattribute.h:
3632 * gio/gfileenumerator.h:
3637 * gio/gfilemonitor.c:
3638 * gio/gfilemonitor.h:
3639 * gio/gfilenamecompleter.c:
3640 * gio/gfilenamecompleter.h:
3641 * gio/gfilterinputstream.h:
3642 * gio/gfilteroutputstream.h:
3643 * gio/ginputstream.h:
3644 * gio/gmemoryinputstream.h:
3645 * gio/gmemoryoutputstream.h:
3646 * gio/gmountoperation.c:
3647 * gio/gmountoperation.h:
3648 * gio/gnativevolumemonitor.c:
3649 * gio/goutputstream.h:
3652 * gio/gsimpleasyncresult.c:
3653 * gio/gsimpleasyncresult.h:
3654 * gio/gsocketinputstream.h:
3655 * gio/gsocketoutputstream.h:
3656 * gio/gthemedicon.c:
3657 * gio/gthemedicon.h:
3661 * gio/gvolumemonitor.c:
3662 * gio/gvolumemonitor.h:
3663 Add padding in classes where it seems useful
3664 Don't include giotypes.h from public headers
3665 Move in Class definitions into c file where possible
3670 2007-11-06 Alexander Larsson <alexl@redhat.com>
3672 * docs/reference/gio/gio-docs.xml:
3673 Better structure for API docs
3675 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3678 * gio/gloadableicon.c:
3679 * gio/gsimpleasyncresult.c:
3680 * gio/gthemedicon.c:
3681 Add some more guards to public functions. Only files missing are now
3684 2007-11-06 Alexander Larsson <alexl@redhat.com>
3686 * docs/reference/gio/gio-docs.xml:
3687 Remove old files, add missing ones
3689 2007-11-06 Alexander Larsson <alexl@redhat.com>
3691 * docs/reference/gio/gio-sections.txt:
3694 Hide implementation classes
3696 * gio/gdriveprivate.h:
3697 * gio/gvolumeprivate.h:
3698 Remove non-existing function declarations
3700 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3703 Fix compilation warnings and add guards to the new functions.
3705 * gio/gasyncresult.c:
3707 Add guards to the public functions.
3710 Implement get_path().
3712 2007-11-06 Alexander Larsson <alexl@redhat.com>
3714 * gio/gfilenamecompleter.c:
3715 Make g_filename_completer_get_completions
3716 return char ** instead of GList for
3719 * docs/reference/gio/gio-docs.xml:
3720 * docs/reference/gio/gio-sections.txt:
3722 * gio/gasyncresult.c:
3723 * gio/gbufferedinputstream.c:
3724 * gio/gbufferedoutputstream.c:
3725 * gio/gcancellable.c:
3726 * gio/gcontenttype.c:
3727 * gio/gdatainputstream.c:
3728 * gio/gdataoutputstream.c:
3729 * gio/gdesktopappinfo.c:
3730 * gio/gdirectorymonitor.c:
3734 * gio/gfileattribute.c:
3735 * gio/gfileenumerator.c:
3738 * gio/gfileinputstream.c:
3739 * gio/gfilemonitor.c:
3740 * gio/gfilenamecompleter.c:
3741 * gio/gfilenamecompleter.h:
3742 * gio/gfileoutputstream.c:
3743 * gio/gfilterinputstream.c:
3745 * gio/ginputstream.c:
3747 * gio/gioscheduler.c:
3748 * gio/gloadableicon.c:
3749 * gio/glocaldirectorymonitor.c:
3751 * gio/glocalfileinputstream.c:
3752 * gio/glocalfilemonitor.c:
3753 * gio/glocalfileoutputstream.c:
3755 * gio/gmemoryinputstream.c:
3756 * gio/gmemoryoutputstream.c:
3757 * gio/gmountoperation.c:
3758 * gio/goutputstream.c:
3759 * gio/gpollfilemonitor.c:
3761 * gio/gsimpleasyncresult.c:
3762 * gio/gsocketinputstream.c:
3763 * gio/gsocketoutputstream.c:
3764 * gio/gthemedicon.c:
3765 * gio/gunionvolumemonitor.c:
3767 * gio/gunixmounts.c:
3768 * gio/gunixvolume.c:
3769 * gio/gunixvolumemonitor.c:
3773 * gio/gvolumemonitor.c:
3774 * gio/gwin32appinfo.c:
3775 Add (mostly stub) doc strings to public functions.
3776 Patch from Andrew Walton (awalton@gmail.com)
3778 2007-11-06 Alexander Larsson <alexl@redhat.com>
3780 * gio/gappinfo.[ch]:
3781 Added GAppLaunchContext object and pass that to launch.
3782 This allows simple implementation of both
3783 launch-on-screen and startup notification via a gtk+
3784 subclass of GAppLaunchContext
3786 * gio/gdesktopappinfo.c:
3787 Implement GAppLaunchContext API
3789 * gio/gwin32appinfo.c:
3792 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3794 * gio/gmountoperation.c:
3795 Add some guards to GMountOperation's public functions.
3797 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3801 * gio/gcancellable.c:
3802 * gio/gdirectorymonitor.c:
3804 * gio/gfileenumerator.c:
3805 * gio/gfilemonitor.c:,
3806 * gio/gfilenamecompleter.c:
3809 * gio/gioscheduler.c:
3813 * gio/gvolumemonitor.c:
3814 Add even more guards to various public functions.
3816 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3819 Add guards to the public functions of GAppInfo.
3821 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3823 * gio/gcontenttype.c:
3824 Add some more guards for public functions.
3826 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3828 * gio/fam/fam-module.c:
3829 * gio/fam/gfamdirectorymonitor.c:
3830 * gio/fam/gfamdirectorymonitor.h:
3831 * gio/fam/gfamfilemonitor.c:
3832 * gio/fam/gfamfilemonitor.h:
3833 * gio/inotify/ginotifydirectorymonitor.c:
3834 * gio/inotify/ginotifydirectorymonitor.h:
3835 * gio/inotify/ginotifyfilemonitor.c:
3836 * gio/inotify/ginotifyfilemonitor.h:
3837 Add proper copyright information and remove an unused variable
3838 in the GInotifyFileMonitor constructor.
3840 * gio/gcancellable.c:
3841 Add a guard for a public function and an assertion to prevent
3842 an undefined program state.
3844 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3846 * gio/gfileattribute.c:
3847 Don't run into an assertion if the given attribute value is NULL
3848 in g_file_attribute_value_get_*() but instead return a fallback
3849 value that makes sense in most situations. Passing them a attribute
3850 value with the wrong type will still run into an assertion.
3852 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3854 * gio/gfileattribute.c:
3856 Add even more guards to the public functions. Also fix the refcounting
3857 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3858 let g_file_info_list_attributes() filter the attributes by namespace
3859 instead of simply ignoring the namespace parameter.
3861 2007-11-03 Sven Herzberg <sven@imendio.com>
3863 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3864 (This makes gio work on MacOS X again)
3866 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3869 Build the gio subdirectory before the docs. Otherwise the build will
3872 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3873 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3874 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3875 Add guards to the public functions.
3877 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3879 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3880 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3881 to prevent a compiler warning.
3883 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3884 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3885 return something in the non-void function find_topdir_for().
3887 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3894 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3896 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3897 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3898 * gwin32appinfo.c (g_win32_app_info_launch):
3899 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3900 envp_for_startup_id, g_desktop_app_info_launch,
3901 g_desktop_app_info_launch_uris):
3903 Give an opaque 'startup_id' string instead of 'envp'.
3904 Support empty file lists for launching new windows.
3905 Fix infinite recursion bug when launching URIs.
3907 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3910 Add guard to the new g_file_get_uri_scheme() function.
3912 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3915 Convert a g_return_val_if_fail() to setting the GError instead as
3916 otherwise applications have to verify the parameter before otherwise
3917 and the parameter might come directly from the user.
3919 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3921 * gio/inotify/ginotify*.[ch]:
3922 Add missing copyright information.
3924 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3927 Add guards in the beginning of public functions to check for valid
3928 parameters and fix a bug in copy_stream_with_progress() that could've
3929 caused writing less bytes than reading.
3930 * gio/glocalfileinfo.c:
3931 Check for a NULL parameter and set the GError accordingly then.
3932 * gio/goutputstream.c:
3933 Fix the same bug as in gfile.c that could've caused writing less bytes
3934 than reading in g_output_stream_real_splice().
3936 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3939 Use the correct gvolumeprivate.h naming
3941 2007-11-01 Christian Kellner <gicmo@gnome.org>
3944 Remove leftover "$(daemon_sources)" entry.
3946 2007-11-01 Christian Kellner <gicmo@gnome.org>
3951 Add copyright information to source files.
3953 2007-11-01 Alexander Larsson <alexl@redhat.com>
3957 Add g_file_get_uri_scheme
3959 2007-11-01 Alexander Larsson <alexl@redhat.com>
3962 * gio/gdesktopappinfo.c:
3963 * gio/gwin32appinfo.c:
3964 Add g_app_info_get_default_for_uri_scheme.
3966 2007-11-01 Alexander Larsson <alexl@redhat.com>
3969 Correct filename for gdriveprivate.h
3971 2007-10-31 Alexander Larsson <alexl@redhat.com>
3974 Rename id:value to id:file
3977 * gio/glocalfileinfo.c:
3980 2007-10-31 Alexander Larsson <alexl@redhat.com>
3982 * gio/gunixvolume.c:
3984 Remove g_volume_get_platform_id, as thats not
3985 needed with the simpler union volume monitor
3987 2007-10-31 Alexander Larsson <alexl@redhat.com>
3990 * gio/guniondrive.[ch]: Removed.
3991 * gio/gunionvolume.[ch]: Removed.
3992 Remove GUnionDrive/Volume
3994 * gio/gunionvolumemonitor.c:
3995 Simplify union volume monitor, now we
3996 only have one native volume monitor and
3997 we use the actual volumes/drives from the
3998 child monitors instead of wrapping them
4000 * gio/gnativevolumemonitor.[ch]:
4001 Base class for native volume monitors.
4002 Includes priority and get_volume_for_mountpoint
4005 Add g_file_find_enclosing_volume
4008 Remove volume name fs attribute
4009 Add readonly fs attribute
4012 Implement readonly attribute
4013 remove volume name attribute
4014 Implement find_enclosing volume
4016 * gio/gunixmounts.c:
4017 Add a volume for "/".
4019 * gio/gunixvolume.[ch]:
4020 Set better name for /
4022 * gio/gunixvolumemonitor.[ch]:
4023 Derive from GNativeVolumeMonitor
4024 Implement get_volume_for_mountpoint
4027 GVolume typedef moved to gfile.h
4029 * gio/gvolumeprivate.h:
4030 Add g_volume_get_for_mount_path
4032 2007-10-31 Alexander Larsson <alexl@redhat.com>
4034 * gio/gunixmounts.[ch]:
4035 Add cache info to unix mount listers
4036 Make getmntent use threadsafe
4037 Add is_system_internal attribute for GUnixMount
4039 * gio/gunixvolume.c:
4040 (g_unix_volume_new):
4041 Use is_system_internal instead of own code
4043 * gio/glocaldirectorymonitor.c:
4044 * gio/gunixvolumemonitor.c:
4045 Update to new gunixmounts API
4050 2007-10-30 Alexander Larsson <alexl@redhat.com>
4053 Add volume name fsinfo attribute
4056 Read volume name info
4058 * gio/gunionvolumemonitor.c:
4059 Fix infinite loops when finalizing a union volume monitor
4061 2007-10-30 Alexander Larsson <alexl@redhat.com>
4063 * gio/goutputstream.[ch]:
4064 Add splice() with default implementation
4066 * gio/gsocketoutputstream.c:
4067 (g_socket_output_stream_write):
4068 Return error on cancellation correctly.
4070 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4072 * gio/glocalfile.c (g_local_file_trash):
4073 Do not leak a string.
4075 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4077 * gio/gfile.c (g_file_load_contents):
4078 Unref the stream after closing it.
4080 2007-10-25 Alexander Larsson <alexl@redhat.com>
4082 * gio/gioscheduler.h:
4085 2007-10-25 Alexander Larsson <alexl@redhat.com>
4089 Add g_file_has_uri_scheme and implement for local files
4091 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4093 * gio/gdesktopappinfo.c: do not leak a string.
4095 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4097 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4098 (g_local_directory_monitor_new):
4099 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4100 (g_local_file_monitor_new):
4101 Only look for the monitor type that should be used the first time
4102 and use g_qsort_with_data() instead of our own bubble sort
4105 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4108 * gio/fam/Makefile.am:
4109 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4110 * gio/fam/fam-helper.h:
4111 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4112 * gio/fam/gfamdirectorymonitor.c:
4113 * gio/fam/gfamdirectorymonitor.h:
4114 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4115 * gio/fam/gfamfilemonitor.h:
4116 * gio/glocaldirectorymonitor.c:
4117 * gio/glocaldirectorymonitor.h:
4118 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4119 * gio/glocalfilemonitor.h:
4120 * gio/inotify/Makefile.am:
4121 * gio/inotify/ginotifydirectorymonitor.c:
4122 * gio/inotify/ginotifydirectorymonitor.h:
4123 * gio/inotify/ginotifyfilemonitor.c:
4124 * gio/inotify/ginotifyfilemonitor.h:
4125 Implement the FAM and Inotify monitors as
4126 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4127 their own GIO module. GLocal(Directory|File)Monitor will use the
4128 monitor with the highest rank that is supported on that machine.
4130 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4133 Change GIO module dir to $(libdir)/gio/modules and change
4134 the log domain from GVFS to GIO. Also only export symbols starting
4135 with g_ in the resulting library.
4136 * gio/test-streams.c: (main):
4137 Set log handler for the GIO log domain.
4139 2007-10-22 Alexander Larsson <alexl@redhat.com>
4141 * gio/gfilenamecompleter.[ch]:
4142 Add g_filename_completer_set_dirs_only
4144 2007-10-22 Alexander Larsson <alexl@redhat.com>
4147 * gio/gurifuncs.[ch]:
4148 Add some simple URI helpers
4150 * gio/gfilenamecompleter.[ch]:
4151 Added object for filename (parse name actually) completion
4154 Handle ~ in parse names
4156 2007-10-17 Alexander Larsson <alexl@redhat.com>
4159 * gio/glocalfileinfo.c:
4160 Add and implement id:value attribute
4162 2007-10-17 Alexander Larsson <alexl@redhat.com>
4165 * gio/guniondrive.c:
4167 Add and implement g_drive_has_volumes
4169 2007-10-17 Alexander Larsson <alexl@redhat.com>
4172 * gio/glocalfileinfo.[ch]:
4173 Add unix:is_mountpoint and implement for local files
4175 2007-10-16 Alexander Larsson <alexl@redhat.com>
4177 * gio/gunionvolumemonitor.c:
4178 (g_union_volume_monitor_init):
4179 Fix up the unix type getting so that it works with gcc
4181 2007-10-12 Alexander Larsson <alexl@redhat.com>
4184 * gio/glocalfileinfo.c:
4185 Add thumbnail:failed to file info
4187 2007-10-12 Richard Hult <richard@imendio.com>
4189 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4190 optimizing away the get_type call (happens with some gcc versions,
4191 like the one shipped with OS X 10.4).
4193 2007-10-12 Alexander Larsson <alexl@redhat.com>
4195 * gio/glocalfileinfo.c:
4196 (_g_local_file_info_set_attribute):
4197 Fix build if not HAVE_XATTR
4198 Patch from Milosz Derezynski <internalerror@gmail.com>
4200 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4202 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4203 around for review, otherwise I would have asked you before
4206 2007-10-11 Alexander Larsson <alexl@redhat.com>
4209 Add thumbnail:path attribute
4211 * gio/glocalfileinfo.c:
4212 Implement thumbnail:path for local files
4214 2007-10-11 Alexander Larsson <alexl@redhat.com>
4216 * gio/glocalfileinfo.c:
4217 (_g_local_file_info_get):
4218 Avoid duplicate icon names
4220 2007-10-11 Alexander Larsson <alexl@redhat.com>
4222 * gio/gthemedicon.[ch]:
4223 Change g_themed_icon_get_names return type to const
4225 2007-10-10 Alexander Larsson <alexl@redhat.com>
4227 * gio/glocalfileinfo.c:
4228 Don't reference freed memory
4230 2007-10-10 Alexander Larsson <alexl@redhat.com>
4232 * gio/gfileattribute.c:
4235 * gio/glocalfileinfo.c:
4238 2007-10-10 Alexander Larsson <alexl@redhat.com>
4241 Check for NULL icons
4243 * gio/gfileattribute.c:
4244 Don't dup when getting objects (same as for string attributes)
4246 * gio/gicon.c (g_icon_equal):
4247 Safely handle NULLs in equal
4249 2007-10-10 Alexander Larsson <alexl@redhat.com>
4252 Fix c++ compilation issues
4253 Patch from Milosz Derezynski <internalerror@gmail.com>
4255 2007-10-10 Alexander Larsson <alexl@redhat.com>
4257 * programs/gio-monitor-dir.c:
4258 Don't crash if dir monitor not supported.
4260 2007-10-09 Alexander Larsson <alexl@redhat.com>
4263 Add missing G_END_DECLS
4265 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4267 * gio/gfile.c: (g_file_set_display_name),
4268 (g_file_query_settable_attributes),
4269 (g_file_query_writable_namespaces):
4270 Return NULL not FALSE on errors as the return type is a pointer.
4272 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4274 * gio/glocalfile.c: (g_local_file_monitor_file):
4275 Don't call monitor_file on the default interface vtable (which
4276 is NULL) but simply return NULL. The caller, GFile, will create a
4277 polling monitor if NULL is returned.
4279 2007-10-09 Alexander Larsson <alexl@redhat.com>
4283 * gio-unix-2.0.pc.in:
4284 Add gio-unix-2.0.pc if OS_UNIX
4287 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4289 2007-10-09 Alexander Larsson <alexl@redhat.com>
4291 * gio/gunixmounts.[ch]:
4292 Make unix mount monitoring API sane.
4293 Now its just a object with mounts_changed
4294 and mountpoints_changed signals.
4296 * gio/glocaldirectorymonitor.c:
4297 * gio/gunixvolumemonitor.c:
4298 Use new mount monitor api
4300 2007-10-09 Alexander Larsson <alexl@redhat.com>
4302 * gio/gunixmounts.[ch]:
4303 Move guess type into one call for mounts and one for mountpoints
4306 * gio/gunixvolume.c:
4309 2007-10-09 Alexander Larsson <alexl@redhat.com>
4311 * gio/gunixmounts.[ch]:
4312 Remove _ prefix in preparation to make this semi-public
4313 Hide implementation of structs
4315 * gio/glocaldirectorymonitor.c:
4317 * gio/gunixvolume.c:
4318 * gio/gunixvolumemonitor.c:
4319 Update for above API changes
4321 2007-10-08 Alexander Larsson <alexl@redhat.com>
4324 Better polling fallback. This also handles the case where we have
4325 a monitor_file implementation, but it fails.
4327 2007-10-08 Alexander Larsson <alexl@redhat.com>
4331 * gio/gunixmounts.c:
4332 * programs/gio-monitor-dir.c:
4333 * programs/gio-monitor-file.c:
4334 Added cancellable to file monitoring calls.
4335 These are really sync calls and need this.
4337 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4339 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4340 (g_local_vfs_class_init):
4341 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4342 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4344 2007-10-05 Alexander Larsson <alexl@redhat.com>
4346 * gio/gdirectorymonitorprivate.h:
4347 * gio/gfilemonitorprivate.h:
4348 * gio/gdirectorymonitor.h:
4349 * gio/gfilemonitor.h:
4350 Remove *private.h and move to the public API, so that
4351 we can do implementations outside gio (such as in gvfs)
4353 * gio/gdirectorymonitor.c:
4354 * gio/gfilemonitor.c:
4355 * gio/glocaldirectorymonitor.c:
4356 * gio/gpollfilemonitor.c:
4357 * gio/inotify/inotify-helper.c:
4358 * gio/fam/fam-helper.c:
4359 Update to the new header names
4361 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4363 * gio/gdirectorymonitor.c:
4364 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4367 2007-10-04 Alexander Larsson <alexl@redhat.com>
4369 * gio/glocalfileinfo.c (get_access_rights):
4370 Set CAN_TRASH when we can move the file.
4371 We should really also check for a parent trash dir.
4373 2007-10-04 Alexander Larsson <alexl@redhat.com>
4375 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4376 Add can_trash access attribute
4378 2007-10-04 Alexander Larsson <alexl@redhat.com>
4381 (g_local_file_trash):
4382 Create info file first. This is per-spec and allows
4383 us to actually trash directories.
4385 2007-10-02 Alexander Larsson <alexl@redhat.com>
4387 * gio/gdesktopappinfo.c:
4388 Implement the new mime support code.
4389 Always set app as handling mimetype when being set as default for it
4391 2007-10-01 Alexander Larsson <alexl@redhat.com>
4393 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4394 Fix up check for xattrs:
4396 2007-10-01 Alexander Larsson <alexl@redhat.com>
4399 (g_app_info_set_as_default_for_extension):
4400 (g_app_info_add_supports_type):
4401 (g_app_info_can_remove_supports_type):
4402 (g_app_info_remove_supports_type):
4403 Make these fail nicely if not implemented
4405 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4407 * gio/glocalfileoutputstream.c:
4408 * gio/glocalfileoutputstream.h:
4413 * programs/gio-save.c:
4414 Add a GFileCreateFlags argument to operations that can create
4417 2007-10-01 Alexander Larsson <alexl@redhat.com>
4419 * gio/gappinfo.[ch]:
4420 * gio/gdesktopappinfo.c:
4421 Add more (stubbed out) mime API needed for nautilus
4423 2007-10-01 Alexander Larsson <alexl@redhat.com>
4426 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4427 Add g_app_info_set_as_default_for_extension.
4429 * gio/gdesktopappinfo.c:
4430 Dummy for g_app_info_set_as_default_for_extension
4431 Support flags in g_app_info_create_from_commandline
4433 * gio/gwin32appinfo.c:
4435 Update for API changes
4437 * gio/gthemedicon.c:
4438 Properly NULL-terminate list of icon names
4440 2007-09-28 Alexander Larsson <alexl@redhat.com>
4442 * gio/gloadableicon.h:
4443 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4445 2007-09-28 Alexander Larsson <alexl@redhat.com>
4448 Install headers in $includedir/gio-standalone/
4450 * gio-2.0.pc.in: Added.
4451 * gio-standalone.pc.in: Removed.
4454 Renamed pkg-config file to match glib (for future move)
4455 Update to the new include dir
4458 Add more TODO comments
4460 2007-09-28 Alexander Larsson <alexl@redhat.com>
4462 * gio/gdesktopappinfo.[ch]:
4463 Expose new_from_filename
4464 Add getter for is_hidden and handle it better
4466 2007-09-28 Alexander Larsson <alexl@redhat.com>
4468 * gio/gfileinfo.[ch]:
4469 Rename g_file_size_format_for_display to
4470 g_format_file_size_for_display.
4471 Now it doesn't have the g_file prefix, so we
4472 can later move it to glib.
4474 2007-09-28 Alexander Larsson <alexl@redhat.com>
4476 * gio/gappinfo.[ch]:
4477 Add g_app_info_get_id and g_app_info_get_executable.
4478 Make all getters non-reffing
4479 Make g_app_info_launch take GFile arguments.
4480 Add must_support_uris argument to g_app_info_get_default_for_type.
4482 * gio/gwin32appinfo.c:
4483 Update to GAppInfo api changes
4485 * gio/gdesktopappinfo.c:
4486 Update to GAppInfo api changes
4487 Implement supports_xdg_startup_notify
4489 * gio/gfileicon.c (g_file_icon_get_file):
4490 Make getter non-reffing.
4495 2007-09-27 Alexander Larsson <alexl@redhat.com>
4497 * gio/gfileinfo.[ch]:
4498 Add g_file_size_format_for_display helper
4500 2007-09-27 Alexander Larsson <alexl@redhat.com>
4502 * gio/glocalfileinfo.c:
4503 Set UNIX_GID from gid, not from uid
4505 2007-09-27 Alexander Larsson <alexl@redhat.com>
4508 Add g_file_set_attributes_async
4510 2007-09-27 Alexander Larsson <alexl@redhat.com>
4512 * gio/glocalfile.c (g_local_file_set_display_name):
4513 Fix set_display_name to actually rename to the right place.
4514 Use lstat to look for existing files so we don't overwrite
4517 2007-09-26 Alexander Larsson <alexl@redhat.com>
4520 Add g_file_set_display_name_async()
4522 2007-09-26 Alexander Larsson <alexl@redhat.com>
4525 Add load_partial_contents async calls
4528 Make internal function static
4530 2007-09-26 Alexander Larsson <alexl@redhat.com>
4532 * gio/glocalfileinfo.c:
4533 Correctly detect broken symlinks
4535 2007-09-26 Alexander Larsson <alexl@redhat.com>
4537 * gio/gcancellable.c (g_cancellable_cancel):
4538 Allow cancel on NULL cancellable
4540 2007-09-25 Alexander Larsson <alexl@redhat.com>
4542 * gio/gsimpleasyncresult.c:
4543 Don't allocate g_error manually.
4544 Fixes g_slice/g_new mixup crash
4546 2007-09-25 Alexander Larsson <alexl@redhat.com>
4548 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4549 Actually set active_backend.
4550 This means the monitor will be cancelled correctly.
4552 2007-09-25 Alexander Larsson <alexl@redhat.com>
4554 * gio/gdirectorymonitor.c:
4555 Set timeout to NULL when destroying
4557 2007-09-25 Alexander Larsson <alexl@redhat.com>
4560 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4561 that is a better description of the error.
4563 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4565 * gio/gvfs.c: (g_vfs_get_local):
4566 Make the local vfs variable static. The same instance should
4569 2007-09-24 Alexander Larsson <alexl@redhat.com>
4571 * gio/glocalfileinfo.c:
4572 Pass in actual length read into sniffer, not the length
4575 2007-09-21 Alexander Larsson <alexl@redhat.com>
4577 * gio/gfileenumerator.c:
4580 * gio/gfileinputstream.c:
4581 * gio/gfileoutputstream.c:
4582 * gio/ginputstream.c:
4583 * gio/goutputstream.c:
4584 Don't crash if async callbacks are NULL
4586 2007-09-20 Alexander Larsson <alexl@redhat.com>
4589 Add async enumerate_children method and default
4592 2007-09-20 Alexander Larsson <alexl@redhat.com>
4595 Add g_file_contains_file & g_file_get_relative_path, since they
4596 were needed for nautilus.
4597 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4602 Implement new methods
4604 2007-09-17 Alexander Larsson <alexl@redhat.com>
4607 * gio/gfileinputstream.[ch]:
4608 * gio/gfileoutputstream.[ch]:
4610 * gio/glocalfileenumerator.[ch]:
4611 * gio/glocalfileinfo.[ch]:
4612 * gio/glocalfileinputstream.c:
4613 * gio/glocalfileoutputstream.c:
4614 * gio/gpollfilemonitor.c:
4615 * programs/gio-copy.c:
4616 * programs/gio-info.c:
4617 * programs/gio-move.c:
4618 Rename get_file_info to query_info() to make it clearer
4619 that these are not simple getters, but do i/o.
4621 2007-09-17 Alexander Larsson <alexl@redhat.com>
4623 * gio/gdatainputstream.[ch]:
4624 * gio/test-streams.c:
4625 Use _read_XXX instead of _get_XXX for the i/o calls
4628 2007-09-17 Alexander Larsson <alexl@redhat.com>
4631 Added needed stuff to TODO comment
4633 2007-09-17 Alexander Larsson <alexl@redhat.com>
4635 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4636 Don't error out removing the backup copy if it doesn't
4639 2007-09-14 Alexander Larsson <alexl@redhat.com>
4641 * programs/Makefile.am:
4642 * programs/gvfs-*.c:
4644 Renamed apps from gvfs-xxx to gio-xxx.
4646 2007-09-14 Alexander Larsson <alexl@redhat.com>
4649 * gio/gfileoutputstream.[ch]:
4650 * gio/glocalfileoutputstream.c:
4651 * programs/gvfs-save.c:
4652 g_file_output_stream_get_etag doesn't do i/o, so remove
4653 cancellation and error.
4655 2007-09-14 Alexander Larsson <alexl@redhat.com>
4658 Add new_etag output to replace_contents functions
4660 2007-09-14 Alexander Larsson <alexl@redhat.com>
4662 * gio/gfileoutputstream.[ch]:
4663 Add async get_file_info and default implementation
4665 2007-09-14 Alexander Larsson <alexl@redhat.com>
4667 * gio/gfileinputstream.c:
4668 Implement fallback wrapper for async get_file_info
4670 2007-09-14 Alexander Larsson <alexl@redhat.com>
4673 Add etag out argument to load_contents
4678 2007-09-14 Alexander Larsson <alexl@redhat.com>
4680 * gio/gcontenttype.c (looks_like_text):
4681 Whitespace like tab, cr and lf do not make the
4684 2007-09-14 Alexander Larsson <alexl@redhat.com>
4686 * gio/gfileinputstream.[ch]:
4687 Add async get_file_info.
4689 2007-09-13 Alexander Larsson <alexl@redhat.com>
4691 * gio/goutputstream.c (g_output_stream_write_all):
4692 Allow NULL for bytes_written
4694 2007-09-13 Alexander Larsson <alexl@redhat.com>
4696 * gio/gmemoryinputstream.[ch]:
4697 Add accessors for data
4699 2007-09-13 Alexander Larsson <alexl@redhat.com>
4701 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4702 Don't crash if length is NULL