1 2008-07-28 Matthias Clasen <mclasen@redhat.com>
3 * Makefile.am: Install gemblemedicon.h
5 2008-07-28 Matthias Clasen <mclasen@redhat.com>
7 * gemblemedicon.[hc]: Add a GIcon implementation that can
8 add an emblem to another icon.
15 * gfileicon.c: Small documentation additions.
17 2008-07-28 Tor Lillqvist <tml@novell.com>
19 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
22 2008-07-27 Tor Lillqvist <tml@novell.com>
24 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
26 2008-07-24 David Zeuthen <davidz@redhat.com>
30 Also export a g_mount_guess_content_type_sync() function.
32 2008-07-23 Matthias Clasen <mclasen@redhat.com>
34 529694 – SELinux context setting support
36 * gfileinfo.c: Support setting selinux attributes.
39 2008-07-22 Priit Laes <plaes@plaes.org>
41 Bug 544140 - fam-helper 64-bit issue?
43 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
45 2008-07-21 Matthias Clasen <mclasen@redhat.com>
47 * === Released 2.17.4 ===
49 2008-07-20 Matthias Clasen <mclasen@redhat.com>
51 * gvolumemonitor.[hc]:
56 * gmount.c: Documentation fixes
58 2008-07-19 Matthias Clasen <mclasen@redhat.com>
60 543504 – crash in Epiphany Web Browser: Opening local file
71 * gvolume.c: Register types thread-safely.
72 Patch by Christian Persch
74 2008-07-18 Matthias Clasen <mclasen@redhat.com>
76 * gcontenttype.c: Remove debug spew
78 2008-07-18 Matthias Clasen <mclasen@redhat.com>
80 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
83 * fen/fen-kernel.c: Remove a warning that was causing
84 crashes. Reported by Lin Ma.
86 2008-07-18 Matthias Clasen <mclasen@redhat.com>
88 Bug 543040 – async reading on dummy file will crash on
91 * gfile.c (open_read_async_thread): Cope with read_fn being
92 NULL. Reported by Lin Ma.
94 2008-07-18 Matthias Clasen <mclasen@redhat.com>
97 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
99 2008-07-16 Matthias Clasen <mclasen@redhat.com>
103 * giomodule.c: Rename a chapter id to avoid filename conflict.
105 2008-07-16 Matthias Clasen <mclasen@redhat.com>
107 Bug 540616 – mem leak in filechooser button
109 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
110 the mount entry. Reported by Chrisitan Persch
112 2008-07-16 Matthias Clasen <mclasen@redhat.com>
114 * gfile.c: Small documentation fixes.
116 2008-07-15 Matthias Clasen <mclasen@redhat.com>
118 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
120 2008-07-08 Matthias Clasen <mclasen@redhat.com>
125 * gmount.c: Documentation improvements.
127 2008-07-08 Matthias Clasen <mclasen@redhat.com>
130 * gmount.[hc]: Add g_mount_guess_content_type().
132 2008-07-06 David Zeuthen <davidz@redhat.com>
135 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
136 is needed for easily handling adoption of foreign volumes by
137 out-of-process volume monitors (#541793)
139 2008-07-06 David Zeuthen <davidz@redhat.com>
141 * gvolumemonitor.[ch]:
142 * gunionvolumemonitor.c: Export the eject-button signal on the
143 volume monitor class (#541794).
145 2008-07-06 Matthias Clasen <mclasen@redhat.com>
147 * gappinfo.c: More doc tweaks
149 2008-07-05 Matthias Clasen <mclasen@redhat.com>
151 * gappinfo.c: Clarify some docs
153 2008-07-03 Matthias Clasen <mclasen@redhat.com>
155 * gdesktopappinfo.c: Fix a stupid mistake.
157 2008-07-02 Matthias Clasen <mclasen@redhat.com>
159 * === Released 2.17.3 ===
161 2008-07-02 Matthias Clasen <mclasen@redhat.com>
163 * gfilemonitor.c: Fix the build.
165 2008-07-02 Matthias Clasen <mclasen@redhat.com>
167 Bug 536160 – Add g_file_monitor()
170 * gfile.[hc]: Add g_file_monitor which can return either
171 a file or a directory monitor. Proposed by Behdad Esfahbod
173 2008-07-02 Matthias Clasen <mclasen@redhat.com>
175 536733 – gio build failure on Irix
177 * glocalfile.c: Use a configure check for structfs.f_bavail.
179 2008-07-02 Matthias Clasen <mclasen@redhat.com>
181 Bug 534639 – add g_desktop_app_info_new_from_keyfile
184 * gdesktopappinfo.[hc]: Add a function to create a
185 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
187 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
189 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
191 2008-07-01 Matthias Clasen <mclasen@redhat.com>
193 * gunixmounts.c: Fix a doc typo.
195 2008-07-01 Cody Russell <bratsche@gnome.org>
197 * gio/gcontenttype.c:
198 * gio/gwin32appinfo.c:
199 * gio/gwin32volumemonitor.c:
200 * gio/gwin32mount.c: Fixed some include problems.
202 2008-07-01 Cody Russell <bratsche@gnome.org>
206 Moved all relevant typedefs into these files.
209 Updated wrt added files.
211 Split types into separate file for easier maintainership. (#538564)
213 2008-06-30 Matthias Clasen <mclasen@redhat.com>
215 Bug 540331 – g_file_append_to () documentation: can return NULL
217 * gfile.c (g_file_append_to): Clarify docs.
220 2008-06-30 Matthias Clasen <mclasen@redhat.com>
222 Bug 539090 – g_content_type_from_mime_type() should unalias
224 * gcontentype.c (g_content_type_from_mime_type): Unalias.
225 Patch by Markus Bergman
227 2008-06-30 Matthias Clasen <mclasen@redhat.com>
229 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
232 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
233 on ppc and alpha. Reported by Mart Raudsepp
235 2008-06-29 Matthias Clasen <mclasen@redhat.com>
238 * tests/memory-output-stream.c: Add some tests for
241 2008-06-29 Matthias Clasen <mclasen@redhat.com>
243 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
246 * gmemoryoutputstream.c (array_resize): Handle truncation to
247 zero correctly. Reported by Akira Tagoh
249 2008-06-29 Matthias Clasen <mclasen@redhat.com>
251 * gmemoryoutputstream.c: Trivial doc fixes
253 2008-06-29 Matthias Clasen <mclasen@redhat.com>
255 Bug 540802 – g_list_prepend doesn't concat lists
257 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
258 one list to another. Pointed out by Jan Arne Petersen
260 2008-06-28 Michael Natterer <mitch@imendio.com>
262 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
264 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
266 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
267 to avoid problems with partial icon themes.
269 2008-06-17 Hans Breuer <hans@breuer.org>
271 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
272 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
273 access again on win32, see bug #538127
274 * giomodule.c : ensure GWin32VolumeMonitor is registered
275 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
276 * Makefile.am makefile.msc : updated
278 2008-06-16 Hans Breuer <hans@breuer.org>
280 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
281 and initialization in one step avoids c99ism
283 2008-06-16 Christian Persch <chpe@gnome.org>
286 * gio/gbufferedinputstream.c
288 * gio/gdatainputstream.c
289 * gio/gdesktopappinfo.c
291 * gio/gfileenumerator.c
292 * gio/gfileinputstream.c
293 * gio/gfileoutputstream.c
295 * gio/glocaldirectorymonitor.c
297 * gio/glocalfileenumerator.c
298 * gio/glocalfileinfo.c
299 * gio/glocalfilemonitor.c
300 * gio/glocalfileoutputstream.c
301 * gio/gmemoryinputstream.c
302 * gio/gmemoryoutputstream.c
303 * gio/goutputstream.c
304 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
307 2008-06-16 Tor Lillqvist <tml@novell.com>
309 Bug 538362 - Get Win32 icons back in the file chooser
311 * gcontenttype.c (g_content_type_get_icon): Look up the icon
312 corresponding to a file extension in the Registry. Patch by Hans
314 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
316 2008-06-16 Tor Lillqvist <tml@novell.com>
318 Patches by Hans Breuer:
320 * glocalfile.c (is_xp_or_later): Handle compiling against older
321 SDK headers with missing VerifyVersionInfo(). Conditioned on
322 _MSC_VER, but should probably use some better test.
323 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
324 uninitialised statfs_result variable on Win32.
326 2008-06-16 Michael Natterer <mitch@imendio.com>
328 * *.c: chain up unconditionally in finalize() and dispose(). Also
329 don't dereference these function pointers when calling them since
330 that has no meaning at all.
332 2008-06-16 Ross Burton <ross@burtonini.com>
335 Remove check for dispose implementation as it annoys Emmanuele.
337 2008-06-16 Ross Burton <ross@burtonini.com>
339 Bug 536252 – GFileEnumerator should allow access to the containing
345 Add g_file_enumerator_get_container() and a container writeable
346 construct-only property. Also shuffle around typedefs to make it
349 * glocalfileenumerator.c:
350 * glocalfileenumerator.h:
352 Instead of a string filename take a GFile in the constructor and
353 use it to set the container property.
358 2008-06-16 Matthias Clasen <mclasen@redhat.com>
360 * gfile.c: Make includes more uniform
362 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
364 * tests/live-g-file.c (sample_struct):
365 Use less fancy unicode filenames, so the test doesn't fail
366 on Mac OS X (#531476).
368 2008-06-12 Matthias Clasen <mclasen@redhat.com>
370 * === Released 2.17.2 ===
372 2008-06-12 Matthias Clasen <mclasen@redhat.com>
374 * === Released 2.17.1 ===
376 2008-06-11 A. Walton <awalton@gnome.org>
378 * tests/g-file.c (test_g_file_new_null):
379 Fix broken test case.
381 2008-06-11 Matthias Clasen <mclasen@redhat.com>
383 * pltcheck.sh: We use g_clear_error now.
385 2008-06-11 Matthias Clasen <mclasen@redhat.com>
387 * glocalfile.c (g_local_file_enumerate_children): Revert
388 an unintended change.
390 2008-06-11 Matthias Clasen <mclasen@redhat.com>
392 * gfile.c (g_file_replace_contents): Don't unref before the last use.
394 2008-06-10 Matthias Clasen <mclasen@redhat.com>
396 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
399 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
400 as icon for the desktop directory, also make user-home and
401 user-desktop the preferred icons.
403 2008-06-10 Matthias Clasen <mclasen@redhat.com>
406 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
407 to add a name to the front of the list.
409 2008-06-10 Matthias Clasen <mclasen@redhat.com>
411 Bug 537392 – Additional colon in xattr name
413 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
414 too. Reported by Alessandro Morandi
416 2008-06-10 Matthias Clasen <mclasen@redhat.com>
418 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
421 * glocalfile.c (get_fs_type): Add afs and autofs.
422 Patch by Danny Baumann.
424 2008-06-10 Matthias Clasen <mclasen@redhat.com>
426 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
428 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
429 is no parent. (Owen Taylor, patch by Christian Neumair)
431 2008-06-10 Paolo Borelli <pborelli@katamail.com>
433 * gfile.c (g_file_replace_contents): do not leak the output stream.
435 2008-06-10 Michael Natterer <mitch@imendio.com>
437 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
438 uninitialized memory as array index.
440 2008-06-10 Tor Lillqvist <tml@novell.com>
442 * gcontenttype.c (g_content_type_can_be_executable)
443 (g_content_type_get_icon) [Win32]: Add TODO comments.
445 2008-06-09 Matthias Clasen <mclasen@redhat.com>
447 * xdgmime/Makefile.am: Fix the build
449 2008-06-09 Matthias Clasen <mclasen@redhat.com>
451 * gcontenttype.c (g_content_type_get_icon): Use icons specified
452 in the shared mime database, if available.
454 * xdgmime/*: Sync with upstream. This brings support for
455 glob weights, generic icons, and changes the cache format to
458 2008-05-28 Michael Natterer <mitch@imendio.com>
460 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
461 the global CPPFLAGS now.
463 * tests/data-input-stream.c
464 * tests/data-output-stream.c
465 * tests/g-file-info.c
467 * tests/live-g-file.c
468 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
470 2008-05-27 Matthias Clasen <mclasen@redhat.com>
472 * === Released 2.17.0 ===
474 * tests/live-g-file.c: Clean up after the tests, so make distcheck
475 doesn't complain about leftover files.
477 2008-05-27 simon.zheng <simon.zheng@sun.com>
479 * glocalfile.c: (g_local_file_query_filesystem_info):
480 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
482 2008-05-26 Michael Natterer <mitch@imendio.com>
484 * gmemoryoutputstream.h: declare
485 g_memory_output_stream_get_data_size().
487 2008-05-26 Matthias Clasen <mclasen@redhat.com>
489 * tests/*: Make tests work
491 2008-05-26 Matthias Clasen <mclasen@redhat.com>
493 * gio.symbols: Add g_memory_output_stream_get_data_size.
495 2008-05-25 Ross Burton <ross@burtonini.com>
498 Fix typo in error message (#534764).
500 2008-05-25 Ross Burton <ross@burtonini.com>
503 Fix circular dependency loop for gioenumtypes.h (#534759).
505 2008-05-19 Hans Breuer <hans@breuer.org>
507 * Makefile.am : EXTRA_DIST += makefile.msc
509 2008-05-17 Matthias Clasen <mclasen@redhat.com>
512 * gcontenttype.c: (g_content_type_from_mime_type):
513 New function to create a content type from a mime type. (#527175,
516 2008-05-17 Matthias Clasen <mclasen@redhat.com>
518 Bug 532965 – Should not return filesystem::free for certain file systems
520 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
521 free space for ncpfs.
523 2008-05-17 Matthias Clasen <mclasen@redhat.com>
525 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
527 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
528 st_dev might be zero.
530 2008-05-16 Tor Lillqvist <tml@novell.com>
532 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
533 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
535 2008-05-13 Bastien Nocera <hadess@hadess.net>
537 * gfile.c (has_valid_scheme): A URI scheme must start with a
538 letter, even if later more characters are allowed (#532852)
540 2008-05-05 Michael Natterer <mitch@imendio.com>
542 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
543 code from being checked in that breaks the build of applications
544 which use G_DISABLE_SINGLE_INCLUDES.
546 * makegioalias.pl: make the alias file include "glib.h" instead of
549 * gio.symbols: whitespace change to force regeneration of the
550 alias file after above script change.
552 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
554 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
556 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
558 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
560 2008-04-28 David Zeuthen <davidz@redhat.com>
562 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
563 displaying mounts in a subdirectory not accessible to the
566 2008-04-22 Michael Natterer <mitch@imendio.com>
568 * Makefile.am: fix library versioning (it was 0.0.0).
570 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
572 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
573 Default disable all loggings.
574 * fen/fen-kernel.c: (printevent), (port_add_kevent),
575 (port_fetch_event_cb): Fixed two macro nits.
577 2008-04-16 Matthias Clasen <mclasen@redhat.com>
579 * xdgmime/xdgmime.c: Rework the timestamp checking code
580 to protect against duplicate directories in XDG_DATA_DIRS.
581 Fixes fd.o bug 12513, reported by Joe Shaw.
583 2008-04-16 Matthias Clasen <mclasen@redhat.com>
585 Partically revert the last commit after realizing that
586 xdg_mime_media_type_equal doesn't have to init at all.
589 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
591 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
593 2008-04-16 Matthias Clasen <mclasen@redhat.com>
595 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
596 reported by Joe Shaw and Federico Mena Quintero.
598 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
599 (xdg_mime_media_type_equal): Turn into a wrapper around the
602 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
603 functions throughout.
605 2008-04-16 Michael Meeks <michael.meeks@novell.com>
607 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
608 tolerate an empty TryExec= line without failing; nautilus used
609 to create launchers with these in previous versions. Fixes #528433
611 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
613 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
614 after name. Fixes #527132.
616 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
618 * gfile.c: (g_file_replace):
621 2008-04-07 Matthias Clasen <mclasen@redhat.com>
623 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
625 * gfile.c (file_copy_fallback): Fix the argument order. Patch
626 by Christian Kellner.
628 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
630 * gunixmounts.c: (g_unix_mount_guess_should_display):
631 Don't list the user directory as a mount, fix potential issue
632 when other users have a similar naming and don't special case the
633 gvfs mounts there since that's not required (#525866)
635 2008-03-31 Alexander Larsson <alexl@redhat.com>
637 * glocalfile.c (get_parent):
640 2008-03-31 A. Walton <awalton@svn.gnome.org>
642 * gfile.c (g_file_query_file_type):
643 Always return a GFileType enum value (#520715).
645 2008-03-31 Alexander Larsson <alexl@redhat.com>
647 * glocalfileenumerator.c:
648 Read readdir() info in chunks (of 1000) and sort
649 the chunks by inode before stat:ing.
650 This is a 20% performance increase in testing
651 gvfs-ls on /usr/bin with cold cache.
653 2008-03-31 Alexander Larsson <alexl@redhat.com>
655 * gmemoryoutputstream.c:
656 Clarify docs for g_memory_output_stream_get_size.
657 Add g_memory_output_stream_get_data_size.
659 2008-03-30 Matthias Clasen <mclasen@redhat.com>
663 * gfile.h: Add g_file_query_file_type convenience function
664 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
666 2008-03-30 Matthias Clasen <mclasen@redhat.com>
669 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
671 2008-03-28 A. Walton <awalton@svn.gnome.org>
673 * giomodule.c (_g_io_modules_ensure_loaded):
674 Adds GIO_EXTRA_MODULES environment variable support, closing bug
677 2008-03-28 Alexander Larsson <alexl@redhat.com>
680 (copy_stream_with_progress):
683 2008-03-28 Alexander Larsson <alexl@redhat.com>
686 (copy_stream_with_progress):
687 (file_copy_fallback):
688 Fallback to g_file_query_info for source size
689 if g_file_input_stream_query_info fails. (#524579)
691 2008-03-28 Alexander Larsson <alexl@redhat.com>
693 * glocalfile.c (g_local_file_move):
694 Reuse old string instead of adding new one.
696 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
698 * fen/*.[hc]: still copyright issue. I hate copyright.
700 2008-03-27 Alexander Larsson <alexl@redhat.com>
702 * glocalfile.c (g_local_file_move):
703 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
704 file over directory. This is according to the docs and what the move via
705 copy+remove fallback does.
707 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
709 * fen/*.[hc]: Updated copyright.
711 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
713 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
715 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
717 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
718 not emit attribute changed events when optimizing changed events.
719 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
722 2008-03-19 Matthias Clasen <mclasen@redhat.com>
724 * gmountoperation.[hc]: Small documentation additions
726 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
728 * gunixmounts.c: (guess_mount_type):
729 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
731 2008-03-19 Alexander Larsson <alexl@redhat.com>
734 (copy_stream_with_progress):
735 Bump block side for copy to 64k to minimize
736 overhead for low latency links. (#523015)
738 2008-03-16 Tor Lillqvist <tml@novell.com>
740 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
741 depend on gio.def on Windows.
743 2008-03-12 David Zeuthen <davidz@redhat.com>
747 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
749 2008-03-14 Alexander Larsson <alexl@redhat.com>
753 Avoid redudant tests (#521851)
754 Patch from Josselin Mouette
756 2008-03-14 Alexander Larsson <alexl@redhat.com>
759 (g_file_monitor_is_cancelled):
760 Fix C89 issue (#521672)
761 Patch from Jens Granseuer
763 2008-03-14 Alexander Larsson <alexl@redhat.com>
765 * fam/fam-helper.[ch]:
767 Shut down fam (including removing fam GSource) when
768 module is unloaded (#521513)
769 Patch from Joe Marcus Clarke
771 2008-03-14 Alexander Larsson <alexl@redhat.com>
774 (_g_io_modules_ensure_loaded):
777 2008-03-14 Alexander Larsson <alexl@redhat.com>
780 (g_local_file_query_filesystem_info):
781 Use right define name for f_fstypename member check
783 2008-03-14 Alexander Larsson <alexl@redhat.com>
786 * fen/Makefile.am: Added.
787 * fen/fen-data.[ch]: Added.
788 * fen/fen-dump.[ch]: Added.
789 * fen/fen-helper.[ch]: Added.
790 * fen/fen-kernel.[ch]: Added.
791 * fen/fen-missing.[ch]: Added.
792 * fen/fen-node.[ch]: Added.
793 * fen/fen-sub.[ch]: Added.
794 * fen/gfendirectorymonitor.[ch]: Added.
795 * fen/gfenfilemonitor.[ch]: Added.
797 Added Solaris FEN file notification backend.
798 Patch from Lin Ma <Lin.Ma@Sun.COM>
800 2008-03-13 Tor Lillqvist <tml@novell.com>
802 * Makefile.am: Actually use the gio.def file when linking the
803 library on Windows. Produce .lib library for Microsoft's toolchain
804 when possible. Install the .lib and .def file like for the other
807 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
809 * tests/live-g-file.c:
810 Include live-g-file in standard set of tests, making a temporary
811 directory in source structure.
813 Clean target directory before the tests (write mode only)
815 2008-03-12 Tor Lillqvist <tml@novell.com>
817 Bug 517419 - gio win32 directory monitor
818 Implementation by Vlad Grecescu.
821 * win32/gwin32directorymonitor.h
822 * win32/gwin32directorymonitor.c: New files.
824 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
826 * Makefile.am: Add the win32 subdirectory.
828 2008-03-12 Tor Lillqvist <tml@novell.com>
830 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
831 normal struct stat on Unix but struct _stati64 on Windows to have
832 access to 64-bit file size information. Use that instead of struct
833 stat in the functions declared here in this private header.
835 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
836 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
837 warnings about unused functions and variables. Don't set
838 meaningless attributes like inode numbers on Windows.
840 2008-03-12 Benjamin Otte <otte@gnome.org>
843 trim whitespace so gtk-doc groks the function name
845 2008-03-12 Tor Lillqvist <tml@novell.com>
847 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
848 returning FALSE, on Win32.
850 2008-03-11 Alexander Larsson <alexl@redhat.com>
853 * glocalfileinfo.[ch]:
854 Correctly implement can_trash by actually
855 looking for a trash dir, not just assuming
858 2008-03-10 Matthias Clasen <mclasen@redhat.com>
860 * === Released 2.16.1 ===
862 2008-03-11 Alexander Larsson <alexl@redhat.com>
865 Fix crashes in new constructor and properties code
867 2008-03-10 Murray Cumming <murrayc@murrayc.com>
869 * gfile.c: Minor spelling correction in documentation:
870 existance -> existence.
872 2008-03-10 Matthias Clasen <mclasen@redhat.com>
874 * === Released 2.16.0 ===
876 2008-03-10 Matthias Clasen <mclasen@redhat.com>
878 * gio.symbols: Remove g_file_contains_file here, too.
880 2008-03-10 Matthias Clasen <mclasen@redhat.com>
882 * gthemedicon.c: Add properties to make bindings happy. (#517676,
883 Samuel Cormier-Iijima)
885 2008-03-08 Tor Lillqvist <tml@novell.com>
887 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
890 2008-03-07 Alexander Larsson <alexl@redhat.com>
893 (g_local_file_query_filesystem_info):
894 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
895 Patch from Jasper Lievisse Adriaanse
897 2008-03-06 Tor Lillqvist <tml@novell.com>
899 * gfileinfo.h: Correct milliseconds to microseconds in the doc
900 comments for the *_USEC attributes.
902 2008-03-06 Alexander Larsson <alexl@redhat.com>
904 * gfile.c (g_file_query_exists):
905 Add g_return_val_if_fail check (#520700)
907 2008-03-06 Alexander Larsson <alexl@redhat.com>
912 * gunionvolumemonitor.c:
915 * tests/live-g-file.c:
916 * xdgmime/xdgmimecache.c:
917 Fix sparse warnings (#519489)
919 2008-03-05 Alexander Larsson <alexl@redhat.com>
922 Make cancellation threadsafe (i.e.
923 guarantee its only done once, and always
926 * glocaldirectorymonitor.c:
927 Make sure we the monitor lives while the
928 mounts_changed callback is being called (#520484)
930 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
932 * gbufferedinputstream.c: Fix typo in parameter
935 2008-03-04 Alexander Larsson <alexl@redhat.com>
938 Remove deprecated symbols we kept for one release.
940 2008-03-04 Murray Cumming <murrayc@murrayc.com>
943 * goutputstream.c: Tiny documentation corrections.
945 2008-03-03 Alexander Larsson <alexl@redhat.com>
947 * gunionvolumemonitor.c:
949 Fix the adopt_orphan_mount vfunc to take a
950 volume_monitor reference in an ABI compat way.
951 This change is not API compat, but the added
952 arg is not used in the only user of this vfunc, so
953 all we get is a harmless warning in gvfs (#520169)
955 2008-03-01 Benjamin Otte <otte@gnome.org>
958 clarify docs for g_file_delete().
960 2008-02-29 Alexander Larsson <alexl@redhat.com>
964 Make sure empty files get text/plain type (#518720)
966 2008-02-27 Alexander Larsson <alexl@redhat.com>
972 (g_unix_volume_mount):
973 Add missing GMountMountFlags argument
975 2008-02-26 Alexander Larsson <alexl@redhat.com>
978 (g_local_file_delete):
979 Handle filesystems (like ntfs-3g) that return EEXIST instead
980 of ENOTEMPTY (#518816)
982 2008-02-25 Matthias Clasen <mclasen@redhat.com>
984 * === Released 2.15.6 ===
986 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
988 * gfile.c (g_file_find_enclosing_mount):
989 * ginputstream.c (g_input_stream_set_pending):
990 * glocalfile.c (g_local_file_find_enclosing_mount):
991 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
992 * goutputstream.c (g_output_stream_set_pending):
994 Fixup translator comments (#518578).
996 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
998 * gfile.c (g_file_find_enclosing_mount):
1000 * glocalfile.c (g_local_file_find_enclosing_mount):
1003 Fix a few typos in translator comments and documentation.
1005 2008-02-25 Alexander Larsson <alexl@redhat.com>
1012 Add translator comments (#518578)
1014 2008-02-25 Alexander Larsson <alexl@redhat.com>
1017 Reintroduce g_file_contains_file, keep around for one
1018 unstable release cycle to avoid crashing to many apps.
1019 Make sure to delete after release.
1021 2008-02-25 Alexander Larsson <alexl@redhat.com>
1024 Remove deprecated g_file_contains_file.
1026 2008-02-25 Alexander Larsson <alexl@redhat.com>
1029 Emit actual change signals in an idle handler.
1030 This avoids reentrance and locking problems in
1031 the file notification backends.
1033 2008-02-25 Alexander Larsson <alexl@redhat.com>
1036 (g_unix_mount_guess_should_display):
1037 Remove type guessing, instead just display
1038 mounts in /media and in ~/.
1040 2008-02-25 Alexander Larsson <alexl@redhat.com>
1043 Make new strings reuse old ones.
1045 2008-02-25 Alexander Larsson <alexl@redhat.com>
1048 Implement trashing and filesystem::readonly for win32 (#517235)
1049 Patch from Yevgen Muntyan
1051 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1053 * gfileinfo.h: Documentation fixes.
1055 2008-02-22 Alexander Larsson <alexl@redhat.com>
1057 * gcontenttype.c (g_content_type_get_icon):
1058 Look at old-style gnome mime icon names too, as many
1059 have not moved to the new style.
1061 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1063 * *.c: Correct the @include in for section docs.
1065 2008-02-21 David Zeuthen <davidz@redhat.com>
1067 * glocalfileinfo.c: (_g_local_file_info_get):
1069 (g_content_type_get_icon): Implement this function by
1070 moving bits from glocalfileinfo.c
1071 (g_content_type_get_description): Unalias before getting
1072 description (#517687)
1074 * gfile.c: (g_file_class_init),
1075 (g_file_query_filesystem_info_async),
1076 (g_file_query_filesystem_info_finish),
1077 (query_filesystem_info_data_free),
1078 (query_filesystem_info_async_thread),
1079 (g_file_real_query_filesystem_info_async),
1080 (g_file_real_query_filesystem_info_finish):
1081 * gfile.h: Implement async version of
1082 g_file_query_filesystem_info()
1084 * gfileinfo.h: Add new attributes for filesystem::use-preview
1086 * gio.symbols: Update
1088 * gthemedicon.c: (g_themed_icon_append_name):
1089 * gthemedicon.h: Add new new convenience function.
1091 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1092 (get_mounts), (get_volumes), (get_connected_drives),
1093 (get_volume_for_uuid), (get_mount_for_uuid),
1094 (g_union_volume_monitor_init), (populate_union_monitor),
1095 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1096 (g_volume_monitor_adopt_orphan_mount):
1098 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1099 monitor implementations to call into the main volume monitor. Also
1100 separate object initialization and volume monitor initialization
1101 such that non-native volume monitors can properly adopt their
1104 2008-02-21 Alexander Larsson <alexl@redhat.com>
1109 2008-02-21 Alexander Larsson <alexl@redhat.com>
1112 Add more documentation about how GFiles work (from #517086)
1114 2008-02-21 Alexander Larsson <alexl@redhat.com>
1118 Add new g_file_has_prefix that does the same as g_file_contains_file.
1119 Deprecate g_file_contains_file and add a macro that converts
1120 it to g_file_has_prefix.
1121 The reason for this change is that the contains_file() name seems to
1122 imply that this does more work than what it does, but its really only
1123 a name match (from #517086)
1128 Update to match the above change.
1130 2008-02-20 Benjamin Otte <otte@gnome.org>
1132 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1133 (g_file_eject_mountable):
1134 even more cases of not returning in error path
1136 2008-02-20 Benjamin Otte <otte@gnome.org>
1138 * gfile.c: (g_file_mount_mountable):
1139 return from function in error path.
1141 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1144 Remove trailing coma in GMountMountFlags struct
1146 2008-02-18 Alexander Larsson <alexl@redhat.com>
1150 * glocalfileoutputstream.c:
1151 Use g_unlink/g_rename instead of unlink/rename;
1152 do not pass raw filenames to g_set_error. (#517239)
1153 Patch from Yevgen Muntyan.
1155 2008-02-18 Alexander Larsson <alexl@redhat.com>
1158 * glocalfileoutputstream.c:
1159 Open files with O_BINARY on windows. (#517140)
1161 2008-02-14 Alexander Larsson <alexl@redhat.com>
1163 * glocalfileoutputstream.c:
1164 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1166 2008-02-14 Alexander Larsson <alexl@redhat.com>
1169 Copy permissions with file on copy (#514084)
1170 This is what cp does and makes sure e.g. the
1171 exec permissions are kept.
1172 Its kinda weird in that it keeps the permission bits
1173 the same while the uid and gid are different. However
1174 the new uid is the user so its not a security issue,
1175 and I've heard no complaints about cp on this issue.
1177 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1179 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1181 2008-02-13 Alexander Larsson <alexl@redhat.com>
1183 * inotify/inotify-path.c:
1184 Define IN_ONLYDIR if not in header (#515346)
1186 2008-02-12 Alexander Larsson <alexl@redhat.com>
1188 * tests/live-g-file.c:
1191 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1193 * === Released 2.15.5 ===
1195 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1197 * gio.symbols: Add g_mount_mount_flags_get_type.
1199 2008-02-11 Alexander Larsson <alexl@redhat.com>
1202 (g_file_info_set_attribute_mask):
1203 (g_file_attribute_matcher_matches_id):
1204 Correctly handle NULL GAttributeMatcher meaning
1205 matches nothing. (Fixes #513492)
1207 2008-02-11 Alexander Larsson <alexl@redhat.com>
1212 Added GMountMountFlags enum and added a flags
1213 argument to all mount calls.
1215 This is an API/ABI change for future extensibility,
1216 as I think we will need at least an
1217 inhibit-autorun flag (the panel needs this).
1218 There are no flags defined yet though.
1220 2008-02-11 Alexander Larsson <alexl@redhat.com>
1223 Added new standard::description attribute.
1224 Requested by Vincent, and useful for both
1227 2008-02-11 Alexander Larsson <alexl@redhat.com>
1229 * gdesktopappinfo.c:
1232 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1234 * *.c: Documentation additions
1236 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1238 * gappinfo.h: Formatting cleanup
1239 * gappinfo.c: Fix up docs.
1241 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1243 * gunixmounts.c: Consistently use getmntent_r() and fall
1244 back to getmntent(). (#515492)
1246 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1248 * gbufferedinputstream.c:
1250 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1252 * tests/data-input-stream.c:
1253 * tests/data-output-stream.c: Portability fixes.
1255 2008-02-08 Alexander Larsson <alexl@redhat.com>
1260 Add g_volume_should_automount.
1263 2008-02-07 Tor Lillqvist <tml@novell.com>
1265 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1266 Win32, too Unix-specific.
1268 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1270 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1271 a local plt if the compiler doesn't support what we want. Bug #514702
1273 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1275 reviewed by: <delete if not using a buddy>
1278 * gunixinputstream.c:
1279 * gunixoutputstream.c:
1281 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1283 * tests/Makefile.am:
1284 * tests/live-g-file.c:
1285 * tests/live-g-file.txt:
1286 New GIO testing module working over real data
1288 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1290 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1291 Fallback to rename() if link() is not available
1292 (when no support on target filesystem)
1294 2008-02-06 Michael Natterer <mitch@imendio.com>
1296 * gfileinfo.c (g_file_info_get_icon): replace
1297 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1299 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1301 * gfile.c (g_file_create):
1302 Documentation update of error codes
1304 2008-02-06 Alexander Larsson <alexl@redhat.com>
1306 * gdesktopappinfo.c:
1307 Update to use both mimeapps.list and
1308 defaults.list as discussed on xdg list.
1310 2008-02-06 Benjamin Otte <otte@gnome.org>
1313 * gfilenamecompleter.c:
1314 Fix some typos in the documentation.
1316 2008-02-06 Alexander Larsson <alexl@redhat.com>
1318 * glocalfile.c (g_local_file_trash):
1319 Don't succeed with trash if newly created
1320 trash dir has the wrong owner. (#514696)
1322 2008-02-05 Alexander Larsson <alexl@redhat.com>
1324 * glocalfile.c (g_local_file_move):
1325 Don't spew warnings when destination is not
1328 2008-02-03 Hans Breuer <hans@breuer.org>
1330 * makefile.msc : update
1332 2008-02-01 Michael Natterer <mitch@imendio.com>
1334 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1335 return value of xdg_mime_list_mime_parents() to a variable of the
1338 2008-02-01 Alexander Larsson <alexl@redhat.com>
1340 * gappinfo.c (g_app_info_launch_uris):
1341 Actually call the launch_uris method, not
1344 2008-02-01 Alexander Larsson <alexl@redhat.com>
1346 * gdesktopappinfo.c (g_desktop_app_info_equal):
1347 Ensure appinfos with no id but same pointer value
1350 2008-02-01 Alexander Larsson <alexl@redhat.com>
1352 * gappinfo.c (g_app_info_launch_default_for_uri):
1355 2008-02-01 Alexander Larsson <alexl@redhat.com>
1359 Add g_app_info_launch_default_for_uri utility
1362 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1364 * gdesktopappinfo.c:
1365 Doc fix for g_app_info_get_default_for_uri_scheme ()
1368 2008-01-30 Alexander Larsson <alexl@redhat.com>
1371 Add doc comment about uris vs GFiles to
1374 * gdesktopappinfo.c:
1375 Ensure uris passed to g_app_info_launch_uris()
1376 are not roundtriped through GFile (as that
1377 may be slightly destructive for e.g. mailto: links)
1379 2008-01-30 Alexander Larsson <alexl@redhat.com>
1381 * tests/data-input-stream.c:
1382 * tests/data-output-stream.c:
1383 C89 fixes from Jens Granseuer (#512849)
1385 2008-01-30 Alexander Larsson <alexl@redhat.com>
1388 Fix gamin/fam difference build issue. (#509419)
1390 2008-01-29 Alexander Larsson <alexl@redhat.com>
1393 * gdesktopappinfo.c:
1394 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1396 2008-01-29 Alexander Larsson <alexl@redhat.com>
1398 * gdesktopappinfo.c:
1399 * gdesktopappinfo.h:
1400 giomodule-priv.h include moved to .c file.
1402 2008-01-29 Alexander Larsson <alexl@redhat.com>
1404 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1405 Remove unused prio/name fields.
1407 2008-01-29 Alexander Larsson <alexl@redhat.com>
1409 * gcontenttype.c (looks_like_text):
1410 Don't treat whitespace as control chars.
1412 2008-01-29 Alexander Larsson <alexl@redhat.com>
1414 * gdesktopappinfo.c:
1415 Lazily create the desktop files for appinfos created
1416 by g_app_info_create_from_commandline() when needed
1417 for mime associations. This allows run-time use
1418 of GAppInfo object without creating unnecessary
1421 2008-01-29 Alexander Larsson <alexl@redhat.com>
1424 Added new symbols to gio.symbols
1426 2008-01-29 Alexander Larsson <alexl@redhat.com>
1429 Add g_file_query_default_handler utility to easily look up
1430 the GAppInfo that handles a file.
1432 * gdesktopappinfo.[ch]:
1434 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1437 Remove unused function
1439 2008-01-29 Alexander Larsson <alexl@redhat.com>
1441 * gfileenumerator.c:
1442 Mention need to free returned value in
1443 g_file_enumerator_next_files_finish docs.
1444 Fix leak if g_file_enumerator_next_files_finish()
1447 2008-01-29 Alexander Larsson <alexl@redhat.com>
1450 (_g_unix_content_type_get_parents):
1451 Use list_parents, not get_parents from xdgmime, because
1452 the later doesn't use the cache.
1454 * xdgmime/xdgmimecache.c:
1455 (_xdg_mime_cache_list_mime_parents):
1456 Don't list the same type as parent multiple times.
1458 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1460 * === Released 2.15.4 ===
1462 2008-01-28 Alexander Larsson <alexl@redhat.com>
1465 Register local vfs with prio 0.
1468 Remove old name and prio class members
1470 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1472 * tests/g-file.c: Disable some tests that are failing in
1473 the absence of a http backend.
1475 2008-01-28 Alexander Larsson <alexl@redhat.com>
1479 Add registration hooks for extension points.
1480 Register the gio extension points.
1482 * fam/gfamdirectorymonitor.c:
1483 * fam/gfamfilemonitor.c:
1484 * glocaldirectorymonitor.[ch]:
1485 * glocalfilemonitor.[ch]:
1486 * gnativevolumemonitor.h:
1487 * gunionvolumemonitor.c:
1488 * gunixvolumemonitor.c:
1491 * inotify/ginotifydirectorymonitor.c:
1492 * inotify/ginotifyfilemonitor.c:
1493 Use the extension points registration instead
1494 of g_type_children().
1496 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1499 * gvolume.[hc]: Document new API.
1501 * gfile.c (g_file_copy_async): Fix docs
1503 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1505 * gbufferedinputstream.c:
1507 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1510 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1512 * glocalfile.c: Avoid trivial differences in translatable strings.
1514 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1516 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1517 build with gcc 3.4 (#509419)
1519 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1521 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1522 (#509994, Murray Cumming)
1524 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1526 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1527 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1528 this allows big jobs to be executed in chunks, instead of blocking
1529 the main loop for a long time.
1531 * gsimpleasyncresult.c:
1532 * giofile.c: Adapt callers.
1534 2008-01-25 Alexander Larsson <alexl@redhat.com>
1536 * gdesktopappinfo.c:
1537 Implement changes discussed on xdg list.
1538 Now we can add supported mimetypes by just using defaults.list
1539 We can also remove associations in defaults.list.
1541 2008-01-25 Alexander Larsson <alexl@redhat.com>
1543 * gdesktopappinfo.c:
1544 Don't make local copy of desktop file
1545 for mimetype changes if the file already
1546 supports the new mimetype.
1548 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1552 * gbufferedinputstream.c:
1553 * glocalfile.c: String improvements. (#511966,
1554 Theppitak Karoonboonyanan)
1556 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1558 * gioscheduler.h: Expand docs a bit.
1560 2008-01-24 Alexander Larsson <alexl@redhat.com>
1563 Add g_drive_get_identifier and
1564 g_drive_enumerate_identifiers
1567 Add g_volume_get_identifier and
1568 g_volume_enumerate_identifiers
1574 Implement identifiers for unix backend
1576 2008-01-24 Alexander Larsson <alexl@redhat.com>
1581 Add g_file_copy_async() (#511580)
1582 Based on patch from Carlos Garcia Campos
1584 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1586 * gioscheduler.c: Some documentation additions.
1588 2008-01-22 Alexander Larsson <alexl@redhat.com>
1590 * gdesktopappinfo.c:
1591 (g_desktop_app_info_new):
1592 Don't leak basename.
1594 2008-01-22 Alexander Larsson <alexl@redhat.com>
1596 * gdesktopappinfo.c:
1597 (g_desktop_app_info_new_from_filename):
1600 2008-01-22 Alexander Larsson <alexl@redhat.com>
1602 * glocalfileinfo.c (get_thumbnail_attributes):
1605 2008-01-22 Alexander Larsson <alexl@redhat.com>
1608 (canonicalize_filename):
1609 Canonicalize paths that start with more than
1613 (compare_two_files):
1614 (test_g_file_new_for_path):
1617 2008-01-22 Alexander Larsson <alexl@redhat.com>
1620 Allow UTF-8 in file:// parse names.
1622 * tests/Makefile.am:
1623 * tests/data-input-stream.c:
1624 * tests/data-output-stream.c:
1625 * tests/g-file-info.c:
1627 Added a bunch of tests from Tomas Bzatek
1629 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1631 * === Released 2.15.3 ===
1633 2008-01-21 Alexander Larsson <alexl@redhat.com>
1635 * gfileinputstream.[ch]:
1636 * gfileoutputstream.[ch]:
1638 Remove duplicated GSeekable functions. (#509990)
1639 Just use the g_seekable_xxx() calls instead.
1641 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1644 * gvolumemanager.c: Whitespace cleanups.
1646 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1647 Use the right mode when creating the file.
1649 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1651 * gfileenumerator.c:
1652 * gfileinputstream.c:
1654 * goutputstream.c: Documentation: Fixed minor typos
1655 and added more mentions of specific _finish() functions.
1657 2008-01-21 Alexander Larsson <alexl@redhat.com>
1659 * inotify/Makefile.am:
1660 * inotify/inotify-helper.c:
1661 * inotify/inotify-kernel.c:
1662 * inotify/inotify-path.c:
1663 * inotify/local_inotify.h: Removed.
1664 * inotify/local_inotify_syscalls.h: Removed.
1665 Removed the included copies of the inotify
1666 headers. We now only use the <sys/inotify.h>
1667 header which exists on modern systems.
1668 This fixes problems on ARM and SH5 (#510448)
1669 but is also generally much cleaner and future
1670 safe. For instance, if other OSes add support
1671 for inotify it should "just work".
1673 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1675 * inotify/*.c: Coding style fixes.
1676 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1677 for the 1/4 Hz timer.
1679 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1682 * gfilemonitor.[hc]:
1683 * gmemoryinputstream.c:
1684 * gmemoryoutputstream.c:
1685 * gmountoperation.c:
1686 * gthemedicon.c: Documentation updates
1688 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1690 * gfile.c: documentation: Fixed more minor
1693 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1695 * gmount.c: (g_mount_remount): documentation:
1696 Mention g_mount_remount_finish() instead of
1697 g_mount_unmount_finish().
1699 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1703 * gfile.c: Fixed some minor typos in the
1706 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1708 * gio/gvolumemonitor.c:
1709 (g_volume_monitor_get_connected_drives):
1710 (g_volume_monitor_get_volumes):
1711 (g_volume_monitor_get_mounts): Documentation:
1712 Clarify the ownership of the regurn GLists.
1714 2008-01-17 Alexander Larsson <alexl@redhat.com>
1717 Add the async find_enclosing_mount version
1718 to the header file too.
1720 2008-01-17 Alexander Larsson <alexl@redhat.com>
1723 Add async version of find_enclosing_mount
1724 with default implementation.
1726 2008-01-17 Alexander Larsson <alexl@redhat.com>
1731 Allow calls to implementation of copy and write
1732 even if the type of the file implementations is
1733 different. This can be used to implement native
1734 upload and download calls in a vfs.
1737 (g_local_file_move):
1738 Protect against the case where move is called
1739 with one file not being local.
1741 Make sure we call the progress callback once
1742 in the native move operation so that the caller
1743 knows how many bytes were copied.
1745 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1748 * gdatainputstream.c:
1750 * gfileoutputstream.c:
1755 * gunixmounts.c: Corrected some typos in the documentation:
1756 occured -> occurred.
1757 its -> it's (where appropriate).
1759 2008-01-16 Alexander Larsson <alexl@redhat.com>
1763 Add g_file_query_exists (#508771)
1765 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1770 * gvolume.c: For async functions that have no non-async
1771 version, document that the GAsyncReadyCallback may be NULL.
1774 2008-01-15 Alexander Larsson <alexl@redhat.com>
1776 * gmemoryinputstream.c:
1777 * gmemoryoutputstream.c:
1778 Don't do pointer arithmetic on void * (#508602)
1779 Patch from Kazuki IWAMOTO
1781 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1783 * === Released 2.15.2 ===
1785 2008-01-14 Alexander Larsson <alexl@redhat.com>
1787 * gfile.c (g_file_monitor_file):
1788 Don't set error here, since we fallback to polling monitor.
1790 2008-01-14 Alexander Larsson <alexl@redhat.com>
1793 (g_file_monitor_directory):
1794 (g_file_monitor_file):
1795 Add GError to file monitor calls
1797 * glocaldirectorymonitor.c:
1798 * glocaldirectorymonitor.h:
1800 * glocalfilemonitor.c:
1801 * glocalfilemonitor.h:
1803 Update for above change
1805 2008-01-14 Alexander Larsson <alexl@redhat.com>
1809 Handle root correctly in g_file_get_relative_path (#508719)
1811 2008-01-14 Alexander Larsson <alexl@redhat.com>
1814 Clean up docs and example for GAsyncResult (#508074)
1816 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1818 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1819 and correct some spelling mistakes. Bug #508108.
1821 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1823 * glocalfileinfo.c: Add a comment.
1825 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1827 * gfileinfo.c: GFileInfo description: Mention
1828 how to actually set attributes in a GFile and how to discover
1829 which attributes are settable. Bug #508378.
1831 2008-01-10 A. Walton <awalton@svn.gnome.org>
1833 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1834 (g_app_info_get_default_for_type):
1835 Check for NULL content types.
1837 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1839 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1841 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1843 * gfile.c: *_async() functions: Several small corrections
1844 to the documentation, mostly correcting copy/paste errors
1845 and improving some sentences.
1847 2008-01-09 Dan Winship <danw@gnome.org>
1849 * glocalfile.c (get_unique_filename): x86_64 fix
1851 2008-01-09 Alexander Larsson <alexl@redhat.com>
1856 Add g_unix_mount_guess_should_display and use
1857 for unix volume monitor backend.
1858 This means we more or less show what the
1859 gnome-vfs backend did.
1860 Based on patch from Padraig O'Briain
1862 2008-01-09 Alexander Larsson <alexl@redhat.com>
1866 Add g_themed_icon_new_with_default_fallbacks
1869 Use default fallbacks for icons
1871 2008-01-09 Alexander Larsson <alexl@redhat.com>
1874 * gmountoperation.[ch]:
1875 Change the API a bit so that unhandled methods
1876 get reported via the reply, rather than by
1877 the signal emission return value. This is because
1878 some handlers can't know this immediately without
1879 doing I/O, and this is an async operation that
1882 2008-01-09 Alexander Larsson <alexl@redhat.com>
1885 * fam/gfamdirectorymonitor.c:
1886 * fam/gfamfilemonitor.c:
1887 Fix double free crash (#508224)
1888 Patch from Joe Marcus Clarke
1890 008-01-07 Matthias Clasen <mclasen@redhat.com>
1892 * === Released 2.15.1 ===
1894 2008-01-07 Alexander Larsson <alexl@redhat.com>
1896 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1897 Fix warning (#507835)
1899 2008-01-07 Alexander Larsson <alexl@redhat.com>
1902 Pass --internal to glib-genmarshal
1905 * gmountoperation.c:
1907 Use better types for signal arguments (#507822)
1909 2008-01-07 Alexander Larsson <alexl@redhat.com>
1912 Build test subdir after .
1913 Remove gdirectorymonitor.[ch]
1915 * gdirectorymonitor.[ch]:
1919 Remove GDirectoryMonitor and make
1920 GFileMonitor the baseclass for both file and
1921 directory monitors. Lift the more generic
1922 rate limiting code from GDirectoryMonitor
1926 * fam/gfamdirectorymonitor.[ch]:
1927 * inotify/ginotifydirectorymonitor.[ch]:
1928 * inotify/inotify-helper.c:
1929 * glocaldirectorymonitor.[ch]:
1932 Update for the removed GDirectoryMonitor.
1934 * gmemoryoutputstream.c:
1935 Remove ununsed variable
1937 2008-01-07 Alexander Larsson <alexl@redhat.com>
1939 * gmemoryinputstream.c:
1940 Translate error strings
1943 * gmemoryoutputstream.[ch]:
1944 New implementation that avoids using GByteArray
1945 in implementation and API. (#506377)
1947 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1949 * tests/*: Add a test for memory input streams.
1951 * Makefile.am: Add tests to SUBDIRS.
1953 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1955 * glocalfilemonitor.c:
1956 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1959 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1961 * gdesktopappinfo.c: Fix a docs typo.
1963 * gfileattribute.c: Add information about extended attributes
1964 to the documentation. (#505058)
1966 2008-01-04 Alexander Larsson <alexl@redhat.com>
1969 * gmountoperation.c:
1970 Use the right type (uint) for the ask_password signal.
1972 2008-01-04 Alexander Larsson <alexl@redhat.com>
1977 Add g_app_info_supports_files()
1978 Remove desktop arg from g_app_info_should_show().
1980 * gdesktopappinfo.[ch]:
1981 Implement g_app_info_supports_files() and new should_show()
1982 Add g_desktop_app_info_set_desktop_env() to set the desktop
1983 for should_show(). (This will be set by gtk+ later)
1985 2008-01-04 Alexander Larsson <alexl@redhat.com>
1988 * gmemoryinputstream.[ch]:
1989 Improve API so that you can use multiple chunks
1990 of memory and custom destroy functions. (#506374)
1992 2008-01-03 Alexander Larsson <alexl@redhat.com>
1995 Handle NULL attribute matchers safely, as we return this
1996 for empty attribute matcher strings.
1998 2008-01-03 Alexander Larsson <alexl@redhat.com>
2000 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2001 Add /usr/local to list of internal mountpoints
2003 2008-01-03 Alexander Larsson <alexl@redhat.com>
2006 Check for HAVE_LCHOWN (#505887)
2008 2008-01-03 Alexander Larsson <alexl@redhat.com>
2012 Add define for selinux context attribute.
2013 Fix missing : -> :: namespace separator change
2014 Fix missing _ -> - name change for xattr-sys.
2017 2008-01-03 Alexander Larsson <alexl@redhat.com>
2020 Link to libglib and libgobject directly (#504879)
2021 Patch from Sebastien Bacher
2023 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2025 * gfile.c: Expanded the g_file_new_for_commandline_arg
2026 description a bit, based on the code and the docs of the
2027 other g_file_new_for_* functions.
2029 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2031 * gfilemonitor.h: Fixed typo in docs.
2033 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2035 Updates to GIO documentation. (#506395, Mikael Hermansson)
2037 * gcontenttype.c: Describe memory management for return value of
2038 g_content_types_get_registered(). Missing piece from #505815.
2039 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2040 GVolume, GDrive, GMounts, which hopefully gives the user less
2041 confusions when using this API. Following explainations from
2042 Alexander Larsson on gtk-devel-list.
2044 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2046 * gfileinfo.c: Expand the long description.
2048 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2051 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2052 fix builds with --disable-visibility. (#500273, Christian Persch)
2054 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2056 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2057 in the list of returned app infos.
2059 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2061 * gappinfo.c: Fix a cross-reference
2063 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2065 * gfileinputstream.c:
2066 * gfileoutputstream.c:
2070 * gdesktopappinfo.c:
2072 * gfileinfo.c: Documentation updates.
2074 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2076 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2079 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2081 * gcontenttype.c (g_content_types_get_registered): Don't return
2082 freed memory (#505815, Mikael Hermansson)
2084 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2086 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2087 used to detect statbuf->st_blocks. (#505042)
2089 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2091 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2092 environment handling. (#504829, Cosimo Cecchi)
2094 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2096 * gappinfo.c: Doc improvements
2098 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2101 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2103 * === Released 2.15.0 ===
2105 2007-12-20 Hans Breuer <hans@breuer.org>
2107 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2108 with symbols gwin32appinfo.obj, added gmount.obj
2109 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2111 2007-12-20 Alexander Larsson <alexl@redhat.com>
2117 * gfilenamecompleter.c:
2120 * gpollfilemonitor.c:
2121 File attribute renames:
2123 fs:: -> filesystem::
2124 id::fs -> id::filesystem
2126 2007-12-20 Alexander Larsson <alexl@redhat.com>
2135 Add GMountUnmountFlags to all unmount and
2137 Add g_mount_remount() call.
2139 2007-12-20 Alexander Larsson <alexl@redhat.com>
2141 * gvfs.c (get_default_vfs):
2142 Fix unused variable warning
2144 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2146 * pltcheck.sh: Update
2148 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2150 * gunionvolumemonitor.c:
2151 * gunixmount.c: Remove C99 comments
2153 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2155 * gio.symbols: Add some missing symbols
2157 2007-12-19 Alexander Larsson <alexl@redhat.com>
2160 Make g_io_modules_load_all_in_directory not unuse
2161 loaded modules so that users of it can do stuff
2163 Init internal "module" types.
2164 Initialize static prio and name for types so that
2165 we don't have to load modules to get it.
2167 * gnativevolumemonitor.h:
2169 Move is_supported to parent class so that
2170 non-native monitors can avoid being initialized
2171 too. (For instance GDaemonVolumeMonitor if we're
2172 not using GDaemonVfs.)
2174 * glocaldirectorymonitor.[ch]:
2175 * glocalfilemonitor.[ch]:
2176 * gunionvolumemonitor.c:
2177 * gunixvolumemonitor.c:
2179 Find plugins using the static prio+name to
2180 avoid unnecessarily loading the modules.
2182 2007-12-19 Alexander Larsson <alexl@redhat.com>
2187 2007-12-19 Alexander Larsson <alexl@redhat.com>
2189 * gunionvolumemonitor.c:
2190 Store the native type as GType, not class so that
2191 we can unload it. But still avoid unnecessarily
2194 2007-12-19 David Zeuthen <davidz@redhat.com>
2196 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2197 add signals 'disconnected' and 'eject-button' on GDrive. Add
2198 signal 'removed' on GVolume and 'unmounted' on GMount.
2200 * gdrive.c: (g_drive_base_init):
2202 * gfile.c: (g_file_mount_mountable),
2203 (g_file_mount_enclosing_volume):
2206 * gmount.c: (g_mount_base_init):
2208 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2209 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2210 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2214 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2216 * *.c: Fix up includes in the section docs.
2218 2007-12-17 Alexander Larsson <alexl@redhat.com>
2220 * gnativevolumemonitor.h:
2221 * gunionvolumemonitor.c:
2222 * gunixvolumemonitor.c:
2223 Add is_supported() to GNativeVolumeMonitorClass so
2224 that we can avoid having to create an object to see
2225 if the backend is supported at runtime.
2226 Also add name member and an env var to pick a specific
2227 volume monitor backend.
2231 Add cancellable to _g_mount_get_for_mount_path()
2233 * glocaldirectorymonitor.c:
2234 * glocalfilemonitor.c:
2235 Avoid loading and unloading modules while sorting.
2237 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2240 * gunixmounts.[hc]: Namespace waste reduction, move some
2241 g_get_unix_mount functions to the g_unix_mount namespace.
2244 * gunixvolumemonitor.c:
2246 * glocaldirectorymonitor.c: Update all callers.
2248 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2250 2007-12-17 Alexander Larsson <alexl@redhat.com>
2253 Add doc comments about what GFile operations are
2254 guaranteed to not block.
2256 2007-12-17 Alexander Larsson <alexl@redhat.com>
2259 Add missing #ifdef fixing OSX build.
2260 (#503334, patch from Richard Hult)
2262 2007-12-14 David Zeuthen <davidz@redhat.com>
2266 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2267 (g_mount_eject), (g_mount_eject_finish):
2269 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2270 (get_volume_for_uuid), (get_mount_for_uuid),
2271 (g_union_volume_monitor_class_init),
2272 (get_default_native_type_with_exclude), (get_default_native_type),
2273 (get_native_type), (update_native_type),
2274 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2275 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2276 (g_unix_mount_can_eject), (eject_unmount_cb),
2277 (eject_unmount_read_error), (eject_unmount_do),
2278 (g_unix_mount_unmount), (g_unix_mount_eject),
2279 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2280 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2281 (g_unix_mount_point_guess_can_eject):
2283 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2284 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2285 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2286 (g_unix_volume_mount), (g_unix_volume_eject),
2287 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2288 * gunixvolumemonitor.c: (get_volume_for_uuid),
2289 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2291 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2292 (g_volume_eject), (g_volume_eject_finish):
2294 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2295 (g_volume_monitor_get_mount_for_uuid):
2298 Provide eject() on both GMount and GVolume and utility functions
2299 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2300 ejected. Introduce the concept of UUID's and wire it into GVolume
2301 and GMount and provide API on GVolumeMonitor to find such
2302 instances. Also handle the case where an external
2303 GNativeVolumeMonitor fails to initialize. Lock around the
2304 _g_get_mount_for_mount_path() function such that volume monitor
2305 implementations won't have to do locking themselves.
2307 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2309 * gdesktopappinfo.c:
2315 * gvolume.h: Documentation updates
2317 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2320 * gfile.h: Doc updates
2322 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2325 * gdesktopappinfo.c: Use hash table iterators.
2327 2007-12-14 Alexander Larsson <alexl@redhat.com>
2330 * gfileattribute.[ch]:
2331 * gfileattribute-priv.h:
2332 Move GFileAttributeValue to a private header, as
2336 Make set_attribute take a type + a pointer instead
2337 of a GFileAttributeValue.
2340 Fix up for above changes.
2341 Add g_file_info_get_attribute_data to get
2342 all info in one call, g_file_info_get_attribute_status
2343 to get the status and g_file_info_get_attribute_as_string.
2347 * glocalfileinfo.[ch]:
2351 Make _guess_type static.
2353 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2356 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2357 made mkenums and friends use temporary files to avoid leaving
2358 empty generated files on failure (#503470).
2360 2007-12-14 Alexander Larsson <alexl@redhat.com>
2362 * gmountoperation.h:
2365 2007-12-14 Alexander Larsson <alexl@redhat.com>
2369 * gfileattribute.[ch]:
2372 * glocalfileoutputstream.c:
2373 * gmountoperation.[ch]:
2374 * goutputstream.[ch]:
2375 Clean up all flags enums to not have _FLAGS in them
2376 Make the names of some of the enums better.
2381 2007-12-14 Michael Natterer <mitch@imendio.com>
2383 * gio.symbols: fix g_io_scheduler symbol names.
2385 2007-12-14 Alexander Larsson <alexl@redhat.com>
2391 * gbufferedinputstream.h:
2392 * gbufferedoutputstream.h:
2395 * gdatainputstream.h:
2396 * gdataoutputstream.h:
2397 * gdesktopappinfo.h:
2398 * gdirectorymonitor.h:
2402 * gfileenumerator.h:
2405 * gfileinputstream.h:
2407 * gfilenamecompleter.h:
2408 * gfileoutputstream.h:
2409 * gfilterinputstream.h:
2410 * gfilteroutputstream.h:
2418 * gmemoryinputstream.h:
2419 * gmemoryoutputstream.h:
2421 * gmountoperation.h:
2424 * gsimpleasyncresult.h:
2426 * gunixinputstream.h:
2428 * gunixoutputstream.h:
2432 * inotify/Makefile.am:
2433 Only allow including <gio/gio.h> from apps
2435 2007-12-14 Alexander Larsson <alexl@redhat.com>
2437 * gioscheduler.[ch]:
2438 * gsimpleasyncresult.c:
2439 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2440 Split out the send_to_mainloop call into two versions instead
2441 of having the block argument.
2443 2007-12-13 Alexander Larsson <alexl@redhat.com>
2445 * gcancellable.[ch]:
2447 * gbufferedinputstream.c:
2448 * gfileenumerator.c:
2449 * gfileinputstream.c:
2450 * gfileoutputstream.c:
2454 g_push/pop_current_cancellable ->
2455 g_cancellable_push/pop_current
2457 2007-12-13 Alexander Larsson <alexl@redhat.com>
2461 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2463 2007-12-13 Alexander Larsson <alexl@redhat.com>
2465 * gmountoperation.h:
2466 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2468 2007-12-12 Alexander Larsson <alexl@redhat.com>
2471 Fix race condition when freeing proxy in
2472 g_io_job_send_to_mainloop().
2474 2007-12-12 Alexander Larsson <alexl@redhat.com>
2480 Make attribute namespace separator "::" instead of ":".
2481 Use - instead of _ as separator in attribute names.
2483 2007-12-12 Alexander Larsson <alexl@redhat.com>
2485 * gbufferedinputstream.h:
2486 * gbufferedoutputstream.h:
2487 * gdatainputstream.h:
2488 * gdataoutputstream.h:
2489 * gdirectorymonitor.h:
2490 * gfileenumerator.h:
2491 * gfileinputstream.h:
2493 * gfileoutputstream.h:
2494 * gfilterinputstream.h:
2495 * gfilteroutputstream.h:
2497 * glocalfileinputstream.h:
2498 * glocalfileoutputstream.h:
2499 * gmemoryinputstream.h:
2500 * gmemoryoutputstream.h:
2501 * gnativevolumemonitor.h:
2503 * gunixinputstream.h:
2504 * gunixoutputstream.h:
2507 s/parent/parent_instance/ in GObjects
2509 2007-12-12 Alexander Larsson <alexl@redhat.com>
2514 No need for padding for interfaces
2516 2007-12-12 Alexander Larsson <alexl@redhat.com>
2520 * gbufferedinputstream.c:
2521 * gbufferedoutputstream.c:
2524 * gdatainputstream.[ch]:
2525 * gdesktopappinfo.c:
2526 * gdirectorymonitor.c:
2528 * gfileattribute.[ch]:
2531 * gfileinputstream.h:
2532 * gfilemonitor.[ch]:
2533 * gfileoutputstream.[ch]:
2534 * gfilterinputstream.h:
2535 * gfilteroutputstream.h:
2538 * gloadableicon.[ch]:
2539 * gmemoryinputstream.c:
2540 * gmountoperation.c:
2542 Fix up a bunch of details in the docs.
2547 2007-12-11 David Zeuthen <davidz@redhat.com>
2549 Rework how volumes, drives and volume monitoring is
2550 done. Previosly the model was
2552 GDrive <1-1> GVolume
2554 where a GDrive instance represented a mount point and a GVolume
2555 instance represented a mounted file system. This patch changes it
2558 GDrive <1-N> GVolume <1-1> GMount
2560 where GMount now serves the purpose of the old GVolume and the new
2561 GVolume serves the purpose of the old GDrive. In addition the new
2562 GDrive interface is used to represent a collection of GVolume
2563 instances (typically partitions) and also contains utility to query
2564 the state of the physical drive the GDrive object represents (such
2565 as checking for media, polling the drive, ejecting the media etc.).
2567 Also implement mounting and unmounting in the Unix volume monitor
2568 backend. A subquent patch will introduce GDrive support for ejection
2572 * gdrive.c: (g_drive_is_media_check_automatic),
2573 (g_drive_is_media_removable), (g_drive_has_media),
2574 (g_drive_can_poll_for_media), (g_drive_eject),
2575 (g_drive_eject_finish), (g_drive_poll_for_media),
2576 (g_drive_poll_for_media_finish):
2578 * gfile.c: (g_file_find_enclosing_mount):
2581 * glocaldirectorymonitor.c:
2582 (g_local_directory_monitor_constructor), (mounts_changed):
2583 * glocalfile.c: (get_mount_info),
2584 (g_local_file_find_enclosing_mount),
2585 (g_local_file_file_iface_init):
2586 * gnativevolumemonitor.h:
2587 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2588 (get_connected_drives), (g_union_volume_monitor_class_init),
2589 (child_volume_added), (child_volume_removed),
2590 (child_volume_changed), (child_mount_added), (child_mount_removed),
2591 (child_mount_pre_unmount), (child_mount_changed),
2592 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2593 (g_union_volume_monitor_remove_monitor),
2594 (_g_mount_get_for_mount_path):
2595 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2596 (guess_system_internal), (_g_get_unix_mounts),
2597 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2598 (g_unix_mount_free), (g_unix_mount_compare),
2599 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2600 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2601 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2602 (type_to_icon), (g_unix_mount_guess_name),
2603 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2604 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2605 (_resolve_symlink), (_resolve_dev_root):
2607 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2608 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2609 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2610 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2611 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2612 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2613 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2614 (g_unix_volume_volume_iface_init):
2616 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2617 (get_mounts), (get_volumes), (get_connected_drives),
2618 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2619 (mountpoints_changed), (mounts_changed),
2620 (g_unix_volume_monitor_init),
2621 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2622 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2623 * gunixvolumemonitor.h:
2624 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2625 (g_volume_mount), (g_volume_mount_finish):
2627 * gvolumemonitor.c: (g_volume_monitor_class_init),
2628 (g_volume_monitor_get_connected_drives),
2629 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2632 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2634 * gmountoperation.h (GPasswordFlags): Close the gap
2636 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2638 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2640 * gdesktopappinfo.[hc]: Remove _-prefixes
2642 2007-12-10 Tor Lillqvist <tml@novell.com>
2644 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2647 2007-12-10 Alexander Larsson <alexl@redhat.com>
2649 * gfile.c (g_file_set_display_name):
2650 Don't hardcode '/' (#502727)
2652 2007-12-09 Hans Breuer <hans@breuer.org>
2654 * makefile.msc : follow lib naming convention
2655 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2656 for user and group name, tested with ../tests/gio-ls
2658 2007-12-09 A. Walton <awalton@svn.gnome.org>
2660 * gdesktopappinfo.c:
2666 * gfileenumerator.c:
2671 * gmemoryinputstream.c:
2672 * gmemoryoutputstream.c:
2674 * gsimpleasyncresult.c:
2675 More documentation cleanup and filling in missing information, bringing
2676 GIO to 99% symbol coverage.
2678 2007-12-08 Hans Breuer <hans@breuer.org>
2680 [gio compiles and links on win32, not sure how much already works]
2681 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2682 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2683 base on win32 API; prefer g_lstat() over lstat(); instead of
2684 localtime_r() use an all GLib implementation on win32;
2685 get_mount_info() still needs a win32 specifc implementation
2686 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2687 win32_get_file_user_info to get owner/group info without uid/gid
2688 * glocalfileinputstream.c : include <io.h> on win32
2689 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2690 definition, use g_win32_ftruncate() for G_OS_WIN32
2691 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2692 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2693 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2694 * makefile.msc : updated
2696 2007-12-07 Alexander Larsson <alexl@redhat.com>
2698 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2699 Avoid warning spew if error == NULL
2701 2007-12-07 Alexander Larsson <alexl@redhat.com>
2704 Update docs wrt etags
2706 2007-12-06 Alexander Larsson <alexl@redhat.com>
2709 Include sys/types.h for dev_t (#501919)
2711 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2715 Make abicheck and pltcheck pass.
2717 2007-12-05 Alexander Larsson <alexl@redhat.com>
2720 * giomodule-priv.h: Added.
2721 * glocaldirectorymonitor.c:
2722 * glocalfilemonitor.c:
2723 * gunionvolumemonitor.c:
2725 Actually add the declaration of _g_io_modules_ensure_loaded
2727 2007-12-05 Alexander Larsson <alexl@redhat.com>
2729 * gdatainputstream.c:
2734 * glocaldirectorymonitor.c:
2735 * glocalfilemonitor.c:
2736 * gunionvolumemonitor.c:
2738 Make g_io_modules_ensure_loaded a private function and
2739 don't pass in the dirname. This means we can do magic
2740 directory finding in the win32 version.
2741 Export the actual load-modules-in-directory code so that
2742 gvfs can reuse that.
2744 2007-12-05 Alexander Larsson <alexl@redhat.com>
2746 * gbufferedinputstream.c:
2747 * gbufferedoutputstream.c:
2750 * gfileenumerator.[ch]:
2751 * gfileinputstream.c:
2752 * gfileoutputstream.[ch]:
2753 * gfilterinputstream.c:
2754 * gfilteroutputstream.c:
2755 * ginputstream.[ch]:
2757 * glocalfileenumerator.c:
2758 * glocalfileinputstream.c:
2759 * glocalfileoutputstream.c:
2760 * gmemoryinputstream.c:
2761 * gmemoryoutputstream.c:
2762 * goutputstream.[ch]:
2765 * gunixinputstream.c:
2766 * gunixoutputstream.c:
2767 Rename all struct members named:
2768 read, write, close, truncate, or mount
2769 to foo_fn, as these are reserved names
2770 and could be defined as macros in libc.
2773 2007-12-04 Alexander Larsson <alexl@redhat.com>
2776 (g_output_stream_close):
2777 Only call flush if non-null.
2779 2007-11-30 Dan Winship <danw@gnome.org>
2781 * ginputstream.c (g_input_stream_set_pending): Make this take a
2782 GError and return a gboolean, and do the "outstanding operation"
2783 check (and the "stream is already closed" check) itself.
2784 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2786 * goutputstream.c (g_output_stream_set_pending)
2787 (g_output_stream_clear_pending): Likewise
2789 * gbufferedinputstream.c:
2790 * gfileinputstream.c:
2791 * gfileoutputstream.c: Update for that
2793 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2794 Like g_simple_async_report_error_in_idle, but takes a GError
2795 rather than building one.
2797 2007-11-30 Dan Winship <danw@gnome.org>
2799 * goutputstream.c: Don't cheat and unset the "pending" flag around
2800 inner calls. Instead, call the class method directly rather than
2801 the wrapper function that checks "pending"
2803 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2805 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2807 2007-12-03 Hans Breuer <hans@breuer.org>
2809 [start of port to win32/msvc]
2810 * gcancellable.c : HAVE_UNIST_H and _pipe()
2811 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2812 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2813 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2815 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2816 * glocalvfs.c : use HAVE_PWD_H
2817 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2818 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2819 * Makefile.am : added to EXTRA_DIST
2821 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2823 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2826 2007-12-03 Alexander Larsson <alexl@redhat.com>
2829 Handle OSX style xattrs API (#500506)
2831 2007-12-03 Alexander Larsson <alexl@redhat.com>
2835 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2837 2007-12-02 A. Walton <awalton@svn.gnome.org>
2841 Documentation accuracy fixes.
2843 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2845 * gioenumtypes.c.template: Fix typo.
2847 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2849 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2851 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2853 * gdirectorymonitor.c:
2854 * gfilemonitor.c: Add properties
2856 * gbufferedoutputstream.c: Don't mark buffer-size property
2859 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2861 * gbufferedoutputstream.c: Add auto-grow property.
2863 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2865 * *.c: Unify the capitalization of section headings.
2867 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2869 * gmountoperation.c: Add properties
2871 * gdatainputstream.c: Turn byte-order and newline-type into
2874 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2876 * gioenumtypes.[hc].template: Templates for enum registration
2878 * Makefile.am: Generate gioenumtypes.[hc]
2880 * gio.h: Include gioenumtypes.h
2882 * gfile.h: Add some explicit nicks.
2884 * gio.symbols: Add new symbols
2886 * pltcheck.sh: Adjust
2888 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2890 * *.c: Explain etags and link to the explanation
2892 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2894 * *.c: Explain I/O priority.
2896 * *.c: More coding style fixes.
2898 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2900 * gasyncresult.c: Add another paragraph to the intro,
2901 adjust coding style of example.
2903 2007-11-29 A. Walton <awalton@svn.gnome.org>
2906 Fixes unknown meaning in GAppLaunchContext docs.
2908 Clarify asynchronous ops.
2910 Fix entity tag docs.
2913 Provides missing gtk-doc section, fixes API docs slighly.
2914 * gsimpleasyncresult.c:
2915 Fill in missing info in docs.
2916 * gunixinputstream.c:
2917 * gunixoutputstream.c:
2918 Be more expressive in short description.
2920 Remove gtk-doc stubs for non-public API.
2922 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2924 * *.c: Coding style fixups
2926 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2928 * inotify/inotify-helper.c: Don't export the lock from libgio.
2930 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2933 * abicheck.sh: Fix copy-and-paste leftovers
2935 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2937 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2939 2007-11-28 Alexander Larsson <alexl@redhat.com>
2943 Removed unnecessary file
2945 * gdesktopappinfo.[ch]:
2948 * glocaldirectorymonitor.[ch]:
2950 * glocalfileenumerator.[ch]:
2951 * glocalfileinputstream.[ch]:
2952 * glocalfilemonitor.[ch]:
2953 * glocalfileoutputstream.[ch]:
2955 * gnativevolumemonitor.c:
2956 * gpollfilemonitor.[ch]:
2957 * gunionvolumemonitor.[ch]:
2960 * gunixvolumemonitor.[ch]:
2963 * inotify/ginotifydirectorymonitor.[ch]:
2964 * inotify/ginotifyfilemonitor.[ch]:
2965 * inotify/inotify-helper.c:
2966 Append _ to all internal functions
2970 Export symbols needed for modules
2972 2007-11-28 Alexander Larsson <alexl@redhat.com>
2975 * abicheck.sh: Added.
2976 * makegioalias.pl: Added.
2977 * pltcheck.sh: Added.
2978 * gio.symbols: Added.
2981 Initial work on adding symbol handling.
2984 Correct ifdef guard name
2987 * inotify/Makefile.am:
2988 * xdgmime/Makefile.am:
2989 Include toplevel Makefile.decl
2991 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2993 * gcontenttype.c: Move doc comments to the unix section.
2995 * *.[hc]: More trivial doc corrections.
2997 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2999 * gpollfilemonitor.c:
3003 * gdesktopappinfo.c:
3008 * gdatainputstream.c:
3009 * gdatainputstream.h:
3010 * gdataoutputstream.c:
3011 * gdataoutputstream.h:
3012 * gfileinfo.h: Doc cleanups
3014 2007-11-28 Andre Klapper <a9016009@gmx.de>
3016 * gdesktopappinfo.c: Fix a typo.
3018 2007-11-27 Andre Klapper <a9016009@gmx.de>
3020 * glocalfileoutputstream.c: Fix a typo.
3022 2007-11-27 Alexander Larsson <alexl@redhat.com>
3025 Don't include removed headers
3027 2007-11-27 Alexander Larsson <alexl@redhat.com>
3030 * gsocketinputstream.[ch]: Removed.
3031 * gsocketoutputstream.[ch]: Removed.
3032 * gunixinputstream.[ch]: Added.
3033 * gunixoutputstream.[ch]: Added.
3034 Renamed GSocket*Stream to GUnix*Stream and made
3035 it unix-only, since its not really only for sockets
3036 and it only works on unix (but is highly useful there).
3038 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3044 * gbufferedinputstream.c:
3045 * gbufferedinputstream.h:
3046 * gbufferedoutputstream.c:
3047 * gbufferedoutputstream.h:
3051 * gdatainputstream.c:
3052 * gdatainputstream.h:
3053 * gdataoutputstream.c:
3054 * gdataoutputstream.h:
3055 * gdirectorymonitor.c:
3056 * gdirectorymonitor.h:
3063 * gfileenumerator.c:
3064 * gfileenumerator.h:
3069 * gfileinputstream.c:
3070 * gfileinputstream.h:
3073 * gfilenamecompleter.c:
3074 * gfilenamecompleter.h:
3075 * gfileoutputstream.c:
3076 * gfileoutputstream.h:
3077 * gfilterinputstream.c:
3078 * gfilterinputstream.h:
3079 * gfilteroutputstream.c:
3080 * gfilteroutputstream.h:
3093 * glocalfileoutputstream.c:
3094 * gmemoryinputstream.c:
3095 * gmemoryinputstream.h:
3096 * gmemoryoutputstream.c:
3097 * gmemoryoutputstream.h:
3098 * gmountoperation.c:
3099 * gmountoperation.h:
3102 * gpollfilemonitor.c:
3105 * gsimpleasyncresult.c:
3106 * gsimpleasyncresult.h:
3107 * gsocketinputstream.c:
3108 * gsocketinputstream.h:
3109 * gsocketoutputstream.c:
3110 * gsocketoutputstream.h:
3117 * gunixvolumemonitor.c:
3126 Bumps documentation to 93% symbol coverage, touching most
3127 of the public files. Fixes broken function documentation prototypes.
3128 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3129 gtk-doc headers in private files.
3131 2007-11-27 Jürg Billeter <j@bitron.ch>
3133 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3134 (g_buffered_input_stream_read_byte):
3135 * gbufferedinputstream.h:
3136 New functions for efficient access to buffer and simple single byte
3139 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3140 (g_data_input_stream_read_until):
3141 * gdatainputstream.h:
3142 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3143 read_until with multiple stop chars.
3145 2007-11-27 Alexander Larsson <alexl@redhat.com>
3149 * inotify/Makefile.am:
3150 Use the user-specified giomoduledir
3152 2007-11-27 Alexander Larsson <alexl@redhat.com>
3156 Add catch-all gio.h header
3157 Don't install gdummyfile.h
3159 2007-11-26 Alexander Larsson <alexl@redhat.com>
3161 * Makefile.am (gioinclude_HEADERS):
3162 Remove trailing whitespace
3164 2007-11-26 Alexander Larsson <alexl@redhat.com>
3166 Merge gio-standalone into glib
3168 2007-11-25 Christian Kellner <gicmo@gnome.org>
3170 * gio/goutputstream.c:
3171 Fix small mistake in the docs.
3173 2007-11-21 Christian Persch <chpe@gnome.org>
3175 * gio/glocalfile.c: (g_local_file_trash):
3176 Convert filenames to UTF-8 for GError.
3177 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3178 as per xdg base dir spec.
3180 2007-11-21 Christian Persch <chpe@gnome.org>
3182 * gio/gdesktopappinfo.c:
3183 Use that g_key_file_to_data cannot fail.
3185 Use stock defines for the key file group and key names.
3188 2007-11-21 Alexander Larsson <alexl@redhat.com>
3191 (copy_stream_with_progress):
3192 Make sure we do a final progress callback with
3193 the full total size.
3195 2007-11-21 Alexander Larsson <alexl@redhat.com>
3198 Export g_file_copy_attributes
3199 Remove padding as its not needed for interfaces
3201 2007-11-20 Alexander Larsson <alexl@redhat.com>
3206 Add G_IO_ERROR_WOULD_MERGE for
3207 copy/move dir on dir with overwrite.
3209 2007-11-20 Alexander Larsson <alexl@redhat.com>
3212 * gio/glocalfileinfo.c:
3213 Add COPY_NAME (this is an optional
3214 non-modified utf8 version of the name) that
3217 2007-11-20 Alexander Larsson <alexl@redhat.com>
3219 * gio/glocalfileenumerator.c:
3220 Report errors as GIOError, not GFileError
3222 2007-11-16 Alexander Larsson <alexl@redhat.com>
3224 * gio/glocalfileoutputstream.c:
3225 * gio/gwin32appinfo.c:
3226 Fix typos in strings.
3227 Patch from Luca Ferretti <elle.uca@libero.it>
3229 2007-11-15 Alexander Larsson <alexl@redhat.com>
3232 Post release version bump
3234 === gio-standalone 0.1.2 ===
3236 2007-11-15 Alexander Larsson <alexl@redhat.com>
3238 * docs/reference/gio/Makefile.am:
3239 Fix up distcheck by removing weird
3245 2007-11-14 Alexander Larsson <alexl@redhat.com>
3247 * gio/gdesktopappinfo.c:
3248 * gio/glocaldirectorymonitor.c:
3250 * gio/glocalfileinfo.c:
3251 * gio/inotify/inotify-sub.c:
3252 * programs/gio-cat.c:
3253 * programs/gio-copy.c:
3254 * programs/gio-info.c:
3255 * programs/gio-ls.c:
3256 * programs/gio-monitor-dir.c:
3257 * programs/gio-monitor-file.c:
3258 * programs/gio-mount.c:
3259 * programs/gio-move.c:
3260 * programs/gio-rm.c:
3261 * programs/gio-save.c:
3262 * programs/gio-trash.c:
3263 Leak fixes from Kjartan Maraas
3265 2007-11-14 Alexander Larsson <alexl@redhat.com>
3267 * gio/fam/fam-helper.c:
3269 * gio/glocalfileinfo.c:
3273 * gio/inotify/inotify-diag.c:
3274 * gio/inotify/inotify-kernel.c:
3275 Various code cleanups from Kjartan Maraas
3277 2007-11-14 Alexander Larsson <alexl@redhat.com>
3279 * gio/gioscheduler.c:
3281 Set up threadpool so that we cache 2 unused
3282 idle threads for at 15 secs. This means we
3283 will reuse thread-local data (like dbus connections)
3286 2007-11-14 Alexander Larsson <alexl@redhat.com>
3288 * gio/fam/fam-helper.c:
3289 * gio/fam/gfamdirectorymonitor.c:
3290 * gio/fam/gfamfilemonitor.c:
3292 * gio/gcontenttype.c:
3293 * gio/gdatainputstream.c:
3294 * gio/gdataoutputstream.c:
3298 * gio/gfileattribute.h:
3299 * gio/gfileenumerator.c:
3301 * gio/ginputstream.c:
3304 * gio/glocalfileinfo.c:
3305 * gio/goutputstream.c:
3306 * gio/gpollfilemonitor.c:
3307 * gio/gsimpleasyncresult.c:
3308 * gio/gunixmounts.c:
3309 * gio/gunixmounts.h:
3310 * gio/inotify/ginotifydirectorymonitor.c:
3311 * gio/inotify/ginotifyfilemonitor.c:
3312 * gio/inotify/inotify-diag.c:
3313 * gio/inotify/inotify-kernel.c:
3314 * gio/inotify/inotify-path.c:
3316 * gio/test-streams.c:
3317 * programs/gio-info.c:
3318 * programs/gio-monitor-dir.c:
3319 * programs/gio-monitor-file.c:
3320 Various code cleanups from Kjartan Maraas
3322 2007-11-13 Alexander Larsson <alexl@redhat.com>
3325 Handle the uri-scheme calls for dummy files
3327 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3329 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3330 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3331 to avoid clash with the C++ keyword.
3333 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3335 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3336 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3338 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3340 * gio/glocaldirectorymonitor.c:
3341 * gio/glocalfilemonitor.c:
3342 * gio/gunionvolumemonitor.c:
3343 Don't use g_once_init_*() for initializations that could fail and
3344 could leave the initialization variable set to 0 but use GOnce.
3345 This prevents a deadlock on the second call when trying to create
3346 a monitor and no monitor type is available. Thanks to Sven Herzberg
3349 2007-11-11 Sven Herzberg <sven@imendio.com>
3351 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3352 #ifdef (make it work on MacOS X again)
3354 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3356 Fixes Changelog for last two commits (sorry guys).
3358 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3360 * gio/gbufferedinputstream.c:
3361 * gio/gdatainputstream.c:
3363 * gio/gfileoutputstream.c:
3364 * gio/gfilterinputstream.c:
3365 * gio/glocalfileinputstream.c:
3368 More consistency fixes in g*stream.c files.
3369 Significant clean of gfile's documentation, filling in of
3370 asynchronous operations documentation.
3372 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3374 * gio/gasyncresult.c:
3375 * gio/gbufferedinputstream.c:
3376 * gio/gbufferedoutputstream.c:
3377 * gio/gcancellable.c:
3378 * gio/gcontenttype.c:
3379 * gio/gdatainputstream.c:
3380 * gio/gdataoutputstream.c:
3381 * gio/gdesktopappinfo.c:
3384 * gio/gfileattribute.c:
3385 * gio/gio/gfileenumerator.c:
3387 * gio/gfileinputstream.c:
3388 * gio/gfilemonitor.c:
3389 * gio/gfileoutputstream.c:
3390 * gio/ginputstream.c:
3392 * gio/gioscheduler.c:
3393 * gio/gloadableicon.c:
3394 * gio/glocalfileoutputstream.c:
3395 * gio/gmemoryoutputstream.c:
3396 * gio/gmountoperation.c:
3397 * gio/goutputstream.c:
3399 * gio/gsimpleasyncresult.c:
3400 * gio/gunionvolumemonitor.c:
3401 * gio/gunixmounts.c:
3402 * gio/gunixvolume.c:
3406 * gio/gvolumemonitor.c:
3407 Updated documentation stubs, working towards consistency and
3410 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3412 * gio/gmemoryoutputstream.c:
3413 * gio/gmemoryoutputstream.h:
3414 Change g_memory_output_stream_set_free_on_close() to
3415 g_memory_output_stream_set_free_data() as this makes more sense and
3416 is more consistent with GMemoryInputStream.
3418 2007-11-07 Alexander Larsson <alexl@redhat.com>
3425 Change how we find the default vfs so that
3426 we can handle a gvfs failing to init
3428 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3430 * gio/gbufferedoutputstream.c:
3431 * gio/gdatainputstream.c:
3432 * gio/gdataoutputstream.c:
3433 * gio/gfileinputstream.c:
3434 * gio/gfileoutputstream.c:
3435 * gio/gfilterinputstream.c:
3436 * gio/gfilteroutputstream.c:
3437 * gio/ginputstream.c:
3438 * gio/gmemoryinputstream.c:
3439 * gio/gmemoryoutputstream.c:
3440 * gio/goutputstream.c:
3441 * gio/gsimpleasyncresult.c:
3442 * gio/gsocketinputstream.c:
3443 * gio/gsocketoutputstream.c:
3444 Add guards to the remaining public functions, add a TODO for
3445 an unimplemented function and remove some useless guards.
3447 2007-11-07 Alexander Larsson <alexl@redhat.com>
3450 Autoconf checks for the various types of
3451 getpwuid_r and getgrgid_r
3453 * gio/glocalfileinfo.c:
3454 Use the autoconf checks from above
3456 2007-11-07 Alexander Larsson <alexl@redhat.com>
3459 (g_local_file_query_filesystem_info):
3460 Some fixes for the statvfs case
3462 2007-11-07 Alexander Larsson <alexl@redhat.com>
3465 (g_local_file_query_filesystem_info):
3466 Pick the "best" of statfs / statvfs for the system
3467 if both are availible.
3469 2007-11-07 Alexander Larsson <alexl@redhat.com>
3471 Solaris fixes from Halton.Huo@Sun.COM:
3478 * gio/glocalfileinfo.c:
3479 Fix for solaris definition of getpwuid_r
3481 * gio/test-streams.c:
3482 Use G_GNUC_PRETTY_FUNCTION
3484 2007-11-07 Alexander Larsson <alexl@redhat.com>
3486 * gio/gdesktopappinfo.c:
3487 (update_default_list):
3488 Remove double semicolon.
3489 Patch from Jens Granseuer
3491 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3493 * docs/reference/gio/gio-sections.txt:
3494 * gio/gbufferedinputstream.c:
3495 * gio/gbufferedinputstream.h:
3496 * gio/gdatainputstream.c:
3497 * gio/gfileenumerator.c:
3498 * gio/gioscheduler.c:
3499 * gio/gunionvolumemonitor.c:
3501 * programs/gio-save.c:
3502 Fix typo: availible -> available. Unfortuntely this breaks API
3503 and ABI as g_buffered_input_stream_get_available() was renamed.
3505 * gio/gunixmounts.c:
3506 * gio/gbufferedinputstream.c:
3507 Add guards for public functions.
3509 2007-11-06 Ross Burton <ross@openedhand.com>
3511 * docs/reference/gio/Makefile.am:
3512 Fix invalid += usage which automake 1.10 doesn't like.
3514 2007-11-06 Alexander Larsson <alexl@redhat.com>
3517 (g_app_launch_context_class_init):
3520 Patch from Ross Burton
3522 2007-11-06 Alexander Larsson <alexl@redhat.com>
3525 Post release version bump
3527 === gio-standalone 0.1.1 ===
3529 2007-11-06 Alexander Larsson <alexl@redhat.com>
3532 Bump version to 0.1.1
3534 * gio/gsimpleasyncresult.c:
3535 (g_simple_async_result_set_from_error):
3536 Remove bogus g_return_if_fail
3538 2007-11-06 Alexander Larsson <alexl@redhat.com>
3541 The name is gio-standalone
3544 Add top src/builddir to includedir
3546 2007-11-06 Alexander Larsson <alexl@redhat.com>
3548 * docs/reference/gio/gio-sections.txt:
3550 * gio/gbufferedinputstream.c:
3551 * gio/gbufferedoutputstream.c:
3552 * gio/gcancellable.c:
3553 * gio/gdatainputstream.h:
3554 * gio/gdataoutputstream.c:
3555 * gio/gdataoutputstream.h:
3556 * gio/gdirectorymonitor.c:
3558 * gio/gfileattribute.c:
3559 * gio/gfileattribute.h:
3560 * gio/gfileenumerator.c:
3561 * gio/gfileenumerator.h:
3564 * gio/gfileinputstream.h:
3565 * gio/gfilemonitor.c:
3566 * gio/gfileoutputstream.h:
3567 * gio/glocalfilemonitor.h:
3568 * gio/glocalfileoutputstream.h:
3569 * gio/gmemoryinputstream.c:
3570 * gio/gmemoryoutputstream.c:
3571 * gio/gmountoperation.c:
3572 * gio/goutputstream.c:
3573 * gio/goutputstream.h:
3575 * gio/gsimpleasyncresult.c:
3576 * gio/gunixmounts.c:
3577 * gio/gunixmounts.h:
3579 * gio/inotify/inotify-helper.c:
3580 Fix gtk-doc warnings
3582 Patch from Ross Burton
3584 2007-11-06 Alexander Larsson <alexl@redhat.com>
3586 * gio/gfilenamecompleter.c:
3587 (g_filename_completer_get_completions):
3590 * gio/gunixvolume.c:
3591 Remove unused function
3593 Patches from Ross Burton
3595 2007-11-06 Alexander Larsson <alexl@redhat.com>
3600 Padding not needed for interfaces
3602 2007-11-06 Alexander Larsson <alexl@redhat.com>
3604 * gio/gfilemonitor.c:
3608 Make giotypes.h an internal file
3611 * gio/gbufferedinputstream.h:
3612 * gio/gbufferedoutputstream.h:
3613 * gio/gcancellable.h:
3614 * gio/gdatainputstream.h:
3615 * gio/gdataoutputstream.h:
3616 * gio/gdirectorymonitor.c:
3617 * gio/gdirectorymonitor.h:
3622 * gio/gfileattribute.h:
3623 * gio/gfileenumerator.h:
3628 * gio/gfilemonitor.c:
3629 * gio/gfilemonitor.h:
3630 * gio/gfilenamecompleter.c:
3631 * gio/gfilenamecompleter.h:
3632 * gio/gfilterinputstream.h:
3633 * gio/gfilteroutputstream.h:
3634 * gio/ginputstream.h:
3635 * gio/gmemoryinputstream.h:
3636 * gio/gmemoryoutputstream.h:
3637 * gio/gmountoperation.c:
3638 * gio/gmountoperation.h:
3639 * gio/gnativevolumemonitor.c:
3640 * gio/goutputstream.h:
3643 * gio/gsimpleasyncresult.c:
3644 * gio/gsimpleasyncresult.h:
3645 * gio/gsocketinputstream.h:
3646 * gio/gsocketoutputstream.h:
3647 * gio/gthemedicon.c:
3648 * gio/gthemedicon.h:
3652 * gio/gvolumemonitor.c:
3653 * gio/gvolumemonitor.h:
3654 Add padding in classes where it seems useful
3655 Don't include giotypes.h from public headers
3656 Move in Class definitions into c file where possible
3661 2007-11-06 Alexander Larsson <alexl@redhat.com>
3663 * docs/reference/gio/gio-docs.xml:
3664 Better structure for API docs
3666 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3669 * gio/gloadableicon.c:
3670 * gio/gsimpleasyncresult.c:
3671 * gio/gthemedicon.c:
3672 Add some more guards to public functions. Only files missing are now
3675 2007-11-06 Alexander Larsson <alexl@redhat.com>
3677 * docs/reference/gio/gio-docs.xml:
3678 Remove old files, add missing ones
3680 2007-11-06 Alexander Larsson <alexl@redhat.com>
3682 * docs/reference/gio/gio-sections.txt:
3685 Hide implementation classes
3687 * gio/gdriveprivate.h:
3688 * gio/gvolumeprivate.h:
3689 Remove non-existing function declarations
3691 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3694 Fix compilation warnings and add guards to the new functions.
3696 * gio/gasyncresult.c:
3698 Add guards to the public functions.
3701 Implement get_path().
3703 2007-11-06 Alexander Larsson <alexl@redhat.com>
3705 * gio/gfilenamecompleter.c:
3706 Make g_filename_completer_get_completions
3707 return char ** instead of GList for
3710 * docs/reference/gio/gio-docs.xml:
3711 * docs/reference/gio/gio-sections.txt:
3713 * gio/gasyncresult.c:
3714 * gio/gbufferedinputstream.c:
3715 * gio/gbufferedoutputstream.c:
3716 * gio/gcancellable.c:
3717 * gio/gcontenttype.c:
3718 * gio/gdatainputstream.c:
3719 * gio/gdataoutputstream.c:
3720 * gio/gdesktopappinfo.c:
3721 * gio/gdirectorymonitor.c:
3725 * gio/gfileattribute.c:
3726 * gio/gfileenumerator.c:
3729 * gio/gfileinputstream.c:
3730 * gio/gfilemonitor.c:
3731 * gio/gfilenamecompleter.c:
3732 * gio/gfilenamecompleter.h:
3733 * gio/gfileoutputstream.c:
3734 * gio/gfilterinputstream.c:
3736 * gio/ginputstream.c:
3738 * gio/gioscheduler.c:
3739 * gio/gloadableicon.c:
3740 * gio/glocaldirectorymonitor.c:
3742 * gio/glocalfileinputstream.c:
3743 * gio/glocalfilemonitor.c:
3744 * gio/glocalfileoutputstream.c:
3746 * gio/gmemoryinputstream.c:
3747 * gio/gmemoryoutputstream.c:
3748 * gio/gmountoperation.c:
3749 * gio/goutputstream.c:
3750 * gio/gpollfilemonitor.c:
3752 * gio/gsimpleasyncresult.c:
3753 * gio/gsocketinputstream.c:
3754 * gio/gsocketoutputstream.c:
3755 * gio/gthemedicon.c:
3756 * gio/gunionvolumemonitor.c:
3758 * gio/gunixmounts.c:
3759 * gio/gunixvolume.c:
3760 * gio/gunixvolumemonitor.c:
3764 * gio/gvolumemonitor.c:
3765 * gio/gwin32appinfo.c:
3766 Add (mostly stub) doc strings to public functions.
3767 Patch from Andrew Walton (awalton@gmail.com)
3769 2007-11-06 Alexander Larsson <alexl@redhat.com>
3771 * gio/gappinfo.[ch]:
3772 Added GAppLaunchContext object and pass that to launch.
3773 This allows simple implementation of both
3774 launch-on-screen and startup notification via a gtk+
3775 subclass of GAppLaunchContext
3777 * gio/gdesktopappinfo.c:
3778 Implement GAppLaunchContext API
3780 * gio/gwin32appinfo.c:
3783 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3785 * gio/gmountoperation.c:
3786 Add some guards to GMountOperation's public functions.
3788 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3792 * gio/gcancellable.c:
3793 * gio/gdirectorymonitor.c:
3795 * gio/gfileenumerator.c:
3796 * gio/gfilemonitor.c:,
3797 * gio/gfilenamecompleter.c:
3800 * gio/gioscheduler.c:
3804 * gio/gvolumemonitor.c:
3805 Add even more guards to various public functions.
3807 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3810 Add guards to the public functions of GAppInfo.
3812 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3814 * gio/gcontenttype.c:
3815 Add some more guards for public functions.
3817 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3819 * gio/fam/fam-module.c:
3820 * gio/fam/gfamdirectorymonitor.c:
3821 * gio/fam/gfamdirectorymonitor.h:
3822 * gio/fam/gfamfilemonitor.c:
3823 * gio/fam/gfamfilemonitor.h:
3824 * gio/inotify/ginotifydirectorymonitor.c:
3825 * gio/inotify/ginotifydirectorymonitor.h:
3826 * gio/inotify/ginotifyfilemonitor.c:
3827 * gio/inotify/ginotifyfilemonitor.h:
3828 Add proper copyright information and remove an unused variable
3829 in the GInotifyFileMonitor constructor.
3831 * gio/gcancellable.c:
3832 Add a guard for a public function and an assertion to prevent
3833 an undefined program state.
3835 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3837 * gio/gfileattribute.c:
3838 Don't run into an assertion if the given attribute value is NULL
3839 in g_file_attribute_value_get_*() but instead return a fallback
3840 value that makes sense in most situations. Passing them a attribute
3841 value with the wrong type will still run into an assertion.
3843 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3845 * gio/gfileattribute.c:
3847 Add even more guards to the public functions. Also fix the refcounting
3848 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3849 let g_file_info_list_attributes() filter the attributes by namespace
3850 instead of simply ignoring the namespace parameter.
3852 2007-11-03 Sven Herzberg <sven@imendio.com>
3854 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3855 (This makes gio work on MacOS X again)
3857 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3860 Build the gio subdirectory before the docs. Otherwise the build will
3863 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3864 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3865 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3866 Add guards to the public functions.
3868 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3870 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3871 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3872 to prevent a compiler warning.
3874 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3875 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3876 return something in the non-void function find_topdir_for().
3878 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3885 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3887 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3888 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3889 * gwin32appinfo.c (g_win32_app_info_launch):
3890 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3891 envp_for_startup_id, g_desktop_app_info_launch,
3892 g_desktop_app_info_launch_uris):
3894 Give an opaque 'startup_id' string instead of 'envp'.
3895 Support empty file lists for launching new windows.
3896 Fix infinite recursion bug when launching URIs.
3898 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3901 Add guard to the new g_file_get_uri_scheme() function.
3903 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3906 Convert a g_return_val_if_fail() to setting the GError instead as
3907 otherwise applications have to verify the parameter before otherwise
3908 and the parameter might come directly from the user.
3910 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3912 * gio/inotify/ginotify*.[ch]:
3913 Add missing copyright information.
3915 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3918 Add guards in the beginning of public functions to check for valid
3919 parameters and fix a bug in copy_stream_with_progress() that could've
3920 caused writing less bytes than reading.
3921 * gio/glocalfileinfo.c:
3922 Check for a NULL parameter and set the GError accordingly then.
3923 * gio/goutputstream.c:
3924 Fix the same bug as in gfile.c that could've caused writing less bytes
3925 than reading in g_output_stream_real_splice().
3927 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3930 Use the correct gvolumeprivate.h naming
3932 2007-11-01 Christian Kellner <gicmo@gnome.org>
3935 Remove leftover "$(daemon_sources)" entry.
3937 2007-11-01 Christian Kellner <gicmo@gnome.org>
3942 Add copyright information to source files.
3944 2007-11-01 Alexander Larsson <alexl@redhat.com>
3948 Add g_file_get_uri_scheme
3950 2007-11-01 Alexander Larsson <alexl@redhat.com>
3953 * gio/gdesktopappinfo.c:
3954 * gio/gwin32appinfo.c:
3955 Add g_app_info_get_default_for_uri_scheme.
3957 2007-11-01 Alexander Larsson <alexl@redhat.com>
3960 Correct filename for gdriveprivate.h
3962 2007-10-31 Alexander Larsson <alexl@redhat.com>
3965 Rename id:value to id:file
3968 * gio/glocalfileinfo.c:
3971 2007-10-31 Alexander Larsson <alexl@redhat.com>
3973 * gio/gunixvolume.c:
3975 Remove g_volume_get_platform_id, as thats not
3976 needed with the simpler union volume monitor
3978 2007-10-31 Alexander Larsson <alexl@redhat.com>
3981 * gio/guniondrive.[ch]: Removed.
3982 * gio/gunionvolume.[ch]: Removed.
3983 Remove GUnionDrive/Volume
3985 * gio/gunionvolumemonitor.c:
3986 Simplify union volume monitor, now we
3987 only have one native volume monitor and
3988 we use the actual volumes/drives from the
3989 child monitors instead of wrapping them
3991 * gio/gnativevolumemonitor.[ch]:
3992 Base class for native volume monitors.
3993 Includes priority and get_volume_for_mountpoint
3996 Add g_file_find_enclosing_volume
3999 Remove volume name fs attribute
4000 Add readonly fs attribute
4003 Implement readonly attribute
4004 remove volume name attribute
4005 Implement find_enclosing volume
4007 * gio/gunixmounts.c:
4008 Add a volume for "/".
4010 * gio/gunixvolume.[ch]:
4011 Set better name for /
4013 * gio/gunixvolumemonitor.[ch]:
4014 Derive from GNativeVolumeMonitor
4015 Implement get_volume_for_mountpoint
4018 GVolume typedef moved to gfile.h
4020 * gio/gvolumeprivate.h:
4021 Add g_volume_get_for_mount_path
4023 2007-10-31 Alexander Larsson <alexl@redhat.com>
4025 * gio/gunixmounts.[ch]:
4026 Add cache info to unix mount listers
4027 Make getmntent use threadsafe
4028 Add is_system_internal attribute for GUnixMount
4030 * gio/gunixvolume.c:
4031 (g_unix_volume_new):
4032 Use is_system_internal instead of own code
4034 * gio/glocaldirectorymonitor.c:
4035 * gio/gunixvolumemonitor.c:
4036 Update to new gunixmounts API
4041 2007-10-30 Alexander Larsson <alexl@redhat.com>
4044 Add volume name fsinfo attribute
4047 Read volume name info
4049 * gio/gunionvolumemonitor.c:
4050 Fix infinite loops when finalizing a union volume monitor
4052 2007-10-30 Alexander Larsson <alexl@redhat.com>
4054 * gio/goutputstream.[ch]:
4055 Add splice() with default implementation
4057 * gio/gsocketoutputstream.c:
4058 (g_socket_output_stream_write):
4059 Return error on cancellation correctly.
4061 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4063 * gio/glocalfile.c (g_local_file_trash):
4064 Do not leak a string.
4066 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4068 * gio/gfile.c (g_file_load_contents):
4069 Unref the stream after closing it.
4071 2007-10-25 Alexander Larsson <alexl@redhat.com>
4073 * gio/gioscheduler.h:
4076 2007-10-25 Alexander Larsson <alexl@redhat.com>
4080 Add g_file_has_uri_scheme and implement for local files
4082 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4084 * gio/gdesktopappinfo.c: do not leak a string.
4086 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4088 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4089 (g_local_directory_monitor_new):
4090 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4091 (g_local_file_monitor_new):
4092 Only look for the monitor type that should be used the first time
4093 and use g_qsort_with_data() instead of our own bubble sort
4096 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4099 * gio/fam/Makefile.am:
4100 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4101 * gio/fam/fam-helper.h:
4102 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4103 * gio/fam/gfamdirectorymonitor.c:
4104 * gio/fam/gfamdirectorymonitor.h:
4105 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4106 * gio/fam/gfamfilemonitor.h:
4107 * gio/glocaldirectorymonitor.c:
4108 * gio/glocaldirectorymonitor.h:
4109 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4110 * gio/glocalfilemonitor.h:
4111 * gio/inotify/Makefile.am:
4112 * gio/inotify/ginotifydirectorymonitor.c:
4113 * gio/inotify/ginotifydirectorymonitor.h:
4114 * gio/inotify/ginotifyfilemonitor.c:
4115 * gio/inotify/ginotifyfilemonitor.h:
4116 Implement the FAM and Inotify monitors as
4117 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4118 their own GIO module. GLocal(Directory|File)Monitor will use the
4119 monitor with the highest rank that is supported on that machine.
4121 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4124 Change GIO module dir to $(libdir)/gio/modules and change
4125 the log domain from GVFS to GIO. Also only export symbols starting
4126 with g_ in the resulting library.
4127 * gio/test-streams.c: (main):
4128 Set log handler for the GIO log domain.
4130 2007-10-22 Alexander Larsson <alexl@redhat.com>
4132 * gio/gfilenamecompleter.[ch]:
4133 Add g_filename_completer_set_dirs_only
4135 2007-10-22 Alexander Larsson <alexl@redhat.com>
4138 * gio/gurifuncs.[ch]:
4139 Add some simple URI helpers
4141 * gio/gfilenamecompleter.[ch]:
4142 Added object for filename (parse name actually) completion
4145 Handle ~ in parse names
4147 2007-10-17 Alexander Larsson <alexl@redhat.com>
4150 * gio/glocalfileinfo.c:
4151 Add and implement id:value attribute
4153 2007-10-17 Alexander Larsson <alexl@redhat.com>
4156 * gio/guniondrive.c:
4158 Add and implement g_drive_has_volumes
4160 2007-10-17 Alexander Larsson <alexl@redhat.com>
4163 * gio/glocalfileinfo.[ch]:
4164 Add unix:is_mountpoint and implement for local files
4166 2007-10-16 Alexander Larsson <alexl@redhat.com>
4168 * gio/gunionvolumemonitor.c:
4169 (g_union_volume_monitor_init):
4170 Fix up the unix type getting so that it works with gcc
4172 2007-10-12 Alexander Larsson <alexl@redhat.com>
4175 * gio/glocalfileinfo.c:
4176 Add thumbnail:failed to file info
4178 2007-10-12 Richard Hult <richard@imendio.com>
4180 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4181 optimizing away the get_type call (happens with some gcc versions,
4182 like the one shipped with OS X 10.4).
4184 2007-10-12 Alexander Larsson <alexl@redhat.com>
4186 * gio/glocalfileinfo.c:
4187 (_g_local_file_info_set_attribute):
4188 Fix build if not HAVE_XATTR
4189 Patch from Milosz Derezynski <internalerror@gmail.com>
4191 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4193 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4194 around for review, otherwise I would have asked you before
4197 2007-10-11 Alexander Larsson <alexl@redhat.com>
4200 Add thumbnail:path attribute
4202 * gio/glocalfileinfo.c:
4203 Implement thumbnail:path for local files
4205 2007-10-11 Alexander Larsson <alexl@redhat.com>
4207 * gio/glocalfileinfo.c:
4208 (_g_local_file_info_get):
4209 Avoid duplicate icon names
4211 2007-10-11 Alexander Larsson <alexl@redhat.com>
4213 * gio/gthemedicon.[ch]:
4214 Change g_themed_icon_get_names return type to const
4216 2007-10-10 Alexander Larsson <alexl@redhat.com>
4218 * gio/glocalfileinfo.c:
4219 Don't reference freed memory
4221 2007-10-10 Alexander Larsson <alexl@redhat.com>
4223 * gio/gfileattribute.c:
4226 * gio/glocalfileinfo.c:
4229 2007-10-10 Alexander Larsson <alexl@redhat.com>
4232 Check for NULL icons
4234 * gio/gfileattribute.c:
4235 Don't dup when getting objects (same as for string attributes)
4237 * gio/gicon.c (g_icon_equal):
4238 Safely handle NULLs in equal
4240 2007-10-10 Alexander Larsson <alexl@redhat.com>
4243 Fix c++ compilation issues
4244 Patch from Milosz Derezynski <internalerror@gmail.com>
4246 2007-10-10 Alexander Larsson <alexl@redhat.com>
4248 * programs/gio-monitor-dir.c:
4249 Don't crash if dir monitor not supported.
4251 2007-10-09 Alexander Larsson <alexl@redhat.com>
4254 Add missing G_END_DECLS
4256 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4258 * gio/gfile.c: (g_file_set_display_name),
4259 (g_file_query_settable_attributes),
4260 (g_file_query_writable_namespaces):
4261 Return NULL not FALSE on errors as the return type is a pointer.
4263 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4265 * gio/glocalfile.c: (g_local_file_monitor_file):
4266 Don't call monitor_file on the default interface vtable (which
4267 is NULL) but simply return NULL. The caller, GFile, will create a
4268 polling monitor if NULL is returned.
4270 2007-10-09 Alexander Larsson <alexl@redhat.com>
4274 * gio-unix-2.0.pc.in:
4275 Add gio-unix-2.0.pc if OS_UNIX
4278 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4280 2007-10-09 Alexander Larsson <alexl@redhat.com>
4282 * gio/gunixmounts.[ch]:
4283 Make unix mount monitoring API sane.
4284 Now its just a object with mounts_changed
4285 and mountpoints_changed signals.
4287 * gio/glocaldirectorymonitor.c:
4288 * gio/gunixvolumemonitor.c:
4289 Use new mount monitor api
4291 2007-10-09 Alexander Larsson <alexl@redhat.com>
4293 * gio/gunixmounts.[ch]:
4294 Move guess type into one call for mounts and one for mountpoints
4297 * gio/gunixvolume.c:
4300 2007-10-09 Alexander Larsson <alexl@redhat.com>
4302 * gio/gunixmounts.[ch]:
4303 Remove _ prefix in preparation to make this semi-public
4304 Hide implementation of structs
4306 * gio/glocaldirectorymonitor.c:
4308 * gio/gunixvolume.c:
4309 * gio/gunixvolumemonitor.c:
4310 Update for above API changes
4312 2007-10-08 Alexander Larsson <alexl@redhat.com>
4315 Better polling fallback. This also handles the case where we have
4316 a monitor_file implementation, but it fails.
4318 2007-10-08 Alexander Larsson <alexl@redhat.com>
4322 * gio/gunixmounts.c:
4323 * programs/gio-monitor-dir.c:
4324 * programs/gio-monitor-file.c:
4325 Added cancellable to file monitoring calls.
4326 These are really sync calls and need this.
4328 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4330 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4331 (g_local_vfs_class_init):
4332 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4333 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4335 2007-10-05 Alexander Larsson <alexl@redhat.com>
4337 * gio/gdirectorymonitorprivate.h:
4338 * gio/gfilemonitorprivate.h:
4339 * gio/gdirectorymonitor.h:
4340 * gio/gfilemonitor.h:
4341 Remove *private.h and move to the public API, so that
4342 we can do implementations outside gio (such as in gvfs)
4344 * gio/gdirectorymonitor.c:
4345 * gio/gfilemonitor.c:
4346 * gio/glocaldirectorymonitor.c:
4347 * gio/gpollfilemonitor.c:
4348 * gio/inotify/inotify-helper.c:
4349 * gio/fam/fam-helper.c:
4350 Update to the new header names
4352 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4354 * gio/gdirectorymonitor.c:
4355 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4358 2007-10-04 Alexander Larsson <alexl@redhat.com>
4360 * gio/glocalfileinfo.c (get_access_rights):
4361 Set CAN_TRASH when we can move the file.
4362 We should really also check for a parent trash dir.
4364 2007-10-04 Alexander Larsson <alexl@redhat.com>
4366 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4367 Add can_trash access attribute
4369 2007-10-04 Alexander Larsson <alexl@redhat.com>
4372 (g_local_file_trash):
4373 Create info file first. This is per-spec and allows
4374 us to actually trash directories.
4376 2007-10-02 Alexander Larsson <alexl@redhat.com>
4378 * gio/gdesktopappinfo.c:
4379 Implement the new mime support code.
4380 Always set app as handling mimetype when being set as default for it
4382 2007-10-01 Alexander Larsson <alexl@redhat.com>
4384 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4385 Fix up check for xattrs:
4387 2007-10-01 Alexander Larsson <alexl@redhat.com>
4390 (g_app_info_set_as_default_for_extension):
4391 (g_app_info_add_supports_type):
4392 (g_app_info_can_remove_supports_type):
4393 (g_app_info_remove_supports_type):
4394 Make these fail nicely if not implemented
4396 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4398 * gio/glocalfileoutputstream.c:
4399 * gio/glocalfileoutputstream.h:
4404 * programs/gio-save.c:
4405 Add a GFileCreateFlags argument to operations that can create
4408 2007-10-01 Alexander Larsson <alexl@redhat.com>
4410 * gio/gappinfo.[ch]:
4411 * gio/gdesktopappinfo.c:
4412 Add more (stubbed out) mime API needed for nautilus
4414 2007-10-01 Alexander Larsson <alexl@redhat.com>
4417 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4418 Add g_app_info_set_as_default_for_extension.
4420 * gio/gdesktopappinfo.c:
4421 Dummy for g_app_info_set_as_default_for_extension
4422 Support flags in g_app_info_create_from_commandline
4424 * gio/gwin32appinfo.c:
4426 Update for API changes
4428 * gio/gthemedicon.c:
4429 Properly NULL-terminate list of icon names
4431 2007-09-28 Alexander Larsson <alexl@redhat.com>
4433 * gio/gloadableicon.h:
4434 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4436 2007-09-28 Alexander Larsson <alexl@redhat.com>
4439 Install headers in $includedir/gio-standalone/
4441 * gio-2.0.pc.in: Added.
4442 * gio-standalone.pc.in: Removed.
4445 Renamed pkg-config file to match glib (for future move)
4446 Update to the new include dir
4449 Add more TODO comments
4451 2007-09-28 Alexander Larsson <alexl@redhat.com>
4453 * gio/gdesktopappinfo.[ch]:
4454 Expose new_from_filename
4455 Add getter for is_hidden and handle it better
4457 2007-09-28 Alexander Larsson <alexl@redhat.com>
4459 * gio/gfileinfo.[ch]:
4460 Rename g_file_size_format_for_display to
4461 g_format_file_size_for_display.
4462 Now it doesn't have the g_file prefix, so we
4463 can later move it to glib.
4465 2007-09-28 Alexander Larsson <alexl@redhat.com>
4467 * gio/gappinfo.[ch]:
4468 Add g_app_info_get_id and g_app_info_get_executable.
4469 Make all getters non-reffing
4470 Make g_app_info_launch take GFile arguments.
4471 Add must_support_uris argument to g_app_info_get_default_for_type.
4473 * gio/gwin32appinfo.c:
4474 Update to GAppInfo api changes
4476 * gio/gdesktopappinfo.c:
4477 Update to GAppInfo api changes
4478 Implement supports_xdg_startup_notify
4480 * gio/gfileicon.c (g_file_icon_get_file):
4481 Make getter non-reffing.
4486 2007-09-27 Alexander Larsson <alexl@redhat.com>
4488 * gio/gfileinfo.[ch]:
4489 Add g_file_size_format_for_display helper
4491 2007-09-27 Alexander Larsson <alexl@redhat.com>
4493 * gio/glocalfileinfo.c:
4494 Set UNIX_GID from gid, not from uid
4496 2007-09-27 Alexander Larsson <alexl@redhat.com>
4499 Add g_file_set_attributes_async
4501 2007-09-27 Alexander Larsson <alexl@redhat.com>
4503 * gio/glocalfile.c (g_local_file_set_display_name):
4504 Fix set_display_name to actually rename to the right place.
4505 Use lstat to look for existing files so we don't overwrite
4508 2007-09-26 Alexander Larsson <alexl@redhat.com>
4511 Add g_file_set_display_name_async()
4513 2007-09-26 Alexander Larsson <alexl@redhat.com>
4516 Add load_partial_contents async calls
4519 Make internal function static
4521 2007-09-26 Alexander Larsson <alexl@redhat.com>
4523 * gio/glocalfileinfo.c:
4524 Correctly detect broken symlinks
4526 2007-09-26 Alexander Larsson <alexl@redhat.com>
4528 * gio/gcancellable.c (g_cancellable_cancel):
4529 Allow cancel on NULL cancellable
4531 2007-09-25 Alexander Larsson <alexl@redhat.com>
4533 * gio/gsimpleasyncresult.c:
4534 Don't allocate g_error manually.
4535 Fixes g_slice/g_new mixup crash
4537 2007-09-25 Alexander Larsson <alexl@redhat.com>
4539 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4540 Actually set active_backend.
4541 This means the monitor will be cancelled correctly.
4543 2007-09-25 Alexander Larsson <alexl@redhat.com>
4545 * gio/gdirectorymonitor.c:
4546 Set timeout to NULL when destroying
4548 2007-09-25 Alexander Larsson <alexl@redhat.com>
4551 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4552 that is a better description of the error.
4554 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4556 * gio/gvfs.c: (g_vfs_get_local):
4557 Make the local vfs variable static. The same instance should
4560 2007-09-24 Alexander Larsson <alexl@redhat.com>
4562 * gio/glocalfileinfo.c:
4563 Pass in actual length read into sniffer, not the length
4566 2007-09-21 Alexander Larsson <alexl@redhat.com>
4568 * gio/gfileenumerator.c:
4571 * gio/gfileinputstream.c:
4572 * gio/gfileoutputstream.c:
4573 * gio/ginputstream.c:
4574 * gio/goutputstream.c:
4575 Don't crash if async callbacks are NULL
4577 2007-09-20 Alexander Larsson <alexl@redhat.com>
4580 Add async enumerate_children method and default
4583 2007-09-20 Alexander Larsson <alexl@redhat.com>
4586 Add g_file_contains_file & g_file_get_relative_path, since they
4587 were needed for nautilus.
4588 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4593 Implement new methods
4595 2007-09-17 Alexander Larsson <alexl@redhat.com>
4598 * gio/gfileinputstream.[ch]:
4599 * gio/gfileoutputstream.[ch]:
4601 * gio/glocalfileenumerator.[ch]:
4602 * gio/glocalfileinfo.[ch]:
4603 * gio/glocalfileinputstream.c:
4604 * gio/glocalfileoutputstream.c:
4605 * gio/gpollfilemonitor.c:
4606 * programs/gio-copy.c:
4607 * programs/gio-info.c:
4608 * programs/gio-move.c:
4609 Rename get_file_info to query_info() to make it clearer
4610 that these are not simple getters, but do i/o.
4612 2007-09-17 Alexander Larsson <alexl@redhat.com>
4614 * gio/gdatainputstream.[ch]:
4615 * gio/test-streams.c:
4616 Use _read_XXX instead of _get_XXX for the i/o calls
4619 2007-09-17 Alexander Larsson <alexl@redhat.com>
4622 Added needed stuff to TODO comment
4624 2007-09-17 Alexander Larsson <alexl@redhat.com>
4626 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4627 Don't error out removing the backup copy if it doesn't
4630 2007-09-14 Alexander Larsson <alexl@redhat.com>
4632 * programs/Makefile.am:
4633 * programs/gvfs-*.c:
4635 Renamed apps from gvfs-xxx to gio-xxx.
4637 2007-09-14 Alexander Larsson <alexl@redhat.com>
4640 * gio/gfileoutputstream.[ch]:
4641 * gio/glocalfileoutputstream.c:
4642 * programs/gvfs-save.c:
4643 g_file_output_stream_get_etag doesn't do i/o, so remove
4644 cancellation and error.
4646 2007-09-14 Alexander Larsson <alexl@redhat.com>
4649 Add new_etag output to replace_contents functions
4651 2007-09-14 Alexander Larsson <alexl@redhat.com>
4653 * gio/gfileoutputstream.[ch]:
4654 Add async get_file_info and default implementation
4656 2007-09-14 Alexander Larsson <alexl@redhat.com>
4658 * gio/gfileinputstream.c:
4659 Implement fallback wrapper for async get_file_info
4661 2007-09-14 Alexander Larsson <alexl@redhat.com>
4664 Add etag out argument to load_contents
4669 2007-09-14 Alexander Larsson <alexl@redhat.com>
4671 * gio/gcontenttype.c (looks_like_text):
4672 Whitespace like tab, cr and lf do not make the
4675 2007-09-14 Alexander Larsson <alexl@redhat.com>
4677 * gio/gfileinputstream.[ch]:
4678 Add async get_file_info.
4680 2007-09-13 Alexander Larsson <alexl@redhat.com>
4682 * gio/goutputstream.c (g_output_stream_write_all):
4683 Allow NULL for bytes_written
4685 2007-09-13 Alexander Larsson <alexl@redhat.com>
4687 * gio/gmemoryinputstream.[ch]:
4688 Add accessors for data
4690 2007-09-13 Alexander Larsson <alexl@redhat.com>
4692 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4693 Don't crash if length is NULL