1 2008-07-28 Matthias Clasen <mclasen@redhat.com>
3 * gemblemedicon.[hc]: Add a GIcon implementation that can
4 add an emblem to another icon.
11 * gfileicon.c: Small documentation additions.
13 2008-07-28 Tor Lillqvist <tml@novell.com>
15 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
18 2008-07-27 Tor Lillqvist <tml@novell.com>
20 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
22 2008-07-24 David Zeuthen <davidz@redhat.com>
26 Also export a g_mount_guess_content_type_sync() function.
28 2008-07-23 Matthias Clasen <mclasen@redhat.com>
30 529694 – SELinux context setting support
32 * gfileinfo.c: Support setting selinux attributes.
35 2008-07-22 Priit Laes <plaes@plaes.org>
37 Bug 544140 - fam-helper 64-bit issue?
39 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
41 2008-07-21 Matthias Clasen <mclasen@redhat.com>
43 * === Released 2.17.4 ===
45 2008-07-20 Matthias Clasen <mclasen@redhat.com>
47 * gvolumemonitor.[hc]:
52 * gmount.c: Documentation fixes
54 2008-07-19 Matthias Clasen <mclasen@redhat.com>
56 543504 – crash in Epiphany Web Browser: Opening local file
67 * gvolume.c: Register types thread-safely.
68 Patch by Christian Persch
70 2008-07-18 Matthias Clasen <mclasen@redhat.com>
72 * gcontenttype.c: Remove debug spew
74 2008-07-18 Matthias Clasen <mclasen@redhat.com>
76 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
79 * fen/fen-kernel.c: Remove a warning that was causing
80 crashes. Reported by Lin Ma.
82 2008-07-18 Matthias Clasen <mclasen@redhat.com>
84 Bug 543040 – async reading on dummy file will crash on
87 * gfile.c (open_read_async_thread): Cope with read_fn being
88 NULL. Reported by Lin Ma.
90 2008-07-18 Matthias Clasen <mclasen@redhat.com>
93 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
95 2008-07-16 Matthias Clasen <mclasen@redhat.com>
99 * giomodule.c: Rename a chapter id to avoid filename conflict.
101 2008-07-16 Matthias Clasen <mclasen@redhat.com>
103 Bug 540616 – mem leak in filechooser button
105 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
106 the mount entry. Reported by Chrisitan Persch
108 2008-07-16 Matthias Clasen <mclasen@redhat.com>
110 * gfile.c: Small documentation fixes.
112 2008-07-15 Matthias Clasen <mclasen@redhat.com>
114 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
116 2008-07-08 Matthias Clasen <mclasen@redhat.com>
121 * gmount.c: Documentation improvements.
123 2008-07-08 Matthias Clasen <mclasen@redhat.com>
126 * gmount.[hc]: Add g_mount_guess_content_type().
128 2008-07-06 David Zeuthen <davidz@redhat.com>
131 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
132 is needed for easily handling adoption of foreign volumes by
133 out-of-process volume monitors (#541793)
135 2008-07-06 David Zeuthen <davidz@redhat.com>
137 * gvolumemonitor.[ch]:
138 * gunionvolumemonitor.c: Export the eject-button signal on the
139 volume monitor class (#541794).
141 2008-07-06 Matthias Clasen <mclasen@redhat.com>
143 * gappinfo.c: More doc tweaks
145 2008-07-05 Matthias Clasen <mclasen@redhat.com>
147 * gappinfo.c: Clarify some docs
149 2008-07-03 Matthias Clasen <mclasen@redhat.com>
151 * gdesktopappinfo.c: Fix a stupid mistake.
153 2008-07-02 Matthias Clasen <mclasen@redhat.com>
155 * === Released 2.17.3 ===
157 2008-07-02 Matthias Clasen <mclasen@redhat.com>
159 * gfilemonitor.c: Fix the build.
161 2008-07-02 Matthias Clasen <mclasen@redhat.com>
163 Bug 536160 – Add g_file_monitor()
166 * gfile.[hc]: Add g_file_monitor which can return either
167 a file or a directory monitor. Proposed by Behdad Esfahbod
169 2008-07-02 Matthias Clasen <mclasen@redhat.com>
171 536733 – gio build failure on Irix
173 * glocalfile.c: Use a configure check for structfs.f_bavail.
175 2008-07-02 Matthias Clasen <mclasen@redhat.com>
177 Bug 534639 – add g_desktop_app_info_new_from_keyfile
180 * gdesktopappinfo.[hc]: Add a function to create a
181 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
183 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
185 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
187 2008-07-01 Matthias Clasen <mclasen@redhat.com>
189 * gunixmounts.c: Fix a doc typo.
191 2008-07-01 Cody Russell <bratsche@gnome.org>
193 * gio/gcontenttype.c:
194 * gio/gwin32appinfo.c:
195 * gio/gwin32volumemonitor.c:
196 * gio/gwin32mount.c: Fixed some include problems.
198 2008-07-01 Cody Russell <bratsche@gnome.org>
202 Moved all relevant typedefs into these files.
205 Updated wrt added files.
207 Split types into separate file for easier maintainership. (#538564)
209 2008-06-30 Matthias Clasen <mclasen@redhat.com>
211 Bug 540331 – g_file_append_to () documentation: can return NULL
213 * gfile.c (g_file_append_to): Clarify docs.
216 2008-06-30 Matthias Clasen <mclasen@redhat.com>
218 Bug 539090 – g_content_type_from_mime_type() should unalias
220 * gcontentype.c (g_content_type_from_mime_type): Unalias.
221 Patch by Markus Bergman
223 2008-06-30 Matthias Clasen <mclasen@redhat.com>
225 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
228 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
229 on ppc and alpha. Reported by Mart Raudsepp
231 2008-06-29 Matthias Clasen <mclasen@redhat.com>
234 * tests/memory-output-stream.c: Add some tests for
237 2008-06-29 Matthias Clasen <mclasen@redhat.com>
239 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
242 * gmemoryoutputstream.c (array_resize): Handle truncation to
243 zero correctly. Reported by Akira Tagoh
245 2008-06-29 Matthias Clasen <mclasen@redhat.com>
247 * gmemoryoutputstream.c: Trivial doc fixes
249 2008-06-29 Matthias Clasen <mclasen@redhat.com>
251 Bug 540802 – g_list_prepend doesn't concat lists
253 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
254 one list to another. Pointed out by Jan Arne Petersen
256 2008-06-28 Michael Natterer <mitch@imendio.com>
258 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
260 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
262 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
263 to avoid problems with partial icon themes.
265 2008-06-17 Hans Breuer <hans@breuer.org>
267 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
268 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
269 access again on win32, see bug #538127
270 * giomodule.c : ensure GWin32VolumeMonitor is registered
271 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
272 * Makefile.am makefile.msc : updated
274 2008-06-16 Hans Breuer <hans@breuer.org>
276 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
277 and initialization in one step avoids c99ism
279 2008-06-16 Christian Persch <chpe@gnome.org>
282 * gio/gbufferedinputstream.c
284 * gio/gdatainputstream.c
285 * gio/gdesktopappinfo.c
287 * gio/gfileenumerator.c
288 * gio/gfileinputstream.c
289 * gio/gfileoutputstream.c
291 * gio/glocaldirectorymonitor.c
293 * gio/glocalfileenumerator.c
294 * gio/glocalfileinfo.c
295 * gio/glocalfilemonitor.c
296 * gio/glocalfileoutputstream.c
297 * gio/gmemoryinputstream.c
298 * gio/gmemoryoutputstream.c
299 * gio/goutputstream.c
300 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
303 2008-06-16 Tor Lillqvist <tml@novell.com>
305 Bug 538362 - Get Win32 icons back in the file chooser
307 * gcontenttype.c (g_content_type_get_icon): Look up the icon
308 corresponding to a file extension in the Registry. Patch by Hans
310 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
312 2008-06-16 Tor Lillqvist <tml@novell.com>
314 Patches by Hans Breuer:
316 * glocalfile.c (is_xp_or_later): Handle compiling against older
317 SDK headers with missing VerifyVersionInfo(). Conditioned on
318 _MSC_VER, but should probably use some better test.
319 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
320 uninitialised statfs_result variable on Win32.
322 2008-06-16 Michael Natterer <mitch@imendio.com>
324 * *.c: chain up unconditionally in finalize() and dispose(). Also
325 don't dereference these function pointers when calling them since
326 that has no meaning at all.
328 2008-06-16 Ross Burton <ross@burtonini.com>
331 Remove check for dispose implementation as it annoys Emmanuele.
333 2008-06-16 Ross Burton <ross@burtonini.com>
335 Bug 536252 – GFileEnumerator should allow access to the containing
341 Add g_file_enumerator_get_container() and a container writeable
342 construct-only property. Also shuffle around typedefs to make it
345 * glocalfileenumerator.c:
346 * glocalfileenumerator.h:
348 Instead of a string filename take a GFile in the constructor and
349 use it to set the container property.
354 2008-06-16 Matthias Clasen <mclasen@redhat.com>
356 * gfile.c: Make includes more uniform
358 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
360 * tests/live-g-file.c (sample_struct):
361 Use less fancy unicode filenames, so the test doesn't fail
362 on Mac OS X (#531476).
364 2008-06-12 Matthias Clasen <mclasen@redhat.com>
366 * === Released 2.17.2 ===
368 2008-06-12 Matthias Clasen <mclasen@redhat.com>
370 * === Released 2.17.1 ===
372 2008-06-11 A. Walton <awalton@gnome.org>
374 * tests/g-file.c (test_g_file_new_null):
375 Fix broken test case.
377 2008-06-11 Matthias Clasen <mclasen@redhat.com>
379 * pltcheck.sh: We use g_clear_error now.
381 2008-06-11 Matthias Clasen <mclasen@redhat.com>
383 * glocalfile.c (g_local_file_enumerate_children): Revert
384 an unintended change.
386 2008-06-11 Matthias Clasen <mclasen@redhat.com>
388 * gfile.c (g_file_replace_contents): Don't unref before the last use.
390 2008-06-10 Matthias Clasen <mclasen@redhat.com>
392 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
395 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
396 as icon for the desktop directory, also make user-home and
397 user-desktop the preferred icons.
399 2008-06-10 Matthias Clasen <mclasen@redhat.com>
402 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
403 to add a name to the front of the list.
405 2008-06-10 Matthias Clasen <mclasen@redhat.com>
407 Bug 537392 – Additional colon in xattr name
409 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
410 too. Reported by Alessandro Morandi
412 2008-06-10 Matthias Clasen <mclasen@redhat.com>
414 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
417 * glocalfile.c (get_fs_type): Add afs and autofs.
418 Patch by Danny Baumann.
420 2008-06-10 Matthias Clasen <mclasen@redhat.com>
422 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
424 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
425 is no parent. (Owen Taylor, patch by Christian Neumair)
427 2008-06-10 Paolo Borelli <pborelli@katamail.com>
429 * gfile.c (g_file_replace_contents): do not leak the output stream.
431 2008-06-10 Michael Natterer <mitch@imendio.com>
433 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
434 uninitialized memory as array index.
436 2008-06-10 Tor Lillqvist <tml@novell.com>
438 * gcontenttype.c (g_content_type_can_be_executable)
439 (g_content_type_get_icon) [Win32]: Add TODO comments.
441 2008-06-09 Matthias Clasen <mclasen@redhat.com>
443 * xdgmime/Makefile.am: Fix the build
445 2008-06-09 Matthias Clasen <mclasen@redhat.com>
447 * gcontenttype.c (g_content_type_get_icon): Use icons specified
448 in the shared mime database, if available.
450 * xdgmime/*: Sync with upstream. This brings support for
451 glob weights, generic icons, and changes the cache format to
454 2008-05-28 Michael Natterer <mitch@imendio.com>
456 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
457 the global CPPFLAGS now.
459 * tests/data-input-stream.c
460 * tests/data-output-stream.c
461 * tests/g-file-info.c
463 * tests/live-g-file.c
464 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
466 2008-05-27 Matthias Clasen <mclasen@redhat.com>
468 * === Released 2.17.0 ===
470 * tests/live-g-file.c: Clean up after the tests, so make distcheck
471 doesn't complain about leftover files.
473 2008-05-27 simon.zheng <simon.zheng@sun.com>
475 * glocalfile.c: (g_local_file_query_filesystem_info):
476 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
478 2008-05-26 Michael Natterer <mitch@imendio.com>
480 * gmemoryoutputstream.h: declare
481 g_memory_output_stream_get_data_size().
483 2008-05-26 Matthias Clasen <mclasen@redhat.com>
485 * tests/*: Make tests work
487 2008-05-26 Matthias Clasen <mclasen@redhat.com>
489 * gio.symbols: Add g_memory_output_stream_get_data_size.
491 2008-05-25 Ross Burton <ross@burtonini.com>
494 Fix typo in error message (#534764).
496 2008-05-25 Ross Burton <ross@burtonini.com>
499 Fix circular dependency loop for gioenumtypes.h (#534759).
501 2008-05-19 Hans Breuer <hans@breuer.org>
503 * Makefile.am : EXTRA_DIST += makefile.msc
505 2008-05-17 Matthias Clasen <mclasen@redhat.com>
508 * gcontenttype.c: (g_content_type_from_mime_type):
509 New function to create a content type from a mime type. (#527175,
512 2008-05-17 Matthias Clasen <mclasen@redhat.com>
514 Bug 532965 – Should not return filesystem::free for certain file systems
516 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
517 free space for ncpfs.
519 2008-05-17 Matthias Clasen <mclasen@redhat.com>
521 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
523 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
524 st_dev might be zero.
526 2008-05-16 Tor Lillqvist <tml@novell.com>
528 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
529 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
531 2008-05-13 Bastien Nocera <hadess@hadess.net>
533 * gfile.c (has_valid_scheme): A URI scheme must start with a
534 letter, even if later more characters are allowed (#532852)
536 2008-05-05 Michael Natterer <mitch@imendio.com>
538 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
539 code from being checked in that breaks the build of applications
540 which use G_DISABLE_SINGLE_INCLUDES.
542 * makegioalias.pl: make the alias file include "glib.h" instead of
545 * gio.symbols: whitespace change to force regeneration of the
546 alias file after above script change.
548 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
550 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
552 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
554 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
556 2008-04-28 David Zeuthen <davidz@redhat.com>
558 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
559 displaying mounts in a subdirectory not accessible to the
562 2008-04-22 Michael Natterer <mitch@imendio.com>
564 * Makefile.am: fix library versioning (it was 0.0.0).
566 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
568 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
569 Default disable all loggings.
570 * fen/fen-kernel.c: (printevent), (port_add_kevent),
571 (port_fetch_event_cb): Fixed two macro nits.
573 2008-04-16 Matthias Clasen <mclasen@redhat.com>
575 * xdgmime/xdgmime.c: Rework the timestamp checking code
576 to protect against duplicate directories in XDG_DATA_DIRS.
577 Fixes fd.o bug 12513, reported by Joe Shaw.
579 2008-04-16 Matthias Clasen <mclasen@redhat.com>
581 Partically revert the last commit after realizing that
582 xdg_mime_media_type_equal doesn't have to init at all.
585 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
587 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
589 2008-04-16 Matthias Clasen <mclasen@redhat.com>
591 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
592 reported by Joe Shaw and Federico Mena Quintero.
594 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
595 (xdg_mime_media_type_equal): Turn into a wrapper around the
598 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
599 functions throughout.
601 2008-04-16 Michael Meeks <michael.meeks@novell.com>
603 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
604 tolerate an empty TryExec= line without failing; nautilus used
605 to create launchers with these in previous versions. Fixes #528433
607 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
609 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
610 after name. Fixes #527132.
612 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
614 * gfile.c: (g_file_replace):
617 2008-04-07 Matthias Clasen <mclasen@redhat.com>
619 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
621 * gfile.c (file_copy_fallback): Fix the argument order. Patch
622 by Christian Kellner.
624 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
626 * gunixmounts.c: (g_unix_mount_guess_should_display):
627 Don't list the user directory as a mount, fix potential issue
628 when other users have a similar naming and don't special case the
629 gvfs mounts there since that's not required (#525866)
631 2008-03-31 Alexander Larsson <alexl@redhat.com>
633 * glocalfile.c (get_parent):
636 2008-03-31 A. Walton <awalton@svn.gnome.org>
638 * gfile.c (g_file_query_file_type):
639 Always return a GFileType enum value (#520715).
641 2008-03-31 Alexander Larsson <alexl@redhat.com>
643 * glocalfileenumerator.c:
644 Read readdir() info in chunks (of 1000) and sort
645 the chunks by inode before stat:ing.
646 This is a 20% performance increase in testing
647 gvfs-ls on /usr/bin with cold cache.
649 2008-03-31 Alexander Larsson <alexl@redhat.com>
651 * gmemoryoutputstream.c:
652 Clarify docs for g_memory_output_stream_get_size.
653 Add g_memory_output_stream_get_data_size.
655 2008-03-30 Matthias Clasen <mclasen@redhat.com>
659 * gfile.h: Add g_file_query_file_type convenience function
660 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
662 2008-03-30 Matthias Clasen <mclasen@redhat.com>
665 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
667 2008-03-28 A. Walton <awalton@svn.gnome.org>
669 * giomodule.c (_g_io_modules_ensure_loaded):
670 Adds GIO_EXTRA_MODULES environment variable support, closing bug
673 2008-03-28 Alexander Larsson <alexl@redhat.com>
676 (copy_stream_with_progress):
679 2008-03-28 Alexander Larsson <alexl@redhat.com>
682 (copy_stream_with_progress):
683 (file_copy_fallback):
684 Fallback to g_file_query_info for source size
685 if g_file_input_stream_query_info fails. (#524579)
687 2008-03-28 Alexander Larsson <alexl@redhat.com>
689 * glocalfile.c (g_local_file_move):
690 Reuse old string instead of adding new one.
692 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
694 * fen/*.[hc]: still copyright issue. I hate copyright.
696 2008-03-27 Alexander Larsson <alexl@redhat.com>
698 * glocalfile.c (g_local_file_move):
699 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
700 file over directory. This is according to the docs and what the move via
701 copy+remove fallback does.
703 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
705 * fen/*.[hc]: Updated copyright.
707 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
709 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
711 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
713 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
714 not emit attribute changed events when optimizing changed events.
715 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
718 2008-03-19 Matthias Clasen <mclasen@redhat.com>
720 * gmountoperation.[hc]: Small documentation additions
722 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
724 * gunixmounts.c: (guess_mount_type):
725 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
727 2008-03-19 Alexander Larsson <alexl@redhat.com>
730 (copy_stream_with_progress):
731 Bump block side for copy to 64k to minimize
732 overhead for low latency links. (#523015)
734 2008-03-16 Tor Lillqvist <tml@novell.com>
736 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
737 depend on gio.def on Windows.
739 2008-03-12 David Zeuthen <davidz@redhat.com>
743 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
745 2008-03-14 Alexander Larsson <alexl@redhat.com>
749 Avoid redudant tests (#521851)
750 Patch from Josselin Mouette
752 2008-03-14 Alexander Larsson <alexl@redhat.com>
755 (g_file_monitor_is_cancelled):
756 Fix C89 issue (#521672)
757 Patch from Jens Granseuer
759 2008-03-14 Alexander Larsson <alexl@redhat.com>
761 * fam/fam-helper.[ch]:
763 Shut down fam (including removing fam GSource) when
764 module is unloaded (#521513)
765 Patch from Joe Marcus Clarke
767 2008-03-14 Alexander Larsson <alexl@redhat.com>
770 (_g_io_modules_ensure_loaded):
773 2008-03-14 Alexander Larsson <alexl@redhat.com>
776 (g_local_file_query_filesystem_info):
777 Use right define name for f_fstypename member check
779 2008-03-14 Alexander Larsson <alexl@redhat.com>
782 * fen/Makefile.am: Added.
783 * fen/fen-data.[ch]: Added.
784 * fen/fen-dump.[ch]: Added.
785 * fen/fen-helper.[ch]: Added.
786 * fen/fen-kernel.[ch]: Added.
787 * fen/fen-missing.[ch]: Added.
788 * fen/fen-node.[ch]: Added.
789 * fen/fen-sub.[ch]: Added.
790 * fen/gfendirectorymonitor.[ch]: Added.
791 * fen/gfenfilemonitor.[ch]: Added.
793 Added Solaris FEN file notification backend.
794 Patch from Lin Ma <Lin.Ma@Sun.COM>
796 2008-03-13 Tor Lillqvist <tml@novell.com>
798 * Makefile.am: Actually use the gio.def file when linking the
799 library on Windows. Produce .lib library for Microsoft's toolchain
800 when possible. Install the .lib and .def file like for the other
803 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
805 * tests/live-g-file.c:
806 Include live-g-file in standard set of tests, making a temporary
807 directory in source structure.
809 Clean target directory before the tests (write mode only)
811 2008-03-12 Tor Lillqvist <tml@novell.com>
813 Bug 517419 - gio win32 directory monitor
814 Implementation by Vlad Grecescu.
817 * win32/gwin32directorymonitor.h
818 * win32/gwin32directorymonitor.c: New files.
820 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
822 * Makefile.am: Add the win32 subdirectory.
824 2008-03-12 Tor Lillqvist <tml@novell.com>
826 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
827 normal struct stat on Unix but struct _stati64 on Windows to have
828 access to 64-bit file size information. Use that instead of struct
829 stat in the functions declared here in this private header.
831 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
832 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
833 warnings about unused functions and variables. Don't set
834 meaningless attributes like inode numbers on Windows.
836 2008-03-12 Benjamin Otte <otte@gnome.org>
839 trim whitespace so gtk-doc groks the function name
841 2008-03-12 Tor Lillqvist <tml@novell.com>
843 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
844 returning FALSE, on Win32.
846 2008-03-11 Alexander Larsson <alexl@redhat.com>
849 * glocalfileinfo.[ch]:
850 Correctly implement can_trash by actually
851 looking for a trash dir, not just assuming
854 2008-03-10 Matthias Clasen <mclasen@redhat.com>
856 * === Released 2.16.1 ===
858 2008-03-11 Alexander Larsson <alexl@redhat.com>
861 Fix crashes in new constructor and properties code
863 2008-03-10 Murray Cumming <murrayc@murrayc.com>
865 * gfile.c: Minor spelling correction in documentation:
866 existance -> existence.
868 2008-03-10 Matthias Clasen <mclasen@redhat.com>
870 * === Released 2.16.0 ===
872 2008-03-10 Matthias Clasen <mclasen@redhat.com>
874 * gio.symbols: Remove g_file_contains_file here, too.
876 2008-03-10 Matthias Clasen <mclasen@redhat.com>
878 * gthemedicon.c: Add properties to make bindings happy. (#517676,
879 Samuel Cormier-Iijima)
881 2008-03-08 Tor Lillqvist <tml@novell.com>
883 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
886 2008-03-07 Alexander Larsson <alexl@redhat.com>
889 (g_local_file_query_filesystem_info):
890 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
891 Patch from Jasper Lievisse Adriaanse
893 2008-03-06 Tor Lillqvist <tml@novell.com>
895 * gfileinfo.h: Correct milliseconds to microseconds in the doc
896 comments for the *_USEC attributes.
898 2008-03-06 Alexander Larsson <alexl@redhat.com>
900 * gfile.c (g_file_query_exists):
901 Add g_return_val_if_fail check (#520700)
903 2008-03-06 Alexander Larsson <alexl@redhat.com>
908 * gunionvolumemonitor.c:
911 * tests/live-g-file.c:
912 * xdgmime/xdgmimecache.c:
913 Fix sparse warnings (#519489)
915 2008-03-05 Alexander Larsson <alexl@redhat.com>
918 Make cancellation threadsafe (i.e.
919 guarantee its only done once, and always
922 * glocaldirectorymonitor.c:
923 Make sure we the monitor lives while the
924 mounts_changed callback is being called (#520484)
926 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
928 * gbufferedinputstream.c: Fix typo in parameter
931 2008-03-04 Alexander Larsson <alexl@redhat.com>
934 Remove deprecated symbols we kept for one release.
936 2008-03-04 Murray Cumming <murrayc@murrayc.com>
939 * goutputstream.c: Tiny documentation corrections.
941 2008-03-03 Alexander Larsson <alexl@redhat.com>
943 * gunionvolumemonitor.c:
945 Fix the adopt_orphan_mount vfunc to take a
946 volume_monitor reference in an ABI compat way.
947 This change is not API compat, but the added
948 arg is not used in the only user of this vfunc, so
949 all we get is a harmless warning in gvfs (#520169)
951 2008-03-01 Benjamin Otte <otte@gnome.org>
954 clarify docs for g_file_delete().
956 2008-02-29 Alexander Larsson <alexl@redhat.com>
960 Make sure empty files get text/plain type (#518720)
962 2008-02-27 Alexander Larsson <alexl@redhat.com>
968 (g_unix_volume_mount):
969 Add missing GMountMountFlags argument
971 2008-02-26 Alexander Larsson <alexl@redhat.com>
974 (g_local_file_delete):
975 Handle filesystems (like ntfs-3g) that return EEXIST instead
976 of ENOTEMPTY (#518816)
978 2008-02-25 Matthias Clasen <mclasen@redhat.com>
980 * === Released 2.15.6 ===
982 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
984 * gfile.c (g_file_find_enclosing_mount):
985 * ginputstream.c (g_input_stream_set_pending):
986 * glocalfile.c (g_local_file_find_enclosing_mount):
987 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
988 * goutputstream.c (g_output_stream_set_pending):
990 Fixup translator comments (#518578).
992 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
994 * gfile.c (g_file_find_enclosing_mount):
996 * glocalfile.c (g_local_file_find_enclosing_mount):
999 Fix a few typos in translator comments and documentation.
1001 2008-02-25 Alexander Larsson <alexl@redhat.com>
1008 Add translator comments (#518578)
1010 2008-02-25 Alexander Larsson <alexl@redhat.com>
1013 Reintroduce g_file_contains_file, keep around for one
1014 unstable release cycle to avoid crashing to many apps.
1015 Make sure to delete after release.
1017 2008-02-25 Alexander Larsson <alexl@redhat.com>
1020 Remove deprecated g_file_contains_file.
1022 2008-02-25 Alexander Larsson <alexl@redhat.com>
1025 Emit actual change signals in an idle handler.
1026 This avoids reentrance and locking problems in
1027 the file notification backends.
1029 2008-02-25 Alexander Larsson <alexl@redhat.com>
1032 (g_unix_mount_guess_should_display):
1033 Remove type guessing, instead just display
1034 mounts in /media and in ~/.
1036 2008-02-25 Alexander Larsson <alexl@redhat.com>
1039 Make new strings reuse old ones.
1041 2008-02-25 Alexander Larsson <alexl@redhat.com>
1044 Implement trashing and filesystem::readonly for win32 (#517235)
1045 Patch from Yevgen Muntyan
1047 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1049 * gfileinfo.h: Documentation fixes.
1051 2008-02-22 Alexander Larsson <alexl@redhat.com>
1053 * gcontenttype.c (g_content_type_get_icon):
1054 Look at old-style gnome mime icon names too, as many
1055 have not moved to the new style.
1057 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1059 * *.c: Correct the @include in for section docs.
1061 2008-02-21 David Zeuthen <davidz@redhat.com>
1063 * glocalfileinfo.c: (_g_local_file_info_get):
1065 (g_content_type_get_icon): Implement this function by
1066 moving bits from glocalfileinfo.c
1067 (g_content_type_get_description): Unalias before getting
1068 description (#517687)
1070 * gfile.c: (g_file_class_init),
1071 (g_file_query_filesystem_info_async),
1072 (g_file_query_filesystem_info_finish),
1073 (query_filesystem_info_data_free),
1074 (query_filesystem_info_async_thread),
1075 (g_file_real_query_filesystem_info_async),
1076 (g_file_real_query_filesystem_info_finish):
1077 * gfile.h: Implement async version of
1078 g_file_query_filesystem_info()
1080 * gfileinfo.h: Add new attributes for filesystem::use-preview
1082 * gio.symbols: Update
1084 * gthemedicon.c: (g_themed_icon_append_name):
1085 * gthemedicon.h: Add new new convenience function.
1087 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1088 (get_mounts), (get_volumes), (get_connected_drives),
1089 (get_volume_for_uuid), (get_mount_for_uuid),
1090 (g_union_volume_monitor_init), (populate_union_monitor),
1091 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1092 (g_volume_monitor_adopt_orphan_mount):
1094 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1095 monitor implementations to call into the main volume monitor. Also
1096 separate object initialization and volume monitor initialization
1097 such that non-native volume monitors can properly adopt their
1100 2008-02-21 Alexander Larsson <alexl@redhat.com>
1105 2008-02-21 Alexander Larsson <alexl@redhat.com>
1108 Add more documentation about how GFiles work (from #517086)
1110 2008-02-21 Alexander Larsson <alexl@redhat.com>
1114 Add new g_file_has_prefix that does the same as g_file_contains_file.
1115 Deprecate g_file_contains_file and add a macro that converts
1116 it to g_file_has_prefix.
1117 The reason for this change is that the contains_file() name seems to
1118 imply that this does more work than what it does, but its really only
1119 a name match (from #517086)
1124 Update to match the above change.
1126 2008-02-20 Benjamin Otte <otte@gnome.org>
1128 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1129 (g_file_eject_mountable):
1130 even more cases of not returning in error path
1132 2008-02-20 Benjamin Otte <otte@gnome.org>
1134 * gfile.c: (g_file_mount_mountable):
1135 return from function in error path.
1137 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1140 Remove trailing coma in GMountMountFlags struct
1142 2008-02-18 Alexander Larsson <alexl@redhat.com>
1146 * glocalfileoutputstream.c:
1147 Use g_unlink/g_rename instead of unlink/rename;
1148 do not pass raw filenames to g_set_error. (#517239)
1149 Patch from Yevgen Muntyan.
1151 2008-02-18 Alexander Larsson <alexl@redhat.com>
1154 * glocalfileoutputstream.c:
1155 Open files with O_BINARY on windows. (#517140)
1157 2008-02-14 Alexander Larsson <alexl@redhat.com>
1159 * glocalfileoutputstream.c:
1160 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1162 2008-02-14 Alexander Larsson <alexl@redhat.com>
1165 Copy permissions with file on copy (#514084)
1166 This is what cp does and makes sure e.g. the
1167 exec permissions are kept.
1168 Its kinda weird in that it keeps the permission bits
1169 the same while the uid and gid are different. However
1170 the new uid is the user so its not a security issue,
1171 and I've heard no complaints about cp on this issue.
1173 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1175 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1177 2008-02-13 Alexander Larsson <alexl@redhat.com>
1179 * inotify/inotify-path.c:
1180 Define IN_ONLYDIR if not in header (#515346)
1182 2008-02-12 Alexander Larsson <alexl@redhat.com>
1184 * tests/live-g-file.c:
1187 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1189 * === Released 2.15.5 ===
1191 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1193 * gio.symbols: Add g_mount_mount_flags_get_type.
1195 2008-02-11 Alexander Larsson <alexl@redhat.com>
1198 (g_file_info_set_attribute_mask):
1199 (g_file_attribute_matcher_matches_id):
1200 Correctly handle NULL GAttributeMatcher meaning
1201 matches nothing. (Fixes #513492)
1203 2008-02-11 Alexander Larsson <alexl@redhat.com>
1208 Added GMountMountFlags enum and added a flags
1209 argument to all mount calls.
1211 This is an API/ABI change for future extensibility,
1212 as I think we will need at least an
1213 inhibit-autorun flag (the panel needs this).
1214 There are no flags defined yet though.
1216 2008-02-11 Alexander Larsson <alexl@redhat.com>
1219 Added new standard::description attribute.
1220 Requested by Vincent, and useful for both
1223 2008-02-11 Alexander Larsson <alexl@redhat.com>
1225 * gdesktopappinfo.c:
1228 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1230 * *.c: Documentation additions
1232 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1234 * gappinfo.h: Formatting cleanup
1235 * gappinfo.c: Fix up docs.
1237 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1239 * gunixmounts.c: Consistently use getmntent_r() and fall
1240 back to getmntent(). (#515492)
1242 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1244 * gbufferedinputstream.c:
1246 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1248 * tests/data-input-stream.c:
1249 * tests/data-output-stream.c: Portability fixes.
1251 2008-02-08 Alexander Larsson <alexl@redhat.com>
1256 Add g_volume_should_automount.
1259 2008-02-07 Tor Lillqvist <tml@novell.com>
1261 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1262 Win32, too Unix-specific.
1264 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1266 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1267 a local plt if the compiler doesn't support what we want. Bug #514702
1269 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1271 reviewed by: <delete if not using a buddy>
1274 * gunixinputstream.c:
1275 * gunixoutputstream.c:
1277 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1279 * tests/Makefile.am:
1280 * tests/live-g-file.c:
1281 * tests/live-g-file.txt:
1282 New GIO testing module working over real data
1284 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1286 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1287 Fallback to rename() if link() is not available
1288 (when no support on target filesystem)
1290 2008-02-06 Michael Natterer <mitch@imendio.com>
1292 * gfileinfo.c (g_file_info_get_icon): replace
1293 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1295 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1297 * gfile.c (g_file_create):
1298 Documentation update of error codes
1300 2008-02-06 Alexander Larsson <alexl@redhat.com>
1302 * gdesktopappinfo.c:
1303 Update to use both mimeapps.list and
1304 defaults.list as discussed on xdg list.
1306 2008-02-06 Benjamin Otte <otte@gnome.org>
1309 * gfilenamecompleter.c:
1310 Fix some typos in the documentation.
1312 2008-02-06 Alexander Larsson <alexl@redhat.com>
1314 * glocalfile.c (g_local_file_trash):
1315 Don't succeed with trash if newly created
1316 trash dir has the wrong owner. (#514696)
1318 2008-02-05 Alexander Larsson <alexl@redhat.com>
1320 * glocalfile.c (g_local_file_move):
1321 Don't spew warnings when destination is not
1324 2008-02-03 Hans Breuer <hans@breuer.org>
1326 * makefile.msc : update
1328 2008-02-01 Michael Natterer <mitch@imendio.com>
1330 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1331 return value of xdg_mime_list_mime_parents() to a variable of the
1334 2008-02-01 Alexander Larsson <alexl@redhat.com>
1336 * gappinfo.c (g_app_info_launch_uris):
1337 Actually call the launch_uris method, not
1340 2008-02-01 Alexander Larsson <alexl@redhat.com>
1342 * gdesktopappinfo.c (g_desktop_app_info_equal):
1343 Ensure appinfos with no id but same pointer value
1346 2008-02-01 Alexander Larsson <alexl@redhat.com>
1348 * gappinfo.c (g_app_info_launch_default_for_uri):
1351 2008-02-01 Alexander Larsson <alexl@redhat.com>
1355 Add g_app_info_launch_default_for_uri utility
1358 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1360 * gdesktopappinfo.c:
1361 Doc fix for g_app_info_get_default_for_uri_scheme ()
1364 2008-01-30 Alexander Larsson <alexl@redhat.com>
1367 Add doc comment about uris vs GFiles to
1370 * gdesktopappinfo.c:
1371 Ensure uris passed to g_app_info_launch_uris()
1372 are not roundtriped through GFile (as that
1373 may be slightly destructive for e.g. mailto: links)
1375 2008-01-30 Alexander Larsson <alexl@redhat.com>
1377 * tests/data-input-stream.c:
1378 * tests/data-output-stream.c:
1379 C89 fixes from Jens Granseuer (#512849)
1381 2008-01-30 Alexander Larsson <alexl@redhat.com>
1384 Fix gamin/fam difference build issue. (#509419)
1386 2008-01-29 Alexander Larsson <alexl@redhat.com>
1389 * gdesktopappinfo.c:
1390 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1392 2008-01-29 Alexander Larsson <alexl@redhat.com>
1394 * gdesktopappinfo.c:
1395 * gdesktopappinfo.h:
1396 giomodule-priv.h include moved to .c file.
1398 2008-01-29 Alexander Larsson <alexl@redhat.com>
1400 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1401 Remove unused prio/name fields.
1403 2008-01-29 Alexander Larsson <alexl@redhat.com>
1405 * gcontenttype.c (looks_like_text):
1406 Don't treat whitespace as control chars.
1408 2008-01-29 Alexander Larsson <alexl@redhat.com>
1410 * gdesktopappinfo.c:
1411 Lazily create the desktop files for appinfos created
1412 by g_app_info_create_from_commandline() when needed
1413 for mime associations. This allows run-time use
1414 of GAppInfo object without creating unnecessary
1417 2008-01-29 Alexander Larsson <alexl@redhat.com>
1420 Added new symbols to gio.symbols
1422 2008-01-29 Alexander Larsson <alexl@redhat.com>
1425 Add g_file_query_default_handler utility to easily look up
1426 the GAppInfo that handles a file.
1428 * gdesktopappinfo.[ch]:
1430 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1433 Remove unused function
1435 2008-01-29 Alexander Larsson <alexl@redhat.com>
1437 * gfileenumerator.c:
1438 Mention need to free returned value in
1439 g_file_enumerator_next_files_finish docs.
1440 Fix leak if g_file_enumerator_next_files_finish()
1443 2008-01-29 Alexander Larsson <alexl@redhat.com>
1446 (_g_unix_content_type_get_parents):
1447 Use list_parents, not get_parents from xdgmime, because
1448 the later doesn't use the cache.
1450 * xdgmime/xdgmimecache.c:
1451 (_xdg_mime_cache_list_mime_parents):
1452 Don't list the same type as parent multiple times.
1454 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1456 * === Released 2.15.4 ===
1458 2008-01-28 Alexander Larsson <alexl@redhat.com>
1461 Register local vfs with prio 0.
1464 Remove old name and prio class members
1466 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1468 * tests/g-file.c: Disable some tests that are failing in
1469 the absence of a http backend.
1471 2008-01-28 Alexander Larsson <alexl@redhat.com>
1475 Add registration hooks for extension points.
1476 Register the gio extension points.
1478 * fam/gfamdirectorymonitor.c:
1479 * fam/gfamfilemonitor.c:
1480 * glocaldirectorymonitor.[ch]:
1481 * glocalfilemonitor.[ch]:
1482 * gnativevolumemonitor.h:
1483 * gunionvolumemonitor.c:
1484 * gunixvolumemonitor.c:
1487 * inotify/ginotifydirectorymonitor.c:
1488 * inotify/ginotifyfilemonitor.c:
1489 Use the extension points registration instead
1490 of g_type_children().
1492 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1495 * gvolume.[hc]: Document new API.
1497 * gfile.c (g_file_copy_async): Fix docs
1499 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1501 * gbufferedinputstream.c:
1503 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1506 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1508 * glocalfile.c: Avoid trivial differences in translatable strings.
1510 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1512 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1513 build with gcc 3.4 (#509419)
1515 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1517 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1518 (#509994, Murray Cumming)
1520 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1522 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1523 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1524 this allows big jobs to be executed in chunks, instead of blocking
1525 the main loop for a long time.
1527 * gsimpleasyncresult.c:
1528 * giofile.c: Adapt callers.
1530 2008-01-25 Alexander Larsson <alexl@redhat.com>
1532 * gdesktopappinfo.c:
1533 Implement changes discussed on xdg list.
1534 Now we can add supported mimetypes by just using defaults.list
1535 We can also remove associations in defaults.list.
1537 2008-01-25 Alexander Larsson <alexl@redhat.com>
1539 * gdesktopappinfo.c:
1540 Don't make local copy of desktop file
1541 for mimetype changes if the file already
1542 supports the new mimetype.
1544 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1548 * gbufferedinputstream.c:
1549 * glocalfile.c: String improvements. (#511966,
1550 Theppitak Karoonboonyanan)
1552 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1554 * gioscheduler.h: Expand docs a bit.
1556 2008-01-24 Alexander Larsson <alexl@redhat.com>
1559 Add g_drive_get_identifier and
1560 g_drive_enumerate_identifiers
1563 Add g_volume_get_identifier and
1564 g_volume_enumerate_identifiers
1570 Implement identifiers for unix backend
1572 2008-01-24 Alexander Larsson <alexl@redhat.com>
1577 Add g_file_copy_async() (#511580)
1578 Based on patch from Carlos Garcia Campos
1580 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1582 * gioscheduler.c: Some documentation additions.
1584 2008-01-22 Alexander Larsson <alexl@redhat.com>
1586 * gdesktopappinfo.c:
1587 (g_desktop_app_info_new):
1588 Don't leak basename.
1590 2008-01-22 Alexander Larsson <alexl@redhat.com>
1592 * gdesktopappinfo.c:
1593 (g_desktop_app_info_new_from_filename):
1596 2008-01-22 Alexander Larsson <alexl@redhat.com>
1598 * glocalfileinfo.c (get_thumbnail_attributes):
1601 2008-01-22 Alexander Larsson <alexl@redhat.com>
1604 (canonicalize_filename):
1605 Canonicalize paths that start with more than
1609 (compare_two_files):
1610 (test_g_file_new_for_path):
1613 2008-01-22 Alexander Larsson <alexl@redhat.com>
1616 Allow UTF-8 in file:// parse names.
1618 * tests/Makefile.am:
1619 * tests/data-input-stream.c:
1620 * tests/data-output-stream.c:
1621 * tests/g-file-info.c:
1623 Added a bunch of tests from Tomas Bzatek
1625 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1627 * === Released 2.15.3 ===
1629 2008-01-21 Alexander Larsson <alexl@redhat.com>
1631 * gfileinputstream.[ch]:
1632 * gfileoutputstream.[ch]:
1634 Remove duplicated GSeekable functions. (#509990)
1635 Just use the g_seekable_xxx() calls instead.
1637 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1640 * gvolumemanager.c: Whitespace cleanups.
1642 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1643 Use the right mode when creating the file.
1645 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1647 * gfileenumerator.c:
1648 * gfileinputstream.c:
1650 * goutputstream.c: Documentation: Fixed minor typos
1651 and added more mentions of specific _finish() functions.
1653 2008-01-21 Alexander Larsson <alexl@redhat.com>
1655 * inotify/Makefile.am:
1656 * inotify/inotify-helper.c:
1657 * inotify/inotify-kernel.c:
1658 * inotify/inotify-path.c:
1659 * inotify/local_inotify.h: Removed.
1660 * inotify/local_inotify_syscalls.h: Removed.
1661 Removed the included copies of the inotify
1662 headers. We now only use the <sys/inotify.h>
1663 header which exists on modern systems.
1664 This fixes problems on ARM and SH5 (#510448)
1665 but is also generally much cleaner and future
1666 safe. For instance, if other OSes add support
1667 for inotify it should "just work".
1669 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1671 * inotify/*.c: Coding style fixes.
1672 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1673 for the 1/4 Hz timer.
1675 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1678 * gfilemonitor.[hc]:
1679 * gmemoryinputstream.c:
1680 * gmemoryoutputstream.c:
1681 * gmountoperation.c:
1682 * gthemedicon.c: Documentation updates
1684 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1686 * gfile.c: documentation: Fixed more minor
1689 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1691 * gmount.c: (g_mount_remount): documentation:
1692 Mention g_mount_remount_finish() instead of
1693 g_mount_unmount_finish().
1695 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1699 * gfile.c: Fixed some minor typos in the
1702 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1704 * gio/gvolumemonitor.c:
1705 (g_volume_monitor_get_connected_drives):
1706 (g_volume_monitor_get_volumes):
1707 (g_volume_monitor_get_mounts): Documentation:
1708 Clarify the ownership of the regurn GLists.
1710 2008-01-17 Alexander Larsson <alexl@redhat.com>
1713 Add the async find_enclosing_mount version
1714 to the header file too.
1716 2008-01-17 Alexander Larsson <alexl@redhat.com>
1719 Add async version of find_enclosing_mount
1720 with default implementation.
1722 2008-01-17 Alexander Larsson <alexl@redhat.com>
1727 Allow calls to implementation of copy and write
1728 even if the type of the file implementations is
1729 different. This can be used to implement native
1730 upload and download calls in a vfs.
1733 (g_local_file_move):
1734 Protect against the case where move is called
1735 with one file not being local.
1737 Make sure we call the progress callback once
1738 in the native move operation so that the caller
1739 knows how many bytes were copied.
1741 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1744 * gdatainputstream.c:
1746 * gfileoutputstream.c:
1751 * gunixmounts.c: Corrected some typos in the documentation:
1752 occured -> occurred.
1753 its -> it's (where appropriate).
1755 2008-01-16 Alexander Larsson <alexl@redhat.com>
1759 Add g_file_query_exists (#508771)
1761 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1766 * gvolume.c: For async functions that have no non-async
1767 version, document that the GAsyncReadyCallback may be NULL.
1770 2008-01-15 Alexander Larsson <alexl@redhat.com>
1772 * gmemoryinputstream.c:
1773 * gmemoryoutputstream.c:
1774 Don't do pointer arithmetic on void * (#508602)
1775 Patch from Kazuki IWAMOTO
1777 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1779 * === Released 2.15.2 ===
1781 2008-01-14 Alexander Larsson <alexl@redhat.com>
1783 * gfile.c (g_file_monitor_file):
1784 Don't set error here, since we fallback to polling monitor.
1786 2008-01-14 Alexander Larsson <alexl@redhat.com>
1789 (g_file_monitor_directory):
1790 (g_file_monitor_file):
1791 Add GError to file monitor calls
1793 * glocaldirectorymonitor.c:
1794 * glocaldirectorymonitor.h:
1796 * glocalfilemonitor.c:
1797 * glocalfilemonitor.h:
1799 Update for above change
1801 2008-01-14 Alexander Larsson <alexl@redhat.com>
1805 Handle root correctly in g_file_get_relative_path (#508719)
1807 2008-01-14 Alexander Larsson <alexl@redhat.com>
1810 Clean up docs and example for GAsyncResult (#508074)
1812 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1814 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1815 and correct some spelling mistakes. Bug #508108.
1817 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1819 * glocalfileinfo.c: Add a comment.
1821 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1823 * gfileinfo.c: GFileInfo description: Mention
1824 how to actually set attributes in a GFile and how to discover
1825 which attributes are settable. Bug #508378.
1827 2008-01-10 A. Walton <awalton@svn.gnome.org>
1829 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1830 (g_app_info_get_default_for_type):
1831 Check for NULL content types.
1833 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1835 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1837 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1839 * gfile.c: *_async() functions: Several small corrections
1840 to the documentation, mostly correcting copy/paste errors
1841 and improving some sentences.
1843 2008-01-09 Dan Winship <danw@gnome.org>
1845 * glocalfile.c (get_unique_filename): x86_64 fix
1847 2008-01-09 Alexander Larsson <alexl@redhat.com>
1852 Add g_unix_mount_guess_should_display and use
1853 for unix volume monitor backend.
1854 This means we more or less show what the
1855 gnome-vfs backend did.
1856 Based on patch from Padraig O'Briain
1858 2008-01-09 Alexander Larsson <alexl@redhat.com>
1862 Add g_themed_icon_new_with_default_fallbacks
1865 Use default fallbacks for icons
1867 2008-01-09 Alexander Larsson <alexl@redhat.com>
1870 * gmountoperation.[ch]:
1871 Change the API a bit so that unhandled methods
1872 get reported via the reply, rather than by
1873 the signal emission return value. This is because
1874 some handlers can't know this immediately without
1875 doing I/O, and this is an async operation that
1878 2008-01-09 Alexander Larsson <alexl@redhat.com>
1881 * fam/gfamdirectorymonitor.c:
1882 * fam/gfamfilemonitor.c:
1883 Fix double free crash (#508224)
1884 Patch from Joe Marcus Clarke
1886 008-01-07 Matthias Clasen <mclasen@redhat.com>
1888 * === Released 2.15.1 ===
1890 2008-01-07 Alexander Larsson <alexl@redhat.com>
1892 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1893 Fix warning (#507835)
1895 2008-01-07 Alexander Larsson <alexl@redhat.com>
1898 Pass --internal to glib-genmarshal
1901 * gmountoperation.c:
1903 Use better types for signal arguments (#507822)
1905 2008-01-07 Alexander Larsson <alexl@redhat.com>
1908 Build test subdir after .
1909 Remove gdirectorymonitor.[ch]
1911 * gdirectorymonitor.[ch]:
1915 Remove GDirectoryMonitor and make
1916 GFileMonitor the baseclass for both file and
1917 directory monitors. Lift the more generic
1918 rate limiting code from GDirectoryMonitor
1922 * fam/gfamdirectorymonitor.[ch]:
1923 * inotify/ginotifydirectorymonitor.[ch]:
1924 * inotify/inotify-helper.c:
1925 * glocaldirectorymonitor.[ch]:
1928 Update for the removed GDirectoryMonitor.
1930 * gmemoryoutputstream.c:
1931 Remove ununsed variable
1933 2008-01-07 Alexander Larsson <alexl@redhat.com>
1935 * gmemoryinputstream.c:
1936 Translate error strings
1939 * gmemoryoutputstream.[ch]:
1940 New implementation that avoids using GByteArray
1941 in implementation and API. (#506377)
1943 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1945 * tests/*: Add a test for memory input streams.
1947 * Makefile.am: Add tests to SUBDIRS.
1949 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1951 * glocalfilemonitor.c:
1952 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1955 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1957 * gdesktopappinfo.c: Fix a docs typo.
1959 * gfileattribute.c: Add information about extended attributes
1960 to the documentation. (#505058)
1962 2008-01-04 Alexander Larsson <alexl@redhat.com>
1965 * gmountoperation.c:
1966 Use the right type (uint) for the ask_password signal.
1968 2008-01-04 Alexander Larsson <alexl@redhat.com>
1973 Add g_app_info_supports_files()
1974 Remove desktop arg from g_app_info_should_show().
1976 * gdesktopappinfo.[ch]:
1977 Implement g_app_info_supports_files() and new should_show()
1978 Add g_desktop_app_info_set_desktop_env() to set the desktop
1979 for should_show(). (This will be set by gtk+ later)
1981 2008-01-04 Alexander Larsson <alexl@redhat.com>
1984 * gmemoryinputstream.[ch]:
1985 Improve API so that you can use multiple chunks
1986 of memory and custom destroy functions. (#506374)
1988 2008-01-03 Alexander Larsson <alexl@redhat.com>
1991 Handle NULL attribute matchers safely, as we return this
1992 for empty attribute matcher strings.
1994 2008-01-03 Alexander Larsson <alexl@redhat.com>
1996 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1997 Add /usr/local to list of internal mountpoints
1999 2008-01-03 Alexander Larsson <alexl@redhat.com>
2002 Check for HAVE_LCHOWN (#505887)
2004 2008-01-03 Alexander Larsson <alexl@redhat.com>
2008 Add define for selinux context attribute.
2009 Fix missing : -> :: namespace separator change
2010 Fix missing _ -> - name change for xattr-sys.
2013 2008-01-03 Alexander Larsson <alexl@redhat.com>
2016 Link to libglib and libgobject directly (#504879)
2017 Patch from Sebastien Bacher
2019 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2021 * gfile.c: Expanded the g_file_new_for_commandline_arg
2022 description a bit, based on the code and the docs of the
2023 other g_file_new_for_* functions.
2025 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2027 * gfilemonitor.h: Fixed typo in docs.
2029 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2031 Updates to GIO documentation. (#506395, Mikael Hermansson)
2033 * gcontenttype.c: Describe memory management for return value of
2034 g_content_types_get_registered(). Missing piece from #505815.
2035 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2036 GVolume, GDrive, GMounts, which hopefully gives the user less
2037 confusions when using this API. Following explainations from
2038 Alexander Larsson on gtk-devel-list.
2040 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2042 * gfileinfo.c: Expand the long description.
2044 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2047 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2048 fix builds with --disable-visibility. (#500273, Christian Persch)
2050 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2052 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2053 in the list of returned app infos.
2055 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2057 * gappinfo.c: Fix a cross-reference
2059 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2061 * gfileinputstream.c:
2062 * gfileoutputstream.c:
2066 * gdesktopappinfo.c:
2068 * gfileinfo.c: Documentation updates.
2070 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2072 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2075 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2077 * gcontenttype.c (g_content_types_get_registered): Don't return
2078 freed memory (#505815, Mikael Hermansson)
2080 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2082 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2083 used to detect statbuf->st_blocks. (#505042)
2085 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2087 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2088 environment handling. (#504829, Cosimo Cecchi)
2090 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2092 * gappinfo.c: Doc improvements
2094 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2097 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2099 * === Released 2.15.0 ===
2101 2007-12-20 Hans Breuer <hans@breuer.org>
2103 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2104 with symbols gwin32appinfo.obj, added gmount.obj
2105 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2107 2007-12-20 Alexander Larsson <alexl@redhat.com>
2113 * gfilenamecompleter.c:
2116 * gpollfilemonitor.c:
2117 File attribute renames:
2119 fs:: -> filesystem::
2120 id::fs -> id::filesystem
2122 2007-12-20 Alexander Larsson <alexl@redhat.com>
2131 Add GMountUnmountFlags to all unmount and
2133 Add g_mount_remount() call.
2135 2007-12-20 Alexander Larsson <alexl@redhat.com>
2137 * gvfs.c (get_default_vfs):
2138 Fix unused variable warning
2140 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2142 * pltcheck.sh: Update
2144 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2146 * gunionvolumemonitor.c:
2147 * gunixmount.c: Remove C99 comments
2149 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2151 * gio.symbols: Add some missing symbols
2153 2007-12-19 Alexander Larsson <alexl@redhat.com>
2156 Make g_io_modules_load_all_in_directory not unuse
2157 loaded modules so that users of it can do stuff
2159 Init internal "module" types.
2160 Initialize static prio and name for types so that
2161 we don't have to load modules to get it.
2163 * gnativevolumemonitor.h:
2165 Move is_supported to parent class so that
2166 non-native monitors can avoid being initialized
2167 too. (For instance GDaemonVolumeMonitor if we're
2168 not using GDaemonVfs.)
2170 * glocaldirectorymonitor.[ch]:
2171 * glocalfilemonitor.[ch]:
2172 * gunionvolumemonitor.c:
2173 * gunixvolumemonitor.c:
2175 Find plugins using the static prio+name to
2176 avoid unnecessarily loading the modules.
2178 2007-12-19 Alexander Larsson <alexl@redhat.com>
2183 2007-12-19 Alexander Larsson <alexl@redhat.com>
2185 * gunionvolumemonitor.c:
2186 Store the native type as GType, not class so that
2187 we can unload it. But still avoid unnecessarily
2190 2007-12-19 David Zeuthen <davidz@redhat.com>
2192 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2193 add signals 'disconnected' and 'eject-button' on GDrive. Add
2194 signal 'removed' on GVolume and 'unmounted' on GMount.
2196 * gdrive.c: (g_drive_base_init):
2198 * gfile.c: (g_file_mount_mountable),
2199 (g_file_mount_enclosing_volume):
2202 * gmount.c: (g_mount_base_init):
2204 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2205 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2206 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2210 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2212 * *.c: Fix up includes in the section docs.
2214 2007-12-17 Alexander Larsson <alexl@redhat.com>
2216 * gnativevolumemonitor.h:
2217 * gunionvolumemonitor.c:
2218 * gunixvolumemonitor.c:
2219 Add is_supported() to GNativeVolumeMonitorClass so
2220 that we can avoid having to create an object to see
2221 if the backend is supported at runtime.
2222 Also add name member and an env var to pick a specific
2223 volume monitor backend.
2227 Add cancellable to _g_mount_get_for_mount_path()
2229 * glocaldirectorymonitor.c:
2230 * glocalfilemonitor.c:
2231 Avoid loading and unloading modules while sorting.
2233 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2236 * gunixmounts.[hc]: Namespace waste reduction, move some
2237 g_get_unix_mount functions to the g_unix_mount namespace.
2240 * gunixvolumemonitor.c:
2242 * glocaldirectorymonitor.c: Update all callers.
2244 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2246 2007-12-17 Alexander Larsson <alexl@redhat.com>
2249 Add doc comments about what GFile operations are
2250 guaranteed to not block.
2252 2007-12-17 Alexander Larsson <alexl@redhat.com>
2255 Add missing #ifdef fixing OSX build.
2256 (#503334, patch from Richard Hult)
2258 2007-12-14 David Zeuthen <davidz@redhat.com>
2262 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2263 (g_mount_eject), (g_mount_eject_finish):
2265 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2266 (get_volume_for_uuid), (get_mount_for_uuid),
2267 (g_union_volume_monitor_class_init),
2268 (get_default_native_type_with_exclude), (get_default_native_type),
2269 (get_native_type), (update_native_type),
2270 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2271 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2272 (g_unix_mount_can_eject), (eject_unmount_cb),
2273 (eject_unmount_read_error), (eject_unmount_do),
2274 (g_unix_mount_unmount), (g_unix_mount_eject),
2275 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2276 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2277 (g_unix_mount_point_guess_can_eject):
2279 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2280 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2281 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2282 (g_unix_volume_mount), (g_unix_volume_eject),
2283 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2284 * gunixvolumemonitor.c: (get_volume_for_uuid),
2285 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2287 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2288 (g_volume_eject), (g_volume_eject_finish):
2290 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2291 (g_volume_monitor_get_mount_for_uuid):
2294 Provide eject() on both GMount and GVolume and utility functions
2295 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2296 ejected. Introduce the concept of UUID's and wire it into GVolume
2297 and GMount and provide API on GVolumeMonitor to find such
2298 instances. Also handle the case where an external
2299 GNativeVolumeMonitor fails to initialize. Lock around the
2300 _g_get_mount_for_mount_path() function such that volume monitor
2301 implementations won't have to do locking themselves.
2303 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2305 * gdesktopappinfo.c:
2311 * gvolume.h: Documentation updates
2313 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2316 * gfile.h: Doc updates
2318 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2321 * gdesktopappinfo.c: Use hash table iterators.
2323 2007-12-14 Alexander Larsson <alexl@redhat.com>
2326 * gfileattribute.[ch]:
2327 * gfileattribute-priv.h:
2328 Move GFileAttributeValue to a private header, as
2332 Make set_attribute take a type + a pointer instead
2333 of a GFileAttributeValue.
2336 Fix up for above changes.
2337 Add g_file_info_get_attribute_data to get
2338 all info in one call, g_file_info_get_attribute_status
2339 to get the status and g_file_info_get_attribute_as_string.
2343 * glocalfileinfo.[ch]:
2347 Make _guess_type static.
2349 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2352 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2353 made mkenums and friends use temporary files to avoid leaving
2354 empty generated files on failure (#503470).
2356 2007-12-14 Alexander Larsson <alexl@redhat.com>
2358 * gmountoperation.h:
2361 2007-12-14 Alexander Larsson <alexl@redhat.com>
2365 * gfileattribute.[ch]:
2368 * glocalfileoutputstream.c:
2369 * gmountoperation.[ch]:
2370 * goutputstream.[ch]:
2371 Clean up all flags enums to not have _FLAGS in them
2372 Make the names of some of the enums better.
2377 2007-12-14 Michael Natterer <mitch@imendio.com>
2379 * gio.symbols: fix g_io_scheduler symbol names.
2381 2007-12-14 Alexander Larsson <alexl@redhat.com>
2387 * gbufferedinputstream.h:
2388 * gbufferedoutputstream.h:
2391 * gdatainputstream.h:
2392 * gdataoutputstream.h:
2393 * gdesktopappinfo.h:
2394 * gdirectorymonitor.h:
2398 * gfileenumerator.h:
2401 * gfileinputstream.h:
2403 * gfilenamecompleter.h:
2404 * gfileoutputstream.h:
2405 * gfilterinputstream.h:
2406 * gfilteroutputstream.h:
2414 * gmemoryinputstream.h:
2415 * gmemoryoutputstream.h:
2417 * gmountoperation.h:
2420 * gsimpleasyncresult.h:
2422 * gunixinputstream.h:
2424 * gunixoutputstream.h:
2428 * inotify/Makefile.am:
2429 Only allow including <gio/gio.h> from apps
2431 2007-12-14 Alexander Larsson <alexl@redhat.com>
2433 * gioscheduler.[ch]:
2434 * gsimpleasyncresult.c:
2435 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2436 Split out the send_to_mainloop call into two versions instead
2437 of having the block argument.
2439 2007-12-13 Alexander Larsson <alexl@redhat.com>
2441 * gcancellable.[ch]:
2443 * gbufferedinputstream.c:
2444 * gfileenumerator.c:
2445 * gfileinputstream.c:
2446 * gfileoutputstream.c:
2450 g_push/pop_current_cancellable ->
2451 g_cancellable_push/pop_current
2453 2007-12-13 Alexander Larsson <alexl@redhat.com>
2457 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2459 2007-12-13 Alexander Larsson <alexl@redhat.com>
2461 * gmountoperation.h:
2462 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2464 2007-12-12 Alexander Larsson <alexl@redhat.com>
2467 Fix race condition when freeing proxy in
2468 g_io_job_send_to_mainloop().
2470 2007-12-12 Alexander Larsson <alexl@redhat.com>
2476 Make attribute namespace separator "::" instead of ":".
2477 Use - instead of _ as separator in attribute names.
2479 2007-12-12 Alexander Larsson <alexl@redhat.com>
2481 * gbufferedinputstream.h:
2482 * gbufferedoutputstream.h:
2483 * gdatainputstream.h:
2484 * gdataoutputstream.h:
2485 * gdirectorymonitor.h:
2486 * gfileenumerator.h:
2487 * gfileinputstream.h:
2489 * gfileoutputstream.h:
2490 * gfilterinputstream.h:
2491 * gfilteroutputstream.h:
2493 * glocalfileinputstream.h:
2494 * glocalfileoutputstream.h:
2495 * gmemoryinputstream.h:
2496 * gmemoryoutputstream.h:
2497 * gnativevolumemonitor.h:
2499 * gunixinputstream.h:
2500 * gunixoutputstream.h:
2503 s/parent/parent_instance/ in GObjects
2505 2007-12-12 Alexander Larsson <alexl@redhat.com>
2510 No need for padding for interfaces
2512 2007-12-12 Alexander Larsson <alexl@redhat.com>
2516 * gbufferedinputstream.c:
2517 * gbufferedoutputstream.c:
2520 * gdatainputstream.[ch]:
2521 * gdesktopappinfo.c:
2522 * gdirectorymonitor.c:
2524 * gfileattribute.[ch]:
2527 * gfileinputstream.h:
2528 * gfilemonitor.[ch]:
2529 * gfileoutputstream.[ch]:
2530 * gfilterinputstream.h:
2531 * gfilteroutputstream.h:
2534 * gloadableicon.[ch]:
2535 * gmemoryinputstream.c:
2536 * gmountoperation.c:
2538 Fix up a bunch of details in the docs.
2543 2007-12-11 David Zeuthen <davidz@redhat.com>
2545 Rework how volumes, drives and volume monitoring is
2546 done. Previosly the model was
2548 GDrive <1-1> GVolume
2550 where a GDrive instance represented a mount point and a GVolume
2551 instance represented a mounted file system. This patch changes it
2554 GDrive <1-N> GVolume <1-1> GMount
2556 where GMount now serves the purpose of the old GVolume and the new
2557 GVolume serves the purpose of the old GDrive. In addition the new
2558 GDrive interface is used to represent a collection of GVolume
2559 instances (typically partitions) and also contains utility to query
2560 the state of the physical drive the GDrive object represents (such
2561 as checking for media, polling the drive, ejecting the media etc.).
2563 Also implement mounting and unmounting in the Unix volume monitor
2564 backend. A subquent patch will introduce GDrive support for ejection
2568 * gdrive.c: (g_drive_is_media_check_automatic),
2569 (g_drive_is_media_removable), (g_drive_has_media),
2570 (g_drive_can_poll_for_media), (g_drive_eject),
2571 (g_drive_eject_finish), (g_drive_poll_for_media),
2572 (g_drive_poll_for_media_finish):
2574 * gfile.c: (g_file_find_enclosing_mount):
2577 * glocaldirectorymonitor.c:
2578 (g_local_directory_monitor_constructor), (mounts_changed):
2579 * glocalfile.c: (get_mount_info),
2580 (g_local_file_find_enclosing_mount),
2581 (g_local_file_file_iface_init):
2582 * gnativevolumemonitor.h:
2583 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2584 (get_connected_drives), (g_union_volume_monitor_class_init),
2585 (child_volume_added), (child_volume_removed),
2586 (child_volume_changed), (child_mount_added), (child_mount_removed),
2587 (child_mount_pre_unmount), (child_mount_changed),
2588 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2589 (g_union_volume_monitor_remove_monitor),
2590 (_g_mount_get_for_mount_path):
2591 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2592 (guess_system_internal), (_g_get_unix_mounts),
2593 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2594 (g_unix_mount_free), (g_unix_mount_compare),
2595 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2596 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2597 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2598 (type_to_icon), (g_unix_mount_guess_name),
2599 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2600 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2601 (_resolve_symlink), (_resolve_dev_root):
2603 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2604 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2605 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2606 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2607 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2608 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2609 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2610 (g_unix_volume_volume_iface_init):
2612 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2613 (get_mounts), (get_volumes), (get_connected_drives),
2614 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2615 (mountpoints_changed), (mounts_changed),
2616 (g_unix_volume_monitor_init),
2617 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2618 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2619 * gunixvolumemonitor.h:
2620 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2621 (g_volume_mount), (g_volume_mount_finish):
2623 * gvolumemonitor.c: (g_volume_monitor_class_init),
2624 (g_volume_monitor_get_connected_drives),
2625 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2628 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2630 * gmountoperation.h (GPasswordFlags): Close the gap
2632 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2634 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2636 * gdesktopappinfo.[hc]: Remove _-prefixes
2638 2007-12-10 Tor Lillqvist <tml@novell.com>
2640 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2643 2007-12-10 Alexander Larsson <alexl@redhat.com>
2645 * gfile.c (g_file_set_display_name):
2646 Don't hardcode '/' (#502727)
2648 2007-12-09 Hans Breuer <hans@breuer.org>
2650 * makefile.msc : follow lib naming convention
2651 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2652 for user and group name, tested with ../tests/gio-ls
2654 2007-12-09 A. Walton <awalton@svn.gnome.org>
2656 * gdesktopappinfo.c:
2662 * gfileenumerator.c:
2667 * gmemoryinputstream.c:
2668 * gmemoryoutputstream.c:
2670 * gsimpleasyncresult.c:
2671 More documentation cleanup and filling in missing information, bringing
2672 GIO to 99% symbol coverage.
2674 2007-12-08 Hans Breuer <hans@breuer.org>
2676 [gio compiles and links on win32, not sure how much already works]
2677 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2678 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2679 base on win32 API; prefer g_lstat() over lstat(); instead of
2680 localtime_r() use an all GLib implementation on win32;
2681 get_mount_info() still needs a win32 specifc implementation
2682 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2683 win32_get_file_user_info to get owner/group info without uid/gid
2684 * glocalfileinputstream.c : include <io.h> on win32
2685 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2686 definition, use g_win32_ftruncate() for G_OS_WIN32
2687 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2688 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2689 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2690 * makefile.msc : updated
2692 2007-12-07 Alexander Larsson <alexl@redhat.com>
2694 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2695 Avoid warning spew if error == NULL
2697 2007-12-07 Alexander Larsson <alexl@redhat.com>
2700 Update docs wrt etags
2702 2007-12-06 Alexander Larsson <alexl@redhat.com>
2705 Include sys/types.h for dev_t (#501919)
2707 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2711 Make abicheck and pltcheck pass.
2713 2007-12-05 Alexander Larsson <alexl@redhat.com>
2716 * giomodule-priv.h: Added.
2717 * glocaldirectorymonitor.c:
2718 * glocalfilemonitor.c:
2719 * gunionvolumemonitor.c:
2721 Actually add the declaration of _g_io_modules_ensure_loaded
2723 2007-12-05 Alexander Larsson <alexl@redhat.com>
2725 * gdatainputstream.c:
2730 * glocaldirectorymonitor.c:
2731 * glocalfilemonitor.c:
2732 * gunionvolumemonitor.c:
2734 Make g_io_modules_ensure_loaded a private function and
2735 don't pass in the dirname. This means we can do magic
2736 directory finding in the win32 version.
2737 Export the actual load-modules-in-directory code so that
2738 gvfs can reuse that.
2740 2007-12-05 Alexander Larsson <alexl@redhat.com>
2742 * gbufferedinputstream.c:
2743 * gbufferedoutputstream.c:
2746 * gfileenumerator.[ch]:
2747 * gfileinputstream.c:
2748 * gfileoutputstream.[ch]:
2749 * gfilterinputstream.c:
2750 * gfilteroutputstream.c:
2751 * ginputstream.[ch]:
2753 * glocalfileenumerator.c:
2754 * glocalfileinputstream.c:
2755 * glocalfileoutputstream.c:
2756 * gmemoryinputstream.c:
2757 * gmemoryoutputstream.c:
2758 * goutputstream.[ch]:
2761 * gunixinputstream.c:
2762 * gunixoutputstream.c:
2763 Rename all struct members named:
2764 read, write, close, truncate, or mount
2765 to foo_fn, as these are reserved names
2766 and could be defined as macros in libc.
2769 2007-12-04 Alexander Larsson <alexl@redhat.com>
2772 (g_output_stream_close):
2773 Only call flush if non-null.
2775 2007-11-30 Dan Winship <danw@gnome.org>
2777 * ginputstream.c (g_input_stream_set_pending): Make this take a
2778 GError and return a gboolean, and do the "outstanding operation"
2779 check (and the "stream is already closed" check) itself.
2780 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2782 * goutputstream.c (g_output_stream_set_pending)
2783 (g_output_stream_clear_pending): Likewise
2785 * gbufferedinputstream.c:
2786 * gfileinputstream.c:
2787 * gfileoutputstream.c: Update for that
2789 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2790 Like g_simple_async_report_error_in_idle, but takes a GError
2791 rather than building one.
2793 2007-11-30 Dan Winship <danw@gnome.org>
2795 * goutputstream.c: Don't cheat and unset the "pending" flag around
2796 inner calls. Instead, call the class method directly rather than
2797 the wrapper function that checks "pending"
2799 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2801 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2803 2007-12-03 Hans Breuer <hans@breuer.org>
2805 [start of port to win32/msvc]
2806 * gcancellable.c : HAVE_UNIST_H and _pipe()
2807 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2808 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2809 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2811 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2812 * glocalvfs.c : use HAVE_PWD_H
2813 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2814 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2815 * Makefile.am : added to EXTRA_DIST
2817 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2819 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2822 2007-12-03 Alexander Larsson <alexl@redhat.com>
2825 Handle OSX style xattrs API (#500506)
2827 2007-12-03 Alexander Larsson <alexl@redhat.com>
2831 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2833 2007-12-02 A. Walton <awalton@svn.gnome.org>
2837 Documentation accuracy fixes.
2839 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2841 * gioenumtypes.c.template: Fix typo.
2843 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2845 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2847 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2849 * gdirectorymonitor.c:
2850 * gfilemonitor.c: Add properties
2852 * gbufferedoutputstream.c: Don't mark buffer-size property
2855 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2857 * gbufferedoutputstream.c: Add auto-grow property.
2859 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2861 * *.c: Unify the capitalization of section headings.
2863 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2865 * gmountoperation.c: Add properties
2867 * gdatainputstream.c: Turn byte-order and newline-type into
2870 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2872 * gioenumtypes.[hc].template: Templates for enum registration
2874 * Makefile.am: Generate gioenumtypes.[hc]
2876 * gio.h: Include gioenumtypes.h
2878 * gfile.h: Add some explicit nicks.
2880 * gio.symbols: Add new symbols
2882 * pltcheck.sh: Adjust
2884 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2886 * *.c: Explain etags and link to the explanation
2888 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2890 * *.c: Explain I/O priority.
2892 * *.c: More coding style fixes.
2894 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2896 * gasyncresult.c: Add another paragraph to the intro,
2897 adjust coding style of example.
2899 2007-11-29 A. Walton <awalton@svn.gnome.org>
2902 Fixes unknown meaning in GAppLaunchContext docs.
2904 Clarify asynchronous ops.
2906 Fix entity tag docs.
2909 Provides missing gtk-doc section, fixes API docs slighly.
2910 * gsimpleasyncresult.c:
2911 Fill in missing info in docs.
2912 * gunixinputstream.c:
2913 * gunixoutputstream.c:
2914 Be more expressive in short description.
2916 Remove gtk-doc stubs for non-public API.
2918 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2920 * *.c: Coding style fixups
2922 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2924 * inotify/inotify-helper.c: Don't export the lock from libgio.
2926 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2929 * abicheck.sh: Fix copy-and-paste leftovers
2931 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2933 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2935 2007-11-28 Alexander Larsson <alexl@redhat.com>
2939 Removed unnecessary file
2941 * gdesktopappinfo.[ch]:
2944 * glocaldirectorymonitor.[ch]:
2946 * glocalfileenumerator.[ch]:
2947 * glocalfileinputstream.[ch]:
2948 * glocalfilemonitor.[ch]:
2949 * glocalfileoutputstream.[ch]:
2951 * gnativevolumemonitor.c:
2952 * gpollfilemonitor.[ch]:
2953 * gunionvolumemonitor.[ch]:
2956 * gunixvolumemonitor.[ch]:
2959 * inotify/ginotifydirectorymonitor.[ch]:
2960 * inotify/ginotifyfilemonitor.[ch]:
2961 * inotify/inotify-helper.c:
2962 Append _ to all internal functions
2966 Export symbols needed for modules
2968 2007-11-28 Alexander Larsson <alexl@redhat.com>
2971 * abicheck.sh: Added.
2972 * makegioalias.pl: Added.
2973 * pltcheck.sh: Added.
2974 * gio.symbols: Added.
2977 Initial work on adding symbol handling.
2980 Correct ifdef guard name
2983 * inotify/Makefile.am:
2984 * xdgmime/Makefile.am:
2985 Include toplevel Makefile.decl
2987 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2989 * gcontenttype.c: Move doc comments to the unix section.
2991 * *.[hc]: More trivial doc corrections.
2993 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2995 * gpollfilemonitor.c:
2999 * gdesktopappinfo.c:
3004 * gdatainputstream.c:
3005 * gdatainputstream.h:
3006 * gdataoutputstream.c:
3007 * gdataoutputstream.h:
3008 * gfileinfo.h: Doc cleanups
3010 2007-11-28 Andre Klapper <a9016009@gmx.de>
3012 * gdesktopappinfo.c: Fix a typo.
3014 2007-11-27 Andre Klapper <a9016009@gmx.de>
3016 * glocalfileoutputstream.c: Fix a typo.
3018 2007-11-27 Alexander Larsson <alexl@redhat.com>
3021 Don't include removed headers
3023 2007-11-27 Alexander Larsson <alexl@redhat.com>
3026 * gsocketinputstream.[ch]: Removed.
3027 * gsocketoutputstream.[ch]: Removed.
3028 * gunixinputstream.[ch]: Added.
3029 * gunixoutputstream.[ch]: Added.
3030 Renamed GSocket*Stream to GUnix*Stream and made
3031 it unix-only, since its not really only for sockets
3032 and it only works on unix (but is highly useful there).
3034 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3040 * gbufferedinputstream.c:
3041 * gbufferedinputstream.h:
3042 * gbufferedoutputstream.c:
3043 * gbufferedoutputstream.h:
3047 * gdatainputstream.c:
3048 * gdatainputstream.h:
3049 * gdataoutputstream.c:
3050 * gdataoutputstream.h:
3051 * gdirectorymonitor.c:
3052 * gdirectorymonitor.h:
3059 * gfileenumerator.c:
3060 * gfileenumerator.h:
3065 * gfileinputstream.c:
3066 * gfileinputstream.h:
3069 * gfilenamecompleter.c:
3070 * gfilenamecompleter.h:
3071 * gfileoutputstream.c:
3072 * gfileoutputstream.h:
3073 * gfilterinputstream.c:
3074 * gfilterinputstream.h:
3075 * gfilteroutputstream.c:
3076 * gfilteroutputstream.h:
3089 * glocalfileoutputstream.c:
3090 * gmemoryinputstream.c:
3091 * gmemoryinputstream.h:
3092 * gmemoryoutputstream.c:
3093 * gmemoryoutputstream.h:
3094 * gmountoperation.c:
3095 * gmountoperation.h:
3098 * gpollfilemonitor.c:
3101 * gsimpleasyncresult.c:
3102 * gsimpleasyncresult.h:
3103 * gsocketinputstream.c:
3104 * gsocketinputstream.h:
3105 * gsocketoutputstream.c:
3106 * gsocketoutputstream.h:
3113 * gunixvolumemonitor.c:
3122 Bumps documentation to 93% symbol coverage, touching most
3123 of the public files. Fixes broken function documentation prototypes.
3124 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3125 gtk-doc headers in private files.
3127 2007-11-27 Jürg Billeter <j@bitron.ch>
3129 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3130 (g_buffered_input_stream_read_byte):
3131 * gbufferedinputstream.h:
3132 New functions for efficient access to buffer and simple single byte
3135 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3136 (g_data_input_stream_read_until):
3137 * gdatainputstream.h:
3138 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3139 read_until with multiple stop chars.
3141 2007-11-27 Alexander Larsson <alexl@redhat.com>
3145 * inotify/Makefile.am:
3146 Use the user-specified giomoduledir
3148 2007-11-27 Alexander Larsson <alexl@redhat.com>
3152 Add catch-all gio.h header
3153 Don't install gdummyfile.h
3155 2007-11-26 Alexander Larsson <alexl@redhat.com>
3157 * Makefile.am (gioinclude_HEADERS):
3158 Remove trailing whitespace
3160 2007-11-26 Alexander Larsson <alexl@redhat.com>
3162 Merge gio-standalone into glib
3164 2007-11-25 Christian Kellner <gicmo@gnome.org>
3166 * gio/goutputstream.c:
3167 Fix small mistake in the docs.
3169 2007-11-21 Christian Persch <chpe@gnome.org>
3171 * gio/glocalfile.c: (g_local_file_trash):
3172 Convert filenames to UTF-8 for GError.
3173 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3174 as per xdg base dir spec.
3176 2007-11-21 Christian Persch <chpe@gnome.org>
3178 * gio/gdesktopappinfo.c:
3179 Use that g_key_file_to_data cannot fail.
3181 Use stock defines for the key file group and key names.
3184 2007-11-21 Alexander Larsson <alexl@redhat.com>
3187 (copy_stream_with_progress):
3188 Make sure we do a final progress callback with
3189 the full total size.
3191 2007-11-21 Alexander Larsson <alexl@redhat.com>
3194 Export g_file_copy_attributes
3195 Remove padding as its not needed for interfaces
3197 2007-11-20 Alexander Larsson <alexl@redhat.com>
3202 Add G_IO_ERROR_WOULD_MERGE for
3203 copy/move dir on dir with overwrite.
3205 2007-11-20 Alexander Larsson <alexl@redhat.com>
3208 * gio/glocalfileinfo.c:
3209 Add COPY_NAME (this is an optional
3210 non-modified utf8 version of the name) that
3213 2007-11-20 Alexander Larsson <alexl@redhat.com>
3215 * gio/glocalfileenumerator.c:
3216 Report errors as GIOError, not GFileError
3218 2007-11-16 Alexander Larsson <alexl@redhat.com>
3220 * gio/glocalfileoutputstream.c:
3221 * gio/gwin32appinfo.c:
3222 Fix typos in strings.
3223 Patch from Luca Ferretti <elle.uca@libero.it>
3225 2007-11-15 Alexander Larsson <alexl@redhat.com>
3228 Post release version bump
3230 === gio-standalone 0.1.2 ===
3232 2007-11-15 Alexander Larsson <alexl@redhat.com>
3234 * docs/reference/gio/Makefile.am:
3235 Fix up distcheck by removing weird
3241 2007-11-14 Alexander Larsson <alexl@redhat.com>
3243 * gio/gdesktopappinfo.c:
3244 * gio/glocaldirectorymonitor.c:
3246 * gio/glocalfileinfo.c:
3247 * gio/inotify/inotify-sub.c:
3248 * programs/gio-cat.c:
3249 * programs/gio-copy.c:
3250 * programs/gio-info.c:
3251 * programs/gio-ls.c:
3252 * programs/gio-monitor-dir.c:
3253 * programs/gio-monitor-file.c:
3254 * programs/gio-mount.c:
3255 * programs/gio-move.c:
3256 * programs/gio-rm.c:
3257 * programs/gio-save.c:
3258 * programs/gio-trash.c:
3259 Leak fixes from Kjartan Maraas
3261 2007-11-14 Alexander Larsson <alexl@redhat.com>
3263 * gio/fam/fam-helper.c:
3265 * gio/glocalfileinfo.c:
3269 * gio/inotify/inotify-diag.c:
3270 * gio/inotify/inotify-kernel.c:
3271 Various code cleanups from Kjartan Maraas
3273 2007-11-14 Alexander Larsson <alexl@redhat.com>
3275 * gio/gioscheduler.c:
3277 Set up threadpool so that we cache 2 unused
3278 idle threads for at 15 secs. This means we
3279 will reuse thread-local data (like dbus connections)
3282 2007-11-14 Alexander Larsson <alexl@redhat.com>
3284 * gio/fam/fam-helper.c:
3285 * gio/fam/gfamdirectorymonitor.c:
3286 * gio/fam/gfamfilemonitor.c:
3288 * gio/gcontenttype.c:
3289 * gio/gdatainputstream.c:
3290 * gio/gdataoutputstream.c:
3294 * gio/gfileattribute.h:
3295 * gio/gfileenumerator.c:
3297 * gio/ginputstream.c:
3300 * gio/glocalfileinfo.c:
3301 * gio/goutputstream.c:
3302 * gio/gpollfilemonitor.c:
3303 * gio/gsimpleasyncresult.c:
3304 * gio/gunixmounts.c:
3305 * gio/gunixmounts.h:
3306 * gio/inotify/ginotifydirectorymonitor.c:
3307 * gio/inotify/ginotifyfilemonitor.c:
3308 * gio/inotify/inotify-diag.c:
3309 * gio/inotify/inotify-kernel.c:
3310 * gio/inotify/inotify-path.c:
3312 * gio/test-streams.c:
3313 * programs/gio-info.c:
3314 * programs/gio-monitor-dir.c:
3315 * programs/gio-monitor-file.c:
3316 Various code cleanups from Kjartan Maraas
3318 2007-11-13 Alexander Larsson <alexl@redhat.com>
3321 Handle the uri-scheme calls for dummy files
3323 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3325 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3326 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3327 to avoid clash with the C++ keyword.
3329 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3331 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3332 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3334 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3336 * gio/glocaldirectorymonitor.c:
3337 * gio/glocalfilemonitor.c:
3338 * gio/gunionvolumemonitor.c:
3339 Don't use g_once_init_*() for initializations that could fail and
3340 could leave the initialization variable set to 0 but use GOnce.
3341 This prevents a deadlock on the second call when trying to create
3342 a monitor and no monitor type is available. Thanks to Sven Herzberg
3345 2007-11-11 Sven Herzberg <sven@imendio.com>
3347 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3348 #ifdef (make it work on MacOS X again)
3350 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3352 Fixes Changelog for last two commits (sorry guys).
3354 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3356 * gio/gbufferedinputstream.c:
3357 * gio/gdatainputstream.c:
3359 * gio/gfileoutputstream.c:
3360 * gio/gfilterinputstream.c:
3361 * gio/glocalfileinputstream.c:
3364 More consistency fixes in g*stream.c files.
3365 Significant clean of gfile's documentation, filling in of
3366 asynchronous operations documentation.
3368 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3370 * gio/gasyncresult.c:
3371 * gio/gbufferedinputstream.c:
3372 * gio/gbufferedoutputstream.c:
3373 * gio/gcancellable.c:
3374 * gio/gcontenttype.c:
3375 * gio/gdatainputstream.c:
3376 * gio/gdataoutputstream.c:
3377 * gio/gdesktopappinfo.c:
3380 * gio/gfileattribute.c:
3381 * gio/gio/gfileenumerator.c:
3383 * gio/gfileinputstream.c:
3384 * gio/gfilemonitor.c:
3385 * gio/gfileoutputstream.c:
3386 * gio/ginputstream.c:
3388 * gio/gioscheduler.c:
3389 * gio/gloadableicon.c:
3390 * gio/glocalfileoutputstream.c:
3391 * gio/gmemoryoutputstream.c:
3392 * gio/gmountoperation.c:
3393 * gio/goutputstream.c:
3395 * gio/gsimpleasyncresult.c:
3396 * gio/gunionvolumemonitor.c:
3397 * gio/gunixmounts.c:
3398 * gio/gunixvolume.c:
3402 * gio/gvolumemonitor.c:
3403 Updated documentation stubs, working towards consistency and
3406 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3408 * gio/gmemoryoutputstream.c:
3409 * gio/gmemoryoutputstream.h:
3410 Change g_memory_output_stream_set_free_on_close() to
3411 g_memory_output_stream_set_free_data() as this makes more sense and
3412 is more consistent with GMemoryInputStream.
3414 2007-11-07 Alexander Larsson <alexl@redhat.com>
3421 Change how we find the default vfs so that
3422 we can handle a gvfs failing to init
3424 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3426 * gio/gbufferedoutputstream.c:
3427 * gio/gdatainputstream.c:
3428 * gio/gdataoutputstream.c:
3429 * gio/gfileinputstream.c:
3430 * gio/gfileoutputstream.c:
3431 * gio/gfilterinputstream.c:
3432 * gio/gfilteroutputstream.c:
3433 * gio/ginputstream.c:
3434 * gio/gmemoryinputstream.c:
3435 * gio/gmemoryoutputstream.c:
3436 * gio/goutputstream.c:
3437 * gio/gsimpleasyncresult.c:
3438 * gio/gsocketinputstream.c:
3439 * gio/gsocketoutputstream.c:
3440 Add guards to the remaining public functions, add a TODO for
3441 an unimplemented function and remove some useless guards.
3443 2007-11-07 Alexander Larsson <alexl@redhat.com>
3446 Autoconf checks for the various types of
3447 getpwuid_r and getgrgid_r
3449 * gio/glocalfileinfo.c:
3450 Use the autoconf checks from above
3452 2007-11-07 Alexander Larsson <alexl@redhat.com>
3455 (g_local_file_query_filesystem_info):
3456 Some fixes for the statvfs case
3458 2007-11-07 Alexander Larsson <alexl@redhat.com>
3461 (g_local_file_query_filesystem_info):
3462 Pick the "best" of statfs / statvfs for the system
3463 if both are availible.
3465 2007-11-07 Alexander Larsson <alexl@redhat.com>
3467 Solaris fixes from Halton.Huo@Sun.COM:
3474 * gio/glocalfileinfo.c:
3475 Fix for solaris definition of getpwuid_r
3477 * gio/test-streams.c:
3478 Use G_GNUC_PRETTY_FUNCTION
3480 2007-11-07 Alexander Larsson <alexl@redhat.com>
3482 * gio/gdesktopappinfo.c:
3483 (update_default_list):
3484 Remove double semicolon.
3485 Patch from Jens Granseuer
3487 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3489 * docs/reference/gio/gio-sections.txt:
3490 * gio/gbufferedinputstream.c:
3491 * gio/gbufferedinputstream.h:
3492 * gio/gdatainputstream.c:
3493 * gio/gfileenumerator.c:
3494 * gio/gioscheduler.c:
3495 * gio/gunionvolumemonitor.c:
3497 * programs/gio-save.c:
3498 Fix typo: availible -> available. Unfortuntely this breaks API
3499 and ABI as g_buffered_input_stream_get_available() was renamed.
3501 * gio/gunixmounts.c:
3502 * gio/gbufferedinputstream.c:
3503 Add guards for public functions.
3505 2007-11-06 Ross Burton <ross@openedhand.com>
3507 * docs/reference/gio/Makefile.am:
3508 Fix invalid += usage which automake 1.10 doesn't like.
3510 2007-11-06 Alexander Larsson <alexl@redhat.com>
3513 (g_app_launch_context_class_init):
3516 Patch from Ross Burton
3518 2007-11-06 Alexander Larsson <alexl@redhat.com>
3521 Post release version bump
3523 === gio-standalone 0.1.1 ===
3525 2007-11-06 Alexander Larsson <alexl@redhat.com>
3528 Bump version to 0.1.1
3530 * gio/gsimpleasyncresult.c:
3531 (g_simple_async_result_set_from_error):
3532 Remove bogus g_return_if_fail
3534 2007-11-06 Alexander Larsson <alexl@redhat.com>
3537 The name is gio-standalone
3540 Add top src/builddir to includedir
3542 2007-11-06 Alexander Larsson <alexl@redhat.com>
3544 * docs/reference/gio/gio-sections.txt:
3546 * gio/gbufferedinputstream.c:
3547 * gio/gbufferedoutputstream.c:
3548 * gio/gcancellable.c:
3549 * gio/gdatainputstream.h:
3550 * gio/gdataoutputstream.c:
3551 * gio/gdataoutputstream.h:
3552 * gio/gdirectorymonitor.c:
3554 * gio/gfileattribute.c:
3555 * gio/gfileattribute.h:
3556 * gio/gfileenumerator.c:
3557 * gio/gfileenumerator.h:
3560 * gio/gfileinputstream.h:
3561 * gio/gfilemonitor.c:
3562 * gio/gfileoutputstream.h:
3563 * gio/glocalfilemonitor.h:
3564 * gio/glocalfileoutputstream.h:
3565 * gio/gmemoryinputstream.c:
3566 * gio/gmemoryoutputstream.c:
3567 * gio/gmountoperation.c:
3568 * gio/goutputstream.c:
3569 * gio/goutputstream.h:
3571 * gio/gsimpleasyncresult.c:
3572 * gio/gunixmounts.c:
3573 * gio/gunixmounts.h:
3575 * gio/inotify/inotify-helper.c:
3576 Fix gtk-doc warnings
3578 Patch from Ross Burton
3580 2007-11-06 Alexander Larsson <alexl@redhat.com>
3582 * gio/gfilenamecompleter.c:
3583 (g_filename_completer_get_completions):
3586 * gio/gunixvolume.c:
3587 Remove unused function
3589 Patches from Ross Burton
3591 2007-11-06 Alexander Larsson <alexl@redhat.com>
3596 Padding not needed for interfaces
3598 2007-11-06 Alexander Larsson <alexl@redhat.com>
3600 * gio/gfilemonitor.c:
3604 Make giotypes.h an internal file
3607 * gio/gbufferedinputstream.h:
3608 * gio/gbufferedoutputstream.h:
3609 * gio/gcancellable.h:
3610 * gio/gdatainputstream.h:
3611 * gio/gdataoutputstream.h:
3612 * gio/gdirectorymonitor.c:
3613 * gio/gdirectorymonitor.h:
3618 * gio/gfileattribute.h:
3619 * gio/gfileenumerator.h:
3624 * gio/gfilemonitor.c:
3625 * gio/gfilemonitor.h:
3626 * gio/gfilenamecompleter.c:
3627 * gio/gfilenamecompleter.h:
3628 * gio/gfilterinputstream.h:
3629 * gio/gfilteroutputstream.h:
3630 * gio/ginputstream.h:
3631 * gio/gmemoryinputstream.h:
3632 * gio/gmemoryoutputstream.h:
3633 * gio/gmountoperation.c:
3634 * gio/gmountoperation.h:
3635 * gio/gnativevolumemonitor.c:
3636 * gio/goutputstream.h:
3639 * gio/gsimpleasyncresult.c:
3640 * gio/gsimpleasyncresult.h:
3641 * gio/gsocketinputstream.h:
3642 * gio/gsocketoutputstream.h:
3643 * gio/gthemedicon.c:
3644 * gio/gthemedicon.h:
3648 * gio/gvolumemonitor.c:
3649 * gio/gvolumemonitor.h:
3650 Add padding in classes where it seems useful
3651 Don't include giotypes.h from public headers
3652 Move in Class definitions into c file where possible
3657 2007-11-06 Alexander Larsson <alexl@redhat.com>
3659 * docs/reference/gio/gio-docs.xml:
3660 Better structure for API docs
3662 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3665 * gio/gloadableicon.c:
3666 * gio/gsimpleasyncresult.c:
3667 * gio/gthemedicon.c:
3668 Add some more guards to public functions. Only files missing are now
3671 2007-11-06 Alexander Larsson <alexl@redhat.com>
3673 * docs/reference/gio/gio-docs.xml:
3674 Remove old files, add missing ones
3676 2007-11-06 Alexander Larsson <alexl@redhat.com>
3678 * docs/reference/gio/gio-sections.txt:
3681 Hide implementation classes
3683 * gio/gdriveprivate.h:
3684 * gio/gvolumeprivate.h:
3685 Remove non-existing function declarations
3687 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3690 Fix compilation warnings and add guards to the new functions.
3692 * gio/gasyncresult.c:
3694 Add guards to the public functions.
3697 Implement get_path().
3699 2007-11-06 Alexander Larsson <alexl@redhat.com>
3701 * gio/gfilenamecompleter.c:
3702 Make g_filename_completer_get_completions
3703 return char ** instead of GList for
3706 * docs/reference/gio/gio-docs.xml:
3707 * docs/reference/gio/gio-sections.txt:
3709 * gio/gasyncresult.c:
3710 * gio/gbufferedinputstream.c:
3711 * gio/gbufferedoutputstream.c:
3712 * gio/gcancellable.c:
3713 * gio/gcontenttype.c:
3714 * gio/gdatainputstream.c:
3715 * gio/gdataoutputstream.c:
3716 * gio/gdesktopappinfo.c:
3717 * gio/gdirectorymonitor.c:
3721 * gio/gfileattribute.c:
3722 * gio/gfileenumerator.c:
3725 * gio/gfileinputstream.c:
3726 * gio/gfilemonitor.c:
3727 * gio/gfilenamecompleter.c:
3728 * gio/gfilenamecompleter.h:
3729 * gio/gfileoutputstream.c:
3730 * gio/gfilterinputstream.c:
3732 * gio/ginputstream.c:
3734 * gio/gioscheduler.c:
3735 * gio/gloadableicon.c:
3736 * gio/glocaldirectorymonitor.c:
3738 * gio/glocalfileinputstream.c:
3739 * gio/glocalfilemonitor.c:
3740 * gio/glocalfileoutputstream.c:
3742 * gio/gmemoryinputstream.c:
3743 * gio/gmemoryoutputstream.c:
3744 * gio/gmountoperation.c:
3745 * gio/goutputstream.c:
3746 * gio/gpollfilemonitor.c:
3748 * gio/gsimpleasyncresult.c:
3749 * gio/gsocketinputstream.c:
3750 * gio/gsocketoutputstream.c:
3751 * gio/gthemedicon.c:
3752 * gio/gunionvolumemonitor.c:
3754 * gio/gunixmounts.c:
3755 * gio/gunixvolume.c:
3756 * gio/gunixvolumemonitor.c:
3760 * gio/gvolumemonitor.c:
3761 * gio/gwin32appinfo.c:
3762 Add (mostly stub) doc strings to public functions.
3763 Patch from Andrew Walton (awalton@gmail.com)
3765 2007-11-06 Alexander Larsson <alexl@redhat.com>
3767 * gio/gappinfo.[ch]:
3768 Added GAppLaunchContext object and pass that to launch.
3769 This allows simple implementation of both
3770 launch-on-screen and startup notification via a gtk+
3771 subclass of GAppLaunchContext
3773 * gio/gdesktopappinfo.c:
3774 Implement GAppLaunchContext API
3776 * gio/gwin32appinfo.c:
3779 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3781 * gio/gmountoperation.c:
3782 Add some guards to GMountOperation's public functions.
3784 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3788 * gio/gcancellable.c:
3789 * gio/gdirectorymonitor.c:
3791 * gio/gfileenumerator.c:
3792 * gio/gfilemonitor.c:,
3793 * gio/gfilenamecompleter.c:
3796 * gio/gioscheduler.c:
3800 * gio/gvolumemonitor.c:
3801 Add even more guards to various public functions.
3803 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3806 Add guards to the public functions of GAppInfo.
3808 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3810 * gio/gcontenttype.c:
3811 Add some more guards for public functions.
3813 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3815 * gio/fam/fam-module.c:
3816 * gio/fam/gfamdirectorymonitor.c:
3817 * gio/fam/gfamdirectorymonitor.h:
3818 * gio/fam/gfamfilemonitor.c:
3819 * gio/fam/gfamfilemonitor.h:
3820 * gio/inotify/ginotifydirectorymonitor.c:
3821 * gio/inotify/ginotifydirectorymonitor.h:
3822 * gio/inotify/ginotifyfilemonitor.c:
3823 * gio/inotify/ginotifyfilemonitor.h:
3824 Add proper copyright information and remove an unused variable
3825 in the GInotifyFileMonitor constructor.
3827 * gio/gcancellable.c:
3828 Add a guard for a public function and an assertion to prevent
3829 an undefined program state.
3831 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3833 * gio/gfileattribute.c:
3834 Don't run into an assertion if the given attribute value is NULL
3835 in g_file_attribute_value_get_*() but instead return a fallback
3836 value that makes sense in most situations. Passing them a attribute
3837 value with the wrong type will still run into an assertion.
3839 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3841 * gio/gfileattribute.c:
3843 Add even more guards to the public functions. Also fix the refcounting
3844 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3845 let g_file_info_list_attributes() filter the attributes by namespace
3846 instead of simply ignoring the namespace parameter.
3848 2007-11-03 Sven Herzberg <sven@imendio.com>
3850 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3851 (This makes gio work on MacOS X again)
3853 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3856 Build the gio subdirectory before the docs. Otherwise the build will
3859 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3860 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3861 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3862 Add guards to the public functions.
3864 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3866 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3867 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3868 to prevent a compiler warning.
3870 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3871 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3872 return something in the non-void function find_topdir_for().
3874 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3881 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3883 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3884 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3885 * gwin32appinfo.c (g_win32_app_info_launch):
3886 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3887 envp_for_startup_id, g_desktop_app_info_launch,
3888 g_desktop_app_info_launch_uris):
3890 Give an opaque 'startup_id' string instead of 'envp'.
3891 Support empty file lists for launching new windows.
3892 Fix infinite recursion bug when launching URIs.
3894 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3897 Add guard to the new g_file_get_uri_scheme() function.
3899 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3902 Convert a g_return_val_if_fail() to setting the GError instead as
3903 otherwise applications have to verify the parameter before otherwise
3904 and the parameter might come directly from the user.
3906 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3908 * gio/inotify/ginotify*.[ch]:
3909 Add missing copyright information.
3911 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3914 Add guards in the beginning of public functions to check for valid
3915 parameters and fix a bug in copy_stream_with_progress() that could've
3916 caused writing less bytes than reading.
3917 * gio/glocalfileinfo.c:
3918 Check for a NULL parameter and set the GError accordingly then.
3919 * gio/goutputstream.c:
3920 Fix the same bug as in gfile.c that could've caused writing less bytes
3921 than reading in g_output_stream_real_splice().
3923 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3926 Use the correct gvolumeprivate.h naming
3928 2007-11-01 Christian Kellner <gicmo@gnome.org>
3931 Remove leftover "$(daemon_sources)" entry.
3933 2007-11-01 Christian Kellner <gicmo@gnome.org>
3938 Add copyright information to source files.
3940 2007-11-01 Alexander Larsson <alexl@redhat.com>
3944 Add g_file_get_uri_scheme
3946 2007-11-01 Alexander Larsson <alexl@redhat.com>
3949 * gio/gdesktopappinfo.c:
3950 * gio/gwin32appinfo.c:
3951 Add g_app_info_get_default_for_uri_scheme.
3953 2007-11-01 Alexander Larsson <alexl@redhat.com>
3956 Correct filename for gdriveprivate.h
3958 2007-10-31 Alexander Larsson <alexl@redhat.com>
3961 Rename id:value to id:file
3964 * gio/glocalfileinfo.c:
3967 2007-10-31 Alexander Larsson <alexl@redhat.com>
3969 * gio/gunixvolume.c:
3971 Remove g_volume_get_platform_id, as thats not
3972 needed with the simpler union volume monitor
3974 2007-10-31 Alexander Larsson <alexl@redhat.com>
3977 * gio/guniondrive.[ch]: Removed.
3978 * gio/gunionvolume.[ch]: Removed.
3979 Remove GUnionDrive/Volume
3981 * gio/gunionvolumemonitor.c:
3982 Simplify union volume monitor, now we
3983 only have one native volume monitor and
3984 we use the actual volumes/drives from the
3985 child monitors instead of wrapping them
3987 * gio/gnativevolumemonitor.[ch]:
3988 Base class for native volume monitors.
3989 Includes priority and get_volume_for_mountpoint
3992 Add g_file_find_enclosing_volume
3995 Remove volume name fs attribute
3996 Add readonly fs attribute
3999 Implement readonly attribute
4000 remove volume name attribute
4001 Implement find_enclosing volume
4003 * gio/gunixmounts.c:
4004 Add a volume for "/".
4006 * gio/gunixvolume.[ch]:
4007 Set better name for /
4009 * gio/gunixvolumemonitor.[ch]:
4010 Derive from GNativeVolumeMonitor
4011 Implement get_volume_for_mountpoint
4014 GVolume typedef moved to gfile.h
4016 * gio/gvolumeprivate.h:
4017 Add g_volume_get_for_mount_path
4019 2007-10-31 Alexander Larsson <alexl@redhat.com>
4021 * gio/gunixmounts.[ch]:
4022 Add cache info to unix mount listers
4023 Make getmntent use threadsafe
4024 Add is_system_internal attribute for GUnixMount
4026 * gio/gunixvolume.c:
4027 (g_unix_volume_new):
4028 Use is_system_internal instead of own code
4030 * gio/glocaldirectorymonitor.c:
4031 * gio/gunixvolumemonitor.c:
4032 Update to new gunixmounts API
4037 2007-10-30 Alexander Larsson <alexl@redhat.com>
4040 Add volume name fsinfo attribute
4043 Read volume name info
4045 * gio/gunionvolumemonitor.c:
4046 Fix infinite loops when finalizing a union volume monitor
4048 2007-10-30 Alexander Larsson <alexl@redhat.com>
4050 * gio/goutputstream.[ch]:
4051 Add splice() with default implementation
4053 * gio/gsocketoutputstream.c:
4054 (g_socket_output_stream_write):
4055 Return error on cancellation correctly.
4057 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4059 * gio/glocalfile.c (g_local_file_trash):
4060 Do not leak a string.
4062 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4064 * gio/gfile.c (g_file_load_contents):
4065 Unref the stream after closing it.
4067 2007-10-25 Alexander Larsson <alexl@redhat.com>
4069 * gio/gioscheduler.h:
4072 2007-10-25 Alexander Larsson <alexl@redhat.com>
4076 Add g_file_has_uri_scheme and implement for local files
4078 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4080 * gio/gdesktopappinfo.c: do not leak a string.
4082 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4084 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4085 (g_local_directory_monitor_new):
4086 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4087 (g_local_file_monitor_new):
4088 Only look for the monitor type that should be used the first time
4089 and use g_qsort_with_data() instead of our own bubble sort
4092 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4095 * gio/fam/Makefile.am:
4096 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4097 * gio/fam/fam-helper.h:
4098 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4099 * gio/fam/gfamdirectorymonitor.c:
4100 * gio/fam/gfamdirectorymonitor.h:
4101 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4102 * gio/fam/gfamfilemonitor.h:
4103 * gio/glocaldirectorymonitor.c:
4104 * gio/glocaldirectorymonitor.h:
4105 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4106 * gio/glocalfilemonitor.h:
4107 * gio/inotify/Makefile.am:
4108 * gio/inotify/ginotifydirectorymonitor.c:
4109 * gio/inotify/ginotifydirectorymonitor.h:
4110 * gio/inotify/ginotifyfilemonitor.c:
4111 * gio/inotify/ginotifyfilemonitor.h:
4112 Implement the FAM and Inotify monitors as
4113 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4114 their own GIO module. GLocal(Directory|File)Monitor will use the
4115 monitor with the highest rank that is supported on that machine.
4117 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4120 Change GIO module dir to $(libdir)/gio/modules and change
4121 the log domain from GVFS to GIO. Also only export symbols starting
4122 with g_ in the resulting library.
4123 * gio/test-streams.c: (main):
4124 Set log handler for the GIO log domain.
4126 2007-10-22 Alexander Larsson <alexl@redhat.com>
4128 * gio/gfilenamecompleter.[ch]:
4129 Add g_filename_completer_set_dirs_only
4131 2007-10-22 Alexander Larsson <alexl@redhat.com>
4134 * gio/gurifuncs.[ch]:
4135 Add some simple URI helpers
4137 * gio/gfilenamecompleter.[ch]:
4138 Added object for filename (parse name actually) completion
4141 Handle ~ in parse names
4143 2007-10-17 Alexander Larsson <alexl@redhat.com>
4146 * gio/glocalfileinfo.c:
4147 Add and implement id:value attribute
4149 2007-10-17 Alexander Larsson <alexl@redhat.com>
4152 * gio/guniondrive.c:
4154 Add and implement g_drive_has_volumes
4156 2007-10-17 Alexander Larsson <alexl@redhat.com>
4159 * gio/glocalfileinfo.[ch]:
4160 Add unix:is_mountpoint and implement for local files
4162 2007-10-16 Alexander Larsson <alexl@redhat.com>
4164 * gio/gunionvolumemonitor.c:
4165 (g_union_volume_monitor_init):
4166 Fix up the unix type getting so that it works with gcc
4168 2007-10-12 Alexander Larsson <alexl@redhat.com>
4171 * gio/glocalfileinfo.c:
4172 Add thumbnail:failed to file info
4174 2007-10-12 Richard Hult <richard@imendio.com>
4176 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4177 optimizing away the get_type call (happens with some gcc versions,
4178 like the one shipped with OS X 10.4).
4180 2007-10-12 Alexander Larsson <alexl@redhat.com>
4182 * gio/glocalfileinfo.c:
4183 (_g_local_file_info_set_attribute):
4184 Fix build if not HAVE_XATTR
4185 Patch from Milosz Derezynski <internalerror@gmail.com>
4187 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4189 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4190 around for review, otherwise I would have asked you before
4193 2007-10-11 Alexander Larsson <alexl@redhat.com>
4196 Add thumbnail:path attribute
4198 * gio/glocalfileinfo.c:
4199 Implement thumbnail:path for local files
4201 2007-10-11 Alexander Larsson <alexl@redhat.com>
4203 * gio/glocalfileinfo.c:
4204 (_g_local_file_info_get):
4205 Avoid duplicate icon names
4207 2007-10-11 Alexander Larsson <alexl@redhat.com>
4209 * gio/gthemedicon.[ch]:
4210 Change g_themed_icon_get_names return type to const
4212 2007-10-10 Alexander Larsson <alexl@redhat.com>
4214 * gio/glocalfileinfo.c:
4215 Don't reference freed memory
4217 2007-10-10 Alexander Larsson <alexl@redhat.com>
4219 * gio/gfileattribute.c:
4222 * gio/glocalfileinfo.c:
4225 2007-10-10 Alexander Larsson <alexl@redhat.com>
4228 Check for NULL icons
4230 * gio/gfileattribute.c:
4231 Don't dup when getting objects (same as for string attributes)
4233 * gio/gicon.c (g_icon_equal):
4234 Safely handle NULLs in equal
4236 2007-10-10 Alexander Larsson <alexl@redhat.com>
4239 Fix c++ compilation issues
4240 Patch from Milosz Derezynski <internalerror@gmail.com>
4242 2007-10-10 Alexander Larsson <alexl@redhat.com>
4244 * programs/gio-monitor-dir.c:
4245 Don't crash if dir monitor not supported.
4247 2007-10-09 Alexander Larsson <alexl@redhat.com>
4250 Add missing G_END_DECLS
4252 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4254 * gio/gfile.c: (g_file_set_display_name),
4255 (g_file_query_settable_attributes),
4256 (g_file_query_writable_namespaces):
4257 Return NULL not FALSE on errors as the return type is a pointer.
4259 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4261 * gio/glocalfile.c: (g_local_file_monitor_file):
4262 Don't call monitor_file on the default interface vtable (which
4263 is NULL) but simply return NULL. The caller, GFile, will create a
4264 polling monitor if NULL is returned.
4266 2007-10-09 Alexander Larsson <alexl@redhat.com>
4270 * gio-unix-2.0.pc.in:
4271 Add gio-unix-2.0.pc if OS_UNIX
4274 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4276 2007-10-09 Alexander Larsson <alexl@redhat.com>
4278 * gio/gunixmounts.[ch]:
4279 Make unix mount monitoring API sane.
4280 Now its just a object with mounts_changed
4281 and mountpoints_changed signals.
4283 * gio/glocaldirectorymonitor.c:
4284 * gio/gunixvolumemonitor.c:
4285 Use new mount monitor api
4287 2007-10-09 Alexander Larsson <alexl@redhat.com>
4289 * gio/gunixmounts.[ch]:
4290 Move guess type into one call for mounts and one for mountpoints
4293 * gio/gunixvolume.c:
4296 2007-10-09 Alexander Larsson <alexl@redhat.com>
4298 * gio/gunixmounts.[ch]:
4299 Remove _ prefix in preparation to make this semi-public
4300 Hide implementation of structs
4302 * gio/glocaldirectorymonitor.c:
4304 * gio/gunixvolume.c:
4305 * gio/gunixvolumemonitor.c:
4306 Update for above API changes
4308 2007-10-08 Alexander Larsson <alexl@redhat.com>
4311 Better polling fallback. This also handles the case where we have
4312 a monitor_file implementation, but it fails.
4314 2007-10-08 Alexander Larsson <alexl@redhat.com>
4318 * gio/gunixmounts.c:
4319 * programs/gio-monitor-dir.c:
4320 * programs/gio-monitor-file.c:
4321 Added cancellable to file monitoring calls.
4322 These are really sync calls and need this.
4324 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4326 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4327 (g_local_vfs_class_init):
4328 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4329 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4331 2007-10-05 Alexander Larsson <alexl@redhat.com>
4333 * gio/gdirectorymonitorprivate.h:
4334 * gio/gfilemonitorprivate.h:
4335 * gio/gdirectorymonitor.h:
4336 * gio/gfilemonitor.h:
4337 Remove *private.h and move to the public API, so that
4338 we can do implementations outside gio (such as in gvfs)
4340 * gio/gdirectorymonitor.c:
4341 * gio/gfilemonitor.c:
4342 * gio/glocaldirectorymonitor.c:
4343 * gio/gpollfilemonitor.c:
4344 * gio/inotify/inotify-helper.c:
4345 * gio/fam/fam-helper.c:
4346 Update to the new header names
4348 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4350 * gio/gdirectorymonitor.c:
4351 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4354 2007-10-04 Alexander Larsson <alexl@redhat.com>
4356 * gio/glocalfileinfo.c (get_access_rights):
4357 Set CAN_TRASH when we can move the file.
4358 We should really also check for a parent trash dir.
4360 2007-10-04 Alexander Larsson <alexl@redhat.com>
4362 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4363 Add can_trash access attribute
4365 2007-10-04 Alexander Larsson <alexl@redhat.com>
4368 (g_local_file_trash):
4369 Create info file first. This is per-spec and allows
4370 us to actually trash directories.
4372 2007-10-02 Alexander Larsson <alexl@redhat.com>
4374 * gio/gdesktopappinfo.c:
4375 Implement the new mime support code.
4376 Always set app as handling mimetype when being set as default for it
4378 2007-10-01 Alexander Larsson <alexl@redhat.com>
4380 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4381 Fix up check for xattrs:
4383 2007-10-01 Alexander Larsson <alexl@redhat.com>
4386 (g_app_info_set_as_default_for_extension):
4387 (g_app_info_add_supports_type):
4388 (g_app_info_can_remove_supports_type):
4389 (g_app_info_remove_supports_type):
4390 Make these fail nicely if not implemented
4392 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4394 * gio/glocalfileoutputstream.c:
4395 * gio/glocalfileoutputstream.h:
4400 * programs/gio-save.c:
4401 Add a GFileCreateFlags argument to operations that can create
4404 2007-10-01 Alexander Larsson <alexl@redhat.com>
4406 * gio/gappinfo.[ch]:
4407 * gio/gdesktopappinfo.c:
4408 Add more (stubbed out) mime API needed for nautilus
4410 2007-10-01 Alexander Larsson <alexl@redhat.com>
4413 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4414 Add g_app_info_set_as_default_for_extension.
4416 * gio/gdesktopappinfo.c:
4417 Dummy for g_app_info_set_as_default_for_extension
4418 Support flags in g_app_info_create_from_commandline
4420 * gio/gwin32appinfo.c:
4422 Update for API changes
4424 * gio/gthemedicon.c:
4425 Properly NULL-terminate list of icon names
4427 2007-09-28 Alexander Larsson <alexl@redhat.com>
4429 * gio/gloadableicon.h:
4430 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4432 2007-09-28 Alexander Larsson <alexl@redhat.com>
4435 Install headers in $includedir/gio-standalone/
4437 * gio-2.0.pc.in: Added.
4438 * gio-standalone.pc.in: Removed.
4441 Renamed pkg-config file to match glib (for future move)
4442 Update to the new include dir
4445 Add more TODO comments
4447 2007-09-28 Alexander Larsson <alexl@redhat.com>
4449 * gio/gdesktopappinfo.[ch]:
4450 Expose new_from_filename
4451 Add getter for is_hidden and handle it better
4453 2007-09-28 Alexander Larsson <alexl@redhat.com>
4455 * gio/gfileinfo.[ch]:
4456 Rename g_file_size_format_for_display to
4457 g_format_file_size_for_display.
4458 Now it doesn't have the g_file prefix, so we
4459 can later move it to glib.
4461 2007-09-28 Alexander Larsson <alexl@redhat.com>
4463 * gio/gappinfo.[ch]:
4464 Add g_app_info_get_id and g_app_info_get_executable.
4465 Make all getters non-reffing
4466 Make g_app_info_launch take GFile arguments.
4467 Add must_support_uris argument to g_app_info_get_default_for_type.
4469 * gio/gwin32appinfo.c:
4470 Update to GAppInfo api changes
4472 * gio/gdesktopappinfo.c:
4473 Update to GAppInfo api changes
4474 Implement supports_xdg_startup_notify
4476 * gio/gfileicon.c (g_file_icon_get_file):
4477 Make getter non-reffing.
4482 2007-09-27 Alexander Larsson <alexl@redhat.com>
4484 * gio/gfileinfo.[ch]:
4485 Add g_file_size_format_for_display helper
4487 2007-09-27 Alexander Larsson <alexl@redhat.com>
4489 * gio/glocalfileinfo.c:
4490 Set UNIX_GID from gid, not from uid
4492 2007-09-27 Alexander Larsson <alexl@redhat.com>
4495 Add g_file_set_attributes_async
4497 2007-09-27 Alexander Larsson <alexl@redhat.com>
4499 * gio/glocalfile.c (g_local_file_set_display_name):
4500 Fix set_display_name to actually rename to the right place.
4501 Use lstat to look for existing files so we don't overwrite
4504 2007-09-26 Alexander Larsson <alexl@redhat.com>
4507 Add g_file_set_display_name_async()
4509 2007-09-26 Alexander Larsson <alexl@redhat.com>
4512 Add load_partial_contents async calls
4515 Make internal function static
4517 2007-09-26 Alexander Larsson <alexl@redhat.com>
4519 * gio/glocalfileinfo.c:
4520 Correctly detect broken symlinks
4522 2007-09-26 Alexander Larsson <alexl@redhat.com>
4524 * gio/gcancellable.c (g_cancellable_cancel):
4525 Allow cancel on NULL cancellable
4527 2007-09-25 Alexander Larsson <alexl@redhat.com>
4529 * gio/gsimpleasyncresult.c:
4530 Don't allocate g_error manually.
4531 Fixes g_slice/g_new mixup crash
4533 2007-09-25 Alexander Larsson <alexl@redhat.com>
4535 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4536 Actually set active_backend.
4537 This means the monitor will be cancelled correctly.
4539 2007-09-25 Alexander Larsson <alexl@redhat.com>
4541 * gio/gdirectorymonitor.c:
4542 Set timeout to NULL when destroying
4544 2007-09-25 Alexander Larsson <alexl@redhat.com>
4547 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4548 that is a better description of the error.
4550 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4552 * gio/gvfs.c: (g_vfs_get_local):
4553 Make the local vfs variable static. The same instance should
4556 2007-09-24 Alexander Larsson <alexl@redhat.com>
4558 * gio/glocalfileinfo.c:
4559 Pass in actual length read into sniffer, not the length
4562 2007-09-21 Alexander Larsson <alexl@redhat.com>
4564 * gio/gfileenumerator.c:
4567 * gio/gfileinputstream.c:
4568 * gio/gfileoutputstream.c:
4569 * gio/ginputstream.c:
4570 * gio/goutputstream.c:
4571 Don't crash if async callbacks are NULL
4573 2007-09-20 Alexander Larsson <alexl@redhat.com>
4576 Add async enumerate_children method and default
4579 2007-09-20 Alexander Larsson <alexl@redhat.com>
4582 Add g_file_contains_file & g_file_get_relative_path, since they
4583 were needed for nautilus.
4584 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4589 Implement new methods
4591 2007-09-17 Alexander Larsson <alexl@redhat.com>
4594 * gio/gfileinputstream.[ch]:
4595 * gio/gfileoutputstream.[ch]:
4597 * gio/glocalfileenumerator.[ch]:
4598 * gio/glocalfileinfo.[ch]:
4599 * gio/glocalfileinputstream.c:
4600 * gio/glocalfileoutputstream.c:
4601 * gio/gpollfilemonitor.c:
4602 * programs/gio-copy.c:
4603 * programs/gio-info.c:
4604 * programs/gio-move.c:
4605 Rename get_file_info to query_info() to make it clearer
4606 that these are not simple getters, but do i/o.
4608 2007-09-17 Alexander Larsson <alexl@redhat.com>
4610 * gio/gdatainputstream.[ch]:
4611 * gio/test-streams.c:
4612 Use _read_XXX instead of _get_XXX for the i/o calls
4615 2007-09-17 Alexander Larsson <alexl@redhat.com>
4618 Added needed stuff to TODO comment
4620 2007-09-17 Alexander Larsson <alexl@redhat.com>
4622 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4623 Don't error out removing the backup copy if it doesn't
4626 2007-09-14 Alexander Larsson <alexl@redhat.com>
4628 * programs/Makefile.am:
4629 * programs/gvfs-*.c:
4631 Renamed apps from gvfs-xxx to gio-xxx.
4633 2007-09-14 Alexander Larsson <alexl@redhat.com>
4636 * gio/gfileoutputstream.[ch]:
4637 * gio/glocalfileoutputstream.c:
4638 * programs/gvfs-save.c:
4639 g_file_output_stream_get_etag doesn't do i/o, so remove
4640 cancellation and error.
4642 2007-09-14 Alexander Larsson <alexl@redhat.com>
4645 Add new_etag output to replace_contents functions
4647 2007-09-14 Alexander Larsson <alexl@redhat.com>
4649 * gio/gfileoutputstream.[ch]:
4650 Add async get_file_info and default implementation
4652 2007-09-14 Alexander Larsson <alexl@redhat.com>
4654 * gio/gfileinputstream.c:
4655 Implement fallback wrapper for async get_file_info
4657 2007-09-14 Alexander Larsson <alexl@redhat.com>
4660 Add etag out argument to load_contents
4665 2007-09-14 Alexander Larsson <alexl@redhat.com>
4667 * gio/gcontenttype.c (looks_like_text):
4668 Whitespace like tab, cr and lf do not make the
4671 2007-09-14 Alexander Larsson <alexl@redhat.com>
4673 * gio/gfileinputstream.[ch]:
4674 Add async get_file_info.
4676 2007-09-13 Alexander Larsson <alexl@redhat.com>
4678 * gio/goutputstream.c (g_output_stream_write_all):
4679 Allow NULL for bytes_written
4681 2007-09-13 Alexander Larsson <alexl@redhat.com>
4683 * gio/gmemoryinputstream.[ch]:
4684 Add accessors for data
4686 2007-09-13 Alexander Larsson <alexl@redhat.com>
4688 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4689 Don't crash if length is NULL