1 2008-02-21 David Zeuthen <davidz@redhat.com>
3 * glocalfileinfo.c: (_g_local_file_info_get):
5 (g_content_type_get_icon): Implement this function by
6 moving bits from glocalfileinfo.c
7 (g_content_type_get_description): Unalias before getting
10 * gfile.c: (g_file_class_init),
11 (g_file_query_filesystem_info_async),
12 (g_file_query_filesystem_info_finish),
13 (query_filesystem_info_data_free),
14 (query_filesystem_info_async_thread),
15 (g_file_real_query_filesystem_info_async),
16 (g_file_real_query_filesystem_info_finish):
17 * gfile.h: Implement async version of
18 g_file_query_filesystem_info()
20 * gfileinfo.h: Add new attributes for filesystem::use-preview
24 * gthemedicon.c: (g_themed_icon_append_name):
25 * gthemedicon.h: Add new new convenience function.
27 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
28 (get_mounts), (get_volumes), (get_connected_drives),
29 (get_volume_for_uuid), (get_mount_for_uuid),
30 (g_union_volume_monitor_init), (populate_union_monitor),
31 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
32 (g_volume_monitor_adopt_orphan_mount):
34 * gvolumemonitor.h: Use recursive locks so it's safe for volume
35 monitor implementations to call into the main volume monitor. Also
36 separate object initialization and volume monitor initialization
37 such that non-native volume monitors can properly adopt their
40 2008-02-21 Alexander Larsson <alexl@redhat.com>
45 2008-02-21 Alexander Larsson <alexl@redhat.com>
48 Add more documentation about how GFiles work (from #517086)
50 2008-02-21 Alexander Larsson <alexl@redhat.com>
54 Add new g_file_has_prefix that does the same as g_file_contains_file.
55 Deprecate g_file_contains_file and add a macro that converts
56 it to g_file_has_prefix.
57 The reason for this change is that the contains_file() name seems to
58 imply that this does more work than what it does, but its really only
59 a name match (from #517086)
64 Update to match the above change.
66 2008-02-20 Benjamin Otte <otte@gnome.org>
68 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
69 (g_file_eject_mountable):
70 even more cases of not returning in error path
72 2008-02-20 Benjamin Otte <otte@gnome.org>
74 * gfile.c: (g_file_mount_mountable):
75 return from function in error path.
77 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
80 Remove trailing coma in GMountMountFlags struct
82 2008-02-18 Alexander Larsson <alexl@redhat.com>
86 * glocalfileoutputstream.c:
87 Use g_unlink/g_rename instead of unlink/rename;
88 do not pass raw filenames to g_set_error. (#517239)
89 Patch from Yevgen Muntyan.
91 2008-02-18 Alexander Larsson <alexl@redhat.com>
94 * glocalfileoutputstream.c:
95 Open files with O_BINARY on windows. (#517140)
97 2008-02-14 Alexander Larsson <alexl@redhat.com>
99 * glocalfileoutputstream.c:
100 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
102 2008-02-14 Alexander Larsson <alexl@redhat.com>
105 Copy permissions with file on copy (#514084)
106 This is what cp does and makes sure e.g. the
107 exec permissions are kept.
108 Its kinda weird in that it keeps the permission bits
109 the same while the uid and gid are different. However
110 the new uid is the user so its not a security issue,
111 and I've heard no complaints about cp on this issue.
113 2008-02-13 Ryan Lortie <desrt@desrt.ca>
115 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
117 2008-02-13 Alexander Larsson <alexl@redhat.com>
119 * inotify/inotify-path.c:
120 Define IN_ONLYDIR if not in header (#515346)
122 2008-02-12 Alexander Larsson <alexl@redhat.com>
124 * tests/live-g-file.c:
127 2008-02-11 Matthias Clasen <mclasen@redhat.com>
129 * === Released 2.15.5 ===
131 2008-02-11 Matthias Clasen <mclasen@redhat.com>
133 * gio.symbols: Add g_mount_mount_flags_get_type.
135 2008-02-11 Alexander Larsson <alexl@redhat.com>
138 (g_file_info_set_attribute_mask):
139 (g_file_attribute_matcher_matches_id):
140 Correctly handle NULL GAttributeMatcher meaning
141 matches nothing. (Fixes #513492)
143 2008-02-11 Alexander Larsson <alexl@redhat.com>
148 Added GMountMountFlags enum and added a flags
149 argument to all mount calls.
151 This is an API/ABI change for future extensibility,
152 as I think we will need at least an
153 inhibit-autorun flag (the panel needs this).
154 There are no flags defined yet though.
156 2008-02-11 Alexander Larsson <alexl@redhat.com>
159 Added new standard::description attribute.
160 Requested by Vincent, and useful for both
163 2008-02-11 Alexander Larsson <alexl@redhat.com>
168 2008-02-11 Matthias Clasen <mclasen@redhat.com>
170 * *.c: Documentation additions
172 2008-02-10 Matthias Clasen <mclasen@redhat.com>
174 * gappinfo.h: Formatting cleanup
175 * gappinfo.c: Fix up docs.
177 2008-02-09 Matthias Clasen <mclasen@redhat.com>
179 * gunixmounts.c: Consistently use getmntent_r() and fall
180 back to getmntent(). (#515492)
182 2008-02-09 Matthias Clasen <mclasen@redhat.com>
184 * gbufferedinputstream.c:
186 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
188 * tests/data-input-stream.c:
189 * tests/data-output-stream.c: Portability fixes.
191 2008-02-08 Alexander Larsson <alexl@redhat.com>
196 Add g_volume_should_automount.
199 2008-02-07 Tor Lillqvist <tml@novell.com>
201 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
202 Win32, too Unix-specific.
204 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
206 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
207 a local plt if the compiler doesn't support what we want. Bug #514702
209 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
211 reviewed by: <delete if not using a buddy>
214 * gunixinputstream.c:
215 * gunixoutputstream.c:
217 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
220 * tests/live-g-file.c:
221 * tests/live-g-file.txt:
222 New GIO testing module working over real data
224 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
226 * glocalfileoutputstream.c (g_local_file_output_stream_close):
227 Fallback to rename() if link() is not available
228 (when no support on target filesystem)
230 2008-02-06 Michael Natterer <mitch@imendio.com>
232 * gfileinfo.c (g_file_info_get_icon): replace
233 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
235 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
237 * gfile.c (g_file_create):
238 Documentation update of error codes
240 2008-02-06 Alexander Larsson <alexl@redhat.com>
243 Update to use both mimeapps.list and
244 defaults.list as discussed on xdg list.
246 2008-02-06 Benjamin Otte <otte@gnome.org>
249 * gfilenamecompleter.c:
250 Fix some typos in the documentation.
252 2008-02-06 Alexander Larsson <alexl@redhat.com>
254 * glocalfile.c (g_local_file_trash):
255 Don't succeed with trash if newly created
256 trash dir has the wrong owner. (#514696)
258 2008-02-05 Alexander Larsson <alexl@redhat.com>
260 * glocalfile.c (g_local_file_move):
261 Don't spew warnings when destination is not
264 2008-02-03 Hans Breuer <hans@breuer.org>
266 * makefile.msc : update
268 2008-02-01 Michael Natterer <mitch@imendio.com>
270 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
271 return value of xdg_mime_list_mime_parents() to a variable of the
274 2008-02-01 Alexander Larsson <alexl@redhat.com>
276 * gappinfo.c (g_app_info_launch_uris):
277 Actually call the launch_uris method, not
280 2008-02-01 Alexander Larsson <alexl@redhat.com>
282 * gdesktopappinfo.c (g_desktop_app_info_equal):
283 Ensure appinfos with no id but same pointer value
286 2008-02-01 Alexander Larsson <alexl@redhat.com>
288 * gappinfo.c (g_app_info_launch_default_for_uri):
291 2008-02-01 Alexander Larsson <alexl@redhat.com>
295 Add g_app_info_launch_default_for_uri utility
298 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
301 Doc fix for g_app_info_get_default_for_uri_scheme ()
304 2008-01-30 Alexander Larsson <alexl@redhat.com>
307 Add doc comment about uris vs GFiles to
311 Ensure uris passed to g_app_info_launch_uris()
312 are not roundtriped through GFile (as that
313 may be slightly destructive for e.g. mailto: links)
315 2008-01-30 Alexander Larsson <alexl@redhat.com>
317 * tests/data-input-stream.c:
318 * tests/data-output-stream.c:
319 C89 fixes from Jens Granseuer (#512849)
321 2008-01-30 Alexander Larsson <alexl@redhat.com>
324 Fix gamin/fam difference build issue. (#509419)
326 2008-01-29 Alexander Larsson <alexl@redhat.com>
330 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
332 2008-01-29 Alexander Larsson <alexl@redhat.com>
336 giomodule-priv.h include moved to .c file.
338 2008-01-29 Alexander Larsson <alexl@redhat.com>
340 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
341 Remove unused prio/name fields.
343 2008-01-29 Alexander Larsson <alexl@redhat.com>
345 * gcontenttype.c (looks_like_text):
346 Don't treat whitespace as control chars.
348 2008-01-29 Alexander Larsson <alexl@redhat.com>
351 Lazily create the desktop files for appinfos created
352 by g_app_info_create_from_commandline() when needed
353 for mime associations. This allows run-time use
354 of GAppInfo object without creating unnecessary
357 2008-01-29 Alexander Larsson <alexl@redhat.com>
360 Added new symbols to gio.symbols
362 2008-01-29 Alexander Larsson <alexl@redhat.com>
365 Add g_file_query_default_handler utility to easily look up
366 the GAppInfo that handles a file.
368 * gdesktopappinfo.[ch]:
370 Set up an extension point for g_app_info_get_default_for_uri_scheme()
373 Remove unused function
375 2008-01-29 Alexander Larsson <alexl@redhat.com>
378 Mention need to free returned value in
379 g_file_enumerator_next_files_finish docs.
380 Fix leak if g_file_enumerator_next_files_finish()
383 2008-01-29 Alexander Larsson <alexl@redhat.com>
386 (_g_unix_content_type_get_parents):
387 Use list_parents, not get_parents from xdgmime, because
388 the later doesn't use the cache.
390 * xdgmime/xdgmimecache.c:
391 (_xdg_mime_cache_list_mime_parents):
392 Don't list the same type as parent multiple times.
394 2008-01-28 Matthias Clasen <mclasen@redhat.com>
396 * === Released 2.15.4 ===
398 2008-01-28 Alexander Larsson <alexl@redhat.com>
401 Register local vfs with prio 0.
404 Remove old name and prio class members
406 2008-01-28 Matthias Clasen <mclasen@redhat.com>
408 * tests/g-file.c: Disable some tests that are failing in
409 the absence of a http backend.
411 2008-01-28 Alexander Larsson <alexl@redhat.com>
415 Add registration hooks for extension points.
416 Register the gio extension points.
418 * fam/gfamdirectorymonitor.c:
419 * fam/gfamfilemonitor.c:
420 * glocaldirectorymonitor.[ch]:
421 * glocalfilemonitor.[ch]:
422 * gnativevolumemonitor.h:
423 * gunionvolumemonitor.c:
424 * gunixvolumemonitor.c:
427 * inotify/ginotifydirectorymonitor.c:
428 * inotify/ginotifyfilemonitor.c:
429 Use the extension points registration instead
430 of g_type_children().
432 2008-01-28 Matthias Clasen <mclasen@redhat.com>
435 * gvolume.[hc]: Document new API.
437 * gfile.c (g_file_copy_async): Fix docs
439 2008-01-27 Matthias Clasen <mclasen@redhat.com>
441 * gbufferedinputstream.c:
443 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
446 2008-01-27 Matthias Clasen <mclasen@redhat.com>
448 * glocalfile.c: Avoid trivial differences in translatable strings.
450 2008-01-25 Matthias Clasen <mclasen@redhat.com>
452 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
453 build with gcc 3.4 (#509419)
455 2008-01-25 Matthias Clasen <mclasen@redhat.com>
457 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
458 (#509994, Murray Cumming)
460 2008-01-25 Matthias Clasen <mclasen@redhat.com>
462 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
463 * gioscheduler.c: Keep calling io jobs until they return FALSE;
464 this allows big jobs to be executed in chunks, instead of blocking
465 the main loop for a long time.
467 * gsimpleasyncresult.c:
468 * giofile.c: Adapt callers.
470 2008-01-25 Alexander Larsson <alexl@redhat.com>
473 Implement changes discussed on xdg list.
474 Now we can add supported mimetypes by just using defaults.list
475 We can also remove associations in defaults.list.
477 2008-01-25 Alexander Larsson <alexl@redhat.com>
480 Don't make local copy of desktop file
481 for mimetype changes if the file already
482 supports the new mimetype.
484 2008-01-25 Matthias Clasen <mclasen@redhat.com>
488 * gbufferedinputstream.c:
489 * glocalfile.c: String improvements. (#511966,
490 Theppitak Karoonboonyanan)
492 2008-01-24 Matthias Clasen <mclasen@redhat.com>
494 * gioscheduler.h: Expand docs a bit.
496 2008-01-24 Alexander Larsson <alexl@redhat.com>
499 Add g_drive_get_identifier and
500 g_drive_enumerate_identifiers
503 Add g_volume_get_identifier and
504 g_volume_enumerate_identifiers
510 Implement identifiers for unix backend
512 2008-01-24 Alexander Larsson <alexl@redhat.com>
517 Add g_file_copy_async() (#511580)
518 Based on patch from Carlos Garcia Campos
520 2008-01-23 Matthias Clasen <mclasen@redhat.com>
522 * gioscheduler.c: Some documentation additions.
524 2008-01-22 Alexander Larsson <alexl@redhat.com>
527 (g_desktop_app_info_new):
530 2008-01-22 Alexander Larsson <alexl@redhat.com>
533 (g_desktop_app_info_new_from_filename):
536 2008-01-22 Alexander Larsson <alexl@redhat.com>
538 * glocalfileinfo.c (get_thumbnail_attributes):
541 2008-01-22 Alexander Larsson <alexl@redhat.com>
544 (canonicalize_filename):
545 Canonicalize paths that start with more than
550 (test_g_file_new_for_path):
553 2008-01-22 Alexander Larsson <alexl@redhat.com>
556 Allow UTF-8 in file:// parse names.
559 * tests/data-input-stream.c:
560 * tests/data-output-stream.c:
561 * tests/g-file-info.c:
563 Added a bunch of tests from Tomas Bzatek
565 2008-01-21 Matthias Clasen <mclasen@redhat.com>
567 * === Released 2.15.3 ===
569 2008-01-21 Alexander Larsson <alexl@redhat.com>
571 * gfileinputstream.[ch]:
572 * gfileoutputstream.[ch]:
574 Remove duplicated GSeekable functions. (#509990)
575 Just use the g_seekable_xxx() calls instead.
577 2008-01-21 Matthias Clasen <mclasen@redhat.com>
580 * gvolumemanager.c: Whitespace cleanups.
582 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
583 Use the right mode when creating the file.
585 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
588 * gfileinputstream.c:
590 * goutputstream.c: Documentation: Fixed minor typos
591 and added more mentions of specific _finish() functions.
593 2008-01-21 Alexander Larsson <alexl@redhat.com>
595 * inotify/Makefile.am:
596 * inotify/inotify-helper.c:
597 * inotify/inotify-kernel.c:
598 * inotify/inotify-path.c:
599 * inotify/local_inotify.h: Removed.
600 * inotify/local_inotify_syscalls.h: Removed.
601 Removed the included copies of the inotify
602 headers. We now only use the <sys/inotify.h>
603 header which exists on modern systems.
604 This fixes problems on ARM and SH5 (#510448)
605 but is also generally much cleaner and future
606 safe. For instance, if other OSes add support
607 for inotify it should "just work".
609 2008-01-20 Matthias Clasen <mclasen@redhat.com>
611 * inotify/*.c: Coding style fixes.
612 * inotify/inotify-missing.c: Use g_timeout_add_seconds
613 for the 1/4 Hz timer.
615 2008-01-20 Matthias Clasen <mclasen@redhat.com>
619 * gmemoryinputstream.c:
620 * gmemoryoutputstream.c:
622 * gthemedicon.c: Documentation updates
624 2008-01-20 Murray Cumming <murrayc@murrayc.com>
626 * gfile.c: documentation: Fixed more minor
629 2008-01-18 Murray Cumming <murrayc@murrayc.com>
631 * gmount.c: (g_mount_remount): documentation:
632 Mention g_mount_remount_finish() instead of
633 g_mount_unmount_finish().
635 2008-01-18 Murray Cumming <murrayc@murrayc.com>
639 * gfile.c: Fixed some minor typos in the
642 2008-01-18 Murray Cumming <murrayc@murrayc.com>
644 * gio/gvolumemonitor.c:
645 (g_volume_monitor_get_connected_drives):
646 (g_volume_monitor_get_volumes):
647 (g_volume_monitor_get_mounts): Documentation:
648 Clarify the ownership of the regurn GLists.
650 2008-01-17 Alexander Larsson <alexl@redhat.com>
653 Add the async find_enclosing_mount version
654 to the header file too.
656 2008-01-17 Alexander Larsson <alexl@redhat.com>
659 Add async version of find_enclosing_mount
660 with default implementation.
662 2008-01-17 Alexander Larsson <alexl@redhat.com>
667 Allow calls to implementation of copy and write
668 even if the type of the file implementations is
669 different. This can be used to implement native
670 upload and download calls in a vfs.
674 Protect against the case where move is called
675 with one file not being local.
677 Make sure we call the progress callback once
678 in the native move operation so that the caller
679 knows how many bytes were copied.
681 2008-01-16 Murray Cumming <murrayc@murrayc.com>
684 * gdatainputstream.c:
686 * gfileoutputstream.c:
691 * gunixmounts.c: Corrected some typos in the documentation:
693 its -> it's (where appropriate).
695 2008-01-16 Alexander Larsson <alexl@redhat.com>
699 Add g_file_query_exists (#508771)
701 2008-01-15 Murray Cumming <murrayc@murrayc.com>
706 * gvolume.c: For async functions that have no non-async
707 version, document that the GAsyncReadyCallback may be NULL.
710 2008-01-15 Alexander Larsson <alexl@redhat.com>
712 * gmemoryinputstream.c:
713 * gmemoryoutputstream.c:
714 Don't do pointer arithmetic on void * (#508602)
715 Patch from Kazuki IWAMOTO
717 2008-01-14 Matthias Clasen <mclasen@redhat.com>
719 * === Released 2.15.2 ===
721 2008-01-14 Alexander Larsson <alexl@redhat.com>
723 * gfile.c (g_file_monitor_file):
724 Don't set error here, since we fallback to polling monitor.
726 2008-01-14 Alexander Larsson <alexl@redhat.com>
729 (g_file_monitor_directory):
730 (g_file_monitor_file):
731 Add GError to file monitor calls
733 * glocaldirectorymonitor.c:
734 * glocaldirectorymonitor.h:
736 * glocalfilemonitor.c:
737 * glocalfilemonitor.h:
739 Update for above change
741 2008-01-14 Alexander Larsson <alexl@redhat.com>
745 Handle root correctly in g_file_get_relative_path (#508719)
747 2008-01-14 Alexander Larsson <alexl@redhat.com>
750 Clean up docs and example for GAsyncResult (#508074)
752 2008-01-11 Murray Cumming <murrayc@murrayc.com>
754 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
755 and correct some spelling mistakes. Bug #508108.
757 2008-01-11 Matthias Clasen <mclasen@redhat.com>
759 * glocalfileinfo.c: Add a comment.
761 2008-01-10 Murray Cumming <murrayc@murrayc.com>
763 * gfileinfo.c: GFileInfo description: Mention
764 how to actually set attributes in a GFile and how to discover
765 which attributes are settable. Bug #508378.
767 2008-01-10 A. Walton <awalton@svn.gnome.org>
769 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
770 (g_app_info_get_default_for_type):
771 Check for NULL content types.
773 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
775 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
777 2008-01-09 Murray Cumming <murrayc@murrayc.com>
779 * gfile.c: *_async() functions: Several small corrections
780 to the documentation, mostly correcting copy/paste errors
781 and improving some sentences.
783 2008-01-09 Dan Winship <danw@gnome.org>
785 * glocalfile.c (get_unique_filename): x86_64 fix
787 2008-01-09 Alexander Larsson <alexl@redhat.com>
792 Add g_unix_mount_guess_should_display and use
793 for unix volume monitor backend.
794 This means we more or less show what the
795 gnome-vfs backend did.
796 Based on patch from Padraig O'Briain
798 2008-01-09 Alexander Larsson <alexl@redhat.com>
802 Add g_themed_icon_new_with_default_fallbacks
805 Use default fallbacks for icons
807 2008-01-09 Alexander Larsson <alexl@redhat.com>
810 * gmountoperation.[ch]:
811 Change the API a bit so that unhandled methods
812 get reported via the reply, rather than by
813 the signal emission return value. This is because
814 some handlers can't know this immediately without
815 doing I/O, and this is an async operation that
818 2008-01-09 Alexander Larsson <alexl@redhat.com>
821 * fam/gfamdirectorymonitor.c:
822 * fam/gfamfilemonitor.c:
823 Fix double free crash (#508224)
824 Patch from Joe Marcus Clarke
826 008-01-07 Matthias Clasen <mclasen@redhat.com>
828 * === Released 2.15.1 ===
830 2008-01-07 Alexander Larsson <alexl@redhat.com>
832 * gunixinputstream.c (g_unix_input_stream_skip_finish):
833 Fix warning (#507835)
835 2008-01-07 Alexander Larsson <alexl@redhat.com>
838 Pass --internal to glib-genmarshal
843 Use better types for signal arguments (#507822)
845 2008-01-07 Alexander Larsson <alexl@redhat.com>
848 Build test subdir after .
849 Remove gdirectorymonitor.[ch]
851 * gdirectorymonitor.[ch]:
855 Remove GDirectoryMonitor and make
856 GFileMonitor the baseclass for both file and
857 directory monitors. Lift the more generic
858 rate limiting code from GDirectoryMonitor
862 * fam/gfamdirectorymonitor.[ch]:
863 * inotify/ginotifydirectorymonitor.[ch]:
864 * inotify/inotify-helper.c:
865 * glocaldirectorymonitor.[ch]:
868 Update for the removed GDirectoryMonitor.
870 * gmemoryoutputstream.c:
871 Remove ununsed variable
873 2008-01-07 Alexander Larsson <alexl@redhat.com>
875 * gmemoryinputstream.c:
876 Translate error strings
879 * gmemoryoutputstream.[ch]:
880 New implementation that avoids using GByteArray
881 in implementation and API. (#506377)
883 2008-01-06 Matthias Clasen <mclasen@redhat.com>
885 * tests/*: Add a test for memory input streams.
887 * Makefile.am: Add tests to SUBDIRS.
889 2008-01-06 Matthias Clasen <mclasen@redhat.com>
891 * glocalfilemonitor.c:
892 * glocaldirectorymonitor.c: Mark property nicks and blurbs
895 2008-01-06 Matthias Clasen <mclasen@redhat.com>
897 * gdesktopappinfo.c: Fix a docs typo.
899 * gfileattribute.c: Add information about extended attributes
900 to the documentation. (#505058)
902 2008-01-04 Alexander Larsson <alexl@redhat.com>
906 Use the right type (uint) for the ask_password signal.
908 2008-01-04 Alexander Larsson <alexl@redhat.com>
913 Add g_app_info_supports_files()
914 Remove desktop arg from g_app_info_should_show().
916 * gdesktopappinfo.[ch]:
917 Implement g_app_info_supports_files() and new should_show()
918 Add g_desktop_app_info_set_desktop_env() to set the desktop
919 for should_show(). (This will be set by gtk+ later)
921 2008-01-04 Alexander Larsson <alexl@redhat.com>
924 * gmemoryinputstream.[ch]:
925 Improve API so that you can use multiple chunks
926 of memory and custom destroy functions. (#506374)
928 2008-01-03 Alexander Larsson <alexl@redhat.com>
931 Handle NULL attribute matchers safely, as we return this
932 for empty attribute matcher strings.
934 2008-01-03 Alexander Larsson <alexl@redhat.com>
936 * gunixmounts.c (g_unix_is_mount_path_system_internal):
937 Add /usr/local to list of internal mountpoints
939 2008-01-03 Alexander Larsson <alexl@redhat.com>
942 Check for HAVE_LCHOWN (#505887)
944 2008-01-03 Alexander Larsson <alexl@redhat.com>
948 Add define for selinux context attribute.
949 Fix missing : -> :: namespace separator change
950 Fix missing _ -> - name change for xattr-sys.
953 2008-01-03 Alexander Larsson <alexl@redhat.com>
956 Link to libglib and libgobject directly (#504879)
957 Patch from Sebastien Bacher
959 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
961 * gfile.c: Expanded the g_file_new_for_commandline_arg
962 description a bit, based on the code and the docs of the
963 other g_file_new_for_* functions.
965 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
967 * gfilemonitor.h: Fixed typo in docs.
969 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
971 Updates to GIO documentation. (#506395, Mikael Hermansson)
973 * gcontenttype.c: Describe memory management for return value of
974 g_content_types_get_registered(). Missing piece from #505815.
975 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
976 GVolume, GDrive, GMounts, which hopefully gives the user less
977 confusions when using this API. Following explainations from
978 Alexander Larsson on gtk-devel-list.
980 2007-12-30 Matthias Clasen <mclasen@redhat.com>
982 * gfileinfo.c: Expand the long description.
984 2007-12-30 Matthias Clasen <mclasen@redhat.com>
987 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
988 fix builds with --disable-visibility. (#500273, Christian Persch)
990 2007-12-30 Matthias Clasen <mclasen@redhat.com>
992 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
993 in the list of returned app infos.
995 2007-12-30 Matthias Clasen <mclasen@redhat.com>
997 * gappinfo.c: Fix a cross-reference
999 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1001 * gfileinputstream.c:
1002 * gfileoutputstream.c:
1006 * gdesktopappinfo.c:
1008 * gfileinfo.c: Documentation updates.
1010 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1012 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1015 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1017 * gcontenttype.c (g_content_types_get_registered): Don't return
1018 freed memory (#505815, Mikael Hermansson)
1020 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1022 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1023 used to detect statbuf->st_blocks. (#505042)
1025 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1027 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1028 environment handling. (#504829, Cosimo Cecchi)
1030 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1032 * gappinfo.c: Doc improvements
1034 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1037 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1039 * === Released 2.15.0 ===
1041 2007-12-20 Hans Breuer <hans@breuer.org>
1043 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1044 with symbols gwin32appinfo.obj, added gmount.obj
1045 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1047 2007-12-20 Alexander Larsson <alexl@redhat.com>
1053 * gfilenamecompleter.c:
1056 * gpollfilemonitor.c:
1057 File attribute renames:
1059 fs:: -> filesystem::
1060 id::fs -> id::filesystem
1062 2007-12-20 Alexander Larsson <alexl@redhat.com>
1071 Add GMountUnmountFlags to all unmount and
1073 Add g_mount_remount() call.
1075 2007-12-20 Alexander Larsson <alexl@redhat.com>
1077 * gvfs.c (get_default_vfs):
1078 Fix unused variable warning
1080 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1082 * pltcheck.sh: Update
1084 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1086 * gunionvolumemonitor.c:
1087 * gunixmount.c: Remove C99 comments
1089 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1091 * gio.symbols: Add some missing symbols
1093 2007-12-19 Alexander Larsson <alexl@redhat.com>
1096 Make g_io_modules_load_all_in_directory not unuse
1097 loaded modules so that users of it can do stuff
1099 Init internal "module" types.
1100 Initialize static prio and name for types so that
1101 we don't have to load modules to get it.
1103 * gnativevolumemonitor.h:
1105 Move is_supported to parent class so that
1106 non-native monitors can avoid being initialized
1107 too. (For instance GDaemonVolumeMonitor if we're
1108 not using GDaemonVfs.)
1110 * glocaldirectorymonitor.[ch]:
1111 * glocalfilemonitor.[ch]:
1112 * gunionvolumemonitor.c:
1113 * gunixvolumemonitor.c:
1115 Find plugins using the static prio+name to
1116 avoid unnecessarily loading the modules.
1118 2007-12-19 Alexander Larsson <alexl@redhat.com>
1123 2007-12-19 Alexander Larsson <alexl@redhat.com>
1125 * gunionvolumemonitor.c:
1126 Store the native type as GType, not class so that
1127 we can unload it. But still avoid unnecessarily
1130 2007-12-19 David Zeuthen <davidz@redhat.com>
1132 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1133 add signals 'disconnected' and 'eject-button' on GDrive. Add
1134 signal 'removed' on GVolume and 'unmounted' on GMount.
1136 * gdrive.c: (g_drive_base_init):
1138 * gfile.c: (g_file_mount_mountable),
1139 (g_file_mount_enclosing_volume):
1142 * gmount.c: (g_mount_base_init):
1144 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1145 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1146 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1150 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1152 * *.c: Fix up includes in the section docs.
1154 2007-12-17 Alexander Larsson <alexl@redhat.com>
1156 * gnativevolumemonitor.h:
1157 * gunionvolumemonitor.c:
1158 * gunixvolumemonitor.c:
1159 Add is_supported() to GNativeVolumeMonitorClass so
1160 that we can avoid having to create an object to see
1161 if the backend is supported at runtime.
1162 Also add name member and an env var to pick a specific
1163 volume monitor backend.
1167 Add cancellable to _g_mount_get_for_mount_path()
1169 * glocaldirectorymonitor.c:
1170 * glocalfilemonitor.c:
1171 Avoid loading and unloading modules while sorting.
1173 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1176 * gunixmounts.[hc]: Namespace waste reduction, move some
1177 g_get_unix_mount functions to the g_unix_mount namespace.
1180 * gunixvolumemonitor.c:
1182 * glocaldirectorymonitor.c: Update all callers.
1184 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1186 2007-12-17 Alexander Larsson <alexl@redhat.com>
1189 Add doc comments about what GFile operations are
1190 guaranteed to not block.
1192 2007-12-17 Alexander Larsson <alexl@redhat.com>
1195 Add missing #ifdef fixing OSX build.
1196 (#503334, patch from Richard Hult)
1198 2007-12-14 David Zeuthen <davidz@redhat.com>
1202 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1203 (g_mount_eject), (g_mount_eject_finish):
1205 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1206 (get_volume_for_uuid), (get_mount_for_uuid),
1207 (g_union_volume_monitor_class_init),
1208 (get_default_native_type_with_exclude), (get_default_native_type),
1209 (get_native_type), (update_native_type),
1210 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1211 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1212 (g_unix_mount_can_eject), (eject_unmount_cb),
1213 (eject_unmount_read_error), (eject_unmount_do),
1214 (g_unix_mount_unmount), (g_unix_mount_eject),
1215 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1216 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1217 (g_unix_mount_point_guess_can_eject):
1219 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1220 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1221 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1222 (g_unix_volume_mount), (g_unix_volume_eject),
1223 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1224 * gunixvolumemonitor.c: (get_volume_for_uuid),
1225 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1227 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1228 (g_volume_eject), (g_volume_eject_finish):
1230 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1231 (g_volume_monitor_get_mount_for_uuid):
1234 Provide eject() on both GMount and GVolume and utility functions
1235 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1236 ejected. Introduce the concept of UUID's and wire it into GVolume
1237 and GMount and provide API on GVolumeMonitor to find such
1238 instances. Also handle the case where an external
1239 GNativeVolumeMonitor fails to initialize. Lock around the
1240 _g_get_mount_for_mount_path() function such that volume monitor
1241 implementations won't have to do locking themselves.
1243 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1245 * gdesktopappinfo.c:
1251 * gvolume.h: Documentation updates
1253 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1256 * gfile.h: Doc updates
1258 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1261 * gdesktopappinfo.c: Use hash table iterators.
1263 2007-12-14 Alexander Larsson <alexl@redhat.com>
1266 * gfileattribute.[ch]:
1267 * gfileattribute-priv.h:
1268 Move GFileAttributeValue to a private header, as
1272 Make set_attribute take a type + a pointer instead
1273 of a GFileAttributeValue.
1276 Fix up for above changes.
1277 Add g_file_info_get_attribute_data to get
1278 all info in one call, g_file_info_get_attribute_status
1279 to get the status and g_file_info_get_attribute_as_string.
1283 * glocalfileinfo.[ch]:
1287 Make _guess_type static.
1289 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1292 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1293 made mkenums and friends use temporary files to avoid leaving
1294 empty generated files on failure (#503470).
1296 2007-12-14 Alexander Larsson <alexl@redhat.com>
1298 * gmountoperation.h:
1301 2007-12-14 Alexander Larsson <alexl@redhat.com>
1305 * gfileattribute.[ch]:
1308 * glocalfileoutputstream.c:
1309 * gmountoperation.[ch]:
1310 * goutputstream.[ch]:
1311 Clean up all flags enums to not have _FLAGS in them
1312 Make the names of some of the enums better.
1317 2007-12-14 Michael Natterer <mitch@imendio.com>
1319 * gio.symbols: fix g_io_scheduler symbol names.
1321 2007-12-14 Alexander Larsson <alexl@redhat.com>
1327 * gbufferedinputstream.h:
1328 * gbufferedoutputstream.h:
1331 * gdatainputstream.h:
1332 * gdataoutputstream.h:
1333 * gdesktopappinfo.h:
1334 * gdirectorymonitor.h:
1338 * gfileenumerator.h:
1341 * gfileinputstream.h:
1343 * gfilenamecompleter.h:
1344 * gfileoutputstream.h:
1345 * gfilterinputstream.h:
1346 * gfilteroutputstream.h:
1354 * gmemoryinputstream.h:
1355 * gmemoryoutputstream.h:
1357 * gmountoperation.h:
1360 * gsimpleasyncresult.h:
1362 * gunixinputstream.h:
1364 * gunixoutputstream.h:
1368 * inotify/Makefile.am:
1369 Only allow including <gio/gio.h> from apps
1371 2007-12-14 Alexander Larsson <alexl@redhat.com>
1373 * gioscheduler.[ch]:
1374 * gsimpleasyncresult.c:
1375 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1376 Split out the send_to_mainloop call into two versions instead
1377 of having the block argument.
1379 2007-12-13 Alexander Larsson <alexl@redhat.com>
1381 * gcancellable.[ch]:
1383 * gbufferedinputstream.c:
1384 * gfileenumerator.c:
1385 * gfileinputstream.c:
1386 * gfileoutputstream.c:
1390 g_push/pop_current_cancellable ->
1391 g_cancellable_push/pop_current
1393 2007-12-13 Alexander Larsson <alexl@redhat.com>
1397 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1399 2007-12-13 Alexander Larsson <alexl@redhat.com>
1401 * gmountoperation.h:
1402 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1404 2007-12-12 Alexander Larsson <alexl@redhat.com>
1407 Fix race condition when freeing proxy in
1408 g_io_job_send_to_mainloop().
1410 2007-12-12 Alexander Larsson <alexl@redhat.com>
1416 Make attribute namespace separator "::" instead of ":".
1417 Use - instead of _ as separator in attribute names.
1419 2007-12-12 Alexander Larsson <alexl@redhat.com>
1421 * gbufferedinputstream.h:
1422 * gbufferedoutputstream.h:
1423 * gdatainputstream.h:
1424 * gdataoutputstream.h:
1425 * gdirectorymonitor.h:
1426 * gfileenumerator.h:
1427 * gfileinputstream.h:
1429 * gfileoutputstream.h:
1430 * gfilterinputstream.h:
1431 * gfilteroutputstream.h:
1433 * glocalfileinputstream.h:
1434 * glocalfileoutputstream.h:
1435 * gmemoryinputstream.h:
1436 * gmemoryoutputstream.h:
1437 * gnativevolumemonitor.h:
1439 * gunixinputstream.h:
1440 * gunixoutputstream.h:
1443 s/parent/parent_instance/ in GObjects
1445 2007-12-12 Alexander Larsson <alexl@redhat.com>
1450 No need for padding for interfaces
1452 2007-12-12 Alexander Larsson <alexl@redhat.com>
1456 * gbufferedinputstream.c:
1457 * gbufferedoutputstream.c:
1460 * gdatainputstream.[ch]:
1461 * gdesktopappinfo.c:
1462 * gdirectorymonitor.c:
1464 * gfileattribute.[ch]:
1467 * gfileinputstream.h:
1468 * gfilemonitor.[ch]:
1469 * gfileoutputstream.[ch]:
1470 * gfilterinputstream.h:
1471 * gfilteroutputstream.h:
1474 * gloadableicon.[ch]:
1475 * gmemoryinputstream.c:
1476 * gmountoperation.c:
1478 Fix up a bunch of details in the docs.
1483 2007-12-11 David Zeuthen <davidz@redhat.com>
1485 Rework how volumes, drives and volume monitoring is
1486 done. Previosly the model was
1488 GDrive <1-1> GVolume
1490 where a GDrive instance represented a mount point and a GVolume
1491 instance represented a mounted file system. This patch changes it
1494 GDrive <1-N> GVolume <1-1> GMount
1496 where GMount now serves the purpose of the old GVolume and the new
1497 GVolume serves the purpose of the old GDrive. In addition the new
1498 GDrive interface is used to represent a collection of GVolume
1499 instances (typically partitions) and also contains utility to query
1500 the state of the physical drive the GDrive object represents (such
1501 as checking for media, polling the drive, ejecting the media etc.).
1503 Also implement mounting and unmounting in the Unix volume monitor
1504 backend. A subquent patch will introduce GDrive support for ejection
1508 * gdrive.c: (g_drive_is_media_check_automatic),
1509 (g_drive_is_media_removable), (g_drive_has_media),
1510 (g_drive_can_poll_for_media), (g_drive_eject),
1511 (g_drive_eject_finish), (g_drive_poll_for_media),
1512 (g_drive_poll_for_media_finish):
1514 * gfile.c: (g_file_find_enclosing_mount):
1517 * glocaldirectorymonitor.c:
1518 (g_local_directory_monitor_constructor), (mounts_changed):
1519 * glocalfile.c: (get_mount_info),
1520 (g_local_file_find_enclosing_mount),
1521 (g_local_file_file_iface_init):
1522 * gnativevolumemonitor.h:
1523 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1524 (get_connected_drives), (g_union_volume_monitor_class_init),
1525 (child_volume_added), (child_volume_removed),
1526 (child_volume_changed), (child_mount_added), (child_mount_removed),
1527 (child_mount_pre_unmount), (child_mount_changed),
1528 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1529 (g_union_volume_monitor_remove_monitor),
1530 (_g_mount_get_for_mount_path):
1531 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1532 (guess_system_internal), (_g_get_unix_mounts),
1533 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1534 (g_unix_mount_free), (g_unix_mount_compare),
1535 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1536 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1537 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1538 (type_to_icon), (g_unix_mount_guess_name),
1539 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1540 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1541 (_resolve_symlink), (_resolve_dev_root):
1543 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1544 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1545 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1546 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1547 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1548 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1549 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1550 (g_unix_volume_volume_iface_init):
1552 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1553 (get_mounts), (get_volumes), (get_connected_drives),
1554 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1555 (mountpoints_changed), (mounts_changed),
1556 (g_unix_volume_monitor_init),
1557 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1558 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1559 * gunixvolumemonitor.h:
1560 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1561 (g_volume_mount), (g_volume_mount_finish):
1563 * gvolumemonitor.c: (g_volume_monitor_class_init),
1564 (g_volume_monitor_get_connected_drives),
1565 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1568 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1570 * gmountoperation.h (GPasswordFlags): Close the gap
1572 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1574 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1576 * gdesktopappinfo.[hc]: Remove _-prefixes
1578 2007-12-10 Tor Lillqvist <tml@novell.com>
1580 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1583 2007-12-10 Alexander Larsson <alexl@redhat.com>
1585 * gfile.c (g_file_set_display_name):
1586 Don't hardcode '/' (#502727)
1588 2007-12-09 Hans Breuer <hans@breuer.org>
1590 * makefile.msc : follow lib naming convention
1591 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1592 for user and group name, tested with ../tests/gio-ls
1594 2007-12-09 A. Walton <awalton@svn.gnome.org>
1596 * gdesktopappinfo.c:
1602 * gfileenumerator.c:
1607 * gmemoryinputstream.c:
1608 * gmemoryoutputstream.c:
1610 * gsimpleasyncresult.c:
1611 More documentation cleanup and filling in missing information, bringing
1612 GIO to 99% symbol coverage.
1614 2007-12-08 Hans Breuer <hans@breuer.org>
1616 [gio compiles and links on win32, not sure how much already works]
1617 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1618 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1619 base on win32 API; prefer g_lstat() over lstat(); instead of
1620 localtime_r() use an all GLib implementation on win32;
1621 get_mount_info() still needs a win32 specifc implementation
1622 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1623 win32_get_file_user_info to get owner/group info without uid/gid
1624 * glocalfileinputstream.c : include <io.h> on win32
1625 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1626 definition, use g_win32_ftruncate() for G_OS_WIN32
1627 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1628 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1629 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1630 * makefile.msc : updated
1632 2007-12-07 Alexander Larsson <alexl@redhat.com>
1634 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1635 Avoid warning spew if error == NULL
1637 2007-12-07 Alexander Larsson <alexl@redhat.com>
1640 Update docs wrt etags
1642 2007-12-06 Alexander Larsson <alexl@redhat.com>
1645 Include sys/types.h for dev_t (#501919)
1647 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1651 Make abicheck and pltcheck pass.
1653 2007-12-05 Alexander Larsson <alexl@redhat.com>
1656 * giomodule-priv.h: Added.
1657 * glocaldirectorymonitor.c:
1658 * glocalfilemonitor.c:
1659 * gunionvolumemonitor.c:
1661 Actually add the declaration of _g_io_modules_ensure_loaded
1663 2007-12-05 Alexander Larsson <alexl@redhat.com>
1665 * gdatainputstream.c:
1670 * glocaldirectorymonitor.c:
1671 * glocalfilemonitor.c:
1672 * gunionvolumemonitor.c:
1674 Make g_io_modules_ensure_loaded a private function and
1675 don't pass in the dirname. This means we can do magic
1676 directory finding in the win32 version.
1677 Export the actual load-modules-in-directory code so that
1678 gvfs can reuse that.
1680 2007-12-05 Alexander Larsson <alexl@redhat.com>
1682 * gbufferedinputstream.c:
1683 * gbufferedoutputstream.c:
1686 * gfileenumerator.[ch]:
1687 * gfileinputstream.c:
1688 * gfileoutputstream.[ch]:
1689 * gfilterinputstream.c:
1690 * gfilteroutputstream.c:
1691 * ginputstream.[ch]:
1693 * glocalfileenumerator.c:
1694 * glocalfileinputstream.c:
1695 * glocalfileoutputstream.c:
1696 * gmemoryinputstream.c:
1697 * gmemoryoutputstream.c:
1698 * goutputstream.[ch]:
1701 * gunixinputstream.c:
1702 * gunixoutputstream.c:
1703 Rename all struct members named:
1704 read, write, close, truncate, or mount
1705 to foo_fn, as these are reserved names
1706 and could be defined as macros in libc.
1709 2007-12-04 Alexander Larsson <alexl@redhat.com>
1712 (g_output_stream_close):
1713 Only call flush if non-null.
1715 2007-11-30 Dan Winship <danw@gnome.org>
1717 * ginputstream.c (g_input_stream_set_pending): Make this take a
1718 GError and return a gboolean, and do the "outstanding operation"
1719 check (and the "stream is already closed" check) itself.
1720 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1722 * goutputstream.c (g_output_stream_set_pending)
1723 (g_output_stream_clear_pending): Likewise
1725 * gbufferedinputstream.c:
1726 * gfileinputstream.c:
1727 * gfileoutputstream.c: Update for that
1729 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1730 Like g_simple_async_report_error_in_idle, but takes a GError
1731 rather than building one.
1733 2007-11-30 Dan Winship <danw@gnome.org>
1735 * goutputstream.c: Don't cheat and unset the "pending" flag around
1736 inner calls. Instead, call the class method directly rather than
1737 the wrapper function that checks "pending"
1739 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1741 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1743 2007-12-03 Hans Breuer <hans@breuer.org>
1745 [start of port to win32/msvc]
1746 * gcancellable.c : HAVE_UNIST_H and _pipe()
1747 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1748 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1749 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1751 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1752 * glocalvfs.c : use HAVE_PWD_H
1753 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1754 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1755 * Makefile.am : added to EXTRA_DIST
1757 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1759 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1762 2007-12-03 Alexander Larsson <alexl@redhat.com>
1765 Handle OSX style xattrs API (#500506)
1767 2007-12-03 Alexander Larsson <alexl@redhat.com>
1771 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1773 2007-12-02 A. Walton <awalton@svn.gnome.org>
1777 Documentation accuracy fixes.
1779 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1781 * gioenumtypes.c.template: Fix typo.
1783 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1785 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1787 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1789 * gdirectorymonitor.c:
1790 * gfilemonitor.c: Add properties
1792 * gbufferedoutputstream.c: Don't mark buffer-size property
1795 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1797 * gbufferedoutputstream.c: Add auto-grow property.
1799 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1801 * *.c: Unify the capitalization of section headings.
1803 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1805 * gmountoperation.c: Add properties
1807 * gdatainputstream.c: Turn byte-order and newline-type into
1810 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1812 * gioenumtypes.[hc].template: Templates for enum registration
1814 * Makefile.am: Generate gioenumtypes.[hc]
1816 * gio.h: Include gioenumtypes.h
1818 * gfile.h: Add some explicit nicks.
1820 * gio.symbols: Add new symbols
1822 * pltcheck.sh: Adjust
1824 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1826 * *.c: Explain etags and link to the explanation
1828 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1830 * *.c: Explain I/O priority.
1832 * *.c: More coding style fixes.
1834 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1836 * gasyncresult.c: Add another paragraph to the intro,
1837 adjust coding style of example.
1839 2007-11-29 A. Walton <awalton@svn.gnome.org>
1842 Fixes unknown meaning in GAppLaunchContext docs.
1844 Clarify asynchronous ops.
1846 Fix entity tag docs.
1849 Provides missing gtk-doc section, fixes API docs slighly.
1850 * gsimpleasyncresult.c:
1851 Fill in missing info in docs.
1852 * gunixinputstream.c:
1853 * gunixoutputstream.c:
1854 Be more expressive in short description.
1856 Remove gtk-doc stubs for non-public API.
1858 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1860 * *.c: Coding style fixups
1862 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1864 * inotify/inotify-helper.c: Don't export the lock from libgio.
1866 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1869 * abicheck.sh: Fix copy-and-paste leftovers
1871 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1873 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1875 2007-11-28 Alexander Larsson <alexl@redhat.com>
1879 Removed unnecessary file
1881 * gdesktopappinfo.[ch]:
1884 * glocaldirectorymonitor.[ch]:
1886 * glocalfileenumerator.[ch]:
1887 * glocalfileinputstream.[ch]:
1888 * glocalfilemonitor.[ch]:
1889 * glocalfileoutputstream.[ch]:
1891 * gnativevolumemonitor.c:
1892 * gpollfilemonitor.[ch]:
1893 * gunionvolumemonitor.[ch]:
1896 * gunixvolumemonitor.[ch]:
1899 * inotify/ginotifydirectorymonitor.[ch]:
1900 * inotify/ginotifyfilemonitor.[ch]:
1901 * inotify/inotify-helper.c:
1902 Append _ to all internal functions
1906 Export symbols needed for modules
1908 2007-11-28 Alexander Larsson <alexl@redhat.com>
1911 * abicheck.sh: Added.
1912 * makegioalias.pl: Added.
1913 * pltcheck.sh: Added.
1914 * gio.symbols: Added.
1917 Initial work on adding symbol handling.
1920 Correct ifdef guard name
1923 * inotify/Makefile.am:
1924 * xdgmime/Makefile.am:
1925 Include toplevel Makefile.decl
1927 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1929 * gcontenttype.c: Move doc comments to the unix section.
1931 * *.[hc]: More trivial doc corrections.
1933 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1935 * gpollfilemonitor.c:
1939 * gdesktopappinfo.c:
1944 * gdatainputstream.c:
1945 * gdatainputstream.h:
1946 * gdataoutputstream.c:
1947 * gdataoutputstream.h:
1948 * gfileinfo.h: Doc cleanups
1950 2007-11-28 Andre Klapper <a9016009@gmx.de>
1952 * gdesktopappinfo.c: Fix a typo.
1954 2007-11-27 Andre Klapper <a9016009@gmx.de>
1956 * glocalfileoutputstream.c: Fix a typo.
1958 2007-11-27 Alexander Larsson <alexl@redhat.com>
1961 Don't include removed headers
1963 2007-11-27 Alexander Larsson <alexl@redhat.com>
1966 * gsocketinputstream.[ch]: Removed.
1967 * gsocketoutputstream.[ch]: Removed.
1968 * gunixinputstream.[ch]: Added.
1969 * gunixoutputstream.[ch]: Added.
1970 Renamed GSocket*Stream to GUnix*Stream and made
1971 it unix-only, since its not really only for sockets
1972 and it only works on unix (but is highly useful there).
1974 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1980 * gbufferedinputstream.c:
1981 * gbufferedinputstream.h:
1982 * gbufferedoutputstream.c:
1983 * gbufferedoutputstream.h:
1987 * gdatainputstream.c:
1988 * gdatainputstream.h:
1989 * gdataoutputstream.c:
1990 * gdataoutputstream.h:
1991 * gdirectorymonitor.c:
1992 * gdirectorymonitor.h:
1999 * gfileenumerator.c:
2000 * gfileenumerator.h:
2005 * gfileinputstream.c:
2006 * gfileinputstream.h:
2009 * gfilenamecompleter.c:
2010 * gfilenamecompleter.h:
2011 * gfileoutputstream.c:
2012 * gfileoutputstream.h:
2013 * gfilterinputstream.c:
2014 * gfilterinputstream.h:
2015 * gfilteroutputstream.c:
2016 * gfilteroutputstream.h:
2029 * glocalfileoutputstream.c:
2030 * gmemoryinputstream.c:
2031 * gmemoryinputstream.h:
2032 * gmemoryoutputstream.c:
2033 * gmemoryoutputstream.h:
2034 * gmountoperation.c:
2035 * gmountoperation.h:
2038 * gpollfilemonitor.c:
2041 * gsimpleasyncresult.c:
2042 * gsimpleasyncresult.h:
2043 * gsocketinputstream.c:
2044 * gsocketinputstream.h:
2045 * gsocketoutputstream.c:
2046 * gsocketoutputstream.h:
2053 * gunixvolumemonitor.c:
2062 Bumps documentation to 93% symbol coverage, touching most
2063 of the public files. Fixes broken function documentation prototypes.
2064 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2065 gtk-doc headers in private files.
2067 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2069 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2070 (g_buffered_input_stream_read_byte):
2071 * gbufferedinputstream.h:
2072 New functions for efficient access to buffer and simple single byte
2075 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2076 (g_data_input_stream_read_until):
2077 * gdatainputstream.h:
2078 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2079 read_until with multiple stop chars.
2081 2007-11-27 Alexander Larsson <alexl@redhat.com>
2085 * inotify/Makefile.am:
2086 Use the user-specified giomoduledir
2088 2007-11-27 Alexander Larsson <alexl@redhat.com>
2092 Add catch-all gio.h header
2093 Don't install gdummyfile.h
2095 2007-11-26 Alexander Larsson <alexl@redhat.com>
2097 * Makefile.am (gioinclude_HEADERS):
2098 Remove trailing whitespace
2100 2007-11-26 Alexander Larsson <alexl@redhat.com>
2102 Merge gio-standalone into glib
2104 2007-11-25 Christian Kellner <gicmo@gnome.org>
2106 * gio/goutputstream.c:
2107 Fix small mistake in the docs.
2109 2007-11-21 Christian Persch <chpe@gnome.org>
2111 * gio/glocalfile.c: (g_local_file_trash):
2112 Convert filenames to UTF-8 for GError.
2113 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2114 as per xdg base dir spec.
2116 2007-11-21 Christian Persch <chpe@gnome.org>
2118 * gio/gdesktopappinfo.c:
2119 Use that g_key_file_to_data cannot fail.
2121 Use stock defines for the key file group and key names.
2124 2007-11-21 Alexander Larsson <alexl@redhat.com>
2127 (copy_stream_with_progress):
2128 Make sure we do a final progress callback with
2129 the full total size.
2131 2007-11-21 Alexander Larsson <alexl@redhat.com>
2134 Export g_file_copy_attributes
2135 Remove padding as its not needed for interfaces
2137 2007-11-20 Alexander Larsson <alexl@redhat.com>
2142 Add G_IO_ERROR_WOULD_MERGE for
2143 copy/move dir on dir with overwrite.
2145 2007-11-20 Alexander Larsson <alexl@redhat.com>
2148 * gio/glocalfileinfo.c:
2149 Add COPY_NAME (this is an optional
2150 non-modified utf8 version of the name) that
2153 2007-11-20 Alexander Larsson <alexl@redhat.com>
2155 * gio/glocalfileenumerator.c:
2156 Report errors as GIOError, not GFileError
2158 2007-11-16 Alexander Larsson <alexl@redhat.com>
2160 * gio/glocalfileoutputstream.c:
2161 * gio/gwin32appinfo.c:
2162 Fix typos in strings.
2163 Patch from Luca Ferretti <elle.uca@libero.it>
2165 2007-11-15 Alexander Larsson <alexl@redhat.com>
2168 Post release version bump
2170 === gio-standalone 0.1.2 ===
2172 2007-11-15 Alexander Larsson <alexl@redhat.com>
2174 * docs/reference/gio/Makefile.am:
2175 Fix up distcheck by removing weird
2181 2007-11-14 Alexander Larsson <alexl@redhat.com>
2183 * gio/gdesktopappinfo.c:
2184 * gio/glocaldirectorymonitor.c:
2186 * gio/glocalfileinfo.c:
2187 * gio/inotify/inotify-sub.c:
2188 * programs/gio-cat.c:
2189 * programs/gio-copy.c:
2190 * programs/gio-info.c:
2191 * programs/gio-ls.c:
2192 * programs/gio-monitor-dir.c:
2193 * programs/gio-monitor-file.c:
2194 * programs/gio-mount.c:
2195 * programs/gio-move.c:
2196 * programs/gio-rm.c:
2197 * programs/gio-save.c:
2198 * programs/gio-trash.c:
2199 Leak fixes from Kjartan Maraas
2201 2007-11-14 Alexander Larsson <alexl@redhat.com>
2203 * gio/fam/fam-helper.c:
2205 * gio/glocalfileinfo.c:
2209 * gio/inotify/inotify-diag.c:
2210 * gio/inotify/inotify-kernel.c:
2211 Various code cleanups from Kjartan Maraas
2213 2007-11-14 Alexander Larsson <alexl@redhat.com>
2215 * gio/gioscheduler.c:
2217 Set up threadpool so that we cache 2 unused
2218 idle threads for at 15 secs. This means we
2219 will reuse thread-local data (like dbus connections)
2222 2007-11-14 Alexander Larsson <alexl@redhat.com>
2224 * gio/fam/fam-helper.c:
2225 * gio/fam/gfamdirectorymonitor.c:
2226 * gio/fam/gfamfilemonitor.c:
2228 * gio/gcontenttype.c:
2229 * gio/gdatainputstream.c:
2230 * gio/gdataoutputstream.c:
2234 * gio/gfileattribute.h:
2235 * gio/gfileenumerator.c:
2237 * gio/ginputstream.c:
2240 * gio/glocalfileinfo.c:
2241 * gio/goutputstream.c:
2242 * gio/gpollfilemonitor.c:
2243 * gio/gsimpleasyncresult.c:
2244 * gio/gunixmounts.c:
2245 * gio/gunixmounts.h:
2246 * gio/inotify/ginotifydirectorymonitor.c:
2247 * gio/inotify/ginotifyfilemonitor.c:
2248 * gio/inotify/inotify-diag.c:
2249 * gio/inotify/inotify-kernel.c:
2250 * gio/inotify/inotify-path.c:
2252 * gio/test-streams.c:
2253 * programs/gio-info.c:
2254 * programs/gio-monitor-dir.c:
2255 * programs/gio-monitor-file.c:
2256 Various code cleanups from Kjartan Maraas
2258 2007-11-13 Alexander Larsson <alexl@redhat.com>
2261 Handle the uri-scheme calls for dummy files
2263 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2265 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2266 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2267 to avoid clash with the C++ keyword.
2269 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2271 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2272 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2274 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2276 * gio/glocaldirectorymonitor.c:
2277 * gio/glocalfilemonitor.c:
2278 * gio/gunionvolumemonitor.c:
2279 Don't use g_once_init_*() for initializations that could fail and
2280 could leave the initialization variable set to 0 but use GOnce.
2281 This prevents a deadlock on the second call when trying to create
2282 a monitor and no monitor type is available. Thanks to Sven Herzberg
2285 2007-11-11 Sven Herzberg <sven@imendio.com>
2287 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2288 #ifdef (make it work on MacOS X again)
2290 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2292 Fixes Changelog for last two commits (sorry guys).
2294 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2296 * gio/gbufferedinputstream.c:
2297 * gio/gdatainputstream.c:
2299 * gio/gfileoutputstream.c:
2300 * gio/gfilterinputstream.c:
2301 * gio/glocalfileinputstream.c:
2304 More consistency fixes in g*stream.c files.
2305 Significant clean of gfile's documentation, filling in of
2306 asynchronous operations documentation.
2308 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2310 * gio/gasyncresult.c:
2311 * gio/gbufferedinputstream.c:
2312 * gio/gbufferedoutputstream.c:
2313 * gio/gcancellable.c:
2314 * gio/gcontenttype.c:
2315 * gio/gdatainputstream.c:
2316 * gio/gdataoutputstream.c:
2317 * gio/gdesktopappinfo.c:
2320 * gio/gfileattribute.c:
2321 * gio/gio/gfileenumerator.c:
2323 * gio/gfileinputstream.c:
2324 * gio/gfilemonitor.c:
2325 * gio/gfileoutputstream.c:
2326 * gio/ginputstream.c:
2328 * gio/gioscheduler.c:
2329 * gio/gloadableicon.c:
2330 * gio/glocalfileoutputstream.c:
2331 * gio/gmemoryoutputstream.c:
2332 * gio/gmountoperation.c:
2333 * gio/goutputstream.c:
2335 * gio/gsimpleasyncresult.c:
2336 * gio/gunionvolumemonitor.c:
2337 * gio/gunixmounts.c:
2338 * gio/gunixvolume.c:
2342 * gio/gvolumemonitor.c:
2343 Updated documentation stubs, working towards consistency and
2346 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2348 * gio/gmemoryoutputstream.c:
2349 * gio/gmemoryoutputstream.h:
2350 Change g_memory_output_stream_set_free_on_close() to
2351 g_memory_output_stream_set_free_data() as this makes more sense and
2352 is more consistent with GMemoryInputStream.
2354 2007-11-07 Alexander Larsson <alexl@redhat.com>
2361 Change how we find the default vfs so that
2362 we can handle a gvfs failing to init
2364 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2366 * gio/gbufferedoutputstream.c:
2367 * gio/gdatainputstream.c:
2368 * gio/gdataoutputstream.c:
2369 * gio/gfileinputstream.c:
2370 * gio/gfileoutputstream.c:
2371 * gio/gfilterinputstream.c:
2372 * gio/gfilteroutputstream.c:
2373 * gio/ginputstream.c:
2374 * gio/gmemoryinputstream.c:
2375 * gio/gmemoryoutputstream.c:
2376 * gio/goutputstream.c:
2377 * gio/gsimpleasyncresult.c:
2378 * gio/gsocketinputstream.c:
2379 * gio/gsocketoutputstream.c:
2380 Add guards to the remaining public functions, add a TODO for
2381 an unimplemented function and remove some useless guards.
2383 2007-11-07 Alexander Larsson <alexl@redhat.com>
2386 Autoconf checks for the various types of
2387 getpwuid_r and getgrgid_r
2389 * gio/glocalfileinfo.c:
2390 Use the autoconf checks from above
2392 2007-11-07 Alexander Larsson <alexl@redhat.com>
2395 (g_local_file_query_filesystem_info):
2396 Some fixes for the statvfs case
2398 2007-11-07 Alexander Larsson <alexl@redhat.com>
2401 (g_local_file_query_filesystem_info):
2402 Pick the "best" of statfs / statvfs for the system
2403 if both are availible.
2405 2007-11-07 Alexander Larsson <alexl@redhat.com>
2407 Solaris fixes from Halton.Huo@Sun.COM:
2414 * gio/glocalfileinfo.c:
2415 Fix for solaris definition of getpwuid_r
2417 * gio/test-streams.c:
2418 Use G_GNUC_PRETTY_FUNCTION
2420 2007-11-07 Alexander Larsson <alexl@redhat.com>
2422 * gio/gdesktopappinfo.c:
2423 (update_default_list):
2424 Remove double semicolon.
2425 Patch from Jens Granseuer
2427 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2429 * docs/reference/gio/gio-sections.txt:
2430 * gio/gbufferedinputstream.c:
2431 * gio/gbufferedinputstream.h:
2432 * gio/gdatainputstream.c:
2433 * gio/gfileenumerator.c:
2434 * gio/gioscheduler.c:
2435 * gio/gunionvolumemonitor.c:
2437 * programs/gio-save.c:
2438 Fix typo: availible -> available. Unfortuntely this breaks API
2439 and ABI as g_buffered_input_stream_get_available() was renamed.
2441 * gio/gunixmounts.c:
2442 * gio/gbufferedinputstream.c:
2443 Add guards for public functions.
2445 2007-11-06 Ross Burton <ross@openedhand.com>
2447 * docs/reference/gio/Makefile.am:
2448 Fix invalid += usage which automake 1.10 doesn't like.
2450 2007-11-06 Alexander Larsson <alexl@redhat.com>
2453 (g_app_launch_context_class_init):
2456 Patch from Ross Burton
2458 2007-11-06 Alexander Larsson <alexl@redhat.com>
2461 Post release version bump
2463 === gio-standalone 0.1.1 ===
2465 2007-11-06 Alexander Larsson <alexl@redhat.com>
2468 Bump version to 0.1.1
2470 * gio/gsimpleasyncresult.c:
2471 (g_simple_async_result_set_from_error):
2472 Remove bogus g_return_if_fail
2474 2007-11-06 Alexander Larsson <alexl@redhat.com>
2477 The name is gio-standalone
2480 Add top src/builddir to includedir
2482 2007-11-06 Alexander Larsson <alexl@redhat.com>
2484 * docs/reference/gio/gio-sections.txt:
2486 * gio/gbufferedinputstream.c:
2487 * gio/gbufferedoutputstream.c:
2488 * gio/gcancellable.c:
2489 * gio/gdatainputstream.h:
2490 * gio/gdataoutputstream.c:
2491 * gio/gdataoutputstream.h:
2492 * gio/gdirectorymonitor.c:
2494 * gio/gfileattribute.c:
2495 * gio/gfileattribute.h:
2496 * gio/gfileenumerator.c:
2497 * gio/gfileenumerator.h:
2500 * gio/gfileinputstream.h:
2501 * gio/gfilemonitor.c:
2502 * gio/gfileoutputstream.h:
2503 * gio/glocalfilemonitor.h:
2504 * gio/glocalfileoutputstream.h:
2505 * gio/gmemoryinputstream.c:
2506 * gio/gmemoryoutputstream.c:
2507 * gio/gmountoperation.c:
2508 * gio/goutputstream.c:
2509 * gio/goutputstream.h:
2511 * gio/gsimpleasyncresult.c:
2512 * gio/gunixmounts.c:
2513 * gio/gunixmounts.h:
2515 * gio/inotify/inotify-helper.c:
2516 Fix gtk-doc warnings
2518 Patch from Ross Burton
2520 2007-11-06 Alexander Larsson <alexl@redhat.com>
2522 * gio/gfilenamecompleter.c:
2523 (g_filename_completer_get_completions):
2526 * gio/gunixvolume.c:
2527 Remove unused function
2529 Patches from Ross Burton
2531 2007-11-06 Alexander Larsson <alexl@redhat.com>
2536 Padding not needed for interfaces
2538 2007-11-06 Alexander Larsson <alexl@redhat.com>
2540 * gio/gfilemonitor.c:
2544 Make giotypes.h an internal file
2547 * gio/gbufferedinputstream.h:
2548 * gio/gbufferedoutputstream.h:
2549 * gio/gcancellable.h:
2550 * gio/gdatainputstream.h:
2551 * gio/gdataoutputstream.h:
2552 * gio/gdirectorymonitor.c:
2553 * gio/gdirectorymonitor.h:
2558 * gio/gfileattribute.h:
2559 * gio/gfileenumerator.h:
2564 * gio/gfilemonitor.c:
2565 * gio/gfilemonitor.h:
2566 * gio/gfilenamecompleter.c:
2567 * gio/gfilenamecompleter.h:
2568 * gio/gfilterinputstream.h:
2569 * gio/gfilteroutputstream.h:
2570 * gio/ginputstream.h:
2571 * gio/gmemoryinputstream.h:
2572 * gio/gmemoryoutputstream.h:
2573 * gio/gmountoperation.c:
2574 * gio/gmountoperation.h:
2575 * gio/gnativevolumemonitor.c:
2576 * gio/goutputstream.h:
2579 * gio/gsimpleasyncresult.c:
2580 * gio/gsimpleasyncresult.h:
2581 * gio/gsocketinputstream.h:
2582 * gio/gsocketoutputstream.h:
2583 * gio/gthemedicon.c:
2584 * gio/gthemedicon.h:
2588 * gio/gvolumemonitor.c:
2589 * gio/gvolumemonitor.h:
2590 Add padding in classes where it seems useful
2591 Don't include giotypes.h from public headers
2592 Move in Class definitions into c file where possible
2597 2007-11-06 Alexander Larsson <alexl@redhat.com>
2599 * docs/reference/gio/gio-docs.xml:
2600 Better structure for API docs
2602 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2605 * gio/gloadableicon.c:
2606 * gio/gsimpleasyncresult.c:
2607 * gio/gthemedicon.c:
2608 Add some more guards to public functions. Only files missing are now
2611 2007-11-06 Alexander Larsson <alexl@redhat.com>
2613 * docs/reference/gio/gio-docs.xml:
2614 Remove old files, add missing ones
2616 2007-11-06 Alexander Larsson <alexl@redhat.com>
2618 * docs/reference/gio/gio-sections.txt:
2621 Hide implementation classes
2623 * gio/gdriveprivate.h:
2624 * gio/gvolumeprivate.h:
2625 Remove non-existing function declarations
2627 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2630 Fix compilation warnings and add guards to the new functions.
2632 * gio/gasyncresult.c:
2634 Add guards to the public functions.
2637 Implement get_path().
2639 2007-11-06 Alexander Larsson <alexl@redhat.com>
2641 * gio/gfilenamecompleter.c:
2642 Make g_filename_completer_get_completions
2643 return char ** instead of GList for
2646 * docs/reference/gio/gio-docs.xml:
2647 * docs/reference/gio/gio-sections.txt:
2649 * gio/gasyncresult.c:
2650 * gio/gbufferedinputstream.c:
2651 * gio/gbufferedoutputstream.c:
2652 * gio/gcancellable.c:
2653 * gio/gcontenttype.c:
2654 * gio/gdatainputstream.c:
2655 * gio/gdataoutputstream.c:
2656 * gio/gdesktopappinfo.c:
2657 * gio/gdirectorymonitor.c:
2661 * gio/gfileattribute.c:
2662 * gio/gfileenumerator.c:
2665 * gio/gfileinputstream.c:
2666 * gio/gfilemonitor.c:
2667 * gio/gfilenamecompleter.c:
2668 * gio/gfilenamecompleter.h:
2669 * gio/gfileoutputstream.c:
2670 * gio/gfilterinputstream.c:
2672 * gio/ginputstream.c:
2674 * gio/gioscheduler.c:
2675 * gio/gloadableicon.c:
2676 * gio/glocaldirectorymonitor.c:
2678 * gio/glocalfileinputstream.c:
2679 * gio/glocalfilemonitor.c:
2680 * gio/glocalfileoutputstream.c:
2682 * gio/gmemoryinputstream.c:
2683 * gio/gmemoryoutputstream.c:
2684 * gio/gmountoperation.c:
2685 * gio/goutputstream.c:
2686 * gio/gpollfilemonitor.c:
2688 * gio/gsimpleasyncresult.c:
2689 * gio/gsocketinputstream.c:
2690 * gio/gsocketoutputstream.c:
2691 * gio/gthemedicon.c:
2692 * gio/gunionvolumemonitor.c:
2694 * gio/gunixmounts.c:
2695 * gio/gunixvolume.c:
2696 * gio/gunixvolumemonitor.c:
2700 * gio/gvolumemonitor.c:
2701 * gio/gwin32appinfo.c:
2702 Add (mostly stub) doc strings to public functions.
2703 Patch from Andrew Walton (awalton@gmail.com)
2705 2007-11-06 Alexander Larsson <alexl@redhat.com>
2707 * gio/gappinfo.[ch]:
2708 Added GAppLaunchContext object and pass that to launch.
2709 This allows simple implementation of both
2710 launch-on-screen and startup notification via a gtk+
2711 subclass of GAppLaunchContext
2713 * gio/gdesktopappinfo.c:
2714 Implement GAppLaunchContext API
2716 * gio/gwin32appinfo.c:
2719 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2721 * gio/gmountoperation.c:
2722 Add some guards to GMountOperation's public functions.
2724 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2728 * gio/gcancellable.c:
2729 * gio/gdirectorymonitor.c:
2731 * gio/gfileenumerator.c:
2732 * gio/gfilemonitor.c:,
2733 * gio/gfilenamecompleter.c:
2736 * gio/gioscheduler.c:
2740 * gio/gvolumemonitor.c:
2741 Add even more guards to various public functions.
2743 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2746 Add guards to the public functions of GAppInfo.
2748 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2750 * gio/gcontenttype.c:
2751 Add some more guards for public functions.
2753 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2755 * gio/fam/fam-module.c:
2756 * gio/fam/gfamdirectorymonitor.c:
2757 * gio/fam/gfamdirectorymonitor.h:
2758 * gio/fam/gfamfilemonitor.c:
2759 * gio/fam/gfamfilemonitor.h:
2760 * gio/inotify/ginotifydirectorymonitor.c:
2761 * gio/inotify/ginotifydirectorymonitor.h:
2762 * gio/inotify/ginotifyfilemonitor.c:
2763 * gio/inotify/ginotifyfilemonitor.h:
2764 Add proper copyright information and remove an unused variable
2765 in the GInotifyFileMonitor constructor.
2767 * gio/gcancellable.c:
2768 Add a guard for a public function and an assertion to prevent
2769 an undefined program state.
2771 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2773 * gio/gfileattribute.c:
2774 Don't run into an assertion if the given attribute value is NULL
2775 in g_file_attribute_value_get_*() but instead return a fallback
2776 value that makes sense in most situations. Passing them a attribute
2777 value with the wrong type will still run into an assertion.
2779 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2781 * gio/gfileattribute.c:
2783 Add even more guards to the public functions. Also fix the refcounting
2784 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2785 let g_file_info_list_attributes() filter the attributes by namespace
2786 instead of simply ignoring the namespace parameter.
2788 2007-11-03 Sven Herzberg <sven@imendio.com>
2790 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2791 (This makes gio work on MacOS X again)
2793 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2796 Build the gio subdirectory before the docs. Otherwise the build will
2799 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2800 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2801 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2802 Add guards to the public functions.
2804 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2806 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2807 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2808 to prevent a compiler warning.
2810 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2811 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2812 return something in the non-void function find_topdir_for().
2814 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2821 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2823 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2824 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2825 * gwin32appinfo.c (g_win32_app_info_launch):
2826 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2827 envp_for_startup_id, g_desktop_app_info_launch,
2828 g_desktop_app_info_launch_uris):
2830 Give an opaque 'startup_id' string instead of 'envp'.
2831 Support empty file lists for launching new windows.
2832 Fix infinite recursion bug when launching URIs.
2834 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2837 Add guard to the new g_file_get_uri_scheme() function.
2839 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2842 Convert a g_return_val_if_fail() to setting the GError instead as
2843 otherwise applications have to verify the parameter before otherwise
2844 and the parameter might come directly from the user.
2846 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2848 * gio/inotify/ginotify*.[ch]:
2849 Add missing copyright information.
2851 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2854 Add guards in the beginning of public functions to check for valid
2855 parameters and fix a bug in copy_stream_with_progress() that could've
2856 caused writing less bytes than reading.
2857 * gio/glocalfileinfo.c:
2858 Check for a NULL parameter and set the GError accordingly then.
2859 * gio/goutputstream.c:
2860 Fix the same bug as in gfile.c that could've caused writing less bytes
2861 than reading in g_output_stream_real_splice().
2863 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2866 Use the correct gvolumeprivate.h naming
2868 2007-11-01 Christian Kellner <gicmo@gnome.org>
2871 Remove leftover "$(daemon_sources)" entry.
2873 2007-11-01 Christian Kellner <gicmo@gnome.org>
2878 Add copyright information to source files.
2880 2007-11-01 Alexander Larsson <alexl@redhat.com>
2884 Add g_file_get_uri_scheme
2886 2007-11-01 Alexander Larsson <alexl@redhat.com>
2889 * gio/gdesktopappinfo.c:
2890 * gio/gwin32appinfo.c:
2891 Add g_app_info_get_default_for_uri_scheme.
2893 2007-11-01 Alexander Larsson <alexl@redhat.com>
2896 Correct filename for gdriveprivate.h
2898 2007-10-31 Alexander Larsson <alexl@redhat.com>
2901 Rename id:value to id:file
2904 * gio/glocalfileinfo.c:
2907 2007-10-31 Alexander Larsson <alexl@redhat.com>
2909 * gio/gunixvolume.c:
2911 Remove g_volume_get_platform_id, as thats not
2912 needed with the simpler union volume monitor
2914 2007-10-31 Alexander Larsson <alexl@redhat.com>
2917 * gio/guniondrive.[ch]: Removed.
2918 * gio/gunionvolume.[ch]: Removed.
2919 Remove GUnionDrive/Volume
2921 * gio/gunionvolumemonitor.c:
2922 Simplify union volume monitor, now we
2923 only have one native volume monitor and
2924 we use the actual volumes/drives from the
2925 child monitors instead of wrapping them
2927 * gio/gnativevolumemonitor.[ch]:
2928 Base class for native volume monitors.
2929 Includes priority and get_volume_for_mountpoint
2932 Add g_file_find_enclosing_volume
2935 Remove volume name fs attribute
2936 Add readonly fs attribute
2939 Implement readonly attribute
2940 remove volume name attribute
2941 Implement find_enclosing volume
2943 * gio/gunixmounts.c:
2944 Add a volume for "/".
2946 * gio/gunixvolume.[ch]:
2947 Set better name for /
2949 * gio/gunixvolumemonitor.[ch]:
2950 Derive from GNativeVolumeMonitor
2951 Implement get_volume_for_mountpoint
2954 GVolume typedef moved to gfile.h
2956 * gio/gvolumeprivate.h:
2957 Add g_volume_get_for_mount_path
2959 2007-10-31 Alexander Larsson <alexl@redhat.com>
2961 * gio/gunixmounts.[ch]:
2962 Add cache info to unix mount listers
2963 Make getmntent use threadsafe
2964 Add is_system_internal attribute for GUnixMount
2966 * gio/gunixvolume.c:
2967 (g_unix_volume_new):
2968 Use is_system_internal instead of own code
2970 * gio/glocaldirectorymonitor.c:
2971 * gio/gunixvolumemonitor.c:
2972 Update to new gunixmounts API
2977 2007-10-30 Alexander Larsson <alexl@redhat.com>
2980 Add volume name fsinfo attribute
2983 Read volume name info
2985 * gio/gunionvolumemonitor.c:
2986 Fix infinite loops when finalizing a union volume monitor
2988 2007-10-30 Alexander Larsson <alexl@redhat.com>
2990 * gio/goutputstream.[ch]:
2991 Add splice() with default implementation
2993 * gio/gsocketoutputstream.c:
2994 (g_socket_output_stream_write):
2995 Return error on cancellation correctly.
2997 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2999 * gio/glocalfile.c (g_local_file_trash):
3000 Do not leak a string.
3002 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3004 * gio/gfile.c (g_file_load_contents):
3005 Unref the stream after closing it.
3007 2007-10-25 Alexander Larsson <alexl@redhat.com>
3009 * gio/gioscheduler.h:
3012 2007-10-25 Alexander Larsson <alexl@redhat.com>
3016 Add g_file_has_uri_scheme and implement for local files
3018 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3020 * gio/gdesktopappinfo.c: do not leak a string.
3022 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3024 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3025 (g_local_directory_monitor_new):
3026 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3027 (g_local_file_monitor_new):
3028 Only look for the monitor type that should be used the first time
3029 and use g_qsort_with_data() instead of our own bubble sort
3032 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3035 * gio/fam/Makefile.am:
3036 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3037 * gio/fam/fam-helper.h:
3038 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3039 * gio/fam/gfamdirectorymonitor.c:
3040 * gio/fam/gfamdirectorymonitor.h:
3041 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3042 * gio/fam/gfamfilemonitor.h:
3043 * gio/glocaldirectorymonitor.c:
3044 * gio/glocaldirectorymonitor.h:
3045 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3046 * gio/glocalfilemonitor.h:
3047 * gio/inotify/Makefile.am:
3048 * gio/inotify/ginotifydirectorymonitor.c:
3049 * gio/inotify/ginotifydirectorymonitor.h:
3050 * gio/inotify/ginotifyfilemonitor.c:
3051 * gio/inotify/ginotifyfilemonitor.h:
3052 Implement the FAM and Inotify monitors as
3053 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3054 their own GIO module. GLocal(Directory|File)Monitor will use the
3055 monitor with the highest rank that is supported on that machine.
3057 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3060 Change GIO module dir to $(libdir)/gio/modules and change
3061 the log domain from GVFS to GIO. Also only export symbols starting
3062 with g_ in the resulting library.
3063 * gio/test-streams.c: (main):
3064 Set log handler for the GIO log domain.
3066 2007-10-22 Alexander Larsson <alexl@redhat.com>
3068 * gio/gfilenamecompleter.[ch]:
3069 Add g_filename_completer_set_dirs_only
3071 2007-10-22 Alexander Larsson <alexl@redhat.com>
3074 * gio/gurifuncs.[ch]:
3075 Add some simple URI helpers
3077 * gio/gfilenamecompleter.[ch]:
3078 Added object for filename (parse name actually) completion
3081 Handle ~ in parse names
3083 2007-10-17 Alexander Larsson <alexl@redhat.com>
3086 * gio/glocalfileinfo.c:
3087 Add and implement id:value attribute
3089 2007-10-17 Alexander Larsson <alexl@redhat.com>
3092 * gio/guniondrive.c:
3094 Add and implement g_drive_has_volumes
3096 2007-10-17 Alexander Larsson <alexl@redhat.com>
3099 * gio/glocalfileinfo.[ch]:
3100 Add unix:is_mountpoint and implement for local files
3102 2007-10-16 Alexander Larsson <alexl@redhat.com>
3104 * gio/gunionvolumemonitor.c:
3105 (g_union_volume_monitor_init):
3106 Fix up the unix type getting so that it works with gcc
3108 2007-10-12 Alexander Larsson <alexl@redhat.com>
3111 * gio/glocalfileinfo.c:
3112 Add thumbnail:failed to file info
3114 2007-10-12 Richard Hult <richard@imendio.com>
3116 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3117 optimizing away the get_type call (happens with some gcc versions,
3118 like the one shipped with OS X 10.4).
3120 2007-10-12 Alexander Larsson <alexl@redhat.com>
3122 * gio/glocalfileinfo.c:
3123 (_g_local_file_info_set_attribute):
3124 Fix build if not HAVE_XATTR
3125 Patch from Milosz Derezynski <internalerror@gmail.com>
3127 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3129 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3130 around for review, otherwise I would have asked you before
3133 2007-10-11 Alexander Larsson <alexl@redhat.com>
3136 Add thumbnail:path attribute
3138 * gio/glocalfileinfo.c:
3139 Implement thumbnail:path for local files
3141 2007-10-11 Alexander Larsson <alexl@redhat.com>
3143 * gio/glocalfileinfo.c:
3144 (_g_local_file_info_get):
3145 Avoid duplicate icon names
3147 2007-10-11 Alexander Larsson <alexl@redhat.com>
3149 * gio/gthemedicon.[ch]:
3150 Change g_themed_icon_get_names return type to const
3152 2007-10-10 Alexander Larsson <alexl@redhat.com>
3154 * gio/glocalfileinfo.c:
3155 Don't reference freed memory
3157 2007-10-10 Alexander Larsson <alexl@redhat.com>
3159 * gio/gfileattribute.c:
3162 * gio/glocalfileinfo.c:
3165 2007-10-10 Alexander Larsson <alexl@redhat.com>
3168 Check for NULL icons
3170 * gio/gfileattribute.c:
3171 Don't dup when getting objects (same as for string attributes)
3173 * gio/gicon.c (g_icon_equal):
3174 Safely handle NULLs in equal
3176 2007-10-10 Alexander Larsson <alexl@redhat.com>
3179 Fix c++ compilation issues
3180 Patch from Milosz Derezynski <internalerror@gmail.com>
3182 2007-10-10 Alexander Larsson <alexl@redhat.com>
3184 * programs/gio-monitor-dir.c:
3185 Don't crash if dir monitor not supported.
3187 2007-10-09 Alexander Larsson <alexl@redhat.com>
3190 Add missing G_END_DECLS
3192 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3194 * gio/gfile.c: (g_file_set_display_name),
3195 (g_file_query_settable_attributes),
3196 (g_file_query_writable_namespaces):
3197 Return NULL not FALSE on errors as the return type is a pointer.
3199 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3201 * gio/glocalfile.c: (g_local_file_monitor_file):
3202 Don't call monitor_file on the default interface vtable (which
3203 is NULL) but simply return NULL. The caller, GFile, will create a
3204 polling monitor if NULL is returned.
3206 2007-10-09 Alexander Larsson <alexl@redhat.com>
3210 * gio-unix-2.0.pc.in:
3211 Add gio-unix-2.0.pc if OS_UNIX
3214 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3216 2007-10-09 Alexander Larsson <alexl@redhat.com>
3218 * gio/gunixmounts.[ch]:
3219 Make unix mount monitoring API sane.
3220 Now its just a object with mounts_changed
3221 and mountpoints_changed signals.
3223 * gio/glocaldirectorymonitor.c:
3224 * gio/gunixvolumemonitor.c:
3225 Use new mount monitor api
3227 2007-10-09 Alexander Larsson <alexl@redhat.com>
3229 * gio/gunixmounts.[ch]:
3230 Move guess type into one call for mounts and one for mountpoints
3233 * gio/gunixvolume.c:
3236 2007-10-09 Alexander Larsson <alexl@redhat.com>
3238 * gio/gunixmounts.[ch]:
3239 Remove _ prefix in preparation to make this semi-public
3240 Hide implementation of structs
3242 * gio/glocaldirectorymonitor.c:
3244 * gio/gunixvolume.c:
3245 * gio/gunixvolumemonitor.c:
3246 Update for above API changes
3248 2007-10-08 Alexander Larsson <alexl@redhat.com>
3251 Better polling fallback. This also handles the case where we have
3252 a monitor_file implementation, but it fails.
3254 2007-10-08 Alexander Larsson <alexl@redhat.com>
3258 * gio/gunixmounts.c:
3259 * programs/gio-monitor-dir.c:
3260 * programs/gio-monitor-file.c:
3261 Added cancellable to file monitoring calls.
3262 These are really sync calls and need this.
3264 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3266 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3267 (g_local_vfs_class_init):
3268 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3269 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3271 2007-10-05 Alexander Larsson <alexl@redhat.com>
3273 * gio/gdirectorymonitorprivate.h:
3274 * gio/gfilemonitorprivate.h:
3275 * gio/gdirectorymonitor.h:
3276 * gio/gfilemonitor.h:
3277 Remove *private.h and move to the public API, so that
3278 we can do implementations outside gio (such as in gvfs)
3280 * gio/gdirectorymonitor.c:
3281 * gio/gfilemonitor.c:
3282 * gio/glocaldirectorymonitor.c:
3283 * gio/gpollfilemonitor.c:
3284 * gio/inotify/inotify-helper.c:
3285 * gio/fam/fam-helper.c:
3286 Update to the new header names
3288 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3290 * gio/gdirectorymonitor.c:
3291 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3294 2007-10-04 Alexander Larsson <alexl@redhat.com>
3296 * gio/glocalfileinfo.c (get_access_rights):
3297 Set CAN_TRASH when we can move the file.
3298 We should really also check for a parent trash dir.
3300 2007-10-04 Alexander Larsson <alexl@redhat.com>
3302 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3303 Add can_trash access attribute
3305 2007-10-04 Alexander Larsson <alexl@redhat.com>
3308 (g_local_file_trash):
3309 Create info file first. This is per-spec and allows
3310 us to actually trash directories.
3312 2007-10-02 Alexander Larsson <alexl@redhat.com>
3314 * gio/gdesktopappinfo.c:
3315 Implement the new mime support code.
3316 Always set app as handling mimetype when being set as default for it
3318 2007-10-01 Alexander Larsson <alexl@redhat.com>
3320 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3321 Fix up check for xattrs:
3323 2007-10-01 Alexander Larsson <alexl@redhat.com>
3326 (g_app_info_set_as_default_for_extension):
3327 (g_app_info_add_supports_type):
3328 (g_app_info_can_remove_supports_type):
3329 (g_app_info_remove_supports_type):
3330 Make these fail nicely if not implemented
3332 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3334 * gio/glocalfileoutputstream.c:
3335 * gio/glocalfileoutputstream.h:
3340 * programs/gio-save.c:
3341 Add a GFileCreateFlags argument to operations that can create
3344 2007-10-01 Alexander Larsson <alexl@redhat.com>
3346 * gio/gappinfo.[ch]:
3347 * gio/gdesktopappinfo.c:
3348 Add more (stubbed out) mime API needed for nautilus
3350 2007-10-01 Alexander Larsson <alexl@redhat.com>
3353 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3354 Add g_app_info_set_as_default_for_extension.
3356 * gio/gdesktopappinfo.c:
3357 Dummy for g_app_info_set_as_default_for_extension
3358 Support flags in g_app_info_create_from_commandline
3360 * gio/gwin32appinfo.c:
3362 Update for API changes
3364 * gio/gthemedicon.c:
3365 Properly NULL-terminate list of icon names
3367 2007-09-28 Alexander Larsson <alexl@redhat.com>
3369 * gio/gloadableicon.h:
3370 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3372 2007-09-28 Alexander Larsson <alexl@redhat.com>
3375 Install headers in $includedir/gio-standalone/
3377 * gio-2.0.pc.in: Added.
3378 * gio-standalone.pc.in: Removed.
3381 Renamed pkg-config file to match glib (for future move)
3382 Update to the new include dir
3385 Add more TODO comments
3387 2007-09-28 Alexander Larsson <alexl@redhat.com>
3389 * gio/gdesktopappinfo.[ch]:
3390 Expose new_from_filename
3391 Add getter for is_hidden and handle it better
3393 2007-09-28 Alexander Larsson <alexl@redhat.com>
3395 * gio/gfileinfo.[ch]:
3396 Rename g_file_size_format_for_display to
3397 g_format_file_size_for_display.
3398 Now it doesn't have the g_file prefix, so we
3399 can later move it to glib.
3401 2007-09-28 Alexander Larsson <alexl@redhat.com>
3403 * gio/gappinfo.[ch]:
3404 Add g_app_info_get_id and g_app_info_get_executable.
3405 Make all getters non-reffing
3406 Make g_app_info_launch take GFile arguments.
3407 Add must_support_uris argument to g_app_info_get_default_for_type.
3409 * gio/gwin32appinfo.c:
3410 Update to GAppInfo api changes
3412 * gio/gdesktopappinfo.c:
3413 Update to GAppInfo api changes
3414 Implement supports_xdg_startup_notify
3416 * gio/gfileicon.c (g_file_icon_get_file):
3417 Make getter non-reffing.
3422 2007-09-27 Alexander Larsson <alexl@redhat.com>
3424 * gio/gfileinfo.[ch]:
3425 Add g_file_size_format_for_display helper
3427 2007-09-27 Alexander Larsson <alexl@redhat.com>
3429 * gio/glocalfileinfo.c:
3430 Set UNIX_GID from gid, not from uid
3432 2007-09-27 Alexander Larsson <alexl@redhat.com>
3435 Add g_file_set_attributes_async
3437 2007-09-27 Alexander Larsson <alexl@redhat.com>
3439 * gio/glocalfile.c (g_local_file_set_display_name):
3440 Fix set_display_name to actually rename to the right place.
3441 Use lstat to look for existing files so we don't overwrite
3444 2007-09-26 Alexander Larsson <alexl@redhat.com>
3447 Add g_file_set_display_name_async()
3449 2007-09-26 Alexander Larsson <alexl@redhat.com>
3452 Add load_partial_contents async calls
3455 Make internal function static
3457 2007-09-26 Alexander Larsson <alexl@redhat.com>
3459 * gio/glocalfileinfo.c:
3460 Correctly detect broken symlinks
3462 2007-09-26 Alexander Larsson <alexl@redhat.com>
3464 * gio/gcancellable.c (g_cancellable_cancel):
3465 Allow cancel on NULL cancellable
3467 2007-09-25 Alexander Larsson <alexl@redhat.com>
3469 * gio/gsimpleasyncresult.c:
3470 Don't allocate g_error manually.
3471 Fixes g_slice/g_new mixup crash
3473 2007-09-25 Alexander Larsson <alexl@redhat.com>
3475 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3476 Actually set active_backend.
3477 This means the monitor will be cancelled correctly.
3479 2007-09-25 Alexander Larsson <alexl@redhat.com>
3481 * gio/gdirectorymonitor.c:
3482 Set timeout to NULL when destroying
3484 2007-09-25 Alexander Larsson <alexl@redhat.com>
3487 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3488 that is a better description of the error.
3490 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3492 * gio/gvfs.c: (g_vfs_get_local):
3493 Make the local vfs variable static. The same instance should
3496 2007-09-24 Alexander Larsson <alexl@redhat.com>
3498 * gio/glocalfileinfo.c:
3499 Pass in actual length read into sniffer, not the length
3502 2007-09-21 Alexander Larsson <alexl@redhat.com>
3504 * gio/gfileenumerator.c:
3507 * gio/gfileinputstream.c:
3508 * gio/gfileoutputstream.c:
3509 * gio/ginputstream.c:
3510 * gio/goutputstream.c:
3511 Don't crash if async callbacks are NULL
3513 2007-09-20 Alexander Larsson <alexl@redhat.com>
3516 Add async enumerate_children method and default
3519 2007-09-20 Alexander Larsson <alexl@redhat.com>
3522 Add g_file_contains_file & g_file_get_relative_path, since they
3523 were needed for nautilus.
3524 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3529 Implement new methods
3531 2007-09-17 Alexander Larsson <alexl@redhat.com>
3534 * gio/gfileinputstream.[ch]:
3535 * gio/gfileoutputstream.[ch]:
3537 * gio/glocalfileenumerator.[ch]:
3538 * gio/glocalfileinfo.[ch]:
3539 * gio/glocalfileinputstream.c:
3540 * gio/glocalfileoutputstream.c:
3541 * gio/gpollfilemonitor.c:
3542 * programs/gio-copy.c:
3543 * programs/gio-info.c:
3544 * programs/gio-move.c:
3545 Rename get_file_info to query_info() to make it clearer
3546 that these are not simple getters, but do i/o.
3548 2007-09-17 Alexander Larsson <alexl@redhat.com>
3550 * gio/gdatainputstream.[ch]:
3551 * gio/test-streams.c:
3552 Use _read_XXX instead of _get_XXX for the i/o calls
3555 2007-09-17 Alexander Larsson <alexl@redhat.com>
3558 Added needed stuff to TODO comment
3560 2007-09-17 Alexander Larsson <alexl@redhat.com>
3562 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3563 Don't error out removing the backup copy if it doesn't
3566 2007-09-14 Alexander Larsson <alexl@redhat.com>
3568 * programs/Makefile.am:
3569 * programs/gvfs-*.c:
3571 Renamed apps from gvfs-xxx to gio-xxx.
3573 2007-09-14 Alexander Larsson <alexl@redhat.com>
3576 * gio/gfileoutputstream.[ch]:
3577 * gio/glocalfileoutputstream.c:
3578 * programs/gvfs-save.c:
3579 g_file_output_stream_get_etag doesn't do i/o, so remove
3580 cancellation and error.
3582 2007-09-14 Alexander Larsson <alexl@redhat.com>
3585 Add new_etag output to replace_contents functions
3587 2007-09-14 Alexander Larsson <alexl@redhat.com>
3589 * gio/gfileoutputstream.[ch]:
3590 Add async get_file_info and default implementation
3592 2007-09-14 Alexander Larsson <alexl@redhat.com>
3594 * gio/gfileinputstream.c:
3595 Implement fallback wrapper for async get_file_info
3597 2007-09-14 Alexander Larsson <alexl@redhat.com>
3600 Add etag out argument to load_contents
3605 2007-09-14 Alexander Larsson <alexl@redhat.com>
3607 * gio/gcontenttype.c (looks_like_text):
3608 Whitespace like tab, cr and lf do not make the
3611 2007-09-14 Alexander Larsson <alexl@redhat.com>
3613 * gio/gfileinputstream.[ch]:
3614 Add async get_file_info.
3616 2007-09-13 Alexander Larsson <alexl@redhat.com>
3618 * gio/goutputstream.c (g_output_stream_write_all):
3619 Allow NULL for bytes_written
3621 2007-09-13 Alexander Larsson <alexl@redhat.com>
3623 * gio/gmemoryinputstream.[ch]:
3624 Add accessors for data
3626 2007-09-13 Alexander Larsson <alexl@redhat.com>
3628 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3629 Don't crash if length is NULL