1 2008-03-14 Alexander Larsson <alexl@redhat.com>
5 Shut down fam (including removing fam GSource) when
6 module is unloaded (#521513)
7 Patch from Joe Marcus Clarke
9 2008-03-14 Alexander Larsson <alexl@redhat.com>
12 (_g_io_modules_ensure_loaded):
15 2008-03-14 Alexander Larsson <alexl@redhat.com>
18 (g_local_file_query_filesystem_info):
19 Use right define name for f_fstypename member check
21 2008-03-14 Alexander Larsson <alexl@redhat.com>
24 * fen/Makefile.am: Added.
25 * fen/fen-data.[ch]: Added.
26 * fen/fen-dump.[ch]: Added.
27 * fen/fen-helper.[ch]: Added.
28 * fen/fen-kernel.[ch]: Added.
29 * fen/fen-missing.[ch]: Added.
30 * fen/fen-node.[ch]: Added.
31 * fen/fen-sub.[ch]: Added.
32 * fen/gfendirectorymonitor.[ch]: Added.
33 * fen/gfenfilemonitor.[ch]: Added.
35 Added Solaris FEN file notification backend.
36 Patch from Lin Ma <Lin.Ma@Sun.COM>
38 2008-03-13 Tor Lillqvist <tml@novell.com>
40 * Makefile.am: Actually use the gio.def file when linking the
41 library on Windows. Produce .lib library for Microsoft's toolchain
42 when possible. Install the .lib and .def file like for the other
45 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
47 * tests/live-g-file.c:
48 Include live-g-file in standard set of tests, making a temporary
49 directory in source structure.
51 Clean target directory before the tests (write mode only)
53 2008-03-12 Tor Lillqvist <tml@novell.com>
55 Bug 517419 - gio win32 directory monitor
56 Implementation by Vlad Grecescu.
59 * win32/gwin32directorymonitor.h
60 * win32/gwin32directorymonitor.c: New files.
62 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
64 * Makefile.am: Add the win32 subdirectory.
66 2008-03-12 Tor Lillqvist <tml@novell.com>
68 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
69 normal struct stat on Unix but struct _stati64 on Windows to have
70 access to 64-bit file size information. Use that instead of struct
71 stat in the functions declared here in this private header.
73 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
74 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
75 warnings about unused functions and variables. Don't set
76 meaningless attributes like inode numbers on Windows.
78 2008-03-12 Benjamin Otte <otte@gnome.org>
81 trim whitespace so gtk-doc groks the function name
83 2008-03-12 Tor Lillqvist <tml@novell.com>
85 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
86 returning FALSE, on Win32.
88 2008-03-11 Alexander Larsson <alexl@redhat.com>
91 * glocalfileinfo.[ch]:
92 Correctly implement can_trash by actually
93 looking for a trash dir, not just assuming
96 2008-03-10 Matthias Clasen <mclasen@redhat.com>
98 * === Released 2.16.1 ===
100 2008-03-11 Alexander Larsson <alexl@redhat.com>
103 Fix crashes in new constructor and properties code
105 2008-03-10 Murray Cumming <murrayc@murrayc.com>
107 * gfile.c: Minor spelling correction in documentation:
108 existance -> existence.
110 2008-03-10 Matthias Clasen <mclasen@redhat.com>
112 * === Released 2.16.0 ===
114 2008-03-10 Matthias Clasen <mclasen@redhat.com>
116 * gio.symbols: Remove g_file_contains_file here, too.
118 2008-03-10 Matthias Clasen <mclasen@redhat.com>
120 * gthemedicon.c: Add properties to make bindings happy. (#517676,
121 Samuel Cormier-Iijima)
123 2008-03-08 Tor Lillqvist <tml@novell.com>
125 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
128 2008-03-07 Alexander Larsson <alexl@redhat.com>
131 (g_local_file_query_filesystem_info):
132 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
133 Patch from Jasper Lievisse Adriaanse
135 2008-03-06 Tor Lillqvist <tml@novell.com>
137 * gfileinfo.h: Correct milliseconds to microseconds in the doc
138 comments for the *_USEC attributes.
140 2008-03-06 Alexander Larsson <alexl@redhat.com>
142 * gfile.c (g_file_query_exists):
143 Add g_return_val_if_fail check (#520700)
145 2008-03-06 Alexander Larsson <alexl@redhat.com>
150 * gunionvolumemonitor.c:
153 * tests/live-g-file.c:
154 * xdgmime/xdgmimecache.c:
155 Fix sparse warnings (#519489)
157 2008-03-05 Alexander Larsson <alexl@redhat.com>
160 Make cancellation threadsafe (i.e.
161 guarantee its only done once, and always
164 * glocaldirectorymonitor.c:
165 Make sure we the monitor lives while the
166 mounts_changed callback is being called (#520484)
168 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
170 * gbufferedinputstream.c: Fix typo in parameter
173 2008-03-04 Alexander Larsson <alexl@redhat.com>
176 Remove deprecated symbols we kept for one release.
178 2008-03-04 Murray Cumming <murrayc@murrayc.com>
181 * goutputstream.c: Tiny documentation corrections.
183 2008-03-03 Alexander Larsson <alexl@redhat.com>
185 * gunionvolumemonitor.c:
187 Fix the adopt_orphan_mount vfunc to take a
188 volume_monitor reference in an ABI compat way.
189 This change is not API compat, but the added
190 arg is not used in the only user of this vfunc, so
191 all we get is a harmless warning in gvfs (#520169)
193 2008-03-01 Benjamin Otte <otte@gnome.org>
196 clarify docs for g_file_delete().
198 2008-02-29 Alexander Larsson <alexl@redhat.com>
202 Make sure empty files get text/plain type (#518720)
204 2008-02-27 Alexander Larsson <alexl@redhat.com>
210 (g_unix_volume_mount):
211 Add missing GMountMountFlags argument
213 2008-02-26 Alexander Larsson <alexl@redhat.com>
216 (g_local_file_delete):
217 Handle filesystems (like ntfs-3g) that return EEXIST instead
218 of ENOTEMPTY (#518816)
220 2008-02-25 Matthias Clasen <mclasen@redhat.com>
222 * === Released 2.15.6 ===
224 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
226 * gfile.c (g_file_find_enclosing_mount):
227 * ginputstream.c (g_input_stream_set_pending):
228 * glocalfile.c (g_local_file_find_enclosing_mount):
229 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
230 * goutputstream.c (g_output_stream_set_pending):
232 Fixup translator comments (#518578).
234 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
236 * gfile.c (g_file_find_enclosing_mount):
238 * glocalfile.c (g_local_file_find_enclosing_mount):
241 Fix a few typos in translator comments and documentation.
243 2008-02-25 Alexander Larsson <alexl@redhat.com>
250 Add translator comments (#518578)
252 2008-02-25 Alexander Larsson <alexl@redhat.com>
255 Reintroduce g_file_contains_file, keep around for one
256 unstable release cycle to avoid crashing to many apps.
257 Make sure to delete after release.
259 2008-02-25 Alexander Larsson <alexl@redhat.com>
262 Remove deprecated g_file_contains_file.
264 2008-02-25 Alexander Larsson <alexl@redhat.com>
267 Emit actual change signals in an idle handler.
268 This avoids reentrance and locking problems in
269 the file notification backends.
271 2008-02-25 Alexander Larsson <alexl@redhat.com>
274 (g_unix_mount_guess_should_display):
275 Remove type guessing, instead just display
276 mounts in /media and in ~/.
278 2008-02-25 Alexander Larsson <alexl@redhat.com>
281 Make new strings reuse old ones.
283 2008-02-25 Alexander Larsson <alexl@redhat.com>
286 Implement trashing and filesystem::readonly for win32 (#517235)
287 Patch from Yevgen Muntyan
289 2008-02-23 Matthias Clasen <mclasen@redhat.com>
291 * gfileinfo.h: Documentation fixes.
293 2008-02-22 Alexander Larsson <alexl@redhat.com>
295 * gcontenttype.c (g_content_type_get_icon):
296 Look at old-style gnome mime icon names too, as many
297 have not moved to the new style.
299 2008-02-21 Matthias Clasen <mclasen@redhat.com>
301 * *.c: Correct the @include in for section docs.
303 2008-02-21 David Zeuthen <davidz@redhat.com>
305 * glocalfileinfo.c: (_g_local_file_info_get):
307 (g_content_type_get_icon): Implement this function by
308 moving bits from glocalfileinfo.c
309 (g_content_type_get_description): Unalias before getting
310 description (#517687)
312 * gfile.c: (g_file_class_init),
313 (g_file_query_filesystem_info_async),
314 (g_file_query_filesystem_info_finish),
315 (query_filesystem_info_data_free),
316 (query_filesystem_info_async_thread),
317 (g_file_real_query_filesystem_info_async),
318 (g_file_real_query_filesystem_info_finish):
319 * gfile.h: Implement async version of
320 g_file_query_filesystem_info()
322 * gfileinfo.h: Add new attributes for filesystem::use-preview
324 * gio.symbols: Update
326 * gthemedicon.c: (g_themed_icon_append_name):
327 * gthemedicon.h: Add new new convenience function.
329 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
330 (get_mounts), (get_volumes), (get_connected_drives),
331 (get_volume_for_uuid), (get_mount_for_uuid),
332 (g_union_volume_monitor_init), (populate_union_monitor),
333 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
334 (g_volume_monitor_adopt_orphan_mount):
336 * gvolumemonitor.h: Use recursive locks so it's safe for volume
337 monitor implementations to call into the main volume monitor. Also
338 separate object initialization and volume monitor initialization
339 such that non-native volume monitors can properly adopt their
342 2008-02-21 Alexander Larsson <alexl@redhat.com>
347 2008-02-21 Alexander Larsson <alexl@redhat.com>
350 Add more documentation about how GFiles work (from #517086)
352 2008-02-21 Alexander Larsson <alexl@redhat.com>
356 Add new g_file_has_prefix that does the same as g_file_contains_file.
357 Deprecate g_file_contains_file and add a macro that converts
358 it to g_file_has_prefix.
359 The reason for this change is that the contains_file() name seems to
360 imply that this does more work than what it does, but its really only
361 a name match (from #517086)
366 Update to match the above change.
368 2008-02-20 Benjamin Otte <otte@gnome.org>
370 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
371 (g_file_eject_mountable):
372 even more cases of not returning in error path
374 2008-02-20 Benjamin Otte <otte@gnome.org>
376 * gfile.c: (g_file_mount_mountable):
377 return from function in error path.
379 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
382 Remove trailing coma in GMountMountFlags struct
384 2008-02-18 Alexander Larsson <alexl@redhat.com>
388 * glocalfileoutputstream.c:
389 Use g_unlink/g_rename instead of unlink/rename;
390 do not pass raw filenames to g_set_error. (#517239)
391 Patch from Yevgen Muntyan.
393 2008-02-18 Alexander Larsson <alexl@redhat.com>
396 * glocalfileoutputstream.c:
397 Open files with O_BINARY on windows. (#517140)
399 2008-02-14 Alexander Larsson <alexl@redhat.com>
401 * glocalfileoutputstream.c:
402 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
404 2008-02-14 Alexander Larsson <alexl@redhat.com>
407 Copy permissions with file on copy (#514084)
408 This is what cp does and makes sure e.g. the
409 exec permissions are kept.
410 Its kinda weird in that it keeps the permission bits
411 the same while the uid and gid are different. However
412 the new uid is the user so its not a security issue,
413 and I've heard no complaints about cp on this issue.
415 2008-02-13 Ryan Lortie <desrt@desrt.ca>
417 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
419 2008-02-13 Alexander Larsson <alexl@redhat.com>
421 * inotify/inotify-path.c:
422 Define IN_ONLYDIR if not in header (#515346)
424 2008-02-12 Alexander Larsson <alexl@redhat.com>
426 * tests/live-g-file.c:
429 2008-02-11 Matthias Clasen <mclasen@redhat.com>
431 * === Released 2.15.5 ===
433 2008-02-11 Matthias Clasen <mclasen@redhat.com>
435 * gio.symbols: Add g_mount_mount_flags_get_type.
437 2008-02-11 Alexander Larsson <alexl@redhat.com>
440 (g_file_info_set_attribute_mask):
441 (g_file_attribute_matcher_matches_id):
442 Correctly handle NULL GAttributeMatcher meaning
443 matches nothing. (Fixes #513492)
445 2008-02-11 Alexander Larsson <alexl@redhat.com>
450 Added GMountMountFlags enum and added a flags
451 argument to all mount calls.
453 This is an API/ABI change for future extensibility,
454 as I think we will need at least an
455 inhibit-autorun flag (the panel needs this).
456 There are no flags defined yet though.
458 2008-02-11 Alexander Larsson <alexl@redhat.com>
461 Added new standard::description attribute.
462 Requested by Vincent, and useful for both
465 2008-02-11 Alexander Larsson <alexl@redhat.com>
470 2008-02-11 Matthias Clasen <mclasen@redhat.com>
472 * *.c: Documentation additions
474 2008-02-10 Matthias Clasen <mclasen@redhat.com>
476 * gappinfo.h: Formatting cleanup
477 * gappinfo.c: Fix up docs.
479 2008-02-09 Matthias Clasen <mclasen@redhat.com>
481 * gunixmounts.c: Consistently use getmntent_r() and fall
482 back to getmntent(). (#515492)
484 2008-02-09 Matthias Clasen <mclasen@redhat.com>
486 * gbufferedinputstream.c:
488 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
490 * tests/data-input-stream.c:
491 * tests/data-output-stream.c: Portability fixes.
493 2008-02-08 Alexander Larsson <alexl@redhat.com>
498 Add g_volume_should_automount.
501 2008-02-07 Tor Lillqvist <tml@novell.com>
503 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
504 Win32, too Unix-specific.
506 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
508 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
509 a local plt if the compiler doesn't support what we want. Bug #514702
511 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
513 reviewed by: <delete if not using a buddy>
516 * gunixinputstream.c:
517 * gunixoutputstream.c:
519 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
522 * tests/live-g-file.c:
523 * tests/live-g-file.txt:
524 New GIO testing module working over real data
526 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
528 * glocalfileoutputstream.c (g_local_file_output_stream_close):
529 Fallback to rename() if link() is not available
530 (when no support on target filesystem)
532 2008-02-06 Michael Natterer <mitch@imendio.com>
534 * gfileinfo.c (g_file_info_get_icon): replace
535 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
537 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
539 * gfile.c (g_file_create):
540 Documentation update of error codes
542 2008-02-06 Alexander Larsson <alexl@redhat.com>
545 Update to use both mimeapps.list and
546 defaults.list as discussed on xdg list.
548 2008-02-06 Benjamin Otte <otte@gnome.org>
551 * gfilenamecompleter.c:
552 Fix some typos in the documentation.
554 2008-02-06 Alexander Larsson <alexl@redhat.com>
556 * glocalfile.c (g_local_file_trash):
557 Don't succeed with trash if newly created
558 trash dir has the wrong owner. (#514696)
560 2008-02-05 Alexander Larsson <alexl@redhat.com>
562 * glocalfile.c (g_local_file_move):
563 Don't spew warnings when destination is not
566 2008-02-03 Hans Breuer <hans@breuer.org>
568 * makefile.msc : update
570 2008-02-01 Michael Natterer <mitch@imendio.com>
572 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
573 return value of xdg_mime_list_mime_parents() to a variable of the
576 2008-02-01 Alexander Larsson <alexl@redhat.com>
578 * gappinfo.c (g_app_info_launch_uris):
579 Actually call the launch_uris method, not
582 2008-02-01 Alexander Larsson <alexl@redhat.com>
584 * gdesktopappinfo.c (g_desktop_app_info_equal):
585 Ensure appinfos with no id but same pointer value
588 2008-02-01 Alexander Larsson <alexl@redhat.com>
590 * gappinfo.c (g_app_info_launch_default_for_uri):
593 2008-02-01 Alexander Larsson <alexl@redhat.com>
597 Add g_app_info_launch_default_for_uri utility
600 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
603 Doc fix for g_app_info_get_default_for_uri_scheme ()
606 2008-01-30 Alexander Larsson <alexl@redhat.com>
609 Add doc comment about uris vs GFiles to
613 Ensure uris passed to g_app_info_launch_uris()
614 are not roundtriped through GFile (as that
615 may be slightly destructive for e.g. mailto: links)
617 2008-01-30 Alexander Larsson <alexl@redhat.com>
619 * tests/data-input-stream.c:
620 * tests/data-output-stream.c:
621 C89 fixes from Jens Granseuer (#512849)
623 2008-01-30 Alexander Larsson <alexl@redhat.com>
626 Fix gamin/fam difference build issue. (#509419)
628 2008-01-29 Alexander Larsson <alexl@redhat.com>
632 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
634 2008-01-29 Alexander Larsson <alexl@redhat.com>
638 giomodule-priv.h include moved to .c file.
640 2008-01-29 Alexander Larsson <alexl@redhat.com>
642 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
643 Remove unused prio/name fields.
645 2008-01-29 Alexander Larsson <alexl@redhat.com>
647 * gcontenttype.c (looks_like_text):
648 Don't treat whitespace as control chars.
650 2008-01-29 Alexander Larsson <alexl@redhat.com>
653 Lazily create the desktop files for appinfos created
654 by g_app_info_create_from_commandline() when needed
655 for mime associations. This allows run-time use
656 of GAppInfo object without creating unnecessary
659 2008-01-29 Alexander Larsson <alexl@redhat.com>
662 Added new symbols to gio.symbols
664 2008-01-29 Alexander Larsson <alexl@redhat.com>
667 Add g_file_query_default_handler utility to easily look up
668 the GAppInfo that handles a file.
670 * gdesktopappinfo.[ch]:
672 Set up an extension point for g_app_info_get_default_for_uri_scheme()
675 Remove unused function
677 2008-01-29 Alexander Larsson <alexl@redhat.com>
680 Mention need to free returned value in
681 g_file_enumerator_next_files_finish docs.
682 Fix leak if g_file_enumerator_next_files_finish()
685 2008-01-29 Alexander Larsson <alexl@redhat.com>
688 (_g_unix_content_type_get_parents):
689 Use list_parents, not get_parents from xdgmime, because
690 the later doesn't use the cache.
692 * xdgmime/xdgmimecache.c:
693 (_xdg_mime_cache_list_mime_parents):
694 Don't list the same type as parent multiple times.
696 2008-01-28 Matthias Clasen <mclasen@redhat.com>
698 * === Released 2.15.4 ===
700 2008-01-28 Alexander Larsson <alexl@redhat.com>
703 Register local vfs with prio 0.
706 Remove old name and prio class members
708 2008-01-28 Matthias Clasen <mclasen@redhat.com>
710 * tests/g-file.c: Disable some tests that are failing in
711 the absence of a http backend.
713 2008-01-28 Alexander Larsson <alexl@redhat.com>
717 Add registration hooks for extension points.
718 Register the gio extension points.
720 * fam/gfamdirectorymonitor.c:
721 * fam/gfamfilemonitor.c:
722 * glocaldirectorymonitor.[ch]:
723 * glocalfilemonitor.[ch]:
724 * gnativevolumemonitor.h:
725 * gunionvolumemonitor.c:
726 * gunixvolumemonitor.c:
729 * inotify/ginotifydirectorymonitor.c:
730 * inotify/ginotifyfilemonitor.c:
731 Use the extension points registration instead
732 of g_type_children().
734 2008-01-28 Matthias Clasen <mclasen@redhat.com>
737 * gvolume.[hc]: Document new API.
739 * gfile.c (g_file_copy_async): Fix docs
741 2008-01-27 Matthias Clasen <mclasen@redhat.com>
743 * gbufferedinputstream.c:
745 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
748 2008-01-27 Matthias Clasen <mclasen@redhat.com>
750 * glocalfile.c: Avoid trivial differences in translatable strings.
752 2008-01-25 Matthias Clasen <mclasen@redhat.com>
754 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
755 build with gcc 3.4 (#509419)
757 2008-01-25 Matthias Clasen <mclasen@redhat.com>
759 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
760 (#509994, Murray Cumming)
762 2008-01-25 Matthias Clasen <mclasen@redhat.com>
764 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
765 * gioscheduler.c: Keep calling io jobs until they return FALSE;
766 this allows big jobs to be executed in chunks, instead of blocking
767 the main loop for a long time.
769 * gsimpleasyncresult.c:
770 * giofile.c: Adapt callers.
772 2008-01-25 Alexander Larsson <alexl@redhat.com>
775 Implement changes discussed on xdg list.
776 Now we can add supported mimetypes by just using defaults.list
777 We can also remove associations in defaults.list.
779 2008-01-25 Alexander Larsson <alexl@redhat.com>
782 Don't make local copy of desktop file
783 for mimetype changes if the file already
784 supports the new mimetype.
786 2008-01-25 Matthias Clasen <mclasen@redhat.com>
790 * gbufferedinputstream.c:
791 * glocalfile.c: String improvements. (#511966,
792 Theppitak Karoonboonyanan)
794 2008-01-24 Matthias Clasen <mclasen@redhat.com>
796 * gioscheduler.h: Expand docs a bit.
798 2008-01-24 Alexander Larsson <alexl@redhat.com>
801 Add g_drive_get_identifier and
802 g_drive_enumerate_identifiers
805 Add g_volume_get_identifier and
806 g_volume_enumerate_identifiers
812 Implement identifiers for unix backend
814 2008-01-24 Alexander Larsson <alexl@redhat.com>
819 Add g_file_copy_async() (#511580)
820 Based on patch from Carlos Garcia Campos
822 2008-01-23 Matthias Clasen <mclasen@redhat.com>
824 * gioscheduler.c: Some documentation additions.
826 2008-01-22 Alexander Larsson <alexl@redhat.com>
829 (g_desktop_app_info_new):
832 2008-01-22 Alexander Larsson <alexl@redhat.com>
835 (g_desktop_app_info_new_from_filename):
838 2008-01-22 Alexander Larsson <alexl@redhat.com>
840 * glocalfileinfo.c (get_thumbnail_attributes):
843 2008-01-22 Alexander Larsson <alexl@redhat.com>
846 (canonicalize_filename):
847 Canonicalize paths that start with more than
852 (test_g_file_new_for_path):
855 2008-01-22 Alexander Larsson <alexl@redhat.com>
858 Allow UTF-8 in file:// parse names.
861 * tests/data-input-stream.c:
862 * tests/data-output-stream.c:
863 * tests/g-file-info.c:
865 Added a bunch of tests from Tomas Bzatek
867 2008-01-21 Matthias Clasen <mclasen@redhat.com>
869 * === Released 2.15.3 ===
871 2008-01-21 Alexander Larsson <alexl@redhat.com>
873 * gfileinputstream.[ch]:
874 * gfileoutputstream.[ch]:
876 Remove duplicated GSeekable functions. (#509990)
877 Just use the g_seekable_xxx() calls instead.
879 2008-01-21 Matthias Clasen <mclasen@redhat.com>
882 * gvolumemanager.c: Whitespace cleanups.
884 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
885 Use the right mode when creating the file.
887 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
890 * gfileinputstream.c:
892 * goutputstream.c: Documentation: Fixed minor typos
893 and added more mentions of specific _finish() functions.
895 2008-01-21 Alexander Larsson <alexl@redhat.com>
897 * inotify/Makefile.am:
898 * inotify/inotify-helper.c:
899 * inotify/inotify-kernel.c:
900 * inotify/inotify-path.c:
901 * inotify/local_inotify.h: Removed.
902 * inotify/local_inotify_syscalls.h: Removed.
903 Removed the included copies of the inotify
904 headers. We now only use the <sys/inotify.h>
905 header which exists on modern systems.
906 This fixes problems on ARM and SH5 (#510448)
907 but is also generally much cleaner and future
908 safe. For instance, if other OSes add support
909 for inotify it should "just work".
911 2008-01-20 Matthias Clasen <mclasen@redhat.com>
913 * inotify/*.c: Coding style fixes.
914 * inotify/inotify-missing.c: Use g_timeout_add_seconds
915 for the 1/4 Hz timer.
917 2008-01-20 Matthias Clasen <mclasen@redhat.com>
921 * gmemoryinputstream.c:
922 * gmemoryoutputstream.c:
924 * gthemedicon.c: Documentation updates
926 2008-01-20 Murray Cumming <murrayc@murrayc.com>
928 * gfile.c: documentation: Fixed more minor
931 2008-01-18 Murray Cumming <murrayc@murrayc.com>
933 * gmount.c: (g_mount_remount): documentation:
934 Mention g_mount_remount_finish() instead of
935 g_mount_unmount_finish().
937 2008-01-18 Murray Cumming <murrayc@murrayc.com>
941 * gfile.c: Fixed some minor typos in the
944 2008-01-18 Murray Cumming <murrayc@murrayc.com>
946 * gio/gvolumemonitor.c:
947 (g_volume_monitor_get_connected_drives):
948 (g_volume_monitor_get_volumes):
949 (g_volume_monitor_get_mounts): Documentation:
950 Clarify the ownership of the regurn GLists.
952 2008-01-17 Alexander Larsson <alexl@redhat.com>
955 Add the async find_enclosing_mount version
956 to the header file too.
958 2008-01-17 Alexander Larsson <alexl@redhat.com>
961 Add async version of find_enclosing_mount
962 with default implementation.
964 2008-01-17 Alexander Larsson <alexl@redhat.com>
969 Allow calls to implementation of copy and write
970 even if the type of the file implementations is
971 different. This can be used to implement native
972 upload and download calls in a vfs.
976 Protect against the case where move is called
977 with one file not being local.
979 Make sure we call the progress callback once
980 in the native move operation so that the caller
981 knows how many bytes were copied.
983 2008-01-16 Murray Cumming <murrayc@murrayc.com>
986 * gdatainputstream.c:
988 * gfileoutputstream.c:
993 * gunixmounts.c: Corrected some typos in the documentation:
995 its -> it's (where appropriate).
997 2008-01-16 Alexander Larsson <alexl@redhat.com>
1001 Add g_file_query_exists (#508771)
1003 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1008 * gvolume.c: For async functions that have no non-async
1009 version, document that the GAsyncReadyCallback may be NULL.
1012 2008-01-15 Alexander Larsson <alexl@redhat.com>
1014 * gmemoryinputstream.c:
1015 * gmemoryoutputstream.c:
1016 Don't do pointer arithmetic on void * (#508602)
1017 Patch from Kazuki IWAMOTO
1019 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1021 * === Released 2.15.2 ===
1023 2008-01-14 Alexander Larsson <alexl@redhat.com>
1025 * gfile.c (g_file_monitor_file):
1026 Don't set error here, since we fallback to polling monitor.
1028 2008-01-14 Alexander Larsson <alexl@redhat.com>
1031 (g_file_monitor_directory):
1032 (g_file_monitor_file):
1033 Add GError to file monitor calls
1035 * glocaldirectorymonitor.c:
1036 * glocaldirectorymonitor.h:
1038 * glocalfilemonitor.c:
1039 * glocalfilemonitor.h:
1041 Update for above change
1043 2008-01-14 Alexander Larsson <alexl@redhat.com>
1047 Handle root correctly in g_file_get_relative_path (#508719)
1049 2008-01-14 Alexander Larsson <alexl@redhat.com>
1052 Clean up docs and example for GAsyncResult (#508074)
1054 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1056 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1057 and correct some spelling mistakes. Bug #508108.
1059 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1061 * glocalfileinfo.c: Add a comment.
1063 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1065 * gfileinfo.c: GFileInfo description: Mention
1066 how to actually set attributes in a GFile and how to discover
1067 which attributes are settable. Bug #508378.
1069 2008-01-10 A. Walton <awalton@svn.gnome.org>
1071 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1072 (g_app_info_get_default_for_type):
1073 Check for NULL content types.
1075 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1077 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1079 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1081 * gfile.c: *_async() functions: Several small corrections
1082 to the documentation, mostly correcting copy/paste errors
1083 and improving some sentences.
1085 2008-01-09 Dan Winship <danw@gnome.org>
1087 * glocalfile.c (get_unique_filename): x86_64 fix
1089 2008-01-09 Alexander Larsson <alexl@redhat.com>
1094 Add g_unix_mount_guess_should_display and use
1095 for unix volume monitor backend.
1096 This means we more or less show what the
1097 gnome-vfs backend did.
1098 Based on patch from Padraig O'Briain
1100 2008-01-09 Alexander Larsson <alexl@redhat.com>
1104 Add g_themed_icon_new_with_default_fallbacks
1107 Use default fallbacks for icons
1109 2008-01-09 Alexander Larsson <alexl@redhat.com>
1112 * gmountoperation.[ch]:
1113 Change the API a bit so that unhandled methods
1114 get reported via the reply, rather than by
1115 the signal emission return value. This is because
1116 some handlers can't know this immediately without
1117 doing I/O, and this is an async operation that
1120 2008-01-09 Alexander Larsson <alexl@redhat.com>
1123 * fam/gfamdirectorymonitor.c:
1124 * fam/gfamfilemonitor.c:
1125 Fix double free crash (#508224)
1126 Patch from Joe Marcus Clarke
1128 008-01-07 Matthias Clasen <mclasen@redhat.com>
1130 * === Released 2.15.1 ===
1132 2008-01-07 Alexander Larsson <alexl@redhat.com>
1134 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1135 Fix warning (#507835)
1137 2008-01-07 Alexander Larsson <alexl@redhat.com>
1140 Pass --internal to glib-genmarshal
1143 * gmountoperation.c:
1145 Use better types for signal arguments (#507822)
1147 2008-01-07 Alexander Larsson <alexl@redhat.com>
1150 Build test subdir after .
1151 Remove gdirectorymonitor.[ch]
1153 * gdirectorymonitor.[ch]:
1157 Remove GDirectoryMonitor and make
1158 GFileMonitor the baseclass for both file and
1159 directory monitors. Lift the more generic
1160 rate limiting code from GDirectoryMonitor
1164 * fam/gfamdirectorymonitor.[ch]:
1165 * inotify/ginotifydirectorymonitor.[ch]:
1166 * inotify/inotify-helper.c:
1167 * glocaldirectorymonitor.[ch]:
1170 Update for the removed GDirectoryMonitor.
1172 * gmemoryoutputstream.c:
1173 Remove ununsed variable
1175 2008-01-07 Alexander Larsson <alexl@redhat.com>
1177 * gmemoryinputstream.c:
1178 Translate error strings
1181 * gmemoryoutputstream.[ch]:
1182 New implementation that avoids using GByteArray
1183 in implementation and API. (#506377)
1185 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1187 * tests/*: Add a test for memory input streams.
1189 * Makefile.am: Add tests to SUBDIRS.
1191 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1193 * glocalfilemonitor.c:
1194 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1197 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1199 * gdesktopappinfo.c: Fix a docs typo.
1201 * gfileattribute.c: Add information about extended attributes
1202 to the documentation. (#505058)
1204 2008-01-04 Alexander Larsson <alexl@redhat.com>
1207 * gmountoperation.c:
1208 Use the right type (uint) for the ask_password signal.
1210 2008-01-04 Alexander Larsson <alexl@redhat.com>
1215 Add g_app_info_supports_files()
1216 Remove desktop arg from g_app_info_should_show().
1218 * gdesktopappinfo.[ch]:
1219 Implement g_app_info_supports_files() and new should_show()
1220 Add g_desktop_app_info_set_desktop_env() to set the desktop
1221 for should_show(). (This will be set by gtk+ later)
1223 2008-01-04 Alexander Larsson <alexl@redhat.com>
1226 * gmemoryinputstream.[ch]:
1227 Improve API so that you can use multiple chunks
1228 of memory and custom destroy functions. (#506374)
1230 2008-01-03 Alexander Larsson <alexl@redhat.com>
1233 Handle NULL attribute matchers safely, as we return this
1234 for empty attribute matcher strings.
1236 2008-01-03 Alexander Larsson <alexl@redhat.com>
1238 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1239 Add /usr/local to list of internal mountpoints
1241 2008-01-03 Alexander Larsson <alexl@redhat.com>
1244 Check for HAVE_LCHOWN (#505887)
1246 2008-01-03 Alexander Larsson <alexl@redhat.com>
1250 Add define for selinux context attribute.
1251 Fix missing : -> :: namespace separator change
1252 Fix missing _ -> - name change for xattr-sys.
1255 2008-01-03 Alexander Larsson <alexl@redhat.com>
1258 Link to libglib and libgobject directly (#504879)
1259 Patch from Sebastien Bacher
1261 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1263 * gfile.c: Expanded the g_file_new_for_commandline_arg
1264 description a bit, based on the code and the docs of the
1265 other g_file_new_for_* functions.
1267 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1269 * gfilemonitor.h: Fixed typo in docs.
1271 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1273 Updates to GIO documentation. (#506395, Mikael Hermansson)
1275 * gcontenttype.c: Describe memory management for return value of
1276 g_content_types_get_registered(). Missing piece from #505815.
1277 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1278 GVolume, GDrive, GMounts, which hopefully gives the user less
1279 confusions when using this API. Following explainations from
1280 Alexander Larsson on gtk-devel-list.
1282 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1284 * gfileinfo.c: Expand the long description.
1286 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1289 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1290 fix builds with --disable-visibility. (#500273, Christian Persch)
1292 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1294 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1295 in the list of returned app infos.
1297 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1299 * gappinfo.c: Fix a cross-reference
1301 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1303 * gfileinputstream.c:
1304 * gfileoutputstream.c:
1308 * gdesktopappinfo.c:
1310 * gfileinfo.c: Documentation updates.
1312 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1314 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1317 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1319 * gcontenttype.c (g_content_types_get_registered): Don't return
1320 freed memory (#505815, Mikael Hermansson)
1322 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1324 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1325 used to detect statbuf->st_blocks. (#505042)
1327 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1329 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1330 environment handling. (#504829, Cosimo Cecchi)
1332 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1334 * gappinfo.c: Doc improvements
1336 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1339 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1341 * === Released 2.15.0 ===
1343 2007-12-20 Hans Breuer <hans@breuer.org>
1345 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1346 with symbols gwin32appinfo.obj, added gmount.obj
1347 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1349 2007-12-20 Alexander Larsson <alexl@redhat.com>
1355 * gfilenamecompleter.c:
1358 * gpollfilemonitor.c:
1359 File attribute renames:
1361 fs:: -> filesystem::
1362 id::fs -> id::filesystem
1364 2007-12-20 Alexander Larsson <alexl@redhat.com>
1373 Add GMountUnmountFlags to all unmount and
1375 Add g_mount_remount() call.
1377 2007-12-20 Alexander Larsson <alexl@redhat.com>
1379 * gvfs.c (get_default_vfs):
1380 Fix unused variable warning
1382 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1384 * pltcheck.sh: Update
1386 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1388 * gunionvolumemonitor.c:
1389 * gunixmount.c: Remove C99 comments
1391 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1393 * gio.symbols: Add some missing symbols
1395 2007-12-19 Alexander Larsson <alexl@redhat.com>
1398 Make g_io_modules_load_all_in_directory not unuse
1399 loaded modules so that users of it can do stuff
1401 Init internal "module" types.
1402 Initialize static prio and name for types so that
1403 we don't have to load modules to get it.
1405 * gnativevolumemonitor.h:
1407 Move is_supported to parent class so that
1408 non-native monitors can avoid being initialized
1409 too. (For instance GDaemonVolumeMonitor if we're
1410 not using GDaemonVfs.)
1412 * glocaldirectorymonitor.[ch]:
1413 * glocalfilemonitor.[ch]:
1414 * gunionvolumemonitor.c:
1415 * gunixvolumemonitor.c:
1417 Find plugins using the static prio+name to
1418 avoid unnecessarily loading the modules.
1420 2007-12-19 Alexander Larsson <alexl@redhat.com>
1425 2007-12-19 Alexander Larsson <alexl@redhat.com>
1427 * gunionvolumemonitor.c:
1428 Store the native type as GType, not class so that
1429 we can unload it. But still avoid unnecessarily
1432 2007-12-19 David Zeuthen <davidz@redhat.com>
1434 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1435 add signals 'disconnected' and 'eject-button' on GDrive. Add
1436 signal 'removed' on GVolume and 'unmounted' on GMount.
1438 * gdrive.c: (g_drive_base_init):
1440 * gfile.c: (g_file_mount_mountable),
1441 (g_file_mount_enclosing_volume):
1444 * gmount.c: (g_mount_base_init):
1446 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1447 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1448 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1452 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1454 * *.c: Fix up includes in the section docs.
1456 2007-12-17 Alexander Larsson <alexl@redhat.com>
1458 * gnativevolumemonitor.h:
1459 * gunionvolumemonitor.c:
1460 * gunixvolumemonitor.c:
1461 Add is_supported() to GNativeVolumeMonitorClass so
1462 that we can avoid having to create an object to see
1463 if the backend is supported at runtime.
1464 Also add name member and an env var to pick a specific
1465 volume monitor backend.
1469 Add cancellable to _g_mount_get_for_mount_path()
1471 * glocaldirectorymonitor.c:
1472 * glocalfilemonitor.c:
1473 Avoid loading and unloading modules while sorting.
1475 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1478 * gunixmounts.[hc]: Namespace waste reduction, move some
1479 g_get_unix_mount functions to the g_unix_mount namespace.
1482 * gunixvolumemonitor.c:
1484 * glocaldirectorymonitor.c: Update all callers.
1486 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1488 2007-12-17 Alexander Larsson <alexl@redhat.com>
1491 Add doc comments about what GFile operations are
1492 guaranteed to not block.
1494 2007-12-17 Alexander Larsson <alexl@redhat.com>
1497 Add missing #ifdef fixing OSX build.
1498 (#503334, patch from Richard Hult)
1500 2007-12-14 David Zeuthen <davidz@redhat.com>
1504 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1505 (g_mount_eject), (g_mount_eject_finish):
1507 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1508 (get_volume_for_uuid), (get_mount_for_uuid),
1509 (g_union_volume_monitor_class_init),
1510 (get_default_native_type_with_exclude), (get_default_native_type),
1511 (get_native_type), (update_native_type),
1512 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1513 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1514 (g_unix_mount_can_eject), (eject_unmount_cb),
1515 (eject_unmount_read_error), (eject_unmount_do),
1516 (g_unix_mount_unmount), (g_unix_mount_eject),
1517 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1518 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1519 (g_unix_mount_point_guess_can_eject):
1521 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1522 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1523 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1524 (g_unix_volume_mount), (g_unix_volume_eject),
1525 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1526 * gunixvolumemonitor.c: (get_volume_for_uuid),
1527 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1529 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1530 (g_volume_eject), (g_volume_eject_finish):
1532 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1533 (g_volume_monitor_get_mount_for_uuid):
1536 Provide eject() on both GMount and GVolume and utility functions
1537 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1538 ejected. Introduce the concept of UUID's and wire it into GVolume
1539 and GMount and provide API on GVolumeMonitor to find such
1540 instances. Also handle the case where an external
1541 GNativeVolumeMonitor fails to initialize. Lock around the
1542 _g_get_mount_for_mount_path() function such that volume monitor
1543 implementations won't have to do locking themselves.
1545 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1547 * gdesktopappinfo.c:
1553 * gvolume.h: Documentation updates
1555 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1558 * gfile.h: Doc updates
1560 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1563 * gdesktopappinfo.c: Use hash table iterators.
1565 2007-12-14 Alexander Larsson <alexl@redhat.com>
1568 * gfileattribute.[ch]:
1569 * gfileattribute-priv.h:
1570 Move GFileAttributeValue to a private header, as
1574 Make set_attribute take a type + a pointer instead
1575 of a GFileAttributeValue.
1578 Fix up for above changes.
1579 Add g_file_info_get_attribute_data to get
1580 all info in one call, g_file_info_get_attribute_status
1581 to get the status and g_file_info_get_attribute_as_string.
1585 * glocalfileinfo.[ch]:
1589 Make _guess_type static.
1591 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1594 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1595 made mkenums and friends use temporary files to avoid leaving
1596 empty generated files on failure (#503470).
1598 2007-12-14 Alexander Larsson <alexl@redhat.com>
1600 * gmountoperation.h:
1603 2007-12-14 Alexander Larsson <alexl@redhat.com>
1607 * gfileattribute.[ch]:
1610 * glocalfileoutputstream.c:
1611 * gmountoperation.[ch]:
1612 * goutputstream.[ch]:
1613 Clean up all flags enums to not have _FLAGS in them
1614 Make the names of some of the enums better.
1619 2007-12-14 Michael Natterer <mitch@imendio.com>
1621 * gio.symbols: fix g_io_scheduler symbol names.
1623 2007-12-14 Alexander Larsson <alexl@redhat.com>
1629 * gbufferedinputstream.h:
1630 * gbufferedoutputstream.h:
1633 * gdatainputstream.h:
1634 * gdataoutputstream.h:
1635 * gdesktopappinfo.h:
1636 * gdirectorymonitor.h:
1640 * gfileenumerator.h:
1643 * gfileinputstream.h:
1645 * gfilenamecompleter.h:
1646 * gfileoutputstream.h:
1647 * gfilterinputstream.h:
1648 * gfilteroutputstream.h:
1656 * gmemoryinputstream.h:
1657 * gmemoryoutputstream.h:
1659 * gmountoperation.h:
1662 * gsimpleasyncresult.h:
1664 * gunixinputstream.h:
1666 * gunixoutputstream.h:
1670 * inotify/Makefile.am:
1671 Only allow including <gio/gio.h> from apps
1673 2007-12-14 Alexander Larsson <alexl@redhat.com>
1675 * gioscheduler.[ch]:
1676 * gsimpleasyncresult.c:
1677 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1678 Split out the send_to_mainloop call into two versions instead
1679 of having the block argument.
1681 2007-12-13 Alexander Larsson <alexl@redhat.com>
1683 * gcancellable.[ch]:
1685 * gbufferedinputstream.c:
1686 * gfileenumerator.c:
1687 * gfileinputstream.c:
1688 * gfileoutputstream.c:
1692 g_push/pop_current_cancellable ->
1693 g_cancellable_push/pop_current
1695 2007-12-13 Alexander Larsson <alexl@redhat.com>
1699 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1701 2007-12-13 Alexander Larsson <alexl@redhat.com>
1703 * gmountoperation.h:
1704 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1706 2007-12-12 Alexander Larsson <alexl@redhat.com>
1709 Fix race condition when freeing proxy in
1710 g_io_job_send_to_mainloop().
1712 2007-12-12 Alexander Larsson <alexl@redhat.com>
1718 Make attribute namespace separator "::" instead of ":".
1719 Use - instead of _ as separator in attribute names.
1721 2007-12-12 Alexander Larsson <alexl@redhat.com>
1723 * gbufferedinputstream.h:
1724 * gbufferedoutputstream.h:
1725 * gdatainputstream.h:
1726 * gdataoutputstream.h:
1727 * gdirectorymonitor.h:
1728 * gfileenumerator.h:
1729 * gfileinputstream.h:
1731 * gfileoutputstream.h:
1732 * gfilterinputstream.h:
1733 * gfilteroutputstream.h:
1735 * glocalfileinputstream.h:
1736 * glocalfileoutputstream.h:
1737 * gmemoryinputstream.h:
1738 * gmemoryoutputstream.h:
1739 * gnativevolumemonitor.h:
1741 * gunixinputstream.h:
1742 * gunixoutputstream.h:
1745 s/parent/parent_instance/ in GObjects
1747 2007-12-12 Alexander Larsson <alexl@redhat.com>
1752 No need for padding for interfaces
1754 2007-12-12 Alexander Larsson <alexl@redhat.com>
1758 * gbufferedinputstream.c:
1759 * gbufferedoutputstream.c:
1762 * gdatainputstream.[ch]:
1763 * gdesktopappinfo.c:
1764 * gdirectorymonitor.c:
1766 * gfileattribute.[ch]:
1769 * gfileinputstream.h:
1770 * gfilemonitor.[ch]:
1771 * gfileoutputstream.[ch]:
1772 * gfilterinputstream.h:
1773 * gfilteroutputstream.h:
1776 * gloadableicon.[ch]:
1777 * gmemoryinputstream.c:
1778 * gmountoperation.c:
1780 Fix up a bunch of details in the docs.
1785 2007-12-11 David Zeuthen <davidz@redhat.com>
1787 Rework how volumes, drives and volume monitoring is
1788 done. Previosly the model was
1790 GDrive <1-1> GVolume
1792 where a GDrive instance represented a mount point and a GVolume
1793 instance represented a mounted file system. This patch changes it
1796 GDrive <1-N> GVolume <1-1> GMount
1798 where GMount now serves the purpose of the old GVolume and the new
1799 GVolume serves the purpose of the old GDrive. In addition the new
1800 GDrive interface is used to represent a collection of GVolume
1801 instances (typically partitions) and also contains utility to query
1802 the state of the physical drive the GDrive object represents (such
1803 as checking for media, polling the drive, ejecting the media etc.).
1805 Also implement mounting and unmounting in the Unix volume monitor
1806 backend. A subquent patch will introduce GDrive support for ejection
1810 * gdrive.c: (g_drive_is_media_check_automatic),
1811 (g_drive_is_media_removable), (g_drive_has_media),
1812 (g_drive_can_poll_for_media), (g_drive_eject),
1813 (g_drive_eject_finish), (g_drive_poll_for_media),
1814 (g_drive_poll_for_media_finish):
1816 * gfile.c: (g_file_find_enclosing_mount):
1819 * glocaldirectorymonitor.c:
1820 (g_local_directory_monitor_constructor), (mounts_changed):
1821 * glocalfile.c: (get_mount_info),
1822 (g_local_file_find_enclosing_mount),
1823 (g_local_file_file_iface_init):
1824 * gnativevolumemonitor.h:
1825 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1826 (get_connected_drives), (g_union_volume_monitor_class_init),
1827 (child_volume_added), (child_volume_removed),
1828 (child_volume_changed), (child_mount_added), (child_mount_removed),
1829 (child_mount_pre_unmount), (child_mount_changed),
1830 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1831 (g_union_volume_monitor_remove_monitor),
1832 (_g_mount_get_for_mount_path):
1833 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1834 (guess_system_internal), (_g_get_unix_mounts),
1835 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1836 (g_unix_mount_free), (g_unix_mount_compare),
1837 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1838 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1839 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1840 (type_to_icon), (g_unix_mount_guess_name),
1841 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1842 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1843 (_resolve_symlink), (_resolve_dev_root):
1845 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1846 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1847 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1848 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1849 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1850 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1851 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1852 (g_unix_volume_volume_iface_init):
1854 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1855 (get_mounts), (get_volumes), (get_connected_drives),
1856 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1857 (mountpoints_changed), (mounts_changed),
1858 (g_unix_volume_monitor_init),
1859 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1860 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1861 * gunixvolumemonitor.h:
1862 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1863 (g_volume_mount), (g_volume_mount_finish):
1865 * gvolumemonitor.c: (g_volume_monitor_class_init),
1866 (g_volume_monitor_get_connected_drives),
1867 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1870 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1872 * gmountoperation.h (GPasswordFlags): Close the gap
1874 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1876 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1878 * gdesktopappinfo.[hc]: Remove _-prefixes
1880 2007-12-10 Tor Lillqvist <tml@novell.com>
1882 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1885 2007-12-10 Alexander Larsson <alexl@redhat.com>
1887 * gfile.c (g_file_set_display_name):
1888 Don't hardcode '/' (#502727)
1890 2007-12-09 Hans Breuer <hans@breuer.org>
1892 * makefile.msc : follow lib naming convention
1893 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1894 for user and group name, tested with ../tests/gio-ls
1896 2007-12-09 A. Walton <awalton@svn.gnome.org>
1898 * gdesktopappinfo.c:
1904 * gfileenumerator.c:
1909 * gmemoryinputstream.c:
1910 * gmemoryoutputstream.c:
1912 * gsimpleasyncresult.c:
1913 More documentation cleanup and filling in missing information, bringing
1914 GIO to 99% symbol coverage.
1916 2007-12-08 Hans Breuer <hans@breuer.org>
1918 [gio compiles and links on win32, not sure how much already works]
1919 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1920 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1921 base on win32 API; prefer g_lstat() over lstat(); instead of
1922 localtime_r() use an all GLib implementation on win32;
1923 get_mount_info() still needs a win32 specifc implementation
1924 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1925 win32_get_file_user_info to get owner/group info without uid/gid
1926 * glocalfileinputstream.c : include <io.h> on win32
1927 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1928 definition, use g_win32_ftruncate() for G_OS_WIN32
1929 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1930 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1931 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1932 * makefile.msc : updated
1934 2007-12-07 Alexander Larsson <alexl@redhat.com>
1936 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1937 Avoid warning spew if error == NULL
1939 2007-12-07 Alexander Larsson <alexl@redhat.com>
1942 Update docs wrt etags
1944 2007-12-06 Alexander Larsson <alexl@redhat.com>
1947 Include sys/types.h for dev_t (#501919)
1949 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1953 Make abicheck and pltcheck pass.
1955 2007-12-05 Alexander Larsson <alexl@redhat.com>
1958 * giomodule-priv.h: Added.
1959 * glocaldirectorymonitor.c:
1960 * glocalfilemonitor.c:
1961 * gunionvolumemonitor.c:
1963 Actually add the declaration of _g_io_modules_ensure_loaded
1965 2007-12-05 Alexander Larsson <alexl@redhat.com>
1967 * gdatainputstream.c:
1972 * glocaldirectorymonitor.c:
1973 * glocalfilemonitor.c:
1974 * gunionvolumemonitor.c:
1976 Make g_io_modules_ensure_loaded a private function and
1977 don't pass in the dirname. This means we can do magic
1978 directory finding in the win32 version.
1979 Export the actual load-modules-in-directory code so that
1980 gvfs can reuse that.
1982 2007-12-05 Alexander Larsson <alexl@redhat.com>
1984 * gbufferedinputstream.c:
1985 * gbufferedoutputstream.c:
1988 * gfileenumerator.[ch]:
1989 * gfileinputstream.c:
1990 * gfileoutputstream.[ch]:
1991 * gfilterinputstream.c:
1992 * gfilteroutputstream.c:
1993 * ginputstream.[ch]:
1995 * glocalfileenumerator.c:
1996 * glocalfileinputstream.c:
1997 * glocalfileoutputstream.c:
1998 * gmemoryinputstream.c:
1999 * gmemoryoutputstream.c:
2000 * goutputstream.[ch]:
2003 * gunixinputstream.c:
2004 * gunixoutputstream.c:
2005 Rename all struct members named:
2006 read, write, close, truncate, or mount
2007 to foo_fn, as these are reserved names
2008 and could be defined as macros in libc.
2011 2007-12-04 Alexander Larsson <alexl@redhat.com>
2014 (g_output_stream_close):
2015 Only call flush if non-null.
2017 2007-11-30 Dan Winship <danw@gnome.org>
2019 * ginputstream.c (g_input_stream_set_pending): Make this take a
2020 GError and return a gboolean, and do the "outstanding operation"
2021 check (and the "stream is already closed" check) itself.
2022 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2024 * goutputstream.c (g_output_stream_set_pending)
2025 (g_output_stream_clear_pending): Likewise
2027 * gbufferedinputstream.c:
2028 * gfileinputstream.c:
2029 * gfileoutputstream.c: Update for that
2031 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2032 Like g_simple_async_report_error_in_idle, but takes a GError
2033 rather than building one.
2035 2007-11-30 Dan Winship <danw@gnome.org>
2037 * goutputstream.c: Don't cheat and unset the "pending" flag around
2038 inner calls. Instead, call the class method directly rather than
2039 the wrapper function that checks "pending"
2041 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2043 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2045 2007-12-03 Hans Breuer <hans@breuer.org>
2047 [start of port to win32/msvc]
2048 * gcancellable.c : HAVE_UNIST_H and _pipe()
2049 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2050 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2051 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2053 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2054 * glocalvfs.c : use HAVE_PWD_H
2055 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2056 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2057 * Makefile.am : added to EXTRA_DIST
2059 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2061 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2064 2007-12-03 Alexander Larsson <alexl@redhat.com>
2067 Handle OSX style xattrs API (#500506)
2069 2007-12-03 Alexander Larsson <alexl@redhat.com>
2073 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2075 2007-12-02 A. Walton <awalton@svn.gnome.org>
2079 Documentation accuracy fixes.
2081 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2083 * gioenumtypes.c.template: Fix typo.
2085 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2087 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2089 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2091 * gdirectorymonitor.c:
2092 * gfilemonitor.c: Add properties
2094 * gbufferedoutputstream.c: Don't mark buffer-size property
2097 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2099 * gbufferedoutputstream.c: Add auto-grow property.
2101 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2103 * *.c: Unify the capitalization of section headings.
2105 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2107 * gmountoperation.c: Add properties
2109 * gdatainputstream.c: Turn byte-order and newline-type into
2112 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2114 * gioenumtypes.[hc].template: Templates for enum registration
2116 * Makefile.am: Generate gioenumtypes.[hc]
2118 * gio.h: Include gioenumtypes.h
2120 * gfile.h: Add some explicit nicks.
2122 * gio.symbols: Add new symbols
2124 * pltcheck.sh: Adjust
2126 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2128 * *.c: Explain etags and link to the explanation
2130 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2132 * *.c: Explain I/O priority.
2134 * *.c: More coding style fixes.
2136 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2138 * gasyncresult.c: Add another paragraph to the intro,
2139 adjust coding style of example.
2141 2007-11-29 A. Walton <awalton@svn.gnome.org>
2144 Fixes unknown meaning in GAppLaunchContext docs.
2146 Clarify asynchronous ops.
2148 Fix entity tag docs.
2151 Provides missing gtk-doc section, fixes API docs slighly.
2152 * gsimpleasyncresult.c:
2153 Fill in missing info in docs.
2154 * gunixinputstream.c:
2155 * gunixoutputstream.c:
2156 Be more expressive in short description.
2158 Remove gtk-doc stubs for non-public API.
2160 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2162 * *.c: Coding style fixups
2164 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2166 * inotify/inotify-helper.c: Don't export the lock from libgio.
2168 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2171 * abicheck.sh: Fix copy-and-paste leftovers
2173 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2175 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2177 2007-11-28 Alexander Larsson <alexl@redhat.com>
2181 Removed unnecessary file
2183 * gdesktopappinfo.[ch]:
2186 * glocaldirectorymonitor.[ch]:
2188 * glocalfileenumerator.[ch]:
2189 * glocalfileinputstream.[ch]:
2190 * glocalfilemonitor.[ch]:
2191 * glocalfileoutputstream.[ch]:
2193 * gnativevolumemonitor.c:
2194 * gpollfilemonitor.[ch]:
2195 * gunionvolumemonitor.[ch]:
2198 * gunixvolumemonitor.[ch]:
2201 * inotify/ginotifydirectorymonitor.[ch]:
2202 * inotify/ginotifyfilemonitor.[ch]:
2203 * inotify/inotify-helper.c:
2204 Append _ to all internal functions
2208 Export symbols needed for modules
2210 2007-11-28 Alexander Larsson <alexl@redhat.com>
2213 * abicheck.sh: Added.
2214 * makegioalias.pl: Added.
2215 * pltcheck.sh: Added.
2216 * gio.symbols: Added.
2219 Initial work on adding symbol handling.
2222 Correct ifdef guard name
2225 * inotify/Makefile.am:
2226 * xdgmime/Makefile.am:
2227 Include toplevel Makefile.decl
2229 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2231 * gcontenttype.c: Move doc comments to the unix section.
2233 * *.[hc]: More trivial doc corrections.
2235 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2237 * gpollfilemonitor.c:
2241 * gdesktopappinfo.c:
2246 * gdatainputstream.c:
2247 * gdatainputstream.h:
2248 * gdataoutputstream.c:
2249 * gdataoutputstream.h:
2250 * gfileinfo.h: Doc cleanups
2252 2007-11-28 Andre Klapper <a9016009@gmx.de>
2254 * gdesktopappinfo.c: Fix a typo.
2256 2007-11-27 Andre Klapper <a9016009@gmx.de>
2258 * glocalfileoutputstream.c: Fix a typo.
2260 2007-11-27 Alexander Larsson <alexl@redhat.com>
2263 Don't include removed headers
2265 2007-11-27 Alexander Larsson <alexl@redhat.com>
2268 * gsocketinputstream.[ch]: Removed.
2269 * gsocketoutputstream.[ch]: Removed.
2270 * gunixinputstream.[ch]: Added.
2271 * gunixoutputstream.[ch]: Added.
2272 Renamed GSocket*Stream to GUnix*Stream and made
2273 it unix-only, since its not really only for sockets
2274 and it only works on unix (but is highly useful there).
2276 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2282 * gbufferedinputstream.c:
2283 * gbufferedinputstream.h:
2284 * gbufferedoutputstream.c:
2285 * gbufferedoutputstream.h:
2289 * gdatainputstream.c:
2290 * gdatainputstream.h:
2291 * gdataoutputstream.c:
2292 * gdataoutputstream.h:
2293 * gdirectorymonitor.c:
2294 * gdirectorymonitor.h:
2301 * gfileenumerator.c:
2302 * gfileenumerator.h:
2307 * gfileinputstream.c:
2308 * gfileinputstream.h:
2311 * gfilenamecompleter.c:
2312 * gfilenamecompleter.h:
2313 * gfileoutputstream.c:
2314 * gfileoutputstream.h:
2315 * gfilterinputstream.c:
2316 * gfilterinputstream.h:
2317 * gfilteroutputstream.c:
2318 * gfilteroutputstream.h:
2331 * glocalfileoutputstream.c:
2332 * gmemoryinputstream.c:
2333 * gmemoryinputstream.h:
2334 * gmemoryoutputstream.c:
2335 * gmemoryoutputstream.h:
2336 * gmountoperation.c:
2337 * gmountoperation.h:
2340 * gpollfilemonitor.c:
2343 * gsimpleasyncresult.c:
2344 * gsimpleasyncresult.h:
2345 * gsocketinputstream.c:
2346 * gsocketinputstream.h:
2347 * gsocketoutputstream.c:
2348 * gsocketoutputstream.h:
2355 * gunixvolumemonitor.c:
2364 Bumps documentation to 93% symbol coverage, touching most
2365 of the public files. Fixes broken function documentation prototypes.
2366 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2367 gtk-doc headers in private files.
2369 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2371 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2372 (g_buffered_input_stream_read_byte):
2373 * gbufferedinputstream.h:
2374 New functions for efficient access to buffer and simple single byte
2377 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2378 (g_data_input_stream_read_until):
2379 * gdatainputstream.h:
2380 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2381 read_until with multiple stop chars.
2383 2007-11-27 Alexander Larsson <alexl@redhat.com>
2387 * inotify/Makefile.am:
2388 Use the user-specified giomoduledir
2390 2007-11-27 Alexander Larsson <alexl@redhat.com>
2394 Add catch-all gio.h header
2395 Don't install gdummyfile.h
2397 2007-11-26 Alexander Larsson <alexl@redhat.com>
2399 * Makefile.am (gioinclude_HEADERS):
2400 Remove trailing whitespace
2402 2007-11-26 Alexander Larsson <alexl@redhat.com>
2404 Merge gio-standalone into glib
2406 2007-11-25 Christian Kellner <gicmo@gnome.org>
2408 * gio/goutputstream.c:
2409 Fix small mistake in the docs.
2411 2007-11-21 Christian Persch <chpe@gnome.org>
2413 * gio/glocalfile.c: (g_local_file_trash):
2414 Convert filenames to UTF-8 for GError.
2415 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2416 as per xdg base dir spec.
2418 2007-11-21 Christian Persch <chpe@gnome.org>
2420 * gio/gdesktopappinfo.c:
2421 Use that g_key_file_to_data cannot fail.
2423 Use stock defines for the key file group and key names.
2426 2007-11-21 Alexander Larsson <alexl@redhat.com>
2429 (copy_stream_with_progress):
2430 Make sure we do a final progress callback with
2431 the full total size.
2433 2007-11-21 Alexander Larsson <alexl@redhat.com>
2436 Export g_file_copy_attributes
2437 Remove padding as its not needed for interfaces
2439 2007-11-20 Alexander Larsson <alexl@redhat.com>
2444 Add G_IO_ERROR_WOULD_MERGE for
2445 copy/move dir on dir with overwrite.
2447 2007-11-20 Alexander Larsson <alexl@redhat.com>
2450 * gio/glocalfileinfo.c:
2451 Add COPY_NAME (this is an optional
2452 non-modified utf8 version of the name) that
2455 2007-11-20 Alexander Larsson <alexl@redhat.com>
2457 * gio/glocalfileenumerator.c:
2458 Report errors as GIOError, not GFileError
2460 2007-11-16 Alexander Larsson <alexl@redhat.com>
2462 * gio/glocalfileoutputstream.c:
2463 * gio/gwin32appinfo.c:
2464 Fix typos in strings.
2465 Patch from Luca Ferretti <elle.uca@libero.it>
2467 2007-11-15 Alexander Larsson <alexl@redhat.com>
2470 Post release version bump
2472 === gio-standalone 0.1.2 ===
2474 2007-11-15 Alexander Larsson <alexl@redhat.com>
2476 * docs/reference/gio/Makefile.am:
2477 Fix up distcheck by removing weird
2483 2007-11-14 Alexander Larsson <alexl@redhat.com>
2485 * gio/gdesktopappinfo.c:
2486 * gio/glocaldirectorymonitor.c:
2488 * gio/glocalfileinfo.c:
2489 * gio/inotify/inotify-sub.c:
2490 * programs/gio-cat.c:
2491 * programs/gio-copy.c:
2492 * programs/gio-info.c:
2493 * programs/gio-ls.c:
2494 * programs/gio-monitor-dir.c:
2495 * programs/gio-monitor-file.c:
2496 * programs/gio-mount.c:
2497 * programs/gio-move.c:
2498 * programs/gio-rm.c:
2499 * programs/gio-save.c:
2500 * programs/gio-trash.c:
2501 Leak fixes from Kjartan Maraas
2503 2007-11-14 Alexander Larsson <alexl@redhat.com>
2505 * gio/fam/fam-helper.c:
2507 * gio/glocalfileinfo.c:
2511 * gio/inotify/inotify-diag.c:
2512 * gio/inotify/inotify-kernel.c:
2513 Various code cleanups from Kjartan Maraas
2515 2007-11-14 Alexander Larsson <alexl@redhat.com>
2517 * gio/gioscheduler.c:
2519 Set up threadpool so that we cache 2 unused
2520 idle threads for at 15 secs. This means we
2521 will reuse thread-local data (like dbus connections)
2524 2007-11-14 Alexander Larsson <alexl@redhat.com>
2526 * gio/fam/fam-helper.c:
2527 * gio/fam/gfamdirectorymonitor.c:
2528 * gio/fam/gfamfilemonitor.c:
2530 * gio/gcontenttype.c:
2531 * gio/gdatainputstream.c:
2532 * gio/gdataoutputstream.c:
2536 * gio/gfileattribute.h:
2537 * gio/gfileenumerator.c:
2539 * gio/ginputstream.c:
2542 * gio/glocalfileinfo.c:
2543 * gio/goutputstream.c:
2544 * gio/gpollfilemonitor.c:
2545 * gio/gsimpleasyncresult.c:
2546 * gio/gunixmounts.c:
2547 * gio/gunixmounts.h:
2548 * gio/inotify/ginotifydirectorymonitor.c:
2549 * gio/inotify/ginotifyfilemonitor.c:
2550 * gio/inotify/inotify-diag.c:
2551 * gio/inotify/inotify-kernel.c:
2552 * gio/inotify/inotify-path.c:
2554 * gio/test-streams.c:
2555 * programs/gio-info.c:
2556 * programs/gio-monitor-dir.c:
2557 * programs/gio-monitor-file.c:
2558 Various code cleanups from Kjartan Maraas
2560 2007-11-13 Alexander Larsson <alexl@redhat.com>
2563 Handle the uri-scheme calls for dummy files
2565 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2567 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2568 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2569 to avoid clash with the C++ keyword.
2571 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2573 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2574 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2576 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2578 * gio/glocaldirectorymonitor.c:
2579 * gio/glocalfilemonitor.c:
2580 * gio/gunionvolumemonitor.c:
2581 Don't use g_once_init_*() for initializations that could fail and
2582 could leave the initialization variable set to 0 but use GOnce.
2583 This prevents a deadlock on the second call when trying to create
2584 a monitor and no monitor type is available. Thanks to Sven Herzberg
2587 2007-11-11 Sven Herzberg <sven@imendio.com>
2589 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2590 #ifdef (make it work on MacOS X again)
2592 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2594 Fixes Changelog for last two commits (sorry guys).
2596 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2598 * gio/gbufferedinputstream.c:
2599 * gio/gdatainputstream.c:
2601 * gio/gfileoutputstream.c:
2602 * gio/gfilterinputstream.c:
2603 * gio/glocalfileinputstream.c:
2606 More consistency fixes in g*stream.c files.
2607 Significant clean of gfile's documentation, filling in of
2608 asynchronous operations documentation.
2610 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2612 * gio/gasyncresult.c:
2613 * gio/gbufferedinputstream.c:
2614 * gio/gbufferedoutputstream.c:
2615 * gio/gcancellable.c:
2616 * gio/gcontenttype.c:
2617 * gio/gdatainputstream.c:
2618 * gio/gdataoutputstream.c:
2619 * gio/gdesktopappinfo.c:
2622 * gio/gfileattribute.c:
2623 * gio/gio/gfileenumerator.c:
2625 * gio/gfileinputstream.c:
2626 * gio/gfilemonitor.c:
2627 * gio/gfileoutputstream.c:
2628 * gio/ginputstream.c:
2630 * gio/gioscheduler.c:
2631 * gio/gloadableicon.c:
2632 * gio/glocalfileoutputstream.c:
2633 * gio/gmemoryoutputstream.c:
2634 * gio/gmountoperation.c:
2635 * gio/goutputstream.c:
2637 * gio/gsimpleasyncresult.c:
2638 * gio/gunionvolumemonitor.c:
2639 * gio/gunixmounts.c:
2640 * gio/gunixvolume.c:
2644 * gio/gvolumemonitor.c:
2645 Updated documentation stubs, working towards consistency and
2648 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2650 * gio/gmemoryoutputstream.c:
2651 * gio/gmemoryoutputstream.h:
2652 Change g_memory_output_stream_set_free_on_close() to
2653 g_memory_output_stream_set_free_data() as this makes more sense and
2654 is more consistent with GMemoryInputStream.
2656 2007-11-07 Alexander Larsson <alexl@redhat.com>
2663 Change how we find the default vfs so that
2664 we can handle a gvfs failing to init
2666 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2668 * gio/gbufferedoutputstream.c:
2669 * gio/gdatainputstream.c:
2670 * gio/gdataoutputstream.c:
2671 * gio/gfileinputstream.c:
2672 * gio/gfileoutputstream.c:
2673 * gio/gfilterinputstream.c:
2674 * gio/gfilteroutputstream.c:
2675 * gio/ginputstream.c:
2676 * gio/gmemoryinputstream.c:
2677 * gio/gmemoryoutputstream.c:
2678 * gio/goutputstream.c:
2679 * gio/gsimpleasyncresult.c:
2680 * gio/gsocketinputstream.c:
2681 * gio/gsocketoutputstream.c:
2682 Add guards to the remaining public functions, add a TODO for
2683 an unimplemented function and remove some useless guards.
2685 2007-11-07 Alexander Larsson <alexl@redhat.com>
2688 Autoconf checks for the various types of
2689 getpwuid_r and getgrgid_r
2691 * gio/glocalfileinfo.c:
2692 Use the autoconf checks from above
2694 2007-11-07 Alexander Larsson <alexl@redhat.com>
2697 (g_local_file_query_filesystem_info):
2698 Some fixes for the statvfs case
2700 2007-11-07 Alexander Larsson <alexl@redhat.com>
2703 (g_local_file_query_filesystem_info):
2704 Pick the "best" of statfs / statvfs for the system
2705 if both are availible.
2707 2007-11-07 Alexander Larsson <alexl@redhat.com>
2709 Solaris fixes from Halton.Huo@Sun.COM:
2716 * gio/glocalfileinfo.c:
2717 Fix for solaris definition of getpwuid_r
2719 * gio/test-streams.c:
2720 Use G_GNUC_PRETTY_FUNCTION
2722 2007-11-07 Alexander Larsson <alexl@redhat.com>
2724 * gio/gdesktopappinfo.c:
2725 (update_default_list):
2726 Remove double semicolon.
2727 Patch from Jens Granseuer
2729 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2731 * docs/reference/gio/gio-sections.txt:
2732 * gio/gbufferedinputstream.c:
2733 * gio/gbufferedinputstream.h:
2734 * gio/gdatainputstream.c:
2735 * gio/gfileenumerator.c:
2736 * gio/gioscheduler.c:
2737 * gio/gunionvolumemonitor.c:
2739 * programs/gio-save.c:
2740 Fix typo: availible -> available. Unfortuntely this breaks API
2741 and ABI as g_buffered_input_stream_get_available() was renamed.
2743 * gio/gunixmounts.c:
2744 * gio/gbufferedinputstream.c:
2745 Add guards for public functions.
2747 2007-11-06 Ross Burton <ross@openedhand.com>
2749 * docs/reference/gio/Makefile.am:
2750 Fix invalid += usage which automake 1.10 doesn't like.
2752 2007-11-06 Alexander Larsson <alexl@redhat.com>
2755 (g_app_launch_context_class_init):
2758 Patch from Ross Burton
2760 2007-11-06 Alexander Larsson <alexl@redhat.com>
2763 Post release version bump
2765 === gio-standalone 0.1.1 ===
2767 2007-11-06 Alexander Larsson <alexl@redhat.com>
2770 Bump version to 0.1.1
2772 * gio/gsimpleasyncresult.c:
2773 (g_simple_async_result_set_from_error):
2774 Remove bogus g_return_if_fail
2776 2007-11-06 Alexander Larsson <alexl@redhat.com>
2779 The name is gio-standalone
2782 Add top src/builddir to includedir
2784 2007-11-06 Alexander Larsson <alexl@redhat.com>
2786 * docs/reference/gio/gio-sections.txt:
2788 * gio/gbufferedinputstream.c:
2789 * gio/gbufferedoutputstream.c:
2790 * gio/gcancellable.c:
2791 * gio/gdatainputstream.h:
2792 * gio/gdataoutputstream.c:
2793 * gio/gdataoutputstream.h:
2794 * gio/gdirectorymonitor.c:
2796 * gio/gfileattribute.c:
2797 * gio/gfileattribute.h:
2798 * gio/gfileenumerator.c:
2799 * gio/gfileenumerator.h:
2802 * gio/gfileinputstream.h:
2803 * gio/gfilemonitor.c:
2804 * gio/gfileoutputstream.h:
2805 * gio/glocalfilemonitor.h:
2806 * gio/glocalfileoutputstream.h:
2807 * gio/gmemoryinputstream.c:
2808 * gio/gmemoryoutputstream.c:
2809 * gio/gmountoperation.c:
2810 * gio/goutputstream.c:
2811 * gio/goutputstream.h:
2813 * gio/gsimpleasyncresult.c:
2814 * gio/gunixmounts.c:
2815 * gio/gunixmounts.h:
2817 * gio/inotify/inotify-helper.c:
2818 Fix gtk-doc warnings
2820 Patch from Ross Burton
2822 2007-11-06 Alexander Larsson <alexl@redhat.com>
2824 * gio/gfilenamecompleter.c:
2825 (g_filename_completer_get_completions):
2828 * gio/gunixvolume.c:
2829 Remove unused function
2831 Patches from Ross Burton
2833 2007-11-06 Alexander Larsson <alexl@redhat.com>
2838 Padding not needed for interfaces
2840 2007-11-06 Alexander Larsson <alexl@redhat.com>
2842 * gio/gfilemonitor.c:
2846 Make giotypes.h an internal file
2849 * gio/gbufferedinputstream.h:
2850 * gio/gbufferedoutputstream.h:
2851 * gio/gcancellable.h:
2852 * gio/gdatainputstream.h:
2853 * gio/gdataoutputstream.h:
2854 * gio/gdirectorymonitor.c:
2855 * gio/gdirectorymonitor.h:
2860 * gio/gfileattribute.h:
2861 * gio/gfileenumerator.h:
2866 * gio/gfilemonitor.c:
2867 * gio/gfilemonitor.h:
2868 * gio/gfilenamecompleter.c:
2869 * gio/gfilenamecompleter.h:
2870 * gio/gfilterinputstream.h:
2871 * gio/gfilteroutputstream.h:
2872 * gio/ginputstream.h:
2873 * gio/gmemoryinputstream.h:
2874 * gio/gmemoryoutputstream.h:
2875 * gio/gmountoperation.c:
2876 * gio/gmountoperation.h:
2877 * gio/gnativevolumemonitor.c:
2878 * gio/goutputstream.h:
2881 * gio/gsimpleasyncresult.c:
2882 * gio/gsimpleasyncresult.h:
2883 * gio/gsocketinputstream.h:
2884 * gio/gsocketoutputstream.h:
2885 * gio/gthemedicon.c:
2886 * gio/gthemedicon.h:
2890 * gio/gvolumemonitor.c:
2891 * gio/gvolumemonitor.h:
2892 Add padding in classes where it seems useful
2893 Don't include giotypes.h from public headers
2894 Move in Class definitions into c file where possible
2899 2007-11-06 Alexander Larsson <alexl@redhat.com>
2901 * docs/reference/gio/gio-docs.xml:
2902 Better structure for API docs
2904 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2907 * gio/gloadableicon.c:
2908 * gio/gsimpleasyncresult.c:
2909 * gio/gthemedicon.c:
2910 Add some more guards to public functions. Only files missing are now
2913 2007-11-06 Alexander Larsson <alexl@redhat.com>
2915 * docs/reference/gio/gio-docs.xml:
2916 Remove old files, add missing ones
2918 2007-11-06 Alexander Larsson <alexl@redhat.com>
2920 * docs/reference/gio/gio-sections.txt:
2923 Hide implementation classes
2925 * gio/gdriveprivate.h:
2926 * gio/gvolumeprivate.h:
2927 Remove non-existing function declarations
2929 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2932 Fix compilation warnings and add guards to the new functions.
2934 * gio/gasyncresult.c:
2936 Add guards to the public functions.
2939 Implement get_path().
2941 2007-11-06 Alexander Larsson <alexl@redhat.com>
2943 * gio/gfilenamecompleter.c:
2944 Make g_filename_completer_get_completions
2945 return char ** instead of GList for
2948 * docs/reference/gio/gio-docs.xml:
2949 * docs/reference/gio/gio-sections.txt:
2951 * gio/gasyncresult.c:
2952 * gio/gbufferedinputstream.c:
2953 * gio/gbufferedoutputstream.c:
2954 * gio/gcancellable.c:
2955 * gio/gcontenttype.c:
2956 * gio/gdatainputstream.c:
2957 * gio/gdataoutputstream.c:
2958 * gio/gdesktopappinfo.c:
2959 * gio/gdirectorymonitor.c:
2963 * gio/gfileattribute.c:
2964 * gio/gfileenumerator.c:
2967 * gio/gfileinputstream.c:
2968 * gio/gfilemonitor.c:
2969 * gio/gfilenamecompleter.c:
2970 * gio/gfilenamecompleter.h:
2971 * gio/gfileoutputstream.c:
2972 * gio/gfilterinputstream.c:
2974 * gio/ginputstream.c:
2976 * gio/gioscheduler.c:
2977 * gio/gloadableicon.c:
2978 * gio/glocaldirectorymonitor.c:
2980 * gio/glocalfileinputstream.c:
2981 * gio/glocalfilemonitor.c:
2982 * gio/glocalfileoutputstream.c:
2984 * gio/gmemoryinputstream.c:
2985 * gio/gmemoryoutputstream.c:
2986 * gio/gmountoperation.c:
2987 * gio/goutputstream.c:
2988 * gio/gpollfilemonitor.c:
2990 * gio/gsimpleasyncresult.c:
2991 * gio/gsocketinputstream.c:
2992 * gio/gsocketoutputstream.c:
2993 * gio/gthemedicon.c:
2994 * gio/gunionvolumemonitor.c:
2996 * gio/gunixmounts.c:
2997 * gio/gunixvolume.c:
2998 * gio/gunixvolumemonitor.c:
3002 * gio/gvolumemonitor.c:
3003 * gio/gwin32appinfo.c:
3004 Add (mostly stub) doc strings to public functions.
3005 Patch from Andrew Walton (awalton@gmail.com)
3007 2007-11-06 Alexander Larsson <alexl@redhat.com>
3009 * gio/gappinfo.[ch]:
3010 Added GAppLaunchContext object and pass that to launch.
3011 This allows simple implementation of both
3012 launch-on-screen and startup notification via a gtk+
3013 subclass of GAppLaunchContext
3015 * gio/gdesktopappinfo.c:
3016 Implement GAppLaunchContext API
3018 * gio/gwin32appinfo.c:
3021 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3023 * gio/gmountoperation.c:
3024 Add some guards to GMountOperation's public functions.
3026 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3030 * gio/gcancellable.c:
3031 * gio/gdirectorymonitor.c:
3033 * gio/gfileenumerator.c:
3034 * gio/gfilemonitor.c:,
3035 * gio/gfilenamecompleter.c:
3038 * gio/gioscheduler.c:
3042 * gio/gvolumemonitor.c:
3043 Add even more guards to various public functions.
3045 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3048 Add guards to the public functions of GAppInfo.
3050 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3052 * gio/gcontenttype.c:
3053 Add some more guards for public functions.
3055 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3057 * gio/fam/fam-module.c:
3058 * gio/fam/gfamdirectorymonitor.c:
3059 * gio/fam/gfamdirectorymonitor.h:
3060 * gio/fam/gfamfilemonitor.c:
3061 * gio/fam/gfamfilemonitor.h:
3062 * gio/inotify/ginotifydirectorymonitor.c:
3063 * gio/inotify/ginotifydirectorymonitor.h:
3064 * gio/inotify/ginotifyfilemonitor.c:
3065 * gio/inotify/ginotifyfilemonitor.h:
3066 Add proper copyright information and remove an unused variable
3067 in the GInotifyFileMonitor constructor.
3069 * gio/gcancellable.c:
3070 Add a guard for a public function and an assertion to prevent
3071 an undefined program state.
3073 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3075 * gio/gfileattribute.c:
3076 Don't run into an assertion if the given attribute value is NULL
3077 in g_file_attribute_value_get_*() but instead return a fallback
3078 value that makes sense in most situations. Passing them a attribute
3079 value with the wrong type will still run into an assertion.
3081 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3083 * gio/gfileattribute.c:
3085 Add even more guards to the public functions. Also fix the refcounting
3086 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3087 let g_file_info_list_attributes() filter the attributes by namespace
3088 instead of simply ignoring the namespace parameter.
3090 2007-11-03 Sven Herzberg <sven@imendio.com>
3092 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3093 (This makes gio work on MacOS X again)
3095 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3098 Build the gio subdirectory before the docs. Otherwise the build will
3101 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3102 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3103 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3104 Add guards to the public functions.
3106 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3108 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3109 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3110 to prevent a compiler warning.
3112 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3113 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3114 return something in the non-void function find_topdir_for().
3116 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3123 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3125 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3126 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3127 * gwin32appinfo.c (g_win32_app_info_launch):
3128 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3129 envp_for_startup_id, g_desktop_app_info_launch,
3130 g_desktop_app_info_launch_uris):
3132 Give an opaque 'startup_id' string instead of 'envp'.
3133 Support empty file lists for launching new windows.
3134 Fix infinite recursion bug when launching URIs.
3136 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3139 Add guard to the new g_file_get_uri_scheme() function.
3141 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3144 Convert a g_return_val_if_fail() to setting the GError instead as
3145 otherwise applications have to verify the parameter before otherwise
3146 and the parameter might come directly from the user.
3148 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3150 * gio/inotify/ginotify*.[ch]:
3151 Add missing copyright information.
3153 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3156 Add guards in the beginning of public functions to check for valid
3157 parameters and fix a bug in copy_stream_with_progress() that could've
3158 caused writing less bytes than reading.
3159 * gio/glocalfileinfo.c:
3160 Check for a NULL parameter and set the GError accordingly then.
3161 * gio/goutputstream.c:
3162 Fix the same bug as in gfile.c that could've caused writing less bytes
3163 than reading in g_output_stream_real_splice().
3165 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3168 Use the correct gvolumeprivate.h naming
3170 2007-11-01 Christian Kellner <gicmo@gnome.org>
3173 Remove leftover "$(daemon_sources)" entry.
3175 2007-11-01 Christian Kellner <gicmo@gnome.org>
3180 Add copyright information to source files.
3182 2007-11-01 Alexander Larsson <alexl@redhat.com>
3186 Add g_file_get_uri_scheme
3188 2007-11-01 Alexander Larsson <alexl@redhat.com>
3191 * gio/gdesktopappinfo.c:
3192 * gio/gwin32appinfo.c:
3193 Add g_app_info_get_default_for_uri_scheme.
3195 2007-11-01 Alexander Larsson <alexl@redhat.com>
3198 Correct filename for gdriveprivate.h
3200 2007-10-31 Alexander Larsson <alexl@redhat.com>
3203 Rename id:value to id:file
3206 * gio/glocalfileinfo.c:
3209 2007-10-31 Alexander Larsson <alexl@redhat.com>
3211 * gio/gunixvolume.c:
3213 Remove g_volume_get_platform_id, as thats not
3214 needed with the simpler union volume monitor
3216 2007-10-31 Alexander Larsson <alexl@redhat.com>
3219 * gio/guniondrive.[ch]: Removed.
3220 * gio/gunionvolume.[ch]: Removed.
3221 Remove GUnionDrive/Volume
3223 * gio/gunionvolumemonitor.c:
3224 Simplify union volume monitor, now we
3225 only have one native volume monitor and
3226 we use the actual volumes/drives from the
3227 child monitors instead of wrapping them
3229 * gio/gnativevolumemonitor.[ch]:
3230 Base class for native volume monitors.
3231 Includes priority and get_volume_for_mountpoint
3234 Add g_file_find_enclosing_volume
3237 Remove volume name fs attribute
3238 Add readonly fs attribute
3241 Implement readonly attribute
3242 remove volume name attribute
3243 Implement find_enclosing volume
3245 * gio/gunixmounts.c:
3246 Add a volume for "/".
3248 * gio/gunixvolume.[ch]:
3249 Set better name for /
3251 * gio/gunixvolumemonitor.[ch]:
3252 Derive from GNativeVolumeMonitor
3253 Implement get_volume_for_mountpoint
3256 GVolume typedef moved to gfile.h
3258 * gio/gvolumeprivate.h:
3259 Add g_volume_get_for_mount_path
3261 2007-10-31 Alexander Larsson <alexl@redhat.com>
3263 * gio/gunixmounts.[ch]:
3264 Add cache info to unix mount listers
3265 Make getmntent use threadsafe
3266 Add is_system_internal attribute for GUnixMount
3268 * gio/gunixvolume.c:
3269 (g_unix_volume_new):
3270 Use is_system_internal instead of own code
3272 * gio/glocaldirectorymonitor.c:
3273 * gio/gunixvolumemonitor.c:
3274 Update to new gunixmounts API
3279 2007-10-30 Alexander Larsson <alexl@redhat.com>
3282 Add volume name fsinfo attribute
3285 Read volume name info
3287 * gio/gunionvolumemonitor.c:
3288 Fix infinite loops when finalizing a union volume monitor
3290 2007-10-30 Alexander Larsson <alexl@redhat.com>
3292 * gio/goutputstream.[ch]:
3293 Add splice() with default implementation
3295 * gio/gsocketoutputstream.c:
3296 (g_socket_output_stream_write):
3297 Return error on cancellation correctly.
3299 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3301 * gio/glocalfile.c (g_local_file_trash):
3302 Do not leak a string.
3304 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3306 * gio/gfile.c (g_file_load_contents):
3307 Unref the stream after closing it.
3309 2007-10-25 Alexander Larsson <alexl@redhat.com>
3311 * gio/gioscheduler.h:
3314 2007-10-25 Alexander Larsson <alexl@redhat.com>
3318 Add g_file_has_uri_scheme and implement for local files
3320 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3322 * gio/gdesktopappinfo.c: do not leak a string.
3324 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3326 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3327 (g_local_directory_monitor_new):
3328 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3329 (g_local_file_monitor_new):
3330 Only look for the monitor type that should be used the first time
3331 and use g_qsort_with_data() instead of our own bubble sort
3334 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3337 * gio/fam/Makefile.am:
3338 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3339 * gio/fam/fam-helper.h:
3340 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3341 * gio/fam/gfamdirectorymonitor.c:
3342 * gio/fam/gfamdirectorymonitor.h:
3343 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3344 * gio/fam/gfamfilemonitor.h:
3345 * gio/glocaldirectorymonitor.c:
3346 * gio/glocaldirectorymonitor.h:
3347 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3348 * gio/glocalfilemonitor.h:
3349 * gio/inotify/Makefile.am:
3350 * gio/inotify/ginotifydirectorymonitor.c:
3351 * gio/inotify/ginotifydirectorymonitor.h:
3352 * gio/inotify/ginotifyfilemonitor.c:
3353 * gio/inotify/ginotifyfilemonitor.h:
3354 Implement the FAM and Inotify monitors as
3355 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3356 their own GIO module. GLocal(Directory|File)Monitor will use the
3357 monitor with the highest rank that is supported on that machine.
3359 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3362 Change GIO module dir to $(libdir)/gio/modules and change
3363 the log domain from GVFS to GIO. Also only export symbols starting
3364 with g_ in the resulting library.
3365 * gio/test-streams.c: (main):
3366 Set log handler for the GIO log domain.
3368 2007-10-22 Alexander Larsson <alexl@redhat.com>
3370 * gio/gfilenamecompleter.[ch]:
3371 Add g_filename_completer_set_dirs_only
3373 2007-10-22 Alexander Larsson <alexl@redhat.com>
3376 * gio/gurifuncs.[ch]:
3377 Add some simple URI helpers
3379 * gio/gfilenamecompleter.[ch]:
3380 Added object for filename (parse name actually) completion
3383 Handle ~ in parse names
3385 2007-10-17 Alexander Larsson <alexl@redhat.com>
3388 * gio/glocalfileinfo.c:
3389 Add and implement id:value attribute
3391 2007-10-17 Alexander Larsson <alexl@redhat.com>
3394 * gio/guniondrive.c:
3396 Add and implement g_drive_has_volumes
3398 2007-10-17 Alexander Larsson <alexl@redhat.com>
3401 * gio/glocalfileinfo.[ch]:
3402 Add unix:is_mountpoint and implement for local files
3404 2007-10-16 Alexander Larsson <alexl@redhat.com>
3406 * gio/gunionvolumemonitor.c:
3407 (g_union_volume_monitor_init):
3408 Fix up the unix type getting so that it works with gcc
3410 2007-10-12 Alexander Larsson <alexl@redhat.com>
3413 * gio/glocalfileinfo.c:
3414 Add thumbnail:failed to file info
3416 2007-10-12 Richard Hult <richard@imendio.com>
3418 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3419 optimizing away the get_type call (happens with some gcc versions,
3420 like the one shipped with OS X 10.4).
3422 2007-10-12 Alexander Larsson <alexl@redhat.com>
3424 * gio/glocalfileinfo.c:
3425 (_g_local_file_info_set_attribute):
3426 Fix build if not HAVE_XATTR
3427 Patch from Milosz Derezynski <internalerror@gmail.com>
3429 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3431 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3432 around for review, otherwise I would have asked you before
3435 2007-10-11 Alexander Larsson <alexl@redhat.com>
3438 Add thumbnail:path attribute
3440 * gio/glocalfileinfo.c:
3441 Implement thumbnail:path for local files
3443 2007-10-11 Alexander Larsson <alexl@redhat.com>
3445 * gio/glocalfileinfo.c:
3446 (_g_local_file_info_get):
3447 Avoid duplicate icon names
3449 2007-10-11 Alexander Larsson <alexl@redhat.com>
3451 * gio/gthemedicon.[ch]:
3452 Change g_themed_icon_get_names return type to const
3454 2007-10-10 Alexander Larsson <alexl@redhat.com>
3456 * gio/glocalfileinfo.c:
3457 Don't reference freed memory
3459 2007-10-10 Alexander Larsson <alexl@redhat.com>
3461 * gio/gfileattribute.c:
3464 * gio/glocalfileinfo.c:
3467 2007-10-10 Alexander Larsson <alexl@redhat.com>
3470 Check for NULL icons
3472 * gio/gfileattribute.c:
3473 Don't dup when getting objects (same as for string attributes)
3475 * gio/gicon.c (g_icon_equal):
3476 Safely handle NULLs in equal
3478 2007-10-10 Alexander Larsson <alexl@redhat.com>
3481 Fix c++ compilation issues
3482 Patch from Milosz Derezynski <internalerror@gmail.com>
3484 2007-10-10 Alexander Larsson <alexl@redhat.com>
3486 * programs/gio-monitor-dir.c:
3487 Don't crash if dir monitor not supported.
3489 2007-10-09 Alexander Larsson <alexl@redhat.com>
3492 Add missing G_END_DECLS
3494 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3496 * gio/gfile.c: (g_file_set_display_name),
3497 (g_file_query_settable_attributes),
3498 (g_file_query_writable_namespaces):
3499 Return NULL not FALSE on errors as the return type is a pointer.
3501 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3503 * gio/glocalfile.c: (g_local_file_monitor_file):
3504 Don't call monitor_file on the default interface vtable (which
3505 is NULL) but simply return NULL. The caller, GFile, will create a
3506 polling monitor if NULL is returned.
3508 2007-10-09 Alexander Larsson <alexl@redhat.com>
3512 * gio-unix-2.0.pc.in:
3513 Add gio-unix-2.0.pc if OS_UNIX
3516 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3518 2007-10-09 Alexander Larsson <alexl@redhat.com>
3520 * gio/gunixmounts.[ch]:
3521 Make unix mount monitoring API sane.
3522 Now its just a object with mounts_changed
3523 and mountpoints_changed signals.
3525 * gio/glocaldirectorymonitor.c:
3526 * gio/gunixvolumemonitor.c:
3527 Use new mount monitor api
3529 2007-10-09 Alexander Larsson <alexl@redhat.com>
3531 * gio/gunixmounts.[ch]:
3532 Move guess type into one call for mounts and one for mountpoints
3535 * gio/gunixvolume.c:
3538 2007-10-09 Alexander Larsson <alexl@redhat.com>
3540 * gio/gunixmounts.[ch]:
3541 Remove _ prefix in preparation to make this semi-public
3542 Hide implementation of structs
3544 * gio/glocaldirectorymonitor.c:
3546 * gio/gunixvolume.c:
3547 * gio/gunixvolumemonitor.c:
3548 Update for above API changes
3550 2007-10-08 Alexander Larsson <alexl@redhat.com>
3553 Better polling fallback. This also handles the case where we have
3554 a monitor_file implementation, but it fails.
3556 2007-10-08 Alexander Larsson <alexl@redhat.com>
3560 * gio/gunixmounts.c:
3561 * programs/gio-monitor-dir.c:
3562 * programs/gio-monitor-file.c:
3563 Added cancellable to file monitoring calls.
3564 These are really sync calls and need this.
3566 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3568 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3569 (g_local_vfs_class_init):
3570 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3571 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3573 2007-10-05 Alexander Larsson <alexl@redhat.com>
3575 * gio/gdirectorymonitorprivate.h:
3576 * gio/gfilemonitorprivate.h:
3577 * gio/gdirectorymonitor.h:
3578 * gio/gfilemonitor.h:
3579 Remove *private.h and move to the public API, so that
3580 we can do implementations outside gio (such as in gvfs)
3582 * gio/gdirectorymonitor.c:
3583 * gio/gfilemonitor.c:
3584 * gio/glocaldirectorymonitor.c:
3585 * gio/gpollfilemonitor.c:
3586 * gio/inotify/inotify-helper.c:
3587 * gio/fam/fam-helper.c:
3588 Update to the new header names
3590 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3592 * gio/gdirectorymonitor.c:
3593 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3596 2007-10-04 Alexander Larsson <alexl@redhat.com>
3598 * gio/glocalfileinfo.c (get_access_rights):
3599 Set CAN_TRASH when we can move the file.
3600 We should really also check for a parent trash dir.
3602 2007-10-04 Alexander Larsson <alexl@redhat.com>
3604 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3605 Add can_trash access attribute
3607 2007-10-04 Alexander Larsson <alexl@redhat.com>
3610 (g_local_file_trash):
3611 Create info file first. This is per-spec and allows
3612 us to actually trash directories.
3614 2007-10-02 Alexander Larsson <alexl@redhat.com>
3616 * gio/gdesktopappinfo.c:
3617 Implement the new mime support code.
3618 Always set app as handling mimetype when being set as default for it
3620 2007-10-01 Alexander Larsson <alexl@redhat.com>
3622 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3623 Fix up check for xattrs:
3625 2007-10-01 Alexander Larsson <alexl@redhat.com>
3628 (g_app_info_set_as_default_for_extension):
3629 (g_app_info_add_supports_type):
3630 (g_app_info_can_remove_supports_type):
3631 (g_app_info_remove_supports_type):
3632 Make these fail nicely if not implemented
3634 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3636 * gio/glocalfileoutputstream.c:
3637 * gio/glocalfileoutputstream.h:
3642 * programs/gio-save.c:
3643 Add a GFileCreateFlags argument to operations that can create
3646 2007-10-01 Alexander Larsson <alexl@redhat.com>
3648 * gio/gappinfo.[ch]:
3649 * gio/gdesktopappinfo.c:
3650 Add more (stubbed out) mime API needed for nautilus
3652 2007-10-01 Alexander Larsson <alexl@redhat.com>
3655 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3656 Add g_app_info_set_as_default_for_extension.
3658 * gio/gdesktopappinfo.c:
3659 Dummy for g_app_info_set_as_default_for_extension
3660 Support flags in g_app_info_create_from_commandline
3662 * gio/gwin32appinfo.c:
3664 Update for API changes
3666 * gio/gthemedicon.c:
3667 Properly NULL-terminate list of icon names
3669 2007-09-28 Alexander Larsson <alexl@redhat.com>
3671 * gio/gloadableicon.h:
3672 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3674 2007-09-28 Alexander Larsson <alexl@redhat.com>
3677 Install headers in $includedir/gio-standalone/
3679 * gio-2.0.pc.in: Added.
3680 * gio-standalone.pc.in: Removed.
3683 Renamed pkg-config file to match glib (for future move)
3684 Update to the new include dir
3687 Add more TODO comments
3689 2007-09-28 Alexander Larsson <alexl@redhat.com>
3691 * gio/gdesktopappinfo.[ch]:
3692 Expose new_from_filename
3693 Add getter for is_hidden and handle it better
3695 2007-09-28 Alexander Larsson <alexl@redhat.com>
3697 * gio/gfileinfo.[ch]:
3698 Rename g_file_size_format_for_display to
3699 g_format_file_size_for_display.
3700 Now it doesn't have the g_file prefix, so we
3701 can later move it to glib.
3703 2007-09-28 Alexander Larsson <alexl@redhat.com>
3705 * gio/gappinfo.[ch]:
3706 Add g_app_info_get_id and g_app_info_get_executable.
3707 Make all getters non-reffing
3708 Make g_app_info_launch take GFile arguments.
3709 Add must_support_uris argument to g_app_info_get_default_for_type.
3711 * gio/gwin32appinfo.c:
3712 Update to GAppInfo api changes
3714 * gio/gdesktopappinfo.c:
3715 Update to GAppInfo api changes
3716 Implement supports_xdg_startup_notify
3718 * gio/gfileicon.c (g_file_icon_get_file):
3719 Make getter non-reffing.
3724 2007-09-27 Alexander Larsson <alexl@redhat.com>
3726 * gio/gfileinfo.[ch]:
3727 Add g_file_size_format_for_display helper
3729 2007-09-27 Alexander Larsson <alexl@redhat.com>
3731 * gio/glocalfileinfo.c:
3732 Set UNIX_GID from gid, not from uid
3734 2007-09-27 Alexander Larsson <alexl@redhat.com>
3737 Add g_file_set_attributes_async
3739 2007-09-27 Alexander Larsson <alexl@redhat.com>
3741 * gio/glocalfile.c (g_local_file_set_display_name):
3742 Fix set_display_name to actually rename to the right place.
3743 Use lstat to look for existing files so we don't overwrite
3746 2007-09-26 Alexander Larsson <alexl@redhat.com>
3749 Add g_file_set_display_name_async()
3751 2007-09-26 Alexander Larsson <alexl@redhat.com>
3754 Add load_partial_contents async calls
3757 Make internal function static
3759 2007-09-26 Alexander Larsson <alexl@redhat.com>
3761 * gio/glocalfileinfo.c:
3762 Correctly detect broken symlinks
3764 2007-09-26 Alexander Larsson <alexl@redhat.com>
3766 * gio/gcancellable.c (g_cancellable_cancel):
3767 Allow cancel on NULL cancellable
3769 2007-09-25 Alexander Larsson <alexl@redhat.com>
3771 * gio/gsimpleasyncresult.c:
3772 Don't allocate g_error manually.
3773 Fixes g_slice/g_new mixup crash
3775 2007-09-25 Alexander Larsson <alexl@redhat.com>
3777 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3778 Actually set active_backend.
3779 This means the monitor will be cancelled correctly.
3781 2007-09-25 Alexander Larsson <alexl@redhat.com>
3783 * gio/gdirectorymonitor.c:
3784 Set timeout to NULL when destroying
3786 2007-09-25 Alexander Larsson <alexl@redhat.com>
3789 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3790 that is a better description of the error.
3792 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3794 * gio/gvfs.c: (g_vfs_get_local):
3795 Make the local vfs variable static. The same instance should
3798 2007-09-24 Alexander Larsson <alexl@redhat.com>
3800 * gio/glocalfileinfo.c:
3801 Pass in actual length read into sniffer, not the length
3804 2007-09-21 Alexander Larsson <alexl@redhat.com>
3806 * gio/gfileenumerator.c:
3809 * gio/gfileinputstream.c:
3810 * gio/gfileoutputstream.c:
3811 * gio/ginputstream.c:
3812 * gio/goutputstream.c:
3813 Don't crash if async callbacks are NULL
3815 2007-09-20 Alexander Larsson <alexl@redhat.com>
3818 Add async enumerate_children method and default
3821 2007-09-20 Alexander Larsson <alexl@redhat.com>
3824 Add g_file_contains_file & g_file_get_relative_path, since they
3825 were needed for nautilus.
3826 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3831 Implement new methods
3833 2007-09-17 Alexander Larsson <alexl@redhat.com>
3836 * gio/gfileinputstream.[ch]:
3837 * gio/gfileoutputstream.[ch]:
3839 * gio/glocalfileenumerator.[ch]:
3840 * gio/glocalfileinfo.[ch]:
3841 * gio/glocalfileinputstream.c:
3842 * gio/glocalfileoutputstream.c:
3843 * gio/gpollfilemonitor.c:
3844 * programs/gio-copy.c:
3845 * programs/gio-info.c:
3846 * programs/gio-move.c:
3847 Rename get_file_info to query_info() to make it clearer
3848 that these are not simple getters, but do i/o.
3850 2007-09-17 Alexander Larsson <alexl@redhat.com>
3852 * gio/gdatainputstream.[ch]:
3853 * gio/test-streams.c:
3854 Use _read_XXX instead of _get_XXX for the i/o calls
3857 2007-09-17 Alexander Larsson <alexl@redhat.com>
3860 Added needed stuff to TODO comment
3862 2007-09-17 Alexander Larsson <alexl@redhat.com>
3864 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3865 Don't error out removing the backup copy if it doesn't
3868 2007-09-14 Alexander Larsson <alexl@redhat.com>
3870 * programs/Makefile.am:
3871 * programs/gvfs-*.c:
3873 Renamed apps from gvfs-xxx to gio-xxx.
3875 2007-09-14 Alexander Larsson <alexl@redhat.com>
3878 * gio/gfileoutputstream.[ch]:
3879 * gio/glocalfileoutputstream.c:
3880 * programs/gvfs-save.c:
3881 g_file_output_stream_get_etag doesn't do i/o, so remove
3882 cancellation and error.
3884 2007-09-14 Alexander Larsson <alexl@redhat.com>
3887 Add new_etag output to replace_contents functions
3889 2007-09-14 Alexander Larsson <alexl@redhat.com>
3891 * gio/gfileoutputstream.[ch]:
3892 Add async get_file_info and default implementation
3894 2007-09-14 Alexander Larsson <alexl@redhat.com>
3896 * gio/gfileinputstream.c:
3897 Implement fallback wrapper for async get_file_info
3899 2007-09-14 Alexander Larsson <alexl@redhat.com>
3902 Add etag out argument to load_contents
3907 2007-09-14 Alexander Larsson <alexl@redhat.com>
3909 * gio/gcontenttype.c (looks_like_text):
3910 Whitespace like tab, cr and lf do not make the
3913 2007-09-14 Alexander Larsson <alexl@redhat.com>
3915 * gio/gfileinputstream.[ch]:
3916 Add async get_file_info.
3918 2007-09-13 Alexander Larsson <alexl@redhat.com>
3920 * gio/goutputstream.c (g_output_stream_write_all):
3921 Allow NULL for bytes_written
3923 2007-09-13 Alexander Larsson <alexl@redhat.com>
3925 * gio/gmemoryinputstream.[ch]:
3926 Add accessors for data
3928 2007-09-13 Alexander Larsson <alexl@redhat.com>
3930 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3931 Don't crash if length is NULL