1 2008-02-14 Alexander Larsson <alexl@redhat.com>
3 * glocalfileoutputstream.c:
4 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
6 2008-02-14 Alexander Larsson <alexl@redhat.com>
9 Copy permissions with file on copy (#514084)
10 This is what cp does and makes sure e.g. the
11 exec permissions are kept.
12 Its kinda weird in that it keeps the permission bits
13 the same while the uid and gid are different. However
14 the new uid is the user so its not a security issue,
15 and I've heard no complaints about cp on this issue.
17 2008-02-13 Ryan Lortie <desrt@desrt.ca>
19 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
21 2008-02-13 Alexander Larsson <alexl@redhat.com>
23 * inotify/inotify-path.c:
24 Define IN_ONLYDIR if not in header (#515346)
26 2008-02-12 Alexander Larsson <alexl@redhat.com>
28 * tests/live-g-file.c:
31 2008-02-11 Matthias Clasen <mclasen@redhat.com>
33 * === Released 2.15.5 ===
35 2008-02-11 Matthias Clasen <mclasen@redhat.com>
37 * gio.symbols: Add g_mount_mount_flags_get_type.
39 2008-02-11 Alexander Larsson <alexl@redhat.com>
42 (g_file_info_set_attribute_mask):
43 (g_file_attribute_matcher_matches_id):
44 Correctly handle NULL GAttributeMatcher meaning
45 matches nothing. (Fixes #513492)
47 2008-02-11 Alexander Larsson <alexl@redhat.com>
52 Added GMountMountFlags enum and added a flags
53 argument to all mount calls.
55 This is an API/ABI change for future extensibility,
56 as I think we will need at least an
57 inhibit-autorun flag (the panel needs this).
58 There are no flags defined yet though.
60 2008-02-11 Alexander Larsson <alexl@redhat.com>
63 Added new standard::description attribute.
64 Requested by Vincent, and useful for both
67 2008-02-11 Alexander Larsson <alexl@redhat.com>
72 2008-02-11 Matthias Clasen <mclasen@redhat.com>
74 * *.c: Documentation additions
76 2008-02-10 Matthias Clasen <mclasen@redhat.com>
78 * gappinfo.h: Formatting cleanup
79 * gappinfo.c: Fix up docs.
81 2008-02-09 Matthias Clasen <mclasen@redhat.com>
83 * gunixmounts.c: Consistently use getmntent_r() and fall
84 back to getmntent(). (#515492)
86 2008-02-09 Matthias Clasen <mclasen@redhat.com>
88 * gbufferedinputstream.c:
90 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
92 * tests/data-input-stream.c:
93 * tests/data-output-stream.c: Portability fixes.
95 2008-02-08 Alexander Larsson <alexl@redhat.com>
100 Add g_volume_should_automount.
103 2008-02-07 Tor Lillqvist <tml@novell.com>
105 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
106 Win32, too Unix-specific.
108 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
110 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
111 a local plt if the compiler doesn't support what we want. Bug #514702
113 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
115 reviewed by: <delete if not using a buddy>
118 * gunixinputstream.c:
119 * gunixoutputstream.c:
121 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
124 * tests/live-g-file.c:
125 * tests/live-g-file.txt:
126 New GIO testing module working over real data
128 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
130 * glocalfileoutputstream.c (g_local_file_output_stream_close):
131 Fallback to rename() if link() is not available
132 (when no support on target filesystem)
134 2008-02-06 Michael Natterer <mitch@imendio.com>
136 * gfileinfo.c (g_file_info_get_icon): replace
137 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
139 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
141 * gfile.c (g_file_create):
142 Documentation update of error codes
144 2008-02-06 Alexander Larsson <alexl@redhat.com>
147 Update to use both mimeapps.list and
148 defaults.list as discussed on xdg list.
150 2008-02-06 Benjamin Otte <otte@gnome.org>
153 * gfilenamecompleter.c:
154 Fix some typos in the documentation.
156 2008-02-06 Alexander Larsson <alexl@redhat.com>
158 * glocalfile.c (g_local_file_trash):
159 Don't succeed with trash if newly created
160 trash dir has the wrong owner. (#514696)
162 2008-02-05 Alexander Larsson <alexl@redhat.com>
164 * glocalfile.c (g_local_file_move):
165 Don't spew warnings when destination is not
168 2008-02-03 Hans Breuer <hans@breuer.org>
170 * makefile.msc : update
172 2008-02-01 Michael Natterer <mitch@imendio.com>
174 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
175 return value of xdg_mime_list_mime_parents() to a variable of the
178 2008-02-01 Alexander Larsson <alexl@redhat.com>
180 * gappinfo.c (g_app_info_launch_uris):
181 Actually call the launch_uris method, not
184 2008-02-01 Alexander Larsson <alexl@redhat.com>
186 * gdesktopappinfo.c (g_desktop_app_info_equal):
187 Ensure appinfos with no id but same pointer value
190 2008-02-01 Alexander Larsson <alexl@redhat.com>
192 * gappinfo.c (g_app_info_launch_default_for_uri):
195 2008-02-01 Alexander Larsson <alexl@redhat.com>
199 Add g_app_info_launch_default_for_uri utility
202 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
205 Doc fix for g_app_info_get_default_for_uri_scheme ()
208 2008-01-30 Alexander Larsson <alexl@redhat.com>
211 Add doc comment about uris vs GFiles to
215 Ensure uris passed to g_app_info_launch_uris()
216 are not roundtriped through GFile (as that
217 may be slightly destructive for e.g. mailto: links)
219 2008-01-30 Alexander Larsson <alexl@redhat.com>
221 * tests/data-input-stream.c:
222 * tests/data-output-stream.c:
223 C89 fixes from Jens Granseuer (#512849)
225 2008-01-30 Alexander Larsson <alexl@redhat.com>
228 Fix gamin/fam difference build issue. (#509419)
230 2008-01-29 Alexander Larsson <alexl@redhat.com>
234 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
236 2008-01-29 Alexander Larsson <alexl@redhat.com>
240 giomodule-priv.h include moved to .c file.
242 2008-01-29 Alexander Larsson <alexl@redhat.com>
244 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
245 Remove unused prio/name fields.
247 2008-01-29 Alexander Larsson <alexl@redhat.com>
249 * gcontenttype.c (looks_like_text):
250 Don't treat whitespace as control chars.
252 2008-01-29 Alexander Larsson <alexl@redhat.com>
255 Lazily create the desktop files for appinfos created
256 by g_app_info_create_from_commandline() when needed
257 for mime associations. This allows run-time use
258 of GAppInfo object without creating unnecessary
261 2008-01-29 Alexander Larsson <alexl@redhat.com>
264 Added new symbols to gio.symbols
266 2008-01-29 Alexander Larsson <alexl@redhat.com>
269 Add g_file_query_default_handler utility to easily look up
270 the GAppInfo that handles a file.
272 * gdesktopappinfo.[ch]:
274 Set up an extension point for g_app_info_get_default_for_uri_scheme()
277 Remove unused function
279 2008-01-29 Alexander Larsson <alexl@redhat.com>
282 Mention need to free returned value in
283 g_file_enumerator_next_files_finish docs.
284 Fix leak if g_file_enumerator_next_files_finish()
287 2008-01-29 Alexander Larsson <alexl@redhat.com>
290 (_g_unix_content_type_get_parents):
291 Use list_parents, not get_parents from xdgmime, because
292 the later doesn't use the cache.
294 * xdgmime/xdgmimecache.c:
295 (_xdg_mime_cache_list_mime_parents):
296 Don't list the same type as parent multiple times.
298 2008-01-28 Matthias Clasen <mclasen@redhat.com>
300 * === Released 2.15.4 ===
302 2008-01-28 Alexander Larsson <alexl@redhat.com>
305 Register local vfs with prio 0.
308 Remove old name and prio class members
310 2008-01-28 Matthias Clasen <mclasen@redhat.com>
312 * tests/g-file.c: Disable some tests that are failing in
313 the absence of a http backend.
315 2008-01-28 Alexander Larsson <alexl@redhat.com>
319 Add registration hooks for extension points.
320 Register the gio extension points.
322 * fam/gfamdirectorymonitor.c:
323 * fam/gfamfilemonitor.c:
324 * glocaldirectorymonitor.[ch]:
325 * glocalfilemonitor.[ch]:
326 * gnativevolumemonitor.h:
327 * gunionvolumemonitor.c:
328 * gunixvolumemonitor.c:
331 * inotify/ginotifydirectorymonitor.c:
332 * inotify/ginotifyfilemonitor.c:
333 Use the extension points registration instead
334 of g_type_children().
336 2008-01-28 Matthias Clasen <mclasen@redhat.com>
339 * gvolume.[hc]: Document new API.
341 * gfile.c (g_file_copy_async): Fix docs
343 2008-01-27 Matthias Clasen <mclasen@redhat.com>
345 * gbufferedinputstream.c:
347 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
350 2008-01-27 Matthias Clasen <mclasen@redhat.com>
352 * glocalfile.c: Avoid trivial differences in translatable strings.
354 2008-01-25 Matthias Clasen <mclasen@redhat.com>
356 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
357 build with gcc 3.4 (#509419)
359 2008-01-25 Matthias Clasen <mclasen@redhat.com>
361 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
362 (#509994, Murray Cumming)
364 2008-01-25 Matthias Clasen <mclasen@redhat.com>
366 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
367 * gioscheduler.c: Keep calling io jobs until they return FALSE;
368 this allows big jobs to be executed in chunks, instead of blocking
369 the main loop for a long time.
371 * gsimpleasyncresult.c:
372 * giofile.c: Adapt callers.
374 2008-01-25 Alexander Larsson <alexl@redhat.com>
377 Implement changes discussed on xdg list.
378 Now we can add supported mimetypes by just using defaults.list
379 We can also remove associations in defaults.list.
381 2008-01-25 Alexander Larsson <alexl@redhat.com>
384 Don't make local copy of desktop file
385 for mimetype changes if the file already
386 supports the new mimetype.
388 2008-01-25 Matthias Clasen <mclasen@redhat.com>
392 * gbufferedinputstream.c:
393 * glocalfile.c: String improvements. (#511966,
394 Theppitak Karoonboonyanan)
396 2008-01-24 Matthias Clasen <mclasen@redhat.com>
398 * gioscheduler.h: Expand docs a bit.
400 2008-01-24 Alexander Larsson <alexl@redhat.com>
403 Add g_drive_get_identifier and
404 g_drive_enumerate_identifiers
407 Add g_volume_get_identifier and
408 g_volume_enumerate_identifiers
414 Implement identifiers for unix backend
416 2008-01-24 Alexander Larsson <alexl@redhat.com>
421 Add g_file_copy_async() (#511580)
422 Based on patch from Carlos Garcia Campos
424 2008-01-23 Matthias Clasen <mclasen@redhat.com>
426 * gioscheduler.c: Some documentation additions.
428 2008-01-22 Alexander Larsson <alexl@redhat.com>
431 (g_desktop_app_info_new):
434 2008-01-22 Alexander Larsson <alexl@redhat.com>
437 (g_desktop_app_info_new_from_filename):
440 2008-01-22 Alexander Larsson <alexl@redhat.com>
442 * glocalfileinfo.c (get_thumbnail_attributes):
445 2008-01-22 Alexander Larsson <alexl@redhat.com>
448 (canonicalize_filename):
449 Canonicalize paths that start with more than
454 (test_g_file_new_for_path):
457 2008-01-22 Alexander Larsson <alexl@redhat.com>
460 Allow UTF-8 in file:// parse names.
463 * tests/data-input-stream.c:
464 * tests/data-output-stream.c:
465 * tests/g-file-info.c:
467 Added a bunch of tests from Tomas Bzatek
469 2008-01-21 Matthias Clasen <mclasen@redhat.com>
471 * === Released 2.15.3 ===
473 2008-01-21 Alexander Larsson <alexl@redhat.com>
475 * gfileinputstream.[ch]:
476 * gfileoutputstream.[ch]:
478 Remove duplicated GSeekable functions. (#509990)
479 Just use the g_seekable_xxx() calls instead.
481 2008-01-21 Matthias Clasen <mclasen@redhat.com>
484 * gvolumemanager.c: Whitespace cleanups.
486 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
487 Use the right mode when creating the file.
489 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
492 * gfileinputstream.c:
494 * goutputstream.c: Documentation: Fixed minor typos
495 and added more mentions of specific _finish() functions.
497 2008-01-21 Alexander Larsson <alexl@redhat.com>
499 * inotify/Makefile.am:
500 * inotify/inotify-helper.c:
501 * inotify/inotify-kernel.c:
502 * inotify/inotify-path.c:
503 * inotify/local_inotify.h: Removed.
504 * inotify/local_inotify_syscalls.h: Removed.
505 Removed the included copies of the inotify
506 headers. We now only use the <sys/inotify.h>
507 header which exists on modern systems.
508 This fixes problems on ARM and SH5 (#510448)
509 but is also generally much cleaner and future
510 safe. For instance, if other OSes add support
511 for inotify it should "just work".
513 2008-01-20 Matthias Clasen <mclasen@redhat.com>
515 * inotify/*.c: Coding style fixes.
516 * inotify/inotify-missing.c: Use g_timeout_add_seconds
517 for the 1/4 Hz timer.
519 2008-01-20 Matthias Clasen <mclasen@redhat.com>
523 * gmemoryinputstream.c:
524 * gmemoryoutputstream.c:
526 * gthemedicon.c: Documentation updates
528 2008-01-20 Murray Cumming <murrayc@murrayc.com>
530 * gfile.c: documentation: Fixed more minor
533 2008-01-18 Murray Cumming <murrayc@murrayc.com>
535 * gmount.c: (g_mount_remount): documentation:
536 Mention g_mount_remount_finish() instead of
537 g_mount_unmount_finish().
539 2008-01-18 Murray Cumming <murrayc@murrayc.com>
543 * gfile.c: Fixed some minor typos in the
546 2008-01-18 Murray Cumming <murrayc@murrayc.com>
548 * gio/gvolumemonitor.c:
549 (g_volume_monitor_get_connected_drives):
550 (g_volume_monitor_get_volumes):
551 (g_volume_monitor_get_mounts): Documentation:
552 Clarify the ownership of the regurn GLists.
554 2008-01-17 Alexander Larsson <alexl@redhat.com>
557 Add the async find_enclosing_mount version
558 to the header file too.
560 2008-01-17 Alexander Larsson <alexl@redhat.com>
563 Add async version of find_enclosing_mount
564 with default implementation.
566 2008-01-17 Alexander Larsson <alexl@redhat.com>
571 Allow calls to implementation of copy and write
572 even if the type of the file implementations is
573 different. This can be used to implement native
574 upload and download calls in a vfs.
578 Protect against the case where move is called
579 with one file not being local.
581 Make sure we call the progress callback once
582 in the native move operation so that the caller
583 knows how many bytes were copied.
585 2008-01-16 Murray Cumming <murrayc@murrayc.com>
588 * gdatainputstream.c:
590 * gfileoutputstream.c:
595 * gunixmounts.c: Corrected some typos in the documentation:
597 its -> it's (where appropriate).
599 2008-01-16 Alexander Larsson <alexl@redhat.com>
603 Add g_file_query_exists (#508771)
605 2008-01-15 Murray Cumming <murrayc@murrayc.com>
610 * gvolume.c: For async functions that have no non-async
611 version, document that the GAsyncReadyCallback may be NULL.
614 2008-01-15 Alexander Larsson <alexl@redhat.com>
616 * gmemoryinputstream.c:
617 * gmemoryoutputstream.c:
618 Don't do pointer arithmetic on void * (#508602)
619 Patch from Kazuki IWAMOTO
621 2008-01-14 Matthias Clasen <mclasen@redhat.com>
623 * === Released 2.15.2 ===
625 2008-01-14 Alexander Larsson <alexl@redhat.com>
627 * gfile.c (g_file_monitor_file):
628 Don't set error here, since we fallback to polling monitor.
630 2008-01-14 Alexander Larsson <alexl@redhat.com>
633 (g_file_monitor_directory):
634 (g_file_monitor_file):
635 Add GError to file monitor calls
637 * glocaldirectorymonitor.c:
638 * glocaldirectorymonitor.h:
640 * glocalfilemonitor.c:
641 * glocalfilemonitor.h:
643 Update for above change
645 2008-01-14 Alexander Larsson <alexl@redhat.com>
649 Handle root correctly in g_file_get_relative_path (#508719)
651 2008-01-14 Alexander Larsson <alexl@redhat.com>
654 Clean up docs and example for GAsyncResult (#508074)
656 2008-01-11 Murray Cumming <murrayc@murrayc.com>
658 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
659 and correct some spelling mistakes. Bug #508108.
661 2008-01-11 Matthias Clasen <mclasen@redhat.com>
663 * glocalfileinfo.c: Add a comment.
665 2008-01-10 Murray Cumming <murrayc@murrayc.com>
667 * gfileinfo.c: GFileInfo description: Mention
668 how to actually set attributes in a GFile and how to discover
669 which attributes are settable. Bug #508378.
671 2008-01-10 A. Walton <awalton@svn.gnome.org>
673 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
674 (g_app_info_get_default_for_type):
675 Check for NULL content types.
677 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
679 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
681 2008-01-09 Murray Cumming <murrayc@murrayc.com>
683 * gfile.c: *_async() functions: Several small corrections
684 to the documentation, mostly correcting copy/paste errors
685 and improving some sentences.
687 2008-01-09 Dan Winship <danw@gnome.org>
689 * glocalfile.c (get_unique_filename): x86_64 fix
691 2008-01-09 Alexander Larsson <alexl@redhat.com>
696 Add g_unix_mount_guess_should_display and use
697 for unix volume monitor backend.
698 This means we more or less show what the
699 gnome-vfs backend did.
700 Based on patch from Padraig O'Briain
702 2008-01-09 Alexander Larsson <alexl@redhat.com>
706 Add g_themed_icon_new_with_default_fallbacks
709 Use default fallbacks for icons
711 2008-01-09 Alexander Larsson <alexl@redhat.com>
714 * gmountoperation.[ch]:
715 Change the API a bit so that unhandled methods
716 get reported via the reply, rather than by
717 the signal emission return value. This is because
718 some handlers can't know this immediately without
719 doing I/O, and this is an async operation that
722 2008-01-09 Alexander Larsson <alexl@redhat.com>
725 * fam/gfamdirectorymonitor.c:
726 * fam/gfamfilemonitor.c:
727 Fix double free crash (#508224)
728 Patch from Joe Marcus Clarke
730 008-01-07 Matthias Clasen <mclasen@redhat.com>
732 * === Released 2.15.1 ===
734 2008-01-07 Alexander Larsson <alexl@redhat.com>
736 * gunixinputstream.c (g_unix_input_stream_skip_finish):
737 Fix warning (#507835)
739 2008-01-07 Alexander Larsson <alexl@redhat.com>
742 Pass --internal to glib-genmarshal
747 Use better types for signal arguments (#507822)
749 2008-01-07 Alexander Larsson <alexl@redhat.com>
752 Build test subdir after .
753 Remove gdirectorymonitor.[ch]
755 * gdirectorymonitor.[ch]:
759 Remove GDirectoryMonitor and make
760 GFileMonitor the baseclass for both file and
761 directory monitors. Lift the more generic
762 rate limiting code from GDirectoryMonitor
766 * fam/gfamdirectorymonitor.[ch]:
767 * inotify/ginotifydirectorymonitor.[ch]:
768 * inotify/inotify-helper.c:
769 * glocaldirectorymonitor.[ch]:
772 Update for the removed GDirectoryMonitor.
774 * gmemoryoutputstream.c:
775 Remove ununsed variable
777 2008-01-07 Alexander Larsson <alexl@redhat.com>
779 * gmemoryinputstream.c:
780 Translate error strings
783 * gmemoryoutputstream.[ch]:
784 New implementation that avoids using GByteArray
785 in implementation and API. (#506377)
787 2008-01-06 Matthias Clasen <mclasen@redhat.com>
789 * tests/*: Add a test for memory input streams.
791 * Makefile.am: Add tests to SUBDIRS.
793 2008-01-06 Matthias Clasen <mclasen@redhat.com>
795 * glocalfilemonitor.c:
796 * glocaldirectorymonitor.c: Mark property nicks and blurbs
799 2008-01-06 Matthias Clasen <mclasen@redhat.com>
801 * gdesktopappinfo.c: Fix a docs typo.
803 * gfileattribute.c: Add information about extended attributes
804 to the documentation. (#505058)
806 2008-01-04 Alexander Larsson <alexl@redhat.com>
810 Use the right type (uint) for the ask_password signal.
812 2008-01-04 Alexander Larsson <alexl@redhat.com>
817 Add g_app_info_supports_files()
818 Remove desktop arg from g_app_info_should_show().
820 * gdesktopappinfo.[ch]:
821 Implement g_app_info_supports_files() and new should_show()
822 Add g_desktop_app_info_set_desktop_env() to set the desktop
823 for should_show(). (This will be set by gtk+ later)
825 2008-01-04 Alexander Larsson <alexl@redhat.com>
828 * gmemoryinputstream.[ch]:
829 Improve API so that you can use multiple chunks
830 of memory and custom destroy functions. (#506374)
832 2008-01-03 Alexander Larsson <alexl@redhat.com>
835 Handle NULL attribute matchers safely, as we return this
836 for empty attribute matcher strings.
838 2008-01-03 Alexander Larsson <alexl@redhat.com>
840 * gunixmounts.c (g_unix_is_mount_path_system_internal):
841 Add /usr/local to list of internal mountpoints
843 2008-01-03 Alexander Larsson <alexl@redhat.com>
846 Check for HAVE_LCHOWN (#505887)
848 2008-01-03 Alexander Larsson <alexl@redhat.com>
852 Add define for selinux context attribute.
853 Fix missing : -> :: namespace separator change
854 Fix missing _ -> - name change for xattr-sys.
857 2008-01-03 Alexander Larsson <alexl@redhat.com>
860 Link to libglib and libgobject directly (#504879)
861 Patch from Sebastien Bacher
863 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
865 * gfile.c: Expanded the g_file_new_for_commandline_arg
866 description a bit, based on the code and the docs of the
867 other g_file_new_for_* functions.
869 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
871 * gfilemonitor.h: Fixed typo in docs.
873 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
875 Updates to GIO documentation. (#506395, Mikael Hermansson)
877 * gcontenttype.c: Describe memory management for return value of
878 g_content_types_get_registered(). Missing piece from #505815.
879 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
880 GVolume, GDrive, GMounts, which hopefully gives the user less
881 confusions when using this API. Following explainations from
882 Alexander Larsson on gtk-devel-list.
884 2007-12-30 Matthias Clasen <mclasen@redhat.com>
886 * gfileinfo.c: Expand the long description.
888 2007-12-30 Matthias Clasen <mclasen@redhat.com>
891 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
892 fix builds with --disable-visibility. (#500273, Christian Persch)
894 2007-12-30 Matthias Clasen <mclasen@redhat.com>
896 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
897 in the list of returned app infos.
899 2007-12-30 Matthias Clasen <mclasen@redhat.com>
901 * gappinfo.c: Fix a cross-reference
903 2007-12-30 Matthias Clasen <mclasen@redhat.com>
905 * gfileinputstream.c:
906 * gfileoutputstream.c:
912 * gfileinfo.c: Documentation updates.
914 2007-12-26 Matthias Clasen <mclasen@redhat.com>
916 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
919 2007-12-26 Matthias Clasen <mclasen@redhat.com>
921 * gcontenttype.c (g_content_types_get_registered): Don't return
922 freed memory (#505815, Mikael Hermansson)
924 2007-12-25 Paolo Borelli <pborelli@katamail.com>
926 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
927 used to detect statbuf->st_blocks. (#505042)
929 2007-12-24 Matthias Clasen <mclasen@redhat.com>
931 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
932 environment handling. (#504829, Cosimo Cecchi)
934 2007-12-22 Matthias Clasen <mclasen@redhat.com>
936 * gappinfo.c: Doc improvements
938 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
941 2007-12-20 Matthias Clasen <mclasen@redhat.com>
943 * === Released 2.15.0 ===
945 2007-12-20 Hans Breuer <hans@breuer.org>
947 * makefile.msc : don't build gdesktopappinfo.obj, it collides
948 with symbols gwin32appinfo.obj, added gmount.obj
949 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
951 2007-12-20 Alexander Larsson <alexl@redhat.com>
957 * gfilenamecompleter.c:
960 * gpollfilemonitor.c:
961 File attribute renames:
964 id::fs -> id::filesystem
966 2007-12-20 Alexander Larsson <alexl@redhat.com>
975 Add GMountUnmountFlags to all unmount and
977 Add g_mount_remount() call.
979 2007-12-20 Alexander Larsson <alexl@redhat.com>
981 * gvfs.c (get_default_vfs):
982 Fix unused variable warning
984 2007-12-19 Matthias Clasen <mclasen@redhat.com>
986 * pltcheck.sh: Update
988 2007-12-19 Matthias Clasen <mclasen@redhat.com>
990 * gunionvolumemonitor.c:
991 * gunixmount.c: Remove C99 comments
993 2007-12-19 Matthias Clasen <mclasen@redhat.com>
995 * gio.symbols: Add some missing symbols
997 2007-12-19 Alexander Larsson <alexl@redhat.com>
1000 Make g_io_modules_load_all_in_directory not unuse
1001 loaded modules so that users of it can do stuff
1003 Init internal "module" types.
1004 Initialize static prio and name for types so that
1005 we don't have to load modules to get it.
1007 * gnativevolumemonitor.h:
1009 Move is_supported to parent class so that
1010 non-native monitors can avoid being initialized
1011 too. (For instance GDaemonVolumeMonitor if we're
1012 not using GDaemonVfs.)
1014 * glocaldirectorymonitor.[ch]:
1015 * glocalfilemonitor.[ch]:
1016 * gunionvolumemonitor.c:
1017 * gunixvolumemonitor.c:
1019 Find plugins using the static prio+name to
1020 avoid unnecessarily loading the modules.
1022 2007-12-19 Alexander Larsson <alexl@redhat.com>
1027 2007-12-19 Alexander Larsson <alexl@redhat.com>
1029 * gunionvolumemonitor.c:
1030 Store the native type as GType, not class so that
1031 we can unload it. But still avoid unnecessarily
1034 2007-12-19 David Zeuthen <davidz@redhat.com>
1036 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1037 add signals 'disconnected' and 'eject-button' on GDrive. Add
1038 signal 'removed' on GVolume and 'unmounted' on GMount.
1040 * gdrive.c: (g_drive_base_init):
1042 * gfile.c: (g_file_mount_mountable),
1043 (g_file_mount_enclosing_volume):
1046 * gmount.c: (g_mount_base_init):
1048 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1049 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1050 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1054 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1056 * *.c: Fix up includes in the section docs.
1058 2007-12-17 Alexander Larsson <alexl@redhat.com>
1060 * gnativevolumemonitor.h:
1061 * gunionvolumemonitor.c:
1062 * gunixvolumemonitor.c:
1063 Add is_supported() to GNativeVolumeMonitorClass so
1064 that we can avoid having to create an object to see
1065 if the backend is supported at runtime.
1066 Also add name member and an env var to pick a specific
1067 volume monitor backend.
1071 Add cancellable to _g_mount_get_for_mount_path()
1073 * glocaldirectorymonitor.c:
1074 * glocalfilemonitor.c:
1075 Avoid loading and unloading modules while sorting.
1077 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1080 * gunixmounts.[hc]: Namespace waste reduction, move some
1081 g_get_unix_mount functions to the g_unix_mount namespace.
1084 * gunixvolumemonitor.c:
1086 * glocaldirectorymonitor.c: Update all callers.
1088 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1090 2007-12-17 Alexander Larsson <alexl@redhat.com>
1093 Add doc comments about what GFile operations are
1094 guaranteed to not block.
1096 2007-12-17 Alexander Larsson <alexl@redhat.com>
1099 Add missing #ifdef fixing OSX build.
1100 (#503334, patch from Richard Hult)
1102 2007-12-14 David Zeuthen <davidz@redhat.com>
1106 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1107 (g_mount_eject), (g_mount_eject_finish):
1109 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1110 (get_volume_for_uuid), (get_mount_for_uuid),
1111 (g_union_volume_monitor_class_init),
1112 (get_default_native_type_with_exclude), (get_default_native_type),
1113 (get_native_type), (update_native_type),
1114 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1115 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1116 (g_unix_mount_can_eject), (eject_unmount_cb),
1117 (eject_unmount_read_error), (eject_unmount_do),
1118 (g_unix_mount_unmount), (g_unix_mount_eject),
1119 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1120 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1121 (g_unix_mount_point_guess_can_eject):
1123 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1124 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1125 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1126 (g_unix_volume_mount), (g_unix_volume_eject),
1127 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1128 * gunixvolumemonitor.c: (get_volume_for_uuid),
1129 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1131 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1132 (g_volume_eject), (g_volume_eject_finish):
1134 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1135 (g_volume_monitor_get_mount_for_uuid):
1138 Provide eject() on both GMount and GVolume and utility functions
1139 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1140 ejected. Introduce the concept of UUID's and wire it into GVolume
1141 and GMount and provide API on GVolumeMonitor to find such
1142 instances. Also handle the case where an external
1143 GNativeVolumeMonitor fails to initialize. Lock around the
1144 _g_get_mount_for_mount_path() function such that volume monitor
1145 implementations won't have to do locking themselves.
1147 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1149 * gdesktopappinfo.c:
1155 * gvolume.h: Documentation updates
1157 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1160 * gfile.h: Doc updates
1162 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1165 * gdesktopappinfo.c: Use hash table iterators.
1167 2007-12-14 Alexander Larsson <alexl@redhat.com>
1170 * gfileattribute.[ch]:
1171 * gfileattribute-priv.h:
1172 Move GFileAttributeValue to a private header, as
1176 Make set_attribute take a type + a pointer instead
1177 of a GFileAttributeValue.
1180 Fix up for above changes.
1181 Add g_file_info_get_attribute_data to get
1182 all info in one call, g_file_info_get_attribute_status
1183 to get the status and g_file_info_get_attribute_as_string.
1187 * glocalfileinfo.[ch]:
1191 Make _guess_type static.
1193 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1196 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1197 made mkenums and friends use temporary files to avoid leaving
1198 empty generated files on failure (#503470).
1200 2007-12-14 Alexander Larsson <alexl@redhat.com>
1202 * gmountoperation.h:
1205 2007-12-14 Alexander Larsson <alexl@redhat.com>
1209 * gfileattribute.[ch]:
1212 * glocalfileoutputstream.c:
1213 * gmountoperation.[ch]:
1214 * goutputstream.[ch]:
1215 Clean up all flags enums to not have _FLAGS in them
1216 Make the names of some of the enums better.
1221 2007-12-14 Michael Natterer <mitch@imendio.com>
1223 * gio.symbols: fix g_io_scheduler symbol names.
1225 2007-12-14 Alexander Larsson <alexl@redhat.com>
1231 * gbufferedinputstream.h:
1232 * gbufferedoutputstream.h:
1235 * gdatainputstream.h:
1236 * gdataoutputstream.h:
1237 * gdesktopappinfo.h:
1238 * gdirectorymonitor.h:
1242 * gfileenumerator.h:
1245 * gfileinputstream.h:
1247 * gfilenamecompleter.h:
1248 * gfileoutputstream.h:
1249 * gfilterinputstream.h:
1250 * gfilteroutputstream.h:
1258 * gmemoryinputstream.h:
1259 * gmemoryoutputstream.h:
1261 * gmountoperation.h:
1264 * gsimpleasyncresult.h:
1266 * gunixinputstream.h:
1268 * gunixoutputstream.h:
1272 * inotify/Makefile.am:
1273 Only allow including <gio/gio.h> from apps
1275 2007-12-14 Alexander Larsson <alexl@redhat.com>
1277 * gioscheduler.[ch]:
1278 * gsimpleasyncresult.c:
1279 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1280 Split out the send_to_mainloop call into two versions instead
1281 of having the block argument.
1283 2007-12-13 Alexander Larsson <alexl@redhat.com>
1285 * gcancellable.[ch]:
1287 * gbufferedinputstream.c:
1288 * gfileenumerator.c:
1289 * gfileinputstream.c:
1290 * gfileoutputstream.c:
1294 g_push/pop_current_cancellable ->
1295 g_cancellable_push/pop_current
1297 2007-12-13 Alexander Larsson <alexl@redhat.com>
1301 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1303 2007-12-13 Alexander Larsson <alexl@redhat.com>
1305 * gmountoperation.h:
1306 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1308 2007-12-12 Alexander Larsson <alexl@redhat.com>
1311 Fix race condition when freeing proxy in
1312 g_io_job_send_to_mainloop().
1314 2007-12-12 Alexander Larsson <alexl@redhat.com>
1320 Make attribute namespace separator "::" instead of ":".
1321 Use - instead of _ as separator in attribute names.
1323 2007-12-12 Alexander Larsson <alexl@redhat.com>
1325 * gbufferedinputstream.h:
1326 * gbufferedoutputstream.h:
1327 * gdatainputstream.h:
1328 * gdataoutputstream.h:
1329 * gdirectorymonitor.h:
1330 * gfileenumerator.h:
1331 * gfileinputstream.h:
1333 * gfileoutputstream.h:
1334 * gfilterinputstream.h:
1335 * gfilteroutputstream.h:
1337 * glocalfileinputstream.h:
1338 * glocalfileoutputstream.h:
1339 * gmemoryinputstream.h:
1340 * gmemoryoutputstream.h:
1341 * gnativevolumemonitor.h:
1343 * gunixinputstream.h:
1344 * gunixoutputstream.h:
1347 s/parent/parent_instance/ in GObjects
1349 2007-12-12 Alexander Larsson <alexl@redhat.com>
1354 No need for padding for interfaces
1356 2007-12-12 Alexander Larsson <alexl@redhat.com>
1360 * gbufferedinputstream.c:
1361 * gbufferedoutputstream.c:
1364 * gdatainputstream.[ch]:
1365 * gdesktopappinfo.c:
1366 * gdirectorymonitor.c:
1368 * gfileattribute.[ch]:
1371 * gfileinputstream.h:
1372 * gfilemonitor.[ch]:
1373 * gfileoutputstream.[ch]:
1374 * gfilterinputstream.h:
1375 * gfilteroutputstream.h:
1378 * gloadableicon.[ch]:
1379 * gmemoryinputstream.c:
1380 * gmountoperation.c:
1382 Fix up a bunch of details in the docs.
1387 2007-12-11 David Zeuthen <davidz@redhat.com>
1389 Rework how volumes, drives and volume monitoring is
1390 done. Previosly the model was
1392 GDrive <1-1> GVolume
1394 where a GDrive instance represented a mount point and a GVolume
1395 instance represented a mounted file system. This patch changes it
1398 GDrive <1-N> GVolume <1-1> GMount
1400 where GMount now serves the purpose of the old GVolume and the new
1401 GVolume serves the purpose of the old GDrive. In addition the new
1402 GDrive interface is used to represent a collection of GVolume
1403 instances (typically partitions) and also contains utility to query
1404 the state of the physical drive the GDrive object represents (such
1405 as checking for media, polling the drive, ejecting the media etc.).
1407 Also implement mounting and unmounting in the Unix volume monitor
1408 backend. A subquent patch will introduce GDrive support for ejection
1412 * gdrive.c: (g_drive_is_media_check_automatic),
1413 (g_drive_is_media_removable), (g_drive_has_media),
1414 (g_drive_can_poll_for_media), (g_drive_eject),
1415 (g_drive_eject_finish), (g_drive_poll_for_media),
1416 (g_drive_poll_for_media_finish):
1418 * gfile.c: (g_file_find_enclosing_mount):
1421 * glocaldirectorymonitor.c:
1422 (g_local_directory_monitor_constructor), (mounts_changed):
1423 * glocalfile.c: (get_mount_info),
1424 (g_local_file_find_enclosing_mount),
1425 (g_local_file_file_iface_init):
1426 * gnativevolumemonitor.h:
1427 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1428 (get_connected_drives), (g_union_volume_monitor_class_init),
1429 (child_volume_added), (child_volume_removed),
1430 (child_volume_changed), (child_mount_added), (child_mount_removed),
1431 (child_mount_pre_unmount), (child_mount_changed),
1432 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1433 (g_union_volume_monitor_remove_monitor),
1434 (_g_mount_get_for_mount_path):
1435 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1436 (guess_system_internal), (_g_get_unix_mounts),
1437 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1438 (g_unix_mount_free), (g_unix_mount_compare),
1439 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1440 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1441 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1442 (type_to_icon), (g_unix_mount_guess_name),
1443 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1444 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1445 (_resolve_symlink), (_resolve_dev_root):
1447 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1448 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1449 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1450 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1451 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1452 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1453 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1454 (g_unix_volume_volume_iface_init):
1456 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1457 (get_mounts), (get_volumes), (get_connected_drives),
1458 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1459 (mountpoints_changed), (mounts_changed),
1460 (g_unix_volume_monitor_init),
1461 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1462 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1463 * gunixvolumemonitor.h:
1464 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1465 (g_volume_mount), (g_volume_mount_finish):
1467 * gvolumemonitor.c: (g_volume_monitor_class_init),
1468 (g_volume_monitor_get_connected_drives),
1469 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1472 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1474 * gmountoperation.h (GPasswordFlags): Close the gap
1476 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1478 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1480 * gdesktopappinfo.[hc]: Remove _-prefixes
1482 2007-12-10 Tor Lillqvist <tml@novell.com>
1484 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1487 2007-12-10 Alexander Larsson <alexl@redhat.com>
1489 * gfile.c (g_file_set_display_name):
1490 Don't hardcode '/' (#502727)
1492 2007-12-09 Hans Breuer <hans@breuer.org>
1494 * makefile.msc : follow lib naming convention
1495 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1496 for user and group name, tested with ../tests/gio-ls
1498 2007-12-09 A. Walton <awalton@svn.gnome.org>
1500 * gdesktopappinfo.c:
1506 * gfileenumerator.c:
1511 * gmemoryinputstream.c:
1512 * gmemoryoutputstream.c:
1514 * gsimpleasyncresult.c:
1515 More documentation cleanup and filling in missing information, bringing
1516 GIO to 99% symbol coverage.
1518 2007-12-08 Hans Breuer <hans@breuer.org>
1520 [gio compiles and links on win32, not sure how much already works]
1521 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1522 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1523 base on win32 API; prefer g_lstat() over lstat(); instead of
1524 localtime_r() use an all GLib implementation on win32;
1525 get_mount_info() still needs a win32 specifc implementation
1526 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1527 win32_get_file_user_info to get owner/group info without uid/gid
1528 * glocalfileinputstream.c : include <io.h> on win32
1529 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1530 definition, use g_win32_ftruncate() for G_OS_WIN32
1531 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1532 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1533 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1534 * makefile.msc : updated
1536 2007-12-07 Alexander Larsson <alexl@redhat.com>
1538 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1539 Avoid warning spew if error == NULL
1541 2007-12-07 Alexander Larsson <alexl@redhat.com>
1544 Update docs wrt etags
1546 2007-12-06 Alexander Larsson <alexl@redhat.com>
1549 Include sys/types.h for dev_t (#501919)
1551 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1555 Make abicheck and pltcheck pass.
1557 2007-12-05 Alexander Larsson <alexl@redhat.com>
1560 * giomodule-priv.h: Added.
1561 * glocaldirectorymonitor.c:
1562 * glocalfilemonitor.c:
1563 * gunionvolumemonitor.c:
1565 Actually add the declaration of _g_io_modules_ensure_loaded
1567 2007-12-05 Alexander Larsson <alexl@redhat.com>
1569 * gdatainputstream.c:
1574 * glocaldirectorymonitor.c:
1575 * glocalfilemonitor.c:
1576 * gunionvolumemonitor.c:
1578 Make g_io_modules_ensure_loaded a private function and
1579 don't pass in the dirname. This means we can do magic
1580 directory finding in the win32 version.
1581 Export the actual load-modules-in-directory code so that
1582 gvfs can reuse that.
1584 2007-12-05 Alexander Larsson <alexl@redhat.com>
1586 * gbufferedinputstream.c:
1587 * gbufferedoutputstream.c:
1590 * gfileenumerator.[ch]:
1591 * gfileinputstream.c:
1592 * gfileoutputstream.[ch]:
1593 * gfilterinputstream.c:
1594 * gfilteroutputstream.c:
1595 * ginputstream.[ch]:
1597 * glocalfileenumerator.c:
1598 * glocalfileinputstream.c:
1599 * glocalfileoutputstream.c:
1600 * gmemoryinputstream.c:
1601 * gmemoryoutputstream.c:
1602 * goutputstream.[ch]:
1605 * gunixinputstream.c:
1606 * gunixoutputstream.c:
1607 Rename all struct members named:
1608 read, write, close, truncate, or mount
1609 to foo_fn, as these are reserved names
1610 and could be defined as macros in libc.
1613 2007-12-04 Alexander Larsson <alexl@redhat.com>
1616 (g_output_stream_close):
1617 Only call flush if non-null.
1619 2007-11-30 Dan Winship <danw@gnome.org>
1621 * ginputstream.c (g_input_stream_set_pending): Make this take a
1622 GError and return a gboolean, and do the "outstanding operation"
1623 check (and the "stream is already closed" check) itself.
1624 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1626 * goutputstream.c (g_output_stream_set_pending)
1627 (g_output_stream_clear_pending): Likewise
1629 * gbufferedinputstream.c:
1630 * gfileinputstream.c:
1631 * gfileoutputstream.c: Update for that
1633 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1634 Like g_simple_async_report_error_in_idle, but takes a GError
1635 rather than building one.
1637 2007-11-30 Dan Winship <danw@gnome.org>
1639 * goutputstream.c: Don't cheat and unset the "pending" flag around
1640 inner calls. Instead, call the class method directly rather than
1641 the wrapper function that checks "pending"
1643 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1645 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1647 2007-12-03 Hans Breuer <hans@breuer.org>
1649 [start of port to win32/msvc]
1650 * gcancellable.c : HAVE_UNIST_H and _pipe()
1651 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1652 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1653 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1655 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1656 * glocalvfs.c : use HAVE_PWD_H
1657 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1658 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1659 * Makefile.am : added to EXTRA_DIST
1661 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1663 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1666 2007-12-03 Alexander Larsson <alexl@redhat.com>
1669 Handle OSX style xattrs API (#500506)
1671 2007-12-03 Alexander Larsson <alexl@redhat.com>
1675 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1677 2007-12-02 A. Walton <awalton@svn.gnome.org>
1681 Documentation accuracy fixes.
1683 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1685 * gioenumtypes.c.template: Fix typo.
1687 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1689 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1691 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1693 * gdirectorymonitor.c:
1694 * gfilemonitor.c: Add properties
1696 * gbufferedoutputstream.c: Don't mark buffer-size property
1699 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1701 * gbufferedoutputstream.c: Add auto-grow property.
1703 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1705 * *.c: Unify the capitalization of section headings.
1707 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1709 * gmountoperation.c: Add properties
1711 * gdatainputstream.c: Turn byte-order and newline-type into
1714 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1716 * gioenumtypes.[hc].template: Templates for enum registration
1718 * Makefile.am: Generate gioenumtypes.[hc]
1720 * gio.h: Include gioenumtypes.h
1722 * gfile.h: Add some explicit nicks.
1724 * gio.symbols: Add new symbols
1726 * pltcheck.sh: Adjust
1728 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1730 * *.c: Explain etags and link to the explanation
1732 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1734 * *.c: Explain I/O priority.
1736 * *.c: More coding style fixes.
1738 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1740 * gasyncresult.c: Add another paragraph to the intro,
1741 adjust coding style of example.
1743 2007-11-29 A. Walton <awalton@svn.gnome.org>
1746 Fixes unknown meaning in GAppLaunchContext docs.
1748 Clarify asynchronous ops.
1750 Fix entity tag docs.
1753 Provides missing gtk-doc section, fixes API docs slighly.
1754 * gsimpleasyncresult.c:
1755 Fill in missing info in docs.
1756 * gunixinputstream.c:
1757 * gunixoutputstream.c:
1758 Be more expressive in short description.
1760 Remove gtk-doc stubs for non-public API.
1762 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1764 * *.c: Coding style fixups
1766 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1768 * inotify/inotify-helper.c: Don't export the lock from libgio.
1770 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1773 * abicheck.sh: Fix copy-and-paste leftovers
1775 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1777 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1779 2007-11-28 Alexander Larsson <alexl@redhat.com>
1783 Removed unnecessary file
1785 * gdesktopappinfo.[ch]:
1788 * glocaldirectorymonitor.[ch]:
1790 * glocalfileenumerator.[ch]:
1791 * glocalfileinputstream.[ch]:
1792 * glocalfilemonitor.[ch]:
1793 * glocalfileoutputstream.[ch]:
1795 * gnativevolumemonitor.c:
1796 * gpollfilemonitor.[ch]:
1797 * gunionvolumemonitor.[ch]:
1800 * gunixvolumemonitor.[ch]:
1803 * inotify/ginotifydirectorymonitor.[ch]:
1804 * inotify/ginotifyfilemonitor.[ch]:
1805 * inotify/inotify-helper.c:
1806 Append _ to all internal functions
1810 Export symbols needed for modules
1812 2007-11-28 Alexander Larsson <alexl@redhat.com>
1815 * abicheck.sh: Added.
1816 * makegioalias.pl: Added.
1817 * pltcheck.sh: Added.
1818 * gio.symbols: Added.
1821 Initial work on adding symbol handling.
1824 Correct ifdef guard name
1827 * inotify/Makefile.am:
1828 * xdgmime/Makefile.am:
1829 Include toplevel Makefile.decl
1831 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1833 * gcontenttype.c: Move doc comments to the unix section.
1835 * *.[hc]: More trivial doc corrections.
1837 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1839 * gpollfilemonitor.c:
1843 * gdesktopappinfo.c:
1848 * gdatainputstream.c:
1849 * gdatainputstream.h:
1850 * gdataoutputstream.c:
1851 * gdataoutputstream.h:
1852 * gfileinfo.h: Doc cleanups
1854 2007-11-28 Andre Klapper <a9016009@gmx.de>
1856 * gdesktopappinfo.c: Fix a typo.
1858 2007-11-27 Andre Klapper <a9016009@gmx.de>
1860 * glocalfileoutputstream.c: Fix a typo.
1862 2007-11-27 Alexander Larsson <alexl@redhat.com>
1865 Don't include removed headers
1867 2007-11-27 Alexander Larsson <alexl@redhat.com>
1870 * gsocketinputstream.[ch]: Removed.
1871 * gsocketoutputstream.[ch]: Removed.
1872 * gunixinputstream.[ch]: Added.
1873 * gunixoutputstream.[ch]: Added.
1874 Renamed GSocket*Stream to GUnix*Stream and made
1875 it unix-only, since its not really only for sockets
1876 and it only works on unix (but is highly useful there).
1878 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1884 * gbufferedinputstream.c:
1885 * gbufferedinputstream.h:
1886 * gbufferedoutputstream.c:
1887 * gbufferedoutputstream.h:
1891 * gdatainputstream.c:
1892 * gdatainputstream.h:
1893 * gdataoutputstream.c:
1894 * gdataoutputstream.h:
1895 * gdirectorymonitor.c:
1896 * gdirectorymonitor.h:
1903 * gfileenumerator.c:
1904 * gfileenumerator.h:
1909 * gfileinputstream.c:
1910 * gfileinputstream.h:
1913 * gfilenamecompleter.c:
1914 * gfilenamecompleter.h:
1915 * gfileoutputstream.c:
1916 * gfileoutputstream.h:
1917 * gfilterinputstream.c:
1918 * gfilterinputstream.h:
1919 * gfilteroutputstream.c:
1920 * gfilteroutputstream.h:
1933 * glocalfileoutputstream.c:
1934 * gmemoryinputstream.c:
1935 * gmemoryinputstream.h:
1936 * gmemoryoutputstream.c:
1937 * gmemoryoutputstream.h:
1938 * gmountoperation.c:
1939 * gmountoperation.h:
1942 * gpollfilemonitor.c:
1945 * gsimpleasyncresult.c:
1946 * gsimpleasyncresult.h:
1947 * gsocketinputstream.c:
1948 * gsocketinputstream.h:
1949 * gsocketoutputstream.c:
1950 * gsocketoutputstream.h:
1957 * gunixvolumemonitor.c:
1966 Bumps documentation to 93% symbol coverage, touching most
1967 of the public files. Fixes broken function documentation prototypes.
1968 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1969 gtk-doc headers in private files.
1971 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1973 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1974 (g_buffered_input_stream_read_byte):
1975 * gbufferedinputstream.h:
1976 New functions for efficient access to buffer and simple single byte
1979 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1980 (g_data_input_stream_read_until):
1981 * gdatainputstream.h:
1982 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1983 read_until with multiple stop chars.
1985 2007-11-27 Alexander Larsson <alexl@redhat.com>
1989 * inotify/Makefile.am:
1990 Use the user-specified giomoduledir
1992 2007-11-27 Alexander Larsson <alexl@redhat.com>
1996 Add catch-all gio.h header
1997 Don't install gdummyfile.h
1999 2007-11-26 Alexander Larsson <alexl@redhat.com>
2001 * Makefile.am (gioinclude_HEADERS):
2002 Remove trailing whitespace
2004 2007-11-26 Alexander Larsson <alexl@redhat.com>
2006 Merge gio-standalone into glib
2008 2007-11-25 Christian Kellner <gicmo@gnome.org>
2010 * gio/goutputstream.c:
2011 Fix small mistake in the docs.
2013 2007-11-21 Christian Persch <chpe@gnome.org>
2015 * gio/glocalfile.c: (g_local_file_trash):
2016 Convert filenames to UTF-8 for GError.
2017 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2018 as per xdg base dir spec.
2020 2007-11-21 Christian Persch <chpe@gnome.org>
2022 * gio/gdesktopappinfo.c:
2023 Use that g_key_file_to_data cannot fail.
2025 Use stock defines for the key file group and key names.
2028 2007-11-21 Alexander Larsson <alexl@redhat.com>
2031 (copy_stream_with_progress):
2032 Make sure we do a final progress callback with
2033 the full total size.
2035 2007-11-21 Alexander Larsson <alexl@redhat.com>
2038 Export g_file_copy_attributes
2039 Remove padding as its not needed for interfaces
2041 2007-11-20 Alexander Larsson <alexl@redhat.com>
2046 Add G_IO_ERROR_WOULD_MERGE for
2047 copy/move dir on dir with overwrite.
2049 2007-11-20 Alexander Larsson <alexl@redhat.com>
2052 * gio/glocalfileinfo.c:
2053 Add COPY_NAME (this is an optional
2054 non-modified utf8 version of the name) that
2057 2007-11-20 Alexander Larsson <alexl@redhat.com>
2059 * gio/glocalfileenumerator.c:
2060 Report errors as GIOError, not GFileError
2062 2007-11-16 Alexander Larsson <alexl@redhat.com>
2064 * gio/glocalfileoutputstream.c:
2065 * gio/gwin32appinfo.c:
2066 Fix typos in strings.
2067 Patch from Luca Ferretti <elle.uca@libero.it>
2069 2007-11-15 Alexander Larsson <alexl@redhat.com>
2072 Post release version bump
2074 === gio-standalone 0.1.2 ===
2076 2007-11-15 Alexander Larsson <alexl@redhat.com>
2078 * docs/reference/gio/Makefile.am:
2079 Fix up distcheck by removing weird
2085 2007-11-14 Alexander Larsson <alexl@redhat.com>
2087 * gio/gdesktopappinfo.c:
2088 * gio/glocaldirectorymonitor.c:
2090 * gio/glocalfileinfo.c:
2091 * gio/inotify/inotify-sub.c:
2092 * programs/gio-cat.c:
2093 * programs/gio-copy.c:
2094 * programs/gio-info.c:
2095 * programs/gio-ls.c:
2096 * programs/gio-monitor-dir.c:
2097 * programs/gio-monitor-file.c:
2098 * programs/gio-mount.c:
2099 * programs/gio-move.c:
2100 * programs/gio-rm.c:
2101 * programs/gio-save.c:
2102 * programs/gio-trash.c:
2103 Leak fixes from Kjartan Maraas
2105 2007-11-14 Alexander Larsson <alexl@redhat.com>
2107 * gio/fam/fam-helper.c:
2109 * gio/glocalfileinfo.c:
2113 * gio/inotify/inotify-diag.c:
2114 * gio/inotify/inotify-kernel.c:
2115 Various code cleanups from Kjartan Maraas
2117 2007-11-14 Alexander Larsson <alexl@redhat.com>
2119 * gio/gioscheduler.c:
2121 Set up threadpool so that we cache 2 unused
2122 idle threads for at 15 secs. This means we
2123 will reuse thread-local data (like dbus connections)
2126 2007-11-14 Alexander Larsson <alexl@redhat.com>
2128 * gio/fam/fam-helper.c:
2129 * gio/fam/gfamdirectorymonitor.c:
2130 * gio/fam/gfamfilemonitor.c:
2132 * gio/gcontenttype.c:
2133 * gio/gdatainputstream.c:
2134 * gio/gdataoutputstream.c:
2138 * gio/gfileattribute.h:
2139 * gio/gfileenumerator.c:
2141 * gio/ginputstream.c:
2144 * gio/glocalfileinfo.c:
2145 * gio/goutputstream.c:
2146 * gio/gpollfilemonitor.c:
2147 * gio/gsimpleasyncresult.c:
2148 * gio/gunixmounts.c:
2149 * gio/gunixmounts.h:
2150 * gio/inotify/ginotifydirectorymonitor.c:
2151 * gio/inotify/ginotifyfilemonitor.c:
2152 * gio/inotify/inotify-diag.c:
2153 * gio/inotify/inotify-kernel.c:
2154 * gio/inotify/inotify-path.c:
2156 * gio/test-streams.c:
2157 * programs/gio-info.c:
2158 * programs/gio-monitor-dir.c:
2159 * programs/gio-monitor-file.c:
2160 Various code cleanups from Kjartan Maraas
2162 2007-11-13 Alexander Larsson <alexl@redhat.com>
2165 Handle the uri-scheme calls for dummy files
2167 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2169 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2170 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2171 to avoid clash with the C++ keyword.
2173 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2175 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2176 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2178 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2180 * gio/glocaldirectorymonitor.c:
2181 * gio/glocalfilemonitor.c:
2182 * gio/gunionvolumemonitor.c:
2183 Don't use g_once_init_*() for initializations that could fail and
2184 could leave the initialization variable set to 0 but use GOnce.
2185 This prevents a deadlock on the second call when trying to create
2186 a monitor and no monitor type is available. Thanks to Sven Herzberg
2189 2007-11-11 Sven Herzberg <sven@imendio.com>
2191 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2192 #ifdef (make it work on MacOS X again)
2194 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2196 Fixes Changelog for last two commits (sorry guys).
2198 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2200 * gio/gbufferedinputstream.c:
2201 * gio/gdatainputstream.c:
2203 * gio/gfileoutputstream.c:
2204 * gio/gfilterinputstream.c:
2205 * gio/glocalfileinputstream.c:
2208 More consistency fixes in g*stream.c files.
2209 Significant clean of gfile's documentation, filling in of
2210 asynchronous operations documentation.
2212 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2214 * gio/gasyncresult.c:
2215 * gio/gbufferedinputstream.c:
2216 * gio/gbufferedoutputstream.c:
2217 * gio/gcancellable.c:
2218 * gio/gcontenttype.c:
2219 * gio/gdatainputstream.c:
2220 * gio/gdataoutputstream.c:
2221 * gio/gdesktopappinfo.c:
2224 * gio/gfileattribute.c:
2225 * gio/gio/gfileenumerator.c:
2227 * gio/gfileinputstream.c:
2228 * gio/gfilemonitor.c:
2229 * gio/gfileoutputstream.c:
2230 * gio/ginputstream.c:
2232 * gio/gioscheduler.c:
2233 * gio/gloadableicon.c:
2234 * gio/glocalfileoutputstream.c:
2235 * gio/gmemoryoutputstream.c:
2236 * gio/gmountoperation.c:
2237 * gio/goutputstream.c:
2239 * gio/gsimpleasyncresult.c:
2240 * gio/gunionvolumemonitor.c:
2241 * gio/gunixmounts.c:
2242 * gio/gunixvolume.c:
2246 * gio/gvolumemonitor.c:
2247 Updated documentation stubs, working towards consistency and
2250 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2252 * gio/gmemoryoutputstream.c:
2253 * gio/gmemoryoutputstream.h:
2254 Change g_memory_output_stream_set_free_on_close() to
2255 g_memory_output_stream_set_free_data() as this makes more sense and
2256 is more consistent with GMemoryInputStream.
2258 2007-11-07 Alexander Larsson <alexl@redhat.com>
2265 Change how we find the default vfs so that
2266 we can handle a gvfs failing to init
2268 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2270 * gio/gbufferedoutputstream.c:
2271 * gio/gdatainputstream.c:
2272 * gio/gdataoutputstream.c:
2273 * gio/gfileinputstream.c:
2274 * gio/gfileoutputstream.c:
2275 * gio/gfilterinputstream.c:
2276 * gio/gfilteroutputstream.c:
2277 * gio/ginputstream.c:
2278 * gio/gmemoryinputstream.c:
2279 * gio/gmemoryoutputstream.c:
2280 * gio/goutputstream.c:
2281 * gio/gsimpleasyncresult.c:
2282 * gio/gsocketinputstream.c:
2283 * gio/gsocketoutputstream.c:
2284 Add guards to the remaining public functions, add a TODO for
2285 an unimplemented function and remove some useless guards.
2287 2007-11-07 Alexander Larsson <alexl@redhat.com>
2290 Autoconf checks for the various types of
2291 getpwuid_r and getgrgid_r
2293 * gio/glocalfileinfo.c:
2294 Use the autoconf checks from above
2296 2007-11-07 Alexander Larsson <alexl@redhat.com>
2299 (g_local_file_query_filesystem_info):
2300 Some fixes for the statvfs case
2302 2007-11-07 Alexander Larsson <alexl@redhat.com>
2305 (g_local_file_query_filesystem_info):
2306 Pick the "best" of statfs / statvfs for the system
2307 if both are availible.
2309 2007-11-07 Alexander Larsson <alexl@redhat.com>
2311 Solaris fixes from Halton.Huo@Sun.COM:
2318 * gio/glocalfileinfo.c:
2319 Fix for solaris definition of getpwuid_r
2321 * gio/test-streams.c:
2322 Use G_GNUC_PRETTY_FUNCTION
2324 2007-11-07 Alexander Larsson <alexl@redhat.com>
2326 * gio/gdesktopappinfo.c:
2327 (update_default_list):
2328 Remove double semicolon.
2329 Patch from Jens Granseuer
2331 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2333 * docs/reference/gio/gio-sections.txt:
2334 * gio/gbufferedinputstream.c:
2335 * gio/gbufferedinputstream.h:
2336 * gio/gdatainputstream.c:
2337 * gio/gfileenumerator.c:
2338 * gio/gioscheduler.c:
2339 * gio/gunionvolumemonitor.c:
2341 * programs/gio-save.c:
2342 Fix typo: availible -> available. Unfortuntely this breaks API
2343 and ABI as g_buffered_input_stream_get_available() was renamed.
2345 * gio/gunixmounts.c:
2346 * gio/gbufferedinputstream.c:
2347 Add guards for public functions.
2349 2007-11-06 Ross Burton <ross@openedhand.com>
2351 * docs/reference/gio/Makefile.am:
2352 Fix invalid += usage which automake 1.10 doesn't like.
2354 2007-11-06 Alexander Larsson <alexl@redhat.com>
2357 (g_app_launch_context_class_init):
2360 Patch from Ross Burton
2362 2007-11-06 Alexander Larsson <alexl@redhat.com>
2365 Post release version bump
2367 === gio-standalone 0.1.1 ===
2369 2007-11-06 Alexander Larsson <alexl@redhat.com>
2372 Bump version to 0.1.1
2374 * gio/gsimpleasyncresult.c:
2375 (g_simple_async_result_set_from_error):
2376 Remove bogus g_return_if_fail
2378 2007-11-06 Alexander Larsson <alexl@redhat.com>
2381 The name is gio-standalone
2384 Add top src/builddir to includedir
2386 2007-11-06 Alexander Larsson <alexl@redhat.com>
2388 * docs/reference/gio/gio-sections.txt:
2390 * gio/gbufferedinputstream.c:
2391 * gio/gbufferedoutputstream.c:
2392 * gio/gcancellable.c:
2393 * gio/gdatainputstream.h:
2394 * gio/gdataoutputstream.c:
2395 * gio/gdataoutputstream.h:
2396 * gio/gdirectorymonitor.c:
2398 * gio/gfileattribute.c:
2399 * gio/gfileattribute.h:
2400 * gio/gfileenumerator.c:
2401 * gio/gfileenumerator.h:
2404 * gio/gfileinputstream.h:
2405 * gio/gfilemonitor.c:
2406 * gio/gfileoutputstream.h:
2407 * gio/glocalfilemonitor.h:
2408 * gio/glocalfileoutputstream.h:
2409 * gio/gmemoryinputstream.c:
2410 * gio/gmemoryoutputstream.c:
2411 * gio/gmountoperation.c:
2412 * gio/goutputstream.c:
2413 * gio/goutputstream.h:
2415 * gio/gsimpleasyncresult.c:
2416 * gio/gunixmounts.c:
2417 * gio/gunixmounts.h:
2419 * gio/inotify/inotify-helper.c:
2420 Fix gtk-doc warnings
2422 Patch from Ross Burton
2424 2007-11-06 Alexander Larsson <alexl@redhat.com>
2426 * gio/gfilenamecompleter.c:
2427 (g_filename_completer_get_completions):
2430 * gio/gunixvolume.c:
2431 Remove unused function
2433 Patches from Ross Burton
2435 2007-11-06 Alexander Larsson <alexl@redhat.com>
2440 Padding not needed for interfaces
2442 2007-11-06 Alexander Larsson <alexl@redhat.com>
2444 * gio/gfilemonitor.c:
2448 Make giotypes.h an internal file
2451 * gio/gbufferedinputstream.h:
2452 * gio/gbufferedoutputstream.h:
2453 * gio/gcancellable.h:
2454 * gio/gdatainputstream.h:
2455 * gio/gdataoutputstream.h:
2456 * gio/gdirectorymonitor.c:
2457 * gio/gdirectorymonitor.h:
2462 * gio/gfileattribute.h:
2463 * gio/gfileenumerator.h:
2468 * gio/gfilemonitor.c:
2469 * gio/gfilemonitor.h:
2470 * gio/gfilenamecompleter.c:
2471 * gio/gfilenamecompleter.h:
2472 * gio/gfilterinputstream.h:
2473 * gio/gfilteroutputstream.h:
2474 * gio/ginputstream.h:
2475 * gio/gmemoryinputstream.h:
2476 * gio/gmemoryoutputstream.h:
2477 * gio/gmountoperation.c:
2478 * gio/gmountoperation.h:
2479 * gio/gnativevolumemonitor.c:
2480 * gio/goutputstream.h:
2483 * gio/gsimpleasyncresult.c:
2484 * gio/gsimpleasyncresult.h:
2485 * gio/gsocketinputstream.h:
2486 * gio/gsocketoutputstream.h:
2487 * gio/gthemedicon.c:
2488 * gio/gthemedicon.h:
2492 * gio/gvolumemonitor.c:
2493 * gio/gvolumemonitor.h:
2494 Add padding in classes where it seems useful
2495 Don't include giotypes.h from public headers
2496 Move in Class definitions into c file where possible
2501 2007-11-06 Alexander Larsson <alexl@redhat.com>
2503 * docs/reference/gio/gio-docs.xml:
2504 Better structure for API docs
2506 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2509 * gio/gloadableicon.c:
2510 * gio/gsimpleasyncresult.c:
2511 * gio/gthemedicon.c:
2512 Add some more guards to public functions. Only files missing are now
2515 2007-11-06 Alexander Larsson <alexl@redhat.com>
2517 * docs/reference/gio/gio-docs.xml:
2518 Remove old files, add missing ones
2520 2007-11-06 Alexander Larsson <alexl@redhat.com>
2522 * docs/reference/gio/gio-sections.txt:
2525 Hide implementation classes
2527 * gio/gdriveprivate.h:
2528 * gio/gvolumeprivate.h:
2529 Remove non-existing function declarations
2531 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2534 Fix compilation warnings and add guards to the new functions.
2536 * gio/gasyncresult.c:
2538 Add guards to the public functions.
2541 Implement get_path().
2543 2007-11-06 Alexander Larsson <alexl@redhat.com>
2545 * gio/gfilenamecompleter.c:
2546 Make g_filename_completer_get_completions
2547 return char ** instead of GList for
2550 * docs/reference/gio/gio-docs.xml:
2551 * docs/reference/gio/gio-sections.txt:
2553 * gio/gasyncresult.c:
2554 * gio/gbufferedinputstream.c:
2555 * gio/gbufferedoutputstream.c:
2556 * gio/gcancellable.c:
2557 * gio/gcontenttype.c:
2558 * gio/gdatainputstream.c:
2559 * gio/gdataoutputstream.c:
2560 * gio/gdesktopappinfo.c:
2561 * gio/gdirectorymonitor.c:
2565 * gio/gfileattribute.c:
2566 * gio/gfileenumerator.c:
2569 * gio/gfileinputstream.c:
2570 * gio/gfilemonitor.c:
2571 * gio/gfilenamecompleter.c:
2572 * gio/gfilenamecompleter.h:
2573 * gio/gfileoutputstream.c:
2574 * gio/gfilterinputstream.c:
2576 * gio/ginputstream.c:
2578 * gio/gioscheduler.c:
2579 * gio/gloadableicon.c:
2580 * gio/glocaldirectorymonitor.c:
2582 * gio/glocalfileinputstream.c:
2583 * gio/glocalfilemonitor.c:
2584 * gio/glocalfileoutputstream.c:
2586 * gio/gmemoryinputstream.c:
2587 * gio/gmemoryoutputstream.c:
2588 * gio/gmountoperation.c:
2589 * gio/goutputstream.c:
2590 * gio/gpollfilemonitor.c:
2592 * gio/gsimpleasyncresult.c:
2593 * gio/gsocketinputstream.c:
2594 * gio/gsocketoutputstream.c:
2595 * gio/gthemedicon.c:
2596 * gio/gunionvolumemonitor.c:
2598 * gio/gunixmounts.c:
2599 * gio/gunixvolume.c:
2600 * gio/gunixvolumemonitor.c:
2604 * gio/gvolumemonitor.c:
2605 * gio/gwin32appinfo.c:
2606 Add (mostly stub) doc strings to public functions.
2607 Patch from Andrew Walton (awalton@gmail.com)
2609 2007-11-06 Alexander Larsson <alexl@redhat.com>
2611 * gio/gappinfo.[ch]:
2612 Added GAppLaunchContext object and pass that to launch.
2613 This allows simple implementation of both
2614 launch-on-screen and startup notification via a gtk+
2615 subclass of GAppLaunchContext
2617 * gio/gdesktopappinfo.c:
2618 Implement GAppLaunchContext API
2620 * gio/gwin32appinfo.c:
2623 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2625 * gio/gmountoperation.c:
2626 Add some guards to GMountOperation's public functions.
2628 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2632 * gio/gcancellable.c:
2633 * gio/gdirectorymonitor.c:
2635 * gio/gfileenumerator.c:
2636 * gio/gfilemonitor.c:,
2637 * gio/gfilenamecompleter.c:
2640 * gio/gioscheduler.c:
2644 * gio/gvolumemonitor.c:
2645 Add even more guards to various public functions.
2647 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2650 Add guards to the public functions of GAppInfo.
2652 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2654 * gio/gcontenttype.c:
2655 Add some more guards for public functions.
2657 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2659 * gio/fam/fam-module.c:
2660 * gio/fam/gfamdirectorymonitor.c:
2661 * gio/fam/gfamdirectorymonitor.h:
2662 * gio/fam/gfamfilemonitor.c:
2663 * gio/fam/gfamfilemonitor.h:
2664 * gio/inotify/ginotifydirectorymonitor.c:
2665 * gio/inotify/ginotifydirectorymonitor.h:
2666 * gio/inotify/ginotifyfilemonitor.c:
2667 * gio/inotify/ginotifyfilemonitor.h:
2668 Add proper copyright information and remove an unused variable
2669 in the GInotifyFileMonitor constructor.
2671 * gio/gcancellable.c:
2672 Add a guard for a public function and an assertion to prevent
2673 an undefined program state.
2675 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2677 * gio/gfileattribute.c:
2678 Don't run into an assertion if the given attribute value is NULL
2679 in g_file_attribute_value_get_*() but instead return a fallback
2680 value that makes sense in most situations. Passing them a attribute
2681 value with the wrong type will still run into an assertion.
2683 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2685 * gio/gfileattribute.c:
2687 Add even more guards to the public functions. Also fix the refcounting
2688 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2689 let g_file_info_list_attributes() filter the attributes by namespace
2690 instead of simply ignoring the namespace parameter.
2692 2007-11-03 Sven Herzberg <sven@imendio.com>
2694 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2695 (This makes gio work on MacOS X again)
2697 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2700 Build the gio subdirectory before the docs. Otherwise the build will
2703 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2704 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2705 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2706 Add guards to the public functions.
2708 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2710 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2711 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2712 to prevent a compiler warning.
2714 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2715 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2716 return something in the non-void function find_topdir_for().
2718 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2725 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2727 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2728 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2729 * gwin32appinfo.c (g_win32_app_info_launch):
2730 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2731 envp_for_startup_id, g_desktop_app_info_launch,
2732 g_desktop_app_info_launch_uris):
2734 Give an opaque 'startup_id' string instead of 'envp'.
2735 Support empty file lists for launching new windows.
2736 Fix infinite recursion bug when launching URIs.
2738 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2741 Add guard to the new g_file_get_uri_scheme() function.
2743 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2746 Convert a g_return_val_if_fail() to setting the GError instead as
2747 otherwise applications have to verify the parameter before otherwise
2748 and the parameter might come directly from the user.
2750 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2752 * gio/inotify/ginotify*.[ch]:
2753 Add missing copyright information.
2755 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2758 Add guards in the beginning of public functions to check for valid
2759 parameters and fix a bug in copy_stream_with_progress() that could've
2760 caused writing less bytes than reading.
2761 * gio/glocalfileinfo.c:
2762 Check for a NULL parameter and set the GError accordingly then.
2763 * gio/goutputstream.c:
2764 Fix the same bug as in gfile.c that could've caused writing less bytes
2765 than reading in g_output_stream_real_splice().
2767 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2770 Use the correct gvolumeprivate.h naming
2772 2007-11-01 Christian Kellner <gicmo@gnome.org>
2775 Remove leftover "$(daemon_sources)" entry.
2777 2007-11-01 Christian Kellner <gicmo@gnome.org>
2782 Add copyright information to source files.
2784 2007-11-01 Alexander Larsson <alexl@redhat.com>
2788 Add g_file_get_uri_scheme
2790 2007-11-01 Alexander Larsson <alexl@redhat.com>
2793 * gio/gdesktopappinfo.c:
2794 * gio/gwin32appinfo.c:
2795 Add g_app_info_get_default_for_uri_scheme.
2797 2007-11-01 Alexander Larsson <alexl@redhat.com>
2800 Correct filename for gdriveprivate.h
2802 2007-10-31 Alexander Larsson <alexl@redhat.com>
2805 Rename id:value to id:file
2808 * gio/glocalfileinfo.c:
2811 2007-10-31 Alexander Larsson <alexl@redhat.com>
2813 * gio/gunixvolume.c:
2815 Remove g_volume_get_platform_id, as thats not
2816 needed with the simpler union volume monitor
2818 2007-10-31 Alexander Larsson <alexl@redhat.com>
2821 * gio/guniondrive.[ch]: Removed.
2822 * gio/gunionvolume.[ch]: Removed.
2823 Remove GUnionDrive/Volume
2825 * gio/gunionvolumemonitor.c:
2826 Simplify union volume monitor, now we
2827 only have one native volume monitor and
2828 we use the actual volumes/drives from the
2829 child monitors instead of wrapping them
2831 * gio/gnativevolumemonitor.[ch]:
2832 Base class for native volume monitors.
2833 Includes priority and get_volume_for_mountpoint
2836 Add g_file_find_enclosing_volume
2839 Remove volume name fs attribute
2840 Add readonly fs attribute
2843 Implement readonly attribute
2844 remove volume name attribute
2845 Implement find_enclosing volume
2847 * gio/gunixmounts.c:
2848 Add a volume for "/".
2850 * gio/gunixvolume.[ch]:
2851 Set better name for /
2853 * gio/gunixvolumemonitor.[ch]:
2854 Derive from GNativeVolumeMonitor
2855 Implement get_volume_for_mountpoint
2858 GVolume typedef moved to gfile.h
2860 * gio/gvolumeprivate.h:
2861 Add g_volume_get_for_mount_path
2863 2007-10-31 Alexander Larsson <alexl@redhat.com>
2865 * gio/gunixmounts.[ch]:
2866 Add cache info to unix mount listers
2867 Make getmntent use threadsafe
2868 Add is_system_internal attribute for GUnixMount
2870 * gio/gunixvolume.c:
2871 (g_unix_volume_new):
2872 Use is_system_internal instead of own code
2874 * gio/glocaldirectorymonitor.c:
2875 * gio/gunixvolumemonitor.c:
2876 Update to new gunixmounts API
2881 2007-10-30 Alexander Larsson <alexl@redhat.com>
2884 Add volume name fsinfo attribute
2887 Read volume name info
2889 * gio/gunionvolumemonitor.c:
2890 Fix infinite loops when finalizing a union volume monitor
2892 2007-10-30 Alexander Larsson <alexl@redhat.com>
2894 * gio/goutputstream.[ch]:
2895 Add splice() with default implementation
2897 * gio/gsocketoutputstream.c:
2898 (g_socket_output_stream_write):
2899 Return error on cancellation correctly.
2901 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2903 * gio/glocalfile.c (g_local_file_trash):
2904 Do not leak a string.
2906 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2908 * gio/gfile.c (g_file_load_contents):
2909 Unref the stream after closing it.
2911 2007-10-25 Alexander Larsson <alexl@redhat.com>
2913 * gio/gioscheduler.h:
2916 2007-10-25 Alexander Larsson <alexl@redhat.com>
2920 Add g_file_has_uri_scheme and implement for local files
2922 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2924 * gio/gdesktopappinfo.c: do not leak a string.
2926 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2928 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2929 (g_local_directory_monitor_new):
2930 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2931 (g_local_file_monitor_new):
2932 Only look for the monitor type that should be used the first time
2933 and use g_qsort_with_data() instead of our own bubble sort
2936 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2939 * gio/fam/Makefile.am:
2940 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2941 * gio/fam/fam-helper.h:
2942 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2943 * gio/fam/gfamdirectorymonitor.c:
2944 * gio/fam/gfamdirectorymonitor.h:
2945 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2946 * gio/fam/gfamfilemonitor.h:
2947 * gio/glocaldirectorymonitor.c:
2948 * gio/glocaldirectorymonitor.h:
2949 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2950 * gio/glocalfilemonitor.h:
2951 * gio/inotify/Makefile.am:
2952 * gio/inotify/ginotifydirectorymonitor.c:
2953 * gio/inotify/ginotifydirectorymonitor.h:
2954 * gio/inotify/ginotifyfilemonitor.c:
2955 * gio/inotify/ginotifyfilemonitor.h:
2956 Implement the FAM and Inotify monitors as
2957 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2958 their own GIO module. GLocal(Directory|File)Monitor will use the
2959 monitor with the highest rank that is supported on that machine.
2961 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2964 Change GIO module dir to $(libdir)/gio/modules and change
2965 the log domain from GVFS to GIO. Also only export symbols starting
2966 with g_ in the resulting library.
2967 * gio/test-streams.c: (main):
2968 Set log handler for the GIO log domain.
2970 2007-10-22 Alexander Larsson <alexl@redhat.com>
2972 * gio/gfilenamecompleter.[ch]:
2973 Add g_filename_completer_set_dirs_only
2975 2007-10-22 Alexander Larsson <alexl@redhat.com>
2978 * gio/gurifuncs.[ch]:
2979 Add some simple URI helpers
2981 * gio/gfilenamecompleter.[ch]:
2982 Added object for filename (parse name actually) completion
2985 Handle ~ in parse names
2987 2007-10-17 Alexander Larsson <alexl@redhat.com>
2990 * gio/glocalfileinfo.c:
2991 Add and implement id:value attribute
2993 2007-10-17 Alexander Larsson <alexl@redhat.com>
2996 * gio/guniondrive.c:
2998 Add and implement g_drive_has_volumes
3000 2007-10-17 Alexander Larsson <alexl@redhat.com>
3003 * gio/glocalfileinfo.[ch]:
3004 Add unix:is_mountpoint and implement for local files
3006 2007-10-16 Alexander Larsson <alexl@redhat.com>
3008 * gio/gunionvolumemonitor.c:
3009 (g_union_volume_monitor_init):
3010 Fix up the unix type getting so that it works with gcc
3012 2007-10-12 Alexander Larsson <alexl@redhat.com>
3015 * gio/glocalfileinfo.c:
3016 Add thumbnail:failed to file info
3018 2007-10-12 Richard Hult <richard@imendio.com>
3020 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3021 optimizing away the get_type call (happens with some gcc versions,
3022 like the one shipped with OS X 10.4).
3024 2007-10-12 Alexander Larsson <alexl@redhat.com>
3026 * gio/glocalfileinfo.c:
3027 (_g_local_file_info_set_attribute):
3028 Fix build if not HAVE_XATTR
3029 Patch from Milosz Derezynski <internalerror@gmail.com>
3031 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3033 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3034 around for review, otherwise I would have asked you before
3037 2007-10-11 Alexander Larsson <alexl@redhat.com>
3040 Add thumbnail:path attribute
3042 * gio/glocalfileinfo.c:
3043 Implement thumbnail:path for local files
3045 2007-10-11 Alexander Larsson <alexl@redhat.com>
3047 * gio/glocalfileinfo.c:
3048 (_g_local_file_info_get):
3049 Avoid duplicate icon names
3051 2007-10-11 Alexander Larsson <alexl@redhat.com>
3053 * gio/gthemedicon.[ch]:
3054 Change g_themed_icon_get_names return type to const
3056 2007-10-10 Alexander Larsson <alexl@redhat.com>
3058 * gio/glocalfileinfo.c:
3059 Don't reference freed memory
3061 2007-10-10 Alexander Larsson <alexl@redhat.com>
3063 * gio/gfileattribute.c:
3066 * gio/glocalfileinfo.c:
3069 2007-10-10 Alexander Larsson <alexl@redhat.com>
3072 Check for NULL icons
3074 * gio/gfileattribute.c:
3075 Don't dup when getting objects (same as for string attributes)
3077 * gio/gicon.c (g_icon_equal):
3078 Safely handle NULLs in equal
3080 2007-10-10 Alexander Larsson <alexl@redhat.com>
3083 Fix c++ compilation issues
3084 Patch from Milosz Derezynski <internalerror@gmail.com>
3086 2007-10-10 Alexander Larsson <alexl@redhat.com>
3088 * programs/gio-monitor-dir.c:
3089 Don't crash if dir monitor not supported.
3091 2007-10-09 Alexander Larsson <alexl@redhat.com>
3094 Add missing G_END_DECLS
3096 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3098 * gio/gfile.c: (g_file_set_display_name),
3099 (g_file_query_settable_attributes),
3100 (g_file_query_writable_namespaces):
3101 Return NULL not FALSE on errors as the return type is a pointer.
3103 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3105 * gio/glocalfile.c: (g_local_file_monitor_file):
3106 Don't call monitor_file on the default interface vtable (which
3107 is NULL) but simply return NULL. The caller, GFile, will create a
3108 polling monitor if NULL is returned.
3110 2007-10-09 Alexander Larsson <alexl@redhat.com>
3114 * gio-unix-2.0.pc.in:
3115 Add gio-unix-2.0.pc if OS_UNIX
3118 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3120 2007-10-09 Alexander Larsson <alexl@redhat.com>
3122 * gio/gunixmounts.[ch]:
3123 Make unix mount monitoring API sane.
3124 Now its just a object with mounts_changed
3125 and mountpoints_changed signals.
3127 * gio/glocaldirectorymonitor.c:
3128 * gio/gunixvolumemonitor.c:
3129 Use new mount monitor api
3131 2007-10-09 Alexander Larsson <alexl@redhat.com>
3133 * gio/gunixmounts.[ch]:
3134 Move guess type into one call for mounts and one for mountpoints
3137 * gio/gunixvolume.c:
3140 2007-10-09 Alexander Larsson <alexl@redhat.com>
3142 * gio/gunixmounts.[ch]:
3143 Remove _ prefix in preparation to make this semi-public
3144 Hide implementation of structs
3146 * gio/glocaldirectorymonitor.c:
3148 * gio/gunixvolume.c:
3149 * gio/gunixvolumemonitor.c:
3150 Update for above API changes
3152 2007-10-08 Alexander Larsson <alexl@redhat.com>
3155 Better polling fallback. This also handles the case where we have
3156 a monitor_file implementation, but it fails.
3158 2007-10-08 Alexander Larsson <alexl@redhat.com>
3162 * gio/gunixmounts.c:
3163 * programs/gio-monitor-dir.c:
3164 * programs/gio-monitor-file.c:
3165 Added cancellable to file monitoring calls.
3166 These are really sync calls and need this.
3168 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3170 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3171 (g_local_vfs_class_init):
3172 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3173 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3175 2007-10-05 Alexander Larsson <alexl@redhat.com>
3177 * gio/gdirectorymonitorprivate.h:
3178 * gio/gfilemonitorprivate.h:
3179 * gio/gdirectorymonitor.h:
3180 * gio/gfilemonitor.h:
3181 Remove *private.h and move to the public API, so that
3182 we can do implementations outside gio (such as in gvfs)
3184 * gio/gdirectorymonitor.c:
3185 * gio/gfilemonitor.c:
3186 * gio/glocaldirectorymonitor.c:
3187 * gio/gpollfilemonitor.c:
3188 * gio/inotify/inotify-helper.c:
3189 * gio/fam/fam-helper.c:
3190 Update to the new header names
3192 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3194 * gio/gdirectorymonitor.c:
3195 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3198 2007-10-04 Alexander Larsson <alexl@redhat.com>
3200 * gio/glocalfileinfo.c (get_access_rights):
3201 Set CAN_TRASH when we can move the file.
3202 We should really also check for a parent trash dir.
3204 2007-10-04 Alexander Larsson <alexl@redhat.com>
3206 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3207 Add can_trash access attribute
3209 2007-10-04 Alexander Larsson <alexl@redhat.com>
3212 (g_local_file_trash):
3213 Create info file first. This is per-spec and allows
3214 us to actually trash directories.
3216 2007-10-02 Alexander Larsson <alexl@redhat.com>
3218 * gio/gdesktopappinfo.c:
3219 Implement the new mime support code.
3220 Always set app as handling mimetype when being set as default for it
3222 2007-10-01 Alexander Larsson <alexl@redhat.com>
3224 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3225 Fix up check for xattrs:
3227 2007-10-01 Alexander Larsson <alexl@redhat.com>
3230 (g_app_info_set_as_default_for_extension):
3231 (g_app_info_add_supports_type):
3232 (g_app_info_can_remove_supports_type):
3233 (g_app_info_remove_supports_type):
3234 Make these fail nicely if not implemented
3236 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3238 * gio/glocalfileoutputstream.c:
3239 * gio/glocalfileoutputstream.h:
3244 * programs/gio-save.c:
3245 Add a GFileCreateFlags argument to operations that can create
3248 2007-10-01 Alexander Larsson <alexl@redhat.com>
3250 * gio/gappinfo.[ch]:
3251 * gio/gdesktopappinfo.c:
3252 Add more (stubbed out) mime API needed for nautilus
3254 2007-10-01 Alexander Larsson <alexl@redhat.com>
3257 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3258 Add g_app_info_set_as_default_for_extension.
3260 * gio/gdesktopappinfo.c:
3261 Dummy for g_app_info_set_as_default_for_extension
3262 Support flags in g_app_info_create_from_commandline
3264 * gio/gwin32appinfo.c:
3266 Update for API changes
3268 * gio/gthemedicon.c:
3269 Properly NULL-terminate list of icon names
3271 2007-09-28 Alexander Larsson <alexl@redhat.com>
3273 * gio/gloadableicon.h:
3274 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3276 2007-09-28 Alexander Larsson <alexl@redhat.com>
3279 Install headers in $includedir/gio-standalone/
3281 * gio-2.0.pc.in: Added.
3282 * gio-standalone.pc.in: Removed.
3285 Renamed pkg-config file to match glib (for future move)
3286 Update to the new include dir
3289 Add more TODO comments
3291 2007-09-28 Alexander Larsson <alexl@redhat.com>
3293 * gio/gdesktopappinfo.[ch]:
3294 Expose new_from_filename
3295 Add getter for is_hidden and handle it better
3297 2007-09-28 Alexander Larsson <alexl@redhat.com>
3299 * gio/gfileinfo.[ch]:
3300 Rename g_file_size_format_for_display to
3301 g_format_file_size_for_display.
3302 Now it doesn't have the g_file prefix, so we
3303 can later move it to glib.
3305 2007-09-28 Alexander Larsson <alexl@redhat.com>
3307 * gio/gappinfo.[ch]:
3308 Add g_app_info_get_id and g_app_info_get_executable.
3309 Make all getters non-reffing
3310 Make g_app_info_launch take GFile arguments.
3311 Add must_support_uris argument to g_app_info_get_default_for_type.
3313 * gio/gwin32appinfo.c:
3314 Update to GAppInfo api changes
3316 * gio/gdesktopappinfo.c:
3317 Update to GAppInfo api changes
3318 Implement supports_xdg_startup_notify
3320 * gio/gfileicon.c (g_file_icon_get_file):
3321 Make getter non-reffing.
3326 2007-09-27 Alexander Larsson <alexl@redhat.com>
3328 * gio/gfileinfo.[ch]:
3329 Add g_file_size_format_for_display helper
3331 2007-09-27 Alexander Larsson <alexl@redhat.com>
3333 * gio/glocalfileinfo.c:
3334 Set UNIX_GID from gid, not from uid
3336 2007-09-27 Alexander Larsson <alexl@redhat.com>
3339 Add g_file_set_attributes_async
3341 2007-09-27 Alexander Larsson <alexl@redhat.com>
3343 * gio/glocalfile.c (g_local_file_set_display_name):
3344 Fix set_display_name to actually rename to the right place.
3345 Use lstat to look for existing files so we don't overwrite
3348 2007-09-26 Alexander Larsson <alexl@redhat.com>
3351 Add g_file_set_display_name_async()
3353 2007-09-26 Alexander Larsson <alexl@redhat.com>
3356 Add load_partial_contents async calls
3359 Make internal function static
3361 2007-09-26 Alexander Larsson <alexl@redhat.com>
3363 * gio/glocalfileinfo.c:
3364 Correctly detect broken symlinks
3366 2007-09-26 Alexander Larsson <alexl@redhat.com>
3368 * gio/gcancellable.c (g_cancellable_cancel):
3369 Allow cancel on NULL cancellable
3371 2007-09-25 Alexander Larsson <alexl@redhat.com>
3373 * gio/gsimpleasyncresult.c:
3374 Don't allocate g_error manually.
3375 Fixes g_slice/g_new mixup crash
3377 2007-09-25 Alexander Larsson <alexl@redhat.com>
3379 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3380 Actually set active_backend.
3381 This means the monitor will be cancelled correctly.
3383 2007-09-25 Alexander Larsson <alexl@redhat.com>
3385 * gio/gdirectorymonitor.c:
3386 Set timeout to NULL when destroying
3388 2007-09-25 Alexander Larsson <alexl@redhat.com>
3391 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3392 that is a better description of the error.
3394 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3396 * gio/gvfs.c: (g_vfs_get_local):
3397 Make the local vfs variable static. The same instance should
3400 2007-09-24 Alexander Larsson <alexl@redhat.com>
3402 * gio/glocalfileinfo.c:
3403 Pass in actual length read into sniffer, not the length
3406 2007-09-21 Alexander Larsson <alexl@redhat.com>
3408 * gio/gfileenumerator.c:
3411 * gio/gfileinputstream.c:
3412 * gio/gfileoutputstream.c:
3413 * gio/ginputstream.c:
3414 * gio/goutputstream.c:
3415 Don't crash if async callbacks are NULL
3417 2007-09-20 Alexander Larsson <alexl@redhat.com>
3420 Add async enumerate_children method and default
3423 2007-09-20 Alexander Larsson <alexl@redhat.com>
3426 Add g_file_contains_file & g_file_get_relative_path, since they
3427 were needed for nautilus.
3428 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3433 Implement new methods
3435 2007-09-17 Alexander Larsson <alexl@redhat.com>
3438 * gio/gfileinputstream.[ch]:
3439 * gio/gfileoutputstream.[ch]:
3441 * gio/glocalfileenumerator.[ch]:
3442 * gio/glocalfileinfo.[ch]:
3443 * gio/glocalfileinputstream.c:
3444 * gio/glocalfileoutputstream.c:
3445 * gio/gpollfilemonitor.c:
3446 * programs/gio-copy.c:
3447 * programs/gio-info.c:
3448 * programs/gio-move.c:
3449 Rename get_file_info to query_info() to make it clearer
3450 that these are not simple getters, but do i/o.
3452 2007-09-17 Alexander Larsson <alexl@redhat.com>
3454 * gio/gdatainputstream.[ch]:
3455 * gio/test-streams.c:
3456 Use _read_XXX instead of _get_XXX for the i/o calls
3459 2007-09-17 Alexander Larsson <alexl@redhat.com>
3462 Added needed stuff to TODO comment
3464 2007-09-17 Alexander Larsson <alexl@redhat.com>
3466 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3467 Don't error out removing the backup copy if it doesn't
3470 2007-09-14 Alexander Larsson <alexl@redhat.com>
3472 * programs/Makefile.am:
3473 * programs/gvfs-*.c:
3475 Renamed apps from gvfs-xxx to gio-xxx.
3477 2007-09-14 Alexander Larsson <alexl@redhat.com>
3480 * gio/gfileoutputstream.[ch]:
3481 * gio/glocalfileoutputstream.c:
3482 * programs/gvfs-save.c:
3483 g_file_output_stream_get_etag doesn't do i/o, so remove
3484 cancellation and error.
3486 2007-09-14 Alexander Larsson <alexl@redhat.com>
3489 Add new_etag output to replace_contents functions
3491 2007-09-14 Alexander Larsson <alexl@redhat.com>
3493 * gio/gfileoutputstream.[ch]:
3494 Add async get_file_info and default implementation
3496 2007-09-14 Alexander Larsson <alexl@redhat.com>
3498 * gio/gfileinputstream.c:
3499 Implement fallback wrapper for async get_file_info
3501 2007-09-14 Alexander Larsson <alexl@redhat.com>
3504 Add etag out argument to load_contents
3509 2007-09-14 Alexander Larsson <alexl@redhat.com>
3511 * gio/gcontenttype.c (looks_like_text):
3512 Whitespace like tab, cr and lf do not make the
3515 2007-09-14 Alexander Larsson <alexl@redhat.com>
3517 * gio/gfileinputstream.[ch]:
3518 Add async get_file_info.
3520 2007-09-13 Alexander Larsson <alexl@redhat.com>
3522 * gio/goutputstream.c (g_output_stream_write_all):
3523 Allow NULL for bytes_written
3525 2007-09-13 Alexander Larsson <alexl@redhat.com>
3527 * gio/gmemoryinputstream.[ch]:
3528 Add accessors for data
3530 2007-09-13 Alexander Larsson <alexl@redhat.com>
3532 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3533 Don't crash if length is NULL