1 2008-02-26 Alexander Larsson <alexl@redhat.com>
5 Handle filesystems (like ntfs-3g) that return EEXIST instead
8 2008-02-25 Matthias Clasen <mclasen@redhat.com>
10 * === Released 2.15.6 ===
12 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
14 * gfile.c (g_file_find_enclosing_mount):
15 * ginputstream.c (g_input_stream_set_pending):
16 * glocalfile.c (g_local_file_find_enclosing_mount):
17 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
18 * goutputstream.c (g_output_stream_set_pending):
20 Fixup translator comments (#518578).
22 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
24 * gfile.c (g_file_find_enclosing_mount):
26 * glocalfile.c (g_local_file_find_enclosing_mount):
29 Fix a few typos in translator comments and documentation.
31 2008-02-25 Alexander Larsson <alexl@redhat.com>
38 Add translator comments (#518578)
40 2008-02-25 Alexander Larsson <alexl@redhat.com>
43 Reintroduce g_file_contains_file, keep around for one
44 unstable release cycle to avoid crashing to many apps.
45 Make sure to delete after release.
47 2008-02-25 Alexander Larsson <alexl@redhat.com>
50 Remove deprecated g_file_contains_file.
52 2008-02-25 Alexander Larsson <alexl@redhat.com>
55 Emit actual change signals in an idle handler.
56 This avoids reentrance and locking problems in
57 the file notification backends.
59 2008-02-25 Alexander Larsson <alexl@redhat.com>
62 (g_unix_mount_guess_should_display):
63 Remove type guessing, instead just display
64 mounts in /media and in ~/.
66 2008-02-25 Alexander Larsson <alexl@redhat.com>
69 Make new strings reuse old ones.
71 2008-02-25 Alexander Larsson <alexl@redhat.com>
74 Implement trashing and filesystem::readonly for win32 (#517235)
75 Patch from Yevgen Muntyan
77 2008-02-23 Matthias Clasen <mclasen@redhat.com>
79 * gfileinfo.h: Documentation fixes.
81 2008-02-22 Alexander Larsson <alexl@redhat.com>
83 * gcontenttype.c (g_content_type_get_icon):
84 Look at old-style gnome mime icon names too, as many
85 have not moved to the new style.
87 2008-02-21 Matthias Clasen <mclasen@redhat.com>
89 * *.c: Correct the @include in for section docs.
91 2008-02-21 David Zeuthen <davidz@redhat.com>
93 * glocalfileinfo.c: (_g_local_file_info_get):
95 (g_content_type_get_icon): Implement this function by
96 moving bits from glocalfileinfo.c
97 (g_content_type_get_description): Unalias before getting
100 * gfile.c: (g_file_class_init),
101 (g_file_query_filesystem_info_async),
102 (g_file_query_filesystem_info_finish),
103 (query_filesystem_info_data_free),
104 (query_filesystem_info_async_thread),
105 (g_file_real_query_filesystem_info_async),
106 (g_file_real_query_filesystem_info_finish):
107 * gfile.h: Implement async version of
108 g_file_query_filesystem_info()
110 * gfileinfo.h: Add new attributes for filesystem::use-preview
112 * gio.symbols: Update
114 * gthemedicon.c: (g_themed_icon_append_name):
115 * gthemedicon.h: Add new new convenience function.
117 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
118 (get_mounts), (get_volumes), (get_connected_drives),
119 (get_volume_for_uuid), (get_mount_for_uuid),
120 (g_union_volume_monitor_init), (populate_union_monitor),
121 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
122 (g_volume_monitor_adopt_orphan_mount):
124 * gvolumemonitor.h: Use recursive locks so it's safe for volume
125 monitor implementations to call into the main volume monitor. Also
126 separate object initialization and volume monitor initialization
127 such that non-native volume monitors can properly adopt their
130 2008-02-21 Alexander Larsson <alexl@redhat.com>
135 2008-02-21 Alexander Larsson <alexl@redhat.com>
138 Add more documentation about how GFiles work (from #517086)
140 2008-02-21 Alexander Larsson <alexl@redhat.com>
144 Add new g_file_has_prefix that does the same as g_file_contains_file.
145 Deprecate g_file_contains_file and add a macro that converts
146 it to g_file_has_prefix.
147 The reason for this change is that the contains_file() name seems to
148 imply that this does more work than what it does, but its really only
149 a name match (from #517086)
154 Update to match the above change.
156 2008-02-20 Benjamin Otte <otte@gnome.org>
158 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
159 (g_file_eject_mountable):
160 even more cases of not returning in error path
162 2008-02-20 Benjamin Otte <otte@gnome.org>
164 * gfile.c: (g_file_mount_mountable):
165 return from function in error path.
167 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
170 Remove trailing coma in GMountMountFlags struct
172 2008-02-18 Alexander Larsson <alexl@redhat.com>
176 * glocalfileoutputstream.c:
177 Use g_unlink/g_rename instead of unlink/rename;
178 do not pass raw filenames to g_set_error. (#517239)
179 Patch from Yevgen Muntyan.
181 2008-02-18 Alexander Larsson <alexl@redhat.com>
184 * glocalfileoutputstream.c:
185 Open files with O_BINARY on windows. (#517140)
187 2008-02-14 Alexander Larsson <alexl@redhat.com>
189 * glocalfileoutputstream.c:
190 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
192 2008-02-14 Alexander Larsson <alexl@redhat.com>
195 Copy permissions with file on copy (#514084)
196 This is what cp does and makes sure e.g. the
197 exec permissions are kept.
198 Its kinda weird in that it keeps the permission bits
199 the same while the uid and gid are different. However
200 the new uid is the user so its not a security issue,
201 and I've heard no complaints about cp on this issue.
203 2008-02-13 Ryan Lortie <desrt@desrt.ca>
205 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
207 2008-02-13 Alexander Larsson <alexl@redhat.com>
209 * inotify/inotify-path.c:
210 Define IN_ONLYDIR if not in header (#515346)
212 2008-02-12 Alexander Larsson <alexl@redhat.com>
214 * tests/live-g-file.c:
217 2008-02-11 Matthias Clasen <mclasen@redhat.com>
219 * === Released 2.15.5 ===
221 2008-02-11 Matthias Clasen <mclasen@redhat.com>
223 * gio.symbols: Add g_mount_mount_flags_get_type.
225 2008-02-11 Alexander Larsson <alexl@redhat.com>
228 (g_file_info_set_attribute_mask):
229 (g_file_attribute_matcher_matches_id):
230 Correctly handle NULL GAttributeMatcher meaning
231 matches nothing. (Fixes #513492)
233 2008-02-11 Alexander Larsson <alexl@redhat.com>
238 Added GMountMountFlags enum and added a flags
239 argument to all mount calls.
241 This is an API/ABI change for future extensibility,
242 as I think we will need at least an
243 inhibit-autorun flag (the panel needs this).
244 There are no flags defined yet though.
246 2008-02-11 Alexander Larsson <alexl@redhat.com>
249 Added new standard::description attribute.
250 Requested by Vincent, and useful for both
253 2008-02-11 Alexander Larsson <alexl@redhat.com>
258 2008-02-11 Matthias Clasen <mclasen@redhat.com>
260 * *.c: Documentation additions
262 2008-02-10 Matthias Clasen <mclasen@redhat.com>
264 * gappinfo.h: Formatting cleanup
265 * gappinfo.c: Fix up docs.
267 2008-02-09 Matthias Clasen <mclasen@redhat.com>
269 * gunixmounts.c: Consistently use getmntent_r() and fall
270 back to getmntent(). (#515492)
272 2008-02-09 Matthias Clasen <mclasen@redhat.com>
274 * gbufferedinputstream.c:
276 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
278 * tests/data-input-stream.c:
279 * tests/data-output-stream.c: Portability fixes.
281 2008-02-08 Alexander Larsson <alexl@redhat.com>
286 Add g_volume_should_automount.
289 2008-02-07 Tor Lillqvist <tml@novell.com>
291 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
292 Win32, too Unix-specific.
294 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
296 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
297 a local plt if the compiler doesn't support what we want. Bug #514702
299 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
301 reviewed by: <delete if not using a buddy>
304 * gunixinputstream.c:
305 * gunixoutputstream.c:
307 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
310 * tests/live-g-file.c:
311 * tests/live-g-file.txt:
312 New GIO testing module working over real data
314 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
316 * glocalfileoutputstream.c (g_local_file_output_stream_close):
317 Fallback to rename() if link() is not available
318 (when no support on target filesystem)
320 2008-02-06 Michael Natterer <mitch@imendio.com>
322 * gfileinfo.c (g_file_info_get_icon): replace
323 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
325 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
327 * gfile.c (g_file_create):
328 Documentation update of error codes
330 2008-02-06 Alexander Larsson <alexl@redhat.com>
333 Update to use both mimeapps.list and
334 defaults.list as discussed on xdg list.
336 2008-02-06 Benjamin Otte <otte@gnome.org>
339 * gfilenamecompleter.c:
340 Fix some typos in the documentation.
342 2008-02-06 Alexander Larsson <alexl@redhat.com>
344 * glocalfile.c (g_local_file_trash):
345 Don't succeed with trash if newly created
346 trash dir has the wrong owner. (#514696)
348 2008-02-05 Alexander Larsson <alexl@redhat.com>
350 * glocalfile.c (g_local_file_move):
351 Don't spew warnings when destination is not
354 2008-02-03 Hans Breuer <hans@breuer.org>
356 * makefile.msc : update
358 2008-02-01 Michael Natterer <mitch@imendio.com>
360 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
361 return value of xdg_mime_list_mime_parents() to a variable of the
364 2008-02-01 Alexander Larsson <alexl@redhat.com>
366 * gappinfo.c (g_app_info_launch_uris):
367 Actually call the launch_uris method, not
370 2008-02-01 Alexander Larsson <alexl@redhat.com>
372 * gdesktopappinfo.c (g_desktop_app_info_equal):
373 Ensure appinfos with no id but same pointer value
376 2008-02-01 Alexander Larsson <alexl@redhat.com>
378 * gappinfo.c (g_app_info_launch_default_for_uri):
381 2008-02-01 Alexander Larsson <alexl@redhat.com>
385 Add g_app_info_launch_default_for_uri utility
388 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
391 Doc fix for g_app_info_get_default_for_uri_scheme ()
394 2008-01-30 Alexander Larsson <alexl@redhat.com>
397 Add doc comment about uris vs GFiles to
401 Ensure uris passed to g_app_info_launch_uris()
402 are not roundtriped through GFile (as that
403 may be slightly destructive for e.g. mailto: links)
405 2008-01-30 Alexander Larsson <alexl@redhat.com>
407 * tests/data-input-stream.c:
408 * tests/data-output-stream.c:
409 C89 fixes from Jens Granseuer (#512849)
411 2008-01-30 Alexander Larsson <alexl@redhat.com>
414 Fix gamin/fam difference build issue. (#509419)
416 2008-01-29 Alexander Larsson <alexl@redhat.com>
420 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
422 2008-01-29 Alexander Larsson <alexl@redhat.com>
426 giomodule-priv.h include moved to .c file.
428 2008-01-29 Alexander Larsson <alexl@redhat.com>
430 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
431 Remove unused prio/name fields.
433 2008-01-29 Alexander Larsson <alexl@redhat.com>
435 * gcontenttype.c (looks_like_text):
436 Don't treat whitespace as control chars.
438 2008-01-29 Alexander Larsson <alexl@redhat.com>
441 Lazily create the desktop files for appinfos created
442 by g_app_info_create_from_commandline() when needed
443 for mime associations. This allows run-time use
444 of GAppInfo object without creating unnecessary
447 2008-01-29 Alexander Larsson <alexl@redhat.com>
450 Added new symbols to gio.symbols
452 2008-01-29 Alexander Larsson <alexl@redhat.com>
455 Add g_file_query_default_handler utility to easily look up
456 the GAppInfo that handles a file.
458 * gdesktopappinfo.[ch]:
460 Set up an extension point for g_app_info_get_default_for_uri_scheme()
463 Remove unused function
465 2008-01-29 Alexander Larsson <alexl@redhat.com>
468 Mention need to free returned value in
469 g_file_enumerator_next_files_finish docs.
470 Fix leak if g_file_enumerator_next_files_finish()
473 2008-01-29 Alexander Larsson <alexl@redhat.com>
476 (_g_unix_content_type_get_parents):
477 Use list_parents, not get_parents from xdgmime, because
478 the later doesn't use the cache.
480 * xdgmime/xdgmimecache.c:
481 (_xdg_mime_cache_list_mime_parents):
482 Don't list the same type as parent multiple times.
484 2008-01-28 Matthias Clasen <mclasen@redhat.com>
486 * === Released 2.15.4 ===
488 2008-01-28 Alexander Larsson <alexl@redhat.com>
491 Register local vfs with prio 0.
494 Remove old name and prio class members
496 2008-01-28 Matthias Clasen <mclasen@redhat.com>
498 * tests/g-file.c: Disable some tests that are failing in
499 the absence of a http backend.
501 2008-01-28 Alexander Larsson <alexl@redhat.com>
505 Add registration hooks for extension points.
506 Register the gio extension points.
508 * fam/gfamdirectorymonitor.c:
509 * fam/gfamfilemonitor.c:
510 * glocaldirectorymonitor.[ch]:
511 * glocalfilemonitor.[ch]:
512 * gnativevolumemonitor.h:
513 * gunionvolumemonitor.c:
514 * gunixvolumemonitor.c:
517 * inotify/ginotifydirectorymonitor.c:
518 * inotify/ginotifyfilemonitor.c:
519 Use the extension points registration instead
520 of g_type_children().
522 2008-01-28 Matthias Clasen <mclasen@redhat.com>
525 * gvolume.[hc]: Document new API.
527 * gfile.c (g_file_copy_async): Fix docs
529 2008-01-27 Matthias Clasen <mclasen@redhat.com>
531 * gbufferedinputstream.c:
533 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
536 2008-01-27 Matthias Clasen <mclasen@redhat.com>
538 * glocalfile.c: Avoid trivial differences in translatable strings.
540 2008-01-25 Matthias Clasen <mclasen@redhat.com>
542 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
543 build with gcc 3.4 (#509419)
545 2008-01-25 Matthias Clasen <mclasen@redhat.com>
547 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
548 (#509994, Murray Cumming)
550 2008-01-25 Matthias Clasen <mclasen@redhat.com>
552 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
553 * gioscheduler.c: Keep calling io jobs until they return FALSE;
554 this allows big jobs to be executed in chunks, instead of blocking
555 the main loop for a long time.
557 * gsimpleasyncresult.c:
558 * giofile.c: Adapt callers.
560 2008-01-25 Alexander Larsson <alexl@redhat.com>
563 Implement changes discussed on xdg list.
564 Now we can add supported mimetypes by just using defaults.list
565 We can also remove associations in defaults.list.
567 2008-01-25 Alexander Larsson <alexl@redhat.com>
570 Don't make local copy of desktop file
571 for mimetype changes if the file already
572 supports the new mimetype.
574 2008-01-25 Matthias Clasen <mclasen@redhat.com>
578 * gbufferedinputstream.c:
579 * glocalfile.c: String improvements. (#511966,
580 Theppitak Karoonboonyanan)
582 2008-01-24 Matthias Clasen <mclasen@redhat.com>
584 * gioscheduler.h: Expand docs a bit.
586 2008-01-24 Alexander Larsson <alexl@redhat.com>
589 Add g_drive_get_identifier and
590 g_drive_enumerate_identifiers
593 Add g_volume_get_identifier and
594 g_volume_enumerate_identifiers
600 Implement identifiers for unix backend
602 2008-01-24 Alexander Larsson <alexl@redhat.com>
607 Add g_file_copy_async() (#511580)
608 Based on patch from Carlos Garcia Campos
610 2008-01-23 Matthias Clasen <mclasen@redhat.com>
612 * gioscheduler.c: Some documentation additions.
614 2008-01-22 Alexander Larsson <alexl@redhat.com>
617 (g_desktop_app_info_new):
620 2008-01-22 Alexander Larsson <alexl@redhat.com>
623 (g_desktop_app_info_new_from_filename):
626 2008-01-22 Alexander Larsson <alexl@redhat.com>
628 * glocalfileinfo.c (get_thumbnail_attributes):
631 2008-01-22 Alexander Larsson <alexl@redhat.com>
634 (canonicalize_filename):
635 Canonicalize paths that start with more than
640 (test_g_file_new_for_path):
643 2008-01-22 Alexander Larsson <alexl@redhat.com>
646 Allow UTF-8 in file:// parse names.
649 * tests/data-input-stream.c:
650 * tests/data-output-stream.c:
651 * tests/g-file-info.c:
653 Added a bunch of tests from Tomas Bzatek
655 2008-01-21 Matthias Clasen <mclasen@redhat.com>
657 * === Released 2.15.3 ===
659 2008-01-21 Alexander Larsson <alexl@redhat.com>
661 * gfileinputstream.[ch]:
662 * gfileoutputstream.[ch]:
664 Remove duplicated GSeekable functions. (#509990)
665 Just use the g_seekable_xxx() calls instead.
667 2008-01-21 Matthias Clasen <mclasen@redhat.com>
670 * gvolumemanager.c: Whitespace cleanups.
672 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
673 Use the right mode when creating the file.
675 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
678 * gfileinputstream.c:
680 * goutputstream.c: Documentation: Fixed minor typos
681 and added more mentions of specific _finish() functions.
683 2008-01-21 Alexander Larsson <alexl@redhat.com>
685 * inotify/Makefile.am:
686 * inotify/inotify-helper.c:
687 * inotify/inotify-kernel.c:
688 * inotify/inotify-path.c:
689 * inotify/local_inotify.h: Removed.
690 * inotify/local_inotify_syscalls.h: Removed.
691 Removed the included copies of the inotify
692 headers. We now only use the <sys/inotify.h>
693 header which exists on modern systems.
694 This fixes problems on ARM and SH5 (#510448)
695 but is also generally much cleaner and future
696 safe. For instance, if other OSes add support
697 for inotify it should "just work".
699 2008-01-20 Matthias Clasen <mclasen@redhat.com>
701 * inotify/*.c: Coding style fixes.
702 * inotify/inotify-missing.c: Use g_timeout_add_seconds
703 for the 1/4 Hz timer.
705 2008-01-20 Matthias Clasen <mclasen@redhat.com>
709 * gmemoryinputstream.c:
710 * gmemoryoutputstream.c:
712 * gthemedicon.c: Documentation updates
714 2008-01-20 Murray Cumming <murrayc@murrayc.com>
716 * gfile.c: documentation: Fixed more minor
719 2008-01-18 Murray Cumming <murrayc@murrayc.com>
721 * gmount.c: (g_mount_remount): documentation:
722 Mention g_mount_remount_finish() instead of
723 g_mount_unmount_finish().
725 2008-01-18 Murray Cumming <murrayc@murrayc.com>
729 * gfile.c: Fixed some minor typos in the
732 2008-01-18 Murray Cumming <murrayc@murrayc.com>
734 * gio/gvolumemonitor.c:
735 (g_volume_monitor_get_connected_drives):
736 (g_volume_monitor_get_volumes):
737 (g_volume_monitor_get_mounts): Documentation:
738 Clarify the ownership of the regurn GLists.
740 2008-01-17 Alexander Larsson <alexl@redhat.com>
743 Add the async find_enclosing_mount version
744 to the header file too.
746 2008-01-17 Alexander Larsson <alexl@redhat.com>
749 Add async version of find_enclosing_mount
750 with default implementation.
752 2008-01-17 Alexander Larsson <alexl@redhat.com>
757 Allow calls to implementation of copy and write
758 even if the type of the file implementations is
759 different. This can be used to implement native
760 upload and download calls in a vfs.
764 Protect against the case where move is called
765 with one file not being local.
767 Make sure we call the progress callback once
768 in the native move operation so that the caller
769 knows how many bytes were copied.
771 2008-01-16 Murray Cumming <murrayc@murrayc.com>
774 * gdatainputstream.c:
776 * gfileoutputstream.c:
781 * gunixmounts.c: Corrected some typos in the documentation:
783 its -> it's (where appropriate).
785 2008-01-16 Alexander Larsson <alexl@redhat.com>
789 Add g_file_query_exists (#508771)
791 2008-01-15 Murray Cumming <murrayc@murrayc.com>
796 * gvolume.c: For async functions that have no non-async
797 version, document that the GAsyncReadyCallback may be NULL.
800 2008-01-15 Alexander Larsson <alexl@redhat.com>
802 * gmemoryinputstream.c:
803 * gmemoryoutputstream.c:
804 Don't do pointer arithmetic on void * (#508602)
805 Patch from Kazuki IWAMOTO
807 2008-01-14 Matthias Clasen <mclasen@redhat.com>
809 * === Released 2.15.2 ===
811 2008-01-14 Alexander Larsson <alexl@redhat.com>
813 * gfile.c (g_file_monitor_file):
814 Don't set error here, since we fallback to polling monitor.
816 2008-01-14 Alexander Larsson <alexl@redhat.com>
819 (g_file_monitor_directory):
820 (g_file_monitor_file):
821 Add GError to file monitor calls
823 * glocaldirectorymonitor.c:
824 * glocaldirectorymonitor.h:
826 * glocalfilemonitor.c:
827 * glocalfilemonitor.h:
829 Update for above change
831 2008-01-14 Alexander Larsson <alexl@redhat.com>
835 Handle root correctly in g_file_get_relative_path (#508719)
837 2008-01-14 Alexander Larsson <alexl@redhat.com>
840 Clean up docs and example for GAsyncResult (#508074)
842 2008-01-11 Murray Cumming <murrayc@murrayc.com>
844 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
845 and correct some spelling mistakes. Bug #508108.
847 2008-01-11 Matthias Clasen <mclasen@redhat.com>
849 * glocalfileinfo.c: Add a comment.
851 2008-01-10 Murray Cumming <murrayc@murrayc.com>
853 * gfileinfo.c: GFileInfo description: Mention
854 how to actually set attributes in a GFile and how to discover
855 which attributes are settable. Bug #508378.
857 2008-01-10 A. Walton <awalton@svn.gnome.org>
859 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
860 (g_app_info_get_default_for_type):
861 Check for NULL content types.
863 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
865 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
867 2008-01-09 Murray Cumming <murrayc@murrayc.com>
869 * gfile.c: *_async() functions: Several small corrections
870 to the documentation, mostly correcting copy/paste errors
871 and improving some sentences.
873 2008-01-09 Dan Winship <danw@gnome.org>
875 * glocalfile.c (get_unique_filename): x86_64 fix
877 2008-01-09 Alexander Larsson <alexl@redhat.com>
882 Add g_unix_mount_guess_should_display and use
883 for unix volume monitor backend.
884 This means we more or less show what the
885 gnome-vfs backend did.
886 Based on patch from Padraig O'Briain
888 2008-01-09 Alexander Larsson <alexl@redhat.com>
892 Add g_themed_icon_new_with_default_fallbacks
895 Use default fallbacks for icons
897 2008-01-09 Alexander Larsson <alexl@redhat.com>
900 * gmountoperation.[ch]:
901 Change the API a bit so that unhandled methods
902 get reported via the reply, rather than by
903 the signal emission return value. This is because
904 some handlers can't know this immediately without
905 doing I/O, and this is an async operation that
908 2008-01-09 Alexander Larsson <alexl@redhat.com>
911 * fam/gfamdirectorymonitor.c:
912 * fam/gfamfilemonitor.c:
913 Fix double free crash (#508224)
914 Patch from Joe Marcus Clarke
916 008-01-07 Matthias Clasen <mclasen@redhat.com>
918 * === Released 2.15.1 ===
920 2008-01-07 Alexander Larsson <alexl@redhat.com>
922 * gunixinputstream.c (g_unix_input_stream_skip_finish):
923 Fix warning (#507835)
925 2008-01-07 Alexander Larsson <alexl@redhat.com>
928 Pass --internal to glib-genmarshal
933 Use better types for signal arguments (#507822)
935 2008-01-07 Alexander Larsson <alexl@redhat.com>
938 Build test subdir after .
939 Remove gdirectorymonitor.[ch]
941 * gdirectorymonitor.[ch]:
945 Remove GDirectoryMonitor and make
946 GFileMonitor the baseclass for both file and
947 directory monitors. Lift the more generic
948 rate limiting code from GDirectoryMonitor
952 * fam/gfamdirectorymonitor.[ch]:
953 * inotify/ginotifydirectorymonitor.[ch]:
954 * inotify/inotify-helper.c:
955 * glocaldirectorymonitor.[ch]:
958 Update for the removed GDirectoryMonitor.
960 * gmemoryoutputstream.c:
961 Remove ununsed variable
963 2008-01-07 Alexander Larsson <alexl@redhat.com>
965 * gmemoryinputstream.c:
966 Translate error strings
969 * gmemoryoutputstream.[ch]:
970 New implementation that avoids using GByteArray
971 in implementation and API. (#506377)
973 2008-01-06 Matthias Clasen <mclasen@redhat.com>
975 * tests/*: Add a test for memory input streams.
977 * Makefile.am: Add tests to SUBDIRS.
979 2008-01-06 Matthias Clasen <mclasen@redhat.com>
981 * glocalfilemonitor.c:
982 * glocaldirectorymonitor.c: Mark property nicks and blurbs
985 2008-01-06 Matthias Clasen <mclasen@redhat.com>
987 * gdesktopappinfo.c: Fix a docs typo.
989 * gfileattribute.c: Add information about extended attributes
990 to the documentation. (#505058)
992 2008-01-04 Alexander Larsson <alexl@redhat.com>
996 Use the right type (uint) for the ask_password signal.
998 2008-01-04 Alexander Larsson <alexl@redhat.com>
1003 Add g_app_info_supports_files()
1004 Remove desktop arg from g_app_info_should_show().
1006 * gdesktopappinfo.[ch]:
1007 Implement g_app_info_supports_files() and new should_show()
1008 Add g_desktop_app_info_set_desktop_env() to set the desktop
1009 for should_show(). (This will be set by gtk+ later)
1011 2008-01-04 Alexander Larsson <alexl@redhat.com>
1014 * gmemoryinputstream.[ch]:
1015 Improve API so that you can use multiple chunks
1016 of memory and custom destroy functions. (#506374)
1018 2008-01-03 Alexander Larsson <alexl@redhat.com>
1021 Handle NULL attribute matchers safely, as we return this
1022 for empty attribute matcher strings.
1024 2008-01-03 Alexander Larsson <alexl@redhat.com>
1026 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1027 Add /usr/local to list of internal mountpoints
1029 2008-01-03 Alexander Larsson <alexl@redhat.com>
1032 Check for HAVE_LCHOWN (#505887)
1034 2008-01-03 Alexander Larsson <alexl@redhat.com>
1038 Add define for selinux context attribute.
1039 Fix missing : -> :: namespace separator change
1040 Fix missing _ -> - name change for xattr-sys.
1043 2008-01-03 Alexander Larsson <alexl@redhat.com>
1046 Link to libglib and libgobject directly (#504879)
1047 Patch from Sebastien Bacher
1049 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1051 * gfile.c: Expanded the g_file_new_for_commandline_arg
1052 description a bit, based on the code and the docs of the
1053 other g_file_new_for_* functions.
1055 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1057 * gfilemonitor.h: Fixed typo in docs.
1059 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1061 Updates to GIO documentation. (#506395, Mikael Hermansson)
1063 * gcontenttype.c: Describe memory management for return value of
1064 g_content_types_get_registered(). Missing piece from #505815.
1065 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1066 GVolume, GDrive, GMounts, which hopefully gives the user less
1067 confusions when using this API. Following explainations from
1068 Alexander Larsson on gtk-devel-list.
1070 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1072 * gfileinfo.c: Expand the long description.
1074 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1077 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1078 fix builds with --disable-visibility. (#500273, Christian Persch)
1080 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1082 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1083 in the list of returned app infos.
1085 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1087 * gappinfo.c: Fix a cross-reference
1089 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1091 * gfileinputstream.c:
1092 * gfileoutputstream.c:
1096 * gdesktopappinfo.c:
1098 * gfileinfo.c: Documentation updates.
1100 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1102 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1105 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1107 * gcontenttype.c (g_content_types_get_registered): Don't return
1108 freed memory (#505815, Mikael Hermansson)
1110 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1112 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1113 used to detect statbuf->st_blocks. (#505042)
1115 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1117 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1118 environment handling. (#504829, Cosimo Cecchi)
1120 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1122 * gappinfo.c: Doc improvements
1124 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1127 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1129 * === Released 2.15.0 ===
1131 2007-12-20 Hans Breuer <hans@breuer.org>
1133 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1134 with symbols gwin32appinfo.obj, added gmount.obj
1135 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1137 2007-12-20 Alexander Larsson <alexl@redhat.com>
1143 * gfilenamecompleter.c:
1146 * gpollfilemonitor.c:
1147 File attribute renames:
1149 fs:: -> filesystem::
1150 id::fs -> id::filesystem
1152 2007-12-20 Alexander Larsson <alexl@redhat.com>
1161 Add GMountUnmountFlags to all unmount and
1163 Add g_mount_remount() call.
1165 2007-12-20 Alexander Larsson <alexl@redhat.com>
1167 * gvfs.c (get_default_vfs):
1168 Fix unused variable warning
1170 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1172 * pltcheck.sh: Update
1174 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1176 * gunionvolumemonitor.c:
1177 * gunixmount.c: Remove C99 comments
1179 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1181 * gio.symbols: Add some missing symbols
1183 2007-12-19 Alexander Larsson <alexl@redhat.com>
1186 Make g_io_modules_load_all_in_directory not unuse
1187 loaded modules so that users of it can do stuff
1189 Init internal "module" types.
1190 Initialize static prio and name for types so that
1191 we don't have to load modules to get it.
1193 * gnativevolumemonitor.h:
1195 Move is_supported to parent class so that
1196 non-native monitors can avoid being initialized
1197 too. (For instance GDaemonVolumeMonitor if we're
1198 not using GDaemonVfs.)
1200 * glocaldirectorymonitor.[ch]:
1201 * glocalfilemonitor.[ch]:
1202 * gunionvolumemonitor.c:
1203 * gunixvolumemonitor.c:
1205 Find plugins using the static prio+name to
1206 avoid unnecessarily loading the modules.
1208 2007-12-19 Alexander Larsson <alexl@redhat.com>
1213 2007-12-19 Alexander Larsson <alexl@redhat.com>
1215 * gunionvolumemonitor.c:
1216 Store the native type as GType, not class so that
1217 we can unload it. But still avoid unnecessarily
1220 2007-12-19 David Zeuthen <davidz@redhat.com>
1222 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1223 add signals 'disconnected' and 'eject-button' on GDrive. Add
1224 signal 'removed' on GVolume and 'unmounted' on GMount.
1226 * gdrive.c: (g_drive_base_init):
1228 * gfile.c: (g_file_mount_mountable),
1229 (g_file_mount_enclosing_volume):
1232 * gmount.c: (g_mount_base_init):
1234 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1235 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1236 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1240 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1242 * *.c: Fix up includes in the section docs.
1244 2007-12-17 Alexander Larsson <alexl@redhat.com>
1246 * gnativevolumemonitor.h:
1247 * gunionvolumemonitor.c:
1248 * gunixvolumemonitor.c:
1249 Add is_supported() to GNativeVolumeMonitorClass so
1250 that we can avoid having to create an object to see
1251 if the backend is supported at runtime.
1252 Also add name member and an env var to pick a specific
1253 volume monitor backend.
1257 Add cancellable to _g_mount_get_for_mount_path()
1259 * glocaldirectorymonitor.c:
1260 * glocalfilemonitor.c:
1261 Avoid loading and unloading modules while sorting.
1263 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1266 * gunixmounts.[hc]: Namespace waste reduction, move some
1267 g_get_unix_mount functions to the g_unix_mount namespace.
1270 * gunixvolumemonitor.c:
1272 * glocaldirectorymonitor.c: Update all callers.
1274 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1276 2007-12-17 Alexander Larsson <alexl@redhat.com>
1279 Add doc comments about what GFile operations are
1280 guaranteed to not block.
1282 2007-12-17 Alexander Larsson <alexl@redhat.com>
1285 Add missing #ifdef fixing OSX build.
1286 (#503334, patch from Richard Hult)
1288 2007-12-14 David Zeuthen <davidz@redhat.com>
1292 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1293 (g_mount_eject), (g_mount_eject_finish):
1295 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1296 (get_volume_for_uuid), (get_mount_for_uuid),
1297 (g_union_volume_monitor_class_init),
1298 (get_default_native_type_with_exclude), (get_default_native_type),
1299 (get_native_type), (update_native_type),
1300 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1301 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1302 (g_unix_mount_can_eject), (eject_unmount_cb),
1303 (eject_unmount_read_error), (eject_unmount_do),
1304 (g_unix_mount_unmount), (g_unix_mount_eject),
1305 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1306 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1307 (g_unix_mount_point_guess_can_eject):
1309 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1310 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1311 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1312 (g_unix_volume_mount), (g_unix_volume_eject),
1313 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1314 * gunixvolumemonitor.c: (get_volume_for_uuid),
1315 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1317 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1318 (g_volume_eject), (g_volume_eject_finish):
1320 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1321 (g_volume_monitor_get_mount_for_uuid):
1324 Provide eject() on both GMount and GVolume and utility functions
1325 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1326 ejected. Introduce the concept of UUID's and wire it into GVolume
1327 and GMount and provide API on GVolumeMonitor to find such
1328 instances. Also handle the case where an external
1329 GNativeVolumeMonitor fails to initialize. Lock around the
1330 _g_get_mount_for_mount_path() function such that volume monitor
1331 implementations won't have to do locking themselves.
1333 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1335 * gdesktopappinfo.c:
1341 * gvolume.h: Documentation updates
1343 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1346 * gfile.h: Doc updates
1348 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1351 * gdesktopappinfo.c: Use hash table iterators.
1353 2007-12-14 Alexander Larsson <alexl@redhat.com>
1356 * gfileattribute.[ch]:
1357 * gfileattribute-priv.h:
1358 Move GFileAttributeValue to a private header, as
1362 Make set_attribute take a type + a pointer instead
1363 of a GFileAttributeValue.
1366 Fix up for above changes.
1367 Add g_file_info_get_attribute_data to get
1368 all info in one call, g_file_info_get_attribute_status
1369 to get the status and g_file_info_get_attribute_as_string.
1373 * glocalfileinfo.[ch]:
1377 Make _guess_type static.
1379 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1382 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1383 made mkenums and friends use temporary files to avoid leaving
1384 empty generated files on failure (#503470).
1386 2007-12-14 Alexander Larsson <alexl@redhat.com>
1388 * gmountoperation.h:
1391 2007-12-14 Alexander Larsson <alexl@redhat.com>
1395 * gfileattribute.[ch]:
1398 * glocalfileoutputstream.c:
1399 * gmountoperation.[ch]:
1400 * goutputstream.[ch]:
1401 Clean up all flags enums to not have _FLAGS in them
1402 Make the names of some of the enums better.
1407 2007-12-14 Michael Natterer <mitch@imendio.com>
1409 * gio.symbols: fix g_io_scheduler symbol names.
1411 2007-12-14 Alexander Larsson <alexl@redhat.com>
1417 * gbufferedinputstream.h:
1418 * gbufferedoutputstream.h:
1421 * gdatainputstream.h:
1422 * gdataoutputstream.h:
1423 * gdesktopappinfo.h:
1424 * gdirectorymonitor.h:
1428 * gfileenumerator.h:
1431 * gfileinputstream.h:
1433 * gfilenamecompleter.h:
1434 * gfileoutputstream.h:
1435 * gfilterinputstream.h:
1436 * gfilteroutputstream.h:
1444 * gmemoryinputstream.h:
1445 * gmemoryoutputstream.h:
1447 * gmountoperation.h:
1450 * gsimpleasyncresult.h:
1452 * gunixinputstream.h:
1454 * gunixoutputstream.h:
1458 * inotify/Makefile.am:
1459 Only allow including <gio/gio.h> from apps
1461 2007-12-14 Alexander Larsson <alexl@redhat.com>
1463 * gioscheduler.[ch]:
1464 * gsimpleasyncresult.c:
1465 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1466 Split out the send_to_mainloop call into two versions instead
1467 of having the block argument.
1469 2007-12-13 Alexander Larsson <alexl@redhat.com>
1471 * gcancellable.[ch]:
1473 * gbufferedinputstream.c:
1474 * gfileenumerator.c:
1475 * gfileinputstream.c:
1476 * gfileoutputstream.c:
1480 g_push/pop_current_cancellable ->
1481 g_cancellable_push/pop_current
1483 2007-12-13 Alexander Larsson <alexl@redhat.com>
1487 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1489 2007-12-13 Alexander Larsson <alexl@redhat.com>
1491 * gmountoperation.h:
1492 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1494 2007-12-12 Alexander Larsson <alexl@redhat.com>
1497 Fix race condition when freeing proxy in
1498 g_io_job_send_to_mainloop().
1500 2007-12-12 Alexander Larsson <alexl@redhat.com>
1506 Make attribute namespace separator "::" instead of ":".
1507 Use - instead of _ as separator in attribute names.
1509 2007-12-12 Alexander Larsson <alexl@redhat.com>
1511 * gbufferedinputstream.h:
1512 * gbufferedoutputstream.h:
1513 * gdatainputstream.h:
1514 * gdataoutputstream.h:
1515 * gdirectorymonitor.h:
1516 * gfileenumerator.h:
1517 * gfileinputstream.h:
1519 * gfileoutputstream.h:
1520 * gfilterinputstream.h:
1521 * gfilteroutputstream.h:
1523 * glocalfileinputstream.h:
1524 * glocalfileoutputstream.h:
1525 * gmemoryinputstream.h:
1526 * gmemoryoutputstream.h:
1527 * gnativevolumemonitor.h:
1529 * gunixinputstream.h:
1530 * gunixoutputstream.h:
1533 s/parent/parent_instance/ in GObjects
1535 2007-12-12 Alexander Larsson <alexl@redhat.com>
1540 No need for padding for interfaces
1542 2007-12-12 Alexander Larsson <alexl@redhat.com>
1546 * gbufferedinputstream.c:
1547 * gbufferedoutputstream.c:
1550 * gdatainputstream.[ch]:
1551 * gdesktopappinfo.c:
1552 * gdirectorymonitor.c:
1554 * gfileattribute.[ch]:
1557 * gfileinputstream.h:
1558 * gfilemonitor.[ch]:
1559 * gfileoutputstream.[ch]:
1560 * gfilterinputstream.h:
1561 * gfilteroutputstream.h:
1564 * gloadableicon.[ch]:
1565 * gmemoryinputstream.c:
1566 * gmountoperation.c:
1568 Fix up a bunch of details in the docs.
1573 2007-12-11 David Zeuthen <davidz@redhat.com>
1575 Rework how volumes, drives and volume monitoring is
1576 done. Previosly the model was
1578 GDrive <1-1> GVolume
1580 where a GDrive instance represented a mount point and a GVolume
1581 instance represented a mounted file system. This patch changes it
1584 GDrive <1-N> GVolume <1-1> GMount
1586 where GMount now serves the purpose of the old GVolume and the new
1587 GVolume serves the purpose of the old GDrive. In addition the new
1588 GDrive interface is used to represent a collection of GVolume
1589 instances (typically partitions) and also contains utility to query
1590 the state of the physical drive the GDrive object represents (such
1591 as checking for media, polling the drive, ejecting the media etc.).
1593 Also implement mounting and unmounting in the Unix volume monitor
1594 backend. A subquent patch will introduce GDrive support for ejection
1598 * gdrive.c: (g_drive_is_media_check_automatic),
1599 (g_drive_is_media_removable), (g_drive_has_media),
1600 (g_drive_can_poll_for_media), (g_drive_eject),
1601 (g_drive_eject_finish), (g_drive_poll_for_media),
1602 (g_drive_poll_for_media_finish):
1604 * gfile.c: (g_file_find_enclosing_mount):
1607 * glocaldirectorymonitor.c:
1608 (g_local_directory_monitor_constructor), (mounts_changed):
1609 * glocalfile.c: (get_mount_info),
1610 (g_local_file_find_enclosing_mount),
1611 (g_local_file_file_iface_init):
1612 * gnativevolumemonitor.h:
1613 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1614 (get_connected_drives), (g_union_volume_monitor_class_init),
1615 (child_volume_added), (child_volume_removed),
1616 (child_volume_changed), (child_mount_added), (child_mount_removed),
1617 (child_mount_pre_unmount), (child_mount_changed),
1618 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1619 (g_union_volume_monitor_remove_monitor),
1620 (_g_mount_get_for_mount_path):
1621 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1622 (guess_system_internal), (_g_get_unix_mounts),
1623 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1624 (g_unix_mount_free), (g_unix_mount_compare),
1625 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1626 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1627 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1628 (type_to_icon), (g_unix_mount_guess_name),
1629 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1630 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1631 (_resolve_symlink), (_resolve_dev_root):
1633 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1634 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1635 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1636 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1637 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1638 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1639 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1640 (g_unix_volume_volume_iface_init):
1642 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1643 (get_mounts), (get_volumes), (get_connected_drives),
1644 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1645 (mountpoints_changed), (mounts_changed),
1646 (g_unix_volume_monitor_init),
1647 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1648 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1649 * gunixvolumemonitor.h:
1650 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1651 (g_volume_mount), (g_volume_mount_finish):
1653 * gvolumemonitor.c: (g_volume_monitor_class_init),
1654 (g_volume_monitor_get_connected_drives),
1655 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1658 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1660 * gmountoperation.h (GPasswordFlags): Close the gap
1662 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1664 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1666 * gdesktopappinfo.[hc]: Remove _-prefixes
1668 2007-12-10 Tor Lillqvist <tml@novell.com>
1670 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1673 2007-12-10 Alexander Larsson <alexl@redhat.com>
1675 * gfile.c (g_file_set_display_name):
1676 Don't hardcode '/' (#502727)
1678 2007-12-09 Hans Breuer <hans@breuer.org>
1680 * makefile.msc : follow lib naming convention
1681 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1682 for user and group name, tested with ../tests/gio-ls
1684 2007-12-09 A. Walton <awalton@svn.gnome.org>
1686 * gdesktopappinfo.c:
1692 * gfileenumerator.c:
1697 * gmemoryinputstream.c:
1698 * gmemoryoutputstream.c:
1700 * gsimpleasyncresult.c:
1701 More documentation cleanup and filling in missing information, bringing
1702 GIO to 99% symbol coverage.
1704 2007-12-08 Hans Breuer <hans@breuer.org>
1706 [gio compiles and links on win32, not sure how much already works]
1707 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1708 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1709 base on win32 API; prefer g_lstat() over lstat(); instead of
1710 localtime_r() use an all GLib implementation on win32;
1711 get_mount_info() still needs a win32 specifc implementation
1712 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1713 win32_get_file_user_info to get owner/group info without uid/gid
1714 * glocalfileinputstream.c : include <io.h> on win32
1715 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1716 definition, use g_win32_ftruncate() for G_OS_WIN32
1717 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1718 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1719 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1720 * makefile.msc : updated
1722 2007-12-07 Alexander Larsson <alexl@redhat.com>
1724 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1725 Avoid warning spew if error == NULL
1727 2007-12-07 Alexander Larsson <alexl@redhat.com>
1730 Update docs wrt etags
1732 2007-12-06 Alexander Larsson <alexl@redhat.com>
1735 Include sys/types.h for dev_t (#501919)
1737 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1741 Make abicheck and pltcheck pass.
1743 2007-12-05 Alexander Larsson <alexl@redhat.com>
1746 * giomodule-priv.h: Added.
1747 * glocaldirectorymonitor.c:
1748 * glocalfilemonitor.c:
1749 * gunionvolumemonitor.c:
1751 Actually add the declaration of _g_io_modules_ensure_loaded
1753 2007-12-05 Alexander Larsson <alexl@redhat.com>
1755 * gdatainputstream.c:
1760 * glocaldirectorymonitor.c:
1761 * glocalfilemonitor.c:
1762 * gunionvolumemonitor.c:
1764 Make g_io_modules_ensure_loaded a private function and
1765 don't pass in the dirname. This means we can do magic
1766 directory finding in the win32 version.
1767 Export the actual load-modules-in-directory code so that
1768 gvfs can reuse that.
1770 2007-12-05 Alexander Larsson <alexl@redhat.com>
1772 * gbufferedinputstream.c:
1773 * gbufferedoutputstream.c:
1776 * gfileenumerator.[ch]:
1777 * gfileinputstream.c:
1778 * gfileoutputstream.[ch]:
1779 * gfilterinputstream.c:
1780 * gfilteroutputstream.c:
1781 * ginputstream.[ch]:
1783 * glocalfileenumerator.c:
1784 * glocalfileinputstream.c:
1785 * glocalfileoutputstream.c:
1786 * gmemoryinputstream.c:
1787 * gmemoryoutputstream.c:
1788 * goutputstream.[ch]:
1791 * gunixinputstream.c:
1792 * gunixoutputstream.c:
1793 Rename all struct members named:
1794 read, write, close, truncate, or mount
1795 to foo_fn, as these are reserved names
1796 and could be defined as macros in libc.
1799 2007-12-04 Alexander Larsson <alexl@redhat.com>
1802 (g_output_stream_close):
1803 Only call flush if non-null.
1805 2007-11-30 Dan Winship <danw@gnome.org>
1807 * ginputstream.c (g_input_stream_set_pending): Make this take a
1808 GError and return a gboolean, and do the "outstanding operation"
1809 check (and the "stream is already closed" check) itself.
1810 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1812 * goutputstream.c (g_output_stream_set_pending)
1813 (g_output_stream_clear_pending): Likewise
1815 * gbufferedinputstream.c:
1816 * gfileinputstream.c:
1817 * gfileoutputstream.c: Update for that
1819 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1820 Like g_simple_async_report_error_in_idle, but takes a GError
1821 rather than building one.
1823 2007-11-30 Dan Winship <danw@gnome.org>
1825 * goutputstream.c: Don't cheat and unset the "pending" flag around
1826 inner calls. Instead, call the class method directly rather than
1827 the wrapper function that checks "pending"
1829 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1831 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1833 2007-12-03 Hans Breuer <hans@breuer.org>
1835 [start of port to win32/msvc]
1836 * gcancellable.c : HAVE_UNIST_H and _pipe()
1837 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1838 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1839 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1841 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1842 * glocalvfs.c : use HAVE_PWD_H
1843 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1844 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1845 * Makefile.am : added to EXTRA_DIST
1847 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1849 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1852 2007-12-03 Alexander Larsson <alexl@redhat.com>
1855 Handle OSX style xattrs API (#500506)
1857 2007-12-03 Alexander Larsson <alexl@redhat.com>
1861 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1863 2007-12-02 A. Walton <awalton@svn.gnome.org>
1867 Documentation accuracy fixes.
1869 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1871 * gioenumtypes.c.template: Fix typo.
1873 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1875 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1877 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1879 * gdirectorymonitor.c:
1880 * gfilemonitor.c: Add properties
1882 * gbufferedoutputstream.c: Don't mark buffer-size property
1885 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1887 * gbufferedoutputstream.c: Add auto-grow property.
1889 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1891 * *.c: Unify the capitalization of section headings.
1893 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1895 * gmountoperation.c: Add properties
1897 * gdatainputstream.c: Turn byte-order and newline-type into
1900 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1902 * gioenumtypes.[hc].template: Templates for enum registration
1904 * Makefile.am: Generate gioenumtypes.[hc]
1906 * gio.h: Include gioenumtypes.h
1908 * gfile.h: Add some explicit nicks.
1910 * gio.symbols: Add new symbols
1912 * pltcheck.sh: Adjust
1914 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1916 * *.c: Explain etags and link to the explanation
1918 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1920 * *.c: Explain I/O priority.
1922 * *.c: More coding style fixes.
1924 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1926 * gasyncresult.c: Add another paragraph to the intro,
1927 adjust coding style of example.
1929 2007-11-29 A. Walton <awalton@svn.gnome.org>
1932 Fixes unknown meaning in GAppLaunchContext docs.
1934 Clarify asynchronous ops.
1936 Fix entity tag docs.
1939 Provides missing gtk-doc section, fixes API docs slighly.
1940 * gsimpleasyncresult.c:
1941 Fill in missing info in docs.
1942 * gunixinputstream.c:
1943 * gunixoutputstream.c:
1944 Be more expressive in short description.
1946 Remove gtk-doc stubs for non-public API.
1948 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1950 * *.c: Coding style fixups
1952 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1954 * inotify/inotify-helper.c: Don't export the lock from libgio.
1956 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1959 * abicheck.sh: Fix copy-and-paste leftovers
1961 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1963 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1965 2007-11-28 Alexander Larsson <alexl@redhat.com>
1969 Removed unnecessary file
1971 * gdesktopappinfo.[ch]:
1974 * glocaldirectorymonitor.[ch]:
1976 * glocalfileenumerator.[ch]:
1977 * glocalfileinputstream.[ch]:
1978 * glocalfilemonitor.[ch]:
1979 * glocalfileoutputstream.[ch]:
1981 * gnativevolumemonitor.c:
1982 * gpollfilemonitor.[ch]:
1983 * gunionvolumemonitor.[ch]:
1986 * gunixvolumemonitor.[ch]:
1989 * inotify/ginotifydirectorymonitor.[ch]:
1990 * inotify/ginotifyfilemonitor.[ch]:
1991 * inotify/inotify-helper.c:
1992 Append _ to all internal functions
1996 Export symbols needed for modules
1998 2007-11-28 Alexander Larsson <alexl@redhat.com>
2001 * abicheck.sh: Added.
2002 * makegioalias.pl: Added.
2003 * pltcheck.sh: Added.
2004 * gio.symbols: Added.
2007 Initial work on adding symbol handling.
2010 Correct ifdef guard name
2013 * inotify/Makefile.am:
2014 * xdgmime/Makefile.am:
2015 Include toplevel Makefile.decl
2017 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2019 * gcontenttype.c: Move doc comments to the unix section.
2021 * *.[hc]: More trivial doc corrections.
2023 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2025 * gpollfilemonitor.c:
2029 * gdesktopappinfo.c:
2034 * gdatainputstream.c:
2035 * gdatainputstream.h:
2036 * gdataoutputstream.c:
2037 * gdataoutputstream.h:
2038 * gfileinfo.h: Doc cleanups
2040 2007-11-28 Andre Klapper <a9016009@gmx.de>
2042 * gdesktopappinfo.c: Fix a typo.
2044 2007-11-27 Andre Klapper <a9016009@gmx.de>
2046 * glocalfileoutputstream.c: Fix a typo.
2048 2007-11-27 Alexander Larsson <alexl@redhat.com>
2051 Don't include removed headers
2053 2007-11-27 Alexander Larsson <alexl@redhat.com>
2056 * gsocketinputstream.[ch]: Removed.
2057 * gsocketoutputstream.[ch]: Removed.
2058 * gunixinputstream.[ch]: Added.
2059 * gunixoutputstream.[ch]: Added.
2060 Renamed GSocket*Stream to GUnix*Stream and made
2061 it unix-only, since its not really only for sockets
2062 and it only works on unix (but is highly useful there).
2064 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2070 * gbufferedinputstream.c:
2071 * gbufferedinputstream.h:
2072 * gbufferedoutputstream.c:
2073 * gbufferedoutputstream.h:
2077 * gdatainputstream.c:
2078 * gdatainputstream.h:
2079 * gdataoutputstream.c:
2080 * gdataoutputstream.h:
2081 * gdirectorymonitor.c:
2082 * gdirectorymonitor.h:
2089 * gfileenumerator.c:
2090 * gfileenumerator.h:
2095 * gfileinputstream.c:
2096 * gfileinputstream.h:
2099 * gfilenamecompleter.c:
2100 * gfilenamecompleter.h:
2101 * gfileoutputstream.c:
2102 * gfileoutputstream.h:
2103 * gfilterinputstream.c:
2104 * gfilterinputstream.h:
2105 * gfilteroutputstream.c:
2106 * gfilteroutputstream.h:
2119 * glocalfileoutputstream.c:
2120 * gmemoryinputstream.c:
2121 * gmemoryinputstream.h:
2122 * gmemoryoutputstream.c:
2123 * gmemoryoutputstream.h:
2124 * gmountoperation.c:
2125 * gmountoperation.h:
2128 * gpollfilemonitor.c:
2131 * gsimpleasyncresult.c:
2132 * gsimpleasyncresult.h:
2133 * gsocketinputstream.c:
2134 * gsocketinputstream.h:
2135 * gsocketoutputstream.c:
2136 * gsocketoutputstream.h:
2143 * gunixvolumemonitor.c:
2152 Bumps documentation to 93% symbol coverage, touching most
2153 of the public files. Fixes broken function documentation prototypes.
2154 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2155 gtk-doc headers in private files.
2157 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2159 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2160 (g_buffered_input_stream_read_byte):
2161 * gbufferedinputstream.h:
2162 New functions for efficient access to buffer and simple single byte
2165 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2166 (g_data_input_stream_read_until):
2167 * gdatainputstream.h:
2168 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2169 read_until with multiple stop chars.
2171 2007-11-27 Alexander Larsson <alexl@redhat.com>
2175 * inotify/Makefile.am:
2176 Use the user-specified giomoduledir
2178 2007-11-27 Alexander Larsson <alexl@redhat.com>
2182 Add catch-all gio.h header
2183 Don't install gdummyfile.h
2185 2007-11-26 Alexander Larsson <alexl@redhat.com>
2187 * Makefile.am (gioinclude_HEADERS):
2188 Remove trailing whitespace
2190 2007-11-26 Alexander Larsson <alexl@redhat.com>
2192 Merge gio-standalone into glib
2194 2007-11-25 Christian Kellner <gicmo@gnome.org>
2196 * gio/goutputstream.c:
2197 Fix small mistake in the docs.
2199 2007-11-21 Christian Persch <chpe@gnome.org>
2201 * gio/glocalfile.c: (g_local_file_trash):
2202 Convert filenames to UTF-8 for GError.
2203 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2204 as per xdg base dir spec.
2206 2007-11-21 Christian Persch <chpe@gnome.org>
2208 * gio/gdesktopappinfo.c:
2209 Use that g_key_file_to_data cannot fail.
2211 Use stock defines for the key file group and key names.
2214 2007-11-21 Alexander Larsson <alexl@redhat.com>
2217 (copy_stream_with_progress):
2218 Make sure we do a final progress callback with
2219 the full total size.
2221 2007-11-21 Alexander Larsson <alexl@redhat.com>
2224 Export g_file_copy_attributes
2225 Remove padding as its not needed for interfaces
2227 2007-11-20 Alexander Larsson <alexl@redhat.com>
2232 Add G_IO_ERROR_WOULD_MERGE for
2233 copy/move dir on dir with overwrite.
2235 2007-11-20 Alexander Larsson <alexl@redhat.com>
2238 * gio/glocalfileinfo.c:
2239 Add COPY_NAME (this is an optional
2240 non-modified utf8 version of the name) that
2243 2007-11-20 Alexander Larsson <alexl@redhat.com>
2245 * gio/glocalfileenumerator.c:
2246 Report errors as GIOError, not GFileError
2248 2007-11-16 Alexander Larsson <alexl@redhat.com>
2250 * gio/glocalfileoutputstream.c:
2251 * gio/gwin32appinfo.c:
2252 Fix typos in strings.
2253 Patch from Luca Ferretti <elle.uca@libero.it>
2255 2007-11-15 Alexander Larsson <alexl@redhat.com>
2258 Post release version bump
2260 === gio-standalone 0.1.2 ===
2262 2007-11-15 Alexander Larsson <alexl@redhat.com>
2264 * docs/reference/gio/Makefile.am:
2265 Fix up distcheck by removing weird
2271 2007-11-14 Alexander Larsson <alexl@redhat.com>
2273 * gio/gdesktopappinfo.c:
2274 * gio/glocaldirectorymonitor.c:
2276 * gio/glocalfileinfo.c:
2277 * gio/inotify/inotify-sub.c:
2278 * programs/gio-cat.c:
2279 * programs/gio-copy.c:
2280 * programs/gio-info.c:
2281 * programs/gio-ls.c:
2282 * programs/gio-monitor-dir.c:
2283 * programs/gio-monitor-file.c:
2284 * programs/gio-mount.c:
2285 * programs/gio-move.c:
2286 * programs/gio-rm.c:
2287 * programs/gio-save.c:
2288 * programs/gio-trash.c:
2289 Leak fixes from Kjartan Maraas
2291 2007-11-14 Alexander Larsson <alexl@redhat.com>
2293 * gio/fam/fam-helper.c:
2295 * gio/glocalfileinfo.c:
2299 * gio/inotify/inotify-diag.c:
2300 * gio/inotify/inotify-kernel.c:
2301 Various code cleanups from Kjartan Maraas
2303 2007-11-14 Alexander Larsson <alexl@redhat.com>
2305 * gio/gioscheduler.c:
2307 Set up threadpool so that we cache 2 unused
2308 idle threads for at 15 secs. This means we
2309 will reuse thread-local data (like dbus connections)
2312 2007-11-14 Alexander Larsson <alexl@redhat.com>
2314 * gio/fam/fam-helper.c:
2315 * gio/fam/gfamdirectorymonitor.c:
2316 * gio/fam/gfamfilemonitor.c:
2318 * gio/gcontenttype.c:
2319 * gio/gdatainputstream.c:
2320 * gio/gdataoutputstream.c:
2324 * gio/gfileattribute.h:
2325 * gio/gfileenumerator.c:
2327 * gio/ginputstream.c:
2330 * gio/glocalfileinfo.c:
2331 * gio/goutputstream.c:
2332 * gio/gpollfilemonitor.c:
2333 * gio/gsimpleasyncresult.c:
2334 * gio/gunixmounts.c:
2335 * gio/gunixmounts.h:
2336 * gio/inotify/ginotifydirectorymonitor.c:
2337 * gio/inotify/ginotifyfilemonitor.c:
2338 * gio/inotify/inotify-diag.c:
2339 * gio/inotify/inotify-kernel.c:
2340 * gio/inotify/inotify-path.c:
2342 * gio/test-streams.c:
2343 * programs/gio-info.c:
2344 * programs/gio-monitor-dir.c:
2345 * programs/gio-monitor-file.c:
2346 Various code cleanups from Kjartan Maraas
2348 2007-11-13 Alexander Larsson <alexl@redhat.com>
2351 Handle the uri-scheme calls for dummy files
2353 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2355 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2356 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2357 to avoid clash with the C++ keyword.
2359 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2361 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2362 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2364 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2366 * gio/glocaldirectorymonitor.c:
2367 * gio/glocalfilemonitor.c:
2368 * gio/gunionvolumemonitor.c:
2369 Don't use g_once_init_*() for initializations that could fail and
2370 could leave the initialization variable set to 0 but use GOnce.
2371 This prevents a deadlock on the second call when trying to create
2372 a monitor and no monitor type is available. Thanks to Sven Herzberg
2375 2007-11-11 Sven Herzberg <sven@imendio.com>
2377 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2378 #ifdef (make it work on MacOS X again)
2380 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2382 Fixes Changelog for last two commits (sorry guys).
2384 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2386 * gio/gbufferedinputstream.c:
2387 * gio/gdatainputstream.c:
2389 * gio/gfileoutputstream.c:
2390 * gio/gfilterinputstream.c:
2391 * gio/glocalfileinputstream.c:
2394 More consistency fixes in g*stream.c files.
2395 Significant clean of gfile's documentation, filling in of
2396 asynchronous operations documentation.
2398 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2400 * gio/gasyncresult.c:
2401 * gio/gbufferedinputstream.c:
2402 * gio/gbufferedoutputstream.c:
2403 * gio/gcancellable.c:
2404 * gio/gcontenttype.c:
2405 * gio/gdatainputstream.c:
2406 * gio/gdataoutputstream.c:
2407 * gio/gdesktopappinfo.c:
2410 * gio/gfileattribute.c:
2411 * gio/gio/gfileenumerator.c:
2413 * gio/gfileinputstream.c:
2414 * gio/gfilemonitor.c:
2415 * gio/gfileoutputstream.c:
2416 * gio/ginputstream.c:
2418 * gio/gioscheduler.c:
2419 * gio/gloadableicon.c:
2420 * gio/glocalfileoutputstream.c:
2421 * gio/gmemoryoutputstream.c:
2422 * gio/gmountoperation.c:
2423 * gio/goutputstream.c:
2425 * gio/gsimpleasyncresult.c:
2426 * gio/gunionvolumemonitor.c:
2427 * gio/gunixmounts.c:
2428 * gio/gunixvolume.c:
2432 * gio/gvolumemonitor.c:
2433 Updated documentation stubs, working towards consistency and
2436 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2438 * gio/gmemoryoutputstream.c:
2439 * gio/gmemoryoutputstream.h:
2440 Change g_memory_output_stream_set_free_on_close() to
2441 g_memory_output_stream_set_free_data() as this makes more sense and
2442 is more consistent with GMemoryInputStream.
2444 2007-11-07 Alexander Larsson <alexl@redhat.com>
2451 Change how we find the default vfs so that
2452 we can handle a gvfs failing to init
2454 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2456 * gio/gbufferedoutputstream.c:
2457 * gio/gdatainputstream.c:
2458 * gio/gdataoutputstream.c:
2459 * gio/gfileinputstream.c:
2460 * gio/gfileoutputstream.c:
2461 * gio/gfilterinputstream.c:
2462 * gio/gfilteroutputstream.c:
2463 * gio/ginputstream.c:
2464 * gio/gmemoryinputstream.c:
2465 * gio/gmemoryoutputstream.c:
2466 * gio/goutputstream.c:
2467 * gio/gsimpleasyncresult.c:
2468 * gio/gsocketinputstream.c:
2469 * gio/gsocketoutputstream.c:
2470 Add guards to the remaining public functions, add a TODO for
2471 an unimplemented function and remove some useless guards.
2473 2007-11-07 Alexander Larsson <alexl@redhat.com>
2476 Autoconf checks for the various types of
2477 getpwuid_r and getgrgid_r
2479 * gio/glocalfileinfo.c:
2480 Use the autoconf checks from above
2482 2007-11-07 Alexander Larsson <alexl@redhat.com>
2485 (g_local_file_query_filesystem_info):
2486 Some fixes for the statvfs case
2488 2007-11-07 Alexander Larsson <alexl@redhat.com>
2491 (g_local_file_query_filesystem_info):
2492 Pick the "best" of statfs / statvfs for the system
2493 if both are availible.
2495 2007-11-07 Alexander Larsson <alexl@redhat.com>
2497 Solaris fixes from Halton.Huo@Sun.COM:
2504 * gio/glocalfileinfo.c:
2505 Fix for solaris definition of getpwuid_r
2507 * gio/test-streams.c:
2508 Use G_GNUC_PRETTY_FUNCTION
2510 2007-11-07 Alexander Larsson <alexl@redhat.com>
2512 * gio/gdesktopappinfo.c:
2513 (update_default_list):
2514 Remove double semicolon.
2515 Patch from Jens Granseuer
2517 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2519 * docs/reference/gio/gio-sections.txt:
2520 * gio/gbufferedinputstream.c:
2521 * gio/gbufferedinputstream.h:
2522 * gio/gdatainputstream.c:
2523 * gio/gfileenumerator.c:
2524 * gio/gioscheduler.c:
2525 * gio/gunionvolumemonitor.c:
2527 * programs/gio-save.c:
2528 Fix typo: availible -> available. Unfortuntely this breaks API
2529 and ABI as g_buffered_input_stream_get_available() was renamed.
2531 * gio/gunixmounts.c:
2532 * gio/gbufferedinputstream.c:
2533 Add guards for public functions.
2535 2007-11-06 Ross Burton <ross@openedhand.com>
2537 * docs/reference/gio/Makefile.am:
2538 Fix invalid += usage which automake 1.10 doesn't like.
2540 2007-11-06 Alexander Larsson <alexl@redhat.com>
2543 (g_app_launch_context_class_init):
2546 Patch from Ross Burton
2548 2007-11-06 Alexander Larsson <alexl@redhat.com>
2551 Post release version bump
2553 === gio-standalone 0.1.1 ===
2555 2007-11-06 Alexander Larsson <alexl@redhat.com>
2558 Bump version to 0.1.1
2560 * gio/gsimpleasyncresult.c:
2561 (g_simple_async_result_set_from_error):
2562 Remove bogus g_return_if_fail
2564 2007-11-06 Alexander Larsson <alexl@redhat.com>
2567 The name is gio-standalone
2570 Add top src/builddir to includedir
2572 2007-11-06 Alexander Larsson <alexl@redhat.com>
2574 * docs/reference/gio/gio-sections.txt:
2576 * gio/gbufferedinputstream.c:
2577 * gio/gbufferedoutputstream.c:
2578 * gio/gcancellable.c:
2579 * gio/gdatainputstream.h:
2580 * gio/gdataoutputstream.c:
2581 * gio/gdataoutputstream.h:
2582 * gio/gdirectorymonitor.c:
2584 * gio/gfileattribute.c:
2585 * gio/gfileattribute.h:
2586 * gio/gfileenumerator.c:
2587 * gio/gfileenumerator.h:
2590 * gio/gfileinputstream.h:
2591 * gio/gfilemonitor.c:
2592 * gio/gfileoutputstream.h:
2593 * gio/glocalfilemonitor.h:
2594 * gio/glocalfileoutputstream.h:
2595 * gio/gmemoryinputstream.c:
2596 * gio/gmemoryoutputstream.c:
2597 * gio/gmountoperation.c:
2598 * gio/goutputstream.c:
2599 * gio/goutputstream.h:
2601 * gio/gsimpleasyncresult.c:
2602 * gio/gunixmounts.c:
2603 * gio/gunixmounts.h:
2605 * gio/inotify/inotify-helper.c:
2606 Fix gtk-doc warnings
2608 Patch from Ross Burton
2610 2007-11-06 Alexander Larsson <alexl@redhat.com>
2612 * gio/gfilenamecompleter.c:
2613 (g_filename_completer_get_completions):
2616 * gio/gunixvolume.c:
2617 Remove unused function
2619 Patches from Ross Burton
2621 2007-11-06 Alexander Larsson <alexl@redhat.com>
2626 Padding not needed for interfaces
2628 2007-11-06 Alexander Larsson <alexl@redhat.com>
2630 * gio/gfilemonitor.c:
2634 Make giotypes.h an internal file
2637 * gio/gbufferedinputstream.h:
2638 * gio/gbufferedoutputstream.h:
2639 * gio/gcancellable.h:
2640 * gio/gdatainputstream.h:
2641 * gio/gdataoutputstream.h:
2642 * gio/gdirectorymonitor.c:
2643 * gio/gdirectorymonitor.h:
2648 * gio/gfileattribute.h:
2649 * gio/gfileenumerator.h:
2654 * gio/gfilemonitor.c:
2655 * gio/gfilemonitor.h:
2656 * gio/gfilenamecompleter.c:
2657 * gio/gfilenamecompleter.h:
2658 * gio/gfilterinputstream.h:
2659 * gio/gfilteroutputstream.h:
2660 * gio/ginputstream.h:
2661 * gio/gmemoryinputstream.h:
2662 * gio/gmemoryoutputstream.h:
2663 * gio/gmountoperation.c:
2664 * gio/gmountoperation.h:
2665 * gio/gnativevolumemonitor.c:
2666 * gio/goutputstream.h:
2669 * gio/gsimpleasyncresult.c:
2670 * gio/gsimpleasyncresult.h:
2671 * gio/gsocketinputstream.h:
2672 * gio/gsocketoutputstream.h:
2673 * gio/gthemedicon.c:
2674 * gio/gthemedicon.h:
2678 * gio/gvolumemonitor.c:
2679 * gio/gvolumemonitor.h:
2680 Add padding in classes where it seems useful
2681 Don't include giotypes.h from public headers
2682 Move in Class definitions into c file where possible
2687 2007-11-06 Alexander Larsson <alexl@redhat.com>
2689 * docs/reference/gio/gio-docs.xml:
2690 Better structure for API docs
2692 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2695 * gio/gloadableicon.c:
2696 * gio/gsimpleasyncresult.c:
2697 * gio/gthemedicon.c:
2698 Add some more guards to public functions. Only files missing are now
2701 2007-11-06 Alexander Larsson <alexl@redhat.com>
2703 * docs/reference/gio/gio-docs.xml:
2704 Remove old files, add missing ones
2706 2007-11-06 Alexander Larsson <alexl@redhat.com>
2708 * docs/reference/gio/gio-sections.txt:
2711 Hide implementation classes
2713 * gio/gdriveprivate.h:
2714 * gio/gvolumeprivate.h:
2715 Remove non-existing function declarations
2717 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2720 Fix compilation warnings and add guards to the new functions.
2722 * gio/gasyncresult.c:
2724 Add guards to the public functions.
2727 Implement get_path().
2729 2007-11-06 Alexander Larsson <alexl@redhat.com>
2731 * gio/gfilenamecompleter.c:
2732 Make g_filename_completer_get_completions
2733 return char ** instead of GList for
2736 * docs/reference/gio/gio-docs.xml:
2737 * docs/reference/gio/gio-sections.txt:
2739 * gio/gasyncresult.c:
2740 * gio/gbufferedinputstream.c:
2741 * gio/gbufferedoutputstream.c:
2742 * gio/gcancellable.c:
2743 * gio/gcontenttype.c:
2744 * gio/gdatainputstream.c:
2745 * gio/gdataoutputstream.c:
2746 * gio/gdesktopappinfo.c:
2747 * gio/gdirectorymonitor.c:
2751 * gio/gfileattribute.c:
2752 * gio/gfileenumerator.c:
2755 * gio/gfileinputstream.c:
2756 * gio/gfilemonitor.c:
2757 * gio/gfilenamecompleter.c:
2758 * gio/gfilenamecompleter.h:
2759 * gio/gfileoutputstream.c:
2760 * gio/gfilterinputstream.c:
2762 * gio/ginputstream.c:
2764 * gio/gioscheduler.c:
2765 * gio/gloadableicon.c:
2766 * gio/glocaldirectorymonitor.c:
2768 * gio/glocalfileinputstream.c:
2769 * gio/glocalfilemonitor.c:
2770 * gio/glocalfileoutputstream.c:
2772 * gio/gmemoryinputstream.c:
2773 * gio/gmemoryoutputstream.c:
2774 * gio/gmountoperation.c:
2775 * gio/goutputstream.c:
2776 * gio/gpollfilemonitor.c:
2778 * gio/gsimpleasyncresult.c:
2779 * gio/gsocketinputstream.c:
2780 * gio/gsocketoutputstream.c:
2781 * gio/gthemedicon.c:
2782 * gio/gunionvolumemonitor.c:
2784 * gio/gunixmounts.c:
2785 * gio/gunixvolume.c:
2786 * gio/gunixvolumemonitor.c:
2790 * gio/gvolumemonitor.c:
2791 * gio/gwin32appinfo.c:
2792 Add (mostly stub) doc strings to public functions.
2793 Patch from Andrew Walton (awalton@gmail.com)
2795 2007-11-06 Alexander Larsson <alexl@redhat.com>
2797 * gio/gappinfo.[ch]:
2798 Added GAppLaunchContext object and pass that to launch.
2799 This allows simple implementation of both
2800 launch-on-screen and startup notification via a gtk+
2801 subclass of GAppLaunchContext
2803 * gio/gdesktopappinfo.c:
2804 Implement GAppLaunchContext API
2806 * gio/gwin32appinfo.c:
2809 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2811 * gio/gmountoperation.c:
2812 Add some guards to GMountOperation's public functions.
2814 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2818 * gio/gcancellable.c:
2819 * gio/gdirectorymonitor.c:
2821 * gio/gfileenumerator.c:
2822 * gio/gfilemonitor.c:,
2823 * gio/gfilenamecompleter.c:
2826 * gio/gioscheduler.c:
2830 * gio/gvolumemonitor.c:
2831 Add even more guards to various public functions.
2833 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2836 Add guards to the public functions of GAppInfo.
2838 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2840 * gio/gcontenttype.c:
2841 Add some more guards for public functions.
2843 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2845 * gio/fam/fam-module.c:
2846 * gio/fam/gfamdirectorymonitor.c:
2847 * gio/fam/gfamdirectorymonitor.h:
2848 * gio/fam/gfamfilemonitor.c:
2849 * gio/fam/gfamfilemonitor.h:
2850 * gio/inotify/ginotifydirectorymonitor.c:
2851 * gio/inotify/ginotifydirectorymonitor.h:
2852 * gio/inotify/ginotifyfilemonitor.c:
2853 * gio/inotify/ginotifyfilemonitor.h:
2854 Add proper copyright information and remove an unused variable
2855 in the GInotifyFileMonitor constructor.
2857 * gio/gcancellable.c:
2858 Add a guard for a public function and an assertion to prevent
2859 an undefined program state.
2861 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2863 * gio/gfileattribute.c:
2864 Don't run into an assertion if the given attribute value is NULL
2865 in g_file_attribute_value_get_*() but instead return a fallback
2866 value that makes sense in most situations. Passing them a attribute
2867 value with the wrong type will still run into an assertion.
2869 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2871 * gio/gfileattribute.c:
2873 Add even more guards to the public functions. Also fix the refcounting
2874 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2875 let g_file_info_list_attributes() filter the attributes by namespace
2876 instead of simply ignoring the namespace parameter.
2878 2007-11-03 Sven Herzberg <sven@imendio.com>
2880 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2881 (This makes gio work on MacOS X again)
2883 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2886 Build the gio subdirectory before the docs. Otherwise the build will
2889 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2890 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2891 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2892 Add guards to the public functions.
2894 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2896 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2897 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2898 to prevent a compiler warning.
2900 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2901 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2902 return something in the non-void function find_topdir_for().
2904 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2911 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2913 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2914 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2915 * gwin32appinfo.c (g_win32_app_info_launch):
2916 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2917 envp_for_startup_id, g_desktop_app_info_launch,
2918 g_desktop_app_info_launch_uris):
2920 Give an opaque 'startup_id' string instead of 'envp'.
2921 Support empty file lists for launching new windows.
2922 Fix infinite recursion bug when launching URIs.
2924 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2927 Add guard to the new g_file_get_uri_scheme() function.
2929 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2932 Convert a g_return_val_if_fail() to setting the GError instead as
2933 otherwise applications have to verify the parameter before otherwise
2934 and the parameter might come directly from the user.
2936 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2938 * gio/inotify/ginotify*.[ch]:
2939 Add missing copyright information.
2941 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2944 Add guards in the beginning of public functions to check for valid
2945 parameters and fix a bug in copy_stream_with_progress() that could've
2946 caused writing less bytes than reading.
2947 * gio/glocalfileinfo.c:
2948 Check for a NULL parameter and set the GError accordingly then.
2949 * gio/goutputstream.c:
2950 Fix the same bug as in gfile.c that could've caused writing less bytes
2951 than reading in g_output_stream_real_splice().
2953 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2956 Use the correct gvolumeprivate.h naming
2958 2007-11-01 Christian Kellner <gicmo@gnome.org>
2961 Remove leftover "$(daemon_sources)" entry.
2963 2007-11-01 Christian Kellner <gicmo@gnome.org>
2968 Add copyright information to source files.
2970 2007-11-01 Alexander Larsson <alexl@redhat.com>
2974 Add g_file_get_uri_scheme
2976 2007-11-01 Alexander Larsson <alexl@redhat.com>
2979 * gio/gdesktopappinfo.c:
2980 * gio/gwin32appinfo.c:
2981 Add g_app_info_get_default_for_uri_scheme.
2983 2007-11-01 Alexander Larsson <alexl@redhat.com>
2986 Correct filename for gdriveprivate.h
2988 2007-10-31 Alexander Larsson <alexl@redhat.com>
2991 Rename id:value to id:file
2994 * gio/glocalfileinfo.c:
2997 2007-10-31 Alexander Larsson <alexl@redhat.com>
2999 * gio/gunixvolume.c:
3001 Remove g_volume_get_platform_id, as thats not
3002 needed with the simpler union volume monitor
3004 2007-10-31 Alexander Larsson <alexl@redhat.com>
3007 * gio/guniondrive.[ch]: Removed.
3008 * gio/gunionvolume.[ch]: Removed.
3009 Remove GUnionDrive/Volume
3011 * gio/gunionvolumemonitor.c:
3012 Simplify union volume monitor, now we
3013 only have one native volume monitor and
3014 we use the actual volumes/drives from the
3015 child monitors instead of wrapping them
3017 * gio/gnativevolumemonitor.[ch]:
3018 Base class for native volume monitors.
3019 Includes priority and get_volume_for_mountpoint
3022 Add g_file_find_enclosing_volume
3025 Remove volume name fs attribute
3026 Add readonly fs attribute
3029 Implement readonly attribute
3030 remove volume name attribute
3031 Implement find_enclosing volume
3033 * gio/gunixmounts.c:
3034 Add a volume for "/".
3036 * gio/gunixvolume.[ch]:
3037 Set better name for /
3039 * gio/gunixvolumemonitor.[ch]:
3040 Derive from GNativeVolumeMonitor
3041 Implement get_volume_for_mountpoint
3044 GVolume typedef moved to gfile.h
3046 * gio/gvolumeprivate.h:
3047 Add g_volume_get_for_mount_path
3049 2007-10-31 Alexander Larsson <alexl@redhat.com>
3051 * gio/gunixmounts.[ch]:
3052 Add cache info to unix mount listers
3053 Make getmntent use threadsafe
3054 Add is_system_internal attribute for GUnixMount
3056 * gio/gunixvolume.c:
3057 (g_unix_volume_new):
3058 Use is_system_internal instead of own code
3060 * gio/glocaldirectorymonitor.c:
3061 * gio/gunixvolumemonitor.c:
3062 Update to new gunixmounts API
3067 2007-10-30 Alexander Larsson <alexl@redhat.com>
3070 Add volume name fsinfo attribute
3073 Read volume name info
3075 * gio/gunionvolumemonitor.c:
3076 Fix infinite loops when finalizing a union volume monitor
3078 2007-10-30 Alexander Larsson <alexl@redhat.com>
3080 * gio/goutputstream.[ch]:
3081 Add splice() with default implementation
3083 * gio/gsocketoutputstream.c:
3084 (g_socket_output_stream_write):
3085 Return error on cancellation correctly.
3087 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3089 * gio/glocalfile.c (g_local_file_trash):
3090 Do not leak a string.
3092 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3094 * gio/gfile.c (g_file_load_contents):
3095 Unref the stream after closing it.
3097 2007-10-25 Alexander Larsson <alexl@redhat.com>
3099 * gio/gioscheduler.h:
3102 2007-10-25 Alexander Larsson <alexl@redhat.com>
3106 Add g_file_has_uri_scheme and implement for local files
3108 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3110 * gio/gdesktopappinfo.c: do not leak a string.
3112 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3114 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3115 (g_local_directory_monitor_new):
3116 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3117 (g_local_file_monitor_new):
3118 Only look for the monitor type that should be used the first time
3119 and use g_qsort_with_data() instead of our own bubble sort
3122 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3125 * gio/fam/Makefile.am:
3126 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3127 * gio/fam/fam-helper.h:
3128 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3129 * gio/fam/gfamdirectorymonitor.c:
3130 * gio/fam/gfamdirectorymonitor.h:
3131 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3132 * gio/fam/gfamfilemonitor.h:
3133 * gio/glocaldirectorymonitor.c:
3134 * gio/glocaldirectorymonitor.h:
3135 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3136 * gio/glocalfilemonitor.h:
3137 * gio/inotify/Makefile.am:
3138 * gio/inotify/ginotifydirectorymonitor.c:
3139 * gio/inotify/ginotifydirectorymonitor.h:
3140 * gio/inotify/ginotifyfilemonitor.c:
3141 * gio/inotify/ginotifyfilemonitor.h:
3142 Implement the FAM and Inotify monitors as
3143 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3144 their own GIO module. GLocal(Directory|File)Monitor will use the
3145 monitor with the highest rank that is supported on that machine.
3147 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3150 Change GIO module dir to $(libdir)/gio/modules and change
3151 the log domain from GVFS to GIO. Also only export symbols starting
3152 with g_ in the resulting library.
3153 * gio/test-streams.c: (main):
3154 Set log handler for the GIO log domain.
3156 2007-10-22 Alexander Larsson <alexl@redhat.com>
3158 * gio/gfilenamecompleter.[ch]:
3159 Add g_filename_completer_set_dirs_only
3161 2007-10-22 Alexander Larsson <alexl@redhat.com>
3164 * gio/gurifuncs.[ch]:
3165 Add some simple URI helpers
3167 * gio/gfilenamecompleter.[ch]:
3168 Added object for filename (parse name actually) completion
3171 Handle ~ in parse names
3173 2007-10-17 Alexander Larsson <alexl@redhat.com>
3176 * gio/glocalfileinfo.c:
3177 Add and implement id:value attribute
3179 2007-10-17 Alexander Larsson <alexl@redhat.com>
3182 * gio/guniondrive.c:
3184 Add and implement g_drive_has_volumes
3186 2007-10-17 Alexander Larsson <alexl@redhat.com>
3189 * gio/glocalfileinfo.[ch]:
3190 Add unix:is_mountpoint and implement for local files
3192 2007-10-16 Alexander Larsson <alexl@redhat.com>
3194 * gio/gunionvolumemonitor.c:
3195 (g_union_volume_monitor_init):
3196 Fix up the unix type getting so that it works with gcc
3198 2007-10-12 Alexander Larsson <alexl@redhat.com>
3201 * gio/glocalfileinfo.c:
3202 Add thumbnail:failed to file info
3204 2007-10-12 Richard Hult <richard@imendio.com>
3206 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3207 optimizing away the get_type call (happens with some gcc versions,
3208 like the one shipped with OS X 10.4).
3210 2007-10-12 Alexander Larsson <alexl@redhat.com>
3212 * gio/glocalfileinfo.c:
3213 (_g_local_file_info_set_attribute):
3214 Fix build if not HAVE_XATTR
3215 Patch from Milosz Derezynski <internalerror@gmail.com>
3217 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3219 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3220 around for review, otherwise I would have asked you before
3223 2007-10-11 Alexander Larsson <alexl@redhat.com>
3226 Add thumbnail:path attribute
3228 * gio/glocalfileinfo.c:
3229 Implement thumbnail:path for local files
3231 2007-10-11 Alexander Larsson <alexl@redhat.com>
3233 * gio/glocalfileinfo.c:
3234 (_g_local_file_info_get):
3235 Avoid duplicate icon names
3237 2007-10-11 Alexander Larsson <alexl@redhat.com>
3239 * gio/gthemedicon.[ch]:
3240 Change g_themed_icon_get_names return type to const
3242 2007-10-10 Alexander Larsson <alexl@redhat.com>
3244 * gio/glocalfileinfo.c:
3245 Don't reference freed memory
3247 2007-10-10 Alexander Larsson <alexl@redhat.com>
3249 * gio/gfileattribute.c:
3252 * gio/glocalfileinfo.c:
3255 2007-10-10 Alexander Larsson <alexl@redhat.com>
3258 Check for NULL icons
3260 * gio/gfileattribute.c:
3261 Don't dup when getting objects (same as for string attributes)
3263 * gio/gicon.c (g_icon_equal):
3264 Safely handle NULLs in equal
3266 2007-10-10 Alexander Larsson <alexl@redhat.com>
3269 Fix c++ compilation issues
3270 Patch from Milosz Derezynski <internalerror@gmail.com>
3272 2007-10-10 Alexander Larsson <alexl@redhat.com>
3274 * programs/gio-monitor-dir.c:
3275 Don't crash if dir monitor not supported.
3277 2007-10-09 Alexander Larsson <alexl@redhat.com>
3280 Add missing G_END_DECLS
3282 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3284 * gio/gfile.c: (g_file_set_display_name),
3285 (g_file_query_settable_attributes),
3286 (g_file_query_writable_namespaces):
3287 Return NULL not FALSE on errors as the return type is a pointer.
3289 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3291 * gio/glocalfile.c: (g_local_file_monitor_file):
3292 Don't call monitor_file on the default interface vtable (which
3293 is NULL) but simply return NULL. The caller, GFile, will create a
3294 polling monitor if NULL is returned.
3296 2007-10-09 Alexander Larsson <alexl@redhat.com>
3300 * gio-unix-2.0.pc.in:
3301 Add gio-unix-2.0.pc if OS_UNIX
3304 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3306 2007-10-09 Alexander Larsson <alexl@redhat.com>
3308 * gio/gunixmounts.[ch]:
3309 Make unix mount monitoring API sane.
3310 Now its just a object with mounts_changed
3311 and mountpoints_changed signals.
3313 * gio/glocaldirectorymonitor.c:
3314 * gio/gunixvolumemonitor.c:
3315 Use new mount monitor api
3317 2007-10-09 Alexander Larsson <alexl@redhat.com>
3319 * gio/gunixmounts.[ch]:
3320 Move guess type into one call for mounts and one for mountpoints
3323 * gio/gunixvolume.c:
3326 2007-10-09 Alexander Larsson <alexl@redhat.com>
3328 * gio/gunixmounts.[ch]:
3329 Remove _ prefix in preparation to make this semi-public
3330 Hide implementation of structs
3332 * gio/glocaldirectorymonitor.c:
3334 * gio/gunixvolume.c:
3335 * gio/gunixvolumemonitor.c:
3336 Update for above API changes
3338 2007-10-08 Alexander Larsson <alexl@redhat.com>
3341 Better polling fallback. This also handles the case where we have
3342 a monitor_file implementation, but it fails.
3344 2007-10-08 Alexander Larsson <alexl@redhat.com>
3348 * gio/gunixmounts.c:
3349 * programs/gio-monitor-dir.c:
3350 * programs/gio-monitor-file.c:
3351 Added cancellable to file monitoring calls.
3352 These are really sync calls and need this.
3354 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3356 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3357 (g_local_vfs_class_init):
3358 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3359 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3361 2007-10-05 Alexander Larsson <alexl@redhat.com>
3363 * gio/gdirectorymonitorprivate.h:
3364 * gio/gfilemonitorprivate.h:
3365 * gio/gdirectorymonitor.h:
3366 * gio/gfilemonitor.h:
3367 Remove *private.h and move to the public API, so that
3368 we can do implementations outside gio (such as in gvfs)
3370 * gio/gdirectorymonitor.c:
3371 * gio/gfilemonitor.c:
3372 * gio/glocaldirectorymonitor.c:
3373 * gio/gpollfilemonitor.c:
3374 * gio/inotify/inotify-helper.c:
3375 * gio/fam/fam-helper.c:
3376 Update to the new header names
3378 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3380 * gio/gdirectorymonitor.c:
3381 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3384 2007-10-04 Alexander Larsson <alexl@redhat.com>
3386 * gio/glocalfileinfo.c (get_access_rights):
3387 Set CAN_TRASH when we can move the file.
3388 We should really also check for a parent trash dir.
3390 2007-10-04 Alexander Larsson <alexl@redhat.com>
3392 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3393 Add can_trash access attribute
3395 2007-10-04 Alexander Larsson <alexl@redhat.com>
3398 (g_local_file_trash):
3399 Create info file first. This is per-spec and allows
3400 us to actually trash directories.
3402 2007-10-02 Alexander Larsson <alexl@redhat.com>
3404 * gio/gdesktopappinfo.c:
3405 Implement the new mime support code.
3406 Always set app as handling mimetype when being set as default for it
3408 2007-10-01 Alexander Larsson <alexl@redhat.com>
3410 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3411 Fix up check for xattrs:
3413 2007-10-01 Alexander Larsson <alexl@redhat.com>
3416 (g_app_info_set_as_default_for_extension):
3417 (g_app_info_add_supports_type):
3418 (g_app_info_can_remove_supports_type):
3419 (g_app_info_remove_supports_type):
3420 Make these fail nicely if not implemented
3422 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3424 * gio/glocalfileoutputstream.c:
3425 * gio/glocalfileoutputstream.h:
3430 * programs/gio-save.c:
3431 Add a GFileCreateFlags argument to operations that can create
3434 2007-10-01 Alexander Larsson <alexl@redhat.com>
3436 * gio/gappinfo.[ch]:
3437 * gio/gdesktopappinfo.c:
3438 Add more (stubbed out) mime API needed for nautilus
3440 2007-10-01 Alexander Larsson <alexl@redhat.com>
3443 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3444 Add g_app_info_set_as_default_for_extension.
3446 * gio/gdesktopappinfo.c:
3447 Dummy for g_app_info_set_as_default_for_extension
3448 Support flags in g_app_info_create_from_commandline
3450 * gio/gwin32appinfo.c:
3452 Update for API changes
3454 * gio/gthemedicon.c:
3455 Properly NULL-terminate list of icon names
3457 2007-09-28 Alexander Larsson <alexl@redhat.com>
3459 * gio/gloadableicon.h:
3460 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3462 2007-09-28 Alexander Larsson <alexl@redhat.com>
3465 Install headers in $includedir/gio-standalone/
3467 * gio-2.0.pc.in: Added.
3468 * gio-standalone.pc.in: Removed.
3471 Renamed pkg-config file to match glib (for future move)
3472 Update to the new include dir
3475 Add more TODO comments
3477 2007-09-28 Alexander Larsson <alexl@redhat.com>
3479 * gio/gdesktopappinfo.[ch]:
3480 Expose new_from_filename
3481 Add getter for is_hidden and handle it better
3483 2007-09-28 Alexander Larsson <alexl@redhat.com>
3485 * gio/gfileinfo.[ch]:
3486 Rename g_file_size_format_for_display to
3487 g_format_file_size_for_display.
3488 Now it doesn't have the g_file prefix, so we
3489 can later move it to glib.
3491 2007-09-28 Alexander Larsson <alexl@redhat.com>
3493 * gio/gappinfo.[ch]:
3494 Add g_app_info_get_id and g_app_info_get_executable.
3495 Make all getters non-reffing
3496 Make g_app_info_launch take GFile arguments.
3497 Add must_support_uris argument to g_app_info_get_default_for_type.
3499 * gio/gwin32appinfo.c:
3500 Update to GAppInfo api changes
3502 * gio/gdesktopappinfo.c:
3503 Update to GAppInfo api changes
3504 Implement supports_xdg_startup_notify
3506 * gio/gfileicon.c (g_file_icon_get_file):
3507 Make getter non-reffing.
3512 2007-09-27 Alexander Larsson <alexl@redhat.com>
3514 * gio/gfileinfo.[ch]:
3515 Add g_file_size_format_for_display helper
3517 2007-09-27 Alexander Larsson <alexl@redhat.com>
3519 * gio/glocalfileinfo.c:
3520 Set UNIX_GID from gid, not from uid
3522 2007-09-27 Alexander Larsson <alexl@redhat.com>
3525 Add g_file_set_attributes_async
3527 2007-09-27 Alexander Larsson <alexl@redhat.com>
3529 * gio/glocalfile.c (g_local_file_set_display_name):
3530 Fix set_display_name to actually rename to the right place.
3531 Use lstat to look for existing files so we don't overwrite
3534 2007-09-26 Alexander Larsson <alexl@redhat.com>
3537 Add g_file_set_display_name_async()
3539 2007-09-26 Alexander Larsson <alexl@redhat.com>
3542 Add load_partial_contents async calls
3545 Make internal function static
3547 2007-09-26 Alexander Larsson <alexl@redhat.com>
3549 * gio/glocalfileinfo.c:
3550 Correctly detect broken symlinks
3552 2007-09-26 Alexander Larsson <alexl@redhat.com>
3554 * gio/gcancellable.c (g_cancellable_cancel):
3555 Allow cancel on NULL cancellable
3557 2007-09-25 Alexander Larsson <alexl@redhat.com>
3559 * gio/gsimpleasyncresult.c:
3560 Don't allocate g_error manually.
3561 Fixes g_slice/g_new mixup crash
3563 2007-09-25 Alexander Larsson <alexl@redhat.com>
3565 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3566 Actually set active_backend.
3567 This means the monitor will be cancelled correctly.
3569 2007-09-25 Alexander Larsson <alexl@redhat.com>
3571 * gio/gdirectorymonitor.c:
3572 Set timeout to NULL when destroying
3574 2007-09-25 Alexander Larsson <alexl@redhat.com>
3577 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3578 that is a better description of the error.
3580 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3582 * gio/gvfs.c: (g_vfs_get_local):
3583 Make the local vfs variable static. The same instance should
3586 2007-09-24 Alexander Larsson <alexl@redhat.com>
3588 * gio/glocalfileinfo.c:
3589 Pass in actual length read into sniffer, not the length
3592 2007-09-21 Alexander Larsson <alexl@redhat.com>
3594 * gio/gfileenumerator.c:
3597 * gio/gfileinputstream.c:
3598 * gio/gfileoutputstream.c:
3599 * gio/ginputstream.c:
3600 * gio/goutputstream.c:
3601 Don't crash if async callbacks are NULL
3603 2007-09-20 Alexander Larsson <alexl@redhat.com>
3606 Add async enumerate_children method and default
3609 2007-09-20 Alexander Larsson <alexl@redhat.com>
3612 Add g_file_contains_file & g_file_get_relative_path, since they
3613 were needed for nautilus.
3614 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3619 Implement new methods
3621 2007-09-17 Alexander Larsson <alexl@redhat.com>
3624 * gio/gfileinputstream.[ch]:
3625 * gio/gfileoutputstream.[ch]:
3627 * gio/glocalfileenumerator.[ch]:
3628 * gio/glocalfileinfo.[ch]:
3629 * gio/glocalfileinputstream.c:
3630 * gio/glocalfileoutputstream.c:
3631 * gio/gpollfilemonitor.c:
3632 * programs/gio-copy.c:
3633 * programs/gio-info.c:
3634 * programs/gio-move.c:
3635 Rename get_file_info to query_info() to make it clearer
3636 that these are not simple getters, but do i/o.
3638 2007-09-17 Alexander Larsson <alexl@redhat.com>
3640 * gio/gdatainputstream.[ch]:
3641 * gio/test-streams.c:
3642 Use _read_XXX instead of _get_XXX for the i/o calls
3645 2007-09-17 Alexander Larsson <alexl@redhat.com>
3648 Added needed stuff to TODO comment
3650 2007-09-17 Alexander Larsson <alexl@redhat.com>
3652 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3653 Don't error out removing the backup copy if it doesn't
3656 2007-09-14 Alexander Larsson <alexl@redhat.com>
3658 * programs/Makefile.am:
3659 * programs/gvfs-*.c:
3661 Renamed apps from gvfs-xxx to gio-xxx.
3663 2007-09-14 Alexander Larsson <alexl@redhat.com>
3666 * gio/gfileoutputstream.[ch]:
3667 * gio/glocalfileoutputstream.c:
3668 * programs/gvfs-save.c:
3669 g_file_output_stream_get_etag doesn't do i/o, so remove
3670 cancellation and error.
3672 2007-09-14 Alexander Larsson <alexl@redhat.com>
3675 Add new_etag output to replace_contents functions
3677 2007-09-14 Alexander Larsson <alexl@redhat.com>
3679 * gio/gfileoutputstream.[ch]:
3680 Add async get_file_info and default implementation
3682 2007-09-14 Alexander Larsson <alexl@redhat.com>
3684 * gio/gfileinputstream.c:
3685 Implement fallback wrapper for async get_file_info
3687 2007-09-14 Alexander Larsson <alexl@redhat.com>
3690 Add etag out argument to load_contents
3695 2007-09-14 Alexander Larsson <alexl@redhat.com>
3697 * gio/gcontenttype.c (looks_like_text):
3698 Whitespace like tab, cr and lf do not make the
3701 2007-09-14 Alexander Larsson <alexl@redhat.com>
3703 * gio/gfileinputstream.[ch]:
3704 Add async get_file_info.
3706 2007-09-13 Alexander Larsson <alexl@redhat.com>
3708 * gio/goutputstream.c (g_output_stream_write_all):
3709 Allow NULL for bytes_written
3711 2007-09-13 Alexander Larsson <alexl@redhat.com>
3713 * gio/gmemoryinputstream.[ch]:
3714 Add accessors for data
3716 2007-09-13 Alexander Larsson <alexl@redhat.com>
3718 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3719 Don't crash if length is NULL