1 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
3 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
4 Default disable all loggings.
5 * fen/fen-kernel.c: (printevent), (port_add_kevent),
6 (port_fetch_event_cb): Fixed two macro nits.
8 2008-04-16 Matthias Clasen <mclasen@redhat.com>
10 * xdgmime/xdgmime.c: Rework the timestamp checking code
11 to protect against duplicate directories in XDG_DATA_DIRS.
12 Fixes fd.o bug 12513, reported by Joe Shaw.
14 2008-04-16 Matthias Clasen <mclasen@redhat.com>
16 Partically revert the last commit after realizing that
17 xdg_mime_media_type_equal doesn't have to init at all.
20 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
22 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
24 2008-04-16 Matthias Clasen <mclasen@redhat.com>
26 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
27 reported by Joe Shaw and Federico Mena Quintero.
29 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
30 (xdg_mime_media_type_equal): Turn into a wrapper around the
33 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
36 2008-04-16 Michael Meeks <michael.meeks@novell.com>
38 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
39 tolerate an empty TryExec= line without failing; nautilus used
40 to create launchers with these in previous versions. Fixes #528433
42 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
44 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
45 after name. Fixes #527132.
47 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
49 * gfile.c: (g_file_replace):
52 2008-04-07 Matthias Clasen <mclasen@redhat.com>
54 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
56 * gfile.c (file_copy_fallback): Fix the argument order. Patch
59 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
61 * gunixmounts.c: (g_unix_mount_guess_should_display):
62 Don't list the user directory as a mount, fix potential issue
63 when other users have a similar naming and don't special case the
64 gvfs mounts there since that's not required (#525866)
66 2008-03-31 Alexander Larsson <alexl@redhat.com>
68 * glocalfile.c (get_parent):
71 2008-03-31 A. Walton <awalton@svn.gnome.org>
73 * gfile.c (g_file_query_file_type):
74 Always return a GFileType enum value (#520715).
76 2008-03-31 Alexander Larsson <alexl@redhat.com>
78 * glocalfileenumerator.c:
79 Read readdir() info in chunks (of 1000) and sort
80 the chunks by inode before stat:ing.
81 This is a 20% performance increase in testing
82 gvfs-ls on /usr/bin with cold cache.
84 2008-03-31 Alexander Larsson <alexl@redhat.com>
86 * gmemoryoutputstream.c:
87 Clarify docs for g_memory_output_stream_get_size.
88 Add g_memory_output_stream_get_data_size.
90 2008-03-30 Matthias Clasen <mclasen@redhat.com>
94 * gfile.h: Add g_file_query_file_type convenience function
95 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
97 2008-03-30 Matthias Clasen <mclasen@redhat.com>
100 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
102 2008-03-28 A. Walton <awalton@svn.gnome.org>
104 * giomodule.c (_g_io_modules_ensure_loaded):
105 Adds GIO_EXTRA_MODULES environment variable support, closing bug
108 2008-03-28 Alexander Larsson <alexl@redhat.com>
111 (copy_stream_with_progress):
114 2008-03-28 Alexander Larsson <alexl@redhat.com>
117 (copy_stream_with_progress):
118 (file_copy_fallback):
119 Fallback to g_file_query_info for source size
120 if g_file_input_stream_query_info fails. (#524579)
122 2008-03-28 Alexander Larsson <alexl@redhat.com>
124 * glocalfile.c (g_local_file_move):
125 Reuse old string instead of adding new one.
127 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
129 * fen/*.[hc]: still copyright issue. I hate copyright.
131 2008-03-27 Alexander Larsson <alexl@redhat.com>
133 * glocalfile.c (g_local_file_move):
134 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
135 file over directory. This is according to the docs and what the move via
136 copy+remove fallback does.
138 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
140 * fen/*.[hc]: Updated copyright.
142 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
144 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
146 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
148 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
149 not emit attribute changed events when optimizing changed events.
150 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
153 2008-03-19 Matthias Clasen <mclasen@redhat.com>
155 * gmountoperation.[hc]: Small documentation additions
157 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
159 * gunixmounts.c: (guess_mount_type):
160 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
162 2008-03-19 Alexander Larsson <alexl@redhat.com>
165 (copy_stream_with_progress):
166 Bump block side for copy to 64k to minimize
167 overhead for low latency links. (#523015)
169 2008-03-16 Tor Lillqvist <tml@novell.com>
171 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
172 depend on gio.def on Windows.
174 2008-03-12 David Zeuthen <davidz@redhat.com>
178 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
180 2008-03-14 Alexander Larsson <alexl@redhat.com>
184 Avoid redudant tests (#521851)
185 Patch from Josselin Mouette
187 2008-03-14 Alexander Larsson <alexl@redhat.com>
190 (g_file_monitor_is_cancelled):
191 Fix C89 issue (#521672)
192 Patch from Jens Granseuer
194 2008-03-14 Alexander Larsson <alexl@redhat.com>
196 * fam/fam-helper.[ch]:
198 Shut down fam (including removing fam GSource) when
199 module is unloaded (#521513)
200 Patch from Joe Marcus Clarke
202 2008-03-14 Alexander Larsson <alexl@redhat.com>
205 (_g_io_modules_ensure_loaded):
208 2008-03-14 Alexander Larsson <alexl@redhat.com>
211 (g_local_file_query_filesystem_info):
212 Use right define name for f_fstypename member check
214 2008-03-14 Alexander Larsson <alexl@redhat.com>
217 * fen/Makefile.am: Added.
218 * fen/fen-data.[ch]: Added.
219 * fen/fen-dump.[ch]: Added.
220 * fen/fen-helper.[ch]: Added.
221 * fen/fen-kernel.[ch]: Added.
222 * fen/fen-missing.[ch]: Added.
223 * fen/fen-node.[ch]: Added.
224 * fen/fen-sub.[ch]: Added.
225 * fen/gfendirectorymonitor.[ch]: Added.
226 * fen/gfenfilemonitor.[ch]: Added.
228 Added Solaris FEN file notification backend.
229 Patch from Lin Ma <Lin.Ma@Sun.COM>
231 2008-03-13 Tor Lillqvist <tml@novell.com>
233 * Makefile.am: Actually use the gio.def file when linking the
234 library on Windows. Produce .lib library for Microsoft's toolchain
235 when possible. Install the .lib and .def file like for the other
238 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
240 * tests/live-g-file.c:
241 Include live-g-file in standard set of tests, making a temporary
242 directory in source structure.
244 Clean target directory before the tests (write mode only)
246 2008-03-12 Tor Lillqvist <tml@novell.com>
248 Bug 517419 - gio win32 directory monitor
249 Implementation by Vlad Grecescu.
252 * win32/gwin32directorymonitor.h
253 * win32/gwin32directorymonitor.c: New files.
255 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
257 * Makefile.am: Add the win32 subdirectory.
259 2008-03-12 Tor Lillqvist <tml@novell.com>
261 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
262 normal struct stat on Unix but struct _stati64 on Windows to have
263 access to 64-bit file size information. Use that instead of struct
264 stat in the functions declared here in this private header.
266 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
267 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
268 warnings about unused functions and variables. Don't set
269 meaningless attributes like inode numbers on Windows.
271 2008-03-12 Benjamin Otte <otte@gnome.org>
274 trim whitespace so gtk-doc groks the function name
276 2008-03-12 Tor Lillqvist <tml@novell.com>
278 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
279 returning FALSE, on Win32.
281 2008-03-11 Alexander Larsson <alexl@redhat.com>
284 * glocalfileinfo.[ch]:
285 Correctly implement can_trash by actually
286 looking for a trash dir, not just assuming
289 2008-03-10 Matthias Clasen <mclasen@redhat.com>
291 * === Released 2.16.1 ===
293 2008-03-11 Alexander Larsson <alexl@redhat.com>
296 Fix crashes in new constructor and properties code
298 2008-03-10 Murray Cumming <murrayc@murrayc.com>
300 * gfile.c: Minor spelling correction in documentation:
301 existance -> existence.
303 2008-03-10 Matthias Clasen <mclasen@redhat.com>
305 * === Released 2.16.0 ===
307 2008-03-10 Matthias Clasen <mclasen@redhat.com>
309 * gio.symbols: Remove g_file_contains_file here, too.
311 2008-03-10 Matthias Clasen <mclasen@redhat.com>
313 * gthemedicon.c: Add properties to make bindings happy. (#517676,
314 Samuel Cormier-Iijima)
316 2008-03-08 Tor Lillqvist <tml@novell.com>
318 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
321 2008-03-07 Alexander Larsson <alexl@redhat.com>
324 (g_local_file_query_filesystem_info):
325 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
326 Patch from Jasper Lievisse Adriaanse
328 2008-03-06 Tor Lillqvist <tml@novell.com>
330 * gfileinfo.h: Correct milliseconds to microseconds in the doc
331 comments for the *_USEC attributes.
333 2008-03-06 Alexander Larsson <alexl@redhat.com>
335 * gfile.c (g_file_query_exists):
336 Add g_return_val_if_fail check (#520700)
338 2008-03-06 Alexander Larsson <alexl@redhat.com>
343 * gunionvolumemonitor.c:
346 * tests/live-g-file.c:
347 * xdgmime/xdgmimecache.c:
348 Fix sparse warnings (#519489)
350 2008-03-05 Alexander Larsson <alexl@redhat.com>
353 Make cancellation threadsafe (i.e.
354 guarantee its only done once, and always
357 * glocaldirectorymonitor.c:
358 Make sure we the monitor lives while the
359 mounts_changed callback is being called (#520484)
361 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
363 * gbufferedinputstream.c: Fix typo in parameter
366 2008-03-04 Alexander Larsson <alexl@redhat.com>
369 Remove deprecated symbols we kept for one release.
371 2008-03-04 Murray Cumming <murrayc@murrayc.com>
374 * goutputstream.c: Tiny documentation corrections.
376 2008-03-03 Alexander Larsson <alexl@redhat.com>
378 * gunionvolumemonitor.c:
380 Fix the adopt_orphan_mount vfunc to take a
381 volume_monitor reference in an ABI compat way.
382 This change is not API compat, but the added
383 arg is not used in the only user of this vfunc, so
384 all we get is a harmless warning in gvfs (#520169)
386 2008-03-01 Benjamin Otte <otte@gnome.org>
389 clarify docs for g_file_delete().
391 2008-02-29 Alexander Larsson <alexl@redhat.com>
395 Make sure empty files get text/plain type (#518720)
397 2008-02-27 Alexander Larsson <alexl@redhat.com>
403 (g_unix_volume_mount):
404 Add missing GMountMountFlags argument
406 2008-02-26 Alexander Larsson <alexl@redhat.com>
409 (g_local_file_delete):
410 Handle filesystems (like ntfs-3g) that return EEXIST instead
411 of ENOTEMPTY (#518816)
413 2008-02-25 Matthias Clasen <mclasen@redhat.com>
415 * === Released 2.15.6 ===
417 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
419 * gfile.c (g_file_find_enclosing_mount):
420 * ginputstream.c (g_input_stream_set_pending):
421 * glocalfile.c (g_local_file_find_enclosing_mount):
422 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
423 * goutputstream.c (g_output_stream_set_pending):
425 Fixup translator comments (#518578).
427 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
429 * gfile.c (g_file_find_enclosing_mount):
431 * glocalfile.c (g_local_file_find_enclosing_mount):
434 Fix a few typos in translator comments and documentation.
436 2008-02-25 Alexander Larsson <alexl@redhat.com>
443 Add translator comments (#518578)
445 2008-02-25 Alexander Larsson <alexl@redhat.com>
448 Reintroduce g_file_contains_file, keep around for one
449 unstable release cycle to avoid crashing to many apps.
450 Make sure to delete after release.
452 2008-02-25 Alexander Larsson <alexl@redhat.com>
455 Remove deprecated g_file_contains_file.
457 2008-02-25 Alexander Larsson <alexl@redhat.com>
460 Emit actual change signals in an idle handler.
461 This avoids reentrance and locking problems in
462 the file notification backends.
464 2008-02-25 Alexander Larsson <alexl@redhat.com>
467 (g_unix_mount_guess_should_display):
468 Remove type guessing, instead just display
469 mounts in /media and in ~/.
471 2008-02-25 Alexander Larsson <alexl@redhat.com>
474 Make new strings reuse old ones.
476 2008-02-25 Alexander Larsson <alexl@redhat.com>
479 Implement trashing and filesystem::readonly for win32 (#517235)
480 Patch from Yevgen Muntyan
482 2008-02-23 Matthias Clasen <mclasen@redhat.com>
484 * gfileinfo.h: Documentation fixes.
486 2008-02-22 Alexander Larsson <alexl@redhat.com>
488 * gcontenttype.c (g_content_type_get_icon):
489 Look at old-style gnome mime icon names too, as many
490 have not moved to the new style.
492 2008-02-21 Matthias Clasen <mclasen@redhat.com>
494 * *.c: Correct the @include in for section docs.
496 2008-02-21 David Zeuthen <davidz@redhat.com>
498 * glocalfileinfo.c: (_g_local_file_info_get):
500 (g_content_type_get_icon): Implement this function by
501 moving bits from glocalfileinfo.c
502 (g_content_type_get_description): Unalias before getting
503 description (#517687)
505 * gfile.c: (g_file_class_init),
506 (g_file_query_filesystem_info_async),
507 (g_file_query_filesystem_info_finish),
508 (query_filesystem_info_data_free),
509 (query_filesystem_info_async_thread),
510 (g_file_real_query_filesystem_info_async),
511 (g_file_real_query_filesystem_info_finish):
512 * gfile.h: Implement async version of
513 g_file_query_filesystem_info()
515 * gfileinfo.h: Add new attributes for filesystem::use-preview
517 * gio.symbols: Update
519 * gthemedicon.c: (g_themed_icon_append_name):
520 * gthemedicon.h: Add new new convenience function.
522 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
523 (get_mounts), (get_volumes), (get_connected_drives),
524 (get_volume_for_uuid), (get_mount_for_uuid),
525 (g_union_volume_monitor_init), (populate_union_monitor),
526 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
527 (g_volume_monitor_adopt_orphan_mount):
529 * gvolumemonitor.h: Use recursive locks so it's safe for volume
530 monitor implementations to call into the main volume monitor. Also
531 separate object initialization and volume monitor initialization
532 such that non-native volume monitors can properly adopt their
535 2008-02-21 Alexander Larsson <alexl@redhat.com>
540 2008-02-21 Alexander Larsson <alexl@redhat.com>
543 Add more documentation about how GFiles work (from #517086)
545 2008-02-21 Alexander Larsson <alexl@redhat.com>
549 Add new g_file_has_prefix that does the same as g_file_contains_file.
550 Deprecate g_file_contains_file and add a macro that converts
551 it to g_file_has_prefix.
552 The reason for this change is that the contains_file() name seems to
553 imply that this does more work than what it does, but its really only
554 a name match (from #517086)
559 Update to match the above change.
561 2008-02-20 Benjamin Otte <otte@gnome.org>
563 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
564 (g_file_eject_mountable):
565 even more cases of not returning in error path
567 2008-02-20 Benjamin Otte <otte@gnome.org>
569 * gfile.c: (g_file_mount_mountable):
570 return from function in error path.
572 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
575 Remove trailing coma in GMountMountFlags struct
577 2008-02-18 Alexander Larsson <alexl@redhat.com>
581 * glocalfileoutputstream.c:
582 Use g_unlink/g_rename instead of unlink/rename;
583 do not pass raw filenames to g_set_error. (#517239)
584 Patch from Yevgen Muntyan.
586 2008-02-18 Alexander Larsson <alexl@redhat.com>
589 * glocalfileoutputstream.c:
590 Open files with O_BINARY on windows. (#517140)
592 2008-02-14 Alexander Larsson <alexl@redhat.com>
594 * glocalfileoutputstream.c:
595 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
597 2008-02-14 Alexander Larsson <alexl@redhat.com>
600 Copy permissions with file on copy (#514084)
601 This is what cp does and makes sure e.g. the
602 exec permissions are kept.
603 Its kinda weird in that it keeps the permission bits
604 the same while the uid and gid are different. However
605 the new uid is the user so its not a security issue,
606 and I've heard no complaints about cp on this issue.
608 2008-02-13 Ryan Lortie <desrt@desrt.ca>
610 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
612 2008-02-13 Alexander Larsson <alexl@redhat.com>
614 * inotify/inotify-path.c:
615 Define IN_ONLYDIR if not in header (#515346)
617 2008-02-12 Alexander Larsson <alexl@redhat.com>
619 * tests/live-g-file.c:
622 2008-02-11 Matthias Clasen <mclasen@redhat.com>
624 * === Released 2.15.5 ===
626 2008-02-11 Matthias Clasen <mclasen@redhat.com>
628 * gio.symbols: Add g_mount_mount_flags_get_type.
630 2008-02-11 Alexander Larsson <alexl@redhat.com>
633 (g_file_info_set_attribute_mask):
634 (g_file_attribute_matcher_matches_id):
635 Correctly handle NULL GAttributeMatcher meaning
636 matches nothing. (Fixes #513492)
638 2008-02-11 Alexander Larsson <alexl@redhat.com>
643 Added GMountMountFlags enum and added a flags
644 argument to all mount calls.
646 This is an API/ABI change for future extensibility,
647 as I think we will need at least an
648 inhibit-autorun flag (the panel needs this).
649 There are no flags defined yet though.
651 2008-02-11 Alexander Larsson <alexl@redhat.com>
654 Added new standard::description attribute.
655 Requested by Vincent, and useful for both
658 2008-02-11 Alexander Larsson <alexl@redhat.com>
663 2008-02-11 Matthias Clasen <mclasen@redhat.com>
665 * *.c: Documentation additions
667 2008-02-10 Matthias Clasen <mclasen@redhat.com>
669 * gappinfo.h: Formatting cleanup
670 * gappinfo.c: Fix up docs.
672 2008-02-09 Matthias Clasen <mclasen@redhat.com>
674 * gunixmounts.c: Consistently use getmntent_r() and fall
675 back to getmntent(). (#515492)
677 2008-02-09 Matthias Clasen <mclasen@redhat.com>
679 * gbufferedinputstream.c:
681 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
683 * tests/data-input-stream.c:
684 * tests/data-output-stream.c: Portability fixes.
686 2008-02-08 Alexander Larsson <alexl@redhat.com>
691 Add g_volume_should_automount.
694 2008-02-07 Tor Lillqvist <tml@novell.com>
696 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
697 Win32, too Unix-specific.
699 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
701 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
702 a local plt if the compiler doesn't support what we want. Bug #514702
704 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
706 reviewed by: <delete if not using a buddy>
709 * gunixinputstream.c:
710 * gunixoutputstream.c:
712 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
715 * tests/live-g-file.c:
716 * tests/live-g-file.txt:
717 New GIO testing module working over real data
719 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
721 * glocalfileoutputstream.c (g_local_file_output_stream_close):
722 Fallback to rename() if link() is not available
723 (when no support on target filesystem)
725 2008-02-06 Michael Natterer <mitch@imendio.com>
727 * gfileinfo.c (g_file_info_get_icon): replace
728 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
730 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
732 * gfile.c (g_file_create):
733 Documentation update of error codes
735 2008-02-06 Alexander Larsson <alexl@redhat.com>
738 Update to use both mimeapps.list and
739 defaults.list as discussed on xdg list.
741 2008-02-06 Benjamin Otte <otte@gnome.org>
744 * gfilenamecompleter.c:
745 Fix some typos in the documentation.
747 2008-02-06 Alexander Larsson <alexl@redhat.com>
749 * glocalfile.c (g_local_file_trash):
750 Don't succeed with trash if newly created
751 trash dir has the wrong owner. (#514696)
753 2008-02-05 Alexander Larsson <alexl@redhat.com>
755 * glocalfile.c (g_local_file_move):
756 Don't spew warnings when destination is not
759 2008-02-03 Hans Breuer <hans@breuer.org>
761 * makefile.msc : update
763 2008-02-01 Michael Natterer <mitch@imendio.com>
765 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
766 return value of xdg_mime_list_mime_parents() to a variable of the
769 2008-02-01 Alexander Larsson <alexl@redhat.com>
771 * gappinfo.c (g_app_info_launch_uris):
772 Actually call the launch_uris method, not
775 2008-02-01 Alexander Larsson <alexl@redhat.com>
777 * gdesktopappinfo.c (g_desktop_app_info_equal):
778 Ensure appinfos with no id but same pointer value
781 2008-02-01 Alexander Larsson <alexl@redhat.com>
783 * gappinfo.c (g_app_info_launch_default_for_uri):
786 2008-02-01 Alexander Larsson <alexl@redhat.com>
790 Add g_app_info_launch_default_for_uri utility
793 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
796 Doc fix for g_app_info_get_default_for_uri_scheme ()
799 2008-01-30 Alexander Larsson <alexl@redhat.com>
802 Add doc comment about uris vs GFiles to
806 Ensure uris passed to g_app_info_launch_uris()
807 are not roundtriped through GFile (as that
808 may be slightly destructive for e.g. mailto: links)
810 2008-01-30 Alexander Larsson <alexl@redhat.com>
812 * tests/data-input-stream.c:
813 * tests/data-output-stream.c:
814 C89 fixes from Jens Granseuer (#512849)
816 2008-01-30 Alexander Larsson <alexl@redhat.com>
819 Fix gamin/fam difference build issue. (#509419)
821 2008-01-29 Alexander Larsson <alexl@redhat.com>
825 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
827 2008-01-29 Alexander Larsson <alexl@redhat.com>
831 giomodule-priv.h include moved to .c file.
833 2008-01-29 Alexander Larsson <alexl@redhat.com>
835 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
836 Remove unused prio/name fields.
838 2008-01-29 Alexander Larsson <alexl@redhat.com>
840 * gcontenttype.c (looks_like_text):
841 Don't treat whitespace as control chars.
843 2008-01-29 Alexander Larsson <alexl@redhat.com>
846 Lazily create the desktop files for appinfos created
847 by g_app_info_create_from_commandline() when needed
848 for mime associations. This allows run-time use
849 of GAppInfo object without creating unnecessary
852 2008-01-29 Alexander Larsson <alexl@redhat.com>
855 Added new symbols to gio.symbols
857 2008-01-29 Alexander Larsson <alexl@redhat.com>
860 Add g_file_query_default_handler utility to easily look up
861 the GAppInfo that handles a file.
863 * gdesktopappinfo.[ch]:
865 Set up an extension point for g_app_info_get_default_for_uri_scheme()
868 Remove unused function
870 2008-01-29 Alexander Larsson <alexl@redhat.com>
873 Mention need to free returned value in
874 g_file_enumerator_next_files_finish docs.
875 Fix leak if g_file_enumerator_next_files_finish()
878 2008-01-29 Alexander Larsson <alexl@redhat.com>
881 (_g_unix_content_type_get_parents):
882 Use list_parents, not get_parents from xdgmime, because
883 the later doesn't use the cache.
885 * xdgmime/xdgmimecache.c:
886 (_xdg_mime_cache_list_mime_parents):
887 Don't list the same type as parent multiple times.
889 2008-01-28 Matthias Clasen <mclasen@redhat.com>
891 * === Released 2.15.4 ===
893 2008-01-28 Alexander Larsson <alexl@redhat.com>
896 Register local vfs with prio 0.
899 Remove old name and prio class members
901 2008-01-28 Matthias Clasen <mclasen@redhat.com>
903 * tests/g-file.c: Disable some tests that are failing in
904 the absence of a http backend.
906 2008-01-28 Alexander Larsson <alexl@redhat.com>
910 Add registration hooks for extension points.
911 Register the gio extension points.
913 * fam/gfamdirectorymonitor.c:
914 * fam/gfamfilemonitor.c:
915 * glocaldirectorymonitor.[ch]:
916 * glocalfilemonitor.[ch]:
917 * gnativevolumemonitor.h:
918 * gunionvolumemonitor.c:
919 * gunixvolumemonitor.c:
922 * inotify/ginotifydirectorymonitor.c:
923 * inotify/ginotifyfilemonitor.c:
924 Use the extension points registration instead
925 of g_type_children().
927 2008-01-28 Matthias Clasen <mclasen@redhat.com>
930 * gvolume.[hc]: Document new API.
932 * gfile.c (g_file_copy_async): Fix docs
934 2008-01-27 Matthias Clasen <mclasen@redhat.com>
936 * gbufferedinputstream.c:
938 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
941 2008-01-27 Matthias Clasen <mclasen@redhat.com>
943 * glocalfile.c: Avoid trivial differences in translatable strings.
945 2008-01-25 Matthias Clasen <mclasen@redhat.com>
947 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
948 build with gcc 3.4 (#509419)
950 2008-01-25 Matthias Clasen <mclasen@redhat.com>
952 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
953 (#509994, Murray Cumming)
955 2008-01-25 Matthias Clasen <mclasen@redhat.com>
957 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
958 * gioscheduler.c: Keep calling io jobs until they return FALSE;
959 this allows big jobs to be executed in chunks, instead of blocking
960 the main loop for a long time.
962 * gsimpleasyncresult.c:
963 * giofile.c: Adapt callers.
965 2008-01-25 Alexander Larsson <alexl@redhat.com>
968 Implement changes discussed on xdg list.
969 Now we can add supported mimetypes by just using defaults.list
970 We can also remove associations in defaults.list.
972 2008-01-25 Alexander Larsson <alexl@redhat.com>
975 Don't make local copy of desktop file
976 for mimetype changes if the file already
977 supports the new mimetype.
979 2008-01-25 Matthias Clasen <mclasen@redhat.com>
983 * gbufferedinputstream.c:
984 * glocalfile.c: String improvements. (#511966,
985 Theppitak Karoonboonyanan)
987 2008-01-24 Matthias Clasen <mclasen@redhat.com>
989 * gioscheduler.h: Expand docs a bit.
991 2008-01-24 Alexander Larsson <alexl@redhat.com>
994 Add g_drive_get_identifier and
995 g_drive_enumerate_identifiers
998 Add g_volume_get_identifier and
999 g_volume_enumerate_identifiers
1005 Implement identifiers for unix backend
1007 2008-01-24 Alexander Larsson <alexl@redhat.com>
1012 Add g_file_copy_async() (#511580)
1013 Based on patch from Carlos Garcia Campos
1015 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1017 * gioscheduler.c: Some documentation additions.
1019 2008-01-22 Alexander Larsson <alexl@redhat.com>
1021 * gdesktopappinfo.c:
1022 (g_desktop_app_info_new):
1023 Don't leak basename.
1025 2008-01-22 Alexander Larsson <alexl@redhat.com>
1027 * gdesktopappinfo.c:
1028 (g_desktop_app_info_new_from_filename):
1031 2008-01-22 Alexander Larsson <alexl@redhat.com>
1033 * glocalfileinfo.c (get_thumbnail_attributes):
1036 2008-01-22 Alexander Larsson <alexl@redhat.com>
1039 (canonicalize_filename):
1040 Canonicalize paths that start with more than
1044 (compare_two_files):
1045 (test_g_file_new_for_path):
1048 2008-01-22 Alexander Larsson <alexl@redhat.com>
1051 Allow UTF-8 in file:// parse names.
1053 * tests/Makefile.am:
1054 * tests/data-input-stream.c:
1055 * tests/data-output-stream.c:
1056 * tests/g-file-info.c:
1058 Added a bunch of tests from Tomas Bzatek
1060 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1062 * === Released 2.15.3 ===
1064 2008-01-21 Alexander Larsson <alexl@redhat.com>
1066 * gfileinputstream.[ch]:
1067 * gfileoutputstream.[ch]:
1069 Remove duplicated GSeekable functions. (#509990)
1070 Just use the g_seekable_xxx() calls instead.
1072 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1075 * gvolumemanager.c: Whitespace cleanups.
1077 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1078 Use the right mode when creating the file.
1080 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1082 * gfileenumerator.c:
1083 * gfileinputstream.c:
1085 * goutputstream.c: Documentation: Fixed minor typos
1086 and added more mentions of specific _finish() functions.
1088 2008-01-21 Alexander Larsson <alexl@redhat.com>
1090 * inotify/Makefile.am:
1091 * inotify/inotify-helper.c:
1092 * inotify/inotify-kernel.c:
1093 * inotify/inotify-path.c:
1094 * inotify/local_inotify.h: Removed.
1095 * inotify/local_inotify_syscalls.h: Removed.
1096 Removed the included copies of the inotify
1097 headers. We now only use the <sys/inotify.h>
1098 header which exists on modern systems.
1099 This fixes problems on ARM and SH5 (#510448)
1100 but is also generally much cleaner and future
1101 safe. For instance, if other OSes add support
1102 for inotify it should "just work".
1104 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1106 * inotify/*.c: Coding style fixes.
1107 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1108 for the 1/4 Hz timer.
1110 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1113 * gfilemonitor.[hc]:
1114 * gmemoryinputstream.c:
1115 * gmemoryoutputstream.c:
1116 * gmountoperation.c:
1117 * gthemedicon.c: Documentation updates
1119 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1121 * gfile.c: documentation: Fixed more minor
1124 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1126 * gmount.c: (g_mount_remount): documentation:
1127 Mention g_mount_remount_finish() instead of
1128 g_mount_unmount_finish().
1130 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1134 * gfile.c: Fixed some minor typos in the
1137 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1139 * gio/gvolumemonitor.c:
1140 (g_volume_monitor_get_connected_drives):
1141 (g_volume_monitor_get_volumes):
1142 (g_volume_monitor_get_mounts): Documentation:
1143 Clarify the ownership of the regurn GLists.
1145 2008-01-17 Alexander Larsson <alexl@redhat.com>
1148 Add the async find_enclosing_mount version
1149 to the header file too.
1151 2008-01-17 Alexander Larsson <alexl@redhat.com>
1154 Add async version of find_enclosing_mount
1155 with default implementation.
1157 2008-01-17 Alexander Larsson <alexl@redhat.com>
1162 Allow calls to implementation of copy and write
1163 even if the type of the file implementations is
1164 different. This can be used to implement native
1165 upload and download calls in a vfs.
1168 (g_local_file_move):
1169 Protect against the case where move is called
1170 with one file not being local.
1172 Make sure we call the progress callback once
1173 in the native move operation so that the caller
1174 knows how many bytes were copied.
1176 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1179 * gdatainputstream.c:
1181 * gfileoutputstream.c:
1186 * gunixmounts.c: Corrected some typos in the documentation:
1187 occured -> occurred.
1188 its -> it's (where appropriate).
1190 2008-01-16 Alexander Larsson <alexl@redhat.com>
1194 Add g_file_query_exists (#508771)
1196 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1201 * gvolume.c: For async functions that have no non-async
1202 version, document that the GAsyncReadyCallback may be NULL.
1205 2008-01-15 Alexander Larsson <alexl@redhat.com>
1207 * gmemoryinputstream.c:
1208 * gmemoryoutputstream.c:
1209 Don't do pointer arithmetic on void * (#508602)
1210 Patch from Kazuki IWAMOTO
1212 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1214 * === Released 2.15.2 ===
1216 2008-01-14 Alexander Larsson <alexl@redhat.com>
1218 * gfile.c (g_file_monitor_file):
1219 Don't set error here, since we fallback to polling monitor.
1221 2008-01-14 Alexander Larsson <alexl@redhat.com>
1224 (g_file_monitor_directory):
1225 (g_file_monitor_file):
1226 Add GError to file monitor calls
1228 * glocaldirectorymonitor.c:
1229 * glocaldirectorymonitor.h:
1231 * glocalfilemonitor.c:
1232 * glocalfilemonitor.h:
1234 Update for above change
1236 2008-01-14 Alexander Larsson <alexl@redhat.com>
1240 Handle root correctly in g_file_get_relative_path (#508719)
1242 2008-01-14 Alexander Larsson <alexl@redhat.com>
1245 Clean up docs and example for GAsyncResult (#508074)
1247 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1249 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1250 and correct some spelling mistakes. Bug #508108.
1252 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1254 * glocalfileinfo.c: Add a comment.
1256 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1258 * gfileinfo.c: GFileInfo description: Mention
1259 how to actually set attributes in a GFile and how to discover
1260 which attributes are settable. Bug #508378.
1262 2008-01-10 A. Walton <awalton@svn.gnome.org>
1264 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1265 (g_app_info_get_default_for_type):
1266 Check for NULL content types.
1268 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1270 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1272 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1274 * gfile.c: *_async() functions: Several small corrections
1275 to the documentation, mostly correcting copy/paste errors
1276 and improving some sentences.
1278 2008-01-09 Dan Winship <danw@gnome.org>
1280 * glocalfile.c (get_unique_filename): x86_64 fix
1282 2008-01-09 Alexander Larsson <alexl@redhat.com>
1287 Add g_unix_mount_guess_should_display and use
1288 for unix volume monitor backend.
1289 This means we more or less show what the
1290 gnome-vfs backend did.
1291 Based on patch from Padraig O'Briain
1293 2008-01-09 Alexander Larsson <alexl@redhat.com>
1297 Add g_themed_icon_new_with_default_fallbacks
1300 Use default fallbacks for icons
1302 2008-01-09 Alexander Larsson <alexl@redhat.com>
1305 * gmountoperation.[ch]:
1306 Change the API a bit so that unhandled methods
1307 get reported via the reply, rather than by
1308 the signal emission return value. This is because
1309 some handlers can't know this immediately without
1310 doing I/O, and this is an async operation that
1313 2008-01-09 Alexander Larsson <alexl@redhat.com>
1316 * fam/gfamdirectorymonitor.c:
1317 * fam/gfamfilemonitor.c:
1318 Fix double free crash (#508224)
1319 Patch from Joe Marcus Clarke
1321 008-01-07 Matthias Clasen <mclasen@redhat.com>
1323 * === Released 2.15.1 ===
1325 2008-01-07 Alexander Larsson <alexl@redhat.com>
1327 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1328 Fix warning (#507835)
1330 2008-01-07 Alexander Larsson <alexl@redhat.com>
1333 Pass --internal to glib-genmarshal
1336 * gmountoperation.c:
1338 Use better types for signal arguments (#507822)
1340 2008-01-07 Alexander Larsson <alexl@redhat.com>
1343 Build test subdir after .
1344 Remove gdirectorymonitor.[ch]
1346 * gdirectorymonitor.[ch]:
1350 Remove GDirectoryMonitor and make
1351 GFileMonitor the baseclass for both file and
1352 directory monitors. Lift the more generic
1353 rate limiting code from GDirectoryMonitor
1357 * fam/gfamdirectorymonitor.[ch]:
1358 * inotify/ginotifydirectorymonitor.[ch]:
1359 * inotify/inotify-helper.c:
1360 * glocaldirectorymonitor.[ch]:
1363 Update for the removed GDirectoryMonitor.
1365 * gmemoryoutputstream.c:
1366 Remove ununsed variable
1368 2008-01-07 Alexander Larsson <alexl@redhat.com>
1370 * gmemoryinputstream.c:
1371 Translate error strings
1374 * gmemoryoutputstream.[ch]:
1375 New implementation that avoids using GByteArray
1376 in implementation and API. (#506377)
1378 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1380 * tests/*: Add a test for memory input streams.
1382 * Makefile.am: Add tests to SUBDIRS.
1384 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1386 * glocalfilemonitor.c:
1387 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1390 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1392 * gdesktopappinfo.c: Fix a docs typo.
1394 * gfileattribute.c: Add information about extended attributes
1395 to the documentation. (#505058)
1397 2008-01-04 Alexander Larsson <alexl@redhat.com>
1400 * gmountoperation.c:
1401 Use the right type (uint) for the ask_password signal.
1403 2008-01-04 Alexander Larsson <alexl@redhat.com>
1408 Add g_app_info_supports_files()
1409 Remove desktop arg from g_app_info_should_show().
1411 * gdesktopappinfo.[ch]:
1412 Implement g_app_info_supports_files() and new should_show()
1413 Add g_desktop_app_info_set_desktop_env() to set the desktop
1414 for should_show(). (This will be set by gtk+ later)
1416 2008-01-04 Alexander Larsson <alexl@redhat.com>
1419 * gmemoryinputstream.[ch]:
1420 Improve API so that you can use multiple chunks
1421 of memory and custom destroy functions. (#506374)
1423 2008-01-03 Alexander Larsson <alexl@redhat.com>
1426 Handle NULL attribute matchers safely, as we return this
1427 for empty attribute matcher strings.
1429 2008-01-03 Alexander Larsson <alexl@redhat.com>
1431 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1432 Add /usr/local to list of internal mountpoints
1434 2008-01-03 Alexander Larsson <alexl@redhat.com>
1437 Check for HAVE_LCHOWN (#505887)
1439 2008-01-03 Alexander Larsson <alexl@redhat.com>
1443 Add define for selinux context attribute.
1444 Fix missing : -> :: namespace separator change
1445 Fix missing _ -> - name change for xattr-sys.
1448 2008-01-03 Alexander Larsson <alexl@redhat.com>
1451 Link to libglib and libgobject directly (#504879)
1452 Patch from Sebastien Bacher
1454 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1456 * gfile.c: Expanded the g_file_new_for_commandline_arg
1457 description a bit, based on the code and the docs of the
1458 other g_file_new_for_* functions.
1460 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1462 * gfilemonitor.h: Fixed typo in docs.
1464 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1466 Updates to GIO documentation. (#506395, Mikael Hermansson)
1468 * gcontenttype.c: Describe memory management for return value of
1469 g_content_types_get_registered(). Missing piece from #505815.
1470 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1471 GVolume, GDrive, GMounts, which hopefully gives the user less
1472 confusions when using this API. Following explainations from
1473 Alexander Larsson on gtk-devel-list.
1475 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1477 * gfileinfo.c: Expand the long description.
1479 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1482 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1483 fix builds with --disable-visibility. (#500273, Christian Persch)
1485 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1487 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1488 in the list of returned app infos.
1490 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1492 * gappinfo.c: Fix a cross-reference
1494 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1496 * gfileinputstream.c:
1497 * gfileoutputstream.c:
1501 * gdesktopappinfo.c:
1503 * gfileinfo.c: Documentation updates.
1505 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1507 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1510 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1512 * gcontenttype.c (g_content_types_get_registered): Don't return
1513 freed memory (#505815, Mikael Hermansson)
1515 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1517 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1518 used to detect statbuf->st_blocks. (#505042)
1520 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1522 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1523 environment handling. (#504829, Cosimo Cecchi)
1525 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1527 * gappinfo.c: Doc improvements
1529 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1532 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1534 * === Released 2.15.0 ===
1536 2007-12-20 Hans Breuer <hans@breuer.org>
1538 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1539 with symbols gwin32appinfo.obj, added gmount.obj
1540 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1542 2007-12-20 Alexander Larsson <alexl@redhat.com>
1548 * gfilenamecompleter.c:
1551 * gpollfilemonitor.c:
1552 File attribute renames:
1554 fs:: -> filesystem::
1555 id::fs -> id::filesystem
1557 2007-12-20 Alexander Larsson <alexl@redhat.com>
1566 Add GMountUnmountFlags to all unmount and
1568 Add g_mount_remount() call.
1570 2007-12-20 Alexander Larsson <alexl@redhat.com>
1572 * gvfs.c (get_default_vfs):
1573 Fix unused variable warning
1575 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1577 * pltcheck.sh: Update
1579 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1581 * gunionvolumemonitor.c:
1582 * gunixmount.c: Remove C99 comments
1584 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1586 * gio.symbols: Add some missing symbols
1588 2007-12-19 Alexander Larsson <alexl@redhat.com>
1591 Make g_io_modules_load_all_in_directory not unuse
1592 loaded modules so that users of it can do stuff
1594 Init internal "module" types.
1595 Initialize static prio and name for types so that
1596 we don't have to load modules to get it.
1598 * gnativevolumemonitor.h:
1600 Move is_supported to parent class so that
1601 non-native monitors can avoid being initialized
1602 too. (For instance GDaemonVolumeMonitor if we're
1603 not using GDaemonVfs.)
1605 * glocaldirectorymonitor.[ch]:
1606 * glocalfilemonitor.[ch]:
1607 * gunionvolumemonitor.c:
1608 * gunixvolumemonitor.c:
1610 Find plugins using the static prio+name to
1611 avoid unnecessarily loading the modules.
1613 2007-12-19 Alexander Larsson <alexl@redhat.com>
1618 2007-12-19 Alexander Larsson <alexl@redhat.com>
1620 * gunionvolumemonitor.c:
1621 Store the native type as GType, not class so that
1622 we can unload it. But still avoid unnecessarily
1625 2007-12-19 David Zeuthen <davidz@redhat.com>
1627 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1628 add signals 'disconnected' and 'eject-button' on GDrive. Add
1629 signal 'removed' on GVolume and 'unmounted' on GMount.
1631 * gdrive.c: (g_drive_base_init):
1633 * gfile.c: (g_file_mount_mountable),
1634 (g_file_mount_enclosing_volume):
1637 * gmount.c: (g_mount_base_init):
1639 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1640 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1641 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1645 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1647 * *.c: Fix up includes in the section docs.
1649 2007-12-17 Alexander Larsson <alexl@redhat.com>
1651 * gnativevolumemonitor.h:
1652 * gunionvolumemonitor.c:
1653 * gunixvolumemonitor.c:
1654 Add is_supported() to GNativeVolumeMonitorClass so
1655 that we can avoid having to create an object to see
1656 if the backend is supported at runtime.
1657 Also add name member and an env var to pick a specific
1658 volume monitor backend.
1662 Add cancellable to _g_mount_get_for_mount_path()
1664 * glocaldirectorymonitor.c:
1665 * glocalfilemonitor.c:
1666 Avoid loading and unloading modules while sorting.
1668 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1671 * gunixmounts.[hc]: Namespace waste reduction, move some
1672 g_get_unix_mount functions to the g_unix_mount namespace.
1675 * gunixvolumemonitor.c:
1677 * glocaldirectorymonitor.c: Update all callers.
1679 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1681 2007-12-17 Alexander Larsson <alexl@redhat.com>
1684 Add doc comments about what GFile operations are
1685 guaranteed to not block.
1687 2007-12-17 Alexander Larsson <alexl@redhat.com>
1690 Add missing #ifdef fixing OSX build.
1691 (#503334, patch from Richard Hult)
1693 2007-12-14 David Zeuthen <davidz@redhat.com>
1697 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1698 (g_mount_eject), (g_mount_eject_finish):
1700 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1701 (get_volume_for_uuid), (get_mount_for_uuid),
1702 (g_union_volume_monitor_class_init),
1703 (get_default_native_type_with_exclude), (get_default_native_type),
1704 (get_native_type), (update_native_type),
1705 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1706 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1707 (g_unix_mount_can_eject), (eject_unmount_cb),
1708 (eject_unmount_read_error), (eject_unmount_do),
1709 (g_unix_mount_unmount), (g_unix_mount_eject),
1710 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1711 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1712 (g_unix_mount_point_guess_can_eject):
1714 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1715 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1716 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1717 (g_unix_volume_mount), (g_unix_volume_eject),
1718 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1719 * gunixvolumemonitor.c: (get_volume_for_uuid),
1720 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1722 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1723 (g_volume_eject), (g_volume_eject_finish):
1725 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1726 (g_volume_monitor_get_mount_for_uuid):
1729 Provide eject() on both GMount and GVolume and utility functions
1730 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1731 ejected. Introduce the concept of UUID's and wire it into GVolume
1732 and GMount and provide API on GVolumeMonitor to find such
1733 instances. Also handle the case where an external
1734 GNativeVolumeMonitor fails to initialize. Lock around the
1735 _g_get_mount_for_mount_path() function such that volume monitor
1736 implementations won't have to do locking themselves.
1738 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1740 * gdesktopappinfo.c:
1746 * gvolume.h: Documentation updates
1748 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1751 * gfile.h: Doc updates
1753 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1756 * gdesktopappinfo.c: Use hash table iterators.
1758 2007-12-14 Alexander Larsson <alexl@redhat.com>
1761 * gfileattribute.[ch]:
1762 * gfileattribute-priv.h:
1763 Move GFileAttributeValue to a private header, as
1767 Make set_attribute take a type + a pointer instead
1768 of a GFileAttributeValue.
1771 Fix up for above changes.
1772 Add g_file_info_get_attribute_data to get
1773 all info in one call, g_file_info_get_attribute_status
1774 to get the status and g_file_info_get_attribute_as_string.
1778 * glocalfileinfo.[ch]:
1782 Make _guess_type static.
1784 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1787 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1788 made mkenums and friends use temporary files to avoid leaving
1789 empty generated files on failure (#503470).
1791 2007-12-14 Alexander Larsson <alexl@redhat.com>
1793 * gmountoperation.h:
1796 2007-12-14 Alexander Larsson <alexl@redhat.com>
1800 * gfileattribute.[ch]:
1803 * glocalfileoutputstream.c:
1804 * gmountoperation.[ch]:
1805 * goutputstream.[ch]:
1806 Clean up all flags enums to not have _FLAGS in them
1807 Make the names of some of the enums better.
1812 2007-12-14 Michael Natterer <mitch@imendio.com>
1814 * gio.symbols: fix g_io_scheduler symbol names.
1816 2007-12-14 Alexander Larsson <alexl@redhat.com>
1822 * gbufferedinputstream.h:
1823 * gbufferedoutputstream.h:
1826 * gdatainputstream.h:
1827 * gdataoutputstream.h:
1828 * gdesktopappinfo.h:
1829 * gdirectorymonitor.h:
1833 * gfileenumerator.h:
1836 * gfileinputstream.h:
1838 * gfilenamecompleter.h:
1839 * gfileoutputstream.h:
1840 * gfilterinputstream.h:
1841 * gfilteroutputstream.h:
1849 * gmemoryinputstream.h:
1850 * gmemoryoutputstream.h:
1852 * gmountoperation.h:
1855 * gsimpleasyncresult.h:
1857 * gunixinputstream.h:
1859 * gunixoutputstream.h:
1863 * inotify/Makefile.am:
1864 Only allow including <gio/gio.h> from apps
1866 2007-12-14 Alexander Larsson <alexl@redhat.com>
1868 * gioscheduler.[ch]:
1869 * gsimpleasyncresult.c:
1870 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1871 Split out the send_to_mainloop call into two versions instead
1872 of having the block argument.
1874 2007-12-13 Alexander Larsson <alexl@redhat.com>
1876 * gcancellable.[ch]:
1878 * gbufferedinputstream.c:
1879 * gfileenumerator.c:
1880 * gfileinputstream.c:
1881 * gfileoutputstream.c:
1885 g_push/pop_current_cancellable ->
1886 g_cancellable_push/pop_current
1888 2007-12-13 Alexander Larsson <alexl@redhat.com>
1892 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1894 2007-12-13 Alexander Larsson <alexl@redhat.com>
1896 * gmountoperation.h:
1897 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1899 2007-12-12 Alexander Larsson <alexl@redhat.com>
1902 Fix race condition when freeing proxy in
1903 g_io_job_send_to_mainloop().
1905 2007-12-12 Alexander Larsson <alexl@redhat.com>
1911 Make attribute namespace separator "::" instead of ":".
1912 Use - instead of _ as separator in attribute names.
1914 2007-12-12 Alexander Larsson <alexl@redhat.com>
1916 * gbufferedinputstream.h:
1917 * gbufferedoutputstream.h:
1918 * gdatainputstream.h:
1919 * gdataoutputstream.h:
1920 * gdirectorymonitor.h:
1921 * gfileenumerator.h:
1922 * gfileinputstream.h:
1924 * gfileoutputstream.h:
1925 * gfilterinputstream.h:
1926 * gfilteroutputstream.h:
1928 * glocalfileinputstream.h:
1929 * glocalfileoutputstream.h:
1930 * gmemoryinputstream.h:
1931 * gmemoryoutputstream.h:
1932 * gnativevolumemonitor.h:
1934 * gunixinputstream.h:
1935 * gunixoutputstream.h:
1938 s/parent/parent_instance/ in GObjects
1940 2007-12-12 Alexander Larsson <alexl@redhat.com>
1945 No need for padding for interfaces
1947 2007-12-12 Alexander Larsson <alexl@redhat.com>
1951 * gbufferedinputstream.c:
1952 * gbufferedoutputstream.c:
1955 * gdatainputstream.[ch]:
1956 * gdesktopappinfo.c:
1957 * gdirectorymonitor.c:
1959 * gfileattribute.[ch]:
1962 * gfileinputstream.h:
1963 * gfilemonitor.[ch]:
1964 * gfileoutputstream.[ch]:
1965 * gfilterinputstream.h:
1966 * gfilteroutputstream.h:
1969 * gloadableicon.[ch]:
1970 * gmemoryinputstream.c:
1971 * gmountoperation.c:
1973 Fix up a bunch of details in the docs.
1978 2007-12-11 David Zeuthen <davidz@redhat.com>
1980 Rework how volumes, drives and volume monitoring is
1981 done. Previosly the model was
1983 GDrive <1-1> GVolume
1985 where a GDrive instance represented a mount point and a GVolume
1986 instance represented a mounted file system. This patch changes it
1989 GDrive <1-N> GVolume <1-1> GMount
1991 where GMount now serves the purpose of the old GVolume and the new
1992 GVolume serves the purpose of the old GDrive. In addition the new
1993 GDrive interface is used to represent a collection of GVolume
1994 instances (typically partitions) and also contains utility to query
1995 the state of the physical drive the GDrive object represents (such
1996 as checking for media, polling the drive, ejecting the media etc.).
1998 Also implement mounting and unmounting in the Unix volume monitor
1999 backend. A subquent patch will introduce GDrive support for ejection
2003 * gdrive.c: (g_drive_is_media_check_automatic),
2004 (g_drive_is_media_removable), (g_drive_has_media),
2005 (g_drive_can_poll_for_media), (g_drive_eject),
2006 (g_drive_eject_finish), (g_drive_poll_for_media),
2007 (g_drive_poll_for_media_finish):
2009 * gfile.c: (g_file_find_enclosing_mount):
2012 * glocaldirectorymonitor.c:
2013 (g_local_directory_monitor_constructor), (mounts_changed):
2014 * glocalfile.c: (get_mount_info),
2015 (g_local_file_find_enclosing_mount),
2016 (g_local_file_file_iface_init):
2017 * gnativevolumemonitor.h:
2018 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2019 (get_connected_drives), (g_union_volume_monitor_class_init),
2020 (child_volume_added), (child_volume_removed),
2021 (child_volume_changed), (child_mount_added), (child_mount_removed),
2022 (child_mount_pre_unmount), (child_mount_changed),
2023 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2024 (g_union_volume_monitor_remove_monitor),
2025 (_g_mount_get_for_mount_path):
2026 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2027 (guess_system_internal), (_g_get_unix_mounts),
2028 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2029 (g_unix_mount_free), (g_unix_mount_compare),
2030 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2031 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2032 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2033 (type_to_icon), (g_unix_mount_guess_name),
2034 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2035 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2036 (_resolve_symlink), (_resolve_dev_root):
2038 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2039 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2040 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2041 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2042 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2043 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2044 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2045 (g_unix_volume_volume_iface_init):
2047 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2048 (get_mounts), (get_volumes), (get_connected_drives),
2049 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2050 (mountpoints_changed), (mounts_changed),
2051 (g_unix_volume_monitor_init),
2052 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2053 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2054 * gunixvolumemonitor.h:
2055 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2056 (g_volume_mount), (g_volume_mount_finish):
2058 * gvolumemonitor.c: (g_volume_monitor_class_init),
2059 (g_volume_monitor_get_connected_drives),
2060 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2063 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2065 * gmountoperation.h (GPasswordFlags): Close the gap
2067 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2069 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2071 * gdesktopappinfo.[hc]: Remove _-prefixes
2073 2007-12-10 Tor Lillqvist <tml@novell.com>
2075 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2078 2007-12-10 Alexander Larsson <alexl@redhat.com>
2080 * gfile.c (g_file_set_display_name):
2081 Don't hardcode '/' (#502727)
2083 2007-12-09 Hans Breuer <hans@breuer.org>
2085 * makefile.msc : follow lib naming convention
2086 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2087 for user and group name, tested with ../tests/gio-ls
2089 2007-12-09 A. Walton <awalton@svn.gnome.org>
2091 * gdesktopappinfo.c:
2097 * gfileenumerator.c:
2102 * gmemoryinputstream.c:
2103 * gmemoryoutputstream.c:
2105 * gsimpleasyncresult.c:
2106 More documentation cleanup and filling in missing information, bringing
2107 GIO to 99% symbol coverage.
2109 2007-12-08 Hans Breuer <hans@breuer.org>
2111 [gio compiles and links on win32, not sure how much already works]
2112 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2113 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2114 base on win32 API; prefer g_lstat() over lstat(); instead of
2115 localtime_r() use an all GLib implementation on win32;
2116 get_mount_info() still needs a win32 specifc implementation
2117 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2118 win32_get_file_user_info to get owner/group info without uid/gid
2119 * glocalfileinputstream.c : include <io.h> on win32
2120 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2121 definition, use g_win32_ftruncate() for G_OS_WIN32
2122 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2123 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2124 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2125 * makefile.msc : updated
2127 2007-12-07 Alexander Larsson <alexl@redhat.com>
2129 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2130 Avoid warning spew if error == NULL
2132 2007-12-07 Alexander Larsson <alexl@redhat.com>
2135 Update docs wrt etags
2137 2007-12-06 Alexander Larsson <alexl@redhat.com>
2140 Include sys/types.h for dev_t (#501919)
2142 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2146 Make abicheck and pltcheck pass.
2148 2007-12-05 Alexander Larsson <alexl@redhat.com>
2151 * giomodule-priv.h: Added.
2152 * glocaldirectorymonitor.c:
2153 * glocalfilemonitor.c:
2154 * gunionvolumemonitor.c:
2156 Actually add the declaration of _g_io_modules_ensure_loaded
2158 2007-12-05 Alexander Larsson <alexl@redhat.com>
2160 * gdatainputstream.c:
2165 * glocaldirectorymonitor.c:
2166 * glocalfilemonitor.c:
2167 * gunionvolumemonitor.c:
2169 Make g_io_modules_ensure_loaded a private function and
2170 don't pass in the dirname. This means we can do magic
2171 directory finding in the win32 version.
2172 Export the actual load-modules-in-directory code so that
2173 gvfs can reuse that.
2175 2007-12-05 Alexander Larsson <alexl@redhat.com>
2177 * gbufferedinputstream.c:
2178 * gbufferedoutputstream.c:
2181 * gfileenumerator.[ch]:
2182 * gfileinputstream.c:
2183 * gfileoutputstream.[ch]:
2184 * gfilterinputstream.c:
2185 * gfilteroutputstream.c:
2186 * ginputstream.[ch]:
2188 * glocalfileenumerator.c:
2189 * glocalfileinputstream.c:
2190 * glocalfileoutputstream.c:
2191 * gmemoryinputstream.c:
2192 * gmemoryoutputstream.c:
2193 * goutputstream.[ch]:
2196 * gunixinputstream.c:
2197 * gunixoutputstream.c:
2198 Rename all struct members named:
2199 read, write, close, truncate, or mount
2200 to foo_fn, as these are reserved names
2201 and could be defined as macros in libc.
2204 2007-12-04 Alexander Larsson <alexl@redhat.com>
2207 (g_output_stream_close):
2208 Only call flush if non-null.
2210 2007-11-30 Dan Winship <danw@gnome.org>
2212 * ginputstream.c (g_input_stream_set_pending): Make this take a
2213 GError and return a gboolean, and do the "outstanding operation"
2214 check (and the "stream is already closed" check) itself.
2215 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2217 * goutputstream.c (g_output_stream_set_pending)
2218 (g_output_stream_clear_pending): Likewise
2220 * gbufferedinputstream.c:
2221 * gfileinputstream.c:
2222 * gfileoutputstream.c: Update for that
2224 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2225 Like g_simple_async_report_error_in_idle, but takes a GError
2226 rather than building one.
2228 2007-11-30 Dan Winship <danw@gnome.org>
2230 * goutputstream.c: Don't cheat and unset the "pending" flag around
2231 inner calls. Instead, call the class method directly rather than
2232 the wrapper function that checks "pending"
2234 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2236 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2238 2007-12-03 Hans Breuer <hans@breuer.org>
2240 [start of port to win32/msvc]
2241 * gcancellable.c : HAVE_UNIST_H and _pipe()
2242 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2243 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2244 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2246 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2247 * glocalvfs.c : use HAVE_PWD_H
2248 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2249 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2250 * Makefile.am : added to EXTRA_DIST
2252 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2254 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2257 2007-12-03 Alexander Larsson <alexl@redhat.com>
2260 Handle OSX style xattrs API (#500506)
2262 2007-12-03 Alexander Larsson <alexl@redhat.com>
2266 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2268 2007-12-02 A. Walton <awalton@svn.gnome.org>
2272 Documentation accuracy fixes.
2274 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2276 * gioenumtypes.c.template: Fix typo.
2278 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2280 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2282 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2284 * gdirectorymonitor.c:
2285 * gfilemonitor.c: Add properties
2287 * gbufferedoutputstream.c: Don't mark buffer-size property
2290 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2292 * gbufferedoutputstream.c: Add auto-grow property.
2294 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2296 * *.c: Unify the capitalization of section headings.
2298 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2300 * gmountoperation.c: Add properties
2302 * gdatainputstream.c: Turn byte-order and newline-type into
2305 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2307 * gioenumtypes.[hc].template: Templates for enum registration
2309 * Makefile.am: Generate gioenumtypes.[hc]
2311 * gio.h: Include gioenumtypes.h
2313 * gfile.h: Add some explicit nicks.
2315 * gio.symbols: Add new symbols
2317 * pltcheck.sh: Adjust
2319 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2321 * *.c: Explain etags and link to the explanation
2323 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2325 * *.c: Explain I/O priority.
2327 * *.c: More coding style fixes.
2329 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2331 * gasyncresult.c: Add another paragraph to the intro,
2332 adjust coding style of example.
2334 2007-11-29 A. Walton <awalton@svn.gnome.org>
2337 Fixes unknown meaning in GAppLaunchContext docs.
2339 Clarify asynchronous ops.
2341 Fix entity tag docs.
2344 Provides missing gtk-doc section, fixes API docs slighly.
2345 * gsimpleasyncresult.c:
2346 Fill in missing info in docs.
2347 * gunixinputstream.c:
2348 * gunixoutputstream.c:
2349 Be more expressive in short description.
2351 Remove gtk-doc stubs for non-public API.
2353 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2355 * *.c: Coding style fixups
2357 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2359 * inotify/inotify-helper.c: Don't export the lock from libgio.
2361 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2364 * abicheck.sh: Fix copy-and-paste leftovers
2366 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2368 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2370 2007-11-28 Alexander Larsson <alexl@redhat.com>
2374 Removed unnecessary file
2376 * gdesktopappinfo.[ch]:
2379 * glocaldirectorymonitor.[ch]:
2381 * glocalfileenumerator.[ch]:
2382 * glocalfileinputstream.[ch]:
2383 * glocalfilemonitor.[ch]:
2384 * glocalfileoutputstream.[ch]:
2386 * gnativevolumemonitor.c:
2387 * gpollfilemonitor.[ch]:
2388 * gunionvolumemonitor.[ch]:
2391 * gunixvolumemonitor.[ch]:
2394 * inotify/ginotifydirectorymonitor.[ch]:
2395 * inotify/ginotifyfilemonitor.[ch]:
2396 * inotify/inotify-helper.c:
2397 Append _ to all internal functions
2401 Export symbols needed for modules
2403 2007-11-28 Alexander Larsson <alexl@redhat.com>
2406 * abicheck.sh: Added.
2407 * makegioalias.pl: Added.
2408 * pltcheck.sh: Added.
2409 * gio.symbols: Added.
2412 Initial work on adding symbol handling.
2415 Correct ifdef guard name
2418 * inotify/Makefile.am:
2419 * xdgmime/Makefile.am:
2420 Include toplevel Makefile.decl
2422 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2424 * gcontenttype.c: Move doc comments to the unix section.
2426 * *.[hc]: More trivial doc corrections.
2428 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2430 * gpollfilemonitor.c:
2434 * gdesktopappinfo.c:
2439 * gdatainputstream.c:
2440 * gdatainputstream.h:
2441 * gdataoutputstream.c:
2442 * gdataoutputstream.h:
2443 * gfileinfo.h: Doc cleanups
2445 2007-11-28 Andre Klapper <a9016009@gmx.de>
2447 * gdesktopappinfo.c: Fix a typo.
2449 2007-11-27 Andre Klapper <a9016009@gmx.de>
2451 * glocalfileoutputstream.c: Fix a typo.
2453 2007-11-27 Alexander Larsson <alexl@redhat.com>
2456 Don't include removed headers
2458 2007-11-27 Alexander Larsson <alexl@redhat.com>
2461 * gsocketinputstream.[ch]: Removed.
2462 * gsocketoutputstream.[ch]: Removed.
2463 * gunixinputstream.[ch]: Added.
2464 * gunixoutputstream.[ch]: Added.
2465 Renamed GSocket*Stream to GUnix*Stream and made
2466 it unix-only, since its not really only for sockets
2467 and it only works on unix (but is highly useful there).
2469 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2475 * gbufferedinputstream.c:
2476 * gbufferedinputstream.h:
2477 * gbufferedoutputstream.c:
2478 * gbufferedoutputstream.h:
2482 * gdatainputstream.c:
2483 * gdatainputstream.h:
2484 * gdataoutputstream.c:
2485 * gdataoutputstream.h:
2486 * gdirectorymonitor.c:
2487 * gdirectorymonitor.h:
2494 * gfileenumerator.c:
2495 * gfileenumerator.h:
2500 * gfileinputstream.c:
2501 * gfileinputstream.h:
2504 * gfilenamecompleter.c:
2505 * gfilenamecompleter.h:
2506 * gfileoutputstream.c:
2507 * gfileoutputstream.h:
2508 * gfilterinputstream.c:
2509 * gfilterinputstream.h:
2510 * gfilteroutputstream.c:
2511 * gfilteroutputstream.h:
2524 * glocalfileoutputstream.c:
2525 * gmemoryinputstream.c:
2526 * gmemoryinputstream.h:
2527 * gmemoryoutputstream.c:
2528 * gmemoryoutputstream.h:
2529 * gmountoperation.c:
2530 * gmountoperation.h:
2533 * gpollfilemonitor.c:
2536 * gsimpleasyncresult.c:
2537 * gsimpleasyncresult.h:
2538 * gsocketinputstream.c:
2539 * gsocketinputstream.h:
2540 * gsocketoutputstream.c:
2541 * gsocketoutputstream.h:
2548 * gunixvolumemonitor.c:
2557 Bumps documentation to 93% symbol coverage, touching most
2558 of the public files. Fixes broken function documentation prototypes.
2559 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2560 gtk-doc headers in private files.
2562 2007-11-27 Jürg Billeter <j@bitron.ch>
2564 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2565 (g_buffered_input_stream_read_byte):
2566 * gbufferedinputstream.h:
2567 New functions for efficient access to buffer and simple single byte
2570 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2571 (g_data_input_stream_read_until):
2572 * gdatainputstream.h:
2573 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2574 read_until with multiple stop chars.
2576 2007-11-27 Alexander Larsson <alexl@redhat.com>
2580 * inotify/Makefile.am:
2581 Use the user-specified giomoduledir
2583 2007-11-27 Alexander Larsson <alexl@redhat.com>
2587 Add catch-all gio.h header
2588 Don't install gdummyfile.h
2590 2007-11-26 Alexander Larsson <alexl@redhat.com>
2592 * Makefile.am (gioinclude_HEADERS):
2593 Remove trailing whitespace
2595 2007-11-26 Alexander Larsson <alexl@redhat.com>
2597 Merge gio-standalone into glib
2599 2007-11-25 Christian Kellner <gicmo@gnome.org>
2601 * gio/goutputstream.c:
2602 Fix small mistake in the docs.
2604 2007-11-21 Christian Persch <chpe@gnome.org>
2606 * gio/glocalfile.c: (g_local_file_trash):
2607 Convert filenames to UTF-8 for GError.
2608 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2609 as per xdg base dir spec.
2611 2007-11-21 Christian Persch <chpe@gnome.org>
2613 * gio/gdesktopappinfo.c:
2614 Use that g_key_file_to_data cannot fail.
2616 Use stock defines for the key file group and key names.
2619 2007-11-21 Alexander Larsson <alexl@redhat.com>
2622 (copy_stream_with_progress):
2623 Make sure we do a final progress callback with
2624 the full total size.
2626 2007-11-21 Alexander Larsson <alexl@redhat.com>
2629 Export g_file_copy_attributes
2630 Remove padding as its not needed for interfaces
2632 2007-11-20 Alexander Larsson <alexl@redhat.com>
2637 Add G_IO_ERROR_WOULD_MERGE for
2638 copy/move dir on dir with overwrite.
2640 2007-11-20 Alexander Larsson <alexl@redhat.com>
2643 * gio/glocalfileinfo.c:
2644 Add COPY_NAME (this is an optional
2645 non-modified utf8 version of the name) that
2648 2007-11-20 Alexander Larsson <alexl@redhat.com>
2650 * gio/glocalfileenumerator.c:
2651 Report errors as GIOError, not GFileError
2653 2007-11-16 Alexander Larsson <alexl@redhat.com>
2655 * gio/glocalfileoutputstream.c:
2656 * gio/gwin32appinfo.c:
2657 Fix typos in strings.
2658 Patch from Luca Ferretti <elle.uca@libero.it>
2660 2007-11-15 Alexander Larsson <alexl@redhat.com>
2663 Post release version bump
2665 === gio-standalone 0.1.2 ===
2667 2007-11-15 Alexander Larsson <alexl@redhat.com>
2669 * docs/reference/gio/Makefile.am:
2670 Fix up distcheck by removing weird
2676 2007-11-14 Alexander Larsson <alexl@redhat.com>
2678 * gio/gdesktopappinfo.c:
2679 * gio/glocaldirectorymonitor.c:
2681 * gio/glocalfileinfo.c:
2682 * gio/inotify/inotify-sub.c:
2683 * programs/gio-cat.c:
2684 * programs/gio-copy.c:
2685 * programs/gio-info.c:
2686 * programs/gio-ls.c:
2687 * programs/gio-monitor-dir.c:
2688 * programs/gio-monitor-file.c:
2689 * programs/gio-mount.c:
2690 * programs/gio-move.c:
2691 * programs/gio-rm.c:
2692 * programs/gio-save.c:
2693 * programs/gio-trash.c:
2694 Leak fixes from Kjartan Maraas
2696 2007-11-14 Alexander Larsson <alexl@redhat.com>
2698 * gio/fam/fam-helper.c:
2700 * gio/glocalfileinfo.c:
2704 * gio/inotify/inotify-diag.c:
2705 * gio/inotify/inotify-kernel.c:
2706 Various code cleanups from Kjartan Maraas
2708 2007-11-14 Alexander Larsson <alexl@redhat.com>
2710 * gio/gioscheduler.c:
2712 Set up threadpool so that we cache 2 unused
2713 idle threads for at 15 secs. This means we
2714 will reuse thread-local data (like dbus connections)
2717 2007-11-14 Alexander Larsson <alexl@redhat.com>
2719 * gio/fam/fam-helper.c:
2720 * gio/fam/gfamdirectorymonitor.c:
2721 * gio/fam/gfamfilemonitor.c:
2723 * gio/gcontenttype.c:
2724 * gio/gdatainputstream.c:
2725 * gio/gdataoutputstream.c:
2729 * gio/gfileattribute.h:
2730 * gio/gfileenumerator.c:
2732 * gio/ginputstream.c:
2735 * gio/glocalfileinfo.c:
2736 * gio/goutputstream.c:
2737 * gio/gpollfilemonitor.c:
2738 * gio/gsimpleasyncresult.c:
2739 * gio/gunixmounts.c:
2740 * gio/gunixmounts.h:
2741 * gio/inotify/ginotifydirectorymonitor.c:
2742 * gio/inotify/ginotifyfilemonitor.c:
2743 * gio/inotify/inotify-diag.c:
2744 * gio/inotify/inotify-kernel.c:
2745 * gio/inotify/inotify-path.c:
2747 * gio/test-streams.c:
2748 * programs/gio-info.c:
2749 * programs/gio-monitor-dir.c:
2750 * programs/gio-monitor-file.c:
2751 Various code cleanups from Kjartan Maraas
2753 2007-11-13 Alexander Larsson <alexl@redhat.com>
2756 Handle the uri-scheme calls for dummy files
2758 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2760 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2761 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2762 to avoid clash with the C++ keyword.
2764 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2766 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2767 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2769 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2771 * gio/glocaldirectorymonitor.c:
2772 * gio/glocalfilemonitor.c:
2773 * gio/gunionvolumemonitor.c:
2774 Don't use g_once_init_*() for initializations that could fail and
2775 could leave the initialization variable set to 0 but use GOnce.
2776 This prevents a deadlock on the second call when trying to create
2777 a monitor and no monitor type is available. Thanks to Sven Herzberg
2780 2007-11-11 Sven Herzberg <sven@imendio.com>
2782 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2783 #ifdef (make it work on MacOS X again)
2785 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2787 Fixes Changelog for last two commits (sorry guys).
2789 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2791 * gio/gbufferedinputstream.c:
2792 * gio/gdatainputstream.c:
2794 * gio/gfileoutputstream.c:
2795 * gio/gfilterinputstream.c:
2796 * gio/glocalfileinputstream.c:
2799 More consistency fixes in g*stream.c files.
2800 Significant clean of gfile's documentation, filling in of
2801 asynchronous operations documentation.
2803 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2805 * gio/gasyncresult.c:
2806 * gio/gbufferedinputstream.c:
2807 * gio/gbufferedoutputstream.c:
2808 * gio/gcancellable.c:
2809 * gio/gcontenttype.c:
2810 * gio/gdatainputstream.c:
2811 * gio/gdataoutputstream.c:
2812 * gio/gdesktopappinfo.c:
2815 * gio/gfileattribute.c:
2816 * gio/gio/gfileenumerator.c:
2818 * gio/gfileinputstream.c:
2819 * gio/gfilemonitor.c:
2820 * gio/gfileoutputstream.c:
2821 * gio/ginputstream.c:
2823 * gio/gioscheduler.c:
2824 * gio/gloadableicon.c:
2825 * gio/glocalfileoutputstream.c:
2826 * gio/gmemoryoutputstream.c:
2827 * gio/gmountoperation.c:
2828 * gio/goutputstream.c:
2830 * gio/gsimpleasyncresult.c:
2831 * gio/gunionvolumemonitor.c:
2832 * gio/gunixmounts.c:
2833 * gio/gunixvolume.c:
2837 * gio/gvolumemonitor.c:
2838 Updated documentation stubs, working towards consistency and
2841 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2843 * gio/gmemoryoutputstream.c:
2844 * gio/gmemoryoutputstream.h:
2845 Change g_memory_output_stream_set_free_on_close() to
2846 g_memory_output_stream_set_free_data() as this makes more sense and
2847 is more consistent with GMemoryInputStream.
2849 2007-11-07 Alexander Larsson <alexl@redhat.com>
2856 Change how we find the default vfs so that
2857 we can handle a gvfs failing to init
2859 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2861 * gio/gbufferedoutputstream.c:
2862 * gio/gdatainputstream.c:
2863 * gio/gdataoutputstream.c:
2864 * gio/gfileinputstream.c:
2865 * gio/gfileoutputstream.c:
2866 * gio/gfilterinputstream.c:
2867 * gio/gfilteroutputstream.c:
2868 * gio/ginputstream.c:
2869 * gio/gmemoryinputstream.c:
2870 * gio/gmemoryoutputstream.c:
2871 * gio/goutputstream.c:
2872 * gio/gsimpleasyncresult.c:
2873 * gio/gsocketinputstream.c:
2874 * gio/gsocketoutputstream.c:
2875 Add guards to the remaining public functions, add a TODO for
2876 an unimplemented function and remove some useless guards.
2878 2007-11-07 Alexander Larsson <alexl@redhat.com>
2881 Autoconf checks for the various types of
2882 getpwuid_r and getgrgid_r
2884 * gio/glocalfileinfo.c:
2885 Use the autoconf checks from above
2887 2007-11-07 Alexander Larsson <alexl@redhat.com>
2890 (g_local_file_query_filesystem_info):
2891 Some fixes for the statvfs case
2893 2007-11-07 Alexander Larsson <alexl@redhat.com>
2896 (g_local_file_query_filesystem_info):
2897 Pick the "best" of statfs / statvfs for the system
2898 if both are availible.
2900 2007-11-07 Alexander Larsson <alexl@redhat.com>
2902 Solaris fixes from Halton.Huo@Sun.COM:
2909 * gio/glocalfileinfo.c:
2910 Fix for solaris definition of getpwuid_r
2912 * gio/test-streams.c:
2913 Use G_GNUC_PRETTY_FUNCTION
2915 2007-11-07 Alexander Larsson <alexl@redhat.com>
2917 * gio/gdesktopappinfo.c:
2918 (update_default_list):
2919 Remove double semicolon.
2920 Patch from Jens Granseuer
2922 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2924 * docs/reference/gio/gio-sections.txt:
2925 * gio/gbufferedinputstream.c:
2926 * gio/gbufferedinputstream.h:
2927 * gio/gdatainputstream.c:
2928 * gio/gfileenumerator.c:
2929 * gio/gioscheduler.c:
2930 * gio/gunionvolumemonitor.c:
2932 * programs/gio-save.c:
2933 Fix typo: availible -> available. Unfortuntely this breaks API
2934 and ABI as g_buffered_input_stream_get_available() was renamed.
2936 * gio/gunixmounts.c:
2937 * gio/gbufferedinputstream.c:
2938 Add guards for public functions.
2940 2007-11-06 Ross Burton <ross@openedhand.com>
2942 * docs/reference/gio/Makefile.am:
2943 Fix invalid += usage which automake 1.10 doesn't like.
2945 2007-11-06 Alexander Larsson <alexl@redhat.com>
2948 (g_app_launch_context_class_init):
2951 Patch from Ross Burton
2953 2007-11-06 Alexander Larsson <alexl@redhat.com>
2956 Post release version bump
2958 === gio-standalone 0.1.1 ===
2960 2007-11-06 Alexander Larsson <alexl@redhat.com>
2963 Bump version to 0.1.1
2965 * gio/gsimpleasyncresult.c:
2966 (g_simple_async_result_set_from_error):
2967 Remove bogus g_return_if_fail
2969 2007-11-06 Alexander Larsson <alexl@redhat.com>
2972 The name is gio-standalone
2975 Add top src/builddir to includedir
2977 2007-11-06 Alexander Larsson <alexl@redhat.com>
2979 * docs/reference/gio/gio-sections.txt:
2981 * gio/gbufferedinputstream.c:
2982 * gio/gbufferedoutputstream.c:
2983 * gio/gcancellable.c:
2984 * gio/gdatainputstream.h:
2985 * gio/gdataoutputstream.c:
2986 * gio/gdataoutputstream.h:
2987 * gio/gdirectorymonitor.c:
2989 * gio/gfileattribute.c:
2990 * gio/gfileattribute.h:
2991 * gio/gfileenumerator.c:
2992 * gio/gfileenumerator.h:
2995 * gio/gfileinputstream.h:
2996 * gio/gfilemonitor.c:
2997 * gio/gfileoutputstream.h:
2998 * gio/glocalfilemonitor.h:
2999 * gio/glocalfileoutputstream.h:
3000 * gio/gmemoryinputstream.c:
3001 * gio/gmemoryoutputstream.c:
3002 * gio/gmountoperation.c:
3003 * gio/goutputstream.c:
3004 * gio/goutputstream.h:
3006 * gio/gsimpleasyncresult.c:
3007 * gio/gunixmounts.c:
3008 * gio/gunixmounts.h:
3010 * gio/inotify/inotify-helper.c:
3011 Fix gtk-doc warnings
3013 Patch from Ross Burton
3015 2007-11-06 Alexander Larsson <alexl@redhat.com>
3017 * gio/gfilenamecompleter.c:
3018 (g_filename_completer_get_completions):
3021 * gio/gunixvolume.c:
3022 Remove unused function
3024 Patches from Ross Burton
3026 2007-11-06 Alexander Larsson <alexl@redhat.com>
3031 Padding not needed for interfaces
3033 2007-11-06 Alexander Larsson <alexl@redhat.com>
3035 * gio/gfilemonitor.c:
3039 Make giotypes.h an internal file
3042 * gio/gbufferedinputstream.h:
3043 * gio/gbufferedoutputstream.h:
3044 * gio/gcancellable.h:
3045 * gio/gdatainputstream.h:
3046 * gio/gdataoutputstream.h:
3047 * gio/gdirectorymonitor.c:
3048 * gio/gdirectorymonitor.h:
3053 * gio/gfileattribute.h:
3054 * gio/gfileenumerator.h:
3059 * gio/gfilemonitor.c:
3060 * gio/gfilemonitor.h:
3061 * gio/gfilenamecompleter.c:
3062 * gio/gfilenamecompleter.h:
3063 * gio/gfilterinputstream.h:
3064 * gio/gfilteroutputstream.h:
3065 * gio/ginputstream.h:
3066 * gio/gmemoryinputstream.h:
3067 * gio/gmemoryoutputstream.h:
3068 * gio/gmountoperation.c:
3069 * gio/gmountoperation.h:
3070 * gio/gnativevolumemonitor.c:
3071 * gio/goutputstream.h:
3074 * gio/gsimpleasyncresult.c:
3075 * gio/gsimpleasyncresult.h:
3076 * gio/gsocketinputstream.h:
3077 * gio/gsocketoutputstream.h:
3078 * gio/gthemedicon.c:
3079 * gio/gthemedicon.h:
3083 * gio/gvolumemonitor.c:
3084 * gio/gvolumemonitor.h:
3085 Add padding in classes where it seems useful
3086 Don't include giotypes.h from public headers
3087 Move in Class definitions into c file where possible
3092 2007-11-06 Alexander Larsson <alexl@redhat.com>
3094 * docs/reference/gio/gio-docs.xml:
3095 Better structure for API docs
3097 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3100 * gio/gloadableicon.c:
3101 * gio/gsimpleasyncresult.c:
3102 * gio/gthemedicon.c:
3103 Add some more guards to public functions. Only files missing are now
3106 2007-11-06 Alexander Larsson <alexl@redhat.com>
3108 * docs/reference/gio/gio-docs.xml:
3109 Remove old files, add missing ones
3111 2007-11-06 Alexander Larsson <alexl@redhat.com>
3113 * docs/reference/gio/gio-sections.txt:
3116 Hide implementation classes
3118 * gio/gdriveprivate.h:
3119 * gio/gvolumeprivate.h:
3120 Remove non-existing function declarations
3122 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3125 Fix compilation warnings and add guards to the new functions.
3127 * gio/gasyncresult.c:
3129 Add guards to the public functions.
3132 Implement get_path().
3134 2007-11-06 Alexander Larsson <alexl@redhat.com>
3136 * gio/gfilenamecompleter.c:
3137 Make g_filename_completer_get_completions
3138 return char ** instead of GList for
3141 * docs/reference/gio/gio-docs.xml:
3142 * docs/reference/gio/gio-sections.txt:
3144 * gio/gasyncresult.c:
3145 * gio/gbufferedinputstream.c:
3146 * gio/gbufferedoutputstream.c:
3147 * gio/gcancellable.c:
3148 * gio/gcontenttype.c:
3149 * gio/gdatainputstream.c:
3150 * gio/gdataoutputstream.c:
3151 * gio/gdesktopappinfo.c:
3152 * gio/gdirectorymonitor.c:
3156 * gio/gfileattribute.c:
3157 * gio/gfileenumerator.c:
3160 * gio/gfileinputstream.c:
3161 * gio/gfilemonitor.c:
3162 * gio/gfilenamecompleter.c:
3163 * gio/gfilenamecompleter.h:
3164 * gio/gfileoutputstream.c:
3165 * gio/gfilterinputstream.c:
3167 * gio/ginputstream.c:
3169 * gio/gioscheduler.c:
3170 * gio/gloadableicon.c:
3171 * gio/glocaldirectorymonitor.c:
3173 * gio/glocalfileinputstream.c:
3174 * gio/glocalfilemonitor.c:
3175 * gio/glocalfileoutputstream.c:
3177 * gio/gmemoryinputstream.c:
3178 * gio/gmemoryoutputstream.c:
3179 * gio/gmountoperation.c:
3180 * gio/goutputstream.c:
3181 * gio/gpollfilemonitor.c:
3183 * gio/gsimpleasyncresult.c:
3184 * gio/gsocketinputstream.c:
3185 * gio/gsocketoutputstream.c:
3186 * gio/gthemedicon.c:
3187 * gio/gunionvolumemonitor.c:
3189 * gio/gunixmounts.c:
3190 * gio/gunixvolume.c:
3191 * gio/gunixvolumemonitor.c:
3195 * gio/gvolumemonitor.c:
3196 * gio/gwin32appinfo.c:
3197 Add (mostly stub) doc strings to public functions.
3198 Patch from Andrew Walton (awalton@gmail.com)
3200 2007-11-06 Alexander Larsson <alexl@redhat.com>
3202 * gio/gappinfo.[ch]:
3203 Added GAppLaunchContext object and pass that to launch.
3204 This allows simple implementation of both
3205 launch-on-screen and startup notification via a gtk+
3206 subclass of GAppLaunchContext
3208 * gio/gdesktopappinfo.c:
3209 Implement GAppLaunchContext API
3211 * gio/gwin32appinfo.c:
3214 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3216 * gio/gmountoperation.c:
3217 Add some guards to GMountOperation's public functions.
3219 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3223 * gio/gcancellable.c:
3224 * gio/gdirectorymonitor.c:
3226 * gio/gfileenumerator.c:
3227 * gio/gfilemonitor.c:,
3228 * gio/gfilenamecompleter.c:
3231 * gio/gioscheduler.c:
3235 * gio/gvolumemonitor.c:
3236 Add even more guards to various public functions.
3238 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3241 Add guards to the public functions of GAppInfo.
3243 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3245 * gio/gcontenttype.c:
3246 Add some more guards for public functions.
3248 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3250 * gio/fam/fam-module.c:
3251 * gio/fam/gfamdirectorymonitor.c:
3252 * gio/fam/gfamdirectorymonitor.h:
3253 * gio/fam/gfamfilemonitor.c:
3254 * gio/fam/gfamfilemonitor.h:
3255 * gio/inotify/ginotifydirectorymonitor.c:
3256 * gio/inotify/ginotifydirectorymonitor.h:
3257 * gio/inotify/ginotifyfilemonitor.c:
3258 * gio/inotify/ginotifyfilemonitor.h:
3259 Add proper copyright information and remove an unused variable
3260 in the GInotifyFileMonitor constructor.
3262 * gio/gcancellable.c:
3263 Add a guard for a public function and an assertion to prevent
3264 an undefined program state.
3266 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3268 * gio/gfileattribute.c:
3269 Don't run into an assertion if the given attribute value is NULL
3270 in g_file_attribute_value_get_*() but instead return a fallback
3271 value that makes sense in most situations. Passing them a attribute
3272 value with the wrong type will still run into an assertion.
3274 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3276 * gio/gfileattribute.c:
3278 Add even more guards to the public functions. Also fix the refcounting
3279 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3280 let g_file_info_list_attributes() filter the attributes by namespace
3281 instead of simply ignoring the namespace parameter.
3283 2007-11-03 Sven Herzberg <sven@imendio.com>
3285 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3286 (This makes gio work on MacOS X again)
3288 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3291 Build the gio subdirectory before the docs. Otherwise the build will
3294 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3295 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3296 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3297 Add guards to the public functions.
3299 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3301 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3302 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3303 to prevent a compiler warning.
3305 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3306 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3307 return something in the non-void function find_topdir_for().
3309 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3316 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3318 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3319 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3320 * gwin32appinfo.c (g_win32_app_info_launch):
3321 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3322 envp_for_startup_id, g_desktop_app_info_launch,
3323 g_desktop_app_info_launch_uris):
3325 Give an opaque 'startup_id' string instead of 'envp'.
3326 Support empty file lists for launching new windows.
3327 Fix infinite recursion bug when launching URIs.
3329 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3332 Add guard to the new g_file_get_uri_scheme() function.
3334 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3337 Convert a g_return_val_if_fail() to setting the GError instead as
3338 otherwise applications have to verify the parameter before otherwise
3339 and the parameter might come directly from the user.
3341 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3343 * gio/inotify/ginotify*.[ch]:
3344 Add missing copyright information.
3346 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3349 Add guards in the beginning of public functions to check for valid
3350 parameters and fix a bug in copy_stream_with_progress() that could've
3351 caused writing less bytes than reading.
3352 * gio/glocalfileinfo.c:
3353 Check for a NULL parameter and set the GError accordingly then.
3354 * gio/goutputstream.c:
3355 Fix the same bug as in gfile.c that could've caused writing less bytes
3356 than reading in g_output_stream_real_splice().
3358 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3361 Use the correct gvolumeprivate.h naming
3363 2007-11-01 Christian Kellner <gicmo@gnome.org>
3366 Remove leftover "$(daemon_sources)" entry.
3368 2007-11-01 Christian Kellner <gicmo@gnome.org>
3373 Add copyright information to source files.
3375 2007-11-01 Alexander Larsson <alexl@redhat.com>
3379 Add g_file_get_uri_scheme
3381 2007-11-01 Alexander Larsson <alexl@redhat.com>
3384 * gio/gdesktopappinfo.c:
3385 * gio/gwin32appinfo.c:
3386 Add g_app_info_get_default_for_uri_scheme.
3388 2007-11-01 Alexander Larsson <alexl@redhat.com>
3391 Correct filename for gdriveprivate.h
3393 2007-10-31 Alexander Larsson <alexl@redhat.com>
3396 Rename id:value to id:file
3399 * gio/glocalfileinfo.c:
3402 2007-10-31 Alexander Larsson <alexl@redhat.com>
3404 * gio/gunixvolume.c:
3406 Remove g_volume_get_platform_id, as thats not
3407 needed with the simpler union volume monitor
3409 2007-10-31 Alexander Larsson <alexl@redhat.com>
3412 * gio/guniondrive.[ch]: Removed.
3413 * gio/gunionvolume.[ch]: Removed.
3414 Remove GUnionDrive/Volume
3416 * gio/gunionvolumemonitor.c:
3417 Simplify union volume monitor, now we
3418 only have one native volume monitor and
3419 we use the actual volumes/drives from the
3420 child monitors instead of wrapping them
3422 * gio/gnativevolumemonitor.[ch]:
3423 Base class for native volume monitors.
3424 Includes priority and get_volume_for_mountpoint
3427 Add g_file_find_enclosing_volume
3430 Remove volume name fs attribute
3431 Add readonly fs attribute
3434 Implement readonly attribute
3435 remove volume name attribute
3436 Implement find_enclosing volume
3438 * gio/gunixmounts.c:
3439 Add a volume for "/".
3441 * gio/gunixvolume.[ch]:
3442 Set better name for /
3444 * gio/gunixvolumemonitor.[ch]:
3445 Derive from GNativeVolumeMonitor
3446 Implement get_volume_for_mountpoint
3449 GVolume typedef moved to gfile.h
3451 * gio/gvolumeprivate.h:
3452 Add g_volume_get_for_mount_path
3454 2007-10-31 Alexander Larsson <alexl@redhat.com>
3456 * gio/gunixmounts.[ch]:
3457 Add cache info to unix mount listers
3458 Make getmntent use threadsafe
3459 Add is_system_internal attribute for GUnixMount
3461 * gio/gunixvolume.c:
3462 (g_unix_volume_new):
3463 Use is_system_internal instead of own code
3465 * gio/glocaldirectorymonitor.c:
3466 * gio/gunixvolumemonitor.c:
3467 Update to new gunixmounts API
3472 2007-10-30 Alexander Larsson <alexl@redhat.com>
3475 Add volume name fsinfo attribute
3478 Read volume name info
3480 * gio/gunionvolumemonitor.c:
3481 Fix infinite loops when finalizing a union volume monitor
3483 2007-10-30 Alexander Larsson <alexl@redhat.com>
3485 * gio/goutputstream.[ch]:
3486 Add splice() with default implementation
3488 * gio/gsocketoutputstream.c:
3489 (g_socket_output_stream_write):
3490 Return error on cancellation correctly.
3492 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3494 * gio/glocalfile.c (g_local_file_trash):
3495 Do not leak a string.
3497 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3499 * gio/gfile.c (g_file_load_contents):
3500 Unref the stream after closing it.
3502 2007-10-25 Alexander Larsson <alexl@redhat.com>
3504 * gio/gioscheduler.h:
3507 2007-10-25 Alexander Larsson <alexl@redhat.com>
3511 Add g_file_has_uri_scheme and implement for local files
3513 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3515 * gio/gdesktopappinfo.c: do not leak a string.
3517 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3519 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3520 (g_local_directory_monitor_new):
3521 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3522 (g_local_file_monitor_new):
3523 Only look for the monitor type that should be used the first time
3524 and use g_qsort_with_data() instead of our own bubble sort
3527 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3530 * gio/fam/Makefile.am:
3531 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3532 * gio/fam/fam-helper.h:
3533 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3534 * gio/fam/gfamdirectorymonitor.c:
3535 * gio/fam/gfamdirectorymonitor.h:
3536 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3537 * gio/fam/gfamfilemonitor.h:
3538 * gio/glocaldirectorymonitor.c:
3539 * gio/glocaldirectorymonitor.h:
3540 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3541 * gio/glocalfilemonitor.h:
3542 * gio/inotify/Makefile.am:
3543 * gio/inotify/ginotifydirectorymonitor.c:
3544 * gio/inotify/ginotifydirectorymonitor.h:
3545 * gio/inotify/ginotifyfilemonitor.c:
3546 * gio/inotify/ginotifyfilemonitor.h:
3547 Implement the FAM and Inotify monitors as
3548 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3549 their own GIO module. GLocal(Directory|File)Monitor will use the
3550 monitor with the highest rank that is supported on that machine.
3552 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3555 Change GIO module dir to $(libdir)/gio/modules and change
3556 the log domain from GVFS to GIO. Also only export symbols starting
3557 with g_ in the resulting library.
3558 * gio/test-streams.c: (main):
3559 Set log handler for the GIO log domain.
3561 2007-10-22 Alexander Larsson <alexl@redhat.com>
3563 * gio/gfilenamecompleter.[ch]:
3564 Add g_filename_completer_set_dirs_only
3566 2007-10-22 Alexander Larsson <alexl@redhat.com>
3569 * gio/gurifuncs.[ch]:
3570 Add some simple URI helpers
3572 * gio/gfilenamecompleter.[ch]:
3573 Added object for filename (parse name actually) completion
3576 Handle ~ in parse names
3578 2007-10-17 Alexander Larsson <alexl@redhat.com>
3581 * gio/glocalfileinfo.c:
3582 Add and implement id:value attribute
3584 2007-10-17 Alexander Larsson <alexl@redhat.com>
3587 * gio/guniondrive.c:
3589 Add and implement g_drive_has_volumes
3591 2007-10-17 Alexander Larsson <alexl@redhat.com>
3594 * gio/glocalfileinfo.[ch]:
3595 Add unix:is_mountpoint and implement for local files
3597 2007-10-16 Alexander Larsson <alexl@redhat.com>
3599 * gio/gunionvolumemonitor.c:
3600 (g_union_volume_monitor_init):
3601 Fix up the unix type getting so that it works with gcc
3603 2007-10-12 Alexander Larsson <alexl@redhat.com>
3606 * gio/glocalfileinfo.c:
3607 Add thumbnail:failed to file info
3609 2007-10-12 Richard Hult <richard@imendio.com>
3611 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3612 optimizing away the get_type call (happens with some gcc versions,
3613 like the one shipped with OS X 10.4).
3615 2007-10-12 Alexander Larsson <alexl@redhat.com>
3617 * gio/glocalfileinfo.c:
3618 (_g_local_file_info_set_attribute):
3619 Fix build if not HAVE_XATTR
3620 Patch from Milosz Derezynski <internalerror@gmail.com>
3622 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3624 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3625 around for review, otherwise I would have asked you before
3628 2007-10-11 Alexander Larsson <alexl@redhat.com>
3631 Add thumbnail:path attribute
3633 * gio/glocalfileinfo.c:
3634 Implement thumbnail:path for local files
3636 2007-10-11 Alexander Larsson <alexl@redhat.com>
3638 * gio/glocalfileinfo.c:
3639 (_g_local_file_info_get):
3640 Avoid duplicate icon names
3642 2007-10-11 Alexander Larsson <alexl@redhat.com>
3644 * gio/gthemedicon.[ch]:
3645 Change g_themed_icon_get_names return type to const
3647 2007-10-10 Alexander Larsson <alexl@redhat.com>
3649 * gio/glocalfileinfo.c:
3650 Don't reference freed memory
3652 2007-10-10 Alexander Larsson <alexl@redhat.com>
3654 * gio/gfileattribute.c:
3657 * gio/glocalfileinfo.c:
3660 2007-10-10 Alexander Larsson <alexl@redhat.com>
3663 Check for NULL icons
3665 * gio/gfileattribute.c:
3666 Don't dup when getting objects (same as for string attributes)
3668 * gio/gicon.c (g_icon_equal):
3669 Safely handle NULLs in equal
3671 2007-10-10 Alexander Larsson <alexl@redhat.com>
3674 Fix c++ compilation issues
3675 Patch from Milosz Derezynski <internalerror@gmail.com>
3677 2007-10-10 Alexander Larsson <alexl@redhat.com>
3679 * programs/gio-monitor-dir.c:
3680 Don't crash if dir monitor not supported.
3682 2007-10-09 Alexander Larsson <alexl@redhat.com>
3685 Add missing G_END_DECLS
3687 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3689 * gio/gfile.c: (g_file_set_display_name),
3690 (g_file_query_settable_attributes),
3691 (g_file_query_writable_namespaces):
3692 Return NULL not FALSE on errors as the return type is a pointer.
3694 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3696 * gio/glocalfile.c: (g_local_file_monitor_file):
3697 Don't call monitor_file on the default interface vtable (which
3698 is NULL) but simply return NULL. The caller, GFile, will create a
3699 polling monitor if NULL is returned.
3701 2007-10-09 Alexander Larsson <alexl@redhat.com>
3705 * gio-unix-2.0.pc.in:
3706 Add gio-unix-2.0.pc if OS_UNIX
3709 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3711 2007-10-09 Alexander Larsson <alexl@redhat.com>
3713 * gio/gunixmounts.[ch]:
3714 Make unix mount monitoring API sane.
3715 Now its just a object with mounts_changed
3716 and mountpoints_changed signals.
3718 * gio/glocaldirectorymonitor.c:
3719 * gio/gunixvolumemonitor.c:
3720 Use new mount monitor api
3722 2007-10-09 Alexander Larsson <alexl@redhat.com>
3724 * gio/gunixmounts.[ch]:
3725 Move guess type into one call for mounts and one for mountpoints
3728 * gio/gunixvolume.c:
3731 2007-10-09 Alexander Larsson <alexl@redhat.com>
3733 * gio/gunixmounts.[ch]:
3734 Remove _ prefix in preparation to make this semi-public
3735 Hide implementation of structs
3737 * gio/glocaldirectorymonitor.c:
3739 * gio/gunixvolume.c:
3740 * gio/gunixvolumemonitor.c:
3741 Update for above API changes
3743 2007-10-08 Alexander Larsson <alexl@redhat.com>
3746 Better polling fallback. This also handles the case where we have
3747 a monitor_file implementation, but it fails.
3749 2007-10-08 Alexander Larsson <alexl@redhat.com>
3753 * gio/gunixmounts.c:
3754 * programs/gio-monitor-dir.c:
3755 * programs/gio-monitor-file.c:
3756 Added cancellable to file monitoring calls.
3757 These are really sync calls and need this.
3759 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3761 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3762 (g_local_vfs_class_init):
3763 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3764 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3766 2007-10-05 Alexander Larsson <alexl@redhat.com>
3768 * gio/gdirectorymonitorprivate.h:
3769 * gio/gfilemonitorprivate.h:
3770 * gio/gdirectorymonitor.h:
3771 * gio/gfilemonitor.h:
3772 Remove *private.h and move to the public API, so that
3773 we can do implementations outside gio (such as in gvfs)
3775 * gio/gdirectorymonitor.c:
3776 * gio/gfilemonitor.c:
3777 * gio/glocaldirectorymonitor.c:
3778 * gio/gpollfilemonitor.c:
3779 * gio/inotify/inotify-helper.c:
3780 * gio/fam/fam-helper.c:
3781 Update to the new header names
3783 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3785 * gio/gdirectorymonitor.c:
3786 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3789 2007-10-04 Alexander Larsson <alexl@redhat.com>
3791 * gio/glocalfileinfo.c (get_access_rights):
3792 Set CAN_TRASH when we can move the file.
3793 We should really also check for a parent trash dir.
3795 2007-10-04 Alexander Larsson <alexl@redhat.com>
3797 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3798 Add can_trash access attribute
3800 2007-10-04 Alexander Larsson <alexl@redhat.com>
3803 (g_local_file_trash):
3804 Create info file first. This is per-spec and allows
3805 us to actually trash directories.
3807 2007-10-02 Alexander Larsson <alexl@redhat.com>
3809 * gio/gdesktopappinfo.c:
3810 Implement the new mime support code.
3811 Always set app as handling mimetype when being set as default for it
3813 2007-10-01 Alexander Larsson <alexl@redhat.com>
3815 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3816 Fix up check for xattrs:
3818 2007-10-01 Alexander Larsson <alexl@redhat.com>
3821 (g_app_info_set_as_default_for_extension):
3822 (g_app_info_add_supports_type):
3823 (g_app_info_can_remove_supports_type):
3824 (g_app_info_remove_supports_type):
3825 Make these fail nicely if not implemented
3827 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3829 * gio/glocalfileoutputstream.c:
3830 * gio/glocalfileoutputstream.h:
3835 * programs/gio-save.c:
3836 Add a GFileCreateFlags argument to operations that can create
3839 2007-10-01 Alexander Larsson <alexl@redhat.com>
3841 * gio/gappinfo.[ch]:
3842 * gio/gdesktopappinfo.c:
3843 Add more (stubbed out) mime API needed for nautilus
3845 2007-10-01 Alexander Larsson <alexl@redhat.com>
3848 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3849 Add g_app_info_set_as_default_for_extension.
3851 * gio/gdesktopappinfo.c:
3852 Dummy for g_app_info_set_as_default_for_extension
3853 Support flags in g_app_info_create_from_commandline
3855 * gio/gwin32appinfo.c:
3857 Update for API changes
3859 * gio/gthemedicon.c:
3860 Properly NULL-terminate list of icon names
3862 2007-09-28 Alexander Larsson <alexl@redhat.com>
3864 * gio/gloadableicon.h:
3865 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3867 2007-09-28 Alexander Larsson <alexl@redhat.com>
3870 Install headers in $includedir/gio-standalone/
3872 * gio-2.0.pc.in: Added.
3873 * gio-standalone.pc.in: Removed.
3876 Renamed pkg-config file to match glib (for future move)
3877 Update to the new include dir
3880 Add more TODO comments
3882 2007-09-28 Alexander Larsson <alexl@redhat.com>
3884 * gio/gdesktopappinfo.[ch]:
3885 Expose new_from_filename
3886 Add getter for is_hidden and handle it better
3888 2007-09-28 Alexander Larsson <alexl@redhat.com>
3890 * gio/gfileinfo.[ch]:
3891 Rename g_file_size_format_for_display to
3892 g_format_file_size_for_display.
3893 Now it doesn't have the g_file prefix, so we
3894 can later move it to glib.
3896 2007-09-28 Alexander Larsson <alexl@redhat.com>
3898 * gio/gappinfo.[ch]:
3899 Add g_app_info_get_id and g_app_info_get_executable.
3900 Make all getters non-reffing
3901 Make g_app_info_launch take GFile arguments.
3902 Add must_support_uris argument to g_app_info_get_default_for_type.
3904 * gio/gwin32appinfo.c:
3905 Update to GAppInfo api changes
3907 * gio/gdesktopappinfo.c:
3908 Update to GAppInfo api changes
3909 Implement supports_xdg_startup_notify
3911 * gio/gfileicon.c (g_file_icon_get_file):
3912 Make getter non-reffing.
3917 2007-09-27 Alexander Larsson <alexl@redhat.com>
3919 * gio/gfileinfo.[ch]:
3920 Add g_file_size_format_for_display helper
3922 2007-09-27 Alexander Larsson <alexl@redhat.com>
3924 * gio/glocalfileinfo.c:
3925 Set UNIX_GID from gid, not from uid
3927 2007-09-27 Alexander Larsson <alexl@redhat.com>
3930 Add g_file_set_attributes_async
3932 2007-09-27 Alexander Larsson <alexl@redhat.com>
3934 * gio/glocalfile.c (g_local_file_set_display_name):
3935 Fix set_display_name to actually rename to the right place.
3936 Use lstat to look for existing files so we don't overwrite
3939 2007-09-26 Alexander Larsson <alexl@redhat.com>
3942 Add g_file_set_display_name_async()
3944 2007-09-26 Alexander Larsson <alexl@redhat.com>
3947 Add load_partial_contents async calls
3950 Make internal function static
3952 2007-09-26 Alexander Larsson <alexl@redhat.com>
3954 * gio/glocalfileinfo.c:
3955 Correctly detect broken symlinks
3957 2007-09-26 Alexander Larsson <alexl@redhat.com>
3959 * gio/gcancellable.c (g_cancellable_cancel):
3960 Allow cancel on NULL cancellable
3962 2007-09-25 Alexander Larsson <alexl@redhat.com>
3964 * gio/gsimpleasyncresult.c:
3965 Don't allocate g_error manually.
3966 Fixes g_slice/g_new mixup crash
3968 2007-09-25 Alexander Larsson <alexl@redhat.com>
3970 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3971 Actually set active_backend.
3972 This means the monitor will be cancelled correctly.
3974 2007-09-25 Alexander Larsson <alexl@redhat.com>
3976 * gio/gdirectorymonitor.c:
3977 Set timeout to NULL when destroying
3979 2007-09-25 Alexander Larsson <alexl@redhat.com>
3982 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3983 that is a better description of the error.
3985 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3987 * gio/gvfs.c: (g_vfs_get_local):
3988 Make the local vfs variable static. The same instance should
3991 2007-09-24 Alexander Larsson <alexl@redhat.com>
3993 * gio/glocalfileinfo.c:
3994 Pass in actual length read into sniffer, not the length
3997 2007-09-21 Alexander Larsson <alexl@redhat.com>
3999 * gio/gfileenumerator.c:
4002 * gio/gfileinputstream.c:
4003 * gio/gfileoutputstream.c:
4004 * gio/ginputstream.c:
4005 * gio/goutputstream.c:
4006 Don't crash if async callbacks are NULL
4008 2007-09-20 Alexander Larsson <alexl@redhat.com>
4011 Add async enumerate_children method and default
4014 2007-09-20 Alexander Larsson <alexl@redhat.com>
4017 Add g_file_contains_file & g_file_get_relative_path, since they
4018 were needed for nautilus.
4019 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4024 Implement new methods
4026 2007-09-17 Alexander Larsson <alexl@redhat.com>
4029 * gio/gfileinputstream.[ch]:
4030 * gio/gfileoutputstream.[ch]:
4032 * gio/glocalfileenumerator.[ch]:
4033 * gio/glocalfileinfo.[ch]:
4034 * gio/glocalfileinputstream.c:
4035 * gio/glocalfileoutputstream.c:
4036 * gio/gpollfilemonitor.c:
4037 * programs/gio-copy.c:
4038 * programs/gio-info.c:
4039 * programs/gio-move.c:
4040 Rename get_file_info to query_info() to make it clearer
4041 that these are not simple getters, but do i/o.
4043 2007-09-17 Alexander Larsson <alexl@redhat.com>
4045 * gio/gdatainputstream.[ch]:
4046 * gio/test-streams.c:
4047 Use _read_XXX instead of _get_XXX for the i/o calls
4050 2007-09-17 Alexander Larsson <alexl@redhat.com>
4053 Added needed stuff to TODO comment
4055 2007-09-17 Alexander Larsson <alexl@redhat.com>
4057 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4058 Don't error out removing the backup copy if it doesn't
4061 2007-09-14 Alexander Larsson <alexl@redhat.com>
4063 * programs/Makefile.am:
4064 * programs/gvfs-*.c:
4066 Renamed apps from gvfs-xxx to gio-xxx.
4068 2007-09-14 Alexander Larsson <alexl@redhat.com>
4071 * gio/gfileoutputstream.[ch]:
4072 * gio/glocalfileoutputstream.c:
4073 * programs/gvfs-save.c:
4074 g_file_output_stream_get_etag doesn't do i/o, so remove
4075 cancellation and error.
4077 2007-09-14 Alexander Larsson <alexl@redhat.com>
4080 Add new_etag output to replace_contents functions
4082 2007-09-14 Alexander Larsson <alexl@redhat.com>
4084 * gio/gfileoutputstream.[ch]:
4085 Add async get_file_info and default implementation
4087 2007-09-14 Alexander Larsson <alexl@redhat.com>
4089 * gio/gfileinputstream.c:
4090 Implement fallback wrapper for async get_file_info
4092 2007-09-14 Alexander Larsson <alexl@redhat.com>
4095 Add etag out argument to load_contents
4100 2007-09-14 Alexander Larsson <alexl@redhat.com>
4102 * gio/gcontenttype.c (looks_like_text):
4103 Whitespace like tab, cr and lf do not make the
4106 2007-09-14 Alexander Larsson <alexl@redhat.com>
4108 * gio/gfileinputstream.[ch]:
4109 Add async get_file_info.
4111 2007-09-13 Alexander Larsson <alexl@redhat.com>
4113 * gio/goutputstream.c (g_output_stream_write_all):
4114 Allow NULL for bytes_written
4116 2007-09-13 Alexander Larsson <alexl@redhat.com>
4118 * gio/gmemoryinputstream.[ch]:
4119 Add accessors for data
4121 2007-09-13 Alexander Larsson <alexl@redhat.com>
4123 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4124 Don't crash if length is NULL