1 2008-06-09 Matthias Clasen <mclasen@redhat.com>
3 * xdgmime/Makefile.am: Fix the build
5 2008-06-09 Matthias Clasen <mclasen@redhat.com>
7 * gcontenttype.c (g_content_type_get_icon): Use icons specified
8 in the shared mime database, if available.
10 * xdgmime/*: Sync with upstream. This brings support for
11 glob weights, generic icons, and changes the cache format to
14 2008-05-28 Michael Natterer <mitch@imendio.com>
16 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
17 the global CPPFLAGS now.
19 * tests/data-input-stream.c
20 * tests/data-output-stream.c
24 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
26 2008-05-27 Matthias Clasen <mclasen@redhat.com>
28 * === Released 2.17.0 ===
30 * tests/live-g-file.c: Clean up after the tests, so make distcheck
31 doesn't complain about leftover files.
33 2008-05-27 simon.zheng <simon.zheng@sun.com>
35 * glocalfile.c: (g_local_file_query_filesystem_info):
36 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
38 2008-05-26 Michael Natterer <mitch@imendio.com>
40 * gmemoryoutputstream.h: declare
41 g_memory_output_stream_get_data_size().
43 2008-05-26 Matthias Clasen <mclasen@redhat.com>
45 * tests/*: Make tests work
47 2008-05-26 Matthias Clasen <mclasen@redhat.com>
49 * gio.symbols: Add g_memory_output_stream_get_data_size.
51 2008-05-25 Ross Burton <ross@burtonini.com>
54 Fix typo in error message (#534764).
56 2008-05-25 Ross Burton <ross@burtonini.com>
59 Fix circular dependency loop for gioenumtypes.h (#534759).
61 2008-05-19 Hans Breuer <hans@breuer.org>
63 * Makefile.am : EXTRA_DIST += makefile.msc
65 2008-05-17 Matthias Clasen <mclasen@redhat.com>
68 * gcontenttype.c: (g_content_type_from_mime_type):
69 New function to create a content type from a mime type. (#527175,
72 2008-05-17 Matthias Clasen <mclasen@redhat.com>
74 Bug 532965 – Should not return filesystem::free for certain file systems
76 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
79 2008-05-17 Matthias Clasen <mclasen@redhat.com>
81 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
83 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
86 2008-05-16 Tor Lillqvist <tml@novell.com>
88 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
89 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
91 2008-05-13 Bastien Nocera <hadess@hadess.net>
93 * gfile.c (has_valid_scheme): A URI scheme must start with a
94 letter, even if later more characters are allowed (#532852)
96 2008-05-05 Michael Natterer <mitch@imendio.com>
98 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
99 code from being checked in that breaks the build of applications
100 which use G_DISABLE_SINGLE_INCLUDES.
102 * makegioalias.pl: make the alias file include "glib.h" instead of
105 * gio.symbols: whitespace change to force regeneration of the
106 alias file after above script change.
108 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
110 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
112 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
114 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
116 2008-04-28 David Zeuthen <davidz@redhat.com>
118 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
119 displaying mounts in a subdirectory not accessible to the
122 2008-04-22 Michael Natterer <mitch@imendio.com>
124 * Makefile.am: fix library versioning (it was 0.0.0).
126 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
128 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
129 Default disable all loggings.
130 * fen/fen-kernel.c: (printevent), (port_add_kevent),
131 (port_fetch_event_cb): Fixed two macro nits.
133 2008-04-16 Matthias Clasen <mclasen@redhat.com>
135 * xdgmime/xdgmime.c: Rework the timestamp checking code
136 to protect against duplicate directories in XDG_DATA_DIRS.
137 Fixes fd.o bug 12513, reported by Joe Shaw.
139 2008-04-16 Matthias Clasen <mclasen@redhat.com>
141 Partically revert the last commit after realizing that
142 xdg_mime_media_type_equal doesn't have to init at all.
145 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
147 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
149 2008-04-16 Matthias Clasen <mclasen@redhat.com>
151 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
152 reported by Joe Shaw and Federico Mena Quintero.
154 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
155 (xdg_mime_media_type_equal): Turn into a wrapper around the
158 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
159 functions throughout.
161 2008-04-16 Michael Meeks <michael.meeks@novell.com>
163 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
164 tolerate an empty TryExec= line without failing; nautilus used
165 to create launchers with these in previous versions. Fixes #528433
167 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
169 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
170 after name. Fixes #527132.
172 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
174 * gfile.c: (g_file_replace):
177 2008-04-07 Matthias Clasen <mclasen@redhat.com>
179 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
181 * gfile.c (file_copy_fallback): Fix the argument order. Patch
182 by Christian Kellner.
184 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
186 * gunixmounts.c: (g_unix_mount_guess_should_display):
187 Don't list the user directory as a mount, fix potential issue
188 when other users have a similar naming and don't special case the
189 gvfs mounts there since that's not required (#525866)
191 2008-03-31 Alexander Larsson <alexl@redhat.com>
193 * glocalfile.c (get_parent):
196 2008-03-31 A. Walton <awalton@svn.gnome.org>
198 * gfile.c (g_file_query_file_type):
199 Always return a GFileType enum value (#520715).
201 2008-03-31 Alexander Larsson <alexl@redhat.com>
203 * glocalfileenumerator.c:
204 Read readdir() info in chunks (of 1000) and sort
205 the chunks by inode before stat:ing.
206 This is a 20% performance increase in testing
207 gvfs-ls on /usr/bin with cold cache.
209 2008-03-31 Alexander Larsson <alexl@redhat.com>
211 * gmemoryoutputstream.c:
212 Clarify docs for g_memory_output_stream_get_size.
213 Add g_memory_output_stream_get_data_size.
215 2008-03-30 Matthias Clasen <mclasen@redhat.com>
219 * gfile.h: Add g_file_query_file_type convenience function
220 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
222 2008-03-30 Matthias Clasen <mclasen@redhat.com>
225 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
227 2008-03-28 A. Walton <awalton@svn.gnome.org>
229 * giomodule.c (_g_io_modules_ensure_loaded):
230 Adds GIO_EXTRA_MODULES environment variable support, closing bug
233 2008-03-28 Alexander Larsson <alexl@redhat.com>
236 (copy_stream_with_progress):
239 2008-03-28 Alexander Larsson <alexl@redhat.com>
242 (copy_stream_with_progress):
243 (file_copy_fallback):
244 Fallback to g_file_query_info for source size
245 if g_file_input_stream_query_info fails. (#524579)
247 2008-03-28 Alexander Larsson <alexl@redhat.com>
249 * glocalfile.c (g_local_file_move):
250 Reuse old string instead of adding new one.
252 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
254 * fen/*.[hc]: still copyright issue. I hate copyright.
256 2008-03-27 Alexander Larsson <alexl@redhat.com>
258 * glocalfile.c (g_local_file_move):
259 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
260 file over directory. This is according to the docs and what the move via
261 copy+remove fallback does.
263 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
265 * fen/*.[hc]: Updated copyright.
267 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
269 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
271 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
273 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
274 not emit attribute changed events when optimizing changed events.
275 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
278 2008-03-19 Matthias Clasen <mclasen@redhat.com>
280 * gmountoperation.[hc]: Small documentation additions
282 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
284 * gunixmounts.c: (guess_mount_type):
285 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
287 2008-03-19 Alexander Larsson <alexl@redhat.com>
290 (copy_stream_with_progress):
291 Bump block side for copy to 64k to minimize
292 overhead for low latency links. (#523015)
294 2008-03-16 Tor Lillqvist <tml@novell.com>
296 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
297 depend on gio.def on Windows.
299 2008-03-12 David Zeuthen <davidz@redhat.com>
303 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
305 2008-03-14 Alexander Larsson <alexl@redhat.com>
309 Avoid redudant tests (#521851)
310 Patch from Josselin Mouette
312 2008-03-14 Alexander Larsson <alexl@redhat.com>
315 (g_file_monitor_is_cancelled):
316 Fix C89 issue (#521672)
317 Patch from Jens Granseuer
319 2008-03-14 Alexander Larsson <alexl@redhat.com>
321 * fam/fam-helper.[ch]:
323 Shut down fam (including removing fam GSource) when
324 module is unloaded (#521513)
325 Patch from Joe Marcus Clarke
327 2008-03-14 Alexander Larsson <alexl@redhat.com>
330 (_g_io_modules_ensure_loaded):
333 2008-03-14 Alexander Larsson <alexl@redhat.com>
336 (g_local_file_query_filesystem_info):
337 Use right define name for f_fstypename member check
339 2008-03-14 Alexander Larsson <alexl@redhat.com>
342 * fen/Makefile.am: Added.
343 * fen/fen-data.[ch]: Added.
344 * fen/fen-dump.[ch]: Added.
345 * fen/fen-helper.[ch]: Added.
346 * fen/fen-kernel.[ch]: Added.
347 * fen/fen-missing.[ch]: Added.
348 * fen/fen-node.[ch]: Added.
349 * fen/fen-sub.[ch]: Added.
350 * fen/gfendirectorymonitor.[ch]: Added.
351 * fen/gfenfilemonitor.[ch]: Added.
353 Added Solaris FEN file notification backend.
354 Patch from Lin Ma <Lin.Ma@Sun.COM>
356 2008-03-13 Tor Lillqvist <tml@novell.com>
358 * Makefile.am: Actually use the gio.def file when linking the
359 library on Windows. Produce .lib library for Microsoft's toolchain
360 when possible. Install the .lib and .def file like for the other
363 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
365 * tests/live-g-file.c:
366 Include live-g-file in standard set of tests, making a temporary
367 directory in source structure.
369 Clean target directory before the tests (write mode only)
371 2008-03-12 Tor Lillqvist <tml@novell.com>
373 Bug 517419 - gio win32 directory monitor
374 Implementation by Vlad Grecescu.
377 * win32/gwin32directorymonitor.h
378 * win32/gwin32directorymonitor.c: New files.
380 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
382 * Makefile.am: Add the win32 subdirectory.
384 2008-03-12 Tor Lillqvist <tml@novell.com>
386 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
387 normal struct stat on Unix but struct _stati64 on Windows to have
388 access to 64-bit file size information. Use that instead of struct
389 stat in the functions declared here in this private header.
391 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
392 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
393 warnings about unused functions and variables. Don't set
394 meaningless attributes like inode numbers on Windows.
396 2008-03-12 Benjamin Otte <otte@gnome.org>
399 trim whitespace so gtk-doc groks the function name
401 2008-03-12 Tor Lillqvist <tml@novell.com>
403 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
404 returning FALSE, on Win32.
406 2008-03-11 Alexander Larsson <alexl@redhat.com>
409 * glocalfileinfo.[ch]:
410 Correctly implement can_trash by actually
411 looking for a trash dir, not just assuming
414 2008-03-10 Matthias Clasen <mclasen@redhat.com>
416 * === Released 2.16.1 ===
418 2008-03-11 Alexander Larsson <alexl@redhat.com>
421 Fix crashes in new constructor and properties code
423 2008-03-10 Murray Cumming <murrayc@murrayc.com>
425 * gfile.c: Minor spelling correction in documentation:
426 existance -> existence.
428 2008-03-10 Matthias Clasen <mclasen@redhat.com>
430 * === Released 2.16.0 ===
432 2008-03-10 Matthias Clasen <mclasen@redhat.com>
434 * gio.symbols: Remove g_file_contains_file here, too.
436 2008-03-10 Matthias Clasen <mclasen@redhat.com>
438 * gthemedicon.c: Add properties to make bindings happy. (#517676,
439 Samuel Cormier-Iijima)
441 2008-03-08 Tor Lillqvist <tml@novell.com>
443 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
446 2008-03-07 Alexander Larsson <alexl@redhat.com>
449 (g_local_file_query_filesystem_info):
450 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
451 Patch from Jasper Lievisse Adriaanse
453 2008-03-06 Tor Lillqvist <tml@novell.com>
455 * gfileinfo.h: Correct milliseconds to microseconds in the doc
456 comments for the *_USEC attributes.
458 2008-03-06 Alexander Larsson <alexl@redhat.com>
460 * gfile.c (g_file_query_exists):
461 Add g_return_val_if_fail check (#520700)
463 2008-03-06 Alexander Larsson <alexl@redhat.com>
468 * gunionvolumemonitor.c:
471 * tests/live-g-file.c:
472 * xdgmime/xdgmimecache.c:
473 Fix sparse warnings (#519489)
475 2008-03-05 Alexander Larsson <alexl@redhat.com>
478 Make cancellation threadsafe (i.e.
479 guarantee its only done once, and always
482 * glocaldirectorymonitor.c:
483 Make sure we the monitor lives while the
484 mounts_changed callback is being called (#520484)
486 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
488 * gbufferedinputstream.c: Fix typo in parameter
491 2008-03-04 Alexander Larsson <alexl@redhat.com>
494 Remove deprecated symbols we kept for one release.
496 2008-03-04 Murray Cumming <murrayc@murrayc.com>
499 * goutputstream.c: Tiny documentation corrections.
501 2008-03-03 Alexander Larsson <alexl@redhat.com>
503 * gunionvolumemonitor.c:
505 Fix the adopt_orphan_mount vfunc to take a
506 volume_monitor reference in an ABI compat way.
507 This change is not API compat, but the added
508 arg is not used in the only user of this vfunc, so
509 all we get is a harmless warning in gvfs (#520169)
511 2008-03-01 Benjamin Otte <otte@gnome.org>
514 clarify docs for g_file_delete().
516 2008-02-29 Alexander Larsson <alexl@redhat.com>
520 Make sure empty files get text/plain type (#518720)
522 2008-02-27 Alexander Larsson <alexl@redhat.com>
528 (g_unix_volume_mount):
529 Add missing GMountMountFlags argument
531 2008-02-26 Alexander Larsson <alexl@redhat.com>
534 (g_local_file_delete):
535 Handle filesystems (like ntfs-3g) that return EEXIST instead
536 of ENOTEMPTY (#518816)
538 2008-02-25 Matthias Clasen <mclasen@redhat.com>
540 * === Released 2.15.6 ===
542 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
544 * gfile.c (g_file_find_enclosing_mount):
545 * ginputstream.c (g_input_stream_set_pending):
546 * glocalfile.c (g_local_file_find_enclosing_mount):
547 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
548 * goutputstream.c (g_output_stream_set_pending):
550 Fixup translator comments (#518578).
552 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
554 * gfile.c (g_file_find_enclosing_mount):
556 * glocalfile.c (g_local_file_find_enclosing_mount):
559 Fix a few typos in translator comments and documentation.
561 2008-02-25 Alexander Larsson <alexl@redhat.com>
568 Add translator comments (#518578)
570 2008-02-25 Alexander Larsson <alexl@redhat.com>
573 Reintroduce g_file_contains_file, keep around for one
574 unstable release cycle to avoid crashing to many apps.
575 Make sure to delete after release.
577 2008-02-25 Alexander Larsson <alexl@redhat.com>
580 Remove deprecated g_file_contains_file.
582 2008-02-25 Alexander Larsson <alexl@redhat.com>
585 Emit actual change signals in an idle handler.
586 This avoids reentrance and locking problems in
587 the file notification backends.
589 2008-02-25 Alexander Larsson <alexl@redhat.com>
592 (g_unix_mount_guess_should_display):
593 Remove type guessing, instead just display
594 mounts in /media and in ~/.
596 2008-02-25 Alexander Larsson <alexl@redhat.com>
599 Make new strings reuse old ones.
601 2008-02-25 Alexander Larsson <alexl@redhat.com>
604 Implement trashing and filesystem::readonly for win32 (#517235)
605 Patch from Yevgen Muntyan
607 2008-02-23 Matthias Clasen <mclasen@redhat.com>
609 * gfileinfo.h: Documentation fixes.
611 2008-02-22 Alexander Larsson <alexl@redhat.com>
613 * gcontenttype.c (g_content_type_get_icon):
614 Look at old-style gnome mime icon names too, as many
615 have not moved to the new style.
617 2008-02-21 Matthias Clasen <mclasen@redhat.com>
619 * *.c: Correct the @include in for section docs.
621 2008-02-21 David Zeuthen <davidz@redhat.com>
623 * glocalfileinfo.c: (_g_local_file_info_get):
625 (g_content_type_get_icon): Implement this function by
626 moving bits from glocalfileinfo.c
627 (g_content_type_get_description): Unalias before getting
628 description (#517687)
630 * gfile.c: (g_file_class_init),
631 (g_file_query_filesystem_info_async),
632 (g_file_query_filesystem_info_finish),
633 (query_filesystem_info_data_free),
634 (query_filesystem_info_async_thread),
635 (g_file_real_query_filesystem_info_async),
636 (g_file_real_query_filesystem_info_finish):
637 * gfile.h: Implement async version of
638 g_file_query_filesystem_info()
640 * gfileinfo.h: Add new attributes for filesystem::use-preview
642 * gio.symbols: Update
644 * gthemedicon.c: (g_themed_icon_append_name):
645 * gthemedicon.h: Add new new convenience function.
647 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
648 (get_mounts), (get_volumes), (get_connected_drives),
649 (get_volume_for_uuid), (get_mount_for_uuid),
650 (g_union_volume_monitor_init), (populate_union_monitor),
651 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
652 (g_volume_monitor_adopt_orphan_mount):
654 * gvolumemonitor.h: Use recursive locks so it's safe for volume
655 monitor implementations to call into the main volume monitor. Also
656 separate object initialization and volume monitor initialization
657 such that non-native volume monitors can properly adopt their
660 2008-02-21 Alexander Larsson <alexl@redhat.com>
665 2008-02-21 Alexander Larsson <alexl@redhat.com>
668 Add more documentation about how GFiles work (from #517086)
670 2008-02-21 Alexander Larsson <alexl@redhat.com>
674 Add new g_file_has_prefix that does the same as g_file_contains_file.
675 Deprecate g_file_contains_file and add a macro that converts
676 it to g_file_has_prefix.
677 The reason for this change is that the contains_file() name seems to
678 imply that this does more work than what it does, but its really only
679 a name match (from #517086)
684 Update to match the above change.
686 2008-02-20 Benjamin Otte <otte@gnome.org>
688 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
689 (g_file_eject_mountable):
690 even more cases of not returning in error path
692 2008-02-20 Benjamin Otte <otte@gnome.org>
694 * gfile.c: (g_file_mount_mountable):
695 return from function in error path.
697 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
700 Remove trailing coma in GMountMountFlags struct
702 2008-02-18 Alexander Larsson <alexl@redhat.com>
706 * glocalfileoutputstream.c:
707 Use g_unlink/g_rename instead of unlink/rename;
708 do not pass raw filenames to g_set_error. (#517239)
709 Patch from Yevgen Muntyan.
711 2008-02-18 Alexander Larsson <alexl@redhat.com>
714 * glocalfileoutputstream.c:
715 Open files with O_BINARY on windows. (#517140)
717 2008-02-14 Alexander Larsson <alexl@redhat.com>
719 * glocalfileoutputstream.c:
720 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
722 2008-02-14 Alexander Larsson <alexl@redhat.com>
725 Copy permissions with file on copy (#514084)
726 This is what cp does and makes sure e.g. the
727 exec permissions are kept.
728 Its kinda weird in that it keeps the permission bits
729 the same while the uid and gid are different. However
730 the new uid is the user so its not a security issue,
731 and I've heard no complaints about cp on this issue.
733 2008-02-13 Ryan Lortie <desrt@desrt.ca>
735 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
737 2008-02-13 Alexander Larsson <alexl@redhat.com>
739 * inotify/inotify-path.c:
740 Define IN_ONLYDIR if not in header (#515346)
742 2008-02-12 Alexander Larsson <alexl@redhat.com>
744 * tests/live-g-file.c:
747 2008-02-11 Matthias Clasen <mclasen@redhat.com>
749 * === Released 2.15.5 ===
751 2008-02-11 Matthias Clasen <mclasen@redhat.com>
753 * gio.symbols: Add g_mount_mount_flags_get_type.
755 2008-02-11 Alexander Larsson <alexl@redhat.com>
758 (g_file_info_set_attribute_mask):
759 (g_file_attribute_matcher_matches_id):
760 Correctly handle NULL GAttributeMatcher meaning
761 matches nothing. (Fixes #513492)
763 2008-02-11 Alexander Larsson <alexl@redhat.com>
768 Added GMountMountFlags enum and added a flags
769 argument to all mount calls.
771 This is an API/ABI change for future extensibility,
772 as I think we will need at least an
773 inhibit-autorun flag (the panel needs this).
774 There are no flags defined yet though.
776 2008-02-11 Alexander Larsson <alexl@redhat.com>
779 Added new standard::description attribute.
780 Requested by Vincent, and useful for both
783 2008-02-11 Alexander Larsson <alexl@redhat.com>
788 2008-02-11 Matthias Clasen <mclasen@redhat.com>
790 * *.c: Documentation additions
792 2008-02-10 Matthias Clasen <mclasen@redhat.com>
794 * gappinfo.h: Formatting cleanup
795 * gappinfo.c: Fix up docs.
797 2008-02-09 Matthias Clasen <mclasen@redhat.com>
799 * gunixmounts.c: Consistently use getmntent_r() and fall
800 back to getmntent(). (#515492)
802 2008-02-09 Matthias Clasen <mclasen@redhat.com>
804 * gbufferedinputstream.c:
806 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
808 * tests/data-input-stream.c:
809 * tests/data-output-stream.c: Portability fixes.
811 2008-02-08 Alexander Larsson <alexl@redhat.com>
816 Add g_volume_should_automount.
819 2008-02-07 Tor Lillqvist <tml@novell.com>
821 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
822 Win32, too Unix-specific.
824 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
826 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
827 a local plt if the compiler doesn't support what we want. Bug #514702
829 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
831 reviewed by: <delete if not using a buddy>
834 * gunixinputstream.c:
835 * gunixoutputstream.c:
837 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
840 * tests/live-g-file.c:
841 * tests/live-g-file.txt:
842 New GIO testing module working over real data
844 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
846 * glocalfileoutputstream.c (g_local_file_output_stream_close):
847 Fallback to rename() if link() is not available
848 (when no support on target filesystem)
850 2008-02-06 Michael Natterer <mitch@imendio.com>
852 * gfileinfo.c (g_file_info_get_icon): replace
853 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
855 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
857 * gfile.c (g_file_create):
858 Documentation update of error codes
860 2008-02-06 Alexander Larsson <alexl@redhat.com>
863 Update to use both mimeapps.list and
864 defaults.list as discussed on xdg list.
866 2008-02-06 Benjamin Otte <otte@gnome.org>
869 * gfilenamecompleter.c:
870 Fix some typos in the documentation.
872 2008-02-06 Alexander Larsson <alexl@redhat.com>
874 * glocalfile.c (g_local_file_trash):
875 Don't succeed with trash if newly created
876 trash dir has the wrong owner. (#514696)
878 2008-02-05 Alexander Larsson <alexl@redhat.com>
880 * glocalfile.c (g_local_file_move):
881 Don't spew warnings when destination is not
884 2008-02-03 Hans Breuer <hans@breuer.org>
886 * makefile.msc : update
888 2008-02-01 Michael Natterer <mitch@imendio.com>
890 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
891 return value of xdg_mime_list_mime_parents() to a variable of the
894 2008-02-01 Alexander Larsson <alexl@redhat.com>
896 * gappinfo.c (g_app_info_launch_uris):
897 Actually call the launch_uris method, not
900 2008-02-01 Alexander Larsson <alexl@redhat.com>
902 * gdesktopappinfo.c (g_desktop_app_info_equal):
903 Ensure appinfos with no id but same pointer value
906 2008-02-01 Alexander Larsson <alexl@redhat.com>
908 * gappinfo.c (g_app_info_launch_default_for_uri):
911 2008-02-01 Alexander Larsson <alexl@redhat.com>
915 Add g_app_info_launch_default_for_uri utility
918 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
921 Doc fix for g_app_info_get_default_for_uri_scheme ()
924 2008-01-30 Alexander Larsson <alexl@redhat.com>
927 Add doc comment about uris vs GFiles to
931 Ensure uris passed to g_app_info_launch_uris()
932 are not roundtriped through GFile (as that
933 may be slightly destructive for e.g. mailto: links)
935 2008-01-30 Alexander Larsson <alexl@redhat.com>
937 * tests/data-input-stream.c:
938 * tests/data-output-stream.c:
939 C89 fixes from Jens Granseuer (#512849)
941 2008-01-30 Alexander Larsson <alexl@redhat.com>
944 Fix gamin/fam difference build issue. (#509419)
946 2008-01-29 Alexander Larsson <alexl@redhat.com>
950 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
952 2008-01-29 Alexander Larsson <alexl@redhat.com>
956 giomodule-priv.h include moved to .c file.
958 2008-01-29 Alexander Larsson <alexl@redhat.com>
960 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
961 Remove unused prio/name fields.
963 2008-01-29 Alexander Larsson <alexl@redhat.com>
965 * gcontenttype.c (looks_like_text):
966 Don't treat whitespace as control chars.
968 2008-01-29 Alexander Larsson <alexl@redhat.com>
971 Lazily create the desktop files for appinfos created
972 by g_app_info_create_from_commandline() when needed
973 for mime associations. This allows run-time use
974 of GAppInfo object without creating unnecessary
977 2008-01-29 Alexander Larsson <alexl@redhat.com>
980 Added new symbols to gio.symbols
982 2008-01-29 Alexander Larsson <alexl@redhat.com>
985 Add g_file_query_default_handler utility to easily look up
986 the GAppInfo that handles a file.
988 * gdesktopappinfo.[ch]:
990 Set up an extension point for g_app_info_get_default_for_uri_scheme()
993 Remove unused function
995 2008-01-29 Alexander Larsson <alexl@redhat.com>
998 Mention need to free returned value in
999 g_file_enumerator_next_files_finish docs.
1000 Fix leak if g_file_enumerator_next_files_finish()
1003 2008-01-29 Alexander Larsson <alexl@redhat.com>
1006 (_g_unix_content_type_get_parents):
1007 Use list_parents, not get_parents from xdgmime, because
1008 the later doesn't use the cache.
1010 * xdgmime/xdgmimecache.c:
1011 (_xdg_mime_cache_list_mime_parents):
1012 Don't list the same type as parent multiple times.
1014 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1016 * === Released 2.15.4 ===
1018 2008-01-28 Alexander Larsson <alexl@redhat.com>
1021 Register local vfs with prio 0.
1024 Remove old name and prio class members
1026 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1028 * tests/g-file.c: Disable some tests that are failing in
1029 the absence of a http backend.
1031 2008-01-28 Alexander Larsson <alexl@redhat.com>
1035 Add registration hooks for extension points.
1036 Register the gio extension points.
1038 * fam/gfamdirectorymonitor.c:
1039 * fam/gfamfilemonitor.c:
1040 * glocaldirectorymonitor.[ch]:
1041 * glocalfilemonitor.[ch]:
1042 * gnativevolumemonitor.h:
1043 * gunionvolumemonitor.c:
1044 * gunixvolumemonitor.c:
1047 * inotify/ginotifydirectorymonitor.c:
1048 * inotify/ginotifyfilemonitor.c:
1049 Use the extension points registration instead
1050 of g_type_children().
1052 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1055 * gvolume.[hc]: Document new API.
1057 * gfile.c (g_file_copy_async): Fix docs
1059 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1061 * gbufferedinputstream.c:
1063 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1066 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1068 * glocalfile.c: Avoid trivial differences in translatable strings.
1070 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1072 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1073 build with gcc 3.4 (#509419)
1075 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1077 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1078 (#509994, Murray Cumming)
1080 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1082 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1083 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1084 this allows big jobs to be executed in chunks, instead of blocking
1085 the main loop for a long time.
1087 * gsimpleasyncresult.c:
1088 * giofile.c: Adapt callers.
1090 2008-01-25 Alexander Larsson <alexl@redhat.com>
1092 * gdesktopappinfo.c:
1093 Implement changes discussed on xdg list.
1094 Now we can add supported mimetypes by just using defaults.list
1095 We can also remove associations in defaults.list.
1097 2008-01-25 Alexander Larsson <alexl@redhat.com>
1099 * gdesktopappinfo.c:
1100 Don't make local copy of desktop file
1101 for mimetype changes if the file already
1102 supports the new mimetype.
1104 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1108 * gbufferedinputstream.c:
1109 * glocalfile.c: String improvements. (#511966,
1110 Theppitak Karoonboonyanan)
1112 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1114 * gioscheduler.h: Expand docs a bit.
1116 2008-01-24 Alexander Larsson <alexl@redhat.com>
1119 Add g_drive_get_identifier and
1120 g_drive_enumerate_identifiers
1123 Add g_volume_get_identifier and
1124 g_volume_enumerate_identifiers
1130 Implement identifiers for unix backend
1132 2008-01-24 Alexander Larsson <alexl@redhat.com>
1137 Add g_file_copy_async() (#511580)
1138 Based on patch from Carlos Garcia Campos
1140 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1142 * gioscheduler.c: Some documentation additions.
1144 2008-01-22 Alexander Larsson <alexl@redhat.com>
1146 * gdesktopappinfo.c:
1147 (g_desktop_app_info_new):
1148 Don't leak basename.
1150 2008-01-22 Alexander Larsson <alexl@redhat.com>
1152 * gdesktopappinfo.c:
1153 (g_desktop_app_info_new_from_filename):
1156 2008-01-22 Alexander Larsson <alexl@redhat.com>
1158 * glocalfileinfo.c (get_thumbnail_attributes):
1161 2008-01-22 Alexander Larsson <alexl@redhat.com>
1164 (canonicalize_filename):
1165 Canonicalize paths that start with more than
1169 (compare_two_files):
1170 (test_g_file_new_for_path):
1173 2008-01-22 Alexander Larsson <alexl@redhat.com>
1176 Allow UTF-8 in file:// parse names.
1178 * tests/Makefile.am:
1179 * tests/data-input-stream.c:
1180 * tests/data-output-stream.c:
1181 * tests/g-file-info.c:
1183 Added a bunch of tests from Tomas Bzatek
1185 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1187 * === Released 2.15.3 ===
1189 2008-01-21 Alexander Larsson <alexl@redhat.com>
1191 * gfileinputstream.[ch]:
1192 * gfileoutputstream.[ch]:
1194 Remove duplicated GSeekable functions. (#509990)
1195 Just use the g_seekable_xxx() calls instead.
1197 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1200 * gvolumemanager.c: Whitespace cleanups.
1202 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1203 Use the right mode when creating the file.
1205 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1207 * gfileenumerator.c:
1208 * gfileinputstream.c:
1210 * goutputstream.c: Documentation: Fixed minor typos
1211 and added more mentions of specific _finish() functions.
1213 2008-01-21 Alexander Larsson <alexl@redhat.com>
1215 * inotify/Makefile.am:
1216 * inotify/inotify-helper.c:
1217 * inotify/inotify-kernel.c:
1218 * inotify/inotify-path.c:
1219 * inotify/local_inotify.h: Removed.
1220 * inotify/local_inotify_syscalls.h: Removed.
1221 Removed the included copies of the inotify
1222 headers. We now only use the <sys/inotify.h>
1223 header which exists on modern systems.
1224 This fixes problems on ARM and SH5 (#510448)
1225 but is also generally much cleaner and future
1226 safe. For instance, if other OSes add support
1227 for inotify it should "just work".
1229 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1231 * inotify/*.c: Coding style fixes.
1232 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1233 for the 1/4 Hz timer.
1235 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1238 * gfilemonitor.[hc]:
1239 * gmemoryinputstream.c:
1240 * gmemoryoutputstream.c:
1241 * gmountoperation.c:
1242 * gthemedicon.c: Documentation updates
1244 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1246 * gfile.c: documentation: Fixed more minor
1249 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1251 * gmount.c: (g_mount_remount): documentation:
1252 Mention g_mount_remount_finish() instead of
1253 g_mount_unmount_finish().
1255 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1259 * gfile.c: Fixed some minor typos in the
1262 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1264 * gio/gvolumemonitor.c:
1265 (g_volume_monitor_get_connected_drives):
1266 (g_volume_monitor_get_volumes):
1267 (g_volume_monitor_get_mounts): Documentation:
1268 Clarify the ownership of the regurn GLists.
1270 2008-01-17 Alexander Larsson <alexl@redhat.com>
1273 Add the async find_enclosing_mount version
1274 to the header file too.
1276 2008-01-17 Alexander Larsson <alexl@redhat.com>
1279 Add async version of find_enclosing_mount
1280 with default implementation.
1282 2008-01-17 Alexander Larsson <alexl@redhat.com>
1287 Allow calls to implementation of copy and write
1288 even if the type of the file implementations is
1289 different. This can be used to implement native
1290 upload and download calls in a vfs.
1293 (g_local_file_move):
1294 Protect against the case where move is called
1295 with one file not being local.
1297 Make sure we call the progress callback once
1298 in the native move operation so that the caller
1299 knows how many bytes were copied.
1301 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1304 * gdatainputstream.c:
1306 * gfileoutputstream.c:
1311 * gunixmounts.c: Corrected some typos in the documentation:
1312 occured -> occurred.
1313 its -> it's (where appropriate).
1315 2008-01-16 Alexander Larsson <alexl@redhat.com>
1319 Add g_file_query_exists (#508771)
1321 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1326 * gvolume.c: For async functions that have no non-async
1327 version, document that the GAsyncReadyCallback may be NULL.
1330 2008-01-15 Alexander Larsson <alexl@redhat.com>
1332 * gmemoryinputstream.c:
1333 * gmemoryoutputstream.c:
1334 Don't do pointer arithmetic on void * (#508602)
1335 Patch from Kazuki IWAMOTO
1337 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1339 * === Released 2.15.2 ===
1341 2008-01-14 Alexander Larsson <alexl@redhat.com>
1343 * gfile.c (g_file_monitor_file):
1344 Don't set error here, since we fallback to polling monitor.
1346 2008-01-14 Alexander Larsson <alexl@redhat.com>
1349 (g_file_monitor_directory):
1350 (g_file_monitor_file):
1351 Add GError to file monitor calls
1353 * glocaldirectorymonitor.c:
1354 * glocaldirectorymonitor.h:
1356 * glocalfilemonitor.c:
1357 * glocalfilemonitor.h:
1359 Update for above change
1361 2008-01-14 Alexander Larsson <alexl@redhat.com>
1365 Handle root correctly in g_file_get_relative_path (#508719)
1367 2008-01-14 Alexander Larsson <alexl@redhat.com>
1370 Clean up docs and example for GAsyncResult (#508074)
1372 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1374 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1375 and correct some spelling mistakes. Bug #508108.
1377 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1379 * glocalfileinfo.c: Add a comment.
1381 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1383 * gfileinfo.c: GFileInfo description: Mention
1384 how to actually set attributes in a GFile and how to discover
1385 which attributes are settable. Bug #508378.
1387 2008-01-10 A. Walton <awalton@svn.gnome.org>
1389 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1390 (g_app_info_get_default_for_type):
1391 Check for NULL content types.
1393 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1395 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1397 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1399 * gfile.c: *_async() functions: Several small corrections
1400 to the documentation, mostly correcting copy/paste errors
1401 and improving some sentences.
1403 2008-01-09 Dan Winship <danw@gnome.org>
1405 * glocalfile.c (get_unique_filename): x86_64 fix
1407 2008-01-09 Alexander Larsson <alexl@redhat.com>
1412 Add g_unix_mount_guess_should_display and use
1413 for unix volume monitor backend.
1414 This means we more or less show what the
1415 gnome-vfs backend did.
1416 Based on patch from Padraig O'Briain
1418 2008-01-09 Alexander Larsson <alexl@redhat.com>
1422 Add g_themed_icon_new_with_default_fallbacks
1425 Use default fallbacks for icons
1427 2008-01-09 Alexander Larsson <alexl@redhat.com>
1430 * gmountoperation.[ch]:
1431 Change the API a bit so that unhandled methods
1432 get reported via the reply, rather than by
1433 the signal emission return value. This is because
1434 some handlers can't know this immediately without
1435 doing I/O, and this is an async operation that
1438 2008-01-09 Alexander Larsson <alexl@redhat.com>
1441 * fam/gfamdirectorymonitor.c:
1442 * fam/gfamfilemonitor.c:
1443 Fix double free crash (#508224)
1444 Patch from Joe Marcus Clarke
1446 008-01-07 Matthias Clasen <mclasen@redhat.com>
1448 * === Released 2.15.1 ===
1450 2008-01-07 Alexander Larsson <alexl@redhat.com>
1452 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1453 Fix warning (#507835)
1455 2008-01-07 Alexander Larsson <alexl@redhat.com>
1458 Pass --internal to glib-genmarshal
1461 * gmountoperation.c:
1463 Use better types for signal arguments (#507822)
1465 2008-01-07 Alexander Larsson <alexl@redhat.com>
1468 Build test subdir after .
1469 Remove gdirectorymonitor.[ch]
1471 * gdirectorymonitor.[ch]:
1475 Remove GDirectoryMonitor and make
1476 GFileMonitor the baseclass for both file and
1477 directory monitors. Lift the more generic
1478 rate limiting code from GDirectoryMonitor
1482 * fam/gfamdirectorymonitor.[ch]:
1483 * inotify/ginotifydirectorymonitor.[ch]:
1484 * inotify/inotify-helper.c:
1485 * glocaldirectorymonitor.[ch]:
1488 Update for the removed GDirectoryMonitor.
1490 * gmemoryoutputstream.c:
1491 Remove ununsed variable
1493 2008-01-07 Alexander Larsson <alexl@redhat.com>
1495 * gmemoryinputstream.c:
1496 Translate error strings
1499 * gmemoryoutputstream.[ch]:
1500 New implementation that avoids using GByteArray
1501 in implementation and API. (#506377)
1503 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1505 * tests/*: Add a test for memory input streams.
1507 * Makefile.am: Add tests to SUBDIRS.
1509 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1511 * glocalfilemonitor.c:
1512 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1515 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1517 * gdesktopappinfo.c: Fix a docs typo.
1519 * gfileattribute.c: Add information about extended attributes
1520 to the documentation. (#505058)
1522 2008-01-04 Alexander Larsson <alexl@redhat.com>
1525 * gmountoperation.c:
1526 Use the right type (uint) for the ask_password signal.
1528 2008-01-04 Alexander Larsson <alexl@redhat.com>
1533 Add g_app_info_supports_files()
1534 Remove desktop arg from g_app_info_should_show().
1536 * gdesktopappinfo.[ch]:
1537 Implement g_app_info_supports_files() and new should_show()
1538 Add g_desktop_app_info_set_desktop_env() to set the desktop
1539 for should_show(). (This will be set by gtk+ later)
1541 2008-01-04 Alexander Larsson <alexl@redhat.com>
1544 * gmemoryinputstream.[ch]:
1545 Improve API so that you can use multiple chunks
1546 of memory and custom destroy functions. (#506374)
1548 2008-01-03 Alexander Larsson <alexl@redhat.com>
1551 Handle NULL attribute matchers safely, as we return this
1552 for empty attribute matcher strings.
1554 2008-01-03 Alexander Larsson <alexl@redhat.com>
1556 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1557 Add /usr/local to list of internal mountpoints
1559 2008-01-03 Alexander Larsson <alexl@redhat.com>
1562 Check for HAVE_LCHOWN (#505887)
1564 2008-01-03 Alexander Larsson <alexl@redhat.com>
1568 Add define for selinux context attribute.
1569 Fix missing : -> :: namespace separator change
1570 Fix missing _ -> - name change for xattr-sys.
1573 2008-01-03 Alexander Larsson <alexl@redhat.com>
1576 Link to libglib and libgobject directly (#504879)
1577 Patch from Sebastien Bacher
1579 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1581 * gfile.c: Expanded the g_file_new_for_commandline_arg
1582 description a bit, based on the code and the docs of the
1583 other g_file_new_for_* functions.
1585 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1587 * gfilemonitor.h: Fixed typo in docs.
1589 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1591 Updates to GIO documentation. (#506395, Mikael Hermansson)
1593 * gcontenttype.c: Describe memory management for return value of
1594 g_content_types_get_registered(). Missing piece from #505815.
1595 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1596 GVolume, GDrive, GMounts, which hopefully gives the user less
1597 confusions when using this API. Following explainations from
1598 Alexander Larsson on gtk-devel-list.
1600 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1602 * gfileinfo.c: Expand the long description.
1604 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1607 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1608 fix builds with --disable-visibility. (#500273, Christian Persch)
1610 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1612 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1613 in the list of returned app infos.
1615 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1617 * gappinfo.c: Fix a cross-reference
1619 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1621 * gfileinputstream.c:
1622 * gfileoutputstream.c:
1626 * gdesktopappinfo.c:
1628 * gfileinfo.c: Documentation updates.
1630 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1632 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1635 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1637 * gcontenttype.c (g_content_types_get_registered): Don't return
1638 freed memory (#505815, Mikael Hermansson)
1640 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1642 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1643 used to detect statbuf->st_blocks. (#505042)
1645 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1647 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1648 environment handling. (#504829, Cosimo Cecchi)
1650 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1652 * gappinfo.c: Doc improvements
1654 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1657 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1659 * === Released 2.15.0 ===
1661 2007-12-20 Hans Breuer <hans@breuer.org>
1663 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1664 with symbols gwin32appinfo.obj, added gmount.obj
1665 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1667 2007-12-20 Alexander Larsson <alexl@redhat.com>
1673 * gfilenamecompleter.c:
1676 * gpollfilemonitor.c:
1677 File attribute renames:
1679 fs:: -> filesystem::
1680 id::fs -> id::filesystem
1682 2007-12-20 Alexander Larsson <alexl@redhat.com>
1691 Add GMountUnmountFlags to all unmount and
1693 Add g_mount_remount() call.
1695 2007-12-20 Alexander Larsson <alexl@redhat.com>
1697 * gvfs.c (get_default_vfs):
1698 Fix unused variable warning
1700 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1702 * pltcheck.sh: Update
1704 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1706 * gunionvolumemonitor.c:
1707 * gunixmount.c: Remove C99 comments
1709 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1711 * gio.symbols: Add some missing symbols
1713 2007-12-19 Alexander Larsson <alexl@redhat.com>
1716 Make g_io_modules_load_all_in_directory not unuse
1717 loaded modules so that users of it can do stuff
1719 Init internal "module" types.
1720 Initialize static prio and name for types so that
1721 we don't have to load modules to get it.
1723 * gnativevolumemonitor.h:
1725 Move is_supported to parent class so that
1726 non-native monitors can avoid being initialized
1727 too. (For instance GDaemonVolumeMonitor if we're
1728 not using GDaemonVfs.)
1730 * glocaldirectorymonitor.[ch]:
1731 * glocalfilemonitor.[ch]:
1732 * gunionvolumemonitor.c:
1733 * gunixvolumemonitor.c:
1735 Find plugins using the static prio+name to
1736 avoid unnecessarily loading the modules.
1738 2007-12-19 Alexander Larsson <alexl@redhat.com>
1743 2007-12-19 Alexander Larsson <alexl@redhat.com>
1745 * gunionvolumemonitor.c:
1746 Store the native type as GType, not class so that
1747 we can unload it. But still avoid unnecessarily
1750 2007-12-19 David Zeuthen <davidz@redhat.com>
1752 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1753 add signals 'disconnected' and 'eject-button' on GDrive. Add
1754 signal 'removed' on GVolume and 'unmounted' on GMount.
1756 * gdrive.c: (g_drive_base_init):
1758 * gfile.c: (g_file_mount_mountable),
1759 (g_file_mount_enclosing_volume):
1762 * gmount.c: (g_mount_base_init):
1764 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1765 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1766 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1770 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1772 * *.c: Fix up includes in the section docs.
1774 2007-12-17 Alexander Larsson <alexl@redhat.com>
1776 * gnativevolumemonitor.h:
1777 * gunionvolumemonitor.c:
1778 * gunixvolumemonitor.c:
1779 Add is_supported() to GNativeVolumeMonitorClass so
1780 that we can avoid having to create an object to see
1781 if the backend is supported at runtime.
1782 Also add name member and an env var to pick a specific
1783 volume monitor backend.
1787 Add cancellable to _g_mount_get_for_mount_path()
1789 * glocaldirectorymonitor.c:
1790 * glocalfilemonitor.c:
1791 Avoid loading and unloading modules while sorting.
1793 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1796 * gunixmounts.[hc]: Namespace waste reduction, move some
1797 g_get_unix_mount functions to the g_unix_mount namespace.
1800 * gunixvolumemonitor.c:
1802 * glocaldirectorymonitor.c: Update all callers.
1804 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1806 2007-12-17 Alexander Larsson <alexl@redhat.com>
1809 Add doc comments about what GFile operations are
1810 guaranteed to not block.
1812 2007-12-17 Alexander Larsson <alexl@redhat.com>
1815 Add missing #ifdef fixing OSX build.
1816 (#503334, patch from Richard Hult)
1818 2007-12-14 David Zeuthen <davidz@redhat.com>
1822 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1823 (g_mount_eject), (g_mount_eject_finish):
1825 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1826 (get_volume_for_uuid), (get_mount_for_uuid),
1827 (g_union_volume_monitor_class_init),
1828 (get_default_native_type_with_exclude), (get_default_native_type),
1829 (get_native_type), (update_native_type),
1830 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1831 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1832 (g_unix_mount_can_eject), (eject_unmount_cb),
1833 (eject_unmount_read_error), (eject_unmount_do),
1834 (g_unix_mount_unmount), (g_unix_mount_eject),
1835 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1836 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1837 (g_unix_mount_point_guess_can_eject):
1839 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1840 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1841 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1842 (g_unix_volume_mount), (g_unix_volume_eject),
1843 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1844 * gunixvolumemonitor.c: (get_volume_for_uuid),
1845 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1847 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1848 (g_volume_eject), (g_volume_eject_finish):
1850 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1851 (g_volume_monitor_get_mount_for_uuid):
1854 Provide eject() on both GMount and GVolume and utility functions
1855 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1856 ejected. Introduce the concept of UUID's and wire it into GVolume
1857 and GMount and provide API on GVolumeMonitor to find such
1858 instances. Also handle the case where an external
1859 GNativeVolumeMonitor fails to initialize. Lock around the
1860 _g_get_mount_for_mount_path() function such that volume monitor
1861 implementations won't have to do locking themselves.
1863 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1865 * gdesktopappinfo.c:
1871 * gvolume.h: Documentation updates
1873 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1876 * gfile.h: Doc updates
1878 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1881 * gdesktopappinfo.c: Use hash table iterators.
1883 2007-12-14 Alexander Larsson <alexl@redhat.com>
1886 * gfileattribute.[ch]:
1887 * gfileattribute-priv.h:
1888 Move GFileAttributeValue to a private header, as
1892 Make set_attribute take a type + a pointer instead
1893 of a GFileAttributeValue.
1896 Fix up for above changes.
1897 Add g_file_info_get_attribute_data to get
1898 all info in one call, g_file_info_get_attribute_status
1899 to get the status and g_file_info_get_attribute_as_string.
1903 * glocalfileinfo.[ch]:
1907 Make _guess_type static.
1909 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1912 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1913 made mkenums and friends use temporary files to avoid leaving
1914 empty generated files on failure (#503470).
1916 2007-12-14 Alexander Larsson <alexl@redhat.com>
1918 * gmountoperation.h:
1921 2007-12-14 Alexander Larsson <alexl@redhat.com>
1925 * gfileattribute.[ch]:
1928 * glocalfileoutputstream.c:
1929 * gmountoperation.[ch]:
1930 * goutputstream.[ch]:
1931 Clean up all flags enums to not have _FLAGS in them
1932 Make the names of some of the enums better.
1937 2007-12-14 Michael Natterer <mitch@imendio.com>
1939 * gio.symbols: fix g_io_scheduler symbol names.
1941 2007-12-14 Alexander Larsson <alexl@redhat.com>
1947 * gbufferedinputstream.h:
1948 * gbufferedoutputstream.h:
1951 * gdatainputstream.h:
1952 * gdataoutputstream.h:
1953 * gdesktopappinfo.h:
1954 * gdirectorymonitor.h:
1958 * gfileenumerator.h:
1961 * gfileinputstream.h:
1963 * gfilenamecompleter.h:
1964 * gfileoutputstream.h:
1965 * gfilterinputstream.h:
1966 * gfilteroutputstream.h:
1974 * gmemoryinputstream.h:
1975 * gmemoryoutputstream.h:
1977 * gmountoperation.h:
1980 * gsimpleasyncresult.h:
1982 * gunixinputstream.h:
1984 * gunixoutputstream.h:
1988 * inotify/Makefile.am:
1989 Only allow including <gio/gio.h> from apps
1991 2007-12-14 Alexander Larsson <alexl@redhat.com>
1993 * gioscheduler.[ch]:
1994 * gsimpleasyncresult.c:
1995 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1996 Split out the send_to_mainloop call into two versions instead
1997 of having the block argument.
1999 2007-12-13 Alexander Larsson <alexl@redhat.com>
2001 * gcancellable.[ch]:
2003 * gbufferedinputstream.c:
2004 * gfileenumerator.c:
2005 * gfileinputstream.c:
2006 * gfileoutputstream.c:
2010 g_push/pop_current_cancellable ->
2011 g_cancellable_push/pop_current
2013 2007-12-13 Alexander Larsson <alexl@redhat.com>
2017 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2019 2007-12-13 Alexander Larsson <alexl@redhat.com>
2021 * gmountoperation.h:
2022 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2024 2007-12-12 Alexander Larsson <alexl@redhat.com>
2027 Fix race condition when freeing proxy in
2028 g_io_job_send_to_mainloop().
2030 2007-12-12 Alexander Larsson <alexl@redhat.com>
2036 Make attribute namespace separator "::" instead of ":".
2037 Use - instead of _ as separator in attribute names.
2039 2007-12-12 Alexander Larsson <alexl@redhat.com>
2041 * gbufferedinputstream.h:
2042 * gbufferedoutputstream.h:
2043 * gdatainputstream.h:
2044 * gdataoutputstream.h:
2045 * gdirectorymonitor.h:
2046 * gfileenumerator.h:
2047 * gfileinputstream.h:
2049 * gfileoutputstream.h:
2050 * gfilterinputstream.h:
2051 * gfilteroutputstream.h:
2053 * glocalfileinputstream.h:
2054 * glocalfileoutputstream.h:
2055 * gmemoryinputstream.h:
2056 * gmemoryoutputstream.h:
2057 * gnativevolumemonitor.h:
2059 * gunixinputstream.h:
2060 * gunixoutputstream.h:
2063 s/parent/parent_instance/ in GObjects
2065 2007-12-12 Alexander Larsson <alexl@redhat.com>
2070 No need for padding for interfaces
2072 2007-12-12 Alexander Larsson <alexl@redhat.com>
2076 * gbufferedinputstream.c:
2077 * gbufferedoutputstream.c:
2080 * gdatainputstream.[ch]:
2081 * gdesktopappinfo.c:
2082 * gdirectorymonitor.c:
2084 * gfileattribute.[ch]:
2087 * gfileinputstream.h:
2088 * gfilemonitor.[ch]:
2089 * gfileoutputstream.[ch]:
2090 * gfilterinputstream.h:
2091 * gfilteroutputstream.h:
2094 * gloadableicon.[ch]:
2095 * gmemoryinputstream.c:
2096 * gmountoperation.c:
2098 Fix up a bunch of details in the docs.
2103 2007-12-11 David Zeuthen <davidz@redhat.com>
2105 Rework how volumes, drives and volume monitoring is
2106 done. Previosly the model was
2108 GDrive <1-1> GVolume
2110 where a GDrive instance represented a mount point and a GVolume
2111 instance represented a mounted file system. This patch changes it
2114 GDrive <1-N> GVolume <1-1> GMount
2116 where GMount now serves the purpose of the old GVolume and the new
2117 GVolume serves the purpose of the old GDrive. In addition the new
2118 GDrive interface is used to represent a collection of GVolume
2119 instances (typically partitions) and also contains utility to query
2120 the state of the physical drive the GDrive object represents (such
2121 as checking for media, polling the drive, ejecting the media etc.).
2123 Also implement mounting and unmounting in the Unix volume monitor
2124 backend. A subquent patch will introduce GDrive support for ejection
2128 * gdrive.c: (g_drive_is_media_check_automatic),
2129 (g_drive_is_media_removable), (g_drive_has_media),
2130 (g_drive_can_poll_for_media), (g_drive_eject),
2131 (g_drive_eject_finish), (g_drive_poll_for_media),
2132 (g_drive_poll_for_media_finish):
2134 * gfile.c: (g_file_find_enclosing_mount):
2137 * glocaldirectorymonitor.c:
2138 (g_local_directory_monitor_constructor), (mounts_changed):
2139 * glocalfile.c: (get_mount_info),
2140 (g_local_file_find_enclosing_mount),
2141 (g_local_file_file_iface_init):
2142 * gnativevolumemonitor.h:
2143 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2144 (get_connected_drives), (g_union_volume_monitor_class_init),
2145 (child_volume_added), (child_volume_removed),
2146 (child_volume_changed), (child_mount_added), (child_mount_removed),
2147 (child_mount_pre_unmount), (child_mount_changed),
2148 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2149 (g_union_volume_monitor_remove_monitor),
2150 (_g_mount_get_for_mount_path):
2151 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2152 (guess_system_internal), (_g_get_unix_mounts),
2153 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2154 (g_unix_mount_free), (g_unix_mount_compare),
2155 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2156 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2157 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2158 (type_to_icon), (g_unix_mount_guess_name),
2159 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2160 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2161 (_resolve_symlink), (_resolve_dev_root):
2163 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2164 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2165 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2166 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2167 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2168 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2169 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2170 (g_unix_volume_volume_iface_init):
2172 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2173 (get_mounts), (get_volumes), (get_connected_drives),
2174 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2175 (mountpoints_changed), (mounts_changed),
2176 (g_unix_volume_monitor_init),
2177 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2178 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2179 * gunixvolumemonitor.h:
2180 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2181 (g_volume_mount), (g_volume_mount_finish):
2183 * gvolumemonitor.c: (g_volume_monitor_class_init),
2184 (g_volume_monitor_get_connected_drives),
2185 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2188 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2190 * gmountoperation.h (GPasswordFlags): Close the gap
2192 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2194 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2196 * gdesktopappinfo.[hc]: Remove _-prefixes
2198 2007-12-10 Tor Lillqvist <tml@novell.com>
2200 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2203 2007-12-10 Alexander Larsson <alexl@redhat.com>
2205 * gfile.c (g_file_set_display_name):
2206 Don't hardcode '/' (#502727)
2208 2007-12-09 Hans Breuer <hans@breuer.org>
2210 * makefile.msc : follow lib naming convention
2211 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2212 for user and group name, tested with ../tests/gio-ls
2214 2007-12-09 A. Walton <awalton@svn.gnome.org>
2216 * gdesktopappinfo.c:
2222 * gfileenumerator.c:
2227 * gmemoryinputstream.c:
2228 * gmemoryoutputstream.c:
2230 * gsimpleasyncresult.c:
2231 More documentation cleanup and filling in missing information, bringing
2232 GIO to 99% symbol coverage.
2234 2007-12-08 Hans Breuer <hans@breuer.org>
2236 [gio compiles and links on win32, not sure how much already works]
2237 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2238 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2239 base on win32 API; prefer g_lstat() over lstat(); instead of
2240 localtime_r() use an all GLib implementation on win32;
2241 get_mount_info() still needs a win32 specifc implementation
2242 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2243 win32_get_file_user_info to get owner/group info without uid/gid
2244 * glocalfileinputstream.c : include <io.h> on win32
2245 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2246 definition, use g_win32_ftruncate() for G_OS_WIN32
2247 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2248 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2249 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2250 * makefile.msc : updated
2252 2007-12-07 Alexander Larsson <alexl@redhat.com>
2254 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2255 Avoid warning spew if error == NULL
2257 2007-12-07 Alexander Larsson <alexl@redhat.com>
2260 Update docs wrt etags
2262 2007-12-06 Alexander Larsson <alexl@redhat.com>
2265 Include sys/types.h for dev_t (#501919)
2267 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2271 Make abicheck and pltcheck pass.
2273 2007-12-05 Alexander Larsson <alexl@redhat.com>
2276 * giomodule-priv.h: Added.
2277 * glocaldirectorymonitor.c:
2278 * glocalfilemonitor.c:
2279 * gunionvolumemonitor.c:
2281 Actually add the declaration of _g_io_modules_ensure_loaded
2283 2007-12-05 Alexander Larsson <alexl@redhat.com>
2285 * gdatainputstream.c:
2290 * glocaldirectorymonitor.c:
2291 * glocalfilemonitor.c:
2292 * gunionvolumemonitor.c:
2294 Make g_io_modules_ensure_loaded a private function and
2295 don't pass in the dirname. This means we can do magic
2296 directory finding in the win32 version.
2297 Export the actual load-modules-in-directory code so that
2298 gvfs can reuse that.
2300 2007-12-05 Alexander Larsson <alexl@redhat.com>
2302 * gbufferedinputstream.c:
2303 * gbufferedoutputstream.c:
2306 * gfileenumerator.[ch]:
2307 * gfileinputstream.c:
2308 * gfileoutputstream.[ch]:
2309 * gfilterinputstream.c:
2310 * gfilteroutputstream.c:
2311 * ginputstream.[ch]:
2313 * glocalfileenumerator.c:
2314 * glocalfileinputstream.c:
2315 * glocalfileoutputstream.c:
2316 * gmemoryinputstream.c:
2317 * gmemoryoutputstream.c:
2318 * goutputstream.[ch]:
2321 * gunixinputstream.c:
2322 * gunixoutputstream.c:
2323 Rename all struct members named:
2324 read, write, close, truncate, or mount
2325 to foo_fn, as these are reserved names
2326 and could be defined as macros in libc.
2329 2007-12-04 Alexander Larsson <alexl@redhat.com>
2332 (g_output_stream_close):
2333 Only call flush if non-null.
2335 2007-11-30 Dan Winship <danw@gnome.org>
2337 * ginputstream.c (g_input_stream_set_pending): Make this take a
2338 GError and return a gboolean, and do the "outstanding operation"
2339 check (and the "stream is already closed" check) itself.
2340 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2342 * goutputstream.c (g_output_stream_set_pending)
2343 (g_output_stream_clear_pending): Likewise
2345 * gbufferedinputstream.c:
2346 * gfileinputstream.c:
2347 * gfileoutputstream.c: Update for that
2349 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2350 Like g_simple_async_report_error_in_idle, but takes a GError
2351 rather than building one.
2353 2007-11-30 Dan Winship <danw@gnome.org>
2355 * goutputstream.c: Don't cheat and unset the "pending" flag around
2356 inner calls. Instead, call the class method directly rather than
2357 the wrapper function that checks "pending"
2359 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2361 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2363 2007-12-03 Hans Breuer <hans@breuer.org>
2365 [start of port to win32/msvc]
2366 * gcancellable.c : HAVE_UNIST_H and _pipe()
2367 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2368 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2369 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2371 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2372 * glocalvfs.c : use HAVE_PWD_H
2373 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2374 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2375 * Makefile.am : added to EXTRA_DIST
2377 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2379 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2382 2007-12-03 Alexander Larsson <alexl@redhat.com>
2385 Handle OSX style xattrs API (#500506)
2387 2007-12-03 Alexander Larsson <alexl@redhat.com>
2391 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2393 2007-12-02 A. Walton <awalton@svn.gnome.org>
2397 Documentation accuracy fixes.
2399 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2401 * gioenumtypes.c.template: Fix typo.
2403 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2405 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2407 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2409 * gdirectorymonitor.c:
2410 * gfilemonitor.c: Add properties
2412 * gbufferedoutputstream.c: Don't mark buffer-size property
2415 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2417 * gbufferedoutputstream.c: Add auto-grow property.
2419 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2421 * *.c: Unify the capitalization of section headings.
2423 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2425 * gmountoperation.c: Add properties
2427 * gdatainputstream.c: Turn byte-order and newline-type into
2430 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2432 * gioenumtypes.[hc].template: Templates for enum registration
2434 * Makefile.am: Generate gioenumtypes.[hc]
2436 * gio.h: Include gioenumtypes.h
2438 * gfile.h: Add some explicit nicks.
2440 * gio.symbols: Add new symbols
2442 * pltcheck.sh: Adjust
2444 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2446 * *.c: Explain etags and link to the explanation
2448 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2450 * *.c: Explain I/O priority.
2452 * *.c: More coding style fixes.
2454 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2456 * gasyncresult.c: Add another paragraph to the intro,
2457 adjust coding style of example.
2459 2007-11-29 A. Walton <awalton@svn.gnome.org>
2462 Fixes unknown meaning in GAppLaunchContext docs.
2464 Clarify asynchronous ops.
2466 Fix entity tag docs.
2469 Provides missing gtk-doc section, fixes API docs slighly.
2470 * gsimpleasyncresult.c:
2471 Fill in missing info in docs.
2472 * gunixinputstream.c:
2473 * gunixoutputstream.c:
2474 Be more expressive in short description.
2476 Remove gtk-doc stubs for non-public API.
2478 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2480 * *.c: Coding style fixups
2482 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2484 * inotify/inotify-helper.c: Don't export the lock from libgio.
2486 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2489 * abicheck.sh: Fix copy-and-paste leftovers
2491 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2493 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2495 2007-11-28 Alexander Larsson <alexl@redhat.com>
2499 Removed unnecessary file
2501 * gdesktopappinfo.[ch]:
2504 * glocaldirectorymonitor.[ch]:
2506 * glocalfileenumerator.[ch]:
2507 * glocalfileinputstream.[ch]:
2508 * glocalfilemonitor.[ch]:
2509 * glocalfileoutputstream.[ch]:
2511 * gnativevolumemonitor.c:
2512 * gpollfilemonitor.[ch]:
2513 * gunionvolumemonitor.[ch]:
2516 * gunixvolumemonitor.[ch]:
2519 * inotify/ginotifydirectorymonitor.[ch]:
2520 * inotify/ginotifyfilemonitor.[ch]:
2521 * inotify/inotify-helper.c:
2522 Append _ to all internal functions
2526 Export symbols needed for modules
2528 2007-11-28 Alexander Larsson <alexl@redhat.com>
2531 * abicheck.sh: Added.
2532 * makegioalias.pl: Added.
2533 * pltcheck.sh: Added.
2534 * gio.symbols: Added.
2537 Initial work on adding symbol handling.
2540 Correct ifdef guard name
2543 * inotify/Makefile.am:
2544 * xdgmime/Makefile.am:
2545 Include toplevel Makefile.decl
2547 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2549 * gcontenttype.c: Move doc comments to the unix section.
2551 * *.[hc]: More trivial doc corrections.
2553 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2555 * gpollfilemonitor.c:
2559 * gdesktopappinfo.c:
2564 * gdatainputstream.c:
2565 * gdatainputstream.h:
2566 * gdataoutputstream.c:
2567 * gdataoutputstream.h:
2568 * gfileinfo.h: Doc cleanups
2570 2007-11-28 Andre Klapper <a9016009@gmx.de>
2572 * gdesktopappinfo.c: Fix a typo.
2574 2007-11-27 Andre Klapper <a9016009@gmx.de>
2576 * glocalfileoutputstream.c: Fix a typo.
2578 2007-11-27 Alexander Larsson <alexl@redhat.com>
2581 Don't include removed headers
2583 2007-11-27 Alexander Larsson <alexl@redhat.com>
2586 * gsocketinputstream.[ch]: Removed.
2587 * gsocketoutputstream.[ch]: Removed.
2588 * gunixinputstream.[ch]: Added.
2589 * gunixoutputstream.[ch]: Added.
2590 Renamed GSocket*Stream to GUnix*Stream and made
2591 it unix-only, since its not really only for sockets
2592 and it only works on unix (but is highly useful there).
2594 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2600 * gbufferedinputstream.c:
2601 * gbufferedinputstream.h:
2602 * gbufferedoutputstream.c:
2603 * gbufferedoutputstream.h:
2607 * gdatainputstream.c:
2608 * gdatainputstream.h:
2609 * gdataoutputstream.c:
2610 * gdataoutputstream.h:
2611 * gdirectorymonitor.c:
2612 * gdirectorymonitor.h:
2619 * gfileenumerator.c:
2620 * gfileenumerator.h:
2625 * gfileinputstream.c:
2626 * gfileinputstream.h:
2629 * gfilenamecompleter.c:
2630 * gfilenamecompleter.h:
2631 * gfileoutputstream.c:
2632 * gfileoutputstream.h:
2633 * gfilterinputstream.c:
2634 * gfilterinputstream.h:
2635 * gfilteroutputstream.c:
2636 * gfilteroutputstream.h:
2649 * glocalfileoutputstream.c:
2650 * gmemoryinputstream.c:
2651 * gmemoryinputstream.h:
2652 * gmemoryoutputstream.c:
2653 * gmemoryoutputstream.h:
2654 * gmountoperation.c:
2655 * gmountoperation.h:
2658 * gpollfilemonitor.c:
2661 * gsimpleasyncresult.c:
2662 * gsimpleasyncresult.h:
2663 * gsocketinputstream.c:
2664 * gsocketinputstream.h:
2665 * gsocketoutputstream.c:
2666 * gsocketoutputstream.h:
2673 * gunixvolumemonitor.c:
2682 Bumps documentation to 93% symbol coverage, touching most
2683 of the public files. Fixes broken function documentation prototypes.
2684 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2685 gtk-doc headers in private files.
2687 2007-11-27 Jürg Billeter <j@bitron.ch>
2689 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2690 (g_buffered_input_stream_read_byte):
2691 * gbufferedinputstream.h:
2692 New functions for efficient access to buffer and simple single byte
2695 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2696 (g_data_input_stream_read_until):
2697 * gdatainputstream.h:
2698 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2699 read_until with multiple stop chars.
2701 2007-11-27 Alexander Larsson <alexl@redhat.com>
2705 * inotify/Makefile.am:
2706 Use the user-specified giomoduledir
2708 2007-11-27 Alexander Larsson <alexl@redhat.com>
2712 Add catch-all gio.h header
2713 Don't install gdummyfile.h
2715 2007-11-26 Alexander Larsson <alexl@redhat.com>
2717 * Makefile.am (gioinclude_HEADERS):
2718 Remove trailing whitespace
2720 2007-11-26 Alexander Larsson <alexl@redhat.com>
2722 Merge gio-standalone into glib
2724 2007-11-25 Christian Kellner <gicmo@gnome.org>
2726 * gio/goutputstream.c:
2727 Fix small mistake in the docs.
2729 2007-11-21 Christian Persch <chpe@gnome.org>
2731 * gio/glocalfile.c: (g_local_file_trash):
2732 Convert filenames to UTF-8 for GError.
2733 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2734 as per xdg base dir spec.
2736 2007-11-21 Christian Persch <chpe@gnome.org>
2738 * gio/gdesktopappinfo.c:
2739 Use that g_key_file_to_data cannot fail.
2741 Use stock defines for the key file group and key names.
2744 2007-11-21 Alexander Larsson <alexl@redhat.com>
2747 (copy_stream_with_progress):
2748 Make sure we do a final progress callback with
2749 the full total size.
2751 2007-11-21 Alexander Larsson <alexl@redhat.com>
2754 Export g_file_copy_attributes
2755 Remove padding as its not needed for interfaces
2757 2007-11-20 Alexander Larsson <alexl@redhat.com>
2762 Add G_IO_ERROR_WOULD_MERGE for
2763 copy/move dir on dir with overwrite.
2765 2007-11-20 Alexander Larsson <alexl@redhat.com>
2768 * gio/glocalfileinfo.c:
2769 Add COPY_NAME (this is an optional
2770 non-modified utf8 version of the name) that
2773 2007-11-20 Alexander Larsson <alexl@redhat.com>
2775 * gio/glocalfileenumerator.c:
2776 Report errors as GIOError, not GFileError
2778 2007-11-16 Alexander Larsson <alexl@redhat.com>
2780 * gio/glocalfileoutputstream.c:
2781 * gio/gwin32appinfo.c:
2782 Fix typos in strings.
2783 Patch from Luca Ferretti <elle.uca@libero.it>
2785 2007-11-15 Alexander Larsson <alexl@redhat.com>
2788 Post release version bump
2790 === gio-standalone 0.1.2 ===
2792 2007-11-15 Alexander Larsson <alexl@redhat.com>
2794 * docs/reference/gio/Makefile.am:
2795 Fix up distcheck by removing weird
2801 2007-11-14 Alexander Larsson <alexl@redhat.com>
2803 * gio/gdesktopappinfo.c:
2804 * gio/glocaldirectorymonitor.c:
2806 * gio/glocalfileinfo.c:
2807 * gio/inotify/inotify-sub.c:
2808 * programs/gio-cat.c:
2809 * programs/gio-copy.c:
2810 * programs/gio-info.c:
2811 * programs/gio-ls.c:
2812 * programs/gio-monitor-dir.c:
2813 * programs/gio-monitor-file.c:
2814 * programs/gio-mount.c:
2815 * programs/gio-move.c:
2816 * programs/gio-rm.c:
2817 * programs/gio-save.c:
2818 * programs/gio-trash.c:
2819 Leak fixes from Kjartan Maraas
2821 2007-11-14 Alexander Larsson <alexl@redhat.com>
2823 * gio/fam/fam-helper.c:
2825 * gio/glocalfileinfo.c:
2829 * gio/inotify/inotify-diag.c:
2830 * gio/inotify/inotify-kernel.c:
2831 Various code cleanups from Kjartan Maraas
2833 2007-11-14 Alexander Larsson <alexl@redhat.com>
2835 * gio/gioscheduler.c:
2837 Set up threadpool so that we cache 2 unused
2838 idle threads for at 15 secs. This means we
2839 will reuse thread-local data (like dbus connections)
2842 2007-11-14 Alexander Larsson <alexl@redhat.com>
2844 * gio/fam/fam-helper.c:
2845 * gio/fam/gfamdirectorymonitor.c:
2846 * gio/fam/gfamfilemonitor.c:
2848 * gio/gcontenttype.c:
2849 * gio/gdatainputstream.c:
2850 * gio/gdataoutputstream.c:
2854 * gio/gfileattribute.h:
2855 * gio/gfileenumerator.c:
2857 * gio/ginputstream.c:
2860 * gio/glocalfileinfo.c:
2861 * gio/goutputstream.c:
2862 * gio/gpollfilemonitor.c:
2863 * gio/gsimpleasyncresult.c:
2864 * gio/gunixmounts.c:
2865 * gio/gunixmounts.h:
2866 * gio/inotify/ginotifydirectorymonitor.c:
2867 * gio/inotify/ginotifyfilemonitor.c:
2868 * gio/inotify/inotify-diag.c:
2869 * gio/inotify/inotify-kernel.c:
2870 * gio/inotify/inotify-path.c:
2872 * gio/test-streams.c:
2873 * programs/gio-info.c:
2874 * programs/gio-monitor-dir.c:
2875 * programs/gio-monitor-file.c:
2876 Various code cleanups from Kjartan Maraas
2878 2007-11-13 Alexander Larsson <alexl@redhat.com>
2881 Handle the uri-scheme calls for dummy files
2883 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2885 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2886 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2887 to avoid clash with the C++ keyword.
2889 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2891 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2892 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2894 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2896 * gio/glocaldirectorymonitor.c:
2897 * gio/glocalfilemonitor.c:
2898 * gio/gunionvolumemonitor.c:
2899 Don't use g_once_init_*() for initializations that could fail and
2900 could leave the initialization variable set to 0 but use GOnce.
2901 This prevents a deadlock on the second call when trying to create
2902 a monitor and no monitor type is available. Thanks to Sven Herzberg
2905 2007-11-11 Sven Herzberg <sven@imendio.com>
2907 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2908 #ifdef (make it work on MacOS X again)
2910 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2912 Fixes Changelog for last two commits (sorry guys).
2914 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2916 * gio/gbufferedinputstream.c:
2917 * gio/gdatainputstream.c:
2919 * gio/gfileoutputstream.c:
2920 * gio/gfilterinputstream.c:
2921 * gio/glocalfileinputstream.c:
2924 More consistency fixes in g*stream.c files.
2925 Significant clean of gfile's documentation, filling in of
2926 asynchronous operations documentation.
2928 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2930 * gio/gasyncresult.c:
2931 * gio/gbufferedinputstream.c:
2932 * gio/gbufferedoutputstream.c:
2933 * gio/gcancellable.c:
2934 * gio/gcontenttype.c:
2935 * gio/gdatainputstream.c:
2936 * gio/gdataoutputstream.c:
2937 * gio/gdesktopappinfo.c:
2940 * gio/gfileattribute.c:
2941 * gio/gio/gfileenumerator.c:
2943 * gio/gfileinputstream.c:
2944 * gio/gfilemonitor.c:
2945 * gio/gfileoutputstream.c:
2946 * gio/ginputstream.c:
2948 * gio/gioscheduler.c:
2949 * gio/gloadableicon.c:
2950 * gio/glocalfileoutputstream.c:
2951 * gio/gmemoryoutputstream.c:
2952 * gio/gmountoperation.c:
2953 * gio/goutputstream.c:
2955 * gio/gsimpleasyncresult.c:
2956 * gio/gunionvolumemonitor.c:
2957 * gio/gunixmounts.c:
2958 * gio/gunixvolume.c:
2962 * gio/gvolumemonitor.c:
2963 Updated documentation stubs, working towards consistency and
2966 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2968 * gio/gmemoryoutputstream.c:
2969 * gio/gmemoryoutputstream.h:
2970 Change g_memory_output_stream_set_free_on_close() to
2971 g_memory_output_stream_set_free_data() as this makes more sense and
2972 is more consistent with GMemoryInputStream.
2974 2007-11-07 Alexander Larsson <alexl@redhat.com>
2981 Change how we find the default vfs so that
2982 we can handle a gvfs failing to init
2984 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2986 * gio/gbufferedoutputstream.c:
2987 * gio/gdatainputstream.c:
2988 * gio/gdataoutputstream.c:
2989 * gio/gfileinputstream.c:
2990 * gio/gfileoutputstream.c:
2991 * gio/gfilterinputstream.c:
2992 * gio/gfilteroutputstream.c:
2993 * gio/ginputstream.c:
2994 * gio/gmemoryinputstream.c:
2995 * gio/gmemoryoutputstream.c:
2996 * gio/goutputstream.c:
2997 * gio/gsimpleasyncresult.c:
2998 * gio/gsocketinputstream.c:
2999 * gio/gsocketoutputstream.c:
3000 Add guards to the remaining public functions, add a TODO for
3001 an unimplemented function and remove some useless guards.
3003 2007-11-07 Alexander Larsson <alexl@redhat.com>
3006 Autoconf checks for the various types of
3007 getpwuid_r and getgrgid_r
3009 * gio/glocalfileinfo.c:
3010 Use the autoconf checks from above
3012 2007-11-07 Alexander Larsson <alexl@redhat.com>
3015 (g_local_file_query_filesystem_info):
3016 Some fixes for the statvfs case
3018 2007-11-07 Alexander Larsson <alexl@redhat.com>
3021 (g_local_file_query_filesystem_info):
3022 Pick the "best" of statfs / statvfs for the system
3023 if both are availible.
3025 2007-11-07 Alexander Larsson <alexl@redhat.com>
3027 Solaris fixes from Halton.Huo@Sun.COM:
3034 * gio/glocalfileinfo.c:
3035 Fix for solaris definition of getpwuid_r
3037 * gio/test-streams.c:
3038 Use G_GNUC_PRETTY_FUNCTION
3040 2007-11-07 Alexander Larsson <alexl@redhat.com>
3042 * gio/gdesktopappinfo.c:
3043 (update_default_list):
3044 Remove double semicolon.
3045 Patch from Jens Granseuer
3047 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3049 * docs/reference/gio/gio-sections.txt:
3050 * gio/gbufferedinputstream.c:
3051 * gio/gbufferedinputstream.h:
3052 * gio/gdatainputstream.c:
3053 * gio/gfileenumerator.c:
3054 * gio/gioscheduler.c:
3055 * gio/gunionvolumemonitor.c:
3057 * programs/gio-save.c:
3058 Fix typo: availible -> available. Unfortuntely this breaks API
3059 and ABI as g_buffered_input_stream_get_available() was renamed.
3061 * gio/gunixmounts.c:
3062 * gio/gbufferedinputstream.c:
3063 Add guards for public functions.
3065 2007-11-06 Ross Burton <ross@openedhand.com>
3067 * docs/reference/gio/Makefile.am:
3068 Fix invalid += usage which automake 1.10 doesn't like.
3070 2007-11-06 Alexander Larsson <alexl@redhat.com>
3073 (g_app_launch_context_class_init):
3076 Patch from Ross Burton
3078 2007-11-06 Alexander Larsson <alexl@redhat.com>
3081 Post release version bump
3083 === gio-standalone 0.1.1 ===
3085 2007-11-06 Alexander Larsson <alexl@redhat.com>
3088 Bump version to 0.1.1
3090 * gio/gsimpleasyncresult.c:
3091 (g_simple_async_result_set_from_error):
3092 Remove bogus g_return_if_fail
3094 2007-11-06 Alexander Larsson <alexl@redhat.com>
3097 The name is gio-standalone
3100 Add top src/builddir to includedir
3102 2007-11-06 Alexander Larsson <alexl@redhat.com>
3104 * docs/reference/gio/gio-sections.txt:
3106 * gio/gbufferedinputstream.c:
3107 * gio/gbufferedoutputstream.c:
3108 * gio/gcancellable.c:
3109 * gio/gdatainputstream.h:
3110 * gio/gdataoutputstream.c:
3111 * gio/gdataoutputstream.h:
3112 * gio/gdirectorymonitor.c:
3114 * gio/gfileattribute.c:
3115 * gio/gfileattribute.h:
3116 * gio/gfileenumerator.c:
3117 * gio/gfileenumerator.h:
3120 * gio/gfileinputstream.h:
3121 * gio/gfilemonitor.c:
3122 * gio/gfileoutputstream.h:
3123 * gio/glocalfilemonitor.h:
3124 * gio/glocalfileoutputstream.h:
3125 * gio/gmemoryinputstream.c:
3126 * gio/gmemoryoutputstream.c:
3127 * gio/gmountoperation.c:
3128 * gio/goutputstream.c:
3129 * gio/goutputstream.h:
3131 * gio/gsimpleasyncresult.c:
3132 * gio/gunixmounts.c:
3133 * gio/gunixmounts.h:
3135 * gio/inotify/inotify-helper.c:
3136 Fix gtk-doc warnings
3138 Patch from Ross Burton
3140 2007-11-06 Alexander Larsson <alexl@redhat.com>
3142 * gio/gfilenamecompleter.c:
3143 (g_filename_completer_get_completions):
3146 * gio/gunixvolume.c:
3147 Remove unused function
3149 Patches from Ross Burton
3151 2007-11-06 Alexander Larsson <alexl@redhat.com>
3156 Padding not needed for interfaces
3158 2007-11-06 Alexander Larsson <alexl@redhat.com>
3160 * gio/gfilemonitor.c:
3164 Make giotypes.h an internal file
3167 * gio/gbufferedinputstream.h:
3168 * gio/gbufferedoutputstream.h:
3169 * gio/gcancellable.h:
3170 * gio/gdatainputstream.h:
3171 * gio/gdataoutputstream.h:
3172 * gio/gdirectorymonitor.c:
3173 * gio/gdirectorymonitor.h:
3178 * gio/gfileattribute.h:
3179 * gio/gfileenumerator.h:
3184 * gio/gfilemonitor.c:
3185 * gio/gfilemonitor.h:
3186 * gio/gfilenamecompleter.c:
3187 * gio/gfilenamecompleter.h:
3188 * gio/gfilterinputstream.h:
3189 * gio/gfilteroutputstream.h:
3190 * gio/ginputstream.h:
3191 * gio/gmemoryinputstream.h:
3192 * gio/gmemoryoutputstream.h:
3193 * gio/gmountoperation.c:
3194 * gio/gmountoperation.h:
3195 * gio/gnativevolumemonitor.c:
3196 * gio/goutputstream.h:
3199 * gio/gsimpleasyncresult.c:
3200 * gio/gsimpleasyncresult.h:
3201 * gio/gsocketinputstream.h:
3202 * gio/gsocketoutputstream.h:
3203 * gio/gthemedicon.c:
3204 * gio/gthemedicon.h:
3208 * gio/gvolumemonitor.c:
3209 * gio/gvolumemonitor.h:
3210 Add padding in classes where it seems useful
3211 Don't include giotypes.h from public headers
3212 Move in Class definitions into c file where possible
3217 2007-11-06 Alexander Larsson <alexl@redhat.com>
3219 * docs/reference/gio/gio-docs.xml:
3220 Better structure for API docs
3222 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3225 * gio/gloadableicon.c:
3226 * gio/gsimpleasyncresult.c:
3227 * gio/gthemedicon.c:
3228 Add some more guards to public functions. Only files missing are now
3231 2007-11-06 Alexander Larsson <alexl@redhat.com>
3233 * docs/reference/gio/gio-docs.xml:
3234 Remove old files, add missing ones
3236 2007-11-06 Alexander Larsson <alexl@redhat.com>
3238 * docs/reference/gio/gio-sections.txt:
3241 Hide implementation classes
3243 * gio/gdriveprivate.h:
3244 * gio/gvolumeprivate.h:
3245 Remove non-existing function declarations
3247 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3250 Fix compilation warnings and add guards to the new functions.
3252 * gio/gasyncresult.c:
3254 Add guards to the public functions.
3257 Implement get_path().
3259 2007-11-06 Alexander Larsson <alexl@redhat.com>
3261 * gio/gfilenamecompleter.c:
3262 Make g_filename_completer_get_completions
3263 return char ** instead of GList for
3266 * docs/reference/gio/gio-docs.xml:
3267 * docs/reference/gio/gio-sections.txt:
3269 * gio/gasyncresult.c:
3270 * gio/gbufferedinputstream.c:
3271 * gio/gbufferedoutputstream.c:
3272 * gio/gcancellable.c:
3273 * gio/gcontenttype.c:
3274 * gio/gdatainputstream.c:
3275 * gio/gdataoutputstream.c:
3276 * gio/gdesktopappinfo.c:
3277 * gio/gdirectorymonitor.c:
3281 * gio/gfileattribute.c:
3282 * gio/gfileenumerator.c:
3285 * gio/gfileinputstream.c:
3286 * gio/gfilemonitor.c:
3287 * gio/gfilenamecompleter.c:
3288 * gio/gfilenamecompleter.h:
3289 * gio/gfileoutputstream.c:
3290 * gio/gfilterinputstream.c:
3292 * gio/ginputstream.c:
3294 * gio/gioscheduler.c:
3295 * gio/gloadableicon.c:
3296 * gio/glocaldirectorymonitor.c:
3298 * gio/glocalfileinputstream.c:
3299 * gio/glocalfilemonitor.c:
3300 * gio/glocalfileoutputstream.c:
3302 * gio/gmemoryinputstream.c:
3303 * gio/gmemoryoutputstream.c:
3304 * gio/gmountoperation.c:
3305 * gio/goutputstream.c:
3306 * gio/gpollfilemonitor.c:
3308 * gio/gsimpleasyncresult.c:
3309 * gio/gsocketinputstream.c:
3310 * gio/gsocketoutputstream.c:
3311 * gio/gthemedicon.c:
3312 * gio/gunionvolumemonitor.c:
3314 * gio/gunixmounts.c:
3315 * gio/gunixvolume.c:
3316 * gio/gunixvolumemonitor.c:
3320 * gio/gvolumemonitor.c:
3321 * gio/gwin32appinfo.c:
3322 Add (mostly stub) doc strings to public functions.
3323 Patch from Andrew Walton (awalton@gmail.com)
3325 2007-11-06 Alexander Larsson <alexl@redhat.com>
3327 * gio/gappinfo.[ch]:
3328 Added GAppLaunchContext object and pass that to launch.
3329 This allows simple implementation of both
3330 launch-on-screen and startup notification via a gtk+
3331 subclass of GAppLaunchContext
3333 * gio/gdesktopappinfo.c:
3334 Implement GAppLaunchContext API
3336 * gio/gwin32appinfo.c:
3339 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3341 * gio/gmountoperation.c:
3342 Add some guards to GMountOperation's public functions.
3344 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3348 * gio/gcancellable.c:
3349 * gio/gdirectorymonitor.c:
3351 * gio/gfileenumerator.c:
3352 * gio/gfilemonitor.c:,
3353 * gio/gfilenamecompleter.c:
3356 * gio/gioscheduler.c:
3360 * gio/gvolumemonitor.c:
3361 Add even more guards to various public functions.
3363 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3366 Add guards to the public functions of GAppInfo.
3368 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3370 * gio/gcontenttype.c:
3371 Add some more guards for public functions.
3373 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3375 * gio/fam/fam-module.c:
3376 * gio/fam/gfamdirectorymonitor.c:
3377 * gio/fam/gfamdirectorymonitor.h:
3378 * gio/fam/gfamfilemonitor.c:
3379 * gio/fam/gfamfilemonitor.h:
3380 * gio/inotify/ginotifydirectorymonitor.c:
3381 * gio/inotify/ginotifydirectorymonitor.h:
3382 * gio/inotify/ginotifyfilemonitor.c:
3383 * gio/inotify/ginotifyfilemonitor.h:
3384 Add proper copyright information and remove an unused variable
3385 in the GInotifyFileMonitor constructor.
3387 * gio/gcancellable.c:
3388 Add a guard for a public function and an assertion to prevent
3389 an undefined program state.
3391 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3393 * gio/gfileattribute.c:
3394 Don't run into an assertion if the given attribute value is NULL
3395 in g_file_attribute_value_get_*() but instead return a fallback
3396 value that makes sense in most situations. Passing them a attribute
3397 value with the wrong type will still run into an assertion.
3399 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3401 * gio/gfileattribute.c:
3403 Add even more guards to the public functions. Also fix the refcounting
3404 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3405 let g_file_info_list_attributes() filter the attributes by namespace
3406 instead of simply ignoring the namespace parameter.
3408 2007-11-03 Sven Herzberg <sven@imendio.com>
3410 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3411 (This makes gio work on MacOS X again)
3413 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3416 Build the gio subdirectory before the docs. Otherwise the build will
3419 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3420 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3421 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3422 Add guards to the public functions.
3424 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3426 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3427 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3428 to prevent a compiler warning.
3430 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3431 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3432 return something in the non-void function find_topdir_for().
3434 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3441 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3443 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3444 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3445 * gwin32appinfo.c (g_win32_app_info_launch):
3446 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3447 envp_for_startup_id, g_desktop_app_info_launch,
3448 g_desktop_app_info_launch_uris):
3450 Give an opaque 'startup_id' string instead of 'envp'.
3451 Support empty file lists for launching new windows.
3452 Fix infinite recursion bug when launching URIs.
3454 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3457 Add guard to the new g_file_get_uri_scheme() function.
3459 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3462 Convert a g_return_val_if_fail() to setting the GError instead as
3463 otherwise applications have to verify the parameter before otherwise
3464 and the parameter might come directly from the user.
3466 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3468 * gio/inotify/ginotify*.[ch]:
3469 Add missing copyright information.
3471 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3474 Add guards in the beginning of public functions to check for valid
3475 parameters and fix a bug in copy_stream_with_progress() that could've
3476 caused writing less bytes than reading.
3477 * gio/glocalfileinfo.c:
3478 Check for a NULL parameter and set the GError accordingly then.
3479 * gio/goutputstream.c:
3480 Fix the same bug as in gfile.c that could've caused writing less bytes
3481 than reading in g_output_stream_real_splice().
3483 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3486 Use the correct gvolumeprivate.h naming
3488 2007-11-01 Christian Kellner <gicmo@gnome.org>
3491 Remove leftover "$(daemon_sources)" entry.
3493 2007-11-01 Christian Kellner <gicmo@gnome.org>
3498 Add copyright information to source files.
3500 2007-11-01 Alexander Larsson <alexl@redhat.com>
3504 Add g_file_get_uri_scheme
3506 2007-11-01 Alexander Larsson <alexl@redhat.com>
3509 * gio/gdesktopappinfo.c:
3510 * gio/gwin32appinfo.c:
3511 Add g_app_info_get_default_for_uri_scheme.
3513 2007-11-01 Alexander Larsson <alexl@redhat.com>
3516 Correct filename for gdriveprivate.h
3518 2007-10-31 Alexander Larsson <alexl@redhat.com>
3521 Rename id:value to id:file
3524 * gio/glocalfileinfo.c:
3527 2007-10-31 Alexander Larsson <alexl@redhat.com>
3529 * gio/gunixvolume.c:
3531 Remove g_volume_get_platform_id, as thats not
3532 needed with the simpler union volume monitor
3534 2007-10-31 Alexander Larsson <alexl@redhat.com>
3537 * gio/guniondrive.[ch]: Removed.
3538 * gio/gunionvolume.[ch]: Removed.
3539 Remove GUnionDrive/Volume
3541 * gio/gunionvolumemonitor.c:
3542 Simplify union volume monitor, now we
3543 only have one native volume monitor and
3544 we use the actual volumes/drives from the
3545 child monitors instead of wrapping them
3547 * gio/gnativevolumemonitor.[ch]:
3548 Base class for native volume monitors.
3549 Includes priority and get_volume_for_mountpoint
3552 Add g_file_find_enclosing_volume
3555 Remove volume name fs attribute
3556 Add readonly fs attribute
3559 Implement readonly attribute
3560 remove volume name attribute
3561 Implement find_enclosing volume
3563 * gio/gunixmounts.c:
3564 Add a volume for "/".
3566 * gio/gunixvolume.[ch]:
3567 Set better name for /
3569 * gio/gunixvolumemonitor.[ch]:
3570 Derive from GNativeVolumeMonitor
3571 Implement get_volume_for_mountpoint
3574 GVolume typedef moved to gfile.h
3576 * gio/gvolumeprivate.h:
3577 Add g_volume_get_for_mount_path
3579 2007-10-31 Alexander Larsson <alexl@redhat.com>
3581 * gio/gunixmounts.[ch]:
3582 Add cache info to unix mount listers
3583 Make getmntent use threadsafe
3584 Add is_system_internal attribute for GUnixMount
3586 * gio/gunixvolume.c:
3587 (g_unix_volume_new):
3588 Use is_system_internal instead of own code
3590 * gio/glocaldirectorymonitor.c:
3591 * gio/gunixvolumemonitor.c:
3592 Update to new gunixmounts API
3597 2007-10-30 Alexander Larsson <alexl@redhat.com>
3600 Add volume name fsinfo attribute
3603 Read volume name info
3605 * gio/gunionvolumemonitor.c:
3606 Fix infinite loops when finalizing a union volume monitor
3608 2007-10-30 Alexander Larsson <alexl@redhat.com>
3610 * gio/goutputstream.[ch]:
3611 Add splice() with default implementation
3613 * gio/gsocketoutputstream.c:
3614 (g_socket_output_stream_write):
3615 Return error on cancellation correctly.
3617 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3619 * gio/glocalfile.c (g_local_file_trash):
3620 Do not leak a string.
3622 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3624 * gio/gfile.c (g_file_load_contents):
3625 Unref the stream after closing it.
3627 2007-10-25 Alexander Larsson <alexl@redhat.com>
3629 * gio/gioscheduler.h:
3632 2007-10-25 Alexander Larsson <alexl@redhat.com>
3636 Add g_file_has_uri_scheme and implement for local files
3638 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3640 * gio/gdesktopappinfo.c: do not leak a string.
3642 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3644 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3645 (g_local_directory_monitor_new):
3646 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3647 (g_local_file_monitor_new):
3648 Only look for the monitor type that should be used the first time
3649 and use g_qsort_with_data() instead of our own bubble sort
3652 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3655 * gio/fam/Makefile.am:
3656 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3657 * gio/fam/fam-helper.h:
3658 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3659 * gio/fam/gfamdirectorymonitor.c:
3660 * gio/fam/gfamdirectorymonitor.h:
3661 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3662 * gio/fam/gfamfilemonitor.h:
3663 * gio/glocaldirectorymonitor.c:
3664 * gio/glocaldirectorymonitor.h:
3665 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3666 * gio/glocalfilemonitor.h:
3667 * gio/inotify/Makefile.am:
3668 * gio/inotify/ginotifydirectorymonitor.c:
3669 * gio/inotify/ginotifydirectorymonitor.h:
3670 * gio/inotify/ginotifyfilemonitor.c:
3671 * gio/inotify/ginotifyfilemonitor.h:
3672 Implement the FAM and Inotify monitors as
3673 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3674 their own GIO module. GLocal(Directory|File)Monitor will use the
3675 monitor with the highest rank that is supported on that machine.
3677 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3680 Change GIO module dir to $(libdir)/gio/modules and change
3681 the log domain from GVFS to GIO. Also only export symbols starting
3682 with g_ in the resulting library.
3683 * gio/test-streams.c: (main):
3684 Set log handler for the GIO log domain.
3686 2007-10-22 Alexander Larsson <alexl@redhat.com>
3688 * gio/gfilenamecompleter.[ch]:
3689 Add g_filename_completer_set_dirs_only
3691 2007-10-22 Alexander Larsson <alexl@redhat.com>
3694 * gio/gurifuncs.[ch]:
3695 Add some simple URI helpers
3697 * gio/gfilenamecompleter.[ch]:
3698 Added object for filename (parse name actually) completion
3701 Handle ~ in parse names
3703 2007-10-17 Alexander Larsson <alexl@redhat.com>
3706 * gio/glocalfileinfo.c:
3707 Add and implement id:value attribute
3709 2007-10-17 Alexander Larsson <alexl@redhat.com>
3712 * gio/guniondrive.c:
3714 Add and implement g_drive_has_volumes
3716 2007-10-17 Alexander Larsson <alexl@redhat.com>
3719 * gio/glocalfileinfo.[ch]:
3720 Add unix:is_mountpoint and implement for local files
3722 2007-10-16 Alexander Larsson <alexl@redhat.com>
3724 * gio/gunionvolumemonitor.c:
3725 (g_union_volume_monitor_init):
3726 Fix up the unix type getting so that it works with gcc
3728 2007-10-12 Alexander Larsson <alexl@redhat.com>
3731 * gio/glocalfileinfo.c:
3732 Add thumbnail:failed to file info
3734 2007-10-12 Richard Hult <richard@imendio.com>
3736 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3737 optimizing away the get_type call (happens with some gcc versions,
3738 like the one shipped with OS X 10.4).
3740 2007-10-12 Alexander Larsson <alexl@redhat.com>
3742 * gio/glocalfileinfo.c:
3743 (_g_local_file_info_set_attribute):
3744 Fix build if not HAVE_XATTR
3745 Patch from Milosz Derezynski <internalerror@gmail.com>
3747 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3749 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3750 around for review, otherwise I would have asked you before
3753 2007-10-11 Alexander Larsson <alexl@redhat.com>
3756 Add thumbnail:path attribute
3758 * gio/glocalfileinfo.c:
3759 Implement thumbnail:path for local files
3761 2007-10-11 Alexander Larsson <alexl@redhat.com>
3763 * gio/glocalfileinfo.c:
3764 (_g_local_file_info_get):
3765 Avoid duplicate icon names
3767 2007-10-11 Alexander Larsson <alexl@redhat.com>
3769 * gio/gthemedicon.[ch]:
3770 Change g_themed_icon_get_names return type to const
3772 2007-10-10 Alexander Larsson <alexl@redhat.com>
3774 * gio/glocalfileinfo.c:
3775 Don't reference freed memory
3777 2007-10-10 Alexander Larsson <alexl@redhat.com>
3779 * gio/gfileattribute.c:
3782 * gio/glocalfileinfo.c:
3785 2007-10-10 Alexander Larsson <alexl@redhat.com>
3788 Check for NULL icons
3790 * gio/gfileattribute.c:
3791 Don't dup when getting objects (same as for string attributes)
3793 * gio/gicon.c (g_icon_equal):
3794 Safely handle NULLs in equal
3796 2007-10-10 Alexander Larsson <alexl@redhat.com>
3799 Fix c++ compilation issues
3800 Patch from Milosz Derezynski <internalerror@gmail.com>
3802 2007-10-10 Alexander Larsson <alexl@redhat.com>
3804 * programs/gio-monitor-dir.c:
3805 Don't crash if dir monitor not supported.
3807 2007-10-09 Alexander Larsson <alexl@redhat.com>
3810 Add missing G_END_DECLS
3812 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3814 * gio/gfile.c: (g_file_set_display_name),
3815 (g_file_query_settable_attributes),
3816 (g_file_query_writable_namespaces):
3817 Return NULL not FALSE on errors as the return type is a pointer.
3819 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3821 * gio/glocalfile.c: (g_local_file_monitor_file):
3822 Don't call monitor_file on the default interface vtable (which
3823 is NULL) but simply return NULL. The caller, GFile, will create a
3824 polling monitor if NULL is returned.
3826 2007-10-09 Alexander Larsson <alexl@redhat.com>
3830 * gio-unix-2.0.pc.in:
3831 Add gio-unix-2.0.pc if OS_UNIX
3834 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3836 2007-10-09 Alexander Larsson <alexl@redhat.com>
3838 * gio/gunixmounts.[ch]:
3839 Make unix mount monitoring API sane.
3840 Now its just a object with mounts_changed
3841 and mountpoints_changed signals.
3843 * gio/glocaldirectorymonitor.c:
3844 * gio/gunixvolumemonitor.c:
3845 Use new mount monitor api
3847 2007-10-09 Alexander Larsson <alexl@redhat.com>
3849 * gio/gunixmounts.[ch]:
3850 Move guess type into one call for mounts and one for mountpoints
3853 * gio/gunixvolume.c:
3856 2007-10-09 Alexander Larsson <alexl@redhat.com>
3858 * gio/gunixmounts.[ch]:
3859 Remove _ prefix in preparation to make this semi-public
3860 Hide implementation of structs
3862 * gio/glocaldirectorymonitor.c:
3864 * gio/gunixvolume.c:
3865 * gio/gunixvolumemonitor.c:
3866 Update for above API changes
3868 2007-10-08 Alexander Larsson <alexl@redhat.com>
3871 Better polling fallback. This also handles the case where we have
3872 a monitor_file implementation, but it fails.
3874 2007-10-08 Alexander Larsson <alexl@redhat.com>
3878 * gio/gunixmounts.c:
3879 * programs/gio-monitor-dir.c:
3880 * programs/gio-monitor-file.c:
3881 Added cancellable to file monitoring calls.
3882 These are really sync calls and need this.
3884 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3886 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3887 (g_local_vfs_class_init):
3888 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3889 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3891 2007-10-05 Alexander Larsson <alexl@redhat.com>
3893 * gio/gdirectorymonitorprivate.h:
3894 * gio/gfilemonitorprivate.h:
3895 * gio/gdirectorymonitor.h:
3896 * gio/gfilemonitor.h:
3897 Remove *private.h and move to the public API, so that
3898 we can do implementations outside gio (such as in gvfs)
3900 * gio/gdirectorymonitor.c:
3901 * gio/gfilemonitor.c:
3902 * gio/glocaldirectorymonitor.c:
3903 * gio/gpollfilemonitor.c:
3904 * gio/inotify/inotify-helper.c:
3905 * gio/fam/fam-helper.c:
3906 Update to the new header names
3908 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3910 * gio/gdirectorymonitor.c:
3911 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3914 2007-10-04 Alexander Larsson <alexl@redhat.com>
3916 * gio/glocalfileinfo.c (get_access_rights):
3917 Set CAN_TRASH when we can move the file.
3918 We should really also check for a parent trash dir.
3920 2007-10-04 Alexander Larsson <alexl@redhat.com>
3922 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3923 Add can_trash access attribute
3925 2007-10-04 Alexander Larsson <alexl@redhat.com>
3928 (g_local_file_trash):
3929 Create info file first. This is per-spec and allows
3930 us to actually trash directories.
3932 2007-10-02 Alexander Larsson <alexl@redhat.com>
3934 * gio/gdesktopappinfo.c:
3935 Implement the new mime support code.
3936 Always set app as handling mimetype when being set as default for it
3938 2007-10-01 Alexander Larsson <alexl@redhat.com>
3940 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3941 Fix up check for xattrs:
3943 2007-10-01 Alexander Larsson <alexl@redhat.com>
3946 (g_app_info_set_as_default_for_extension):
3947 (g_app_info_add_supports_type):
3948 (g_app_info_can_remove_supports_type):
3949 (g_app_info_remove_supports_type):
3950 Make these fail nicely if not implemented
3952 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3954 * gio/glocalfileoutputstream.c:
3955 * gio/glocalfileoutputstream.h:
3960 * programs/gio-save.c:
3961 Add a GFileCreateFlags argument to operations that can create
3964 2007-10-01 Alexander Larsson <alexl@redhat.com>
3966 * gio/gappinfo.[ch]:
3967 * gio/gdesktopappinfo.c:
3968 Add more (stubbed out) mime API needed for nautilus
3970 2007-10-01 Alexander Larsson <alexl@redhat.com>
3973 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3974 Add g_app_info_set_as_default_for_extension.
3976 * gio/gdesktopappinfo.c:
3977 Dummy for g_app_info_set_as_default_for_extension
3978 Support flags in g_app_info_create_from_commandline
3980 * gio/gwin32appinfo.c:
3982 Update for API changes
3984 * gio/gthemedicon.c:
3985 Properly NULL-terminate list of icon names
3987 2007-09-28 Alexander Larsson <alexl@redhat.com>
3989 * gio/gloadableicon.h:
3990 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3992 2007-09-28 Alexander Larsson <alexl@redhat.com>
3995 Install headers in $includedir/gio-standalone/
3997 * gio-2.0.pc.in: Added.
3998 * gio-standalone.pc.in: Removed.
4001 Renamed pkg-config file to match glib (for future move)
4002 Update to the new include dir
4005 Add more TODO comments
4007 2007-09-28 Alexander Larsson <alexl@redhat.com>
4009 * gio/gdesktopappinfo.[ch]:
4010 Expose new_from_filename
4011 Add getter for is_hidden and handle it better
4013 2007-09-28 Alexander Larsson <alexl@redhat.com>
4015 * gio/gfileinfo.[ch]:
4016 Rename g_file_size_format_for_display to
4017 g_format_file_size_for_display.
4018 Now it doesn't have the g_file prefix, so we
4019 can later move it to glib.
4021 2007-09-28 Alexander Larsson <alexl@redhat.com>
4023 * gio/gappinfo.[ch]:
4024 Add g_app_info_get_id and g_app_info_get_executable.
4025 Make all getters non-reffing
4026 Make g_app_info_launch take GFile arguments.
4027 Add must_support_uris argument to g_app_info_get_default_for_type.
4029 * gio/gwin32appinfo.c:
4030 Update to GAppInfo api changes
4032 * gio/gdesktopappinfo.c:
4033 Update to GAppInfo api changes
4034 Implement supports_xdg_startup_notify
4036 * gio/gfileicon.c (g_file_icon_get_file):
4037 Make getter non-reffing.
4042 2007-09-27 Alexander Larsson <alexl@redhat.com>
4044 * gio/gfileinfo.[ch]:
4045 Add g_file_size_format_for_display helper
4047 2007-09-27 Alexander Larsson <alexl@redhat.com>
4049 * gio/glocalfileinfo.c:
4050 Set UNIX_GID from gid, not from uid
4052 2007-09-27 Alexander Larsson <alexl@redhat.com>
4055 Add g_file_set_attributes_async
4057 2007-09-27 Alexander Larsson <alexl@redhat.com>
4059 * gio/glocalfile.c (g_local_file_set_display_name):
4060 Fix set_display_name to actually rename to the right place.
4061 Use lstat to look for existing files so we don't overwrite
4064 2007-09-26 Alexander Larsson <alexl@redhat.com>
4067 Add g_file_set_display_name_async()
4069 2007-09-26 Alexander Larsson <alexl@redhat.com>
4072 Add load_partial_contents async calls
4075 Make internal function static
4077 2007-09-26 Alexander Larsson <alexl@redhat.com>
4079 * gio/glocalfileinfo.c:
4080 Correctly detect broken symlinks
4082 2007-09-26 Alexander Larsson <alexl@redhat.com>
4084 * gio/gcancellable.c (g_cancellable_cancel):
4085 Allow cancel on NULL cancellable
4087 2007-09-25 Alexander Larsson <alexl@redhat.com>
4089 * gio/gsimpleasyncresult.c:
4090 Don't allocate g_error manually.
4091 Fixes g_slice/g_new mixup crash
4093 2007-09-25 Alexander Larsson <alexl@redhat.com>
4095 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4096 Actually set active_backend.
4097 This means the monitor will be cancelled correctly.
4099 2007-09-25 Alexander Larsson <alexl@redhat.com>
4101 * gio/gdirectorymonitor.c:
4102 Set timeout to NULL when destroying
4104 2007-09-25 Alexander Larsson <alexl@redhat.com>
4107 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4108 that is a better description of the error.
4110 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4112 * gio/gvfs.c: (g_vfs_get_local):
4113 Make the local vfs variable static. The same instance should
4116 2007-09-24 Alexander Larsson <alexl@redhat.com>
4118 * gio/glocalfileinfo.c:
4119 Pass in actual length read into sniffer, not the length
4122 2007-09-21 Alexander Larsson <alexl@redhat.com>
4124 * gio/gfileenumerator.c:
4127 * gio/gfileinputstream.c:
4128 * gio/gfileoutputstream.c:
4129 * gio/ginputstream.c:
4130 * gio/goutputstream.c:
4131 Don't crash if async callbacks are NULL
4133 2007-09-20 Alexander Larsson <alexl@redhat.com>
4136 Add async enumerate_children method and default
4139 2007-09-20 Alexander Larsson <alexl@redhat.com>
4142 Add g_file_contains_file & g_file_get_relative_path, since they
4143 were needed for nautilus.
4144 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4149 Implement new methods
4151 2007-09-17 Alexander Larsson <alexl@redhat.com>
4154 * gio/gfileinputstream.[ch]:
4155 * gio/gfileoutputstream.[ch]:
4157 * gio/glocalfileenumerator.[ch]:
4158 * gio/glocalfileinfo.[ch]:
4159 * gio/glocalfileinputstream.c:
4160 * gio/glocalfileoutputstream.c:
4161 * gio/gpollfilemonitor.c:
4162 * programs/gio-copy.c:
4163 * programs/gio-info.c:
4164 * programs/gio-move.c:
4165 Rename get_file_info to query_info() to make it clearer
4166 that these are not simple getters, but do i/o.
4168 2007-09-17 Alexander Larsson <alexl@redhat.com>
4170 * gio/gdatainputstream.[ch]:
4171 * gio/test-streams.c:
4172 Use _read_XXX instead of _get_XXX for the i/o calls
4175 2007-09-17 Alexander Larsson <alexl@redhat.com>
4178 Added needed stuff to TODO comment
4180 2007-09-17 Alexander Larsson <alexl@redhat.com>
4182 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4183 Don't error out removing the backup copy if it doesn't
4186 2007-09-14 Alexander Larsson <alexl@redhat.com>
4188 * programs/Makefile.am:
4189 * programs/gvfs-*.c:
4191 Renamed apps from gvfs-xxx to gio-xxx.
4193 2007-09-14 Alexander Larsson <alexl@redhat.com>
4196 * gio/gfileoutputstream.[ch]:
4197 * gio/glocalfileoutputstream.c:
4198 * programs/gvfs-save.c:
4199 g_file_output_stream_get_etag doesn't do i/o, so remove
4200 cancellation and error.
4202 2007-09-14 Alexander Larsson <alexl@redhat.com>
4205 Add new_etag output to replace_contents functions
4207 2007-09-14 Alexander Larsson <alexl@redhat.com>
4209 * gio/gfileoutputstream.[ch]:
4210 Add async get_file_info and default implementation
4212 2007-09-14 Alexander Larsson <alexl@redhat.com>
4214 * gio/gfileinputstream.c:
4215 Implement fallback wrapper for async get_file_info
4217 2007-09-14 Alexander Larsson <alexl@redhat.com>
4220 Add etag out argument to load_contents
4225 2007-09-14 Alexander Larsson <alexl@redhat.com>
4227 * gio/gcontenttype.c (looks_like_text):
4228 Whitespace like tab, cr and lf do not make the
4231 2007-09-14 Alexander Larsson <alexl@redhat.com>
4233 * gio/gfileinputstream.[ch]:
4234 Add async get_file_info.
4236 2007-09-13 Alexander Larsson <alexl@redhat.com>
4238 * gio/goutputstream.c (g_output_stream_write_all):
4239 Allow NULL for bytes_written
4241 2007-09-13 Alexander Larsson <alexl@redhat.com>
4243 * gio/gmemoryinputstream.[ch]:
4244 Add accessors for data
4246 2007-09-13 Alexander Larsson <alexl@redhat.com>
4248 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4249 Don't crash if length is NULL