1 2008-02-14 Alexander Larsson <alexl@redhat.com>
4 Copy permissions with file on copy (#514084)
5 This is what cp does and makes sure e.g. the
6 exec permissions are kept.
7 Its kinda weird in that it keeps the permission bits
8 the same while the uid and gid are different. However
9 the new uid is the user so its not a security issue,
10 and I've heard no complaints about cp on this issue.
12 2008-02-13 Ryan Lortie <desrt@desrt.ca>
14 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
16 2008-02-13 Alexander Larsson <alexl@redhat.com>
18 * inotify/inotify-path.c:
19 Define IN_ONLYDIR if not in header (#515346)
21 2008-02-12 Alexander Larsson <alexl@redhat.com>
23 * tests/live-g-file.c:
26 2008-02-11 Matthias Clasen <mclasen@redhat.com>
28 * === Released 2.15.5 ===
30 2008-02-11 Matthias Clasen <mclasen@redhat.com>
32 * gio.symbols: Add g_mount_mount_flags_get_type.
34 2008-02-11 Alexander Larsson <alexl@redhat.com>
37 (g_file_info_set_attribute_mask):
38 (g_file_attribute_matcher_matches_id):
39 Correctly handle NULL GAttributeMatcher meaning
40 matches nothing. (Fixes #513492)
42 2008-02-11 Alexander Larsson <alexl@redhat.com>
47 Added GMountMountFlags enum and added a flags
48 argument to all mount calls.
50 This is an API/ABI change for future extensibility,
51 as I think we will need at least an
52 inhibit-autorun flag (the panel needs this).
53 There are no flags defined yet though.
55 2008-02-11 Alexander Larsson <alexl@redhat.com>
58 Added new standard::description attribute.
59 Requested by Vincent, and useful for both
62 2008-02-11 Alexander Larsson <alexl@redhat.com>
67 2008-02-11 Matthias Clasen <mclasen@redhat.com>
69 * *.c: Documentation additions
71 2008-02-10 Matthias Clasen <mclasen@redhat.com>
73 * gappinfo.h: Formatting cleanup
74 * gappinfo.c: Fix up docs.
76 2008-02-09 Matthias Clasen <mclasen@redhat.com>
78 * gunixmounts.c: Consistently use getmntent_r() and fall
79 back to getmntent(). (#515492)
81 2008-02-09 Matthias Clasen <mclasen@redhat.com>
83 * gbufferedinputstream.c:
85 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
87 * tests/data-input-stream.c:
88 * tests/data-output-stream.c: Portability fixes.
90 2008-02-08 Alexander Larsson <alexl@redhat.com>
95 Add g_volume_should_automount.
98 2008-02-07 Tor Lillqvist <tml@novell.com>
100 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
101 Win32, too Unix-specific.
103 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
105 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
106 a local plt if the compiler doesn't support what we want. Bug #514702
108 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
110 reviewed by: <delete if not using a buddy>
113 * gunixinputstream.c:
114 * gunixoutputstream.c:
116 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
119 * tests/live-g-file.c:
120 * tests/live-g-file.txt:
121 New GIO testing module working over real data
123 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
125 * glocalfileoutputstream.c (g_local_file_output_stream_close):
126 Fallback to rename() if link() is not available
127 (when no support on target filesystem)
129 2008-02-06 Michael Natterer <mitch@imendio.com>
131 * gfileinfo.c (g_file_info_get_icon): replace
132 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
134 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
136 * gfile.c (g_file_create):
137 Documentation update of error codes
139 2008-02-06 Alexander Larsson <alexl@redhat.com>
142 Update to use both mimeapps.list and
143 defaults.list as discussed on xdg list.
145 2008-02-06 Benjamin Otte <otte@gnome.org>
148 * gfilenamecompleter.c:
149 Fix some typos in the documentation.
151 2008-02-06 Alexander Larsson <alexl@redhat.com>
153 * glocalfile.c (g_local_file_trash):
154 Don't succeed with trash if newly created
155 trash dir has the wrong owner. (#514696)
157 2008-02-05 Alexander Larsson <alexl@redhat.com>
159 * glocalfile.c (g_local_file_move):
160 Don't spew warnings when destination is not
163 2008-02-03 Hans Breuer <hans@breuer.org>
165 * makefile.msc : update
167 2008-02-01 Michael Natterer <mitch@imendio.com>
169 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
170 return value of xdg_mime_list_mime_parents() to a variable of the
173 2008-02-01 Alexander Larsson <alexl@redhat.com>
175 * gappinfo.c (g_app_info_launch_uris):
176 Actually call the launch_uris method, not
179 2008-02-01 Alexander Larsson <alexl@redhat.com>
181 * gdesktopappinfo.c (g_desktop_app_info_equal):
182 Ensure appinfos with no id but same pointer value
185 2008-02-01 Alexander Larsson <alexl@redhat.com>
187 * gappinfo.c (g_app_info_launch_default_for_uri):
190 2008-02-01 Alexander Larsson <alexl@redhat.com>
194 Add g_app_info_launch_default_for_uri utility
197 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
200 Doc fix for g_app_info_get_default_for_uri_scheme ()
203 2008-01-30 Alexander Larsson <alexl@redhat.com>
206 Add doc comment about uris vs GFiles to
210 Ensure uris passed to g_app_info_launch_uris()
211 are not roundtriped through GFile (as that
212 may be slightly destructive for e.g. mailto: links)
214 2008-01-30 Alexander Larsson <alexl@redhat.com>
216 * tests/data-input-stream.c:
217 * tests/data-output-stream.c:
218 C89 fixes from Jens Granseuer (#512849)
220 2008-01-30 Alexander Larsson <alexl@redhat.com>
223 Fix gamin/fam difference build issue. (#509419)
225 2008-01-29 Alexander Larsson <alexl@redhat.com>
229 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
231 2008-01-29 Alexander Larsson <alexl@redhat.com>
235 giomodule-priv.h include moved to .c file.
237 2008-01-29 Alexander Larsson <alexl@redhat.com>
239 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
240 Remove unused prio/name fields.
242 2008-01-29 Alexander Larsson <alexl@redhat.com>
244 * gcontenttype.c (looks_like_text):
245 Don't treat whitespace as control chars.
247 2008-01-29 Alexander Larsson <alexl@redhat.com>
250 Lazily create the desktop files for appinfos created
251 by g_app_info_create_from_commandline() when needed
252 for mime associations. This allows run-time use
253 of GAppInfo object without creating unnecessary
256 2008-01-29 Alexander Larsson <alexl@redhat.com>
259 Added new symbols to gio.symbols
261 2008-01-29 Alexander Larsson <alexl@redhat.com>
264 Add g_file_query_default_handler utility to easily look up
265 the GAppInfo that handles a file.
267 * gdesktopappinfo.[ch]:
269 Set up an extension point for g_app_info_get_default_for_uri_scheme()
272 Remove unused function
274 2008-01-29 Alexander Larsson <alexl@redhat.com>
277 Mention need to free returned value in
278 g_file_enumerator_next_files_finish docs.
279 Fix leak if g_file_enumerator_next_files_finish()
282 2008-01-29 Alexander Larsson <alexl@redhat.com>
285 (_g_unix_content_type_get_parents):
286 Use list_parents, not get_parents from xdgmime, because
287 the later doesn't use the cache.
289 * xdgmime/xdgmimecache.c:
290 (_xdg_mime_cache_list_mime_parents):
291 Don't list the same type as parent multiple times.
293 2008-01-28 Matthias Clasen <mclasen@redhat.com>
295 * === Released 2.15.4 ===
297 2008-01-28 Alexander Larsson <alexl@redhat.com>
300 Register local vfs with prio 0.
303 Remove old name and prio class members
305 2008-01-28 Matthias Clasen <mclasen@redhat.com>
307 * tests/g-file.c: Disable some tests that are failing in
308 the absence of a http backend.
310 2008-01-28 Alexander Larsson <alexl@redhat.com>
314 Add registration hooks for extension points.
315 Register the gio extension points.
317 * fam/gfamdirectorymonitor.c:
318 * fam/gfamfilemonitor.c:
319 * glocaldirectorymonitor.[ch]:
320 * glocalfilemonitor.[ch]:
321 * gnativevolumemonitor.h:
322 * gunionvolumemonitor.c:
323 * gunixvolumemonitor.c:
326 * inotify/ginotifydirectorymonitor.c:
327 * inotify/ginotifyfilemonitor.c:
328 Use the extension points registration instead
329 of g_type_children().
331 2008-01-28 Matthias Clasen <mclasen@redhat.com>
334 * gvolume.[hc]: Document new API.
336 * gfile.c (g_file_copy_async): Fix docs
338 2008-01-27 Matthias Clasen <mclasen@redhat.com>
340 * gbufferedinputstream.c:
342 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
345 2008-01-27 Matthias Clasen <mclasen@redhat.com>
347 * glocalfile.c: Avoid trivial differences in translatable strings.
349 2008-01-25 Matthias Clasen <mclasen@redhat.com>
351 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
352 build with gcc 3.4 (#509419)
354 2008-01-25 Matthias Clasen <mclasen@redhat.com>
356 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
357 (#509994, Murray Cumming)
359 2008-01-25 Matthias Clasen <mclasen@redhat.com>
361 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
362 * gioscheduler.c: Keep calling io jobs until they return FALSE;
363 this allows big jobs to be executed in chunks, instead of blocking
364 the main loop for a long time.
366 * gsimpleasyncresult.c:
367 * giofile.c: Adapt callers.
369 2008-01-25 Alexander Larsson <alexl@redhat.com>
372 Implement changes discussed on xdg list.
373 Now we can add supported mimetypes by just using defaults.list
374 We can also remove associations in defaults.list.
376 2008-01-25 Alexander Larsson <alexl@redhat.com>
379 Don't make local copy of desktop file
380 for mimetype changes if the file already
381 supports the new mimetype.
383 2008-01-25 Matthias Clasen <mclasen@redhat.com>
387 * gbufferedinputstream.c:
388 * glocalfile.c: String improvements. (#511966,
389 Theppitak Karoonboonyanan)
391 2008-01-24 Matthias Clasen <mclasen@redhat.com>
393 * gioscheduler.h: Expand docs a bit.
395 2008-01-24 Alexander Larsson <alexl@redhat.com>
398 Add g_drive_get_identifier and
399 g_drive_enumerate_identifiers
402 Add g_volume_get_identifier and
403 g_volume_enumerate_identifiers
409 Implement identifiers for unix backend
411 2008-01-24 Alexander Larsson <alexl@redhat.com>
416 Add g_file_copy_async() (#511580)
417 Based on patch from Carlos Garcia Campos
419 2008-01-23 Matthias Clasen <mclasen@redhat.com>
421 * gioscheduler.c: Some documentation additions.
423 2008-01-22 Alexander Larsson <alexl@redhat.com>
426 (g_desktop_app_info_new):
429 2008-01-22 Alexander Larsson <alexl@redhat.com>
432 (g_desktop_app_info_new_from_filename):
435 2008-01-22 Alexander Larsson <alexl@redhat.com>
437 * glocalfileinfo.c (get_thumbnail_attributes):
440 2008-01-22 Alexander Larsson <alexl@redhat.com>
443 (canonicalize_filename):
444 Canonicalize paths that start with more than
449 (test_g_file_new_for_path):
452 2008-01-22 Alexander Larsson <alexl@redhat.com>
455 Allow UTF-8 in file:// parse names.
458 * tests/data-input-stream.c:
459 * tests/data-output-stream.c:
460 * tests/g-file-info.c:
462 Added a bunch of tests from Tomas Bzatek
464 2008-01-21 Matthias Clasen <mclasen@redhat.com>
466 * === Released 2.15.3 ===
468 2008-01-21 Alexander Larsson <alexl@redhat.com>
470 * gfileinputstream.[ch]:
471 * gfileoutputstream.[ch]:
473 Remove duplicated GSeekable functions. (#509990)
474 Just use the g_seekable_xxx() calls instead.
476 2008-01-21 Matthias Clasen <mclasen@redhat.com>
479 * gvolumemanager.c: Whitespace cleanups.
481 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
482 Use the right mode when creating the file.
484 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
487 * gfileinputstream.c:
489 * goutputstream.c: Documentation: Fixed minor typos
490 and added more mentions of specific _finish() functions.
492 2008-01-21 Alexander Larsson <alexl@redhat.com>
494 * inotify/Makefile.am:
495 * inotify/inotify-helper.c:
496 * inotify/inotify-kernel.c:
497 * inotify/inotify-path.c:
498 * inotify/local_inotify.h: Removed.
499 * inotify/local_inotify_syscalls.h: Removed.
500 Removed the included copies of the inotify
501 headers. We now only use the <sys/inotify.h>
502 header which exists on modern systems.
503 This fixes problems on ARM and SH5 (#510448)
504 but is also generally much cleaner and future
505 safe. For instance, if other OSes add support
506 for inotify it should "just work".
508 2008-01-20 Matthias Clasen <mclasen@redhat.com>
510 * inotify/*.c: Coding style fixes.
511 * inotify/inotify-missing.c: Use g_timeout_add_seconds
512 for the 1/4 Hz timer.
514 2008-01-20 Matthias Clasen <mclasen@redhat.com>
518 * gmemoryinputstream.c:
519 * gmemoryoutputstream.c:
521 * gthemedicon.c: Documentation updates
523 2008-01-20 Murray Cumming <murrayc@murrayc.com>
525 * gfile.c: documentation: Fixed more minor
528 2008-01-18 Murray Cumming <murrayc@murrayc.com>
530 * gmount.c: (g_mount_remount): documentation:
531 Mention g_mount_remount_finish() instead of
532 g_mount_unmount_finish().
534 2008-01-18 Murray Cumming <murrayc@murrayc.com>
538 * gfile.c: Fixed some minor typos in the
541 2008-01-18 Murray Cumming <murrayc@murrayc.com>
543 * gio/gvolumemonitor.c:
544 (g_volume_monitor_get_connected_drives):
545 (g_volume_monitor_get_volumes):
546 (g_volume_monitor_get_mounts): Documentation:
547 Clarify the ownership of the regurn GLists.
549 2008-01-17 Alexander Larsson <alexl@redhat.com>
552 Add the async find_enclosing_mount version
553 to the header file too.
555 2008-01-17 Alexander Larsson <alexl@redhat.com>
558 Add async version of find_enclosing_mount
559 with default implementation.
561 2008-01-17 Alexander Larsson <alexl@redhat.com>
566 Allow calls to implementation of copy and write
567 even if the type of the file implementations is
568 different. This can be used to implement native
569 upload and download calls in a vfs.
573 Protect against the case where move is called
574 with one file not being local.
576 Make sure we call the progress callback once
577 in the native move operation so that the caller
578 knows how many bytes were copied.
580 2008-01-16 Murray Cumming <murrayc@murrayc.com>
583 * gdatainputstream.c:
585 * gfileoutputstream.c:
590 * gunixmounts.c: Corrected some typos in the documentation:
592 its -> it's (where appropriate).
594 2008-01-16 Alexander Larsson <alexl@redhat.com>
598 Add g_file_query_exists (#508771)
600 2008-01-15 Murray Cumming <murrayc@murrayc.com>
605 * gvolume.c: For async functions that have no non-async
606 version, document that the GAsyncReadyCallback may be NULL.
609 2008-01-15 Alexander Larsson <alexl@redhat.com>
611 * gmemoryinputstream.c:
612 * gmemoryoutputstream.c:
613 Don't do pointer arithmetic on void * (#508602)
614 Patch from Kazuki IWAMOTO
616 2008-01-14 Matthias Clasen <mclasen@redhat.com>
618 * === Released 2.15.2 ===
620 2008-01-14 Alexander Larsson <alexl@redhat.com>
622 * gfile.c (g_file_monitor_file):
623 Don't set error here, since we fallback to polling monitor.
625 2008-01-14 Alexander Larsson <alexl@redhat.com>
628 (g_file_monitor_directory):
629 (g_file_monitor_file):
630 Add GError to file monitor calls
632 * glocaldirectorymonitor.c:
633 * glocaldirectorymonitor.h:
635 * glocalfilemonitor.c:
636 * glocalfilemonitor.h:
638 Update for above change
640 2008-01-14 Alexander Larsson <alexl@redhat.com>
644 Handle root correctly in g_file_get_relative_path (#508719)
646 2008-01-14 Alexander Larsson <alexl@redhat.com>
649 Clean up docs and example for GAsyncResult (#508074)
651 2008-01-11 Murray Cumming <murrayc@murrayc.com>
653 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
654 and correct some spelling mistakes. Bug #508108.
656 2008-01-11 Matthias Clasen <mclasen@redhat.com>
658 * glocalfileinfo.c: Add a comment.
660 2008-01-10 Murray Cumming <murrayc@murrayc.com>
662 * gfileinfo.c: GFileInfo description: Mention
663 how to actually set attributes in a GFile and how to discover
664 which attributes are settable. Bug #508378.
666 2008-01-10 A. Walton <awalton@svn.gnome.org>
668 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
669 (g_app_info_get_default_for_type):
670 Check for NULL content types.
672 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
674 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
676 2008-01-09 Murray Cumming <murrayc@murrayc.com>
678 * gfile.c: *_async() functions: Several small corrections
679 to the documentation, mostly correcting copy/paste errors
680 and improving some sentences.
682 2008-01-09 Dan Winship <danw@gnome.org>
684 * glocalfile.c (get_unique_filename): x86_64 fix
686 2008-01-09 Alexander Larsson <alexl@redhat.com>
691 Add g_unix_mount_guess_should_display and use
692 for unix volume monitor backend.
693 This means we more or less show what the
694 gnome-vfs backend did.
695 Based on patch from Padraig O'Briain
697 2008-01-09 Alexander Larsson <alexl@redhat.com>
701 Add g_themed_icon_new_with_default_fallbacks
704 Use default fallbacks for icons
706 2008-01-09 Alexander Larsson <alexl@redhat.com>
709 * gmountoperation.[ch]:
710 Change the API a bit so that unhandled methods
711 get reported via the reply, rather than by
712 the signal emission return value. This is because
713 some handlers can't know this immediately without
714 doing I/O, and this is an async operation that
717 2008-01-09 Alexander Larsson <alexl@redhat.com>
720 * fam/gfamdirectorymonitor.c:
721 * fam/gfamfilemonitor.c:
722 Fix double free crash (#508224)
723 Patch from Joe Marcus Clarke
725 008-01-07 Matthias Clasen <mclasen@redhat.com>
727 * === Released 2.15.1 ===
729 2008-01-07 Alexander Larsson <alexl@redhat.com>
731 * gunixinputstream.c (g_unix_input_stream_skip_finish):
732 Fix warning (#507835)
734 2008-01-07 Alexander Larsson <alexl@redhat.com>
737 Pass --internal to glib-genmarshal
742 Use better types for signal arguments (#507822)
744 2008-01-07 Alexander Larsson <alexl@redhat.com>
747 Build test subdir after .
748 Remove gdirectorymonitor.[ch]
750 * gdirectorymonitor.[ch]:
754 Remove GDirectoryMonitor and make
755 GFileMonitor the baseclass for both file and
756 directory monitors. Lift the more generic
757 rate limiting code from GDirectoryMonitor
761 * fam/gfamdirectorymonitor.[ch]:
762 * inotify/ginotifydirectorymonitor.[ch]:
763 * inotify/inotify-helper.c:
764 * glocaldirectorymonitor.[ch]:
767 Update for the removed GDirectoryMonitor.
769 * gmemoryoutputstream.c:
770 Remove ununsed variable
772 2008-01-07 Alexander Larsson <alexl@redhat.com>
774 * gmemoryinputstream.c:
775 Translate error strings
778 * gmemoryoutputstream.[ch]:
779 New implementation that avoids using GByteArray
780 in implementation and API. (#506377)
782 2008-01-06 Matthias Clasen <mclasen@redhat.com>
784 * tests/*: Add a test for memory input streams.
786 * Makefile.am: Add tests to SUBDIRS.
788 2008-01-06 Matthias Clasen <mclasen@redhat.com>
790 * glocalfilemonitor.c:
791 * glocaldirectorymonitor.c: Mark property nicks and blurbs
794 2008-01-06 Matthias Clasen <mclasen@redhat.com>
796 * gdesktopappinfo.c: Fix a docs typo.
798 * gfileattribute.c: Add information about extended attributes
799 to the documentation. (#505058)
801 2008-01-04 Alexander Larsson <alexl@redhat.com>
805 Use the right type (uint) for the ask_password signal.
807 2008-01-04 Alexander Larsson <alexl@redhat.com>
812 Add g_app_info_supports_files()
813 Remove desktop arg from g_app_info_should_show().
815 * gdesktopappinfo.[ch]:
816 Implement g_app_info_supports_files() and new should_show()
817 Add g_desktop_app_info_set_desktop_env() to set the desktop
818 for should_show(). (This will be set by gtk+ later)
820 2008-01-04 Alexander Larsson <alexl@redhat.com>
823 * gmemoryinputstream.[ch]:
824 Improve API so that you can use multiple chunks
825 of memory and custom destroy functions. (#506374)
827 2008-01-03 Alexander Larsson <alexl@redhat.com>
830 Handle NULL attribute matchers safely, as we return this
831 for empty attribute matcher strings.
833 2008-01-03 Alexander Larsson <alexl@redhat.com>
835 * gunixmounts.c (g_unix_is_mount_path_system_internal):
836 Add /usr/local to list of internal mountpoints
838 2008-01-03 Alexander Larsson <alexl@redhat.com>
841 Check for HAVE_LCHOWN (#505887)
843 2008-01-03 Alexander Larsson <alexl@redhat.com>
847 Add define for selinux context attribute.
848 Fix missing : -> :: namespace separator change
849 Fix missing _ -> - name change for xattr-sys.
852 2008-01-03 Alexander Larsson <alexl@redhat.com>
855 Link to libglib and libgobject directly (#504879)
856 Patch from Sebastien Bacher
858 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
860 * gfile.c: Expanded the g_file_new_for_commandline_arg
861 description a bit, based on the code and the docs of the
862 other g_file_new_for_* functions.
864 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
866 * gfilemonitor.h: Fixed typo in docs.
868 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
870 Updates to GIO documentation. (#506395, Mikael Hermansson)
872 * gcontenttype.c: Describe memory management for return value of
873 g_content_types_get_registered(). Missing piece from #505815.
874 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
875 GVolume, GDrive, GMounts, which hopefully gives the user less
876 confusions when using this API. Following explainations from
877 Alexander Larsson on gtk-devel-list.
879 2007-12-30 Matthias Clasen <mclasen@redhat.com>
881 * gfileinfo.c: Expand the long description.
883 2007-12-30 Matthias Clasen <mclasen@redhat.com>
886 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
887 fix builds with --disable-visibility. (#500273, Christian Persch)
889 2007-12-30 Matthias Clasen <mclasen@redhat.com>
891 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
892 in the list of returned app infos.
894 2007-12-30 Matthias Clasen <mclasen@redhat.com>
896 * gappinfo.c: Fix a cross-reference
898 2007-12-30 Matthias Clasen <mclasen@redhat.com>
900 * gfileinputstream.c:
901 * gfileoutputstream.c:
907 * gfileinfo.c: Documentation updates.
909 2007-12-26 Matthias Clasen <mclasen@redhat.com>
911 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
914 2007-12-26 Matthias Clasen <mclasen@redhat.com>
916 * gcontenttype.c (g_content_types_get_registered): Don't return
917 freed memory (#505815, Mikael Hermansson)
919 2007-12-25 Paolo Borelli <pborelli@katamail.com>
921 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
922 used to detect statbuf->st_blocks. (#505042)
924 2007-12-24 Matthias Clasen <mclasen@redhat.com>
926 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
927 environment handling. (#504829, Cosimo Cecchi)
929 2007-12-22 Matthias Clasen <mclasen@redhat.com>
931 * gappinfo.c: Doc improvements
933 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
936 2007-12-20 Matthias Clasen <mclasen@redhat.com>
938 * === Released 2.15.0 ===
940 2007-12-20 Hans Breuer <hans@breuer.org>
942 * makefile.msc : don't build gdesktopappinfo.obj, it collides
943 with symbols gwin32appinfo.obj, added gmount.obj
944 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
946 2007-12-20 Alexander Larsson <alexl@redhat.com>
952 * gfilenamecompleter.c:
955 * gpollfilemonitor.c:
956 File attribute renames:
959 id::fs -> id::filesystem
961 2007-12-20 Alexander Larsson <alexl@redhat.com>
970 Add GMountUnmountFlags to all unmount and
972 Add g_mount_remount() call.
974 2007-12-20 Alexander Larsson <alexl@redhat.com>
976 * gvfs.c (get_default_vfs):
977 Fix unused variable warning
979 2007-12-19 Matthias Clasen <mclasen@redhat.com>
981 * pltcheck.sh: Update
983 2007-12-19 Matthias Clasen <mclasen@redhat.com>
985 * gunionvolumemonitor.c:
986 * gunixmount.c: Remove C99 comments
988 2007-12-19 Matthias Clasen <mclasen@redhat.com>
990 * gio.symbols: Add some missing symbols
992 2007-12-19 Alexander Larsson <alexl@redhat.com>
995 Make g_io_modules_load_all_in_directory not unuse
996 loaded modules so that users of it can do stuff
998 Init internal "module" types.
999 Initialize static prio and name for types so that
1000 we don't have to load modules to get it.
1002 * gnativevolumemonitor.h:
1004 Move is_supported to parent class so that
1005 non-native monitors can avoid being initialized
1006 too. (For instance GDaemonVolumeMonitor if we're
1007 not using GDaemonVfs.)
1009 * glocaldirectorymonitor.[ch]:
1010 * glocalfilemonitor.[ch]:
1011 * gunionvolumemonitor.c:
1012 * gunixvolumemonitor.c:
1014 Find plugins using the static prio+name to
1015 avoid unnecessarily loading the modules.
1017 2007-12-19 Alexander Larsson <alexl@redhat.com>
1022 2007-12-19 Alexander Larsson <alexl@redhat.com>
1024 * gunionvolumemonitor.c:
1025 Store the native type as GType, not class so that
1026 we can unload it. But still avoid unnecessarily
1029 2007-12-19 David Zeuthen <davidz@redhat.com>
1031 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1032 add signals 'disconnected' and 'eject-button' on GDrive. Add
1033 signal 'removed' on GVolume and 'unmounted' on GMount.
1035 * gdrive.c: (g_drive_base_init):
1037 * gfile.c: (g_file_mount_mountable),
1038 (g_file_mount_enclosing_volume):
1041 * gmount.c: (g_mount_base_init):
1043 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1044 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1045 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1049 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1051 * *.c: Fix up includes in the section docs.
1053 2007-12-17 Alexander Larsson <alexl@redhat.com>
1055 * gnativevolumemonitor.h:
1056 * gunionvolumemonitor.c:
1057 * gunixvolumemonitor.c:
1058 Add is_supported() to GNativeVolumeMonitorClass so
1059 that we can avoid having to create an object to see
1060 if the backend is supported at runtime.
1061 Also add name member and an env var to pick a specific
1062 volume monitor backend.
1066 Add cancellable to _g_mount_get_for_mount_path()
1068 * glocaldirectorymonitor.c:
1069 * glocalfilemonitor.c:
1070 Avoid loading and unloading modules while sorting.
1072 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1075 * gunixmounts.[hc]: Namespace waste reduction, move some
1076 g_get_unix_mount functions to the g_unix_mount namespace.
1079 * gunixvolumemonitor.c:
1081 * glocaldirectorymonitor.c: Update all callers.
1083 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1085 2007-12-17 Alexander Larsson <alexl@redhat.com>
1088 Add doc comments about what GFile operations are
1089 guaranteed to not block.
1091 2007-12-17 Alexander Larsson <alexl@redhat.com>
1094 Add missing #ifdef fixing OSX build.
1095 (#503334, patch from Richard Hult)
1097 2007-12-14 David Zeuthen <davidz@redhat.com>
1101 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1102 (g_mount_eject), (g_mount_eject_finish):
1104 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1105 (get_volume_for_uuid), (get_mount_for_uuid),
1106 (g_union_volume_monitor_class_init),
1107 (get_default_native_type_with_exclude), (get_default_native_type),
1108 (get_native_type), (update_native_type),
1109 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1110 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1111 (g_unix_mount_can_eject), (eject_unmount_cb),
1112 (eject_unmount_read_error), (eject_unmount_do),
1113 (g_unix_mount_unmount), (g_unix_mount_eject),
1114 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1115 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1116 (g_unix_mount_point_guess_can_eject):
1118 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1119 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1120 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1121 (g_unix_volume_mount), (g_unix_volume_eject),
1122 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1123 * gunixvolumemonitor.c: (get_volume_for_uuid),
1124 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1126 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1127 (g_volume_eject), (g_volume_eject_finish):
1129 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1130 (g_volume_monitor_get_mount_for_uuid):
1133 Provide eject() on both GMount and GVolume and utility functions
1134 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1135 ejected. Introduce the concept of UUID's and wire it into GVolume
1136 and GMount and provide API on GVolumeMonitor to find such
1137 instances. Also handle the case where an external
1138 GNativeVolumeMonitor fails to initialize. Lock around the
1139 _g_get_mount_for_mount_path() function such that volume monitor
1140 implementations won't have to do locking themselves.
1142 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1144 * gdesktopappinfo.c:
1150 * gvolume.h: Documentation updates
1152 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1155 * gfile.h: Doc updates
1157 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1160 * gdesktopappinfo.c: Use hash table iterators.
1162 2007-12-14 Alexander Larsson <alexl@redhat.com>
1165 * gfileattribute.[ch]:
1166 * gfileattribute-priv.h:
1167 Move GFileAttributeValue to a private header, as
1171 Make set_attribute take a type + a pointer instead
1172 of a GFileAttributeValue.
1175 Fix up for above changes.
1176 Add g_file_info_get_attribute_data to get
1177 all info in one call, g_file_info_get_attribute_status
1178 to get the status and g_file_info_get_attribute_as_string.
1182 * glocalfileinfo.[ch]:
1186 Make _guess_type static.
1188 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1191 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1192 made mkenums and friends use temporary files to avoid leaving
1193 empty generated files on failure (#503470).
1195 2007-12-14 Alexander Larsson <alexl@redhat.com>
1197 * gmountoperation.h:
1200 2007-12-14 Alexander Larsson <alexl@redhat.com>
1204 * gfileattribute.[ch]:
1207 * glocalfileoutputstream.c:
1208 * gmountoperation.[ch]:
1209 * goutputstream.[ch]:
1210 Clean up all flags enums to not have _FLAGS in them
1211 Make the names of some of the enums better.
1216 2007-12-14 Michael Natterer <mitch@imendio.com>
1218 * gio.symbols: fix g_io_scheduler symbol names.
1220 2007-12-14 Alexander Larsson <alexl@redhat.com>
1226 * gbufferedinputstream.h:
1227 * gbufferedoutputstream.h:
1230 * gdatainputstream.h:
1231 * gdataoutputstream.h:
1232 * gdesktopappinfo.h:
1233 * gdirectorymonitor.h:
1237 * gfileenumerator.h:
1240 * gfileinputstream.h:
1242 * gfilenamecompleter.h:
1243 * gfileoutputstream.h:
1244 * gfilterinputstream.h:
1245 * gfilteroutputstream.h:
1253 * gmemoryinputstream.h:
1254 * gmemoryoutputstream.h:
1256 * gmountoperation.h:
1259 * gsimpleasyncresult.h:
1261 * gunixinputstream.h:
1263 * gunixoutputstream.h:
1267 * inotify/Makefile.am:
1268 Only allow including <gio/gio.h> from apps
1270 2007-12-14 Alexander Larsson <alexl@redhat.com>
1272 * gioscheduler.[ch]:
1273 * gsimpleasyncresult.c:
1274 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1275 Split out the send_to_mainloop call into two versions instead
1276 of having the block argument.
1278 2007-12-13 Alexander Larsson <alexl@redhat.com>
1280 * gcancellable.[ch]:
1282 * gbufferedinputstream.c:
1283 * gfileenumerator.c:
1284 * gfileinputstream.c:
1285 * gfileoutputstream.c:
1289 g_push/pop_current_cancellable ->
1290 g_cancellable_push/pop_current
1292 2007-12-13 Alexander Larsson <alexl@redhat.com>
1296 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1298 2007-12-13 Alexander Larsson <alexl@redhat.com>
1300 * gmountoperation.h:
1301 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1303 2007-12-12 Alexander Larsson <alexl@redhat.com>
1306 Fix race condition when freeing proxy in
1307 g_io_job_send_to_mainloop().
1309 2007-12-12 Alexander Larsson <alexl@redhat.com>
1315 Make attribute namespace separator "::" instead of ":".
1316 Use - instead of _ as separator in attribute names.
1318 2007-12-12 Alexander Larsson <alexl@redhat.com>
1320 * gbufferedinputstream.h:
1321 * gbufferedoutputstream.h:
1322 * gdatainputstream.h:
1323 * gdataoutputstream.h:
1324 * gdirectorymonitor.h:
1325 * gfileenumerator.h:
1326 * gfileinputstream.h:
1328 * gfileoutputstream.h:
1329 * gfilterinputstream.h:
1330 * gfilteroutputstream.h:
1332 * glocalfileinputstream.h:
1333 * glocalfileoutputstream.h:
1334 * gmemoryinputstream.h:
1335 * gmemoryoutputstream.h:
1336 * gnativevolumemonitor.h:
1338 * gunixinputstream.h:
1339 * gunixoutputstream.h:
1342 s/parent/parent_instance/ in GObjects
1344 2007-12-12 Alexander Larsson <alexl@redhat.com>
1349 No need for padding for interfaces
1351 2007-12-12 Alexander Larsson <alexl@redhat.com>
1355 * gbufferedinputstream.c:
1356 * gbufferedoutputstream.c:
1359 * gdatainputstream.[ch]:
1360 * gdesktopappinfo.c:
1361 * gdirectorymonitor.c:
1363 * gfileattribute.[ch]:
1366 * gfileinputstream.h:
1367 * gfilemonitor.[ch]:
1368 * gfileoutputstream.[ch]:
1369 * gfilterinputstream.h:
1370 * gfilteroutputstream.h:
1373 * gloadableicon.[ch]:
1374 * gmemoryinputstream.c:
1375 * gmountoperation.c:
1377 Fix up a bunch of details in the docs.
1382 2007-12-11 David Zeuthen <davidz@redhat.com>
1384 Rework how volumes, drives and volume monitoring is
1385 done. Previosly the model was
1387 GDrive <1-1> GVolume
1389 where a GDrive instance represented a mount point and a GVolume
1390 instance represented a mounted file system. This patch changes it
1393 GDrive <1-N> GVolume <1-1> GMount
1395 where GMount now serves the purpose of the old GVolume and the new
1396 GVolume serves the purpose of the old GDrive. In addition the new
1397 GDrive interface is used to represent a collection of GVolume
1398 instances (typically partitions) and also contains utility to query
1399 the state of the physical drive the GDrive object represents (such
1400 as checking for media, polling the drive, ejecting the media etc.).
1402 Also implement mounting and unmounting in the Unix volume monitor
1403 backend. A subquent patch will introduce GDrive support for ejection
1407 * gdrive.c: (g_drive_is_media_check_automatic),
1408 (g_drive_is_media_removable), (g_drive_has_media),
1409 (g_drive_can_poll_for_media), (g_drive_eject),
1410 (g_drive_eject_finish), (g_drive_poll_for_media),
1411 (g_drive_poll_for_media_finish):
1413 * gfile.c: (g_file_find_enclosing_mount):
1416 * glocaldirectorymonitor.c:
1417 (g_local_directory_monitor_constructor), (mounts_changed):
1418 * glocalfile.c: (get_mount_info),
1419 (g_local_file_find_enclosing_mount),
1420 (g_local_file_file_iface_init):
1421 * gnativevolumemonitor.h:
1422 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1423 (get_connected_drives), (g_union_volume_monitor_class_init),
1424 (child_volume_added), (child_volume_removed),
1425 (child_volume_changed), (child_mount_added), (child_mount_removed),
1426 (child_mount_pre_unmount), (child_mount_changed),
1427 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1428 (g_union_volume_monitor_remove_monitor),
1429 (_g_mount_get_for_mount_path):
1430 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1431 (guess_system_internal), (_g_get_unix_mounts),
1432 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1433 (g_unix_mount_free), (g_unix_mount_compare),
1434 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1435 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1436 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1437 (type_to_icon), (g_unix_mount_guess_name),
1438 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1439 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1440 (_resolve_symlink), (_resolve_dev_root):
1442 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1443 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1444 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1445 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1446 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1447 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1448 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1449 (g_unix_volume_volume_iface_init):
1451 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1452 (get_mounts), (get_volumes), (get_connected_drives),
1453 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1454 (mountpoints_changed), (mounts_changed),
1455 (g_unix_volume_monitor_init),
1456 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1457 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1458 * gunixvolumemonitor.h:
1459 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1460 (g_volume_mount), (g_volume_mount_finish):
1462 * gvolumemonitor.c: (g_volume_monitor_class_init),
1463 (g_volume_monitor_get_connected_drives),
1464 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1467 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1469 * gmountoperation.h (GPasswordFlags): Close the gap
1471 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1473 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1475 * gdesktopappinfo.[hc]: Remove _-prefixes
1477 2007-12-10 Tor Lillqvist <tml@novell.com>
1479 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1482 2007-12-10 Alexander Larsson <alexl@redhat.com>
1484 * gfile.c (g_file_set_display_name):
1485 Don't hardcode '/' (#502727)
1487 2007-12-09 Hans Breuer <hans@breuer.org>
1489 * makefile.msc : follow lib naming convention
1490 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1491 for user and group name, tested with ../tests/gio-ls
1493 2007-12-09 A. Walton <awalton@svn.gnome.org>
1495 * gdesktopappinfo.c:
1501 * gfileenumerator.c:
1506 * gmemoryinputstream.c:
1507 * gmemoryoutputstream.c:
1509 * gsimpleasyncresult.c:
1510 More documentation cleanup and filling in missing information, bringing
1511 GIO to 99% symbol coverage.
1513 2007-12-08 Hans Breuer <hans@breuer.org>
1515 [gio compiles and links on win32, not sure how much already works]
1516 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1517 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1518 base on win32 API; prefer g_lstat() over lstat(); instead of
1519 localtime_r() use an all GLib implementation on win32;
1520 get_mount_info() still needs a win32 specifc implementation
1521 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1522 win32_get_file_user_info to get owner/group info without uid/gid
1523 * glocalfileinputstream.c : include <io.h> on win32
1524 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1525 definition, use g_win32_ftruncate() for G_OS_WIN32
1526 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1527 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1528 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1529 * makefile.msc : updated
1531 2007-12-07 Alexander Larsson <alexl@redhat.com>
1533 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1534 Avoid warning spew if error == NULL
1536 2007-12-07 Alexander Larsson <alexl@redhat.com>
1539 Update docs wrt etags
1541 2007-12-06 Alexander Larsson <alexl@redhat.com>
1544 Include sys/types.h for dev_t (#501919)
1546 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1550 Make abicheck and pltcheck pass.
1552 2007-12-05 Alexander Larsson <alexl@redhat.com>
1555 * giomodule-priv.h: Added.
1556 * glocaldirectorymonitor.c:
1557 * glocalfilemonitor.c:
1558 * gunionvolumemonitor.c:
1560 Actually add the declaration of _g_io_modules_ensure_loaded
1562 2007-12-05 Alexander Larsson <alexl@redhat.com>
1564 * gdatainputstream.c:
1569 * glocaldirectorymonitor.c:
1570 * glocalfilemonitor.c:
1571 * gunionvolumemonitor.c:
1573 Make g_io_modules_ensure_loaded a private function and
1574 don't pass in the dirname. This means we can do magic
1575 directory finding in the win32 version.
1576 Export the actual load-modules-in-directory code so that
1577 gvfs can reuse that.
1579 2007-12-05 Alexander Larsson <alexl@redhat.com>
1581 * gbufferedinputstream.c:
1582 * gbufferedoutputstream.c:
1585 * gfileenumerator.[ch]:
1586 * gfileinputstream.c:
1587 * gfileoutputstream.[ch]:
1588 * gfilterinputstream.c:
1589 * gfilteroutputstream.c:
1590 * ginputstream.[ch]:
1592 * glocalfileenumerator.c:
1593 * glocalfileinputstream.c:
1594 * glocalfileoutputstream.c:
1595 * gmemoryinputstream.c:
1596 * gmemoryoutputstream.c:
1597 * goutputstream.[ch]:
1600 * gunixinputstream.c:
1601 * gunixoutputstream.c:
1602 Rename all struct members named:
1603 read, write, close, truncate, or mount
1604 to foo_fn, as these are reserved names
1605 and could be defined as macros in libc.
1608 2007-12-04 Alexander Larsson <alexl@redhat.com>
1611 (g_output_stream_close):
1612 Only call flush if non-null.
1614 2007-11-30 Dan Winship <danw@gnome.org>
1616 * ginputstream.c (g_input_stream_set_pending): Make this take a
1617 GError and return a gboolean, and do the "outstanding operation"
1618 check (and the "stream is already closed" check) itself.
1619 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1621 * goutputstream.c (g_output_stream_set_pending)
1622 (g_output_stream_clear_pending): Likewise
1624 * gbufferedinputstream.c:
1625 * gfileinputstream.c:
1626 * gfileoutputstream.c: Update for that
1628 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1629 Like g_simple_async_report_error_in_idle, but takes a GError
1630 rather than building one.
1632 2007-11-30 Dan Winship <danw@gnome.org>
1634 * goutputstream.c: Don't cheat and unset the "pending" flag around
1635 inner calls. Instead, call the class method directly rather than
1636 the wrapper function that checks "pending"
1638 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1640 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1642 2007-12-03 Hans Breuer <hans@breuer.org>
1644 [start of port to win32/msvc]
1645 * gcancellable.c : HAVE_UNIST_H and _pipe()
1646 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1647 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1648 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1650 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1651 * glocalvfs.c : use HAVE_PWD_H
1652 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1653 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1654 * Makefile.am : added to EXTRA_DIST
1656 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1658 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1661 2007-12-03 Alexander Larsson <alexl@redhat.com>
1664 Handle OSX style xattrs API (#500506)
1666 2007-12-03 Alexander Larsson <alexl@redhat.com>
1670 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1672 2007-12-02 A. Walton <awalton@svn.gnome.org>
1676 Documentation accuracy fixes.
1678 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1680 * gioenumtypes.c.template: Fix typo.
1682 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1684 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1686 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1688 * gdirectorymonitor.c:
1689 * gfilemonitor.c: Add properties
1691 * gbufferedoutputstream.c: Don't mark buffer-size property
1694 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1696 * gbufferedoutputstream.c: Add auto-grow property.
1698 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1700 * *.c: Unify the capitalization of section headings.
1702 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1704 * gmountoperation.c: Add properties
1706 * gdatainputstream.c: Turn byte-order and newline-type into
1709 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1711 * gioenumtypes.[hc].template: Templates for enum registration
1713 * Makefile.am: Generate gioenumtypes.[hc]
1715 * gio.h: Include gioenumtypes.h
1717 * gfile.h: Add some explicit nicks.
1719 * gio.symbols: Add new symbols
1721 * pltcheck.sh: Adjust
1723 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1725 * *.c: Explain etags and link to the explanation
1727 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1729 * *.c: Explain I/O priority.
1731 * *.c: More coding style fixes.
1733 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1735 * gasyncresult.c: Add another paragraph to the intro,
1736 adjust coding style of example.
1738 2007-11-29 A. Walton <awalton@svn.gnome.org>
1741 Fixes unknown meaning in GAppLaunchContext docs.
1743 Clarify asynchronous ops.
1745 Fix entity tag docs.
1748 Provides missing gtk-doc section, fixes API docs slighly.
1749 * gsimpleasyncresult.c:
1750 Fill in missing info in docs.
1751 * gunixinputstream.c:
1752 * gunixoutputstream.c:
1753 Be more expressive in short description.
1755 Remove gtk-doc stubs for non-public API.
1757 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1759 * *.c: Coding style fixups
1761 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1763 * inotify/inotify-helper.c: Don't export the lock from libgio.
1765 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1768 * abicheck.sh: Fix copy-and-paste leftovers
1770 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1772 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1774 2007-11-28 Alexander Larsson <alexl@redhat.com>
1778 Removed unnecessary file
1780 * gdesktopappinfo.[ch]:
1783 * glocaldirectorymonitor.[ch]:
1785 * glocalfileenumerator.[ch]:
1786 * glocalfileinputstream.[ch]:
1787 * glocalfilemonitor.[ch]:
1788 * glocalfileoutputstream.[ch]:
1790 * gnativevolumemonitor.c:
1791 * gpollfilemonitor.[ch]:
1792 * gunionvolumemonitor.[ch]:
1795 * gunixvolumemonitor.[ch]:
1798 * inotify/ginotifydirectorymonitor.[ch]:
1799 * inotify/ginotifyfilemonitor.[ch]:
1800 * inotify/inotify-helper.c:
1801 Append _ to all internal functions
1805 Export symbols needed for modules
1807 2007-11-28 Alexander Larsson <alexl@redhat.com>
1810 * abicheck.sh: Added.
1811 * makegioalias.pl: Added.
1812 * pltcheck.sh: Added.
1813 * gio.symbols: Added.
1816 Initial work on adding symbol handling.
1819 Correct ifdef guard name
1822 * inotify/Makefile.am:
1823 * xdgmime/Makefile.am:
1824 Include toplevel Makefile.decl
1826 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1828 * gcontenttype.c: Move doc comments to the unix section.
1830 * *.[hc]: More trivial doc corrections.
1832 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1834 * gpollfilemonitor.c:
1838 * gdesktopappinfo.c:
1843 * gdatainputstream.c:
1844 * gdatainputstream.h:
1845 * gdataoutputstream.c:
1846 * gdataoutputstream.h:
1847 * gfileinfo.h: Doc cleanups
1849 2007-11-28 Andre Klapper <a9016009@gmx.de>
1851 * gdesktopappinfo.c: Fix a typo.
1853 2007-11-27 Andre Klapper <a9016009@gmx.de>
1855 * glocalfileoutputstream.c: Fix a typo.
1857 2007-11-27 Alexander Larsson <alexl@redhat.com>
1860 Don't include removed headers
1862 2007-11-27 Alexander Larsson <alexl@redhat.com>
1865 * gsocketinputstream.[ch]: Removed.
1866 * gsocketoutputstream.[ch]: Removed.
1867 * gunixinputstream.[ch]: Added.
1868 * gunixoutputstream.[ch]: Added.
1869 Renamed GSocket*Stream to GUnix*Stream and made
1870 it unix-only, since its not really only for sockets
1871 and it only works on unix (but is highly useful there).
1873 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1879 * gbufferedinputstream.c:
1880 * gbufferedinputstream.h:
1881 * gbufferedoutputstream.c:
1882 * gbufferedoutputstream.h:
1886 * gdatainputstream.c:
1887 * gdatainputstream.h:
1888 * gdataoutputstream.c:
1889 * gdataoutputstream.h:
1890 * gdirectorymonitor.c:
1891 * gdirectorymonitor.h:
1898 * gfileenumerator.c:
1899 * gfileenumerator.h:
1904 * gfileinputstream.c:
1905 * gfileinputstream.h:
1908 * gfilenamecompleter.c:
1909 * gfilenamecompleter.h:
1910 * gfileoutputstream.c:
1911 * gfileoutputstream.h:
1912 * gfilterinputstream.c:
1913 * gfilterinputstream.h:
1914 * gfilteroutputstream.c:
1915 * gfilteroutputstream.h:
1928 * glocalfileoutputstream.c:
1929 * gmemoryinputstream.c:
1930 * gmemoryinputstream.h:
1931 * gmemoryoutputstream.c:
1932 * gmemoryoutputstream.h:
1933 * gmountoperation.c:
1934 * gmountoperation.h:
1937 * gpollfilemonitor.c:
1940 * gsimpleasyncresult.c:
1941 * gsimpleasyncresult.h:
1942 * gsocketinputstream.c:
1943 * gsocketinputstream.h:
1944 * gsocketoutputstream.c:
1945 * gsocketoutputstream.h:
1952 * gunixvolumemonitor.c:
1961 Bumps documentation to 93% symbol coverage, touching most
1962 of the public files. Fixes broken function documentation prototypes.
1963 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1964 gtk-doc headers in private files.
1966 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1968 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1969 (g_buffered_input_stream_read_byte):
1970 * gbufferedinputstream.h:
1971 New functions for efficient access to buffer and simple single byte
1974 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1975 (g_data_input_stream_read_until):
1976 * gdatainputstream.h:
1977 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1978 read_until with multiple stop chars.
1980 2007-11-27 Alexander Larsson <alexl@redhat.com>
1984 * inotify/Makefile.am:
1985 Use the user-specified giomoduledir
1987 2007-11-27 Alexander Larsson <alexl@redhat.com>
1991 Add catch-all gio.h header
1992 Don't install gdummyfile.h
1994 2007-11-26 Alexander Larsson <alexl@redhat.com>
1996 * Makefile.am (gioinclude_HEADERS):
1997 Remove trailing whitespace
1999 2007-11-26 Alexander Larsson <alexl@redhat.com>
2001 Merge gio-standalone into glib
2003 2007-11-25 Christian Kellner <gicmo@gnome.org>
2005 * gio/goutputstream.c:
2006 Fix small mistake in the docs.
2008 2007-11-21 Christian Persch <chpe@gnome.org>
2010 * gio/glocalfile.c: (g_local_file_trash):
2011 Convert filenames to UTF-8 for GError.
2012 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2013 as per xdg base dir spec.
2015 2007-11-21 Christian Persch <chpe@gnome.org>
2017 * gio/gdesktopappinfo.c:
2018 Use that g_key_file_to_data cannot fail.
2020 Use stock defines for the key file group and key names.
2023 2007-11-21 Alexander Larsson <alexl@redhat.com>
2026 (copy_stream_with_progress):
2027 Make sure we do a final progress callback with
2028 the full total size.
2030 2007-11-21 Alexander Larsson <alexl@redhat.com>
2033 Export g_file_copy_attributes
2034 Remove padding as its not needed for interfaces
2036 2007-11-20 Alexander Larsson <alexl@redhat.com>
2041 Add G_IO_ERROR_WOULD_MERGE for
2042 copy/move dir on dir with overwrite.
2044 2007-11-20 Alexander Larsson <alexl@redhat.com>
2047 * gio/glocalfileinfo.c:
2048 Add COPY_NAME (this is an optional
2049 non-modified utf8 version of the name) that
2052 2007-11-20 Alexander Larsson <alexl@redhat.com>
2054 * gio/glocalfileenumerator.c:
2055 Report errors as GIOError, not GFileError
2057 2007-11-16 Alexander Larsson <alexl@redhat.com>
2059 * gio/glocalfileoutputstream.c:
2060 * gio/gwin32appinfo.c:
2061 Fix typos in strings.
2062 Patch from Luca Ferretti <elle.uca@libero.it>
2064 2007-11-15 Alexander Larsson <alexl@redhat.com>
2067 Post release version bump
2069 === gio-standalone 0.1.2 ===
2071 2007-11-15 Alexander Larsson <alexl@redhat.com>
2073 * docs/reference/gio/Makefile.am:
2074 Fix up distcheck by removing weird
2080 2007-11-14 Alexander Larsson <alexl@redhat.com>
2082 * gio/gdesktopappinfo.c:
2083 * gio/glocaldirectorymonitor.c:
2085 * gio/glocalfileinfo.c:
2086 * gio/inotify/inotify-sub.c:
2087 * programs/gio-cat.c:
2088 * programs/gio-copy.c:
2089 * programs/gio-info.c:
2090 * programs/gio-ls.c:
2091 * programs/gio-monitor-dir.c:
2092 * programs/gio-monitor-file.c:
2093 * programs/gio-mount.c:
2094 * programs/gio-move.c:
2095 * programs/gio-rm.c:
2096 * programs/gio-save.c:
2097 * programs/gio-trash.c:
2098 Leak fixes from Kjartan Maraas
2100 2007-11-14 Alexander Larsson <alexl@redhat.com>
2102 * gio/fam/fam-helper.c:
2104 * gio/glocalfileinfo.c:
2108 * gio/inotify/inotify-diag.c:
2109 * gio/inotify/inotify-kernel.c:
2110 Various code cleanups from Kjartan Maraas
2112 2007-11-14 Alexander Larsson <alexl@redhat.com>
2114 * gio/gioscheduler.c:
2116 Set up threadpool so that we cache 2 unused
2117 idle threads for at 15 secs. This means we
2118 will reuse thread-local data (like dbus connections)
2121 2007-11-14 Alexander Larsson <alexl@redhat.com>
2123 * gio/fam/fam-helper.c:
2124 * gio/fam/gfamdirectorymonitor.c:
2125 * gio/fam/gfamfilemonitor.c:
2127 * gio/gcontenttype.c:
2128 * gio/gdatainputstream.c:
2129 * gio/gdataoutputstream.c:
2133 * gio/gfileattribute.h:
2134 * gio/gfileenumerator.c:
2136 * gio/ginputstream.c:
2139 * gio/glocalfileinfo.c:
2140 * gio/goutputstream.c:
2141 * gio/gpollfilemonitor.c:
2142 * gio/gsimpleasyncresult.c:
2143 * gio/gunixmounts.c:
2144 * gio/gunixmounts.h:
2145 * gio/inotify/ginotifydirectorymonitor.c:
2146 * gio/inotify/ginotifyfilemonitor.c:
2147 * gio/inotify/inotify-diag.c:
2148 * gio/inotify/inotify-kernel.c:
2149 * gio/inotify/inotify-path.c:
2151 * gio/test-streams.c:
2152 * programs/gio-info.c:
2153 * programs/gio-monitor-dir.c:
2154 * programs/gio-monitor-file.c:
2155 Various code cleanups from Kjartan Maraas
2157 2007-11-13 Alexander Larsson <alexl@redhat.com>
2160 Handle the uri-scheme calls for dummy files
2162 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2164 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2165 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2166 to avoid clash with the C++ keyword.
2168 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2170 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2171 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2173 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2175 * gio/glocaldirectorymonitor.c:
2176 * gio/glocalfilemonitor.c:
2177 * gio/gunionvolumemonitor.c:
2178 Don't use g_once_init_*() for initializations that could fail and
2179 could leave the initialization variable set to 0 but use GOnce.
2180 This prevents a deadlock on the second call when trying to create
2181 a monitor and no monitor type is available. Thanks to Sven Herzberg
2184 2007-11-11 Sven Herzberg <sven@imendio.com>
2186 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2187 #ifdef (make it work on MacOS X again)
2189 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2191 Fixes Changelog for last two commits (sorry guys).
2193 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2195 * gio/gbufferedinputstream.c:
2196 * gio/gdatainputstream.c:
2198 * gio/gfileoutputstream.c:
2199 * gio/gfilterinputstream.c:
2200 * gio/glocalfileinputstream.c:
2203 More consistency fixes in g*stream.c files.
2204 Significant clean of gfile's documentation, filling in of
2205 asynchronous operations documentation.
2207 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2209 * gio/gasyncresult.c:
2210 * gio/gbufferedinputstream.c:
2211 * gio/gbufferedoutputstream.c:
2212 * gio/gcancellable.c:
2213 * gio/gcontenttype.c:
2214 * gio/gdatainputstream.c:
2215 * gio/gdataoutputstream.c:
2216 * gio/gdesktopappinfo.c:
2219 * gio/gfileattribute.c:
2220 * gio/gio/gfileenumerator.c:
2222 * gio/gfileinputstream.c:
2223 * gio/gfilemonitor.c:
2224 * gio/gfileoutputstream.c:
2225 * gio/ginputstream.c:
2227 * gio/gioscheduler.c:
2228 * gio/gloadableicon.c:
2229 * gio/glocalfileoutputstream.c:
2230 * gio/gmemoryoutputstream.c:
2231 * gio/gmountoperation.c:
2232 * gio/goutputstream.c:
2234 * gio/gsimpleasyncresult.c:
2235 * gio/gunionvolumemonitor.c:
2236 * gio/gunixmounts.c:
2237 * gio/gunixvolume.c:
2241 * gio/gvolumemonitor.c:
2242 Updated documentation stubs, working towards consistency and
2245 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2247 * gio/gmemoryoutputstream.c:
2248 * gio/gmemoryoutputstream.h:
2249 Change g_memory_output_stream_set_free_on_close() to
2250 g_memory_output_stream_set_free_data() as this makes more sense and
2251 is more consistent with GMemoryInputStream.
2253 2007-11-07 Alexander Larsson <alexl@redhat.com>
2260 Change how we find the default vfs so that
2261 we can handle a gvfs failing to init
2263 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2265 * gio/gbufferedoutputstream.c:
2266 * gio/gdatainputstream.c:
2267 * gio/gdataoutputstream.c:
2268 * gio/gfileinputstream.c:
2269 * gio/gfileoutputstream.c:
2270 * gio/gfilterinputstream.c:
2271 * gio/gfilteroutputstream.c:
2272 * gio/ginputstream.c:
2273 * gio/gmemoryinputstream.c:
2274 * gio/gmemoryoutputstream.c:
2275 * gio/goutputstream.c:
2276 * gio/gsimpleasyncresult.c:
2277 * gio/gsocketinputstream.c:
2278 * gio/gsocketoutputstream.c:
2279 Add guards to the remaining public functions, add a TODO for
2280 an unimplemented function and remove some useless guards.
2282 2007-11-07 Alexander Larsson <alexl@redhat.com>
2285 Autoconf checks for the various types of
2286 getpwuid_r and getgrgid_r
2288 * gio/glocalfileinfo.c:
2289 Use the autoconf checks from above
2291 2007-11-07 Alexander Larsson <alexl@redhat.com>
2294 (g_local_file_query_filesystem_info):
2295 Some fixes for the statvfs case
2297 2007-11-07 Alexander Larsson <alexl@redhat.com>
2300 (g_local_file_query_filesystem_info):
2301 Pick the "best" of statfs / statvfs for the system
2302 if both are availible.
2304 2007-11-07 Alexander Larsson <alexl@redhat.com>
2306 Solaris fixes from Halton.Huo@Sun.COM:
2313 * gio/glocalfileinfo.c:
2314 Fix for solaris definition of getpwuid_r
2316 * gio/test-streams.c:
2317 Use G_GNUC_PRETTY_FUNCTION
2319 2007-11-07 Alexander Larsson <alexl@redhat.com>
2321 * gio/gdesktopappinfo.c:
2322 (update_default_list):
2323 Remove double semicolon.
2324 Patch from Jens Granseuer
2326 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2328 * docs/reference/gio/gio-sections.txt:
2329 * gio/gbufferedinputstream.c:
2330 * gio/gbufferedinputstream.h:
2331 * gio/gdatainputstream.c:
2332 * gio/gfileenumerator.c:
2333 * gio/gioscheduler.c:
2334 * gio/gunionvolumemonitor.c:
2336 * programs/gio-save.c:
2337 Fix typo: availible -> available. Unfortuntely this breaks API
2338 and ABI as g_buffered_input_stream_get_available() was renamed.
2340 * gio/gunixmounts.c:
2341 * gio/gbufferedinputstream.c:
2342 Add guards for public functions.
2344 2007-11-06 Ross Burton <ross@openedhand.com>
2346 * docs/reference/gio/Makefile.am:
2347 Fix invalid += usage which automake 1.10 doesn't like.
2349 2007-11-06 Alexander Larsson <alexl@redhat.com>
2352 (g_app_launch_context_class_init):
2355 Patch from Ross Burton
2357 2007-11-06 Alexander Larsson <alexl@redhat.com>
2360 Post release version bump
2362 === gio-standalone 0.1.1 ===
2364 2007-11-06 Alexander Larsson <alexl@redhat.com>
2367 Bump version to 0.1.1
2369 * gio/gsimpleasyncresult.c:
2370 (g_simple_async_result_set_from_error):
2371 Remove bogus g_return_if_fail
2373 2007-11-06 Alexander Larsson <alexl@redhat.com>
2376 The name is gio-standalone
2379 Add top src/builddir to includedir
2381 2007-11-06 Alexander Larsson <alexl@redhat.com>
2383 * docs/reference/gio/gio-sections.txt:
2385 * gio/gbufferedinputstream.c:
2386 * gio/gbufferedoutputstream.c:
2387 * gio/gcancellable.c:
2388 * gio/gdatainputstream.h:
2389 * gio/gdataoutputstream.c:
2390 * gio/gdataoutputstream.h:
2391 * gio/gdirectorymonitor.c:
2393 * gio/gfileattribute.c:
2394 * gio/gfileattribute.h:
2395 * gio/gfileenumerator.c:
2396 * gio/gfileenumerator.h:
2399 * gio/gfileinputstream.h:
2400 * gio/gfilemonitor.c:
2401 * gio/gfileoutputstream.h:
2402 * gio/glocalfilemonitor.h:
2403 * gio/glocalfileoutputstream.h:
2404 * gio/gmemoryinputstream.c:
2405 * gio/gmemoryoutputstream.c:
2406 * gio/gmountoperation.c:
2407 * gio/goutputstream.c:
2408 * gio/goutputstream.h:
2410 * gio/gsimpleasyncresult.c:
2411 * gio/gunixmounts.c:
2412 * gio/gunixmounts.h:
2414 * gio/inotify/inotify-helper.c:
2415 Fix gtk-doc warnings
2417 Patch from Ross Burton
2419 2007-11-06 Alexander Larsson <alexl@redhat.com>
2421 * gio/gfilenamecompleter.c:
2422 (g_filename_completer_get_completions):
2425 * gio/gunixvolume.c:
2426 Remove unused function
2428 Patches from Ross Burton
2430 2007-11-06 Alexander Larsson <alexl@redhat.com>
2435 Padding not needed for interfaces
2437 2007-11-06 Alexander Larsson <alexl@redhat.com>
2439 * gio/gfilemonitor.c:
2443 Make giotypes.h an internal file
2446 * gio/gbufferedinputstream.h:
2447 * gio/gbufferedoutputstream.h:
2448 * gio/gcancellable.h:
2449 * gio/gdatainputstream.h:
2450 * gio/gdataoutputstream.h:
2451 * gio/gdirectorymonitor.c:
2452 * gio/gdirectorymonitor.h:
2457 * gio/gfileattribute.h:
2458 * gio/gfileenumerator.h:
2463 * gio/gfilemonitor.c:
2464 * gio/gfilemonitor.h:
2465 * gio/gfilenamecompleter.c:
2466 * gio/gfilenamecompleter.h:
2467 * gio/gfilterinputstream.h:
2468 * gio/gfilteroutputstream.h:
2469 * gio/ginputstream.h:
2470 * gio/gmemoryinputstream.h:
2471 * gio/gmemoryoutputstream.h:
2472 * gio/gmountoperation.c:
2473 * gio/gmountoperation.h:
2474 * gio/gnativevolumemonitor.c:
2475 * gio/goutputstream.h:
2478 * gio/gsimpleasyncresult.c:
2479 * gio/gsimpleasyncresult.h:
2480 * gio/gsocketinputstream.h:
2481 * gio/gsocketoutputstream.h:
2482 * gio/gthemedicon.c:
2483 * gio/gthemedicon.h:
2487 * gio/gvolumemonitor.c:
2488 * gio/gvolumemonitor.h:
2489 Add padding in classes where it seems useful
2490 Don't include giotypes.h from public headers
2491 Move in Class definitions into c file where possible
2496 2007-11-06 Alexander Larsson <alexl@redhat.com>
2498 * docs/reference/gio/gio-docs.xml:
2499 Better structure for API docs
2501 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2504 * gio/gloadableicon.c:
2505 * gio/gsimpleasyncresult.c:
2506 * gio/gthemedicon.c:
2507 Add some more guards to public functions. Only files missing are now
2510 2007-11-06 Alexander Larsson <alexl@redhat.com>
2512 * docs/reference/gio/gio-docs.xml:
2513 Remove old files, add missing ones
2515 2007-11-06 Alexander Larsson <alexl@redhat.com>
2517 * docs/reference/gio/gio-sections.txt:
2520 Hide implementation classes
2522 * gio/gdriveprivate.h:
2523 * gio/gvolumeprivate.h:
2524 Remove non-existing function declarations
2526 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2529 Fix compilation warnings and add guards to the new functions.
2531 * gio/gasyncresult.c:
2533 Add guards to the public functions.
2536 Implement get_path().
2538 2007-11-06 Alexander Larsson <alexl@redhat.com>
2540 * gio/gfilenamecompleter.c:
2541 Make g_filename_completer_get_completions
2542 return char ** instead of GList for
2545 * docs/reference/gio/gio-docs.xml:
2546 * docs/reference/gio/gio-sections.txt:
2548 * gio/gasyncresult.c:
2549 * gio/gbufferedinputstream.c:
2550 * gio/gbufferedoutputstream.c:
2551 * gio/gcancellable.c:
2552 * gio/gcontenttype.c:
2553 * gio/gdatainputstream.c:
2554 * gio/gdataoutputstream.c:
2555 * gio/gdesktopappinfo.c:
2556 * gio/gdirectorymonitor.c:
2560 * gio/gfileattribute.c:
2561 * gio/gfileenumerator.c:
2564 * gio/gfileinputstream.c:
2565 * gio/gfilemonitor.c:
2566 * gio/gfilenamecompleter.c:
2567 * gio/gfilenamecompleter.h:
2568 * gio/gfileoutputstream.c:
2569 * gio/gfilterinputstream.c:
2571 * gio/ginputstream.c:
2573 * gio/gioscheduler.c:
2574 * gio/gloadableicon.c:
2575 * gio/glocaldirectorymonitor.c:
2577 * gio/glocalfileinputstream.c:
2578 * gio/glocalfilemonitor.c:
2579 * gio/glocalfileoutputstream.c:
2581 * gio/gmemoryinputstream.c:
2582 * gio/gmemoryoutputstream.c:
2583 * gio/gmountoperation.c:
2584 * gio/goutputstream.c:
2585 * gio/gpollfilemonitor.c:
2587 * gio/gsimpleasyncresult.c:
2588 * gio/gsocketinputstream.c:
2589 * gio/gsocketoutputstream.c:
2590 * gio/gthemedicon.c:
2591 * gio/gunionvolumemonitor.c:
2593 * gio/gunixmounts.c:
2594 * gio/gunixvolume.c:
2595 * gio/gunixvolumemonitor.c:
2599 * gio/gvolumemonitor.c:
2600 * gio/gwin32appinfo.c:
2601 Add (mostly stub) doc strings to public functions.
2602 Patch from Andrew Walton (awalton@gmail.com)
2604 2007-11-06 Alexander Larsson <alexl@redhat.com>
2606 * gio/gappinfo.[ch]:
2607 Added GAppLaunchContext object and pass that to launch.
2608 This allows simple implementation of both
2609 launch-on-screen and startup notification via a gtk+
2610 subclass of GAppLaunchContext
2612 * gio/gdesktopappinfo.c:
2613 Implement GAppLaunchContext API
2615 * gio/gwin32appinfo.c:
2618 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2620 * gio/gmountoperation.c:
2621 Add some guards to GMountOperation's public functions.
2623 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2627 * gio/gcancellable.c:
2628 * gio/gdirectorymonitor.c:
2630 * gio/gfileenumerator.c:
2631 * gio/gfilemonitor.c:,
2632 * gio/gfilenamecompleter.c:
2635 * gio/gioscheduler.c:
2639 * gio/gvolumemonitor.c:
2640 Add even more guards to various public functions.
2642 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2645 Add guards to the public functions of GAppInfo.
2647 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2649 * gio/gcontenttype.c:
2650 Add some more guards for public functions.
2652 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2654 * gio/fam/fam-module.c:
2655 * gio/fam/gfamdirectorymonitor.c:
2656 * gio/fam/gfamdirectorymonitor.h:
2657 * gio/fam/gfamfilemonitor.c:
2658 * gio/fam/gfamfilemonitor.h:
2659 * gio/inotify/ginotifydirectorymonitor.c:
2660 * gio/inotify/ginotifydirectorymonitor.h:
2661 * gio/inotify/ginotifyfilemonitor.c:
2662 * gio/inotify/ginotifyfilemonitor.h:
2663 Add proper copyright information and remove an unused variable
2664 in the GInotifyFileMonitor constructor.
2666 * gio/gcancellable.c:
2667 Add a guard for a public function and an assertion to prevent
2668 an undefined program state.
2670 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2672 * gio/gfileattribute.c:
2673 Don't run into an assertion if the given attribute value is NULL
2674 in g_file_attribute_value_get_*() but instead return a fallback
2675 value that makes sense in most situations. Passing them a attribute
2676 value with the wrong type will still run into an assertion.
2678 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2680 * gio/gfileattribute.c:
2682 Add even more guards to the public functions. Also fix the refcounting
2683 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2684 let g_file_info_list_attributes() filter the attributes by namespace
2685 instead of simply ignoring the namespace parameter.
2687 2007-11-03 Sven Herzberg <sven@imendio.com>
2689 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2690 (This makes gio work on MacOS X again)
2692 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2695 Build the gio subdirectory before the docs. Otherwise the build will
2698 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2699 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2700 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2701 Add guards to the public functions.
2703 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2705 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2706 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2707 to prevent a compiler warning.
2709 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2710 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2711 return something in the non-void function find_topdir_for().
2713 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2720 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2722 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2723 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2724 * gwin32appinfo.c (g_win32_app_info_launch):
2725 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2726 envp_for_startup_id, g_desktop_app_info_launch,
2727 g_desktop_app_info_launch_uris):
2729 Give an opaque 'startup_id' string instead of 'envp'.
2730 Support empty file lists for launching new windows.
2731 Fix infinite recursion bug when launching URIs.
2733 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2736 Add guard to the new g_file_get_uri_scheme() function.
2738 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2741 Convert a g_return_val_if_fail() to setting the GError instead as
2742 otherwise applications have to verify the parameter before otherwise
2743 and the parameter might come directly from the user.
2745 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2747 * gio/inotify/ginotify*.[ch]:
2748 Add missing copyright information.
2750 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2753 Add guards in the beginning of public functions to check for valid
2754 parameters and fix a bug in copy_stream_with_progress() that could've
2755 caused writing less bytes than reading.
2756 * gio/glocalfileinfo.c:
2757 Check for a NULL parameter and set the GError accordingly then.
2758 * gio/goutputstream.c:
2759 Fix the same bug as in gfile.c that could've caused writing less bytes
2760 than reading in g_output_stream_real_splice().
2762 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2765 Use the correct gvolumeprivate.h naming
2767 2007-11-01 Christian Kellner <gicmo@gnome.org>
2770 Remove leftover "$(daemon_sources)" entry.
2772 2007-11-01 Christian Kellner <gicmo@gnome.org>
2777 Add copyright information to source files.
2779 2007-11-01 Alexander Larsson <alexl@redhat.com>
2783 Add g_file_get_uri_scheme
2785 2007-11-01 Alexander Larsson <alexl@redhat.com>
2788 * gio/gdesktopappinfo.c:
2789 * gio/gwin32appinfo.c:
2790 Add g_app_info_get_default_for_uri_scheme.
2792 2007-11-01 Alexander Larsson <alexl@redhat.com>
2795 Correct filename for gdriveprivate.h
2797 2007-10-31 Alexander Larsson <alexl@redhat.com>
2800 Rename id:value to id:file
2803 * gio/glocalfileinfo.c:
2806 2007-10-31 Alexander Larsson <alexl@redhat.com>
2808 * gio/gunixvolume.c:
2810 Remove g_volume_get_platform_id, as thats not
2811 needed with the simpler union volume monitor
2813 2007-10-31 Alexander Larsson <alexl@redhat.com>
2816 * gio/guniondrive.[ch]: Removed.
2817 * gio/gunionvolume.[ch]: Removed.
2818 Remove GUnionDrive/Volume
2820 * gio/gunionvolumemonitor.c:
2821 Simplify union volume monitor, now we
2822 only have one native volume monitor and
2823 we use the actual volumes/drives from the
2824 child monitors instead of wrapping them
2826 * gio/gnativevolumemonitor.[ch]:
2827 Base class for native volume monitors.
2828 Includes priority and get_volume_for_mountpoint
2831 Add g_file_find_enclosing_volume
2834 Remove volume name fs attribute
2835 Add readonly fs attribute
2838 Implement readonly attribute
2839 remove volume name attribute
2840 Implement find_enclosing volume
2842 * gio/gunixmounts.c:
2843 Add a volume for "/".
2845 * gio/gunixvolume.[ch]:
2846 Set better name for /
2848 * gio/gunixvolumemonitor.[ch]:
2849 Derive from GNativeVolumeMonitor
2850 Implement get_volume_for_mountpoint
2853 GVolume typedef moved to gfile.h
2855 * gio/gvolumeprivate.h:
2856 Add g_volume_get_for_mount_path
2858 2007-10-31 Alexander Larsson <alexl@redhat.com>
2860 * gio/gunixmounts.[ch]:
2861 Add cache info to unix mount listers
2862 Make getmntent use threadsafe
2863 Add is_system_internal attribute for GUnixMount
2865 * gio/gunixvolume.c:
2866 (g_unix_volume_new):
2867 Use is_system_internal instead of own code
2869 * gio/glocaldirectorymonitor.c:
2870 * gio/gunixvolumemonitor.c:
2871 Update to new gunixmounts API
2876 2007-10-30 Alexander Larsson <alexl@redhat.com>
2879 Add volume name fsinfo attribute
2882 Read volume name info
2884 * gio/gunionvolumemonitor.c:
2885 Fix infinite loops when finalizing a union volume monitor
2887 2007-10-30 Alexander Larsson <alexl@redhat.com>
2889 * gio/goutputstream.[ch]:
2890 Add splice() with default implementation
2892 * gio/gsocketoutputstream.c:
2893 (g_socket_output_stream_write):
2894 Return error on cancellation correctly.
2896 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2898 * gio/glocalfile.c (g_local_file_trash):
2899 Do not leak a string.
2901 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2903 * gio/gfile.c (g_file_load_contents):
2904 Unref the stream after closing it.
2906 2007-10-25 Alexander Larsson <alexl@redhat.com>
2908 * gio/gioscheduler.h:
2911 2007-10-25 Alexander Larsson <alexl@redhat.com>
2915 Add g_file_has_uri_scheme and implement for local files
2917 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2919 * gio/gdesktopappinfo.c: do not leak a string.
2921 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2923 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2924 (g_local_directory_monitor_new):
2925 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2926 (g_local_file_monitor_new):
2927 Only look for the monitor type that should be used the first time
2928 and use g_qsort_with_data() instead of our own bubble sort
2931 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2934 * gio/fam/Makefile.am:
2935 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2936 * gio/fam/fam-helper.h:
2937 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2938 * gio/fam/gfamdirectorymonitor.c:
2939 * gio/fam/gfamdirectorymonitor.h:
2940 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2941 * gio/fam/gfamfilemonitor.h:
2942 * gio/glocaldirectorymonitor.c:
2943 * gio/glocaldirectorymonitor.h:
2944 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2945 * gio/glocalfilemonitor.h:
2946 * gio/inotify/Makefile.am:
2947 * gio/inotify/ginotifydirectorymonitor.c:
2948 * gio/inotify/ginotifydirectorymonitor.h:
2949 * gio/inotify/ginotifyfilemonitor.c:
2950 * gio/inotify/ginotifyfilemonitor.h:
2951 Implement the FAM and Inotify monitors as
2952 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2953 their own GIO module. GLocal(Directory|File)Monitor will use the
2954 monitor with the highest rank that is supported on that machine.
2956 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2959 Change GIO module dir to $(libdir)/gio/modules and change
2960 the log domain from GVFS to GIO. Also only export symbols starting
2961 with g_ in the resulting library.
2962 * gio/test-streams.c: (main):
2963 Set log handler for the GIO log domain.
2965 2007-10-22 Alexander Larsson <alexl@redhat.com>
2967 * gio/gfilenamecompleter.[ch]:
2968 Add g_filename_completer_set_dirs_only
2970 2007-10-22 Alexander Larsson <alexl@redhat.com>
2973 * gio/gurifuncs.[ch]:
2974 Add some simple URI helpers
2976 * gio/gfilenamecompleter.[ch]:
2977 Added object for filename (parse name actually) completion
2980 Handle ~ in parse names
2982 2007-10-17 Alexander Larsson <alexl@redhat.com>
2985 * gio/glocalfileinfo.c:
2986 Add and implement id:value attribute
2988 2007-10-17 Alexander Larsson <alexl@redhat.com>
2991 * gio/guniondrive.c:
2993 Add and implement g_drive_has_volumes
2995 2007-10-17 Alexander Larsson <alexl@redhat.com>
2998 * gio/glocalfileinfo.[ch]:
2999 Add unix:is_mountpoint and implement for local files
3001 2007-10-16 Alexander Larsson <alexl@redhat.com>
3003 * gio/gunionvolumemonitor.c:
3004 (g_union_volume_monitor_init):
3005 Fix up the unix type getting so that it works with gcc
3007 2007-10-12 Alexander Larsson <alexl@redhat.com>
3010 * gio/glocalfileinfo.c:
3011 Add thumbnail:failed to file info
3013 2007-10-12 Richard Hult <richard@imendio.com>
3015 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3016 optimizing away the get_type call (happens with some gcc versions,
3017 like the one shipped with OS X 10.4).
3019 2007-10-12 Alexander Larsson <alexl@redhat.com>
3021 * gio/glocalfileinfo.c:
3022 (_g_local_file_info_set_attribute):
3023 Fix build if not HAVE_XATTR
3024 Patch from Milosz Derezynski <internalerror@gmail.com>
3026 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3028 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3029 around for review, otherwise I would have asked you before
3032 2007-10-11 Alexander Larsson <alexl@redhat.com>
3035 Add thumbnail:path attribute
3037 * gio/glocalfileinfo.c:
3038 Implement thumbnail:path for local files
3040 2007-10-11 Alexander Larsson <alexl@redhat.com>
3042 * gio/glocalfileinfo.c:
3043 (_g_local_file_info_get):
3044 Avoid duplicate icon names
3046 2007-10-11 Alexander Larsson <alexl@redhat.com>
3048 * gio/gthemedicon.[ch]:
3049 Change g_themed_icon_get_names return type to const
3051 2007-10-10 Alexander Larsson <alexl@redhat.com>
3053 * gio/glocalfileinfo.c:
3054 Don't reference freed memory
3056 2007-10-10 Alexander Larsson <alexl@redhat.com>
3058 * gio/gfileattribute.c:
3061 * gio/glocalfileinfo.c:
3064 2007-10-10 Alexander Larsson <alexl@redhat.com>
3067 Check for NULL icons
3069 * gio/gfileattribute.c:
3070 Don't dup when getting objects (same as for string attributes)
3072 * gio/gicon.c (g_icon_equal):
3073 Safely handle NULLs in equal
3075 2007-10-10 Alexander Larsson <alexl@redhat.com>
3078 Fix c++ compilation issues
3079 Patch from Milosz Derezynski <internalerror@gmail.com>
3081 2007-10-10 Alexander Larsson <alexl@redhat.com>
3083 * programs/gio-monitor-dir.c:
3084 Don't crash if dir monitor not supported.
3086 2007-10-09 Alexander Larsson <alexl@redhat.com>
3089 Add missing G_END_DECLS
3091 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3093 * gio/gfile.c: (g_file_set_display_name),
3094 (g_file_query_settable_attributes),
3095 (g_file_query_writable_namespaces):
3096 Return NULL not FALSE on errors as the return type is a pointer.
3098 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3100 * gio/glocalfile.c: (g_local_file_monitor_file):
3101 Don't call monitor_file on the default interface vtable (which
3102 is NULL) but simply return NULL. The caller, GFile, will create a
3103 polling monitor if NULL is returned.
3105 2007-10-09 Alexander Larsson <alexl@redhat.com>
3109 * gio-unix-2.0.pc.in:
3110 Add gio-unix-2.0.pc if OS_UNIX
3113 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3115 2007-10-09 Alexander Larsson <alexl@redhat.com>
3117 * gio/gunixmounts.[ch]:
3118 Make unix mount monitoring API sane.
3119 Now its just a object with mounts_changed
3120 and mountpoints_changed signals.
3122 * gio/glocaldirectorymonitor.c:
3123 * gio/gunixvolumemonitor.c:
3124 Use new mount monitor api
3126 2007-10-09 Alexander Larsson <alexl@redhat.com>
3128 * gio/gunixmounts.[ch]:
3129 Move guess type into one call for mounts and one for mountpoints
3132 * gio/gunixvolume.c:
3135 2007-10-09 Alexander Larsson <alexl@redhat.com>
3137 * gio/gunixmounts.[ch]:
3138 Remove _ prefix in preparation to make this semi-public
3139 Hide implementation of structs
3141 * gio/glocaldirectorymonitor.c:
3143 * gio/gunixvolume.c:
3144 * gio/gunixvolumemonitor.c:
3145 Update for above API changes
3147 2007-10-08 Alexander Larsson <alexl@redhat.com>
3150 Better polling fallback. This also handles the case where we have
3151 a monitor_file implementation, but it fails.
3153 2007-10-08 Alexander Larsson <alexl@redhat.com>
3157 * gio/gunixmounts.c:
3158 * programs/gio-monitor-dir.c:
3159 * programs/gio-monitor-file.c:
3160 Added cancellable to file monitoring calls.
3161 These are really sync calls and need this.
3163 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3165 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3166 (g_local_vfs_class_init):
3167 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3168 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3170 2007-10-05 Alexander Larsson <alexl@redhat.com>
3172 * gio/gdirectorymonitorprivate.h:
3173 * gio/gfilemonitorprivate.h:
3174 * gio/gdirectorymonitor.h:
3175 * gio/gfilemonitor.h:
3176 Remove *private.h and move to the public API, so that
3177 we can do implementations outside gio (such as in gvfs)
3179 * gio/gdirectorymonitor.c:
3180 * gio/gfilemonitor.c:
3181 * gio/glocaldirectorymonitor.c:
3182 * gio/gpollfilemonitor.c:
3183 * gio/inotify/inotify-helper.c:
3184 * gio/fam/fam-helper.c:
3185 Update to the new header names
3187 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3189 * gio/gdirectorymonitor.c:
3190 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3193 2007-10-04 Alexander Larsson <alexl@redhat.com>
3195 * gio/glocalfileinfo.c (get_access_rights):
3196 Set CAN_TRASH when we can move the file.
3197 We should really also check for a parent trash dir.
3199 2007-10-04 Alexander Larsson <alexl@redhat.com>
3201 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3202 Add can_trash access attribute
3204 2007-10-04 Alexander Larsson <alexl@redhat.com>
3207 (g_local_file_trash):
3208 Create info file first. This is per-spec and allows
3209 us to actually trash directories.
3211 2007-10-02 Alexander Larsson <alexl@redhat.com>
3213 * gio/gdesktopappinfo.c:
3214 Implement the new mime support code.
3215 Always set app as handling mimetype when being set as default for it
3217 2007-10-01 Alexander Larsson <alexl@redhat.com>
3219 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3220 Fix up check for xattrs:
3222 2007-10-01 Alexander Larsson <alexl@redhat.com>
3225 (g_app_info_set_as_default_for_extension):
3226 (g_app_info_add_supports_type):
3227 (g_app_info_can_remove_supports_type):
3228 (g_app_info_remove_supports_type):
3229 Make these fail nicely if not implemented
3231 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3233 * gio/glocalfileoutputstream.c:
3234 * gio/glocalfileoutputstream.h:
3239 * programs/gio-save.c:
3240 Add a GFileCreateFlags argument to operations that can create
3243 2007-10-01 Alexander Larsson <alexl@redhat.com>
3245 * gio/gappinfo.[ch]:
3246 * gio/gdesktopappinfo.c:
3247 Add more (stubbed out) mime API needed for nautilus
3249 2007-10-01 Alexander Larsson <alexl@redhat.com>
3252 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3253 Add g_app_info_set_as_default_for_extension.
3255 * gio/gdesktopappinfo.c:
3256 Dummy for g_app_info_set_as_default_for_extension
3257 Support flags in g_app_info_create_from_commandline
3259 * gio/gwin32appinfo.c:
3261 Update for API changes
3263 * gio/gthemedicon.c:
3264 Properly NULL-terminate list of icon names
3266 2007-09-28 Alexander Larsson <alexl@redhat.com>
3268 * gio/gloadableicon.h:
3269 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3271 2007-09-28 Alexander Larsson <alexl@redhat.com>
3274 Install headers in $includedir/gio-standalone/
3276 * gio-2.0.pc.in: Added.
3277 * gio-standalone.pc.in: Removed.
3280 Renamed pkg-config file to match glib (for future move)
3281 Update to the new include dir
3284 Add more TODO comments
3286 2007-09-28 Alexander Larsson <alexl@redhat.com>
3288 * gio/gdesktopappinfo.[ch]:
3289 Expose new_from_filename
3290 Add getter for is_hidden and handle it better
3292 2007-09-28 Alexander Larsson <alexl@redhat.com>
3294 * gio/gfileinfo.[ch]:
3295 Rename g_file_size_format_for_display to
3296 g_format_file_size_for_display.
3297 Now it doesn't have the g_file prefix, so we
3298 can later move it to glib.
3300 2007-09-28 Alexander Larsson <alexl@redhat.com>
3302 * gio/gappinfo.[ch]:
3303 Add g_app_info_get_id and g_app_info_get_executable.
3304 Make all getters non-reffing
3305 Make g_app_info_launch take GFile arguments.
3306 Add must_support_uris argument to g_app_info_get_default_for_type.
3308 * gio/gwin32appinfo.c:
3309 Update to GAppInfo api changes
3311 * gio/gdesktopappinfo.c:
3312 Update to GAppInfo api changes
3313 Implement supports_xdg_startup_notify
3315 * gio/gfileicon.c (g_file_icon_get_file):
3316 Make getter non-reffing.
3321 2007-09-27 Alexander Larsson <alexl@redhat.com>
3323 * gio/gfileinfo.[ch]:
3324 Add g_file_size_format_for_display helper
3326 2007-09-27 Alexander Larsson <alexl@redhat.com>
3328 * gio/glocalfileinfo.c:
3329 Set UNIX_GID from gid, not from uid
3331 2007-09-27 Alexander Larsson <alexl@redhat.com>
3334 Add g_file_set_attributes_async
3336 2007-09-27 Alexander Larsson <alexl@redhat.com>
3338 * gio/glocalfile.c (g_local_file_set_display_name):
3339 Fix set_display_name to actually rename to the right place.
3340 Use lstat to look for existing files so we don't overwrite
3343 2007-09-26 Alexander Larsson <alexl@redhat.com>
3346 Add g_file_set_display_name_async()
3348 2007-09-26 Alexander Larsson <alexl@redhat.com>
3351 Add load_partial_contents async calls
3354 Make internal function static
3356 2007-09-26 Alexander Larsson <alexl@redhat.com>
3358 * gio/glocalfileinfo.c:
3359 Correctly detect broken symlinks
3361 2007-09-26 Alexander Larsson <alexl@redhat.com>
3363 * gio/gcancellable.c (g_cancellable_cancel):
3364 Allow cancel on NULL cancellable
3366 2007-09-25 Alexander Larsson <alexl@redhat.com>
3368 * gio/gsimpleasyncresult.c:
3369 Don't allocate g_error manually.
3370 Fixes g_slice/g_new mixup crash
3372 2007-09-25 Alexander Larsson <alexl@redhat.com>
3374 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3375 Actually set active_backend.
3376 This means the monitor will be cancelled correctly.
3378 2007-09-25 Alexander Larsson <alexl@redhat.com>
3380 * gio/gdirectorymonitor.c:
3381 Set timeout to NULL when destroying
3383 2007-09-25 Alexander Larsson <alexl@redhat.com>
3386 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3387 that is a better description of the error.
3389 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3391 * gio/gvfs.c: (g_vfs_get_local):
3392 Make the local vfs variable static. The same instance should
3395 2007-09-24 Alexander Larsson <alexl@redhat.com>
3397 * gio/glocalfileinfo.c:
3398 Pass in actual length read into sniffer, not the length
3401 2007-09-21 Alexander Larsson <alexl@redhat.com>
3403 * gio/gfileenumerator.c:
3406 * gio/gfileinputstream.c:
3407 * gio/gfileoutputstream.c:
3408 * gio/ginputstream.c:
3409 * gio/goutputstream.c:
3410 Don't crash if async callbacks are NULL
3412 2007-09-20 Alexander Larsson <alexl@redhat.com>
3415 Add async enumerate_children method and default
3418 2007-09-20 Alexander Larsson <alexl@redhat.com>
3421 Add g_file_contains_file & g_file_get_relative_path, since they
3422 were needed for nautilus.
3423 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3428 Implement new methods
3430 2007-09-17 Alexander Larsson <alexl@redhat.com>
3433 * gio/gfileinputstream.[ch]:
3434 * gio/gfileoutputstream.[ch]:
3436 * gio/glocalfileenumerator.[ch]:
3437 * gio/glocalfileinfo.[ch]:
3438 * gio/glocalfileinputstream.c:
3439 * gio/glocalfileoutputstream.c:
3440 * gio/gpollfilemonitor.c:
3441 * programs/gio-copy.c:
3442 * programs/gio-info.c:
3443 * programs/gio-move.c:
3444 Rename get_file_info to query_info() to make it clearer
3445 that these are not simple getters, but do i/o.
3447 2007-09-17 Alexander Larsson <alexl@redhat.com>
3449 * gio/gdatainputstream.[ch]:
3450 * gio/test-streams.c:
3451 Use _read_XXX instead of _get_XXX for the i/o calls
3454 2007-09-17 Alexander Larsson <alexl@redhat.com>
3457 Added needed stuff to TODO comment
3459 2007-09-17 Alexander Larsson <alexl@redhat.com>
3461 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3462 Don't error out removing the backup copy if it doesn't
3465 2007-09-14 Alexander Larsson <alexl@redhat.com>
3467 * programs/Makefile.am:
3468 * programs/gvfs-*.c:
3470 Renamed apps from gvfs-xxx to gio-xxx.
3472 2007-09-14 Alexander Larsson <alexl@redhat.com>
3475 * gio/gfileoutputstream.[ch]:
3476 * gio/glocalfileoutputstream.c:
3477 * programs/gvfs-save.c:
3478 g_file_output_stream_get_etag doesn't do i/o, so remove
3479 cancellation and error.
3481 2007-09-14 Alexander Larsson <alexl@redhat.com>
3484 Add new_etag output to replace_contents functions
3486 2007-09-14 Alexander Larsson <alexl@redhat.com>
3488 * gio/gfileoutputstream.[ch]:
3489 Add async get_file_info and default implementation
3491 2007-09-14 Alexander Larsson <alexl@redhat.com>
3493 * gio/gfileinputstream.c:
3494 Implement fallback wrapper for async get_file_info
3496 2007-09-14 Alexander Larsson <alexl@redhat.com>
3499 Add etag out argument to load_contents
3504 2007-09-14 Alexander Larsson <alexl@redhat.com>
3506 * gio/gcontenttype.c (looks_like_text):
3507 Whitespace like tab, cr and lf do not make the
3510 2007-09-14 Alexander Larsson <alexl@redhat.com>
3512 * gio/gfileinputstream.[ch]:
3513 Add async get_file_info.
3515 2007-09-13 Alexander Larsson <alexl@redhat.com>
3517 * gio/goutputstream.c (g_output_stream_write_all):
3518 Allow NULL for bytes_written
3520 2007-09-13 Alexander Larsson <alexl@redhat.com>
3522 * gio/gmemoryinputstream.[ch]:
3523 Add accessors for data
3525 2007-09-13 Alexander Larsson <alexl@redhat.com>
3527 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3528 Don't crash if length is NULL