1 2008-02-11 Matthias Clasen <mclasen@redhat.com>
3 * gio.symbols: Add g_mount_mount_flags_get_type.
5 2008-02-11 Alexander Larsson <alexl@redhat.com>
8 (g_file_info_set_attribute_mask):
9 (g_file_attribute_matcher_matches_id):
10 Correctly handle NULL GAttributeMatcher meaning
11 matches nothing. (Fixes #513492)
13 2008-02-11 Alexander Larsson <alexl@redhat.com>
18 Added GMountMountFlags enum and added a flags
19 argument to all mount calls.
21 This is an API/ABI change for future extensibility,
22 as I think we will need at least an
23 inhibit-autorun flag (the panel needs this).
24 There are no flags defined yet though.
26 2008-02-11 Alexander Larsson <alexl@redhat.com>
29 Added new standard::description attribute.
30 Requested by Vincent, and useful for both
33 2008-02-11 Alexander Larsson <alexl@redhat.com>
38 2008-02-11 Matthias Clasen <mclasen@redhat.com>
40 * *.c: Documentation additions
42 2008-02-10 Matthias Clasen <mclasen@redhat.com>
44 * gappinfo.h: Formatting cleanup
45 * gappinfo.c: Fix up docs.
47 2008-02-09 Matthias Clasen <mclasen@redhat.com>
49 * gunixmounts.c: Consistently use getmntent_r() and fall
50 back to getmntent(). (#515492)
52 2008-02-09 Matthias Clasen <mclasen@redhat.com>
54 * gbufferedinputstream.c:
56 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
58 * tests/data-input-stream.c:
59 * tests/data-output-stream.c: Portability fixes.
61 2008-02-08 Alexander Larsson <alexl@redhat.com>
66 Add g_volume_should_automount.
69 2008-02-07 Tor Lillqvist <tml@novell.com>
71 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
72 Win32, too Unix-specific.
74 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
76 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
77 a local plt if the compiler doesn't support what we want. Bug #514702
79 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
81 reviewed by: <delete if not using a buddy>
85 * gunixoutputstream.c:
87 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
90 * tests/live-g-file.c:
91 * tests/live-g-file.txt:
92 New GIO testing module working over real data
94 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
96 * glocalfileoutputstream.c (g_local_file_output_stream_close):
97 Fallback to rename() if link() is not available
98 (when no support on target filesystem)
100 2008-02-06 Michael Natterer <mitch@imendio.com>
102 * gfileinfo.c (g_file_info_get_icon): replace
103 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
105 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
107 * gfile.c (g_file_create):
108 Documentation update of error codes
110 2008-02-06 Alexander Larsson <alexl@redhat.com>
113 Update to use both mimeapps.list and
114 defaults.list as discussed on xdg list.
116 2008-02-06 Benjamin Otte <otte@gnome.org>
119 * gfilenamecompleter.c:
120 Fix some typos in the documentation.
122 2008-02-06 Alexander Larsson <alexl@redhat.com>
124 * glocalfile.c (g_local_file_trash):
125 Don't succeed with trash if newly created
126 trash dir has the wrong owner. (#514696)
128 2008-02-05 Alexander Larsson <alexl@redhat.com>
130 * glocalfile.c (g_local_file_move):
131 Don't spew warnings when destination is not
134 2008-02-03 Hans Breuer <hans@breuer.org>
136 * makefile.msc : update
138 2008-02-01 Michael Natterer <mitch@imendio.com>
140 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
141 return value of xdg_mime_list_mime_parents() to a variable of the
144 2008-02-01 Alexander Larsson <alexl@redhat.com>
146 * gappinfo.c (g_app_info_launch_uris):
147 Actually call the launch_uris method, not
150 2008-02-01 Alexander Larsson <alexl@redhat.com>
152 * gdesktopappinfo.c (g_desktop_app_info_equal):
153 Ensure appinfos with no id but same pointer value
156 2008-02-01 Alexander Larsson <alexl@redhat.com>
158 * gappinfo.c (g_app_info_launch_default_for_uri):
161 2008-02-01 Alexander Larsson <alexl@redhat.com>
165 Add g_app_info_launch_default_for_uri utility
168 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
171 Doc fix for g_app_info_get_default_for_uri_scheme ()
174 2008-01-30 Alexander Larsson <alexl@redhat.com>
177 Add doc comment about uris vs GFiles to
181 Ensure uris passed to g_app_info_launch_uris()
182 are not roundtriped through GFile (as that
183 may be slightly destructive for e.g. mailto: links)
185 2008-01-30 Alexander Larsson <alexl@redhat.com>
187 * tests/data-input-stream.c:
188 * tests/data-output-stream.c:
189 C89 fixes from Jens Granseuer (#512849)
191 2008-01-30 Alexander Larsson <alexl@redhat.com>
194 Fix gamin/fam difference build issue. (#509419)
196 2008-01-29 Alexander Larsson <alexl@redhat.com>
200 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
202 2008-01-29 Alexander Larsson <alexl@redhat.com>
206 giomodule-priv.h include moved to .c file.
208 2008-01-29 Alexander Larsson <alexl@redhat.com>
210 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
211 Remove unused prio/name fields.
213 2008-01-29 Alexander Larsson <alexl@redhat.com>
215 * gcontenttype.c (looks_like_text):
216 Don't treat whitespace as control chars.
218 2008-01-29 Alexander Larsson <alexl@redhat.com>
221 Lazily create the desktop files for appinfos created
222 by g_app_info_create_from_commandline() when needed
223 for mime associations. This allows run-time use
224 of GAppInfo object without creating unnecessary
227 2008-01-29 Alexander Larsson <alexl@redhat.com>
230 Added new symbols to gio.symbols
232 2008-01-29 Alexander Larsson <alexl@redhat.com>
235 Add g_file_query_default_handler utility to easily look up
236 the GAppInfo that handles a file.
238 * gdesktopappinfo.[ch]:
240 Set up an extension point for g_app_info_get_default_for_uri_scheme()
243 Remove unused function
245 2008-01-29 Alexander Larsson <alexl@redhat.com>
248 Mention need to free returned value in
249 g_file_enumerator_next_files_finish docs.
250 Fix leak if g_file_enumerator_next_files_finish()
253 2008-01-29 Alexander Larsson <alexl@redhat.com>
256 (_g_unix_content_type_get_parents):
257 Use list_parents, not get_parents from xdgmime, because
258 the later doesn't use the cache.
260 * xdgmime/xdgmimecache.c:
261 (_xdg_mime_cache_list_mime_parents):
262 Don't list the same type as parent multiple times.
264 2008-01-28 Matthias Clasen <mclasen@redhat.com>
266 * === Released 2.15.4 ===
268 2008-01-28 Alexander Larsson <alexl@redhat.com>
271 Register local vfs with prio 0.
274 Remove old name and prio class members
276 2008-01-28 Matthias Clasen <mclasen@redhat.com>
278 * tests/g-file.c: Disable some tests that are failing in
279 the absence of a http backend.
281 2008-01-28 Alexander Larsson <alexl@redhat.com>
285 Add registration hooks for extension points.
286 Register the gio extension points.
288 * fam/gfamdirectorymonitor.c:
289 * fam/gfamfilemonitor.c:
290 * glocaldirectorymonitor.[ch]:
291 * glocalfilemonitor.[ch]:
292 * gnativevolumemonitor.h:
293 * gunionvolumemonitor.c:
294 * gunixvolumemonitor.c:
297 * inotify/ginotifydirectorymonitor.c:
298 * inotify/ginotifyfilemonitor.c:
299 Use the extension points registration instead
300 of g_type_children().
302 2008-01-28 Matthias Clasen <mclasen@redhat.com>
305 * gvolume.[hc]: Document new API.
307 * gfile.c (g_file_copy_async): Fix docs
309 2008-01-27 Matthias Clasen <mclasen@redhat.com>
311 * gbufferedinputstream.c:
313 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
316 2008-01-27 Matthias Clasen <mclasen@redhat.com>
318 * glocalfile.c: Avoid trivial differences in translatable strings.
320 2008-01-25 Matthias Clasen <mclasen@redhat.com>
322 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
323 build with gcc 3.4 (#509419)
325 2008-01-25 Matthias Clasen <mclasen@redhat.com>
327 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
328 (#509994, Murray Cumming)
330 2008-01-25 Matthias Clasen <mclasen@redhat.com>
332 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
333 * gioscheduler.c: Keep calling io jobs until they return FALSE;
334 this allows big jobs to be executed in chunks, instead of blocking
335 the main loop for a long time.
337 * gsimpleasyncresult.c:
338 * giofile.c: Adapt callers.
340 2008-01-25 Alexander Larsson <alexl@redhat.com>
343 Implement changes discussed on xdg list.
344 Now we can add supported mimetypes by just using defaults.list
345 We can also remove associations in defaults.list.
347 2008-01-25 Alexander Larsson <alexl@redhat.com>
350 Don't make local copy of desktop file
351 for mimetype changes if the file already
352 supports the new mimetype.
354 2008-01-25 Matthias Clasen <mclasen@redhat.com>
358 * gbufferedinputstream.c:
359 * glocalfile.c: String improvements. (#511966,
360 Theppitak Karoonboonyanan)
362 2008-01-24 Matthias Clasen <mclasen@redhat.com>
364 * gioscheduler.h: Expand docs a bit.
366 2008-01-24 Alexander Larsson <alexl@redhat.com>
369 Add g_drive_get_identifier and
370 g_drive_enumerate_identifiers
373 Add g_volume_get_identifier and
374 g_volume_enumerate_identifiers
380 Implement identifiers for unix backend
382 2008-01-24 Alexander Larsson <alexl@redhat.com>
387 Add g_file_copy_async() (#511580)
388 Based on patch from Carlos Garcia Campos
390 2008-01-23 Matthias Clasen <mclasen@redhat.com>
392 * gioscheduler.c: Some documentation additions.
394 2008-01-22 Alexander Larsson <alexl@redhat.com>
397 (g_desktop_app_info_new):
400 2008-01-22 Alexander Larsson <alexl@redhat.com>
403 (g_desktop_app_info_new_from_filename):
406 2008-01-22 Alexander Larsson <alexl@redhat.com>
408 * glocalfileinfo.c (get_thumbnail_attributes):
411 2008-01-22 Alexander Larsson <alexl@redhat.com>
414 (canonicalize_filename):
415 Canonicalize paths that start with more than
420 (test_g_file_new_for_path):
423 2008-01-22 Alexander Larsson <alexl@redhat.com>
426 Allow UTF-8 in file:// parse names.
429 * tests/data-input-stream.c:
430 * tests/data-output-stream.c:
431 * tests/g-file-info.c:
433 Added a bunch of tests from Tomas Bzatek
435 2008-01-21 Matthias Clasen <mclasen@redhat.com>
437 * === Released 2.15.3 ===
439 2008-01-21 Alexander Larsson <alexl@redhat.com>
441 * gfileinputstream.[ch]:
442 * gfileoutputstream.[ch]:
444 Remove duplicated GSeekable functions. (#509990)
445 Just use the g_seekable_xxx() calls instead.
447 2008-01-21 Matthias Clasen <mclasen@redhat.com>
450 * gvolumemanager.c: Whitespace cleanups.
452 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
453 Use the right mode when creating the file.
455 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
458 * gfileinputstream.c:
460 * goutputstream.c: Documentation: Fixed minor typos
461 and added more mentions of specific _finish() functions.
463 2008-01-21 Alexander Larsson <alexl@redhat.com>
465 * inotify/Makefile.am:
466 * inotify/inotify-helper.c:
467 * inotify/inotify-kernel.c:
468 * inotify/inotify-path.c:
469 * inotify/local_inotify.h: Removed.
470 * inotify/local_inotify_syscalls.h: Removed.
471 Removed the included copies of the inotify
472 headers. We now only use the <sys/inotify.h>
473 header which exists on modern systems.
474 This fixes problems on ARM and SH5 (#510448)
475 but is also generally much cleaner and future
476 safe. For instance, if other OSes add support
477 for inotify it should "just work".
479 2008-01-20 Matthias Clasen <mclasen@redhat.com>
481 * inotify/*.c: Coding style fixes.
482 * inotify/inotify-missing.c: Use g_timeout_add_seconds
483 for the 1/4 Hz timer.
485 2008-01-20 Matthias Clasen <mclasen@redhat.com>
489 * gmemoryinputstream.c:
490 * gmemoryoutputstream.c:
492 * gthemedicon.c: Documentation updates
494 2008-01-20 Murray Cumming <murrayc@murrayc.com>
496 * gfile.c: documentation: Fixed more minor
499 2008-01-18 Murray Cumming <murrayc@murrayc.com>
501 * gmount.c: (g_mount_remount): documentation:
502 Mention g_mount_remount_finish() instead of
503 g_mount_unmount_finish().
505 2008-01-18 Murray Cumming <murrayc@murrayc.com>
509 * gfile.c: Fixed some minor typos in the
512 2008-01-18 Murray Cumming <murrayc@murrayc.com>
514 * gio/gvolumemonitor.c:
515 (g_volume_monitor_get_connected_drives):
516 (g_volume_monitor_get_volumes):
517 (g_volume_monitor_get_mounts): Documentation:
518 Clarify the ownership of the regurn GLists.
520 2008-01-17 Alexander Larsson <alexl@redhat.com>
523 Add the async find_enclosing_mount version
524 to the header file too.
526 2008-01-17 Alexander Larsson <alexl@redhat.com>
529 Add async version of find_enclosing_mount
530 with default implementation.
532 2008-01-17 Alexander Larsson <alexl@redhat.com>
537 Allow calls to implementation of copy and write
538 even if the type of the file implementations is
539 different. This can be used to implement native
540 upload and download calls in a vfs.
544 Protect against the case where move is called
545 with one file not being local.
547 Make sure we call the progress callback once
548 in the native move operation so that the caller
549 knows how many bytes were copied.
551 2008-01-16 Murray Cumming <murrayc@murrayc.com>
554 * gdatainputstream.c:
556 * gfileoutputstream.c:
561 * gunixmounts.c: Corrected some typos in the documentation:
563 its -> it's (where appropriate).
565 2008-01-16 Alexander Larsson <alexl@redhat.com>
569 Add g_file_query_exists (#508771)
571 2008-01-15 Murray Cumming <murrayc@murrayc.com>
576 * gvolume.c: For async functions that have no non-async
577 version, document that the GAsyncReadyCallback may be NULL.
580 2008-01-15 Alexander Larsson <alexl@redhat.com>
582 * gmemoryinputstream.c:
583 * gmemoryoutputstream.c:
584 Don't do pointer arithmetic on void * (#508602)
585 Patch from Kazuki IWAMOTO
587 2008-01-14 Matthias Clasen <mclasen@redhat.com>
589 * === Released 2.15.2 ===
591 2008-01-14 Alexander Larsson <alexl@redhat.com>
593 * gfile.c (g_file_monitor_file):
594 Don't set error here, since we fallback to polling monitor.
596 2008-01-14 Alexander Larsson <alexl@redhat.com>
599 (g_file_monitor_directory):
600 (g_file_monitor_file):
601 Add GError to file monitor calls
603 * glocaldirectorymonitor.c:
604 * glocaldirectorymonitor.h:
606 * glocalfilemonitor.c:
607 * glocalfilemonitor.h:
609 Update for above change
611 2008-01-14 Alexander Larsson <alexl@redhat.com>
615 Handle root correctly in g_file_get_relative_path (#508719)
617 2008-01-14 Alexander Larsson <alexl@redhat.com>
620 Clean up docs and example for GAsyncResult (#508074)
622 2008-01-11 Murray Cumming <murrayc@murrayc.com>
624 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
625 and correct some spelling mistakes. Bug #508108.
627 2008-01-11 Matthias Clasen <mclasen@redhat.com>
629 * glocalfileinfo.c: Add a comment.
631 2008-01-10 Murray Cumming <murrayc@murrayc.com>
633 * gfileinfo.c: GFileInfo description: Mention
634 how to actually set attributes in a GFile and how to discover
635 which attributes are settable. Bug #508378.
637 2008-01-10 A. Walton <awalton@svn.gnome.org>
639 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
640 (g_app_info_get_default_for_type):
641 Check for NULL content types.
643 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
645 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
647 2008-01-09 Murray Cumming <murrayc@murrayc.com>
649 * gfile.c: *_async() functions: Several small corrections
650 to the documentation, mostly correcting copy/paste errors
651 and improving some sentences.
653 2008-01-09 Dan Winship <danw@gnome.org>
655 * glocalfile.c (get_unique_filename): x86_64 fix
657 2008-01-09 Alexander Larsson <alexl@redhat.com>
662 Add g_unix_mount_guess_should_display and use
663 for unix volume monitor backend.
664 This means we more or less show what the
665 gnome-vfs backend did.
666 Based on patch from Padraig O'Briain
668 2008-01-09 Alexander Larsson <alexl@redhat.com>
672 Add g_themed_icon_new_with_default_fallbacks
675 Use default fallbacks for icons
677 2008-01-09 Alexander Larsson <alexl@redhat.com>
680 * gmountoperation.[ch]:
681 Change the API a bit so that unhandled methods
682 get reported via the reply, rather than by
683 the signal emission return value. This is because
684 some handlers can't know this immediately without
685 doing I/O, and this is an async operation that
688 2008-01-09 Alexander Larsson <alexl@redhat.com>
691 * fam/gfamdirectorymonitor.c:
692 * fam/gfamfilemonitor.c:
693 Fix double free crash (#508224)
694 Patch from Joe Marcus Clarke
696 008-01-07 Matthias Clasen <mclasen@redhat.com>
698 * === Released 2.15.1 ===
700 2008-01-07 Alexander Larsson <alexl@redhat.com>
702 * gunixinputstream.c (g_unix_input_stream_skip_finish):
703 Fix warning (#507835)
705 2008-01-07 Alexander Larsson <alexl@redhat.com>
708 Pass --internal to glib-genmarshal
713 Use better types for signal arguments (#507822)
715 2008-01-07 Alexander Larsson <alexl@redhat.com>
718 Build test subdir after .
719 Remove gdirectorymonitor.[ch]
721 * gdirectorymonitor.[ch]:
725 Remove GDirectoryMonitor and make
726 GFileMonitor the baseclass for both file and
727 directory monitors. Lift the more generic
728 rate limiting code from GDirectoryMonitor
732 * fam/gfamdirectorymonitor.[ch]:
733 * inotify/ginotifydirectorymonitor.[ch]:
734 * inotify/inotify-helper.c:
735 * glocaldirectorymonitor.[ch]:
738 Update for the removed GDirectoryMonitor.
740 * gmemoryoutputstream.c:
741 Remove ununsed variable
743 2008-01-07 Alexander Larsson <alexl@redhat.com>
745 * gmemoryinputstream.c:
746 Translate error strings
749 * gmemoryoutputstream.[ch]:
750 New implementation that avoids using GByteArray
751 in implementation and API. (#506377)
753 2008-01-06 Matthias Clasen <mclasen@redhat.com>
755 * tests/*: Add a test for memory input streams.
757 * Makefile.am: Add tests to SUBDIRS.
759 2008-01-06 Matthias Clasen <mclasen@redhat.com>
761 * glocalfilemonitor.c:
762 * glocaldirectorymonitor.c: Mark property nicks and blurbs
765 2008-01-06 Matthias Clasen <mclasen@redhat.com>
767 * gdesktopappinfo.c: Fix a docs typo.
769 * gfileattribute.c: Add information about extended attributes
770 to the documentation. (#505058)
772 2008-01-04 Alexander Larsson <alexl@redhat.com>
776 Use the right type (uint) for the ask_password signal.
778 2008-01-04 Alexander Larsson <alexl@redhat.com>
783 Add g_app_info_supports_files()
784 Remove desktop arg from g_app_info_should_show().
786 * gdesktopappinfo.[ch]:
787 Implement g_app_info_supports_files() and new should_show()
788 Add g_desktop_app_info_set_desktop_env() to set the desktop
789 for should_show(). (This will be set by gtk+ later)
791 2008-01-04 Alexander Larsson <alexl@redhat.com>
794 * gmemoryinputstream.[ch]:
795 Improve API so that you can use multiple chunks
796 of memory and custom destroy functions. (#506374)
798 2008-01-03 Alexander Larsson <alexl@redhat.com>
801 Handle NULL attribute matchers safely, as we return this
802 for empty attribute matcher strings.
804 2008-01-03 Alexander Larsson <alexl@redhat.com>
806 * gunixmounts.c (g_unix_is_mount_path_system_internal):
807 Add /usr/local to list of internal mountpoints
809 2008-01-03 Alexander Larsson <alexl@redhat.com>
812 Check for HAVE_LCHOWN (#505887)
814 2008-01-03 Alexander Larsson <alexl@redhat.com>
818 Add define for selinux context attribute.
819 Fix missing : -> :: namespace separator change
820 Fix missing _ -> - name change for xattr-sys.
823 2008-01-03 Alexander Larsson <alexl@redhat.com>
826 Link to libglib and libgobject directly (#504879)
827 Patch from Sebastien Bacher
829 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
831 * gfile.c: Expanded the g_file_new_for_commandline_arg
832 description a bit, based on the code and the docs of the
833 other g_file_new_for_* functions.
835 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
837 * gfilemonitor.h: Fixed typo in docs.
839 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
841 Updates to GIO documentation. (#506395, Mikael Hermansson)
843 * gcontenttype.c: Describe memory management for return value of
844 g_content_types_get_registered(). Missing piece from #505815.
845 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
846 GVolume, GDrive, GMounts, which hopefully gives the user less
847 confusions when using this API. Following explainations from
848 Alexander Larsson on gtk-devel-list.
850 2007-12-30 Matthias Clasen <mclasen@redhat.com>
852 * gfileinfo.c: Expand the long description.
854 2007-12-30 Matthias Clasen <mclasen@redhat.com>
857 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
858 fix builds with --disable-visibility. (#500273, Christian Persch)
860 2007-12-30 Matthias Clasen <mclasen@redhat.com>
862 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
863 in the list of returned app infos.
865 2007-12-30 Matthias Clasen <mclasen@redhat.com>
867 * gappinfo.c: Fix a cross-reference
869 2007-12-30 Matthias Clasen <mclasen@redhat.com>
871 * gfileinputstream.c:
872 * gfileoutputstream.c:
878 * gfileinfo.c: Documentation updates.
880 2007-12-26 Matthias Clasen <mclasen@redhat.com>
882 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
885 2007-12-26 Matthias Clasen <mclasen@redhat.com>
887 * gcontenttype.c (g_content_types_get_registered): Don't return
888 freed memory (#505815, Mikael Hermansson)
890 2007-12-25 Paolo Borelli <pborelli@katamail.com>
892 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
893 used to detect statbuf->st_blocks. (#505042)
895 2007-12-24 Matthias Clasen <mclasen@redhat.com>
897 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
898 environment handling. (#504829, Cosimo Cecchi)
900 2007-12-22 Matthias Clasen <mclasen@redhat.com>
902 * gappinfo.c: Doc improvements
904 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
907 2007-12-20 Matthias Clasen <mclasen@redhat.com>
909 * === Released 2.15.0 ===
911 2007-12-20 Hans Breuer <hans@breuer.org>
913 * makefile.msc : don't build gdesktopappinfo.obj, it collides
914 with symbols gwin32appinfo.obj, added gmount.obj
915 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
917 2007-12-20 Alexander Larsson <alexl@redhat.com>
923 * gfilenamecompleter.c:
926 * gpollfilemonitor.c:
927 File attribute renames:
930 id::fs -> id::filesystem
932 2007-12-20 Alexander Larsson <alexl@redhat.com>
941 Add GMountUnmountFlags to all unmount and
943 Add g_mount_remount() call.
945 2007-12-20 Alexander Larsson <alexl@redhat.com>
947 * gvfs.c (get_default_vfs):
948 Fix unused variable warning
950 2007-12-19 Matthias Clasen <mclasen@redhat.com>
952 * pltcheck.sh: Update
954 2007-12-19 Matthias Clasen <mclasen@redhat.com>
956 * gunionvolumemonitor.c:
957 * gunixmount.c: Remove C99 comments
959 2007-12-19 Matthias Clasen <mclasen@redhat.com>
961 * gio.symbols: Add some missing symbols
963 2007-12-19 Alexander Larsson <alexl@redhat.com>
966 Make g_io_modules_load_all_in_directory not unuse
967 loaded modules so that users of it can do stuff
969 Init internal "module" types.
970 Initialize static prio and name for types so that
971 we don't have to load modules to get it.
973 * gnativevolumemonitor.h:
975 Move is_supported to parent class so that
976 non-native monitors can avoid being initialized
977 too. (For instance GDaemonVolumeMonitor if we're
978 not using GDaemonVfs.)
980 * glocaldirectorymonitor.[ch]:
981 * glocalfilemonitor.[ch]:
982 * gunionvolumemonitor.c:
983 * gunixvolumemonitor.c:
985 Find plugins using the static prio+name to
986 avoid unnecessarily loading the modules.
988 2007-12-19 Alexander Larsson <alexl@redhat.com>
993 2007-12-19 Alexander Larsson <alexl@redhat.com>
995 * gunionvolumemonitor.c:
996 Store the native type as GType, not class so that
997 we can unload it. But still avoid unnecessarily
1000 2007-12-19 David Zeuthen <davidz@redhat.com>
1002 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1003 add signals 'disconnected' and 'eject-button' on GDrive. Add
1004 signal 'removed' on GVolume and 'unmounted' on GMount.
1006 * gdrive.c: (g_drive_base_init):
1008 * gfile.c: (g_file_mount_mountable),
1009 (g_file_mount_enclosing_volume):
1012 * gmount.c: (g_mount_base_init):
1014 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1015 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1016 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1020 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1022 * *.c: Fix up includes in the section docs.
1024 2007-12-17 Alexander Larsson <alexl@redhat.com>
1026 * gnativevolumemonitor.h:
1027 * gunionvolumemonitor.c:
1028 * gunixvolumemonitor.c:
1029 Add is_supported() to GNativeVolumeMonitorClass so
1030 that we can avoid having to create an object to see
1031 if the backend is supported at runtime.
1032 Also add name member and an env var to pick a specific
1033 volume monitor backend.
1037 Add cancellable to _g_mount_get_for_mount_path()
1039 * glocaldirectorymonitor.c:
1040 * glocalfilemonitor.c:
1041 Avoid loading and unloading modules while sorting.
1043 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1046 * gunixmounts.[hc]: Namespace waste reduction, move some
1047 g_get_unix_mount functions to the g_unix_mount namespace.
1050 * gunixvolumemonitor.c:
1052 * glocaldirectorymonitor.c: Update all callers.
1054 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1056 2007-12-17 Alexander Larsson <alexl@redhat.com>
1059 Add doc comments about what GFile operations are
1060 guaranteed to not block.
1062 2007-12-17 Alexander Larsson <alexl@redhat.com>
1065 Add missing #ifdef fixing OSX build.
1066 (#503334, patch from Richard Hult)
1068 2007-12-14 David Zeuthen <davidz@redhat.com>
1072 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1073 (g_mount_eject), (g_mount_eject_finish):
1075 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1076 (get_volume_for_uuid), (get_mount_for_uuid),
1077 (g_union_volume_monitor_class_init),
1078 (get_default_native_type_with_exclude), (get_default_native_type),
1079 (get_native_type), (update_native_type),
1080 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1081 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1082 (g_unix_mount_can_eject), (eject_unmount_cb),
1083 (eject_unmount_read_error), (eject_unmount_do),
1084 (g_unix_mount_unmount), (g_unix_mount_eject),
1085 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1086 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1087 (g_unix_mount_point_guess_can_eject):
1089 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1090 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1091 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1092 (g_unix_volume_mount), (g_unix_volume_eject),
1093 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1094 * gunixvolumemonitor.c: (get_volume_for_uuid),
1095 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1097 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1098 (g_volume_eject), (g_volume_eject_finish):
1100 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1101 (g_volume_monitor_get_mount_for_uuid):
1104 Provide eject() on both GMount and GVolume and utility functions
1105 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1106 ejected. Introduce the concept of UUID's and wire it into GVolume
1107 and GMount and provide API on GVolumeMonitor to find such
1108 instances. Also handle the case where an external
1109 GNativeVolumeMonitor fails to initialize. Lock around the
1110 _g_get_mount_for_mount_path() function such that volume monitor
1111 implementations won't have to do locking themselves.
1113 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1115 * gdesktopappinfo.c:
1121 * gvolume.h: Documentation updates
1123 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1126 * gfile.h: Doc updates
1128 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1131 * gdesktopappinfo.c: Use hash table iterators.
1133 2007-12-14 Alexander Larsson <alexl@redhat.com>
1136 * gfileattribute.[ch]:
1137 * gfileattribute-priv.h:
1138 Move GFileAttributeValue to a private header, as
1142 Make set_attribute take a type + a pointer instead
1143 of a GFileAttributeValue.
1146 Fix up for above changes.
1147 Add g_file_info_get_attribute_data to get
1148 all info in one call, g_file_info_get_attribute_status
1149 to get the status and g_file_info_get_attribute_as_string.
1153 * glocalfileinfo.[ch]:
1157 Make _guess_type static.
1159 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1162 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1163 made mkenums and friends use temporary files to avoid leaving
1164 empty generated files on failure (#503470).
1166 2007-12-14 Alexander Larsson <alexl@redhat.com>
1168 * gmountoperation.h:
1171 2007-12-14 Alexander Larsson <alexl@redhat.com>
1175 * gfileattribute.[ch]:
1178 * glocalfileoutputstream.c:
1179 * gmountoperation.[ch]:
1180 * goutputstream.[ch]:
1181 Clean up all flags enums to not have _FLAGS in them
1182 Make the names of some of the enums better.
1187 2007-12-14 Michael Natterer <mitch@imendio.com>
1189 * gio.symbols: fix g_io_scheduler symbol names.
1191 2007-12-14 Alexander Larsson <alexl@redhat.com>
1197 * gbufferedinputstream.h:
1198 * gbufferedoutputstream.h:
1201 * gdatainputstream.h:
1202 * gdataoutputstream.h:
1203 * gdesktopappinfo.h:
1204 * gdirectorymonitor.h:
1208 * gfileenumerator.h:
1211 * gfileinputstream.h:
1213 * gfilenamecompleter.h:
1214 * gfileoutputstream.h:
1215 * gfilterinputstream.h:
1216 * gfilteroutputstream.h:
1224 * gmemoryinputstream.h:
1225 * gmemoryoutputstream.h:
1227 * gmountoperation.h:
1230 * gsimpleasyncresult.h:
1232 * gunixinputstream.h:
1234 * gunixoutputstream.h:
1238 * inotify/Makefile.am:
1239 Only allow including <gio/gio.h> from apps
1241 2007-12-14 Alexander Larsson <alexl@redhat.com>
1243 * gioscheduler.[ch]:
1244 * gsimpleasyncresult.c:
1245 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1246 Split out the send_to_mainloop call into two versions instead
1247 of having the block argument.
1249 2007-12-13 Alexander Larsson <alexl@redhat.com>
1251 * gcancellable.[ch]:
1253 * gbufferedinputstream.c:
1254 * gfileenumerator.c:
1255 * gfileinputstream.c:
1256 * gfileoutputstream.c:
1260 g_push/pop_current_cancellable ->
1261 g_cancellable_push/pop_current
1263 2007-12-13 Alexander Larsson <alexl@redhat.com>
1267 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1269 2007-12-13 Alexander Larsson <alexl@redhat.com>
1271 * gmountoperation.h:
1272 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1274 2007-12-12 Alexander Larsson <alexl@redhat.com>
1277 Fix race condition when freeing proxy in
1278 g_io_job_send_to_mainloop().
1280 2007-12-12 Alexander Larsson <alexl@redhat.com>
1286 Make attribute namespace separator "::" instead of ":".
1287 Use - instead of _ as separator in attribute names.
1289 2007-12-12 Alexander Larsson <alexl@redhat.com>
1291 * gbufferedinputstream.h:
1292 * gbufferedoutputstream.h:
1293 * gdatainputstream.h:
1294 * gdataoutputstream.h:
1295 * gdirectorymonitor.h:
1296 * gfileenumerator.h:
1297 * gfileinputstream.h:
1299 * gfileoutputstream.h:
1300 * gfilterinputstream.h:
1301 * gfilteroutputstream.h:
1303 * glocalfileinputstream.h:
1304 * glocalfileoutputstream.h:
1305 * gmemoryinputstream.h:
1306 * gmemoryoutputstream.h:
1307 * gnativevolumemonitor.h:
1309 * gunixinputstream.h:
1310 * gunixoutputstream.h:
1313 s/parent/parent_instance/ in GObjects
1315 2007-12-12 Alexander Larsson <alexl@redhat.com>
1320 No need for padding for interfaces
1322 2007-12-12 Alexander Larsson <alexl@redhat.com>
1326 * gbufferedinputstream.c:
1327 * gbufferedoutputstream.c:
1330 * gdatainputstream.[ch]:
1331 * gdesktopappinfo.c:
1332 * gdirectorymonitor.c:
1334 * gfileattribute.[ch]:
1337 * gfileinputstream.h:
1338 * gfilemonitor.[ch]:
1339 * gfileoutputstream.[ch]:
1340 * gfilterinputstream.h:
1341 * gfilteroutputstream.h:
1344 * gloadableicon.[ch]:
1345 * gmemoryinputstream.c:
1346 * gmountoperation.c:
1348 Fix up a bunch of details in the docs.
1353 2007-12-11 David Zeuthen <davidz@redhat.com>
1355 Rework how volumes, drives and volume monitoring is
1356 done. Previosly the model was
1358 GDrive <1-1> GVolume
1360 where a GDrive instance represented a mount point and a GVolume
1361 instance represented a mounted file system. This patch changes it
1364 GDrive <1-N> GVolume <1-1> GMount
1366 where GMount now serves the purpose of the old GVolume and the new
1367 GVolume serves the purpose of the old GDrive. In addition the new
1368 GDrive interface is used to represent a collection of GVolume
1369 instances (typically partitions) and also contains utility to query
1370 the state of the physical drive the GDrive object represents (such
1371 as checking for media, polling the drive, ejecting the media etc.).
1373 Also implement mounting and unmounting in the Unix volume monitor
1374 backend. A subquent patch will introduce GDrive support for ejection
1378 * gdrive.c: (g_drive_is_media_check_automatic),
1379 (g_drive_is_media_removable), (g_drive_has_media),
1380 (g_drive_can_poll_for_media), (g_drive_eject),
1381 (g_drive_eject_finish), (g_drive_poll_for_media),
1382 (g_drive_poll_for_media_finish):
1384 * gfile.c: (g_file_find_enclosing_mount):
1387 * glocaldirectorymonitor.c:
1388 (g_local_directory_monitor_constructor), (mounts_changed):
1389 * glocalfile.c: (get_mount_info),
1390 (g_local_file_find_enclosing_mount),
1391 (g_local_file_file_iface_init):
1392 * gnativevolumemonitor.h:
1393 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1394 (get_connected_drives), (g_union_volume_monitor_class_init),
1395 (child_volume_added), (child_volume_removed),
1396 (child_volume_changed), (child_mount_added), (child_mount_removed),
1397 (child_mount_pre_unmount), (child_mount_changed),
1398 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1399 (g_union_volume_monitor_remove_monitor),
1400 (_g_mount_get_for_mount_path):
1401 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1402 (guess_system_internal), (_g_get_unix_mounts),
1403 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1404 (g_unix_mount_free), (g_unix_mount_compare),
1405 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1406 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1407 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1408 (type_to_icon), (g_unix_mount_guess_name),
1409 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1410 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1411 (_resolve_symlink), (_resolve_dev_root):
1413 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1414 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1415 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1416 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1417 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1418 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1419 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1420 (g_unix_volume_volume_iface_init):
1422 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1423 (get_mounts), (get_volumes), (get_connected_drives),
1424 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1425 (mountpoints_changed), (mounts_changed),
1426 (g_unix_volume_monitor_init),
1427 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1428 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1429 * gunixvolumemonitor.h:
1430 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1431 (g_volume_mount), (g_volume_mount_finish):
1433 * gvolumemonitor.c: (g_volume_monitor_class_init),
1434 (g_volume_monitor_get_connected_drives),
1435 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1438 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1440 * gmountoperation.h (GPasswordFlags): Close the gap
1442 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1444 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1446 * gdesktopappinfo.[hc]: Remove _-prefixes
1448 2007-12-10 Tor Lillqvist <tml@novell.com>
1450 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1453 2007-12-10 Alexander Larsson <alexl@redhat.com>
1455 * gfile.c (g_file_set_display_name):
1456 Don't hardcode '/' (#502727)
1458 2007-12-09 Hans Breuer <hans@breuer.org>
1460 * makefile.msc : follow lib naming convention
1461 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1462 for user and group name, tested with ../tests/gio-ls
1464 2007-12-09 A. Walton <awalton@svn.gnome.org>
1466 * gdesktopappinfo.c:
1472 * gfileenumerator.c:
1477 * gmemoryinputstream.c:
1478 * gmemoryoutputstream.c:
1480 * gsimpleasyncresult.c:
1481 More documentation cleanup and filling in missing information, bringing
1482 GIO to 99% symbol coverage.
1484 2007-12-08 Hans Breuer <hans@breuer.org>
1486 [gio compiles and links on win32, not sure how much already works]
1487 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1488 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1489 base on win32 API; prefer g_lstat() over lstat(); instead of
1490 localtime_r() use an all GLib implementation on win32;
1491 get_mount_info() still needs a win32 specifc implementation
1492 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1493 win32_get_file_user_info to get owner/group info without uid/gid
1494 * glocalfileinputstream.c : include <io.h> on win32
1495 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1496 definition, use g_win32_ftruncate() for G_OS_WIN32
1497 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1498 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1499 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1500 * makefile.msc : updated
1502 2007-12-07 Alexander Larsson <alexl@redhat.com>
1504 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1505 Avoid warning spew if error == NULL
1507 2007-12-07 Alexander Larsson <alexl@redhat.com>
1510 Update docs wrt etags
1512 2007-12-06 Alexander Larsson <alexl@redhat.com>
1515 Include sys/types.h for dev_t (#501919)
1517 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1521 Make abicheck and pltcheck pass.
1523 2007-12-05 Alexander Larsson <alexl@redhat.com>
1526 * giomodule-priv.h: Added.
1527 * glocaldirectorymonitor.c:
1528 * glocalfilemonitor.c:
1529 * gunionvolumemonitor.c:
1531 Actually add the declaration of _g_io_modules_ensure_loaded
1533 2007-12-05 Alexander Larsson <alexl@redhat.com>
1535 * gdatainputstream.c:
1540 * glocaldirectorymonitor.c:
1541 * glocalfilemonitor.c:
1542 * gunionvolumemonitor.c:
1544 Make g_io_modules_ensure_loaded a private function and
1545 don't pass in the dirname. This means we can do magic
1546 directory finding in the win32 version.
1547 Export the actual load-modules-in-directory code so that
1548 gvfs can reuse that.
1550 2007-12-05 Alexander Larsson <alexl@redhat.com>
1552 * gbufferedinputstream.c:
1553 * gbufferedoutputstream.c:
1556 * gfileenumerator.[ch]:
1557 * gfileinputstream.c:
1558 * gfileoutputstream.[ch]:
1559 * gfilterinputstream.c:
1560 * gfilteroutputstream.c:
1561 * ginputstream.[ch]:
1563 * glocalfileenumerator.c:
1564 * glocalfileinputstream.c:
1565 * glocalfileoutputstream.c:
1566 * gmemoryinputstream.c:
1567 * gmemoryoutputstream.c:
1568 * goutputstream.[ch]:
1571 * gunixinputstream.c:
1572 * gunixoutputstream.c:
1573 Rename all struct members named:
1574 read, write, close, truncate, or mount
1575 to foo_fn, as these are reserved names
1576 and could be defined as macros in libc.
1579 2007-12-04 Alexander Larsson <alexl@redhat.com>
1582 (g_output_stream_close):
1583 Only call flush if non-null.
1585 2007-11-30 Dan Winship <danw@gnome.org>
1587 * ginputstream.c (g_input_stream_set_pending): Make this take a
1588 GError and return a gboolean, and do the "outstanding operation"
1589 check (and the "stream is already closed" check) itself.
1590 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1592 * goutputstream.c (g_output_stream_set_pending)
1593 (g_output_stream_clear_pending): Likewise
1595 * gbufferedinputstream.c:
1596 * gfileinputstream.c:
1597 * gfileoutputstream.c: Update for that
1599 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1600 Like g_simple_async_report_error_in_idle, but takes a GError
1601 rather than building one.
1603 2007-11-30 Dan Winship <danw@gnome.org>
1605 * goutputstream.c: Don't cheat and unset the "pending" flag around
1606 inner calls. Instead, call the class method directly rather than
1607 the wrapper function that checks "pending"
1609 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1611 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1613 2007-12-03 Hans Breuer <hans@breuer.org>
1615 [start of port to win32/msvc]
1616 * gcancellable.c : HAVE_UNIST_H and _pipe()
1617 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1618 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1619 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1621 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1622 * glocalvfs.c : use HAVE_PWD_H
1623 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1624 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1625 * Makefile.am : added to EXTRA_DIST
1627 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1629 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1632 2007-12-03 Alexander Larsson <alexl@redhat.com>
1635 Handle OSX style xattrs API (#500506)
1637 2007-12-03 Alexander Larsson <alexl@redhat.com>
1641 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1643 2007-12-02 A. Walton <awalton@svn.gnome.org>
1647 Documentation accuracy fixes.
1649 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1651 * gioenumtypes.c.template: Fix typo.
1653 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1655 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1657 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1659 * gdirectorymonitor.c:
1660 * gfilemonitor.c: Add properties
1662 * gbufferedoutputstream.c: Don't mark buffer-size property
1665 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1667 * gbufferedoutputstream.c: Add auto-grow property.
1669 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1671 * *.c: Unify the capitalization of section headings.
1673 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1675 * gmountoperation.c: Add properties
1677 * gdatainputstream.c: Turn byte-order and newline-type into
1680 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1682 * gioenumtypes.[hc].template: Templates for enum registration
1684 * Makefile.am: Generate gioenumtypes.[hc]
1686 * gio.h: Include gioenumtypes.h
1688 * gfile.h: Add some explicit nicks.
1690 * gio.symbols: Add new symbols
1692 * pltcheck.sh: Adjust
1694 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1696 * *.c: Explain etags and link to the explanation
1698 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1700 * *.c: Explain I/O priority.
1702 * *.c: More coding style fixes.
1704 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1706 * gasyncresult.c: Add another paragraph to the intro,
1707 adjust coding style of example.
1709 2007-11-29 A. Walton <awalton@svn.gnome.org>
1712 Fixes unknown meaning in GAppLaunchContext docs.
1714 Clarify asynchronous ops.
1716 Fix entity tag docs.
1719 Provides missing gtk-doc section, fixes API docs slighly.
1720 * gsimpleasyncresult.c:
1721 Fill in missing info in docs.
1722 * gunixinputstream.c:
1723 * gunixoutputstream.c:
1724 Be more expressive in short description.
1726 Remove gtk-doc stubs for non-public API.
1728 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1730 * *.c: Coding style fixups
1732 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1734 * inotify/inotify-helper.c: Don't export the lock from libgio.
1736 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1739 * abicheck.sh: Fix copy-and-paste leftovers
1741 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1743 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1745 2007-11-28 Alexander Larsson <alexl@redhat.com>
1749 Removed unnecessary file
1751 * gdesktopappinfo.[ch]:
1754 * glocaldirectorymonitor.[ch]:
1756 * glocalfileenumerator.[ch]:
1757 * glocalfileinputstream.[ch]:
1758 * glocalfilemonitor.[ch]:
1759 * glocalfileoutputstream.[ch]:
1761 * gnativevolumemonitor.c:
1762 * gpollfilemonitor.[ch]:
1763 * gunionvolumemonitor.[ch]:
1766 * gunixvolumemonitor.[ch]:
1769 * inotify/ginotifydirectorymonitor.[ch]:
1770 * inotify/ginotifyfilemonitor.[ch]:
1771 * inotify/inotify-helper.c:
1772 Append _ to all internal functions
1776 Export symbols needed for modules
1778 2007-11-28 Alexander Larsson <alexl@redhat.com>
1781 * abicheck.sh: Added.
1782 * makegioalias.pl: Added.
1783 * pltcheck.sh: Added.
1784 * gio.symbols: Added.
1787 Initial work on adding symbol handling.
1790 Correct ifdef guard name
1793 * inotify/Makefile.am:
1794 * xdgmime/Makefile.am:
1795 Include toplevel Makefile.decl
1797 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1799 * gcontenttype.c: Move doc comments to the unix section.
1801 * *.[hc]: More trivial doc corrections.
1803 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1805 * gpollfilemonitor.c:
1809 * gdesktopappinfo.c:
1814 * gdatainputstream.c:
1815 * gdatainputstream.h:
1816 * gdataoutputstream.c:
1817 * gdataoutputstream.h:
1818 * gfileinfo.h: Doc cleanups
1820 2007-11-28 Andre Klapper <a9016009@gmx.de>
1822 * gdesktopappinfo.c: Fix a typo.
1824 2007-11-27 Andre Klapper <a9016009@gmx.de>
1826 * glocalfileoutputstream.c: Fix a typo.
1828 2007-11-27 Alexander Larsson <alexl@redhat.com>
1831 Don't include removed headers
1833 2007-11-27 Alexander Larsson <alexl@redhat.com>
1836 * gsocketinputstream.[ch]: Removed.
1837 * gsocketoutputstream.[ch]: Removed.
1838 * gunixinputstream.[ch]: Added.
1839 * gunixoutputstream.[ch]: Added.
1840 Renamed GSocket*Stream to GUnix*Stream and made
1841 it unix-only, since its not really only for sockets
1842 and it only works on unix (but is highly useful there).
1844 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1850 * gbufferedinputstream.c:
1851 * gbufferedinputstream.h:
1852 * gbufferedoutputstream.c:
1853 * gbufferedoutputstream.h:
1857 * gdatainputstream.c:
1858 * gdatainputstream.h:
1859 * gdataoutputstream.c:
1860 * gdataoutputstream.h:
1861 * gdirectorymonitor.c:
1862 * gdirectorymonitor.h:
1869 * gfileenumerator.c:
1870 * gfileenumerator.h:
1875 * gfileinputstream.c:
1876 * gfileinputstream.h:
1879 * gfilenamecompleter.c:
1880 * gfilenamecompleter.h:
1881 * gfileoutputstream.c:
1882 * gfileoutputstream.h:
1883 * gfilterinputstream.c:
1884 * gfilterinputstream.h:
1885 * gfilteroutputstream.c:
1886 * gfilteroutputstream.h:
1899 * glocalfileoutputstream.c:
1900 * gmemoryinputstream.c:
1901 * gmemoryinputstream.h:
1902 * gmemoryoutputstream.c:
1903 * gmemoryoutputstream.h:
1904 * gmountoperation.c:
1905 * gmountoperation.h:
1908 * gpollfilemonitor.c:
1911 * gsimpleasyncresult.c:
1912 * gsimpleasyncresult.h:
1913 * gsocketinputstream.c:
1914 * gsocketinputstream.h:
1915 * gsocketoutputstream.c:
1916 * gsocketoutputstream.h:
1923 * gunixvolumemonitor.c:
1932 Bumps documentation to 93% symbol coverage, touching most
1933 of the public files. Fixes broken function documentation prototypes.
1934 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1935 gtk-doc headers in private files.
1937 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1939 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1940 (g_buffered_input_stream_read_byte):
1941 * gbufferedinputstream.h:
1942 New functions for efficient access to buffer and simple single byte
1945 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1946 (g_data_input_stream_read_until):
1947 * gdatainputstream.h:
1948 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1949 read_until with multiple stop chars.
1951 2007-11-27 Alexander Larsson <alexl@redhat.com>
1955 * inotify/Makefile.am:
1956 Use the user-specified giomoduledir
1958 2007-11-27 Alexander Larsson <alexl@redhat.com>
1962 Add catch-all gio.h header
1963 Don't install gdummyfile.h
1965 2007-11-26 Alexander Larsson <alexl@redhat.com>
1967 * Makefile.am (gioinclude_HEADERS):
1968 Remove trailing whitespace
1970 2007-11-26 Alexander Larsson <alexl@redhat.com>
1972 Merge gio-standalone into glib
1974 2007-11-25 Christian Kellner <gicmo@gnome.org>
1976 * gio/goutputstream.c:
1977 Fix small mistake in the docs.
1979 2007-11-21 Christian Persch <chpe@gnome.org>
1981 * gio/glocalfile.c: (g_local_file_trash):
1982 Convert filenames to UTF-8 for GError.
1983 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1984 as per xdg base dir spec.
1986 2007-11-21 Christian Persch <chpe@gnome.org>
1988 * gio/gdesktopappinfo.c:
1989 Use that g_key_file_to_data cannot fail.
1991 Use stock defines for the key file group and key names.
1994 2007-11-21 Alexander Larsson <alexl@redhat.com>
1997 (copy_stream_with_progress):
1998 Make sure we do a final progress callback with
1999 the full total size.
2001 2007-11-21 Alexander Larsson <alexl@redhat.com>
2004 Export g_file_copy_attributes
2005 Remove padding as its not needed for interfaces
2007 2007-11-20 Alexander Larsson <alexl@redhat.com>
2012 Add G_IO_ERROR_WOULD_MERGE for
2013 copy/move dir on dir with overwrite.
2015 2007-11-20 Alexander Larsson <alexl@redhat.com>
2018 * gio/glocalfileinfo.c:
2019 Add COPY_NAME (this is an optional
2020 non-modified utf8 version of the name) that
2023 2007-11-20 Alexander Larsson <alexl@redhat.com>
2025 * gio/glocalfileenumerator.c:
2026 Report errors as GIOError, not GFileError
2028 2007-11-16 Alexander Larsson <alexl@redhat.com>
2030 * gio/glocalfileoutputstream.c:
2031 * gio/gwin32appinfo.c:
2032 Fix typos in strings.
2033 Patch from Luca Ferretti <elle.uca@libero.it>
2035 2007-11-15 Alexander Larsson <alexl@redhat.com>
2038 Post release version bump
2040 === gio-standalone 0.1.2 ===
2042 2007-11-15 Alexander Larsson <alexl@redhat.com>
2044 * docs/reference/gio/Makefile.am:
2045 Fix up distcheck by removing weird
2051 2007-11-14 Alexander Larsson <alexl@redhat.com>
2053 * gio/gdesktopappinfo.c:
2054 * gio/glocaldirectorymonitor.c:
2056 * gio/glocalfileinfo.c:
2057 * gio/inotify/inotify-sub.c:
2058 * programs/gio-cat.c:
2059 * programs/gio-copy.c:
2060 * programs/gio-info.c:
2061 * programs/gio-ls.c:
2062 * programs/gio-monitor-dir.c:
2063 * programs/gio-monitor-file.c:
2064 * programs/gio-mount.c:
2065 * programs/gio-move.c:
2066 * programs/gio-rm.c:
2067 * programs/gio-save.c:
2068 * programs/gio-trash.c:
2069 Leak fixes from Kjartan Maraas
2071 2007-11-14 Alexander Larsson <alexl@redhat.com>
2073 * gio/fam/fam-helper.c:
2075 * gio/glocalfileinfo.c:
2079 * gio/inotify/inotify-diag.c:
2080 * gio/inotify/inotify-kernel.c:
2081 Various code cleanups from Kjartan Maraas
2083 2007-11-14 Alexander Larsson <alexl@redhat.com>
2085 * gio/gioscheduler.c:
2087 Set up threadpool so that we cache 2 unused
2088 idle threads for at 15 secs. This means we
2089 will reuse thread-local data (like dbus connections)
2092 2007-11-14 Alexander Larsson <alexl@redhat.com>
2094 * gio/fam/fam-helper.c:
2095 * gio/fam/gfamdirectorymonitor.c:
2096 * gio/fam/gfamfilemonitor.c:
2098 * gio/gcontenttype.c:
2099 * gio/gdatainputstream.c:
2100 * gio/gdataoutputstream.c:
2104 * gio/gfileattribute.h:
2105 * gio/gfileenumerator.c:
2107 * gio/ginputstream.c:
2110 * gio/glocalfileinfo.c:
2111 * gio/goutputstream.c:
2112 * gio/gpollfilemonitor.c:
2113 * gio/gsimpleasyncresult.c:
2114 * gio/gunixmounts.c:
2115 * gio/gunixmounts.h:
2116 * gio/inotify/ginotifydirectorymonitor.c:
2117 * gio/inotify/ginotifyfilemonitor.c:
2118 * gio/inotify/inotify-diag.c:
2119 * gio/inotify/inotify-kernel.c:
2120 * gio/inotify/inotify-path.c:
2122 * gio/test-streams.c:
2123 * programs/gio-info.c:
2124 * programs/gio-monitor-dir.c:
2125 * programs/gio-monitor-file.c:
2126 Various code cleanups from Kjartan Maraas
2128 2007-11-13 Alexander Larsson <alexl@redhat.com>
2131 Handle the uri-scheme calls for dummy files
2133 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2135 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2136 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2137 to avoid clash with the C++ keyword.
2139 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2141 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2142 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2144 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2146 * gio/glocaldirectorymonitor.c:
2147 * gio/glocalfilemonitor.c:
2148 * gio/gunionvolumemonitor.c:
2149 Don't use g_once_init_*() for initializations that could fail and
2150 could leave the initialization variable set to 0 but use GOnce.
2151 This prevents a deadlock on the second call when trying to create
2152 a monitor and no monitor type is available. Thanks to Sven Herzberg
2155 2007-11-11 Sven Herzberg <sven@imendio.com>
2157 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2158 #ifdef (make it work on MacOS X again)
2160 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2162 Fixes Changelog for last two commits (sorry guys).
2164 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2166 * gio/gbufferedinputstream.c:
2167 * gio/gdatainputstream.c:
2169 * gio/gfileoutputstream.c:
2170 * gio/gfilterinputstream.c:
2171 * gio/glocalfileinputstream.c:
2174 More consistency fixes in g*stream.c files.
2175 Significant clean of gfile's documentation, filling in of
2176 asynchronous operations documentation.
2178 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2180 * gio/gasyncresult.c:
2181 * gio/gbufferedinputstream.c:
2182 * gio/gbufferedoutputstream.c:
2183 * gio/gcancellable.c:
2184 * gio/gcontenttype.c:
2185 * gio/gdatainputstream.c:
2186 * gio/gdataoutputstream.c:
2187 * gio/gdesktopappinfo.c:
2190 * gio/gfileattribute.c:
2191 * gio/gio/gfileenumerator.c:
2193 * gio/gfileinputstream.c:
2194 * gio/gfilemonitor.c:
2195 * gio/gfileoutputstream.c:
2196 * gio/ginputstream.c:
2198 * gio/gioscheduler.c:
2199 * gio/gloadableicon.c:
2200 * gio/glocalfileoutputstream.c:
2201 * gio/gmemoryoutputstream.c:
2202 * gio/gmountoperation.c:
2203 * gio/goutputstream.c:
2205 * gio/gsimpleasyncresult.c:
2206 * gio/gunionvolumemonitor.c:
2207 * gio/gunixmounts.c:
2208 * gio/gunixvolume.c:
2212 * gio/gvolumemonitor.c:
2213 Updated documentation stubs, working towards consistency and
2216 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2218 * gio/gmemoryoutputstream.c:
2219 * gio/gmemoryoutputstream.h:
2220 Change g_memory_output_stream_set_free_on_close() to
2221 g_memory_output_stream_set_free_data() as this makes more sense and
2222 is more consistent with GMemoryInputStream.
2224 2007-11-07 Alexander Larsson <alexl@redhat.com>
2231 Change how we find the default vfs so that
2232 we can handle a gvfs failing to init
2234 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2236 * gio/gbufferedoutputstream.c:
2237 * gio/gdatainputstream.c:
2238 * gio/gdataoutputstream.c:
2239 * gio/gfileinputstream.c:
2240 * gio/gfileoutputstream.c:
2241 * gio/gfilterinputstream.c:
2242 * gio/gfilteroutputstream.c:
2243 * gio/ginputstream.c:
2244 * gio/gmemoryinputstream.c:
2245 * gio/gmemoryoutputstream.c:
2246 * gio/goutputstream.c:
2247 * gio/gsimpleasyncresult.c:
2248 * gio/gsocketinputstream.c:
2249 * gio/gsocketoutputstream.c:
2250 Add guards to the remaining public functions, add a TODO for
2251 an unimplemented function and remove some useless guards.
2253 2007-11-07 Alexander Larsson <alexl@redhat.com>
2256 Autoconf checks for the various types of
2257 getpwuid_r and getgrgid_r
2259 * gio/glocalfileinfo.c:
2260 Use the autoconf checks from above
2262 2007-11-07 Alexander Larsson <alexl@redhat.com>
2265 (g_local_file_query_filesystem_info):
2266 Some fixes for the statvfs case
2268 2007-11-07 Alexander Larsson <alexl@redhat.com>
2271 (g_local_file_query_filesystem_info):
2272 Pick the "best" of statfs / statvfs for the system
2273 if both are availible.
2275 2007-11-07 Alexander Larsson <alexl@redhat.com>
2277 Solaris fixes from Halton.Huo@Sun.COM:
2284 * gio/glocalfileinfo.c:
2285 Fix for solaris definition of getpwuid_r
2287 * gio/test-streams.c:
2288 Use G_GNUC_PRETTY_FUNCTION
2290 2007-11-07 Alexander Larsson <alexl@redhat.com>
2292 * gio/gdesktopappinfo.c:
2293 (update_default_list):
2294 Remove double semicolon.
2295 Patch from Jens Granseuer
2297 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2299 * docs/reference/gio/gio-sections.txt:
2300 * gio/gbufferedinputstream.c:
2301 * gio/gbufferedinputstream.h:
2302 * gio/gdatainputstream.c:
2303 * gio/gfileenumerator.c:
2304 * gio/gioscheduler.c:
2305 * gio/gunionvolumemonitor.c:
2307 * programs/gio-save.c:
2308 Fix typo: availible -> available. Unfortuntely this breaks API
2309 and ABI as g_buffered_input_stream_get_available() was renamed.
2311 * gio/gunixmounts.c:
2312 * gio/gbufferedinputstream.c:
2313 Add guards for public functions.
2315 2007-11-06 Ross Burton <ross@openedhand.com>
2317 * docs/reference/gio/Makefile.am:
2318 Fix invalid += usage which automake 1.10 doesn't like.
2320 2007-11-06 Alexander Larsson <alexl@redhat.com>
2323 (g_app_launch_context_class_init):
2326 Patch from Ross Burton
2328 2007-11-06 Alexander Larsson <alexl@redhat.com>
2331 Post release version bump
2333 === gio-standalone 0.1.1 ===
2335 2007-11-06 Alexander Larsson <alexl@redhat.com>
2338 Bump version to 0.1.1
2340 * gio/gsimpleasyncresult.c:
2341 (g_simple_async_result_set_from_error):
2342 Remove bogus g_return_if_fail
2344 2007-11-06 Alexander Larsson <alexl@redhat.com>
2347 The name is gio-standalone
2350 Add top src/builddir to includedir
2352 2007-11-06 Alexander Larsson <alexl@redhat.com>
2354 * docs/reference/gio/gio-sections.txt:
2356 * gio/gbufferedinputstream.c:
2357 * gio/gbufferedoutputstream.c:
2358 * gio/gcancellable.c:
2359 * gio/gdatainputstream.h:
2360 * gio/gdataoutputstream.c:
2361 * gio/gdataoutputstream.h:
2362 * gio/gdirectorymonitor.c:
2364 * gio/gfileattribute.c:
2365 * gio/gfileattribute.h:
2366 * gio/gfileenumerator.c:
2367 * gio/gfileenumerator.h:
2370 * gio/gfileinputstream.h:
2371 * gio/gfilemonitor.c:
2372 * gio/gfileoutputstream.h:
2373 * gio/glocalfilemonitor.h:
2374 * gio/glocalfileoutputstream.h:
2375 * gio/gmemoryinputstream.c:
2376 * gio/gmemoryoutputstream.c:
2377 * gio/gmountoperation.c:
2378 * gio/goutputstream.c:
2379 * gio/goutputstream.h:
2381 * gio/gsimpleasyncresult.c:
2382 * gio/gunixmounts.c:
2383 * gio/gunixmounts.h:
2385 * gio/inotify/inotify-helper.c:
2386 Fix gtk-doc warnings
2388 Patch from Ross Burton
2390 2007-11-06 Alexander Larsson <alexl@redhat.com>
2392 * gio/gfilenamecompleter.c:
2393 (g_filename_completer_get_completions):
2396 * gio/gunixvolume.c:
2397 Remove unused function
2399 Patches from Ross Burton
2401 2007-11-06 Alexander Larsson <alexl@redhat.com>
2406 Padding not needed for interfaces
2408 2007-11-06 Alexander Larsson <alexl@redhat.com>
2410 * gio/gfilemonitor.c:
2414 Make giotypes.h an internal file
2417 * gio/gbufferedinputstream.h:
2418 * gio/gbufferedoutputstream.h:
2419 * gio/gcancellable.h:
2420 * gio/gdatainputstream.h:
2421 * gio/gdataoutputstream.h:
2422 * gio/gdirectorymonitor.c:
2423 * gio/gdirectorymonitor.h:
2428 * gio/gfileattribute.h:
2429 * gio/gfileenumerator.h:
2434 * gio/gfilemonitor.c:
2435 * gio/gfilemonitor.h:
2436 * gio/gfilenamecompleter.c:
2437 * gio/gfilenamecompleter.h:
2438 * gio/gfilterinputstream.h:
2439 * gio/gfilteroutputstream.h:
2440 * gio/ginputstream.h:
2441 * gio/gmemoryinputstream.h:
2442 * gio/gmemoryoutputstream.h:
2443 * gio/gmountoperation.c:
2444 * gio/gmountoperation.h:
2445 * gio/gnativevolumemonitor.c:
2446 * gio/goutputstream.h:
2449 * gio/gsimpleasyncresult.c:
2450 * gio/gsimpleasyncresult.h:
2451 * gio/gsocketinputstream.h:
2452 * gio/gsocketoutputstream.h:
2453 * gio/gthemedicon.c:
2454 * gio/gthemedicon.h:
2458 * gio/gvolumemonitor.c:
2459 * gio/gvolumemonitor.h:
2460 Add padding in classes where it seems useful
2461 Don't include giotypes.h from public headers
2462 Move in Class definitions into c file where possible
2467 2007-11-06 Alexander Larsson <alexl@redhat.com>
2469 * docs/reference/gio/gio-docs.xml:
2470 Better structure for API docs
2472 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2475 * gio/gloadableicon.c:
2476 * gio/gsimpleasyncresult.c:
2477 * gio/gthemedicon.c:
2478 Add some more guards to public functions. Only files missing are now
2481 2007-11-06 Alexander Larsson <alexl@redhat.com>
2483 * docs/reference/gio/gio-docs.xml:
2484 Remove old files, add missing ones
2486 2007-11-06 Alexander Larsson <alexl@redhat.com>
2488 * docs/reference/gio/gio-sections.txt:
2491 Hide implementation classes
2493 * gio/gdriveprivate.h:
2494 * gio/gvolumeprivate.h:
2495 Remove non-existing function declarations
2497 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2500 Fix compilation warnings and add guards to the new functions.
2502 * gio/gasyncresult.c:
2504 Add guards to the public functions.
2507 Implement get_path().
2509 2007-11-06 Alexander Larsson <alexl@redhat.com>
2511 * gio/gfilenamecompleter.c:
2512 Make g_filename_completer_get_completions
2513 return char ** instead of GList for
2516 * docs/reference/gio/gio-docs.xml:
2517 * docs/reference/gio/gio-sections.txt:
2519 * gio/gasyncresult.c:
2520 * gio/gbufferedinputstream.c:
2521 * gio/gbufferedoutputstream.c:
2522 * gio/gcancellable.c:
2523 * gio/gcontenttype.c:
2524 * gio/gdatainputstream.c:
2525 * gio/gdataoutputstream.c:
2526 * gio/gdesktopappinfo.c:
2527 * gio/gdirectorymonitor.c:
2531 * gio/gfileattribute.c:
2532 * gio/gfileenumerator.c:
2535 * gio/gfileinputstream.c:
2536 * gio/gfilemonitor.c:
2537 * gio/gfilenamecompleter.c:
2538 * gio/gfilenamecompleter.h:
2539 * gio/gfileoutputstream.c:
2540 * gio/gfilterinputstream.c:
2542 * gio/ginputstream.c:
2544 * gio/gioscheduler.c:
2545 * gio/gloadableicon.c:
2546 * gio/glocaldirectorymonitor.c:
2548 * gio/glocalfileinputstream.c:
2549 * gio/glocalfilemonitor.c:
2550 * gio/glocalfileoutputstream.c:
2552 * gio/gmemoryinputstream.c:
2553 * gio/gmemoryoutputstream.c:
2554 * gio/gmountoperation.c:
2555 * gio/goutputstream.c:
2556 * gio/gpollfilemonitor.c:
2558 * gio/gsimpleasyncresult.c:
2559 * gio/gsocketinputstream.c:
2560 * gio/gsocketoutputstream.c:
2561 * gio/gthemedicon.c:
2562 * gio/gunionvolumemonitor.c:
2564 * gio/gunixmounts.c:
2565 * gio/gunixvolume.c:
2566 * gio/gunixvolumemonitor.c:
2570 * gio/gvolumemonitor.c:
2571 * gio/gwin32appinfo.c:
2572 Add (mostly stub) doc strings to public functions.
2573 Patch from Andrew Walton (awalton@gmail.com)
2575 2007-11-06 Alexander Larsson <alexl@redhat.com>
2577 * gio/gappinfo.[ch]:
2578 Added GAppLaunchContext object and pass that to launch.
2579 This allows simple implementation of both
2580 launch-on-screen and startup notification via a gtk+
2581 subclass of GAppLaunchContext
2583 * gio/gdesktopappinfo.c:
2584 Implement GAppLaunchContext API
2586 * gio/gwin32appinfo.c:
2589 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2591 * gio/gmountoperation.c:
2592 Add some guards to GMountOperation's public functions.
2594 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2598 * gio/gcancellable.c:
2599 * gio/gdirectorymonitor.c:
2601 * gio/gfileenumerator.c:
2602 * gio/gfilemonitor.c:,
2603 * gio/gfilenamecompleter.c:
2606 * gio/gioscheduler.c:
2610 * gio/gvolumemonitor.c:
2611 Add even more guards to various public functions.
2613 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2616 Add guards to the public functions of GAppInfo.
2618 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2620 * gio/gcontenttype.c:
2621 Add some more guards for public functions.
2623 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2625 * gio/fam/fam-module.c:
2626 * gio/fam/gfamdirectorymonitor.c:
2627 * gio/fam/gfamdirectorymonitor.h:
2628 * gio/fam/gfamfilemonitor.c:
2629 * gio/fam/gfamfilemonitor.h:
2630 * gio/inotify/ginotifydirectorymonitor.c:
2631 * gio/inotify/ginotifydirectorymonitor.h:
2632 * gio/inotify/ginotifyfilemonitor.c:
2633 * gio/inotify/ginotifyfilemonitor.h:
2634 Add proper copyright information and remove an unused variable
2635 in the GInotifyFileMonitor constructor.
2637 * gio/gcancellable.c:
2638 Add a guard for a public function and an assertion to prevent
2639 an undefined program state.
2641 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2643 * gio/gfileattribute.c:
2644 Don't run into an assertion if the given attribute value is NULL
2645 in g_file_attribute_value_get_*() but instead return a fallback
2646 value that makes sense in most situations. Passing them a attribute
2647 value with the wrong type will still run into an assertion.
2649 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2651 * gio/gfileattribute.c:
2653 Add even more guards to the public functions. Also fix the refcounting
2654 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2655 let g_file_info_list_attributes() filter the attributes by namespace
2656 instead of simply ignoring the namespace parameter.
2658 2007-11-03 Sven Herzberg <sven@imendio.com>
2660 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2661 (This makes gio work on MacOS X again)
2663 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2666 Build the gio subdirectory before the docs. Otherwise the build will
2669 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2670 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2671 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2672 Add guards to the public functions.
2674 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2676 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2677 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2678 to prevent a compiler warning.
2680 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2681 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2682 return something in the non-void function find_topdir_for().
2684 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2691 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2693 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2694 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2695 * gwin32appinfo.c (g_win32_app_info_launch):
2696 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2697 envp_for_startup_id, g_desktop_app_info_launch,
2698 g_desktop_app_info_launch_uris):
2700 Give an opaque 'startup_id' string instead of 'envp'.
2701 Support empty file lists for launching new windows.
2702 Fix infinite recursion bug when launching URIs.
2704 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2707 Add guard to the new g_file_get_uri_scheme() function.
2709 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2712 Convert a g_return_val_if_fail() to setting the GError instead as
2713 otherwise applications have to verify the parameter before otherwise
2714 and the parameter might come directly from the user.
2716 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2718 * gio/inotify/ginotify*.[ch]:
2719 Add missing copyright information.
2721 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2724 Add guards in the beginning of public functions to check for valid
2725 parameters and fix a bug in copy_stream_with_progress() that could've
2726 caused writing less bytes than reading.
2727 * gio/glocalfileinfo.c:
2728 Check for a NULL parameter and set the GError accordingly then.
2729 * gio/goutputstream.c:
2730 Fix the same bug as in gfile.c that could've caused writing less bytes
2731 than reading in g_output_stream_real_splice().
2733 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2736 Use the correct gvolumeprivate.h naming
2738 2007-11-01 Christian Kellner <gicmo@gnome.org>
2741 Remove leftover "$(daemon_sources)" entry.
2743 2007-11-01 Christian Kellner <gicmo@gnome.org>
2748 Add copyright information to source files.
2750 2007-11-01 Alexander Larsson <alexl@redhat.com>
2754 Add g_file_get_uri_scheme
2756 2007-11-01 Alexander Larsson <alexl@redhat.com>
2759 * gio/gdesktopappinfo.c:
2760 * gio/gwin32appinfo.c:
2761 Add g_app_info_get_default_for_uri_scheme.
2763 2007-11-01 Alexander Larsson <alexl@redhat.com>
2766 Correct filename for gdriveprivate.h
2768 2007-10-31 Alexander Larsson <alexl@redhat.com>
2771 Rename id:value to id:file
2774 * gio/glocalfileinfo.c:
2777 2007-10-31 Alexander Larsson <alexl@redhat.com>
2779 * gio/gunixvolume.c:
2781 Remove g_volume_get_platform_id, as thats not
2782 needed with the simpler union volume monitor
2784 2007-10-31 Alexander Larsson <alexl@redhat.com>
2787 * gio/guniondrive.[ch]: Removed.
2788 * gio/gunionvolume.[ch]: Removed.
2789 Remove GUnionDrive/Volume
2791 * gio/gunionvolumemonitor.c:
2792 Simplify union volume monitor, now we
2793 only have one native volume monitor and
2794 we use the actual volumes/drives from the
2795 child monitors instead of wrapping them
2797 * gio/gnativevolumemonitor.[ch]:
2798 Base class for native volume monitors.
2799 Includes priority and get_volume_for_mountpoint
2802 Add g_file_find_enclosing_volume
2805 Remove volume name fs attribute
2806 Add readonly fs attribute
2809 Implement readonly attribute
2810 remove volume name attribute
2811 Implement find_enclosing volume
2813 * gio/gunixmounts.c:
2814 Add a volume for "/".
2816 * gio/gunixvolume.[ch]:
2817 Set better name for /
2819 * gio/gunixvolumemonitor.[ch]:
2820 Derive from GNativeVolumeMonitor
2821 Implement get_volume_for_mountpoint
2824 GVolume typedef moved to gfile.h
2826 * gio/gvolumeprivate.h:
2827 Add g_volume_get_for_mount_path
2829 2007-10-31 Alexander Larsson <alexl@redhat.com>
2831 * gio/gunixmounts.[ch]:
2832 Add cache info to unix mount listers
2833 Make getmntent use threadsafe
2834 Add is_system_internal attribute for GUnixMount
2836 * gio/gunixvolume.c:
2837 (g_unix_volume_new):
2838 Use is_system_internal instead of own code
2840 * gio/glocaldirectorymonitor.c:
2841 * gio/gunixvolumemonitor.c:
2842 Update to new gunixmounts API
2847 2007-10-30 Alexander Larsson <alexl@redhat.com>
2850 Add volume name fsinfo attribute
2853 Read volume name info
2855 * gio/gunionvolumemonitor.c:
2856 Fix infinite loops when finalizing a union volume monitor
2858 2007-10-30 Alexander Larsson <alexl@redhat.com>
2860 * gio/goutputstream.[ch]:
2861 Add splice() with default implementation
2863 * gio/gsocketoutputstream.c:
2864 (g_socket_output_stream_write):
2865 Return error on cancellation correctly.
2867 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2869 * gio/glocalfile.c (g_local_file_trash):
2870 Do not leak a string.
2872 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2874 * gio/gfile.c (g_file_load_contents):
2875 Unref the stream after closing it.
2877 2007-10-25 Alexander Larsson <alexl@redhat.com>
2879 * gio/gioscheduler.h:
2882 2007-10-25 Alexander Larsson <alexl@redhat.com>
2886 Add g_file_has_uri_scheme and implement for local files
2888 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2890 * gio/gdesktopappinfo.c: do not leak a string.
2892 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2894 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2895 (g_local_directory_monitor_new):
2896 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2897 (g_local_file_monitor_new):
2898 Only look for the monitor type that should be used the first time
2899 and use g_qsort_with_data() instead of our own bubble sort
2902 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2905 * gio/fam/Makefile.am:
2906 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2907 * gio/fam/fam-helper.h:
2908 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2909 * gio/fam/gfamdirectorymonitor.c:
2910 * gio/fam/gfamdirectorymonitor.h:
2911 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2912 * gio/fam/gfamfilemonitor.h:
2913 * gio/glocaldirectorymonitor.c:
2914 * gio/glocaldirectorymonitor.h:
2915 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2916 * gio/glocalfilemonitor.h:
2917 * gio/inotify/Makefile.am:
2918 * gio/inotify/ginotifydirectorymonitor.c:
2919 * gio/inotify/ginotifydirectorymonitor.h:
2920 * gio/inotify/ginotifyfilemonitor.c:
2921 * gio/inotify/ginotifyfilemonitor.h:
2922 Implement the FAM and Inotify monitors as
2923 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2924 their own GIO module. GLocal(Directory|File)Monitor will use the
2925 monitor with the highest rank that is supported on that machine.
2927 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2930 Change GIO module dir to $(libdir)/gio/modules and change
2931 the log domain from GVFS to GIO. Also only export symbols starting
2932 with g_ in the resulting library.
2933 * gio/test-streams.c: (main):
2934 Set log handler for the GIO log domain.
2936 2007-10-22 Alexander Larsson <alexl@redhat.com>
2938 * gio/gfilenamecompleter.[ch]:
2939 Add g_filename_completer_set_dirs_only
2941 2007-10-22 Alexander Larsson <alexl@redhat.com>
2944 * gio/gurifuncs.[ch]:
2945 Add some simple URI helpers
2947 * gio/gfilenamecompleter.[ch]:
2948 Added object for filename (parse name actually) completion
2951 Handle ~ in parse names
2953 2007-10-17 Alexander Larsson <alexl@redhat.com>
2956 * gio/glocalfileinfo.c:
2957 Add and implement id:value attribute
2959 2007-10-17 Alexander Larsson <alexl@redhat.com>
2962 * gio/guniondrive.c:
2964 Add and implement g_drive_has_volumes
2966 2007-10-17 Alexander Larsson <alexl@redhat.com>
2969 * gio/glocalfileinfo.[ch]:
2970 Add unix:is_mountpoint and implement for local files
2972 2007-10-16 Alexander Larsson <alexl@redhat.com>
2974 * gio/gunionvolumemonitor.c:
2975 (g_union_volume_monitor_init):
2976 Fix up the unix type getting so that it works with gcc
2978 2007-10-12 Alexander Larsson <alexl@redhat.com>
2981 * gio/glocalfileinfo.c:
2982 Add thumbnail:failed to file info
2984 2007-10-12 Richard Hult <richard@imendio.com>
2986 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2987 optimizing away the get_type call (happens with some gcc versions,
2988 like the one shipped with OS X 10.4).
2990 2007-10-12 Alexander Larsson <alexl@redhat.com>
2992 * gio/glocalfileinfo.c:
2993 (_g_local_file_info_set_attribute):
2994 Fix build if not HAVE_XATTR
2995 Patch from Milosz Derezynski <internalerror@gmail.com>
2997 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2999 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3000 around for review, otherwise I would have asked you before
3003 2007-10-11 Alexander Larsson <alexl@redhat.com>
3006 Add thumbnail:path attribute
3008 * gio/glocalfileinfo.c:
3009 Implement thumbnail:path for local files
3011 2007-10-11 Alexander Larsson <alexl@redhat.com>
3013 * gio/glocalfileinfo.c:
3014 (_g_local_file_info_get):
3015 Avoid duplicate icon names
3017 2007-10-11 Alexander Larsson <alexl@redhat.com>
3019 * gio/gthemedicon.[ch]:
3020 Change g_themed_icon_get_names return type to const
3022 2007-10-10 Alexander Larsson <alexl@redhat.com>
3024 * gio/glocalfileinfo.c:
3025 Don't reference freed memory
3027 2007-10-10 Alexander Larsson <alexl@redhat.com>
3029 * gio/gfileattribute.c:
3032 * gio/glocalfileinfo.c:
3035 2007-10-10 Alexander Larsson <alexl@redhat.com>
3038 Check for NULL icons
3040 * gio/gfileattribute.c:
3041 Don't dup when getting objects (same as for string attributes)
3043 * gio/gicon.c (g_icon_equal):
3044 Safely handle NULLs in equal
3046 2007-10-10 Alexander Larsson <alexl@redhat.com>
3049 Fix c++ compilation issues
3050 Patch from Milosz Derezynski <internalerror@gmail.com>
3052 2007-10-10 Alexander Larsson <alexl@redhat.com>
3054 * programs/gio-monitor-dir.c:
3055 Don't crash if dir monitor not supported.
3057 2007-10-09 Alexander Larsson <alexl@redhat.com>
3060 Add missing G_END_DECLS
3062 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3064 * gio/gfile.c: (g_file_set_display_name),
3065 (g_file_query_settable_attributes),
3066 (g_file_query_writable_namespaces):
3067 Return NULL not FALSE on errors as the return type is a pointer.
3069 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3071 * gio/glocalfile.c: (g_local_file_monitor_file):
3072 Don't call monitor_file on the default interface vtable (which
3073 is NULL) but simply return NULL. The caller, GFile, will create a
3074 polling monitor if NULL is returned.
3076 2007-10-09 Alexander Larsson <alexl@redhat.com>
3080 * gio-unix-2.0.pc.in:
3081 Add gio-unix-2.0.pc if OS_UNIX
3084 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3086 2007-10-09 Alexander Larsson <alexl@redhat.com>
3088 * gio/gunixmounts.[ch]:
3089 Make unix mount monitoring API sane.
3090 Now its just a object with mounts_changed
3091 and mountpoints_changed signals.
3093 * gio/glocaldirectorymonitor.c:
3094 * gio/gunixvolumemonitor.c:
3095 Use new mount monitor api
3097 2007-10-09 Alexander Larsson <alexl@redhat.com>
3099 * gio/gunixmounts.[ch]:
3100 Move guess type into one call for mounts and one for mountpoints
3103 * gio/gunixvolume.c:
3106 2007-10-09 Alexander Larsson <alexl@redhat.com>
3108 * gio/gunixmounts.[ch]:
3109 Remove _ prefix in preparation to make this semi-public
3110 Hide implementation of structs
3112 * gio/glocaldirectorymonitor.c:
3114 * gio/gunixvolume.c:
3115 * gio/gunixvolumemonitor.c:
3116 Update for above API changes
3118 2007-10-08 Alexander Larsson <alexl@redhat.com>
3121 Better polling fallback. This also handles the case where we have
3122 a monitor_file implementation, but it fails.
3124 2007-10-08 Alexander Larsson <alexl@redhat.com>
3128 * gio/gunixmounts.c:
3129 * programs/gio-monitor-dir.c:
3130 * programs/gio-monitor-file.c:
3131 Added cancellable to file monitoring calls.
3132 These are really sync calls and need this.
3134 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3136 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3137 (g_local_vfs_class_init):
3138 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3139 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3141 2007-10-05 Alexander Larsson <alexl@redhat.com>
3143 * gio/gdirectorymonitorprivate.h:
3144 * gio/gfilemonitorprivate.h:
3145 * gio/gdirectorymonitor.h:
3146 * gio/gfilemonitor.h:
3147 Remove *private.h and move to the public API, so that
3148 we can do implementations outside gio (such as in gvfs)
3150 * gio/gdirectorymonitor.c:
3151 * gio/gfilemonitor.c:
3152 * gio/glocaldirectorymonitor.c:
3153 * gio/gpollfilemonitor.c:
3154 * gio/inotify/inotify-helper.c:
3155 * gio/fam/fam-helper.c:
3156 Update to the new header names
3158 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3160 * gio/gdirectorymonitor.c:
3161 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3164 2007-10-04 Alexander Larsson <alexl@redhat.com>
3166 * gio/glocalfileinfo.c (get_access_rights):
3167 Set CAN_TRASH when we can move the file.
3168 We should really also check for a parent trash dir.
3170 2007-10-04 Alexander Larsson <alexl@redhat.com>
3172 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3173 Add can_trash access attribute
3175 2007-10-04 Alexander Larsson <alexl@redhat.com>
3178 (g_local_file_trash):
3179 Create info file first. This is per-spec and allows
3180 us to actually trash directories.
3182 2007-10-02 Alexander Larsson <alexl@redhat.com>
3184 * gio/gdesktopappinfo.c:
3185 Implement the new mime support code.
3186 Always set app as handling mimetype when being set as default for it
3188 2007-10-01 Alexander Larsson <alexl@redhat.com>
3190 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3191 Fix up check for xattrs:
3193 2007-10-01 Alexander Larsson <alexl@redhat.com>
3196 (g_app_info_set_as_default_for_extension):
3197 (g_app_info_add_supports_type):
3198 (g_app_info_can_remove_supports_type):
3199 (g_app_info_remove_supports_type):
3200 Make these fail nicely if not implemented
3202 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3204 * gio/glocalfileoutputstream.c:
3205 * gio/glocalfileoutputstream.h:
3210 * programs/gio-save.c:
3211 Add a GFileCreateFlags argument to operations that can create
3214 2007-10-01 Alexander Larsson <alexl@redhat.com>
3216 * gio/gappinfo.[ch]:
3217 * gio/gdesktopappinfo.c:
3218 Add more (stubbed out) mime API needed for nautilus
3220 2007-10-01 Alexander Larsson <alexl@redhat.com>
3223 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3224 Add g_app_info_set_as_default_for_extension.
3226 * gio/gdesktopappinfo.c:
3227 Dummy for g_app_info_set_as_default_for_extension
3228 Support flags in g_app_info_create_from_commandline
3230 * gio/gwin32appinfo.c:
3232 Update for API changes
3234 * gio/gthemedicon.c:
3235 Properly NULL-terminate list of icon names
3237 2007-09-28 Alexander Larsson <alexl@redhat.com>
3239 * gio/gloadableicon.h:
3240 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3242 2007-09-28 Alexander Larsson <alexl@redhat.com>
3245 Install headers in $includedir/gio-standalone/
3247 * gio-2.0.pc.in: Added.
3248 * gio-standalone.pc.in: Removed.
3251 Renamed pkg-config file to match glib (for future move)
3252 Update to the new include dir
3255 Add more TODO comments
3257 2007-09-28 Alexander Larsson <alexl@redhat.com>
3259 * gio/gdesktopappinfo.[ch]:
3260 Expose new_from_filename
3261 Add getter for is_hidden and handle it better
3263 2007-09-28 Alexander Larsson <alexl@redhat.com>
3265 * gio/gfileinfo.[ch]:
3266 Rename g_file_size_format_for_display to
3267 g_format_file_size_for_display.
3268 Now it doesn't have the g_file prefix, so we
3269 can later move it to glib.
3271 2007-09-28 Alexander Larsson <alexl@redhat.com>
3273 * gio/gappinfo.[ch]:
3274 Add g_app_info_get_id and g_app_info_get_executable.
3275 Make all getters non-reffing
3276 Make g_app_info_launch take GFile arguments.
3277 Add must_support_uris argument to g_app_info_get_default_for_type.
3279 * gio/gwin32appinfo.c:
3280 Update to GAppInfo api changes
3282 * gio/gdesktopappinfo.c:
3283 Update to GAppInfo api changes
3284 Implement supports_xdg_startup_notify
3286 * gio/gfileicon.c (g_file_icon_get_file):
3287 Make getter non-reffing.
3292 2007-09-27 Alexander Larsson <alexl@redhat.com>
3294 * gio/gfileinfo.[ch]:
3295 Add g_file_size_format_for_display helper
3297 2007-09-27 Alexander Larsson <alexl@redhat.com>
3299 * gio/glocalfileinfo.c:
3300 Set UNIX_GID from gid, not from uid
3302 2007-09-27 Alexander Larsson <alexl@redhat.com>
3305 Add g_file_set_attributes_async
3307 2007-09-27 Alexander Larsson <alexl@redhat.com>
3309 * gio/glocalfile.c (g_local_file_set_display_name):
3310 Fix set_display_name to actually rename to the right place.
3311 Use lstat to look for existing files so we don't overwrite
3314 2007-09-26 Alexander Larsson <alexl@redhat.com>
3317 Add g_file_set_display_name_async()
3319 2007-09-26 Alexander Larsson <alexl@redhat.com>
3322 Add load_partial_contents async calls
3325 Make internal function static
3327 2007-09-26 Alexander Larsson <alexl@redhat.com>
3329 * gio/glocalfileinfo.c:
3330 Correctly detect broken symlinks
3332 2007-09-26 Alexander Larsson <alexl@redhat.com>
3334 * gio/gcancellable.c (g_cancellable_cancel):
3335 Allow cancel on NULL cancellable
3337 2007-09-25 Alexander Larsson <alexl@redhat.com>
3339 * gio/gsimpleasyncresult.c:
3340 Don't allocate g_error manually.
3341 Fixes g_slice/g_new mixup crash
3343 2007-09-25 Alexander Larsson <alexl@redhat.com>
3345 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3346 Actually set active_backend.
3347 This means the monitor will be cancelled correctly.
3349 2007-09-25 Alexander Larsson <alexl@redhat.com>
3351 * gio/gdirectorymonitor.c:
3352 Set timeout to NULL when destroying
3354 2007-09-25 Alexander Larsson <alexl@redhat.com>
3357 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3358 that is a better description of the error.
3360 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3362 * gio/gvfs.c: (g_vfs_get_local):
3363 Make the local vfs variable static. The same instance should
3366 2007-09-24 Alexander Larsson <alexl@redhat.com>
3368 * gio/glocalfileinfo.c:
3369 Pass in actual length read into sniffer, not the length
3372 2007-09-21 Alexander Larsson <alexl@redhat.com>
3374 * gio/gfileenumerator.c:
3377 * gio/gfileinputstream.c:
3378 * gio/gfileoutputstream.c:
3379 * gio/ginputstream.c:
3380 * gio/goutputstream.c:
3381 Don't crash if async callbacks are NULL
3383 2007-09-20 Alexander Larsson <alexl@redhat.com>
3386 Add async enumerate_children method and default
3389 2007-09-20 Alexander Larsson <alexl@redhat.com>
3392 Add g_file_contains_file & g_file_get_relative_path, since they
3393 were needed for nautilus.
3394 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3399 Implement new methods
3401 2007-09-17 Alexander Larsson <alexl@redhat.com>
3404 * gio/gfileinputstream.[ch]:
3405 * gio/gfileoutputstream.[ch]:
3407 * gio/glocalfileenumerator.[ch]:
3408 * gio/glocalfileinfo.[ch]:
3409 * gio/glocalfileinputstream.c:
3410 * gio/glocalfileoutputstream.c:
3411 * gio/gpollfilemonitor.c:
3412 * programs/gio-copy.c:
3413 * programs/gio-info.c:
3414 * programs/gio-move.c:
3415 Rename get_file_info to query_info() to make it clearer
3416 that these are not simple getters, but do i/o.
3418 2007-09-17 Alexander Larsson <alexl@redhat.com>
3420 * gio/gdatainputstream.[ch]:
3421 * gio/test-streams.c:
3422 Use _read_XXX instead of _get_XXX for the i/o calls
3425 2007-09-17 Alexander Larsson <alexl@redhat.com>
3428 Added needed stuff to TODO comment
3430 2007-09-17 Alexander Larsson <alexl@redhat.com>
3432 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3433 Don't error out removing the backup copy if it doesn't
3436 2007-09-14 Alexander Larsson <alexl@redhat.com>
3438 * programs/Makefile.am:
3439 * programs/gvfs-*.c:
3441 Renamed apps from gvfs-xxx to gio-xxx.
3443 2007-09-14 Alexander Larsson <alexl@redhat.com>
3446 * gio/gfileoutputstream.[ch]:
3447 * gio/glocalfileoutputstream.c:
3448 * programs/gvfs-save.c:
3449 g_file_output_stream_get_etag doesn't do i/o, so remove
3450 cancellation and error.
3452 2007-09-14 Alexander Larsson <alexl@redhat.com>
3455 Add new_etag output to replace_contents functions
3457 2007-09-14 Alexander Larsson <alexl@redhat.com>
3459 * gio/gfileoutputstream.[ch]:
3460 Add async get_file_info and default implementation
3462 2007-09-14 Alexander Larsson <alexl@redhat.com>
3464 * gio/gfileinputstream.c:
3465 Implement fallback wrapper for async get_file_info
3467 2007-09-14 Alexander Larsson <alexl@redhat.com>
3470 Add etag out argument to load_contents
3475 2007-09-14 Alexander Larsson <alexl@redhat.com>
3477 * gio/gcontenttype.c (looks_like_text):
3478 Whitespace like tab, cr and lf do not make the
3481 2007-09-14 Alexander Larsson <alexl@redhat.com>
3483 * gio/gfileinputstream.[ch]:
3484 Add async get_file_info.
3486 2007-09-13 Alexander Larsson <alexl@redhat.com>
3488 * gio/goutputstream.c (g_output_stream_write_all):
3489 Allow NULL for bytes_written
3491 2007-09-13 Alexander Larsson <alexl@redhat.com>
3493 * gio/gmemoryinputstream.[ch]:
3494 Add accessors for data
3496 2007-09-13 Alexander Larsson <alexl@redhat.com>
3498 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3499 Don't crash if length is NULL