1 2008-07-30 Matthias Clasen <mclasen@redhat.com>
3 Bug 545457 – gdmsetup crashed with SIGSEGV in
4 g_unix_mount_guess_should_display()
6 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
7 crash if no mount is found.
9 2008-07-28 Matthias Clasen <mclasen@redhat.com>
11 Bug 545203 – gfile.c: argument is different type.
13 * gfile.c (open_read_async_thread): Pass a GError **
14 to g_file_set_error_literal.
15 Reported by Kazuki Iwamoto
17 2008-07-28 Matthias Clasen <mclasen@redhat.com>
19 Bug 545157 – wrong/no list of "open with" applications for .cc and
22 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
23 Collect all ancestors, not just direct parents. Pointed
26 2008-07-28 Matthias Clasen <mclasen@redhat.com>
28 * Makefile.am: Install gemblemedicon.h
30 2008-07-28 Matthias Clasen <mclasen@redhat.com>
32 * gemblemedicon.[hc]: Add a GIcon implementation that can
33 add an emblem to another icon.
40 * gfileicon.c: Small documentation additions.
42 2008-07-28 Tor Lillqvist <tml@novell.com>
44 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
47 2008-07-27 Tor Lillqvist <tml@novell.com>
49 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
51 2008-07-24 David Zeuthen <davidz@redhat.com>
55 Also export a g_mount_guess_content_type_sync() function.
57 2008-07-23 Matthias Clasen <mclasen@redhat.com>
59 529694 – SELinux context setting support
61 * gfileinfo.c: Support setting selinux attributes.
64 2008-07-22 Priit Laes <plaes@plaes.org>
66 Bug 544140 - fam-helper 64-bit issue?
68 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
70 2008-07-21 Matthias Clasen <mclasen@redhat.com>
72 * === Released 2.17.4 ===
74 2008-07-20 Matthias Clasen <mclasen@redhat.com>
76 * gvolumemonitor.[hc]:
81 * gmount.c: Documentation fixes
83 2008-07-19 Matthias Clasen <mclasen@redhat.com>
85 543504 – crash in Epiphany Web Browser: Opening local file
96 * gvolume.c: Register types thread-safely.
97 Patch by Christian Persch
99 2008-07-18 Matthias Clasen <mclasen@redhat.com>
101 * gcontenttype.c: Remove debug spew
103 2008-07-18 Matthias Clasen <mclasen@redhat.com>
105 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
108 * fen/fen-kernel.c: Remove a warning that was causing
109 crashes. Reported by Lin Ma.
111 2008-07-18 Matthias Clasen <mclasen@redhat.com>
113 Bug 543040 – async reading on dummy file will crash on
116 * gfile.c (open_read_async_thread): Cope with read_fn being
117 NULL. Reported by Lin Ma.
119 2008-07-18 Matthias Clasen <mclasen@redhat.com>
122 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
124 2008-07-16 Matthias Clasen <mclasen@redhat.com>
128 * giomodule.c: Rename a chapter id to avoid filename conflict.
130 2008-07-16 Matthias Clasen <mclasen@redhat.com>
132 Bug 540616 – mem leak in filechooser button
134 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
135 the mount entry. Reported by Chrisitan Persch
137 2008-07-16 Matthias Clasen <mclasen@redhat.com>
139 * gfile.c: Small documentation fixes.
141 2008-07-15 Matthias Clasen <mclasen@redhat.com>
143 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
145 2008-07-08 Matthias Clasen <mclasen@redhat.com>
150 * gmount.c: Documentation improvements.
152 2008-07-08 Matthias Clasen <mclasen@redhat.com>
155 * gmount.[hc]: Add g_mount_guess_content_type().
157 2008-07-06 David Zeuthen <davidz@redhat.com>
160 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
161 is needed for easily handling adoption of foreign volumes by
162 out-of-process volume monitors (#541793)
164 2008-07-06 David Zeuthen <davidz@redhat.com>
166 * gvolumemonitor.[ch]:
167 * gunionvolumemonitor.c: Export the eject-button signal on the
168 volume monitor class (#541794).
170 2008-07-06 Matthias Clasen <mclasen@redhat.com>
172 * gappinfo.c: More doc tweaks
174 2008-07-05 Matthias Clasen <mclasen@redhat.com>
176 * gappinfo.c: Clarify some docs
178 2008-07-03 Matthias Clasen <mclasen@redhat.com>
180 * gdesktopappinfo.c: Fix a stupid mistake.
182 2008-07-02 Matthias Clasen <mclasen@redhat.com>
184 * === Released 2.17.3 ===
186 2008-07-02 Matthias Clasen <mclasen@redhat.com>
188 * gfilemonitor.c: Fix the build.
190 2008-07-02 Matthias Clasen <mclasen@redhat.com>
192 Bug 536160 – Add g_file_monitor()
195 * gfile.[hc]: Add g_file_monitor which can return either
196 a file or a directory monitor. Proposed by Behdad Esfahbod
198 2008-07-02 Matthias Clasen <mclasen@redhat.com>
200 536733 – gio build failure on Irix
202 * glocalfile.c: Use a configure check for structfs.f_bavail.
204 2008-07-02 Matthias Clasen <mclasen@redhat.com>
206 Bug 534639 – add g_desktop_app_info_new_from_keyfile
209 * gdesktopappinfo.[hc]: Add a function to create a
210 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
212 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
214 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
216 2008-07-01 Matthias Clasen <mclasen@redhat.com>
218 * gunixmounts.c: Fix a doc typo.
220 2008-07-01 Cody Russell <bratsche@gnome.org>
222 * gio/gcontenttype.c:
223 * gio/gwin32appinfo.c:
224 * gio/gwin32volumemonitor.c:
225 * gio/gwin32mount.c: Fixed some include problems.
227 2008-07-01 Cody Russell <bratsche@gnome.org>
231 Moved all relevant typedefs into these files.
234 Updated wrt added files.
236 Split types into separate file for easier maintainership. (#538564)
238 2008-06-30 Matthias Clasen <mclasen@redhat.com>
240 Bug 540331 – g_file_append_to () documentation: can return NULL
242 * gfile.c (g_file_append_to): Clarify docs.
245 2008-06-30 Matthias Clasen <mclasen@redhat.com>
247 Bug 539090 – g_content_type_from_mime_type() should unalias
249 * gcontentype.c (g_content_type_from_mime_type): Unalias.
250 Patch by Markus Bergman
252 2008-06-30 Matthias Clasen <mclasen@redhat.com>
254 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
257 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
258 on ppc and alpha. Reported by Mart Raudsepp
260 2008-06-29 Matthias Clasen <mclasen@redhat.com>
263 * tests/memory-output-stream.c: Add some tests for
266 2008-06-29 Matthias Clasen <mclasen@redhat.com>
268 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
271 * gmemoryoutputstream.c (array_resize): Handle truncation to
272 zero correctly. Reported by Akira Tagoh
274 2008-06-29 Matthias Clasen <mclasen@redhat.com>
276 * gmemoryoutputstream.c: Trivial doc fixes
278 2008-06-29 Matthias Clasen <mclasen@redhat.com>
280 Bug 540802 – g_list_prepend doesn't concat lists
282 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
283 one list to another. Pointed out by Jan Arne Petersen
285 2008-06-28 Michael Natterer <mitch@imendio.com>
287 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
289 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
291 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
292 to avoid problems with partial icon themes.
294 2008-06-17 Hans Breuer <hans@breuer.org>
296 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
297 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
298 access again on win32, see bug #538127
299 * giomodule.c : ensure GWin32VolumeMonitor is registered
300 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
301 * Makefile.am makefile.msc : updated
303 2008-06-16 Hans Breuer <hans@breuer.org>
305 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
306 and initialization in one step avoids c99ism
308 2008-06-16 Christian Persch <chpe@gnome.org>
311 * gio/gbufferedinputstream.c
313 * gio/gdatainputstream.c
314 * gio/gdesktopappinfo.c
316 * gio/gfileenumerator.c
317 * gio/gfileinputstream.c
318 * gio/gfileoutputstream.c
320 * gio/glocaldirectorymonitor.c
322 * gio/glocalfileenumerator.c
323 * gio/glocalfileinfo.c
324 * gio/glocalfilemonitor.c
325 * gio/glocalfileoutputstream.c
326 * gio/gmemoryinputstream.c
327 * gio/gmemoryoutputstream.c
328 * gio/goutputstream.c
329 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
332 2008-06-16 Tor Lillqvist <tml@novell.com>
334 Bug 538362 - Get Win32 icons back in the file chooser
336 * gcontenttype.c (g_content_type_get_icon): Look up the icon
337 corresponding to a file extension in the Registry. Patch by Hans
339 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
341 2008-06-16 Tor Lillqvist <tml@novell.com>
343 Patches by Hans Breuer:
345 * glocalfile.c (is_xp_or_later): Handle compiling against older
346 SDK headers with missing VerifyVersionInfo(). Conditioned on
347 _MSC_VER, but should probably use some better test.
348 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
349 uninitialised statfs_result variable on Win32.
351 2008-06-16 Michael Natterer <mitch@imendio.com>
353 * *.c: chain up unconditionally in finalize() and dispose(). Also
354 don't dereference these function pointers when calling them since
355 that has no meaning at all.
357 2008-06-16 Ross Burton <ross@burtonini.com>
360 Remove check for dispose implementation as it annoys Emmanuele.
362 2008-06-16 Ross Burton <ross@burtonini.com>
364 Bug 536252 – GFileEnumerator should allow access to the containing
370 Add g_file_enumerator_get_container() and a container writeable
371 construct-only property. Also shuffle around typedefs to make it
374 * glocalfileenumerator.c:
375 * glocalfileenumerator.h:
377 Instead of a string filename take a GFile in the constructor and
378 use it to set the container property.
383 2008-06-16 Matthias Clasen <mclasen@redhat.com>
385 * gfile.c: Make includes more uniform
387 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
389 * tests/live-g-file.c (sample_struct):
390 Use less fancy unicode filenames, so the test doesn't fail
391 on Mac OS X (#531476).
393 2008-06-12 Matthias Clasen <mclasen@redhat.com>
395 * === Released 2.17.2 ===
397 2008-06-12 Matthias Clasen <mclasen@redhat.com>
399 * === Released 2.17.1 ===
401 2008-06-11 A. Walton <awalton@gnome.org>
403 * tests/g-file.c (test_g_file_new_null):
404 Fix broken test case.
406 2008-06-11 Matthias Clasen <mclasen@redhat.com>
408 * pltcheck.sh: We use g_clear_error now.
410 2008-06-11 Matthias Clasen <mclasen@redhat.com>
412 * glocalfile.c (g_local_file_enumerate_children): Revert
413 an unintended change.
415 2008-06-11 Matthias Clasen <mclasen@redhat.com>
417 * gfile.c (g_file_replace_contents): Don't unref before the last use.
419 2008-06-10 Matthias Clasen <mclasen@redhat.com>
421 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
424 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
425 as icon for the desktop directory, also make user-home and
426 user-desktop the preferred icons.
428 2008-06-10 Matthias Clasen <mclasen@redhat.com>
431 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
432 to add a name to the front of the list.
434 2008-06-10 Matthias Clasen <mclasen@redhat.com>
436 Bug 537392 – Additional colon in xattr name
438 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
439 too. Reported by Alessandro Morandi
441 2008-06-10 Matthias Clasen <mclasen@redhat.com>
443 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
446 * glocalfile.c (get_fs_type): Add afs and autofs.
447 Patch by Danny Baumann.
449 2008-06-10 Matthias Clasen <mclasen@redhat.com>
451 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
453 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
454 is no parent. (Owen Taylor, patch by Christian Neumair)
456 2008-06-10 Paolo Borelli <pborelli@katamail.com>
458 * gfile.c (g_file_replace_contents): do not leak the output stream.
460 2008-06-10 Michael Natterer <mitch@imendio.com>
462 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
463 uninitialized memory as array index.
465 2008-06-10 Tor Lillqvist <tml@novell.com>
467 * gcontenttype.c (g_content_type_can_be_executable)
468 (g_content_type_get_icon) [Win32]: Add TODO comments.
470 2008-06-09 Matthias Clasen <mclasen@redhat.com>
472 * xdgmime/Makefile.am: Fix the build
474 2008-06-09 Matthias Clasen <mclasen@redhat.com>
476 * gcontenttype.c (g_content_type_get_icon): Use icons specified
477 in the shared mime database, if available.
479 * xdgmime/*: Sync with upstream. This brings support for
480 glob weights, generic icons, and changes the cache format to
483 2008-05-28 Michael Natterer <mitch@imendio.com>
485 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
486 the global CPPFLAGS now.
488 * tests/data-input-stream.c
489 * tests/data-output-stream.c
490 * tests/g-file-info.c
492 * tests/live-g-file.c
493 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
495 2008-05-27 Matthias Clasen <mclasen@redhat.com>
497 * === Released 2.17.0 ===
499 * tests/live-g-file.c: Clean up after the tests, so make distcheck
500 doesn't complain about leftover files.
502 2008-05-27 simon.zheng <simon.zheng@sun.com>
504 * glocalfile.c: (g_local_file_query_filesystem_info):
505 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
507 2008-05-26 Michael Natterer <mitch@imendio.com>
509 * gmemoryoutputstream.h: declare
510 g_memory_output_stream_get_data_size().
512 2008-05-26 Matthias Clasen <mclasen@redhat.com>
514 * tests/*: Make tests work
516 2008-05-26 Matthias Clasen <mclasen@redhat.com>
518 * gio.symbols: Add g_memory_output_stream_get_data_size.
520 2008-05-25 Ross Burton <ross@burtonini.com>
523 Fix typo in error message (#534764).
525 2008-05-25 Ross Burton <ross@burtonini.com>
528 Fix circular dependency loop for gioenumtypes.h (#534759).
530 2008-05-19 Hans Breuer <hans@breuer.org>
532 * Makefile.am : EXTRA_DIST += makefile.msc
534 2008-05-17 Matthias Clasen <mclasen@redhat.com>
537 * gcontenttype.c: (g_content_type_from_mime_type):
538 New function to create a content type from a mime type. (#527175,
541 2008-05-17 Matthias Clasen <mclasen@redhat.com>
543 Bug 532965 – Should not return filesystem::free for certain file systems
545 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
546 free space for ncpfs.
548 2008-05-17 Matthias Clasen <mclasen@redhat.com>
550 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
552 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
553 st_dev might be zero.
555 2008-05-16 Tor Lillqvist <tml@novell.com>
557 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
558 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
560 2008-05-13 Bastien Nocera <hadess@hadess.net>
562 * gfile.c (has_valid_scheme): A URI scheme must start with a
563 letter, even if later more characters are allowed (#532852)
565 2008-05-05 Michael Natterer <mitch@imendio.com>
567 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
568 code from being checked in that breaks the build of applications
569 which use G_DISABLE_SINGLE_INCLUDES.
571 * makegioalias.pl: make the alias file include "glib.h" instead of
574 * gio.symbols: whitespace change to force regeneration of the
575 alias file after above script change.
577 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
579 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
581 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
583 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
585 2008-04-28 David Zeuthen <davidz@redhat.com>
587 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
588 displaying mounts in a subdirectory not accessible to the
591 2008-04-22 Michael Natterer <mitch@imendio.com>
593 * Makefile.am: fix library versioning (it was 0.0.0).
595 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
597 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
598 Default disable all loggings.
599 * fen/fen-kernel.c: (printevent), (port_add_kevent),
600 (port_fetch_event_cb): Fixed two macro nits.
602 2008-04-16 Matthias Clasen <mclasen@redhat.com>
604 * xdgmime/xdgmime.c: Rework the timestamp checking code
605 to protect against duplicate directories in XDG_DATA_DIRS.
606 Fixes fd.o bug 12513, reported by Joe Shaw.
608 2008-04-16 Matthias Clasen <mclasen@redhat.com>
610 Partically revert the last commit after realizing that
611 xdg_mime_media_type_equal doesn't have to init at all.
614 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
616 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
618 2008-04-16 Matthias Clasen <mclasen@redhat.com>
620 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
621 reported by Joe Shaw and Federico Mena Quintero.
623 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
624 (xdg_mime_media_type_equal): Turn into a wrapper around the
627 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
628 functions throughout.
630 2008-04-16 Michael Meeks <michael.meeks@novell.com>
632 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
633 tolerate an empty TryExec= line without failing; nautilus used
634 to create launchers with these in previous versions. Fixes #528433
636 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
638 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
639 after name. Fixes #527132.
641 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
643 * gfile.c: (g_file_replace):
646 2008-04-07 Matthias Clasen <mclasen@redhat.com>
648 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
650 * gfile.c (file_copy_fallback): Fix the argument order. Patch
651 by Christian Kellner.
653 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
655 * gunixmounts.c: (g_unix_mount_guess_should_display):
656 Don't list the user directory as a mount, fix potential issue
657 when other users have a similar naming and don't special case the
658 gvfs mounts there since that's not required (#525866)
660 2008-03-31 Alexander Larsson <alexl@redhat.com>
662 * glocalfile.c (get_parent):
665 2008-03-31 A. Walton <awalton@svn.gnome.org>
667 * gfile.c (g_file_query_file_type):
668 Always return a GFileType enum value (#520715).
670 2008-03-31 Alexander Larsson <alexl@redhat.com>
672 * glocalfileenumerator.c:
673 Read readdir() info in chunks (of 1000) and sort
674 the chunks by inode before stat:ing.
675 This is a 20% performance increase in testing
676 gvfs-ls on /usr/bin with cold cache.
678 2008-03-31 Alexander Larsson <alexl@redhat.com>
680 * gmemoryoutputstream.c:
681 Clarify docs for g_memory_output_stream_get_size.
682 Add g_memory_output_stream_get_data_size.
684 2008-03-30 Matthias Clasen <mclasen@redhat.com>
688 * gfile.h: Add g_file_query_file_type convenience function
689 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
691 2008-03-30 Matthias Clasen <mclasen@redhat.com>
694 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
696 2008-03-28 A. Walton <awalton@svn.gnome.org>
698 * giomodule.c (_g_io_modules_ensure_loaded):
699 Adds GIO_EXTRA_MODULES environment variable support, closing bug
702 2008-03-28 Alexander Larsson <alexl@redhat.com>
705 (copy_stream_with_progress):
708 2008-03-28 Alexander Larsson <alexl@redhat.com>
711 (copy_stream_with_progress):
712 (file_copy_fallback):
713 Fallback to g_file_query_info for source size
714 if g_file_input_stream_query_info fails. (#524579)
716 2008-03-28 Alexander Larsson <alexl@redhat.com>
718 * glocalfile.c (g_local_file_move):
719 Reuse old string instead of adding new one.
721 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
723 * fen/*.[hc]: still copyright issue. I hate copyright.
725 2008-03-27 Alexander Larsson <alexl@redhat.com>
727 * glocalfile.c (g_local_file_move):
728 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
729 file over directory. This is according to the docs and what the move via
730 copy+remove fallback does.
732 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
734 * fen/*.[hc]: Updated copyright.
736 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
738 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
740 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
742 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
743 not emit attribute changed events when optimizing changed events.
744 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
747 2008-03-19 Matthias Clasen <mclasen@redhat.com>
749 * gmountoperation.[hc]: Small documentation additions
751 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
753 * gunixmounts.c: (guess_mount_type):
754 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
756 2008-03-19 Alexander Larsson <alexl@redhat.com>
759 (copy_stream_with_progress):
760 Bump block side for copy to 64k to minimize
761 overhead for low latency links. (#523015)
763 2008-03-16 Tor Lillqvist <tml@novell.com>
765 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
766 depend on gio.def on Windows.
768 2008-03-12 David Zeuthen <davidz@redhat.com>
772 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
774 2008-03-14 Alexander Larsson <alexl@redhat.com>
778 Avoid redudant tests (#521851)
779 Patch from Josselin Mouette
781 2008-03-14 Alexander Larsson <alexl@redhat.com>
784 (g_file_monitor_is_cancelled):
785 Fix C89 issue (#521672)
786 Patch from Jens Granseuer
788 2008-03-14 Alexander Larsson <alexl@redhat.com>
790 * fam/fam-helper.[ch]:
792 Shut down fam (including removing fam GSource) when
793 module is unloaded (#521513)
794 Patch from Joe Marcus Clarke
796 2008-03-14 Alexander Larsson <alexl@redhat.com>
799 (_g_io_modules_ensure_loaded):
802 2008-03-14 Alexander Larsson <alexl@redhat.com>
805 (g_local_file_query_filesystem_info):
806 Use right define name for f_fstypename member check
808 2008-03-14 Alexander Larsson <alexl@redhat.com>
811 * fen/Makefile.am: Added.
812 * fen/fen-data.[ch]: Added.
813 * fen/fen-dump.[ch]: Added.
814 * fen/fen-helper.[ch]: Added.
815 * fen/fen-kernel.[ch]: Added.
816 * fen/fen-missing.[ch]: Added.
817 * fen/fen-node.[ch]: Added.
818 * fen/fen-sub.[ch]: Added.
819 * fen/gfendirectorymonitor.[ch]: Added.
820 * fen/gfenfilemonitor.[ch]: Added.
822 Added Solaris FEN file notification backend.
823 Patch from Lin Ma <Lin.Ma@Sun.COM>
825 2008-03-13 Tor Lillqvist <tml@novell.com>
827 * Makefile.am: Actually use the gio.def file when linking the
828 library on Windows. Produce .lib library for Microsoft's toolchain
829 when possible. Install the .lib and .def file like for the other
832 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
834 * tests/live-g-file.c:
835 Include live-g-file in standard set of tests, making a temporary
836 directory in source structure.
838 Clean target directory before the tests (write mode only)
840 2008-03-12 Tor Lillqvist <tml@novell.com>
842 Bug 517419 - gio win32 directory monitor
843 Implementation by Vlad Grecescu.
846 * win32/gwin32directorymonitor.h
847 * win32/gwin32directorymonitor.c: New files.
849 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
851 * Makefile.am: Add the win32 subdirectory.
853 2008-03-12 Tor Lillqvist <tml@novell.com>
855 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
856 normal struct stat on Unix but struct _stati64 on Windows to have
857 access to 64-bit file size information. Use that instead of struct
858 stat in the functions declared here in this private header.
860 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
861 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
862 warnings about unused functions and variables. Don't set
863 meaningless attributes like inode numbers on Windows.
865 2008-03-12 Benjamin Otte <otte@gnome.org>
868 trim whitespace so gtk-doc groks the function name
870 2008-03-12 Tor Lillqvist <tml@novell.com>
872 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
873 returning FALSE, on Win32.
875 2008-03-11 Alexander Larsson <alexl@redhat.com>
878 * glocalfileinfo.[ch]:
879 Correctly implement can_trash by actually
880 looking for a trash dir, not just assuming
883 2008-03-10 Matthias Clasen <mclasen@redhat.com>
885 * === Released 2.16.1 ===
887 2008-03-11 Alexander Larsson <alexl@redhat.com>
890 Fix crashes in new constructor and properties code
892 2008-03-10 Murray Cumming <murrayc@murrayc.com>
894 * gfile.c: Minor spelling correction in documentation:
895 existance -> existence.
897 2008-03-10 Matthias Clasen <mclasen@redhat.com>
899 * === Released 2.16.0 ===
901 2008-03-10 Matthias Clasen <mclasen@redhat.com>
903 * gio.symbols: Remove g_file_contains_file here, too.
905 2008-03-10 Matthias Clasen <mclasen@redhat.com>
907 * gthemedicon.c: Add properties to make bindings happy. (#517676,
908 Samuel Cormier-Iijima)
910 2008-03-08 Tor Lillqvist <tml@novell.com>
912 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
915 2008-03-07 Alexander Larsson <alexl@redhat.com>
918 (g_local_file_query_filesystem_info):
919 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
920 Patch from Jasper Lievisse Adriaanse
922 2008-03-06 Tor Lillqvist <tml@novell.com>
924 * gfileinfo.h: Correct milliseconds to microseconds in the doc
925 comments for the *_USEC attributes.
927 2008-03-06 Alexander Larsson <alexl@redhat.com>
929 * gfile.c (g_file_query_exists):
930 Add g_return_val_if_fail check (#520700)
932 2008-03-06 Alexander Larsson <alexl@redhat.com>
937 * gunionvolumemonitor.c:
940 * tests/live-g-file.c:
941 * xdgmime/xdgmimecache.c:
942 Fix sparse warnings (#519489)
944 2008-03-05 Alexander Larsson <alexl@redhat.com>
947 Make cancellation threadsafe (i.e.
948 guarantee its only done once, and always
951 * glocaldirectorymonitor.c:
952 Make sure we the monitor lives while the
953 mounts_changed callback is being called (#520484)
955 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
957 * gbufferedinputstream.c: Fix typo in parameter
960 2008-03-04 Alexander Larsson <alexl@redhat.com>
963 Remove deprecated symbols we kept for one release.
965 2008-03-04 Murray Cumming <murrayc@murrayc.com>
968 * goutputstream.c: Tiny documentation corrections.
970 2008-03-03 Alexander Larsson <alexl@redhat.com>
972 * gunionvolumemonitor.c:
974 Fix the adopt_orphan_mount vfunc to take a
975 volume_monitor reference in an ABI compat way.
976 This change is not API compat, but the added
977 arg is not used in the only user of this vfunc, so
978 all we get is a harmless warning in gvfs (#520169)
980 2008-03-01 Benjamin Otte <otte@gnome.org>
983 clarify docs for g_file_delete().
985 2008-02-29 Alexander Larsson <alexl@redhat.com>
989 Make sure empty files get text/plain type (#518720)
991 2008-02-27 Alexander Larsson <alexl@redhat.com>
997 (g_unix_volume_mount):
998 Add missing GMountMountFlags argument
1000 2008-02-26 Alexander Larsson <alexl@redhat.com>
1003 (g_local_file_delete):
1004 Handle filesystems (like ntfs-3g) that return EEXIST instead
1005 of ENOTEMPTY (#518816)
1007 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1009 * === Released 2.15.6 ===
1011 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1013 * gfile.c (g_file_find_enclosing_mount):
1014 * ginputstream.c (g_input_stream_set_pending):
1015 * glocalfile.c (g_local_file_find_enclosing_mount):
1016 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1017 * goutputstream.c (g_output_stream_set_pending):
1019 Fixup translator comments (#518578).
1021 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1023 * gfile.c (g_file_find_enclosing_mount):
1025 * glocalfile.c (g_local_file_find_enclosing_mount):
1028 Fix a few typos in translator comments and documentation.
1030 2008-02-25 Alexander Larsson <alexl@redhat.com>
1037 Add translator comments (#518578)
1039 2008-02-25 Alexander Larsson <alexl@redhat.com>
1042 Reintroduce g_file_contains_file, keep around for one
1043 unstable release cycle to avoid crashing to many apps.
1044 Make sure to delete after release.
1046 2008-02-25 Alexander Larsson <alexl@redhat.com>
1049 Remove deprecated g_file_contains_file.
1051 2008-02-25 Alexander Larsson <alexl@redhat.com>
1054 Emit actual change signals in an idle handler.
1055 This avoids reentrance and locking problems in
1056 the file notification backends.
1058 2008-02-25 Alexander Larsson <alexl@redhat.com>
1061 (g_unix_mount_guess_should_display):
1062 Remove type guessing, instead just display
1063 mounts in /media and in ~/.
1065 2008-02-25 Alexander Larsson <alexl@redhat.com>
1068 Make new strings reuse old ones.
1070 2008-02-25 Alexander Larsson <alexl@redhat.com>
1073 Implement trashing and filesystem::readonly for win32 (#517235)
1074 Patch from Yevgen Muntyan
1076 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1078 * gfileinfo.h: Documentation fixes.
1080 2008-02-22 Alexander Larsson <alexl@redhat.com>
1082 * gcontenttype.c (g_content_type_get_icon):
1083 Look at old-style gnome mime icon names too, as many
1084 have not moved to the new style.
1086 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1088 * *.c: Correct the @include in for section docs.
1090 2008-02-21 David Zeuthen <davidz@redhat.com>
1092 * glocalfileinfo.c: (_g_local_file_info_get):
1094 (g_content_type_get_icon): Implement this function by
1095 moving bits from glocalfileinfo.c
1096 (g_content_type_get_description): Unalias before getting
1097 description (#517687)
1099 * gfile.c: (g_file_class_init),
1100 (g_file_query_filesystem_info_async),
1101 (g_file_query_filesystem_info_finish),
1102 (query_filesystem_info_data_free),
1103 (query_filesystem_info_async_thread),
1104 (g_file_real_query_filesystem_info_async),
1105 (g_file_real_query_filesystem_info_finish):
1106 * gfile.h: Implement async version of
1107 g_file_query_filesystem_info()
1109 * gfileinfo.h: Add new attributes for filesystem::use-preview
1111 * gio.symbols: Update
1113 * gthemedicon.c: (g_themed_icon_append_name):
1114 * gthemedicon.h: Add new new convenience function.
1116 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1117 (get_mounts), (get_volumes), (get_connected_drives),
1118 (get_volume_for_uuid), (get_mount_for_uuid),
1119 (g_union_volume_monitor_init), (populate_union_monitor),
1120 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1121 (g_volume_monitor_adopt_orphan_mount):
1123 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1124 monitor implementations to call into the main volume monitor. Also
1125 separate object initialization and volume monitor initialization
1126 such that non-native volume monitors can properly adopt their
1129 2008-02-21 Alexander Larsson <alexl@redhat.com>
1134 2008-02-21 Alexander Larsson <alexl@redhat.com>
1137 Add more documentation about how GFiles work (from #517086)
1139 2008-02-21 Alexander Larsson <alexl@redhat.com>
1143 Add new g_file_has_prefix that does the same as g_file_contains_file.
1144 Deprecate g_file_contains_file and add a macro that converts
1145 it to g_file_has_prefix.
1146 The reason for this change is that the contains_file() name seems to
1147 imply that this does more work than what it does, but its really only
1148 a name match (from #517086)
1153 Update to match the above change.
1155 2008-02-20 Benjamin Otte <otte@gnome.org>
1157 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1158 (g_file_eject_mountable):
1159 even more cases of not returning in error path
1161 2008-02-20 Benjamin Otte <otte@gnome.org>
1163 * gfile.c: (g_file_mount_mountable):
1164 return from function in error path.
1166 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1169 Remove trailing coma in GMountMountFlags struct
1171 2008-02-18 Alexander Larsson <alexl@redhat.com>
1175 * glocalfileoutputstream.c:
1176 Use g_unlink/g_rename instead of unlink/rename;
1177 do not pass raw filenames to g_set_error. (#517239)
1178 Patch from Yevgen Muntyan.
1180 2008-02-18 Alexander Larsson <alexl@redhat.com>
1183 * glocalfileoutputstream.c:
1184 Open files with O_BINARY on windows. (#517140)
1186 2008-02-14 Alexander Larsson <alexl@redhat.com>
1188 * glocalfileoutputstream.c:
1189 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1191 2008-02-14 Alexander Larsson <alexl@redhat.com>
1194 Copy permissions with file on copy (#514084)
1195 This is what cp does and makes sure e.g. the
1196 exec permissions are kept.
1197 Its kinda weird in that it keeps the permission bits
1198 the same while the uid and gid are different. However
1199 the new uid is the user so its not a security issue,
1200 and I've heard no complaints about cp on this issue.
1202 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1204 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1206 2008-02-13 Alexander Larsson <alexl@redhat.com>
1208 * inotify/inotify-path.c:
1209 Define IN_ONLYDIR if not in header (#515346)
1211 2008-02-12 Alexander Larsson <alexl@redhat.com>
1213 * tests/live-g-file.c:
1216 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1218 * === Released 2.15.5 ===
1220 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1222 * gio.symbols: Add g_mount_mount_flags_get_type.
1224 2008-02-11 Alexander Larsson <alexl@redhat.com>
1227 (g_file_info_set_attribute_mask):
1228 (g_file_attribute_matcher_matches_id):
1229 Correctly handle NULL GAttributeMatcher meaning
1230 matches nothing. (Fixes #513492)
1232 2008-02-11 Alexander Larsson <alexl@redhat.com>
1237 Added GMountMountFlags enum and added a flags
1238 argument to all mount calls.
1240 This is an API/ABI change for future extensibility,
1241 as I think we will need at least an
1242 inhibit-autorun flag (the panel needs this).
1243 There are no flags defined yet though.
1245 2008-02-11 Alexander Larsson <alexl@redhat.com>
1248 Added new standard::description attribute.
1249 Requested by Vincent, and useful for both
1252 2008-02-11 Alexander Larsson <alexl@redhat.com>
1254 * gdesktopappinfo.c:
1257 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1259 * *.c: Documentation additions
1261 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1263 * gappinfo.h: Formatting cleanup
1264 * gappinfo.c: Fix up docs.
1266 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1268 * gunixmounts.c: Consistently use getmntent_r() and fall
1269 back to getmntent(). (#515492)
1271 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1273 * gbufferedinputstream.c:
1275 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1277 * tests/data-input-stream.c:
1278 * tests/data-output-stream.c: Portability fixes.
1280 2008-02-08 Alexander Larsson <alexl@redhat.com>
1285 Add g_volume_should_automount.
1288 2008-02-07 Tor Lillqvist <tml@novell.com>
1290 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1291 Win32, too Unix-specific.
1293 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1295 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1296 a local plt if the compiler doesn't support what we want. Bug #514702
1298 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1300 reviewed by: <delete if not using a buddy>
1303 * gunixinputstream.c:
1304 * gunixoutputstream.c:
1306 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1308 * tests/Makefile.am:
1309 * tests/live-g-file.c:
1310 * tests/live-g-file.txt:
1311 New GIO testing module working over real data
1313 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1315 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1316 Fallback to rename() if link() is not available
1317 (when no support on target filesystem)
1319 2008-02-06 Michael Natterer <mitch@imendio.com>
1321 * gfileinfo.c (g_file_info_get_icon): replace
1322 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1324 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1326 * gfile.c (g_file_create):
1327 Documentation update of error codes
1329 2008-02-06 Alexander Larsson <alexl@redhat.com>
1331 * gdesktopappinfo.c:
1332 Update to use both mimeapps.list and
1333 defaults.list as discussed on xdg list.
1335 2008-02-06 Benjamin Otte <otte@gnome.org>
1338 * gfilenamecompleter.c:
1339 Fix some typos in the documentation.
1341 2008-02-06 Alexander Larsson <alexl@redhat.com>
1343 * glocalfile.c (g_local_file_trash):
1344 Don't succeed with trash if newly created
1345 trash dir has the wrong owner. (#514696)
1347 2008-02-05 Alexander Larsson <alexl@redhat.com>
1349 * glocalfile.c (g_local_file_move):
1350 Don't spew warnings when destination is not
1353 2008-02-03 Hans Breuer <hans@breuer.org>
1355 * makefile.msc : update
1357 2008-02-01 Michael Natterer <mitch@imendio.com>
1359 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1360 return value of xdg_mime_list_mime_parents() to a variable of the
1363 2008-02-01 Alexander Larsson <alexl@redhat.com>
1365 * gappinfo.c (g_app_info_launch_uris):
1366 Actually call the launch_uris method, not
1369 2008-02-01 Alexander Larsson <alexl@redhat.com>
1371 * gdesktopappinfo.c (g_desktop_app_info_equal):
1372 Ensure appinfos with no id but same pointer value
1375 2008-02-01 Alexander Larsson <alexl@redhat.com>
1377 * gappinfo.c (g_app_info_launch_default_for_uri):
1380 2008-02-01 Alexander Larsson <alexl@redhat.com>
1384 Add g_app_info_launch_default_for_uri utility
1387 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1389 * gdesktopappinfo.c:
1390 Doc fix for g_app_info_get_default_for_uri_scheme ()
1393 2008-01-30 Alexander Larsson <alexl@redhat.com>
1396 Add doc comment about uris vs GFiles to
1399 * gdesktopappinfo.c:
1400 Ensure uris passed to g_app_info_launch_uris()
1401 are not roundtriped through GFile (as that
1402 may be slightly destructive for e.g. mailto: links)
1404 2008-01-30 Alexander Larsson <alexl@redhat.com>
1406 * tests/data-input-stream.c:
1407 * tests/data-output-stream.c:
1408 C89 fixes from Jens Granseuer (#512849)
1410 2008-01-30 Alexander Larsson <alexl@redhat.com>
1413 Fix gamin/fam difference build issue. (#509419)
1415 2008-01-29 Alexander Larsson <alexl@redhat.com>
1418 * gdesktopappinfo.c:
1419 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1421 2008-01-29 Alexander Larsson <alexl@redhat.com>
1423 * gdesktopappinfo.c:
1424 * gdesktopappinfo.h:
1425 giomodule-priv.h include moved to .c file.
1427 2008-01-29 Alexander Larsson <alexl@redhat.com>
1429 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1430 Remove unused prio/name fields.
1432 2008-01-29 Alexander Larsson <alexl@redhat.com>
1434 * gcontenttype.c (looks_like_text):
1435 Don't treat whitespace as control chars.
1437 2008-01-29 Alexander Larsson <alexl@redhat.com>
1439 * gdesktopappinfo.c:
1440 Lazily create the desktop files for appinfos created
1441 by g_app_info_create_from_commandline() when needed
1442 for mime associations. This allows run-time use
1443 of GAppInfo object without creating unnecessary
1446 2008-01-29 Alexander Larsson <alexl@redhat.com>
1449 Added new symbols to gio.symbols
1451 2008-01-29 Alexander Larsson <alexl@redhat.com>
1454 Add g_file_query_default_handler utility to easily look up
1455 the GAppInfo that handles a file.
1457 * gdesktopappinfo.[ch]:
1459 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1462 Remove unused function
1464 2008-01-29 Alexander Larsson <alexl@redhat.com>
1466 * gfileenumerator.c:
1467 Mention need to free returned value in
1468 g_file_enumerator_next_files_finish docs.
1469 Fix leak if g_file_enumerator_next_files_finish()
1472 2008-01-29 Alexander Larsson <alexl@redhat.com>
1475 (_g_unix_content_type_get_parents):
1476 Use list_parents, not get_parents from xdgmime, because
1477 the later doesn't use the cache.
1479 * xdgmime/xdgmimecache.c:
1480 (_xdg_mime_cache_list_mime_parents):
1481 Don't list the same type as parent multiple times.
1483 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1485 * === Released 2.15.4 ===
1487 2008-01-28 Alexander Larsson <alexl@redhat.com>
1490 Register local vfs with prio 0.
1493 Remove old name and prio class members
1495 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1497 * tests/g-file.c: Disable some tests that are failing in
1498 the absence of a http backend.
1500 2008-01-28 Alexander Larsson <alexl@redhat.com>
1504 Add registration hooks for extension points.
1505 Register the gio extension points.
1507 * fam/gfamdirectorymonitor.c:
1508 * fam/gfamfilemonitor.c:
1509 * glocaldirectorymonitor.[ch]:
1510 * glocalfilemonitor.[ch]:
1511 * gnativevolumemonitor.h:
1512 * gunionvolumemonitor.c:
1513 * gunixvolumemonitor.c:
1516 * inotify/ginotifydirectorymonitor.c:
1517 * inotify/ginotifyfilemonitor.c:
1518 Use the extension points registration instead
1519 of g_type_children().
1521 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1524 * gvolume.[hc]: Document new API.
1526 * gfile.c (g_file_copy_async): Fix docs
1528 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1530 * gbufferedinputstream.c:
1532 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1535 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1537 * glocalfile.c: Avoid trivial differences in translatable strings.
1539 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1541 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1542 build with gcc 3.4 (#509419)
1544 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1546 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1547 (#509994, Murray Cumming)
1549 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1551 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1552 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1553 this allows big jobs to be executed in chunks, instead of blocking
1554 the main loop for a long time.
1556 * gsimpleasyncresult.c:
1557 * giofile.c: Adapt callers.
1559 2008-01-25 Alexander Larsson <alexl@redhat.com>
1561 * gdesktopappinfo.c:
1562 Implement changes discussed on xdg list.
1563 Now we can add supported mimetypes by just using defaults.list
1564 We can also remove associations in defaults.list.
1566 2008-01-25 Alexander Larsson <alexl@redhat.com>
1568 * gdesktopappinfo.c:
1569 Don't make local copy of desktop file
1570 for mimetype changes if the file already
1571 supports the new mimetype.
1573 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1577 * gbufferedinputstream.c:
1578 * glocalfile.c: String improvements. (#511966,
1579 Theppitak Karoonboonyanan)
1581 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1583 * gioscheduler.h: Expand docs a bit.
1585 2008-01-24 Alexander Larsson <alexl@redhat.com>
1588 Add g_drive_get_identifier and
1589 g_drive_enumerate_identifiers
1592 Add g_volume_get_identifier and
1593 g_volume_enumerate_identifiers
1599 Implement identifiers for unix backend
1601 2008-01-24 Alexander Larsson <alexl@redhat.com>
1606 Add g_file_copy_async() (#511580)
1607 Based on patch from Carlos Garcia Campos
1609 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1611 * gioscheduler.c: Some documentation additions.
1613 2008-01-22 Alexander Larsson <alexl@redhat.com>
1615 * gdesktopappinfo.c:
1616 (g_desktop_app_info_new):
1617 Don't leak basename.
1619 2008-01-22 Alexander Larsson <alexl@redhat.com>
1621 * gdesktopappinfo.c:
1622 (g_desktop_app_info_new_from_filename):
1625 2008-01-22 Alexander Larsson <alexl@redhat.com>
1627 * glocalfileinfo.c (get_thumbnail_attributes):
1630 2008-01-22 Alexander Larsson <alexl@redhat.com>
1633 (canonicalize_filename):
1634 Canonicalize paths that start with more than
1638 (compare_two_files):
1639 (test_g_file_new_for_path):
1642 2008-01-22 Alexander Larsson <alexl@redhat.com>
1645 Allow UTF-8 in file:// parse names.
1647 * tests/Makefile.am:
1648 * tests/data-input-stream.c:
1649 * tests/data-output-stream.c:
1650 * tests/g-file-info.c:
1652 Added a bunch of tests from Tomas Bzatek
1654 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1656 * === Released 2.15.3 ===
1658 2008-01-21 Alexander Larsson <alexl@redhat.com>
1660 * gfileinputstream.[ch]:
1661 * gfileoutputstream.[ch]:
1663 Remove duplicated GSeekable functions. (#509990)
1664 Just use the g_seekable_xxx() calls instead.
1666 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1669 * gvolumemanager.c: Whitespace cleanups.
1671 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1672 Use the right mode when creating the file.
1674 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1676 * gfileenumerator.c:
1677 * gfileinputstream.c:
1679 * goutputstream.c: Documentation: Fixed minor typos
1680 and added more mentions of specific _finish() functions.
1682 2008-01-21 Alexander Larsson <alexl@redhat.com>
1684 * inotify/Makefile.am:
1685 * inotify/inotify-helper.c:
1686 * inotify/inotify-kernel.c:
1687 * inotify/inotify-path.c:
1688 * inotify/local_inotify.h: Removed.
1689 * inotify/local_inotify_syscalls.h: Removed.
1690 Removed the included copies of the inotify
1691 headers. We now only use the <sys/inotify.h>
1692 header which exists on modern systems.
1693 This fixes problems on ARM and SH5 (#510448)
1694 but is also generally much cleaner and future
1695 safe. For instance, if other OSes add support
1696 for inotify it should "just work".
1698 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1700 * inotify/*.c: Coding style fixes.
1701 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1702 for the 1/4 Hz timer.
1704 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1707 * gfilemonitor.[hc]:
1708 * gmemoryinputstream.c:
1709 * gmemoryoutputstream.c:
1710 * gmountoperation.c:
1711 * gthemedicon.c: Documentation updates
1713 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1715 * gfile.c: documentation: Fixed more minor
1718 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1720 * gmount.c: (g_mount_remount): documentation:
1721 Mention g_mount_remount_finish() instead of
1722 g_mount_unmount_finish().
1724 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1728 * gfile.c: Fixed some minor typos in the
1731 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1733 * gio/gvolumemonitor.c:
1734 (g_volume_monitor_get_connected_drives):
1735 (g_volume_monitor_get_volumes):
1736 (g_volume_monitor_get_mounts): Documentation:
1737 Clarify the ownership of the regurn GLists.
1739 2008-01-17 Alexander Larsson <alexl@redhat.com>
1742 Add the async find_enclosing_mount version
1743 to the header file too.
1745 2008-01-17 Alexander Larsson <alexl@redhat.com>
1748 Add async version of find_enclosing_mount
1749 with default implementation.
1751 2008-01-17 Alexander Larsson <alexl@redhat.com>
1756 Allow calls to implementation of copy and write
1757 even if the type of the file implementations is
1758 different. This can be used to implement native
1759 upload and download calls in a vfs.
1762 (g_local_file_move):
1763 Protect against the case where move is called
1764 with one file not being local.
1766 Make sure we call the progress callback once
1767 in the native move operation so that the caller
1768 knows how many bytes were copied.
1770 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1773 * gdatainputstream.c:
1775 * gfileoutputstream.c:
1780 * gunixmounts.c: Corrected some typos in the documentation:
1781 occured -> occurred.
1782 its -> it's (where appropriate).
1784 2008-01-16 Alexander Larsson <alexl@redhat.com>
1788 Add g_file_query_exists (#508771)
1790 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1795 * gvolume.c: For async functions that have no non-async
1796 version, document that the GAsyncReadyCallback may be NULL.
1799 2008-01-15 Alexander Larsson <alexl@redhat.com>
1801 * gmemoryinputstream.c:
1802 * gmemoryoutputstream.c:
1803 Don't do pointer arithmetic on void * (#508602)
1804 Patch from Kazuki IWAMOTO
1806 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1808 * === Released 2.15.2 ===
1810 2008-01-14 Alexander Larsson <alexl@redhat.com>
1812 * gfile.c (g_file_monitor_file):
1813 Don't set error here, since we fallback to polling monitor.
1815 2008-01-14 Alexander Larsson <alexl@redhat.com>
1818 (g_file_monitor_directory):
1819 (g_file_monitor_file):
1820 Add GError to file monitor calls
1822 * glocaldirectorymonitor.c:
1823 * glocaldirectorymonitor.h:
1825 * glocalfilemonitor.c:
1826 * glocalfilemonitor.h:
1828 Update for above change
1830 2008-01-14 Alexander Larsson <alexl@redhat.com>
1834 Handle root correctly in g_file_get_relative_path (#508719)
1836 2008-01-14 Alexander Larsson <alexl@redhat.com>
1839 Clean up docs and example for GAsyncResult (#508074)
1841 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1843 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1844 and correct some spelling mistakes. Bug #508108.
1846 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1848 * glocalfileinfo.c: Add a comment.
1850 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1852 * gfileinfo.c: GFileInfo description: Mention
1853 how to actually set attributes in a GFile and how to discover
1854 which attributes are settable. Bug #508378.
1856 2008-01-10 A. Walton <awalton@svn.gnome.org>
1858 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1859 (g_app_info_get_default_for_type):
1860 Check for NULL content types.
1862 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1864 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1866 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1868 * gfile.c: *_async() functions: Several small corrections
1869 to the documentation, mostly correcting copy/paste errors
1870 and improving some sentences.
1872 2008-01-09 Dan Winship <danw@gnome.org>
1874 * glocalfile.c (get_unique_filename): x86_64 fix
1876 2008-01-09 Alexander Larsson <alexl@redhat.com>
1881 Add g_unix_mount_guess_should_display and use
1882 for unix volume monitor backend.
1883 This means we more or less show what the
1884 gnome-vfs backend did.
1885 Based on patch from Padraig O'Briain
1887 2008-01-09 Alexander Larsson <alexl@redhat.com>
1891 Add g_themed_icon_new_with_default_fallbacks
1894 Use default fallbacks for icons
1896 2008-01-09 Alexander Larsson <alexl@redhat.com>
1899 * gmountoperation.[ch]:
1900 Change the API a bit so that unhandled methods
1901 get reported via the reply, rather than by
1902 the signal emission return value. This is because
1903 some handlers can't know this immediately without
1904 doing I/O, and this is an async operation that
1907 2008-01-09 Alexander Larsson <alexl@redhat.com>
1910 * fam/gfamdirectorymonitor.c:
1911 * fam/gfamfilemonitor.c:
1912 Fix double free crash (#508224)
1913 Patch from Joe Marcus Clarke
1915 008-01-07 Matthias Clasen <mclasen@redhat.com>
1917 * === Released 2.15.1 ===
1919 2008-01-07 Alexander Larsson <alexl@redhat.com>
1921 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1922 Fix warning (#507835)
1924 2008-01-07 Alexander Larsson <alexl@redhat.com>
1927 Pass --internal to glib-genmarshal
1930 * gmountoperation.c:
1932 Use better types for signal arguments (#507822)
1934 2008-01-07 Alexander Larsson <alexl@redhat.com>
1937 Build test subdir after .
1938 Remove gdirectorymonitor.[ch]
1940 * gdirectorymonitor.[ch]:
1944 Remove GDirectoryMonitor and make
1945 GFileMonitor the baseclass for both file and
1946 directory monitors. Lift the more generic
1947 rate limiting code from GDirectoryMonitor
1951 * fam/gfamdirectorymonitor.[ch]:
1952 * inotify/ginotifydirectorymonitor.[ch]:
1953 * inotify/inotify-helper.c:
1954 * glocaldirectorymonitor.[ch]:
1957 Update for the removed GDirectoryMonitor.
1959 * gmemoryoutputstream.c:
1960 Remove ununsed variable
1962 2008-01-07 Alexander Larsson <alexl@redhat.com>
1964 * gmemoryinputstream.c:
1965 Translate error strings
1968 * gmemoryoutputstream.[ch]:
1969 New implementation that avoids using GByteArray
1970 in implementation and API. (#506377)
1972 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1974 * tests/*: Add a test for memory input streams.
1976 * Makefile.am: Add tests to SUBDIRS.
1978 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1980 * glocalfilemonitor.c:
1981 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1984 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1986 * gdesktopappinfo.c: Fix a docs typo.
1988 * gfileattribute.c: Add information about extended attributes
1989 to the documentation. (#505058)
1991 2008-01-04 Alexander Larsson <alexl@redhat.com>
1994 * gmountoperation.c:
1995 Use the right type (uint) for the ask_password signal.
1997 2008-01-04 Alexander Larsson <alexl@redhat.com>
2002 Add g_app_info_supports_files()
2003 Remove desktop arg from g_app_info_should_show().
2005 * gdesktopappinfo.[ch]:
2006 Implement g_app_info_supports_files() and new should_show()
2007 Add g_desktop_app_info_set_desktop_env() to set the desktop
2008 for should_show(). (This will be set by gtk+ later)
2010 2008-01-04 Alexander Larsson <alexl@redhat.com>
2013 * gmemoryinputstream.[ch]:
2014 Improve API so that you can use multiple chunks
2015 of memory and custom destroy functions. (#506374)
2017 2008-01-03 Alexander Larsson <alexl@redhat.com>
2020 Handle NULL attribute matchers safely, as we return this
2021 for empty attribute matcher strings.
2023 2008-01-03 Alexander Larsson <alexl@redhat.com>
2025 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2026 Add /usr/local to list of internal mountpoints
2028 2008-01-03 Alexander Larsson <alexl@redhat.com>
2031 Check for HAVE_LCHOWN (#505887)
2033 2008-01-03 Alexander Larsson <alexl@redhat.com>
2037 Add define for selinux context attribute.
2038 Fix missing : -> :: namespace separator change
2039 Fix missing _ -> - name change for xattr-sys.
2042 2008-01-03 Alexander Larsson <alexl@redhat.com>
2045 Link to libglib and libgobject directly (#504879)
2046 Patch from Sebastien Bacher
2048 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2050 * gfile.c: Expanded the g_file_new_for_commandline_arg
2051 description a bit, based on the code and the docs of the
2052 other g_file_new_for_* functions.
2054 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2056 * gfilemonitor.h: Fixed typo in docs.
2058 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2060 Updates to GIO documentation. (#506395, Mikael Hermansson)
2062 * gcontenttype.c: Describe memory management for return value of
2063 g_content_types_get_registered(). Missing piece from #505815.
2064 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2065 GVolume, GDrive, GMounts, which hopefully gives the user less
2066 confusions when using this API. Following explainations from
2067 Alexander Larsson on gtk-devel-list.
2069 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2071 * gfileinfo.c: Expand the long description.
2073 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2076 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2077 fix builds with --disable-visibility. (#500273, Christian Persch)
2079 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2081 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2082 in the list of returned app infos.
2084 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2086 * gappinfo.c: Fix a cross-reference
2088 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2090 * gfileinputstream.c:
2091 * gfileoutputstream.c:
2095 * gdesktopappinfo.c:
2097 * gfileinfo.c: Documentation updates.
2099 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2101 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2104 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2106 * gcontenttype.c (g_content_types_get_registered): Don't return
2107 freed memory (#505815, Mikael Hermansson)
2109 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2111 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2112 used to detect statbuf->st_blocks. (#505042)
2114 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2116 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2117 environment handling. (#504829, Cosimo Cecchi)
2119 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2121 * gappinfo.c: Doc improvements
2123 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2126 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2128 * === Released 2.15.0 ===
2130 2007-12-20 Hans Breuer <hans@breuer.org>
2132 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2133 with symbols gwin32appinfo.obj, added gmount.obj
2134 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2136 2007-12-20 Alexander Larsson <alexl@redhat.com>
2142 * gfilenamecompleter.c:
2145 * gpollfilemonitor.c:
2146 File attribute renames:
2148 fs:: -> filesystem::
2149 id::fs -> id::filesystem
2151 2007-12-20 Alexander Larsson <alexl@redhat.com>
2160 Add GMountUnmountFlags to all unmount and
2162 Add g_mount_remount() call.
2164 2007-12-20 Alexander Larsson <alexl@redhat.com>
2166 * gvfs.c (get_default_vfs):
2167 Fix unused variable warning
2169 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2171 * pltcheck.sh: Update
2173 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2175 * gunionvolumemonitor.c:
2176 * gunixmount.c: Remove C99 comments
2178 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2180 * gio.symbols: Add some missing symbols
2182 2007-12-19 Alexander Larsson <alexl@redhat.com>
2185 Make g_io_modules_load_all_in_directory not unuse
2186 loaded modules so that users of it can do stuff
2188 Init internal "module" types.
2189 Initialize static prio and name for types so that
2190 we don't have to load modules to get it.
2192 * gnativevolumemonitor.h:
2194 Move is_supported to parent class so that
2195 non-native monitors can avoid being initialized
2196 too. (For instance GDaemonVolumeMonitor if we're
2197 not using GDaemonVfs.)
2199 * glocaldirectorymonitor.[ch]:
2200 * glocalfilemonitor.[ch]:
2201 * gunionvolumemonitor.c:
2202 * gunixvolumemonitor.c:
2204 Find plugins using the static prio+name to
2205 avoid unnecessarily loading the modules.
2207 2007-12-19 Alexander Larsson <alexl@redhat.com>
2212 2007-12-19 Alexander Larsson <alexl@redhat.com>
2214 * gunionvolumemonitor.c:
2215 Store the native type as GType, not class so that
2216 we can unload it. But still avoid unnecessarily
2219 2007-12-19 David Zeuthen <davidz@redhat.com>
2221 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2222 add signals 'disconnected' and 'eject-button' on GDrive. Add
2223 signal 'removed' on GVolume and 'unmounted' on GMount.
2225 * gdrive.c: (g_drive_base_init):
2227 * gfile.c: (g_file_mount_mountable),
2228 (g_file_mount_enclosing_volume):
2231 * gmount.c: (g_mount_base_init):
2233 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2234 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2235 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2239 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2241 * *.c: Fix up includes in the section docs.
2243 2007-12-17 Alexander Larsson <alexl@redhat.com>
2245 * gnativevolumemonitor.h:
2246 * gunionvolumemonitor.c:
2247 * gunixvolumemonitor.c:
2248 Add is_supported() to GNativeVolumeMonitorClass so
2249 that we can avoid having to create an object to see
2250 if the backend is supported at runtime.
2251 Also add name member and an env var to pick a specific
2252 volume monitor backend.
2256 Add cancellable to _g_mount_get_for_mount_path()
2258 * glocaldirectorymonitor.c:
2259 * glocalfilemonitor.c:
2260 Avoid loading and unloading modules while sorting.
2262 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2265 * gunixmounts.[hc]: Namespace waste reduction, move some
2266 g_get_unix_mount functions to the g_unix_mount namespace.
2269 * gunixvolumemonitor.c:
2271 * glocaldirectorymonitor.c: Update all callers.
2273 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2275 2007-12-17 Alexander Larsson <alexl@redhat.com>
2278 Add doc comments about what GFile operations are
2279 guaranteed to not block.
2281 2007-12-17 Alexander Larsson <alexl@redhat.com>
2284 Add missing #ifdef fixing OSX build.
2285 (#503334, patch from Richard Hult)
2287 2007-12-14 David Zeuthen <davidz@redhat.com>
2291 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2292 (g_mount_eject), (g_mount_eject_finish):
2294 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2295 (get_volume_for_uuid), (get_mount_for_uuid),
2296 (g_union_volume_monitor_class_init),
2297 (get_default_native_type_with_exclude), (get_default_native_type),
2298 (get_native_type), (update_native_type),
2299 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2300 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2301 (g_unix_mount_can_eject), (eject_unmount_cb),
2302 (eject_unmount_read_error), (eject_unmount_do),
2303 (g_unix_mount_unmount), (g_unix_mount_eject),
2304 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2305 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2306 (g_unix_mount_point_guess_can_eject):
2308 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2309 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2310 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2311 (g_unix_volume_mount), (g_unix_volume_eject),
2312 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2313 * gunixvolumemonitor.c: (get_volume_for_uuid),
2314 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2316 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2317 (g_volume_eject), (g_volume_eject_finish):
2319 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2320 (g_volume_monitor_get_mount_for_uuid):
2323 Provide eject() on both GMount and GVolume and utility functions
2324 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2325 ejected. Introduce the concept of UUID's and wire it into GVolume
2326 and GMount and provide API on GVolumeMonitor to find such
2327 instances. Also handle the case where an external
2328 GNativeVolumeMonitor fails to initialize. Lock around the
2329 _g_get_mount_for_mount_path() function such that volume monitor
2330 implementations won't have to do locking themselves.
2332 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2334 * gdesktopappinfo.c:
2340 * gvolume.h: Documentation updates
2342 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2345 * gfile.h: Doc updates
2347 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2350 * gdesktopappinfo.c: Use hash table iterators.
2352 2007-12-14 Alexander Larsson <alexl@redhat.com>
2355 * gfileattribute.[ch]:
2356 * gfileattribute-priv.h:
2357 Move GFileAttributeValue to a private header, as
2361 Make set_attribute take a type + a pointer instead
2362 of a GFileAttributeValue.
2365 Fix up for above changes.
2366 Add g_file_info_get_attribute_data to get
2367 all info in one call, g_file_info_get_attribute_status
2368 to get the status and g_file_info_get_attribute_as_string.
2372 * glocalfileinfo.[ch]:
2376 Make _guess_type static.
2378 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2381 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2382 made mkenums and friends use temporary files to avoid leaving
2383 empty generated files on failure (#503470).
2385 2007-12-14 Alexander Larsson <alexl@redhat.com>
2387 * gmountoperation.h:
2390 2007-12-14 Alexander Larsson <alexl@redhat.com>
2394 * gfileattribute.[ch]:
2397 * glocalfileoutputstream.c:
2398 * gmountoperation.[ch]:
2399 * goutputstream.[ch]:
2400 Clean up all flags enums to not have _FLAGS in them
2401 Make the names of some of the enums better.
2406 2007-12-14 Michael Natterer <mitch@imendio.com>
2408 * gio.symbols: fix g_io_scheduler symbol names.
2410 2007-12-14 Alexander Larsson <alexl@redhat.com>
2416 * gbufferedinputstream.h:
2417 * gbufferedoutputstream.h:
2420 * gdatainputstream.h:
2421 * gdataoutputstream.h:
2422 * gdesktopappinfo.h:
2423 * gdirectorymonitor.h:
2427 * gfileenumerator.h:
2430 * gfileinputstream.h:
2432 * gfilenamecompleter.h:
2433 * gfileoutputstream.h:
2434 * gfilterinputstream.h:
2435 * gfilteroutputstream.h:
2443 * gmemoryinputstream.h:
2444 * gmemoryoutputstream.h:
2446 * gmountoperation.h:
2449 * gsimpleasyncresult.h:
2451 * gunixinputstream.h:
2453 * gunixoutputstream.h:
2457 * inotify/Makefile.am:
2458 Only allow including <gio/gio.h> from apps
2460 2007-12-14 Alexander Larsson <alexl@redhat.com>
2462 * gioscheduler.[ch]:
2463 * gsimpleasyncresult.c:
2464 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2465 Split out the send_to_mainloop call into two versions instead
2466 of having the block argument.
2468 2007-12-13 Alexander Larsson <alexl@redhat.com>
2470 * gcancellable.[ch]:
2472 * gbufferedinputstream.c:
2473 * gfileenumerator.c:
2474 * gfileinputstream.c:
2475 * gfileoutputstream.c:
2479 g_push/pop_current_cancellable ->
2480 g_cancellable_push/pop_current
2482 2007-12-13 Alexander Larsson <alexl@redhat.com>
2486 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2488 2007-12-13 Alexander Larsson <alexl@redhat.com>
2490 * gmountoperation.h:
2491 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2493 2007-12-12 Alexander Larsson <alexl@redhat.com>
2496 Fix race condition when freeing proxy in
2497 g_io_job_send_to_mainloop().
2499 2007-12-12 Alexander Larsson <alexl@redhat.com>
2505 Make attribute namespace separator "::" instead of ":".
2506 Use - instead of _ as separator in attribute names.
2508 2007-12-12 Alexander Larsson <alexl@redhat.com>
2510 * gbufferedinputstream.h:
2511 * gbufferedoutputstream.h:
2512 * gdatainputstream.h:
2513 * gdataoutputstream.h:
2514 * gdirectorymonitor.h:
2515 * gfileenumerator.h:
2516 * gfileinputstream.h:
2518 * gfileoutputstream.h:
2519 * gfilterinputstream.h:
2520 * gfilteroutputstream.h:
2522 * glocalfileinputstream.h:
2523 * glocalfileoutputstream.h:
2524 * gmemoryinputstream.h:
2525 * gmemoryoutputstream.h:
2526 * gnativevolumemonitor.h:
2528 * gunixinputstream.h:
2529 * gunixoutputstream.h:
2532 s/parent/parent_instance/ in GObjects
2534 2007-12-12 Alexander Larsson <alexl@redhat.com>
2539 No need for padding for interfaces
2541 2007-12-12 Alexander Larsson <alexl@redhat.com>
2545 * gbufferedinputstream.c:
2546 * gbufferedoutputstream.c:
2549 * gdatainputstream.[ch]:
2550 * gdesktopappinfo.c:
2551 * gdirectorymonitor.c:
2553 * gfileattribute.[ch]:
2556 * gfileinputstream.h:
2557 * gfilemonitor.[ch]:
2558 * gfileoutputstream.[ch]:
2559 * gfilterinputstream.h:
2560 * gfilteroutputstream.h:
2563 * gloadableicon.[ch]:
2564 * gmemoryinputstream.c:
2565 * gmountoperation.c:
2567 Fix up a bunch of details in the docs.
2572 2007-12-11 David Zeuthen <davidz@redhat.com>
2574 Rework how volumes, drives and volume monitoring is
2575 done. Previosly the model was
2577 GDrive <1-1> GVolume
2579 where a GDrive instance represented a mount point and a GVolume
2580 instance represented a mounted file system. This patch changes it
2583 GDrive <1-N> GVolume <1-1> GMount
2585 where GMount now serves the purpose of the old GVolume and the new
2586 GVolume serves the purpose of the old GDrive. In addition the new
2587 GDrive interface is used to represent a collection of GVolume
2588 instances (typically partitions) and also contains utility to query
2589 the state of the physical drive the GDrive object represents (such
2590 as checking for media, polling the drive, ejecting the media etc.).
2592 Also implement mounting and unmounting in the Unix volume monitor
2593 backend. A subquent patch will introduce GDrive support for ejection
2597 * gdrive.c: (g_drive_is_media_check_automatic),
2598 (g_drive_is_media_removable), (g_drive_has_media),
2599 (g_drive_can_poll_for_media), (g_drive_eject),
2600 (g_drive_eject_finish), (g_drive_poll_for_media),
2601 (g_drive_poll_for_media_finish):
2603 * gfile.c: (g_file_find_enclosing_mount):
2606 * glocaldirectorymonitor.c:
2607 (g_local_directory_monitor_constructor), (mounts_changed):
2608 * glocalfile.c: (get_mount_info),
2609 (g_local_file_find_enclosing_mount),
2610 (g_local_file_file_iface_init):
2611 * gnativevolumemonitor.h:
2612 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2613 (get_connected_drives), (g_union_volume_monitor_class_init),
2614 (child_volume_added), (child_volume_removed),
2615 (child_volume_changed), (child_mount_added), (child_mount_removed),
2616 (child_mount_pre_unmount), (child_mount_changed),
2617 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2618 (g_union_volume_monitor_remove_monitor),
2619 (_g_mount_get_for_mount_path):
2620 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2621 (guess_system_internal), (_g_get_unix_mounts),
2622 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2623 (g_unix_mount_free), (g_unix_mount_compare),
2624 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2625 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2626 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2627 (type_to_icon), (g_unix_mount_guess_name),
2628 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2629 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2630 (_resolve_symlink), (_resolve_dev_root):
2632 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2633 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2634 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2635 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2636 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2637 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2638 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2639 (g_unix_volume_volume_iface_init):
2641 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2642 (get_mounts), (get_volumes), (get_connected_drives),
2643 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2644 (mountpoints_changed), (mounts_changed),
2645 (g_unix_volume_monitor_init),
2646 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2647 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2648 * gunixvolumemonitor.h:
2649 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2650 (g_volume_mount), (g_volume_mount_finish):
2652 * gvolumemonitor.c: (g_volume_monitor_class_init),
2653 (g_volume_monitor_get_connected_drives),
2654 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2657 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2659 * gmountoperation.h (GPasswordFlags): Close the gap
2661 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2663 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2665 * gdesktopappinfo.[hc]: Remove _-prefixes
2667 2007-12-10 Tor Lillqvist <tml@novell.com>
2669 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2672 2007-12-10 Alexander Larsson <alexl@redhat.com>
2674 * gfile.c (g_file_set_display_name):
2675 Don't hardcode '/' (#502727)
2677 2007-12-09 Hans Breuer <hans@breuer.org>
2679 * makefile.msc : follow lib naming convention
2680 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2681 for user and group name, tested with ../tests/gio-ls
2683 2007-12-09 A. Walton <awalton@svn.gnome.org>
2685 * gdesktopappinfo.c:
2691 * gfileenumerator.c:
2696 * gmemoryinputstream.c:
2697 * gmemoryoutputstream.c:
2699 * gsimpleasyncresult.c:
2700 More documentation cleanup and filling in missing information, bringing
2701 GIO to 99% symbol coverage.
2703 2007-12-08 Hans Breuer <hans@breuer.org>
2705 [gio compiles and links on win32, not sure how much already works]
2706 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2707 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2708 base on win32 API; prefer g_lstat() over lstat(); instead of
2709 localtime_r() use an all GLib implementation on win32;
2710 get_mount_info() still needs a win32 specifc implementation
2711 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2712 win32_get_file_user_info to get owner/group info without uid/gid
2713 * glocalfileinputstream.c : include <io.h> on win32
2714 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2715 definition, use g_win32_ftruncate() for G_OS_WIN32
2716 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2717 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2718 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2719 * makefile.msc : updated
2721 2007-12-07 Alexander Larsson <alexl@redhat.com>
2723 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2724 Avoid warning spew if error == NULL
2726 2007-12-07 Alexander Larsson <alexl@redhat.com>
2729 Update docs wrt etags
2731 2007-12-06 Alexander Larsson <alexl@redhat.com>
2734 Include sys/types.h for dev_t (#501919)
2736 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2740 Make abicheck and pltcheck pass.
2742 2007-12-05 Alexander Larsson <alexl@redhat.com>
2745 * giomodule-priv.h: Added.
2746 * glocaldirectorymonitor.c:
2747 * glocalfilemonitor.c:
2748 * gunionvolumemonitor.c:
2750 Actually add the declaration of _g_io_modules_ensure_loaded
2752 2007-12-05 Alexander Larsson <alexl@redhat.com>
2754 * gdatainputstream.c:
2759 * glocaldirectorymonitor.c:
2760 * glocalfilemonitor.c:
2761 * gunionvolumemonitor.c:
2763 Make g_io_modules_ensure_loaded a private function and
2764 don't pass in the dirname. This means we can do magic
2765 directory finding in the win32 version.
2766 Export the actual load-modules-in-directory code so that
2767 gvfs can reuse that.
2769 2007-12-05 Alexander Larsson <alexl@redhat.com>
2771 * gbufferedinputstream.c:
2772 * gbufferedoutputstream.c:
2775 * gfileenumerator.[ch]:
2776 * gfileinputstream.c:
2777 * gfileoutputstream.[ch]:
2778 * gfilterinputstream.c:
2779 * gfilteroutputstream.c:
2780 * ginputstream.[ch]:
2782 * glocalfileenumerator.c:
2783 * glocalfileinputstream.c:
2784 * glocalfileoutputstream.c:
2785 * gmemoryinputstream.c:
2786 * gmemoryoutputstream.c:
2787 * goutputstream.[ch]:
2790 * gunixinputstream.c:
2791 * gunixoutputstream.c:
2792 Rename all struct members named:
2793 read, write, close, truncate, or mount
2794 to foo_fn, as these are reserved names
2795 and could be defined as macros in libc.
2798 2007-12-04 Alexander Larsson <alexl@redhat.com>
2801 (g_output_stream_close):
2802 Only call flush if non-null.
2804 2007-11-30 Dan Winship <danw@gnome.org>
2806 * ginputstream.c (g_input_stream_set_pending): Make this take a
2807 GError and return a gboolean, and do the "outstanding operation"
2808 check (and the "stream is already closed" check) itself.
2809 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2811 * goutputstream.c (g_output_stream_set_pending)
2812 (g_output_stream_clear_pending): Likewise
2814 * gbufferedinputstream.c:
2815 * gfileinputstream.c:
2816 * gfileoutputstream.c: Update for that
2818 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2819 Like g_simple_async_report_error_in_idle, but takes a GError
2820 rather than building one.
2822 2007-11-30 Dan Winship <danw@gnome.org>
2824 * goutputstream.c: Don't cheat and unset the "pending" flag around
2825 inner calls. Instead, call the class method directly rather than
2826 the wrapper function that checks "pending"
2828 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2830 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2832 2007-12-03 Hans Breuer <hans@breuer.org>
2834 [start of port to win32/msvc]
2835 * gcancellable.c : HAVE_UNIST_H and _pipe()
2836 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2837 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2838 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2840 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2841 * glocalvfs.c : use HAVE_PWD_H
2842 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2843 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2844 * Makefile.am : added to EXTRA_DIST
2846 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2848 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2851 2007-12-03 Alexander Larsson <alexl@redhat.com>
2854 Handle OSX style xattrs API (#500506)
2856 2007-12-03 Alexander Larsson <alexl@redhat.com>
2860 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2862 2007-12-02 A. Walton <awalton@svn.gnome.org>
2866 Documentation accuracy fixes.
2868 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2870 * gioenumtypes.c.template: Fix typo.
2872 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2874 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2876 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2878 * gdirectorymonitor.c:
2879 * gfilemonitor.c: Add properties
2881 * gbufferedoutputstream.c: Don't mark buffer-size property
2884 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2886 * gbufferedoutputstream.c: Add auto-grow property.
2888 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2890 * *.c: Unify the capitalization of section headings.
2892 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2894 * gmountoperation.c: Add properties
2896 * gdatainputstream.c: Turn byte-order and newline-type into
2899 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2901 * gioenumtypes.[hc].template: Templates for enum registration
2903 * Makefile.am: Generate gioenumtypes.[hc]
2905 * gio.h: Include gioenumtypes.h
2907 * gfile.h: Add some explicit nicks.
2909 * gio.symbols: Add new symbols
2911 * pltcheck.sh: Adjust
2913 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2915 * *.c: Explain etags and link to the explanation
2917 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2919 * *.c: Explain I/O priority.
2921 * *.c: More coding style fixes.
2923 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2925 * gasyncresult.c: Add another paragraph to the intro,
2926 adjust coding style of example.
2928 2007-11-29 A. Walton <awalton@svn.gnome.org>
2931 Fixes unknown meaning in GAppLaunchContext docs.
2933 Clarify asynchronous ops.
2935 Fix entity tag docs.
2938 Provides missing gtk-doc section, fixes API docs slighly.
2939 * gsimpleasyncresult.c:
2940 Fill in missing info in docs.
2941 * gunixinputstream.c:
2942 * gunixoutputstream.c:
2943 Be more expressive in short description.
2945 Remove gtk-doc stubs for non-public API.
2947 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2949 * *.c: Coding style fixups
2951 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2953 * inotify/inotify-helper.c: Don't export the lock from libgio.
2955 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2958 * abicheck.sh: Fix copy-and-paste leftovers
2960 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2962 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2964 2007-11-28 Alexander Larsson <alexl@redhat.com>
2968 Removed unnecessary file
2970 * gdesktopappinfo.[ch]:
2973 * glocaldirectorymonitor.[ch]:
2975 * glocalfileenumerator.[ch]:
2976 * glocalfileinputstream.[ch]:
2977 * glocalfilemonitor.[ch]:
2978 * glocalfileoutputstream.[ch]:
2980 * gnativevolumemonitor.c:
2981 * gpollfilemonitor.[ch]:
2982 * gunionvolumemonitor.[ch]:
2985 * gunixvolumemonitor.[ch]:
2988 * inotify/ginotifydirectorymonitor.[ch]:
2989 * inotify/ginotifyfilemonitor.[ch]:
2990 * inotify/inotify-helper.c:
2991 Append _ to all internal functions
2995 Export symbols needed for modules
2997 2007-11-28 Alexander Larsson <alexl@redhat.com>
3000 * abicheck.sh: Added.
3001 * makegioalias.pl: Added.
3002 * pltcheck.sh: Added.
3003 * gio.symbols: Added.
3006 Initial work on adding symbol handling.
3009 Correct ifdef guard name
3012 * inotify/Makefile.am:
3013 * xdgmime/Makefile.am:
3014 Include toplevel Makefile.decl
3016 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3018 * gcontenttype.c: Move doc comments to the unix section.
3020 * *.[hc]: More trivial doc corrections.
3022 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3024 * gpollfilemonitor.c:
3028 * gdesktopappinfo.c:
3033 * gdatainputstream.c:
3034 * gdatainputstream.h:
3035 * gdataoutputstream.c:
3036 * gdataoutputstream.h:
3037 * gfileinfo.h: Doc cleanups
3039 2007-11-28 Andre Klapper <a9016009@gmx.de>
3041 * gdesktopappinfo.c: Fix a typo.
3043 2007-11-27 Andre Klapper <a9016009@gmx.de>
3045 * glocalfileoutputstream.c: Fix a typo.
3047 2007-11-27 Alexander Larsson <alexl@redhat.com>
3050 Don't include removed headers
3052 2007-11-27 Alexander Larsson <alexl@redhat.com>
3055 * gsocketinputstream.[ch]: Removed.
3056 * gsocketoutputstream.[ch]: Removed.
3057 * gunixinputstream.[ch]: Added.
3058 * gunixoutputstream.[ch]: Added.
3059 Renamed GSocket*Stream to GUnix*Stream and made
3060 it unix-only, since its not really only for sockets
3061 and it only works on unix (but is highly useful there).
3063 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3069 * gbufferedinputstream.c:
3070 * gbufferedinputstream.h:
3071 * gbufferedoutputstream.c:
3072 * gbufferedoutputstream.h:
3076 * gdatainputstream.c:
3077 * gdatainputstream.h:
3078 * gdataoutputstream.c:
3079 * gdataoutputstream.h:
3080 * gdirectorymonitor.c:
3081 * gdirectorymonitor.h:
3088 * gfileenumerator.c:
3089 * gfileenumerator.h:
3094 * gfileinputstream.c:
3095 * gfileinputstream.h:
3098 * gfilenamecompleter.c:
3099 * gfilenamecompleter.h:
3100 * gfileoutputstream.c:
3101 * gfileoutputstream.h:
3102 * gfilterinputstream.c:
3103 * gfilterinputstream.h:
3104 * gfilteroutputstream.c:
3105 * gfilteroutputstream.h:
3118 * glocalfileoutputstream.c:
3119 * gmemoryinputstream.c:
3120 * gmemoryinputstream.h:
3121 * gmemoryoutputstream.c:
3122 * gmemoryoutputstream.h:
3123 * gmountoperation.c:
3124 * gmountoperation.h:
3127 * gpollfilemonitor.c:
3130 * gsimpleasyncresult.c:
3131 * gsimpleasyncresult.h:
3132 * gsocketinputstream.c:
3133 * gsocketinputstream.h:
3134 * gsocketoutputstream.c:
3135 * gsocketoutputstream.h:
3142 * gunixvolumemonitor.c:
3151 Bumps documentation to 93% symbol coverage, touching most
3152 of the public files. Fixes broken function documentation prototypes.
3153 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3154 gtk-doc headers in private files.
3156 2007-11-27 Jürg Billeter <j@bitron.ch>
3158 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3159 (g_buffered_input_stream_read_byte):
3160 * gbufferedinputstream.h:
3161 New functions for efficient access to buffer and simple single byte
3164 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3165 (g_data_input_stream_read_until):
3166 * gdatainputstream.h:
3167 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3168 read_until with multiple stop chars.
3170 2007-11-27 Alexander Larsson <alexl@redhat.com>
3174 * inotify/Makefile.am:
3175 Use the user-specified giomoduledir
3177 2007-11-27 Alexander Larsson <alexl@redhat.com>
3181 Add catch-all gio.h header
3182 Don't install gdummyfile.h
3184 2007-11-26 Alexander Larsson <alexl@redhat.com>
3186 * Makefile.am (gioinclude_HEADERS):
3187 Remove trailing whitespace
3189 2007-11-26 Alexander Larsson <alexl@redhat.com>
3191 Merge gio-standalone into glib
3193 2007-11-25 Christian Kellner <gicmo@gnome.org>
3195 * gio/goutputstream.c:
3196 Fix small mistake in the docs.
3198 2007-11-21 Christian Persch <chpe@gnome.org>
3200 * gio/glocalfile.c: (g_local_file_trash):
3201 Convert filenames to UTF-8 for GError.
3202 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3203 as per xdg base dir spec.
3205 2007-11-21 Christian Persch <chpe@gnome.org>
3207 * gio/gdesktopappinfo.c:
3208 Use that g_key_file_to_data cannot fail.
3210 Use stock defines for the key file group and key names.
3213 2007-11-21 Alexander Larsson <alexl@redhat.com>
3216 (copy_stream_with_progress):
3217 Make sure we do a final progress callback with
3218 the full total size.
3220 2007-11-21 Alexander Larsson <alexl@redhat.com>
3223 Export g_file_copy_attributes
3224 Remove padding as its not needed for interfaces
3226 2007-11-20 Alexander Larsson <alexl@redhat.com>
3231 Add G_IO_ERROR_WOULD_MERGE for
3232 copy/move dir on dir with overwrite.
3234 2007-11-20 Alexander Larsson <alexl@redhat.com>
3237 * gio/glocalfileinfo.c:
3238 Add COPY_NAME (this is an optional
3239 non-modified utf8 version of the name) that
3242 2007-11-20 Alexander Larsson <alexl@redhat.com>
3244 * gio/glocalfileenumerator.c:
3245 Report errors as GIOError, not GFileError
3247 2007-11-16 Alexander Larsson <alexl@redhat.com>
3249 * gio/glocalfileoutputstream.c:
3250 * gio/gwin32appinfo.c:
3251 Fix typos in strings.
3252 Patch from Luca Ferretti <elle.uca@libero.it>
3254 2007-11-15 Alexander Larsson <alexl@redhat.com>
3257 Post release version bump
3259 === gio-standalone 0.1.2 ===
3261 2007-11-15 Alexander Larsson <alexl@redhat.com>
3263 * docs/reference/gio/Makefile.am:
3264 Fix up distcheck by removing weird
3270 2007-11-14 Alexander Larsson <alexl@redhat.com>
3272 * gio/gdesktopappinfo.c:
3273 * gio/glocaldirectorymonitor.c:
3275 * gio/glocalfileinfo.c:
3276 * gio/inotify/inotify-sub.c:
3277 * programs/gio-cat.c:
3278 * programs/gio-copy.c:
3279 * programs/gio-info.c:
3280 * programs/gio-ls.c:
3281 * programs/gio-monitor-dir.c:
3282 * programs/gio-monitor-file.c:
3283 * programs/gio-mount.c:
3284 * programs/gio-move.c:
3285 * programs/gio-rm.c:
3286 * programs/gio-save.c:
3287 * programs/gio-trash.c:
3288 Leak fixes from Kjartan Maraas
3290 2007-11-14 Alexander Larsson <alexl@redhat.com>
3292 * gio/fam/fam-helper.c:
3294 * gio/glocalfileinfo.c:
3298 * gio/inotify/inotify-diag.c:
3299 * gio/inotify/inotify-kernel.c:
3300 Various code cleanups from Kjartan Maraas
3302 2007-11-14 Alexander Larsson <alexl@redhat.com>
3304 * gio/gioscheduler.c:
3306 Set up threadpool so that we cache 2 unused
3307 idle threads for at 15 secs. This means we
3308 will reuse thread-local data (like dbus connections)
3311 2007-11-14 Alexander Larsson <alexl@redhat.com>
3313 * gio/fam/fam-helper.c:
3314 * gio/fam/gfamdirectorymonitor.c:
3315 * gio/fam/gfamfilemonitor.c:
3317 * gio/gcontenttype.c:
3318 * gio/gdatainputstream.c:
3319 * gio/gdataoutputstream.c:
3323 * gio/gfileattribute.h:
3324 * gio/gfileenumerator.c:
3326 * gio/ginputstream.c:
3329 * gio/glocalfileinfo.c:
3330 * gio/goutputstream.c:
3331 * gio/gpollfilemonitor.c:
3332 * gio/gsimpleasyncresult.c:
3333 * gio/gunixmounts.c:
3334 * gio/gunixmounts.h:
3335 * gio/inotify/ginotifydirectorymonitor.c:
3336 * gio/inotify/ginotifyfilemonitor.c:
3337 * gio/inotify/inotify-diag.c:
3338 * gio/inotify/inotify-kernel.c:
3339 * gio/inotify/inotify-path.c:
3341 * gio/test-streams.c:
3342 * programs/gio-info.c:
3343 * programs/gio-monitor-dir.c:
3344 * programs/gio-monitor-file.c:
3345 Various code cleanups from Kjartan Maraas
3347 2007-11-13 Alexander Larsson <alexl@redhat.com>
3350 Handle the uri-scheme calls for dummy files
3352 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3354 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3355 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3356 to avoid clash with the C++ keyword.
3358 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3360 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3361 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3363 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3365 * gio/glocaldirectorymonitor.c:
3366 * gio/glocalfilemonitor.c:
3367 * gio/gunionvolumemonitor.c:
3368 Don't use g_once_init_*() for initializations that could fail and
3369 could leave the initialization variable set to 0 but use GOnce.
3370 This prevents a deadlock on the second call when trying to create
3371 a monitor and no monitor type is available. Thanks to Sven Herzberg
3374 2007-11-11 Sven Herzberg <sven@imendio.com>
3376 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3377 #ifdef (make it work on MacOS X again)
3379 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3381 Fixes Changelog for last two commits (sorry guys).
3383 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3385 * gio/gbufferedinputstream.c:
3386 * gio/gdatainputstream.c:
3388 * gio/gfileoutputstream.c:
3389 * gio/gfilterinputstream.c:
3390 * gio/glocalfileinputstream.c:
3393 More consistency fixes in g*stream.c files.
3394 Significant clean of gfile's documentation, filling in of
3395 asynchronous operations documentation.
3397 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3399 * gio/gasyncresult.c:
3400 * gio/gbufferedinputstream.c:
3401 * gio/gbufferedoutputstream.c:
3402 * gio/gcancellable.c:
3403 * gio/gcontenttype.c:
3404 * gio/gdatainputstream.c:
3405 * gio/gdataoutputstream.c:
3406 * gio/gdesktopappinfo.c:
3409 * gio/gfileattribute.c:
3410 * gio/gio/gfileenumerator.c:
3412 * gio/gfileinputstream.c:
3413 * gio/gfilemonitor.c:
3414 * gio/gfileoutputstream.c:
3415 * gio/ginputstream.c:
3417 * gio/gioscheduler.c:
3418 * gio/gloadableicon.c:
3419 * gio/glocalfileoutputstream.c:
3420 * gio/gmemoryoutputstream.c:
3421 * gio/gmountoperation.c:
3422 * gio/goutputstream.c:
3424 * gio/gsimpleasyncresult.c:
3425 * gio/gunionvolumemonitor.c:
3426 * gio/gunixmounts.c:
3427 * gio/gunixvolume.c:
3431 * gio/gvolumemonitor.c:
3432 Updated documentation stubs, working towards consistency and
3435 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3437 * gio/gmemoryoutputstream.c:
3438 * gio/gmemoryoutputstream.h:
3439 Change g_memory_output_stream_set_free_on_close() to
3440 g_memory_output_stream_set_free_data() as this makes more sense and
3441 is more consistent with GMemoryInputStream.
3443 2007-11-07 Alexander Larsson <alexl@redhat.com>
3450 Change how we find the default vfs so that
3451 we can handle a gvfs failing to init
3453 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3455 * gio/gbufferedoutputstream.c:
3456 * gio/gdatainputstream.c:
3457 * gio/gdataoutputstream.c:
3458 * gio/gfileinputstream.c:
3459 * gio/gfileoutputstream.c:
3460 * gio/gfilterinputstream.c:
3461 * gio/gfilteroutputstream.c:
3462 * gio/ginputstream.c:
3463 * gio/gmemoryinputstream.c:
3464 * gio/gmemoryoutputstream.c:
3465 * gio/goutputstream.c:
3466 * gio/gsimpleasyncresult.c:
3467 * gio/gsocketinputstream.c:
3468 * gio/gsocketoutputstream.c:
3469 Add guards to the remaining public functions, add a TODO for
3470 an unimplemented function and remove some useless guards.
3472 2007-11-07 Alexander Larsson <alexl@redhat.com>
3475 Autoconf checks for the various types of
3476 getpwuid_r and getgrgid_r
3478 * gio/glocalfileinfo.c:
3479 Use the autoconf checks from above
3481 2007-11-07 Alexander Larsson <alexl@redhat.com>
3484 (g_local_file_query_filesystem_info):
3485 Some fixes for the statvfs case
3487 2007-11-07 Alexander Larsson <alexl@redhat.com>
3490 (g_local_file_query_filesystem_info):
3491 Pick the "best" of statfs / statvfs for the system
3492 if both are availible.
3494 2007-11-07 Alexander Larsson <alexl@redhat.com>
3496 Solaris fixes from Halton.Huo@Sun.COM:
3503 * gio/glocalfileinfo.c:
3504 Fix for solaris definition of getpwuid_r
3506 * gio/test-streams.c:
3507 Use G_GNUC_PRETTY_FUNCTION
3509 2007-11-07 Alexander Larsson <alexl@redhat.com>
3511 * gio/gdesktopappinfo.c:
3512 (update_default_list):
3513 Remove double semicolon.
3514 Patch from Jens Granseuer
3516 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3518 * docs/reference/gio/gio-sections.txt:
3519 * gio/gbufferedinputstream.c:
3520 * gio/gbufferedinputstream.h:
3521 * gio/gdatainputstream.c:
3522 * gio/gfileenumerator.c:
3523 * gio/gioscheduler.c:
3524 * gio/gunionvolumemonitor.c:
3526 * programs/gio-save.c:
3527 Fix typo: availible -> available. Unfortuntely this breaks API
3528 and ABI as g_buffered_input_stream_get_available() was renamed.
3530 * gio/gunixmounts.c:
3531 * gio/gbufferedinputstream.c:
3532 Add guards for public functions.
3534 2007-11-06 Ross Burton <ross@openedhand.com>
3536 * docs/reference/gio/Makefile.am:
3537 Fix invalid += usage which automake 1.10 doesn't like.
3539 2007-11-06 Alexander Larsson <alexl@redhat.com>
3542 (g_app_launch_context_class_init):
3545 Patch from Ross Burton
3547 2007-11-06 Alexander Larsson <alexl@redhat.com>
3550 Post release version bump
3552 === gio-standalone 0.1.1 ===
3554 2007-11-06 Alexander Larsson <alexl@redhat.com>
3557 Bump version to 0.1.1
3559 * gio/gsimpleasyncresult.c:
3560 (g_simple_async_result_set_from_error):
3561 Remove bogus g_return_if_fail
3563 2007-11-06 Alexander Larsson <alexl@redhat.com>
3566 The name is gio-standalone
3569 Add top src/builddir to includedir
3571 2007-11-06 Alexander Larsson <alexl@redhat.com>
3573 * docs/reference/gio/gio-sections.txt:
3575 * gio/gbufferedinputstream.c:
3576 * gio/gbufferedoutputstream.c:
3577 * gio/gcancellable.c:
3578 * gio/gdatainputstream.h:
3579 * gio/gdataoutputstream.c:
3580 * gio/gdataoutputstream.h:
3581 * gio/gdirectorymonitor.c:
3583 * gio/gfileattribute.c:
3584 * gio/gfileattribute.h:
3585 * gio/gfileenumerator.c:
3586 * gio/gfileenumerator.h:
3589 * gio/gfileinputstream.h:
3590 * gio/gfilemonitor.c:
3591 * gio/gfileoutputstream.h:
3592 * gio/glocalfilemonitor.h:
3593 * gio/glocalfileoutputstream.h:
3594 * gio/gmemoryinputstream.c:
3595 * gio/gmemoryoutputstream.c:
3596 * gio/gmountoperation.c:
3597 * gio/goutputstream.c:
3598 * gio/goutputstream.h:
3600 * gio/gsimpleasyncresult.c:
3601 * gio/gunixmounts.c:
3602 * gio/gunixmounts.h:
3604 * gio/inotify/inotify-helper.c:
3605 Fix gtk-doc warnings
3607 Patch from Ross Burton
3609 2007-11-06 Alexander Larsson <alexl@redhat.com>
3611 * gio/gfilenamecompleter.c:
3612 (g_filename_completer_get_completions):
3615 * gio/gunixvolume.c:
3616 Remove unused function
3618 Patches from Ross Burton
3620 2007-11-06 Alexander Larsson <alexl@redhat.com>
3625 Padding not needed for interfaces
3627 2007-11-06 Alexander Larsson <alexl@redhat.com>
3629 * gio/gfilemonitor.c:
3633 Make giotypes.h an internal file
3636 * gio/gbufferedinputstream.h:
3637 * gio/gbufferedoutputstream.h:
3638 * gio/gcancellable.h:
3639 * gio/gdatainputstream.h:
3640 * gio/gdataoutputstream.h:
3641 * gio/gdirectorymonitor.c:
3642 * gio/gdirectorymonitor.h:
3647 * gio/gfileattribute.h:
3648 * gio/gfileenumerator.h:
3653 * gio/gfilemonitor.c:
3654 * gio/gfilemonitor.h:
3655 * gio/gfilenamecompleter.c:
3656 * gio/gfilenamecompleter.h:
3657 * gio/gfilterinputstream.h:
3658 * gio/gfilteroutputstream.h:
3659 * gio/ginputstream.h:
3660 * gio/gmemoryinputstream.h:
3661 * gio/gmemoryoutputstream.h:
3662 * gio/gmountoperation.c:
3663 * gio/gmountoperation.h:
3664 * gio/gnativevolumemonitor.c:
3665 * gio/goutputstream.h:
3668 * gio/gsimpleasyncresult.c:
3669 * gio/gsimpleasyncresult.h:
3670 * gio/gsocketinputstream.h:
3671 * gio/gsocketoutputstream.h:
3672 * gio/gthemedicon.c:
3673 * gio/gthemedicon.h:
3677 * gio/gvolumemonitor.c:
3678 * gio/gvolumemonitor.h:
3679 Add padding in classes where it seems useful
3680 Don't include giotypes.h from public headers
3681 Move in Class definitions into c file where possible
3686 2007-11-06 Alexander Larsson <alexl@redhat.com>
3688 * docs/reference/gio/gio-docs.xml:
3689 Better structure for API docs
3691 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3694 * gio/gloadableicon.c:
3695 * gio/gsimpleasyncresult.c:
3696 * gio/gthemedicon.c:
3697 Add some more guards to public functions. Only files missing are now
3700 2007-11-06 Alexander Larsson <alexl@redhat.com>
3702 * docs/reference/gio/gio-docs.xml:
3703 Remove old files, add missing ones
3705 2007-11-06 Alexander Larsson <alexl@redhat.com>
3707 * docs/reference/gio/gio-sections.txt:
3710 Hide implementation classes
3712 * gio/gdriveprivate.h:
3713 * gio/gvolumeprivate.h:
3714 Remove non-existing function declarations
3716 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3719 Fix compilation warnings and add guards to the new functions.
3721 * gio/gasyncresult.c:
3723 Add guards to the public functions.
3726 Implement get_path().
3728 2007-11-06 Alexander Larsson <alexl@redhat.com>
3730 * gio/gfilenamecompleter.c:
3731 Make g_filename_completer_get_completions
3732 return char ** instead of GList for
3735 * docs/reference/gio/gio-docs.xml:
3736 * docs/reference/gio/gio-sections.txt:
3738 * gio/gasyncresult.c:
3739 * gio/gbufferedinputstream.c:
3740 * gio/gbufferedoutputstream.c:
3741 * gio/gcancellable.c:
3742 * gio/gcontenttype.c:
3743 * gio/gdatainputstream.c:
3744 * gio/gdataoutputstream.c:
3745 * gio/gdesktopappinfo.c:
3746 * gio/gdirectorymonitor.c:
3750 * gio/gfileattribute.c:
3751 * gio/gfileenumerator.c:
3754 * gio/gfileinputstream.c:
3755 * gio/gfilemonitor.c:
3756 * gio/gfilenamecompleter.c:
3757 * gio/gfilenamecompleter.h:
3758 * gio/gfileoutputstream.c:
3759 * gio/gfilterinputstream.c:
3761 * gio/ginputstream.c:
3763 * gio/gioscheduler.c:
3764 * gio/gloadableicon.c:
3765 * gio/glocaldirectorymonitor.c:
3767 * gio/glocalfileinputstream.c:
3768 * gio/glocalfilemonitor.c:
3769 * gio/glocalfileoutputstream.c:
3771 * gio/gmemoryinputstream.c:
3772 * gio/gmemoryoutputstream.c:
3773 * gio/gmountoperation.c:
3774 * gio/goutputstream.c:
3775 * gio/gpollfilemonitor.c:
3777 * gio/gsimpleasyncresult.c:
3778 * gio/gsocketinputstream.c:
3779 * gio/gsocketoutputstream.c:
3780 * gio/gthemedicon.c:
3781 * gio/gunionvolumemonitor.c:
3783 * gio/gunixmounts.c:
3784 * gio/gunixvolume.c:
3785 * gio/gunixvolumemonitor.c:
3789 * gio/gvolumemonitor.c:
3790 * gio/gwin32appinfo.c:
3791 Add (mostly stub) doc strings to public functions.
3792 Patch from Andrew Walton (awalton@gmail.com)
3794 2007-11-06 Alexander Larsson <alexl@redhat.com>
3796 * gio/gappinfo.[ch]:
3797 Added GAppLaunchContext object and pass that to launch.
3798 This allows simple implementation of both
3799 launch-on-screen and startup notification via a gtk+
3800 subclass of GAppLaunchContext
3802 * gio/gdesktopappinfo.c:
3803 Implement GAppLaunchContext API
3805 * gio/gwin32appinfo.c:
3808 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3810 * gio/gmountoperation.c:
3811 Add some guards to GMountOperation's public functions.
3813 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3817 * gio/gcancellable.c:
3818 * gio/gdirectorymonitor.c:
3820 * gio/gfileenumerator.c:
3821 * gio/gfilemonitor.c:,
3822 * gio/gfilenamecompleter.c:
3825 * gio/gioscheduler.c:
3829 * gio/gvolumemonitor.c:
3830 Add even more guards to various public functions.
3832 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3835 Add guards to the public functions of GAppInfo.
3837 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3839 * gio/gcontenttype.c:
3840 Add some more guards for public functions.
3842 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3844 * gio/fam/fam-module.c:
3845 * gio/fam/gfamdirectorymonitor.c:
3846 * gio/fam/gfamdirectorymonitor.h:
3847 * gio/fam/gfamfilemonitor.c:
3848 * gio/fam/gfamfilemonitor.h:
3849 * gio/inotify/ginotifydirectorymonitor.c:
3850 * gio/inotify/ginotifydirectorymonitor.h:
3851 * gio/inotify/ginotifyfilemonitor.c:
3852 * gio/inotify/ginotifyfilemonitor.h:
3853 Add proper copyright information and remove an unused variable
3854 in the GInotifyFileMonitor constructor.
3856 * gio/gcancellable.c:
3857 Add a guard for a public function and an assertion to prevent
3858 an undefined program state.
3860 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3862 * gio/gfileattribute.c:
3863 Don't run into an assertion if the given attribute value is NULL
3864 in g_file_attribute_value_get_*() but instead return a fallback
3865 value that makes sense in most situations. Passing them a attribute
3866 value with the wrong type will still run into an assertion.
3868 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3870 * gio/gfileattribute.c:
3872 Add even more guards to the public functions. Also fix the refcounting
3873 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3874 let g_file_info_list_attributes() filter the attributes by namespace
3875 instead of simply ignoring the namespace parameter.
3877 2007-11-03 Sven Herzberg <sven@imendio.com>
3879 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3880 (This makes gio work on MacOS X again)
3882 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3885 Build the gio subdirectory before the docs. Otherwise the build will
3888 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3889 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3890 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3891 Add guards to the public functions.
3893 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3895 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3896 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3897 to prevent a compiler warning.
3899 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3900 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3901 return something in the non-void function find_topdir_for().
3903 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3910 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3912 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3913 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3914 * gwin32appinfo.c (g_win32_app_info_launch):
3915 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3916 envp_for_startup_id, g_desktop_app_info_launch,
3917 g_desktop_app_info_launch_uris):
3919 Give an opaque 'startup_id' string instead of 'envp'.
3920 Support empty file lists for launching new windows.
3921 Fix infinite recursion bug when launching URIs.
3923 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3926 Add guard to the new g_file_get_uri_scheme() function.
3928 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3931 Convert a g_return_val_if_fail() to setting the GError instead as
3932 otherwise applications have to verify the parameter before otherwise
3933 and the parameter might come directly from the user.
3935 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3937 * gio/inotify/ginotify*.[ch]:
3938 Add missing copyright information.
3940 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3943 Add guards in the beginning of public functions to check for valid
3944 parameters and fix a bug in copy_stream_with_progress() that could've
3945 caused writing less bytes than reading.
3946 * gio/glocalfileinfo.c:
3947 Check for a NULL parameter and set the GError accordingly then.
3948 * gio/goutputstream.c:
3949 Fix the same bug as in gfile.c that could've caused writing less bytes
3950 than reading in g_output_stream_real_splice().
3952 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3955 Use the correct gvolumeprivate.h naming
3957 2007-11-01 Christian Kellner <gicmo@gnome.org>
3960 Remove leftover "$(daemon_sources)" entry.
3962 2007-11-01 Christian Kellner <gicmo@gnome.org>
3967 Add copyright information to source files.
3969 2007-11-01 Alexander Larsson <alexl@redhat.com>
3973 Add g_file_get_uri_scheme
3975 2007-11-01 Alexander Larsson <alexl@redhat.com>
3978 * gio/gdesktopappinfo.c:
3979 * gio/gwin32appinfo.c:
3980 Add g_app_info_get_default_for_uri_scheme.
3982 2007-11-01 Alexander Larsson <alexl@redhat.com>
3985 Correct filename for gdriveprivate.h
3987 2007-10-31 Alexander Larsson <alexl@redhat.com>
3990 Rename id:value to id:file
3993 * gio/glocalfileinfo.c:
3996 2007-10-31 Alexander Larsson <alexl@redhat.com>
3998 * gio/gunixvolume.c:
4000 Remove g_volume_get_platform_id, as thats not
4001 needed with the simpler union volume monitor
4003 2007-10-31 Alexander Larsson <alexl@redhat.com>
4006 * gio/guniondrive.[ch]: Removed.
4007 * gio/gunionvolume.[ch]: Removed.
4008 Remove GUnionDrive/Volume
4010 * gio/gunionvolumemonitor.c:
4011 Simplify union volume monitor, now we
4012 only have one native volume monitor and
4013 we use the actual volumes/drives from the
4014 child monitors instead of wrapping them
4016 * gio/gnativevolumemonitor.[ch]:
4017 Base class for native volume monitors.
4018 Includes priority and get_volume_for_mountpoint
4021 Add g_file_find_enclosing_volume
4024 Remove volume name fs attribute
4025 Add readonly fs attribute
4028 Implement readonly attribute
4029 remove volume name attribute
4030 Implement find_enclosing volume
4032 * gio/gunixmounts.c:
4033 Add a volume for "/".
4035 * gio/gunixvolume.[ch]:
4036 Set better name for /
4038 * gio/gunixvolumemonitor.[ch]:
4039 Derive from GNativeVolumeMonitor
4040 Implement get_volume_for_mountpoint
4043 GVolume typedef moved to gfile.h
4045 * gio/gvolumeprivate.h:
4046 Add g_volume_get_for_mount_path
4048 2007-10-31 Alexander Larsson <alexl@redhat.com>
4050 * gio/gunixmounts.[ch]:
4051 Add cache info to unix mount listers
4052 Make getmntent use threadsafe
4053 Add is_system_internal attribute for GUnixMount
4055 * gio/gunixvolume.c:
4056 (g_unix_volume_new):
4057 Use is_system_internal instead of own code
4059 * gio/glocaldirectorymonitor.c:
4060 * gio/gunixvolumemonitor.c:
4061 Update to new gunixmounts API
4066 2007-10-30 Alexander Larsson <alexl@redhat.com>
4069 Add volume name fsinfo attribute
4072 Read volume name info
4074 * gio/gunionvolumemonitor.c:
4075 Fix infinite loops when finalizing a union volume monitor
4077 2007-10-30 Alexander Larsson <alexl@redhat.com>
4079 * gio/goutputstream.[ch]:
4080 Add splice() with default implementation
4082 * gio/gsocketoutputstream.c:
4083 (g_socket_output_stream_write):
4084 Return error on cancellation correctly.
4086 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4088 * gio/glocalfile.c (g_local_file_trash):
4089 Do not leak a string.
4091 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4093 * gio/gfile.c (g_file_load_contents):
4094 Unref the stream after closing it.
4096 2007-10-25 Alexander Larsson <alexl@redhat.com>
4098 * gio/gioscheduler.h:
4101 2007-10-25 Alexander Larsson <alexl@redhat.com>
4105 Add g_file_has_uri_scheme and implement for local files
4107 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4109 * gio/gdesktopappinfo.c: do not leak a string.
4111 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4113 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4114 (g_local_directory_monitor_new):
4115 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4116 (g_local_file_monitor_new):
4117 Only look for the monitor type that should be used the first time
4118 and use g_qsort_with_data() instead of our own bubble sort
4121 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4124 * gio/fam/Makefile.am:
4125 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4126 * gio/fam/fam-helper.h:
4127 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4128 * gio/fam/gfamdirectorymonitor.c:
4129 * gio/fam/gfamdirectorymonitor.h:
4130 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4131 * gio/fam/gfamfilemonitor.h:
4132 * gio/glocaldirectorymonitor.c:
4133 * gio/glocaldirectorymonitor.h:
4134 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4135 * gio/glocalfilemonitor.h:
4136 * gio/inotify/Makefile.am:
4137 * gio/inotify/ginotifydirectorymonitor.c:
4138 * gio/inotify/ginotifydirectorymonitor.h:
4139 * gio/inotify/ginotifyfilemonitor.c:
4140 * gio/inotify/ginotifyfilemonitor.h:
4141 Implement the FAM and Inotify monitors as
4142 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4143 their own GIO module. GLocal(Directory|File)Monitor will use the
4144 monitor with the highest rank that is supported on that machine.
4146 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4149 Change GIO module dir to $(libdir)/gio/modules and change
4150 the log domain from GVFS to GIO. Also only export symbols starting
4151 with g_ in the resulting library.
4152 * gio/test-streams.c: (main):
4153 Set log handler for the GIO log domain.
4155 2007-10-22 Alexander Larsson <alexl@redhat.com>
4157 * gio/gfilenamecompleter.[ch]:
4158 Add g_filename_completer_set_dirs_only
4160 2007-10-22 Alexander Larsson <alexl@redhat.com>
4163 * gio/gurifuncs.[ch]:
4164 Add some simple URI helpers
4166 * gio/gfilenamecompleter.[ch]:
4167 Added object for filename (parse name actually) completion
4170 Handle ~ in parse names
4172 2007-10-17 Alexander Larsson <alexl@redhat.com>
4175 * gio/glocalfileinfo.c:
4176 Add and implement id:value attribute
4178 2007-10-17 Alexander Larsson <alexl@redhat.com>
4181 * gio/guniondrive.c:
4183 Add and implement g_drive_has_volumes
4185 2007-10-17 Alexander Larsson <alexl@redhat.com>
4188 * gio/glocalfileinfo.[ch]:
4189 Add unix:is_mountpoint and implement for local files
4191 2007-10-16 Alexander Larsson <alexl@redhat.com>
4193 * gio/gunionvolumemonitor.c:
4194 (g_union_volume_monitor_init):
4195 Fix up the unix type getting so that it works with gcc
4197 2007-10-12 Alexander Larsson <alexl@redhat.com>
4200 * gio/glocalfileinfo.c:
4201 Add thumbnail:failed to file info
4203 2007-10-12 Richard Hult <richard@imendio.com>
4205 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4206 optimizing away the get_type call (happens with some gcc versions,
4207 like the one shipped with OS X 10.4).
4209 2007-10-12 Alexander Larsson <alexl@redhat.com>
4211 * gio/glocalfileinfo.c:
4212 (_g_local_file_info_set_attribute):
4213 Fix build if not HAVE_XATTR
4214 Patch from Milosz Derezynski <internalerror@gmail.com>
4216 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4218 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4219 around for review, otherwise I would have asked you before
4222 2007-10-11 Alexander Larsson <alexl@redhat.com>
4225 Add thumbnail:path attribute
4227 * gio/glocalfileinfo.c:
4228 Implement thumbnail:path for local files
4230 2007-10-11 Alexander Larsson <alexl@redhat.com>
4232 * gio/glocalfileinfo.c:
4233 (_g_local_file_info_get):
4234 Avoid duplicate icon names
4236 2007-10-11 Alexander Larsson <alexl@redhat.com>
4238 * gio/gthemedicon.[ch]:
4239 Change g_themed_icon_get_names return type to const
4241 2007-10-10 Alexander Larsson <alexl@redhat.com>
4243 * gio/glocalfileinfo.c:
4244 Don't reference freed memory
4246 2007-10-10 Alexander Larsson <alexl@redhat.com>
4248 * gio/gfileattribute.c:
4251 * gio/glocalfileinfo.c:
4254 2007-10-10 Alexander Larsson <alexl@redhat.com>
4257 Check for NULL icons
4259 * gio/gfileattribute.c:
4260 Don't dup when getting objects (same as for string attributes)
4262 * gio/gicon.c (g_icon_equal):
4263 Safely handle NULLs in equal
4265 2007-10-10 Alexander Larsson <alexl@redhat.com>
4268 Fix c++ compilation issues
4269 Patch from Milosz Derezynski <internalerror@gmail.com>
4271 2007-10-10 Alexander Larsson <alexl@redhat.com>
4273 * programs/gio-monitor-dir.c:
4274 Don't crash if dir monitor not supported.
4276 2007-10-09 Alexander Larsson <alexl@redhat.com>
4279 Add missing G_END_DECLS
4281 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4283 * gio/gfile.c: (g_file_set_display_name),
4284 (g_file_query_settable_attributes),
4285 (g_file_query_writable_namespaces):
4286 Return NULL not FALSE on errors as the return type is a pointer.
4288 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4290 * gio/glocalfile.c: (g_local_file_monitor_file):
4291 Don't call monitor_file on the default interface vtable (which
4292 is NULL) but simply return NULL. The caller, GFile, will create a
4293 polling monitor if NULL is returned.
4295 2007-10-09 Alexander Larsson <alexl@redhat.com>
4299 * gio-unix-2.0.pc.in:
4300 Add gio-unix-2.0.pc if OS_UNIX
4303 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4305 2007-10-09 Alexander Larsson <alexl@redhat.com>
4307 * gio/gunixmounts.[ch]:
4308 Make unix mount monitoring API sane.
4309 Now its just a object with mounts_changed
4310 and mountpoints_changed signals.
4312 * gio/glocaldirectorymonitor.c:
4313 * gio/gunixvolumemonitor.c:
4314 Use new mount monitor api
4316 2007-10-09 Alexander Larsson <alexl@redhat.com>
4318 * gio/gunixmounts.[ch]:
4319 Move guess type into one call for mounts and one for mountpoints
4322 * gio/gunixvolume.c:
4325 2007-10-09 Alexander Larsson <alexl@redhat.com>
4327 * gio/gunixmounts.[ch]:
4328 Remove _ prefix in preparation to make this semi-public
4329 Hide implementation of structs
4331 * gio/glocaldirectorymonitor.c:
4333 * gio/gunixvolume.c:
4334 * gio/gunixvolumemonitor.c:
4335 Update for above API changes
4337 2007-10-08 Alexander Larsson <alexl@redhat.com>
4340 Better polling fallback. This also handles the case where we have
4341 a monitor_file implementation, but it fails.
4343 2007-10-08 Alexander Larsson <alexl@redhat.com>
4347 * gio/gunixmounts.c:
4348 * programs/gio-monitor-dir.c:
4349 * programs/gio-monitor-file.c:
4350 Added cancellable to file monitoring calls.
4351 These are really sync calls and need this.
4353 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4355 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4356 (g_local_vfs_class_init):
4357 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4358 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4360 2007-10-05 Alexander Larsson <alexl@redhat.com>
4362 * gio/gdirectorymonitorprivate.h:
4363 * gio/gfilemonitorprivate.h:
4364 * gio/gdirectorymonitor.h:
4365 * gio/gfilemonitor.h:
4366 Remove *private.h and move to the public API, so that
4367 we can do implementations outside gio (such as in gvfs)
4369 * gio/gdirectorymonitor.c:
4370 * gio/gfilemonitor.c:
4371 * gio/glocaldirectorymonitor.c:
4372 * gio/gpollfilemonitor.c:
4373 * gio/inotify/inotify-helper.c:
4374 * gio/fam/fam-helper.c:
4375 Update to the new header names
4377 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4379 * gio/gdirectorymonitor.c:
4380 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4383 2007-10-04 Alexander Larsson <alexl@redhat.com>
4385 * gio/glocalfileinfo.c (get_access_rights):
4386 Set CAN_TRASH when we can move the file.
4387 We should really also check for a parent trash dir.
4389 2007-10-04 Alexander Larsson <alexl@redhat.com>
4391 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4392 Add can_trash access attribute
4394 2007-10-04 Alexander Larsson <alexl@redhat.com>
4397 (g_local_file_trash):
4398 Create info file first. This is per-spec and allows
4399 us to actually trash directories.
4401 2007-10-02 Alexander Larsson <alexl@redhat.com>
4403 * gio/gdesktopappinfo.c:
4404 Implement the new mime support code.
4405 Always set app as handling mimetype when being set as default for it
4407 2007-10-01 Alexander Larsson <alexl@redhat.com>
4409 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4410 Fix up check for xattrs:
4412 2007-10-01 Alexander Larsson <alexl@redhat.com>
4415 (g_app_info_set_as_default_for_extension):
4416 (g_app_info_add_supports_type):
4417 (g_app_info_can_remove_supports_type):
4418 (g_app_info_remove_supports_type):
4419 Make these fail nicely if not implemented
4421 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4423 * gio/glocalfileoutputstream.c:
4424 * gio/glocalfileoutputstream.h:
4429 * programs/gio-save.c:
4430 Add a GFileCreateFlags argument to operations that can create
4433 2007-10-01 Alexander Larsson <alexl@redhat.com>
4435 * gio/gappinfo.[ch]:
4436 * gio/gdesktopappinfo.c:
4437 Add more (stubbed out) mime API needed for nautilus
4439 2007-10-01 Alexander Larsson <alexl@redhat.com>
4442 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4443 Add g_app_info_set_as_default_for_extension.
4445 * gio/gdesktopappinfo.c:
4446 Dummy for g_app_info_set_as_default_for_extension
4447 Support flags in g_app_info_create_from_commandline
4449 * gio/gwin32appinfo.c:
4451 Update for API changes
4453 * gio/gthemedicon.c:
4454 Properly NULL-terminate list of icon names
4456 2007-09-28 Alexander Larsson <alexl@redhat.com>
4458 * gio/gloadableicon.h:
4459 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4461 2007-09-28 Alexander Larsson <alexl@redhat.com>
4464 Install headers in $includedir/gio-standalone/
4466 * gio-2.0.pc.in: Added.
4467 * gio-standalone.pc.in: Removed.
4470 Renamed pkg-config file to match glib (for future move)
4471 Update to the new include dir
4474 Add more TODO comments
4476 2007-09-28 Alexander Larsson <alexl@redhat.com>
4478 * gio/gdesktopappinfo.[ch]:
4479 Expose new_from_filename
4480 Add getter for is_hidden and handle it better
4482 2007-09-28 Alexander Larsson <alexl@redhat.com>
4484 * gio/gfileinfo.[ch]:
4485 Rename g_file_size_format_for_display to
4486 g_format_file_size_for_display.
4487 Now it doesn't have the g_file prefix, so we
4488 can later move it to glib.
4490 2007-09-28 Alexander Larsson <alexl@redhat.com>
4492 * gio/gappinfo.[ch]:
4493 Add g_app_info_get_id and g_app_info_get_executable.
4494 Make all getters non-reffing
4495 Make g_app_info_launch take GFile arguments.
4496 Add must_support_uris argument to g_app_info_get_default_for_type.
4498 * gio/gwin32appinfo.c:
4499 Update to GAppInfo api changes
4501 * gio/gdesktopappinfo.c:
4502 Update to GAppInfo api changes
4503 Implement supports_xdg_startup_notify
4505 * gio/gfileicon.c (g_file_icon_get_file):
4506 Make getter non-reffing.
4511 2007-09-27 Alexander Larsson <alexl@redhat.com>
4513 * gio/gfileinfo.[ch]:
4514 Add g_file_size_format_for_display helper
4516 2007-09-27 Alexander Larsson <alexl@redhat.com>
4518 * gio/glocalfileinfo.c:
4519 Set UNIX_GID from gid, not from uid
4521 2007-09-27 Alexander Larsson <alexl@redhat.com>
4524 Add g_file_set_attributes_async
4526 2007-09-27 Alexander Larsson <alexl@redhat.com>
4528 * gio/glocalfile.c (g_local_file_set_display_name):
4529 Fix set_display_name to actually rename to the right place.
4530 Use lstat to look for existing files so we don't overwrite
4533 2007-09-26 Alexander Larsson <alexl@redhat.com>
4536 Add g_file_set_display_name_async()
4538 2007-09-26 Alexander Larsson <alexl@redhat.com>
4541 Add load_partial_contents async calls
4544 Make internal function static
4546 2007-09-26 Alexander Larsson <alexl@redhat.com>
4548 * gio/glocalfileinfo.c:
4549 Correctly detect broken symlinks
4551 2007-09-26 Alexander Larsson <alexl@redhat.com>
4553 * gio/gcancellable.c (g_cancellable_cancel):
4554 Allow cancel on NULL cancellable
4556 2007-09-25 Alexander Larsson <alexl@redhat.com>
4558 * gio/gsimpleasyncresult.c:
4559 Don't allocate g_error manually.
4560 Fixes g_slice/g_new mixup crash
4562 2007-09-25 Alexander Larsson <alexl@redhat.com>
4564 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4565 Actually set active_backend.
4566 This means the monitor will be cancelled correctly.
4568 2007-09-25 Alexander Larsson <alexl@redhat.com>
4570 * gio/gdirectorymonitor.c:
4571 Set timeout to NULL when destroying
4573 2007-09-25 Alexander Larsson <alexl@redhat.com>
4576 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4577 that is a better description of the error.
4579 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4581 * gio/gvfs.c: (g_vfs_get_local):
4582 Make the local vfs variable static. The same instance should
4585 2007-09-24 Alexander Larsson <alexl@redhat.com>
4587 * gio/glocalfileinfo.c:
4588 Pass in actual length read into sniffer, not the length
4591 2007-09-21 Alexander Larsson <alexl@redhat.com>
4593 * gio/gfileenumerator.c:
4596 * gio/gfileinputstream.c:
4597 * gio/gfileoutputstream.c:
4598 * gio/ginputstream.c:
4599 * gio/goutputstream.c:
4600 Don't crash if async callbacks are NULL
4602 2007-09-20 Alexander Larsson <alexl@redhat.com>
4605 Add async enumerate_children method and default
4608 2007-09-20 Alexander Larsson <alexl@redhat.com>
4611 Add g_file_contains_file & g_file_get_relative_path, since they
4612 were needed for nautilus.
4613 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4618 Implement new methods
4620 2007-09-17 Alexander Larsson <alexl@redhat.com>
4623 * gio/gfileinputstream.[ch]:
4624 * gio/gfileoutputstream.[ch]:
4626 * gio/glocalfileenumerator.[ch]:
4627 * gio/glocalfileinfo.[ch]:
4628 * gio/glocalfileinputstream.c:
4629 * gio/glocalfileoutputstream.c:
4630 * gio/gpollfilemonitor.c:
4631 * programs/gio-copy.c:
4632 * programs/gio-info.c:
4633 * programs/gio-move.c:
4634 Rename get_file_info to query_info() to make it clearer
4635 that these are not simple getters, but do i/o.
4637 2007-09-17 Alexander Larsson <alexl@redhat.com>
4639 * gio/gdatainputstream.[ch]:
4640 * gio/test-streams.c:
4641 Use _read_XXX instead of _get_XXX for the i/o calls
4644 2007-09-17 Alexander Larsson <alexl@redhat.com>
4647 Added needed stuff to TODO comment
4649 2007-09-17 Alexander Larsson <alexl@redhat.com>
4651 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4652 Don't error out removing the backup copy if it doesn't
4655 2007-09-14 Alexander Larsson <alexl@redhat.com>
4657 * programs/Makefile.am:
4658 * programs/gvfs-*.c:
4660 Renamed apps from gvfs-xxx to gio-xxx.
4662 2007-09-14 Alexander Larsson <alexl@redhat.com>
4665 * gio/gfileoutputstream.[ch]:
4666 * gio/glocalfileoutputstream.c:
4667 * programs/gvfs-save.c:
4668 g_file_output_stream_get_etag doesn't do i/o, so remove
4669 cancellation and error.
4671 2007-09-14 Alexander Larsson <alexl@redhat.com>
4674 Add new_etag output to replace_contents functions
4676 2007-09-14 Alexander Larsson <alexl@redhat.com>
4678 * gio/gfileoutputstream.[ch]:
4679 Add async get_file_info and default implementation
4681 2007-09-14 Alexander Larsson <alexl@redhat.com>
4683 * gio/gfileinputstream.c:
4684 Implement fallback wrapper for async get_file_info
4686 2007-09-14 Alexander Larsson <alexl@redhat.com>
4689 Add etag out argument to load_contents
4694 2007-09-14 Alexander Larsson <alexl@redhat.com>
4696 * gio/gcontenttype.c (looks_like_text):
4697 Whitespace like tab, cr and lf do not make the
4700 2007-09-14 Alexander Larsson <alexl@redhat.com>
4702 * gio/gfileinputstream.[ch]:
4703 Add async get_file_info.
4705 2007-09-13 Alexander Larsson <alexl@redhat.com>
4707 * gio/goutputstream.c (g_output_stream_write_all):
4708 Allow NULL for bytes_written
4710 2007-09-13 Alexander Larsson <alexl@redhat.com>
4712 * gio/gmemoryinputstream.[ch]:
4713 Add accessors for data
4715 2007-09-13 Alexander Larsson <alexl@redhat.com>
4717 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4718 Don't crash if length is NULL