1 2008-01-28 Alexander Larsson <alexl@redhat.com>
5 Add registration hooks for extension points.
6 Register the gio extension points.
8 * fam/gfamdirectorymonitor.c:
9 * fam/gfamfilemonitor.c:
10 * glocaldirectorymonitor.[ch]:
11 * glocalfilemonitor.[ch]:
12 * gnativevolumemonitor.h:
13 * gunionvolumemonitor.c:
14 * gunixvolumemonitor.c:
17 * inotify/ginotifydirectorymonitor.c:
18 * inotify/ginotifyfilemonitor.c:
19 Use the extension points registration instead
22 2008-01-28 Matthias Clasen <mclasen@redhat.com>
25 * gvolume.[hc]: Document new API.
27 * gfile.c (g_file_copy_async): Fix docs
29 2008-01-27 Matthias Clasen <mclasen@redhat.com>
31 * gbufferedinputstream.c:
33 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
36 2008-01-27 Matthias Clasen <mclasen@redhat.com>
38 * glocalfile.c: Avoid trivial differences in translatable strings.
40 2008-01-25 Matthias Clasen <mclasen@redhat.com>
42 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
43 build with gcc 3.4 (#509419)
45 2008-01-25 Matthias Clasen <mclasen@redhat.com>
47 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
48 (#509994, Murray Cumming)
50 2008-01-25 Matthias Clasen <mclasen@redhat.com>
52 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
53 * gioscheduler.c: Keep calling io jobs until they return FALSE;
54 this allows big jobs to be executed in chunks, instead of blocking
55 the main loop for a long time.
57 * gsimpleasyncresult.c:
58 * giofile.c: Adapt callers.
60 2008-01-25 Alexander Larsson <alexl@redhat.com>
63 Implement changes discussed on xdg list.
64 Now we can add supported mimetypes by just using defaults.list
65 We can also remove associations in defaults.list.
67 2008-01-25 Alexander Larsson <alexl@redhat.com>
70 Don't make local copy of desktop file
71 for mimetype changes if the file already
72 supports the new mimetype.
74 2008-01-25 Matthias Clasen <mclasen@redhat.com>
78 * gbufferedinputstream.c:
79 * glocalfile.c: String improvements. (#511966,
80 Theppitak Karoonboonyanan)
82 2008-01-24 Matthias Clasen <mclasen@redhat.com>
84 * gioscheduler.h: Expand docs a bit.
86 2008-01-24 Alexander Larsson <alexl@redhat.com>
89 Add g_drive_get_identifier and
90 g_drive_enumerate_identifiers
93 Add g_volume_get_identifier and
94 g_volume_enumerate_identifiers
100 Implement identifiers for unix backend
102 2008-01-24 Alexander Larsson <alexl@redhat.com>
107 Add g_file_copy_async() (#511580)
108 Based on patch from Carlos Garcia Campos
110 2008-01-23 Matthias Clasen <mclasen@redhat.com>
112 * gioscheduler.c: Some documentation additions.
114 2008-01-22 Alexander Larsson <alexl@redhat.com>
117 (g_desktop_app_info_new):
120 2008-01-22 Alexander Larsson <alexl@redhat.com>
123 (g_desktop_app_info_new_from_filename):
126 2008-01-22 Alexander Larsson <alexl@redhat.com>
128 * glocalfileinfo.c (get_thumbnail_attributes):
131 2008-01-22 Alexander Larsson <alexl@redhat.com>
134 (canonicalize_filename):
135 Canonicalize paths that start with more than
140 (test_g_file_new_for_path):
143 2008-01-22 Alexander Larsson <alexl@redhat.com>
146 Allow UTF-8 in file:// parse names.
149 * tests/data-input-stream.c:
150 * tests/data-output-stream.c:
151 * tests/g-file-info.c:
153 Added a bunch of tests from Tomas Bzatek
155 2008-01-21 Matthias Clasen <mclasen@redhat.com>
157 * === Released 2.15.3 ===
159 2008-01-21 Alexander Larsson <alexl@redhat.com>
161 * gfileinputstream.[ch]:
162 * gfileoutputstream.[ch]:
164 Remove duplicated GSeekable functions. (#509990)
165 Just use the g_seekable_xxx() calls instead.
167 2008-01-21 Matthias Clasen <mclasen@redhat.com>
170 * gvolumemanager.c: Whitespace cleanups.
172 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
173 Use the right mode when creating the file.
175 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
178 * gfileinputstream.c:
180 * goutputstream.c: Documentation: Fixed minor typos
181 and added more mentions of specific _finish() functions.
183 2008-01-21 Alexander Larsson <alexl@redhat.com>
185 * inotify/Makefile.am:
186 * inotify/inotify-helper.c:
187 * inotify/inotify-kernel.c:
188 * inotify/inotify-path.c:
189 * inotify/local_inotify.h: Removed.
190 * inotify/local_inotify_syscalls.h: Removed.
191 Removed the included copies of the inotify
192 headers. We now only use the <sys/inotify.h>
193 header which exists on modern systems.
194 This fixes problems on ARM and SH5 (#510448)
195 but is also generally much cleaner and future
196 safe. For instance, if other OSes add support
197 for inotify it should "just work".
199 2008-01-20 Matthias Clasen <mclasen@redhat.com>
201 * inotify/*.c: Coding style fixes.
202 * inotify/inotify-missing.c: Use g_timeout_add_seconds
203 for the 1/4 Hz timer.
205 2008-01-20 Matthias Clasen <mclasen@redhat.com>
209 * gmemoryinputstream.c:
210 * gmemoryoutputstream.c:
212 * gthemedicon.c: Documentation updates
214 2008-01-20 Murray Cumming <murrayc@murrayc.com>
216 * gfile.c: documentation: Fixed more minor
219 2008-01-18 Murray Cumming <murrayc@murrayc.com>
221 * gmount.c: (g_mount_remount): documentation:
222 Mention g_mount_remount_finish() instead of
223 g_mount_unmount_finish().
225 2008-01-18 Murray Cumming <murrayc@murrayc.com>
229 * gfile.c: Fixed some minor typos in the
232 2008-01-18 Murray Cumming <murrayc@murrayc.com>
234 * gio/gvolumemonitor.c:
235 (g_volume_monitor_get_connected_drives):
236 (g_volume_monitor_get_volumes):
237 (g_volume_monitor_get_mounts): Documentation:
238 Clarify the ownership of the regurn GLists.
240 2008-01-17 Alexander Larsson <alexl@redhat.com>
243 Add the async find_enclosing_mount version
244 to the header file too.
246 2008-01-17 Alexander Larsson <alexl@redhat.com>
249 Add async version of find_enclosing_mount
250 with default implementation.
252 2008-01-17 Alexander Larsson <alexl@redhat.com>
257 Allow calls to implementation of copy and write
258 even if the type of the file implementations is
259 different. This can be used to implement native
260 upload and download calls in a vfs.
264 Protect against the case where move is called
265 with one file not being local.
267 Make sure we call the progress callback once
268 in the native move operation so that the caller
269 knows how many bytes were copied.
271 2008-01-16 Murray Cumming <murrayc@murrayc.com>
274 * gdatainputstream.c:
276 * gfileoutputstream.c:
281 * gunixmounts.c: Corrected some typos in the documentation:
283 its -> it's (where appropriate).
285 2008-01-16 Alexander Larsson <alexl@redhat.com>
289 Add g_file_query_exists (#508771)
291 2008-01-15 Murray Cumming <murrayc@murrayc.com>
296 * gvolume.c: For async functions that have no non-async
297 version, document that the GAsyncReadyCallback may be NULL.
300 2008-01-15 Alexander Larsson <alexl@redhat.com>
302 * gmemoryinputstream.c:
303 * gmemoryoutputstream.c:
304 Don't do pointer arithmetic on void * (#508602)
305 Patch from Kazuki IWAMOTO
307 2008-01-14 Matthias Clasen <mclasen@redhat.com>
309 * === Released 2.15.2 ===
311 2008-01-14 Alexander Larsson <alexl@redhat.com>
313 * gfile.c (g_file_monitor_file):
314 Don't set error here, since we fallback to polling monitor.
316 2008-01-14 Alexander Larsson <alexl@redhat.com>
319 (g_file_monitor_directory):
320 (g_file_monitor_file):
321 Add GError to file monitor calls
323 * glocaldirectorymonitor.c:
324 * glocaldirectorymonitor.h:
326 * glocalfilemonitor.c:
327 * glocalfilemonitor.h:
329 Update for above change
331 2008-01-14 Alexander Larsson <alexl@redhat.com>
335 Handle root correctly in g_file_get_relative_path (#508719)
337 2008-01-14 Alexander Larsson <alexl@redhat.com>
340 Clean up docs and example for GAsyncResult (#508074)
342 2008-01-11 Murray Cumming <murrayc@murrayc.com>
344 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
345 and correct some spelling mistakes. Bug #508108.
347 2008-01-11 Matthias Clasen <mclasen@redhat.com>
349 * glocalfileinfo.c: Add a comment.
351 2008-01-10 Murray Cumming <murrayc@murrayc.com>
353 * gfileinfo.c: GFileInfo description: Mention
354 how to actually set attributes in a GFile and how to discover
355 which attributes are settable. Bug #508378.
357 2008-01-10 A. Walton <awalton@svn.gnome.org>
359 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
360 (g_app_info_get_default_for_type):
361 Check for NULL content types.
363 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
365 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
367 2008-01-09 Murray Cumming <murrayc@murrayc.com>
369 * gfile.c: *_async() functions: Several small corrections
370 to the documentation, mostly correcting copy/paste errors
371 and improving some sentences.
373 2008-01-09 Dan Winship <danw@gnome.org>
375 * glocalfile.c (get_unique_filename): x86_64 fix
377 2008-01-09 Alexander Larsson <alexl@redhat.com>
382 Add g_unix_mount_guess_should_display and use
383 for unix volume monitor backend.
384 This means we more or less show what the
385 gnome-vfs backend did.
386 Based on patch from Padraig O'Briain
388 2008-01-09 Alexander Larsson <alexl@redhat.com>
392 Add g_themed_icon_new_with_default_fallbacks
395 Use default fallbacks for icons
397 2008-01-09 Alexander Larsson <alexl@redhat.com>
400 * gmountoperation.[ch]:
401 Change the API a bit so that unhandled methods
402 get reported via the reply, rather than by
403 the signal emission return value. This is because
404 some handlers can't know this immediately without
405 doing I/O, and this is an async operation that
408 2008-01-09 Alexander Larsson <alexl@redhat.com>
411 * fam/gfamdirectorymonitor.c:
412 * fam/gfamfilemonitor.c:
413 Fix double free crash (#508224)
414 Patch from Joe Marcus Clarke
416 008-01-07 Matthias Clasen <mclasen@redhat.com>
418 * === Released 2.15.1 ===
420 2008-01-07 Alexander Larsson <alexl@redhat.com>
422 * gunixinputstream.c (g_unix_input_stream_skip_finish):
423 Fix warning (#507835)
425 2008-01-07 Alexander Larsson <alexl@redhat.com>
428 Pass --internal to glib-genmarshal
433 Use better types for signal arguments (#507822)
435 2008-01-07 Alexander Larsson <alexl@redhat.com>
438 Build test subdir after .
439 Remove gdirectorymonitor.[ch]
441 * gdirectorymonitor.[ch]:
445 Remove GDirectoryMonitor and make
446 GFileMonitor the baseclass for both file and
447 directory monitors. Lift the more generic
448 rate limiting code from GDirectoryMonitor
452 * fam/gfamdirectorymonitor.[ch]:
453 * inotify/ginotifydirectorymonitor.[ch]:
454 * inotify/inotify-helper.c:
455 * glocaldirectorymonitor.[ch]:
458 Update for the removed GDirectoryMonitor.
460 * gmemoryoutputstream.c:
461 Remove ununsed variable
463 2008-01-07 Alexander Larsson <alexl@redhat.com>
465 * gmemoryinputstream.c:
466 Translate error strings
469 * gmemoryoutputstream.[ch]:
470 New implementation that avoids using GByteArray
471 in implementation and API. (#506377)
473 2008-01-06 Matthias Clasen <mclasen@redhat.com>
475 * tests/*: Add a test for memory input streams.
477 * Makefile.am: Add tests to SUBDIRS.
479 2008-01-06 Matthias Clasen <mclasen@redhat.com>
481 * glocalfilemonitor.c:
482 * glocaldirectorymonitor.c: Mark property nicks and blurbs
485 2008-01-06 Matthias Clasen <mclasen@redhat.com>
487 * gdesktopappinfo.c: Fix a docs typo.
489 * gfileattribute.c: Add information about extended attributes
490 to the documentation. (#505058)
492 2008-01-04 Alexander Larsson <alexl@redhat.com>
496 Use the right type (uint) for the ask_password signal.
498 2008-01-04 Alexander Larsson <alexl@redhat.com>
503 Add g_app_info_supports_files()
504 Remove desktop arg from g_app_info_should_show().
506 * gdesktopappinfo.[ch]:
507 Implement g_app_info_supports_files() and new should_show()
508 Add g_desktop_app_info_set_desktop_env() to set the desktop
509 for should_show(). (This will be set by gtk+ later)
511 2008-01-04 Alexander Larsson <alexl@redhat.com>
514 * gmemoryinputstream.[ch]:
515 Improve API so that you can use multiple chunks
516 of memory and custom destroy functions. (#506374)
518 2008-01-03 Alexander Larsson <alexl@redhat.com>
521 Handle NULL attribute matchers safely, as we return this
522 for empty attribute matcher strings.
524 2008-01-03 Alexander Larsson <alexl@redhat.com>
526 * gunixmounts.c (g_unix_is_mount_path_system_internal):
527 Add /usr/local to list of internal mountpoints
529 2008-01-03 Alexander Larsson <alexl@redhat.com>
532 Check for HAVE_LCHOWN (#505887)
534 2008-01-03 Alexander Larsson <alexl@redhat.com>
538 Add define for selinux context attribute.
539 Fix missing : -> :: namespace separator change
540 Fix missing _ -> - name change for xattr-sys.
543 2008-01-03 Alexander Larsson <alexl@redhat.com>
546 Link to libglib and libgobject directly (#504879)
547 Patch from Sebastien Bacher
549 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
551 * gfile.c: Expanded the g_file_new_for_commandline_arg
552 description a bit, based on the code and the docs of the
553 other g_file_new_for_* functions.
555 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
557 * gfilemonitor.h: Fixed typo in docs.
559 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
561 Updates to GIO documentation. (#506395, Mikael Hermansson)
563 * gcontenttype.c: Describe memory management for return value of
564 g_content_types_get_registered(). Missing piece from #505815.
565 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
566 GVolume, GDrive, GMounts, which hopefully gives the user less
567 confusions when using this API. Following explainations from
568 Alexander Larsson on gtk-devel-list.
570 2007-12-30 Matthias Clasen <mclasen@redhat.com>
572 * gfileinfo.c: Expand the long description.
574 2007-12-30 Matthias Clasen <mclasen@redhat.com>
577 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
578 fix builds with --disable-visibility. (#500273, Christian Persch)
580 2007-12-30 Matthias Clasen <mclasen@redhat.com>
582 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
583 in the list of returned app infos.
585 2007-12-30 Matthias Clasen <mclasen@redhat.com>
587 * gappinfo.c: Fix a cross-reference
589 2007-12-30 Matthias Clasen <mclasen@redhat.com>
591 * gfileinputstream.c:
592 * gfileoutputstream.c:
598 * gfileinfo.c: Documentation updates.
600 2007-12-26 Matthias Clasen <mclasen@redhat.com>
602 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
605 2007-12-26 Matthias Clasen <mclasen@redhat.com>
607 * gcontenttype.c (g_content_types_get_registered): Don't return
608 freed memory (#505815, Mikael Hermansson)
610 2007-12-25 Paolo Borelli <pborelli@katamail.com>
612 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
613 used to detect statbuf->st_blocks. (#505042)
615 2007-12-24 Matthias Clasen <mclasen@redhat.com>
617 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
618 environment handling. (#504829, Cosimo Cecchi)
620 2007-12-22 Matthias Clasen <mclasen@redhat.com>
622 * gappinfo.c: Doc improvements
624 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
627 2007-12-20 Matthias Clasen <mclasen@redhat.com>
629 * === Released 2.15.0 ===
631 2007-12-20 Hans Breuer <hans@breuer.org>
633 * makefile.msc : don't build gdesktopappinfo.obj, it collides
634 with symbols gwin32appinfo.obj, added gmount.obj
635 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
637 2007-12-20 Alexander Larsson <alexl@redhat.com>
643 * gfilenamecompleter.c:
646 * gpollfilemonitor.c:
647 File attribute renames:
650 id::fs -> id::filesystem
652 2007-12-20 Alexander Larsson <alexl@redhat.com>
661 Add GMountUnmountFlags to all unmount and
663 Add g_mount_remount() call.
665 2007-12-20 Alexander Larsson <alexl@redhat.com>
667 * gvfs.c (get_default_vfs):
668 Fix unused variable warning
670 2007-12-19 Matthias Clasen <mclasen@redhat.com>
672 * pltcheck.sh: Update
674 2007-12-19 Matthias Clasen <mclasen@redhat.com>
676 * gunionvolumemonitor.c:
677 * gunixmount.c: Remove C99 comments
679 2007-12-19 Matthias Clasen <mclasen@redhat.com>
681 * gio.symbols: Add some missing symbols
683 2007-12-19 Alexander Larsson <alexl@redhat.com>
686 Make g_io_modules_load_all_in_directory not unuse
687 loaded modules so that users of it can do stuff
689 Init internal "module" types.
690 Initialize static prio and name for types so that
691 we don't have to load modules to get it.
693 * gnativevolumemonitor.h:
695 Move is_supported to parent class so that
696 non-native monitors can avoid being initialized
697 too. (For instance GDaemonVolumeMonitor if we're
698 not using GDaemonVfs.)
700 * glocaldirectorymonitor.[ch]:
701 * glocalfilemonitor.[ch]:
702 * gunionvolumemonitor.c:
703 * gunixvolumemonitor.c:
705 Find plugins using the static prio+name to
706 avoid unnecessarily loading the modules.
708 2007-12-19 Alexander Larsson <alexl@redhat.com>
713 2007-12-19 Alexander Larsson <alexl@redhat.com>
715 * gunionvolumemonitor.c:
716 Store the native type as GType, not class so that
717 we can unload it. But still avoid unnecessarily
720 2007-12-19 David Zeuthen <davidz@redhat.com>
722 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
723 add signals 'disconnected' and 'eject-button' on GDrive. Add
724 signal 'removed' on GVolume and 'unmounted' on GMount.
726 * gdrive.c: (g_drive_base_init):
728 * gfile.c: (g_file_mount_mountable),
729 (g_file_mount_enclosing_volume):
732 * gmount.c: (g_mount_base_init):
734 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
735 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
736 * gvolume.c: (g_volume_base_init), (g_volume_mount):
740 2007-12-17 Matthias Clasen <mclasen@redhat.com>
742 * *.c: Fix up includes in the section docs.
744 2007-12-17 Alexander Larsson <alexl@redhat.com>
746 * gnativevolumemonitor.h:
747 * gunionvolumemonitor.c:
748 * gunixvolumemonitor.c:
749 Add is_supported() to GNativeVolumeMonitorClass so
750 that we can avoid having to create an object to see
751 if the backend is supported at runtime.
752 Also add name member and an env var to pick a specific
753 volume monitor backend.
757 Add cancellable to _g_mount_get_for_mount_path()
759 * glocaldirectorymonitor.c:
760 * glocalfilemonitor.c:
761 Avoid loading and unloading modules while sorting.
763 2007-12-17 Matthias Clasen <mclasen@redhat.com>
766 * gunixmounts.[hc]: Namespace waste reduction, move some
767 g_get_unix_mount functions to the g_unix_mount namespace.
770 * gunixvolumemonitor.c:
772 * glocaldirectorymonitor.c: Update all callers.
774 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
776 2007-12-17 Alexander Larsson <alexl@redhat.com>
779 Add doc comments about what GFile operations are
780 guaranteed to not block.
782 2007-12-17 Alexander Larsson <alexl@redhat.com>
785 Add missing #ifdef fixing OSX build.
786 (#503334, patch from Richard Hult)
788 2007-12-14 David Zeuthen <davidz@redhat.com>
792 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
793 (g_mount_eject), (g_mount_eject_finish):
795 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
796 (get_volume_for_uuid), (get_mount_for_uuid),
797 (g_union_volume_monitor_class_init),
798 (get_default_native_type_with_exclude), (get_default_native_type),
799 (get_native_type), (update_native_type),
800 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
801 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
802 (g_unix_mount_can_eject), (eject_unmount_cb),
803 (eject_unmount_read_error), (eject_unmount_do),
804 (g_unix_mount_unmount), (g_unix_mount_eject),
805 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
806 * gunixmounts.c: (g_unix_mount_guess_can_eject),
807 (g_unix_mount_point_guess_can_eject):
809 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
810 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
811 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
812 (g_unix_volume_mount), (g_unix_volume_eject),
813 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
814 * gunixvolumemonitor.c: (get_volume_for_uuid),
815 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
817 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
818 (g_volume_eject), (g_volume_eject_finish):
820 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
821 (g_volume_monitor_get_mount_for_uuid):
824 Provide eject() on both GMount and GVolume and utility functions
825 to guess whether a GUnixMountPoint or GUnixMountEntry should be
826 ejected. Introduce the concept of UUID's and wire it into GVolume
827 and GMount and provide API on GVolumeMonitor to find such
828 instances. Also handle the case where an external
829 GNativeVolumeMonitor fails to initialize. Lock around the
830 _g_get_mount_for_mount_path() function such that volume monitor
831 implementations won't have to do locking themselves.
833 2007-12-17 Matthias Clasen <mclasen@redhat.com>
841 * gvolume.h: Documentation updates
843 2007-12-14 Matthias Clasen <mclasen@redhat.com>
846 * gfile.h: Doc updates
848 2007-12-14 Matthias Clasen <mclasen@redhat.com>
851 * gdesktopappinfo.c: Use hash table iterators.
853 2007-12-14 Alexander Larsson <alexl@redhat.com>
856 * gfileattribute.[ch]:
857 * gfileattribute-priv.h:
858 Move GFileAttributeValue to a private header, as
862 Make set_attribute take a type + a pointer instead
863 of a GFileAttributeValue.
866 Fix up for above changes.
867 Add g_file_info_get_attribute_data to get
868 all info in one call, g_file_info_get_attribute_status
869 to get the status and g_file_info_get_attribute_as_string.
873 * glocalfileinfo.[ch]:
877 Make _guess_type static.
879 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
882 * inotify/Makefile.am: Fixed build when srcdir != builddir,
883 made mkenums and friends use temporary files to avoid leaving
884 empty generated files on failure (#503470).
886 2007-12-14 Alexander Larsson <alexl@redhat.com>
891 2007-12-14 Alexander Larsson <alexl@redhat.com>
895 * gfileattribute.[ch]:
898 * glocalfileoutputstream.c:
899 * gmountoperation.[ch]:
900 * goutputstream.[ch]:
901 Clean up all flags enums to not have _FLAGS in them
902 Make the names of some of the enums better.
907 2007-12-14 Michael Natterer <mitch@imendio.com>
909 * gio.symbols: fix g_io_scheduler symbol names.
911 2007-12-14 Alexander Larsson <alexl@redhat.com>
917 * gbufferedinputstream.h:
918 * gbufferedoutputstream.h:
921 * gdatainputstream.h:
922 * gdataoutputstream.h:
924 * gdirectorymonitor.h:
931 * gfileinputstream.h:
933 * gfilenamecompleter.h:
934 * gfileoutputstream.h:
935 * gfilterinputstream.h:
936 * gfilteroutputstream.h:
944 * gmemoryinputstream.h:
945 * gmemoryoutputstream.h:
950 * gsimpleasyncresult.h:
952 * gunixinputstream.h:
954 * gunixoutputstream.h:
958 * inotify/Makefile.am:
959 Only allow including <gio/gio.h> from apps
961 2007-12-14 Alexander Larsson <alexl@redhat.com>
964 * gsimpleasyncresult.c:
965 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
966 Split out the send_to_mainloop call into two versions instead
967 of having the block argument.
969 2007-12-13 Alexander Larsson <alexl@redhat.com>
973 * gbufferedinputstream.c:
975 * gfileinputstream.c:
976 * gfileoutputstream.c:
980 g_push/pop_current_cancellable ->
981 g_cancellable_push/pop_current
983 2007-12-13 Alexander Larsson <alexl@redhat.com>
987 Rename g_mount_for_location to g_file_mount_enclosing_volume.
989 2007-12-13 Alexander Larsson <alexl@redhat.com>
992 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
994 2007-12-12 Alexander Larsson <alexl@redhat.com>
997 Fix race condition when freeing proxy in
998 g_io_job_send_to_mainloop().
1000 2007-12-12 Alexander Larsson <alexl@redhat.com>
1006 Make attribute namespace separator "::" instead of ":".
1007 Use - instead of _ as separator in attribute names.
1009 2007-12-12 Alexander Larsson <alexl@redhat.com>
1011 * gbufferedinputstream.h:
1012 * gbufferedoutputstream.h:
1013 * gdatainputstream.h:
1014 * gdataoutputstream.h:
1015 * gdirectorymonitor.h:
1016 * gfileenumerator.h:
1017 * gfileinputstream.h:
1019 * gfileoutputstream.h:
1020 * gfilterinputstream.h:
1021 * gfilteroutputstream.h:
1023 * glocalfileinputstream.h:
1024 * glocalfileoutputstream.h:
1025 * gmemoryinputstream.h:
1026 * gmemoryoutputstream.h:
1027 * gnativevolumemonitor.h:
1029 * gunixinputstream.h:
1030 * gunixoutputstream.h:
1033 s/parent/parent_instance/ in GObjects
1035 2007-12-12 Alexander Larsson <alexl@redhat.com>
1040 No need for padding for interfaces
1042 2007-12-12 Alexander Larsson <alexl@redhat.com>
1046 * gbufferedinputstream.c:
1047 * gbufferedoutputstream.c:
1050 * gdatainputstream.[ch]:
1051 * gdesktopappinfo.c:
1052 * gdirectorymonitor.c:
1054 * gfileattribute.[ch]:
1057 * gfileinputstream.h:
1058 * gfilemonitor.[ch]:
1059 * gfileoutputstream.[ch]:
1060 * gfilterinputstream.h:
1061 * gfilteroutputstream.h:
1064 * gloadableicon.[ch]:
1065 * gmemoryinputstream.c:
1066 * gmountoperation.c:
1068 Fix up a bunch of details in the docs.
1073 2007-12-11 David Zeuthen <davidz@redhat.com>
1075 Rework how volumes, drives and volume monitoring is
1076 done. Previosly the model was
1078 GDrive <1-1> GVolume
1080 where a GDrive instance represented a mount point and a GVolume
1081 instance represented a mounted file system. This patch changes it
1084 GDrive <1-N> GVolume <1-1> GMount
1086 where GMount now serves the purpose of the old GVolume and the new
1087 GVolume serves the purpose of the old GDrive. In addition the new
1088 GDrive interface is used to represent a collection of GVolume
1089 instances (typically partitions) and also contains utility to query
1090 the state of the physical drive the GDrive object represents (such
1091 as checking for media, polling the drive, ejecting the media etc.).
1093 Also implement mounting and unmounting in the Unix volume monitor
1094 backend. A subquent patch will introduce GDrive support for ejection
1098 * gdrive.c: (g_drive_is_media_check_automatic),
1099 (g_drive_is_media_removable), (g_drive_has_media),
1100 (g_drive_can_poll_for_media), (g_drive_eject),
1101 (g_drive_eject_finish), (g_drive_poll_for_media),
1102 (g_drive_poll_for_media_finish):
1104 * gfile.c: (g_file_find_enclosing_mount):
1107 * glocaldirectorymonitor.c:
1108 (g_local_directory_monitor_constructor), (mounts_changed):
1109 * glocalfile.c: (get_mount_info),
1110 (g_local_file_find_enclosing_mount),
1111 (g_local_file_file_iface_init):
1112 * gnativevolumemonitor.h:
1113 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1114 (get_connected_drives), (g_union_volume_monitor_class_init),
1115 (child_volume_added), (child_volume_removed),
1116 (child_volume_changed), (child_mount_added), (child_mount_removed),
1117 (child_mount_pre_unmount), (child_mount_changed),
1118 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1119 (g_union_volume_monitor_remove_monitor),
1120 (_g_mount_get_for_mount_path):
1121 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1122 (guess_system_internal), (_g_get_unix_mounts),
1123 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1124 (g_unix_mount_free), (g_unix_mount_compare),
1125 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1126 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1127 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1128 (type_to_icon), (g_unix_mount_guess_name),
1129 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1130 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1131 (_resolve_symlink), (_resolve_dev_root):
1133 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1134 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1135 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1136 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1137 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1138 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1139 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1140 (g_unix_volume_volume_iface_init):
1142 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1143 (get_mounts), (get_volumes), (get_connected_drives),
1144 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1145 (mountpoints_changed), (mounts_changed),
1146 (g_unix_volume_monitor_init),
1147 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1148 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1149 * gunixvolumemonitor.h:
1150 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1151 (g_volume_mount), (g_volume_mount_finish):
1153 * gvolumemonitor.c: (g_volume_monitor_class_init),
1154 (g_volume_monitor_get_connected_drives),
1155 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1158 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1160 * gmountoperation.h (GPasswordFlags): Close the gap
1162 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1164 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1166 * gdesktopappinfo.[hc]: Remove _-prefixes
1168 2007-12-10 Tor Lillqvist <tml@novell.com>
1170 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1173 2007-12-10 Alexander Larsson <alexl@redhat.com>
1175 * gfile.c (g_file_set_display_name):
1176 Don't hardcode '/' (#502727)
1178 2007-12-09 Hans Breuer <hans@breuer.org>
1180 * makefile.msc : follow lib naming convention
1181 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1182 for user and group name, tested with ../tests/gio-ls
1184 2007-12-09 A. Walton <awalton@svn.gnome.org>
1186 * gdesktopappinfo.c:
1192 * gfileenumerator.c:
1197 * gmemoryinputstream.c:
1198 * gmemoryoutputstream.c:
1200 * gsimpleasyncresult.c:
1201 More documentation cleanup and filling in missing information, bringing
1202 GIO to 99% symbol coverage.
1204 2007-12-08 Hans Breuer <hans@breuer.org>
1206 [gio compiles and links on win32, not sure how much already works]
1207 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1208 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1209 base on win32 API; prefer g_lstat() over lstat(); instead of
1210 localtime_r() use an all GLib implementation on win32;
1211 get_mount_info() still needs a win32 specifc implementation
1212 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1213 win32_get_file_user_info to get owner/group info without uid/gid
1214 * glocalfileinputstream.c : include <io.h> on win32
1215 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1216 definition, use g_win32_ftruncate() for G_OS_WIN32
1217 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1218 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1219 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1220 * makefile.msc : updated
1222 2007-12-07 Alexander Larsson <alexl@redhat.com>
1224 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1225 Avoid warning spew if error == NULL
1227 2007-12-07 Alexander Larsson <alexl@redhat.com>
1230 Update docs wrt etags
1232 2007-12-06 Alexander Larsson <alexl@redhat.com>
1235 Include sys/types.h for dev_t (#501919)
1237 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1241 Make abicheck and pltcheck pass.
1243 2007-12-05 Alexander Larsson <alexl@redhat.com>
1246 * giomodule-priv.h: Added.
1247 * glocaldirectorymonitor.c:
1248 * glocalfilemonitor.c:
1249 * gunionvolumemonitor.c:
1251 Actually add the declaration of _g_io_modules_ensure_loaded
1253 2007-12-05 Alexander Larsson <alexl@redhat.com>
1255 * gdatainputstream.c:
1260 * glocaldirectorymonitor.c:
1261 * glocalfilemonitor.c:
1262 * gunionvolumemonitor.c:
1264 Make g_io_modules_ensure_loaded a private function and
1265 don't pass in the dirname. This means we can do magic
1266 directory finding in the win32 version.
1267 Export the actual load-modules-in-directory code so that
1268 gvfs can reuse that.
1270 2007-12-05 Alexander Larsson <alexl@redhat.com>
1272 * gbufferedinputstream.c:
1273 * gbufferedoutputstream.c:
1276 * gfileenumerator.[ch]:
1277 * gfileinputstream.c:
1278 * gfileoutputstream.[ch]:
1279 * gfilterinputstream.c:
1280 * gfilteroutputstream.c:
1281 * ginputstream.[ch]:
1283 * glocalfileenumerator.c:
1284 * glocalfileinputstream.c:
1285 * glocalfileoutputstream.c:
1286 * gmemoryinputstream.c:
1287 * gmemoryoutputstream.c:
1288 * goutputstream.[ch]:
1291 * gunixinputstream.c:
1292 * gunixoutputstream.c:
1293 Rename all struct members named:
1294 read, write, close, truncate, or mount
1295 to foo_fn, as these are reserved names
1296 and could be defined as macros in libc.
1299 2007-12-04 Alexander Larsson <alexl@redhat.com>
1302 (g_output_stream_close):
1303 Only call flush if non-null.
1305 2007-11-30 Dan Winship <danw@gnome.org>
1307 * ginputstream.c (g_input_stream_set_pending): Make this take a
1308 GError and return a gboolean, and do the "outstanding operation"
1309 check (and the "stream is already closed" check) itself.
1310 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1312 * goutputstream.c (g_output_stream_set_pending)
1313 (g_output_stream_clear_pending): Likewise
1315 * gbufferedinputstream.c:
1316 * gfileinputstream.c:
1317 * gfileoutputstream.c: Update for that
1319 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1320 Like g_simple_async_report_error_in_idle, but takes a GError
1321 rather than building one.
1323 2007-11-30 Dan Winship <danw@gnome.org>
1325 * goutputstream.c: Don't cheat and unset the "pending" flag around
1326 inner calls. Instead, call the class method directly rather than
1327 the wrapper function that checks "pending"
1329 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1331 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1333 2007-12-03 Hans Breuer <hans@breuer.org>
1335 [start of port to win32/msvc]
1336 * gcancellable.c : HAVE_UNIST_H and _pipe()
1337 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1338 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1339 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1341 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1342 * glocalvfs.c : use HAVE_PWD_H
1343 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1344 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1345 * Makefile.am : added to EXTRA_DIST
1347 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1349 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1352 2007-12-03 Alexander Larsson <alexl@redhat.com>
1355 Handle OSX style xattrs API (#500506)
1357 2007-12-03 Alexander Larsson <alexl@redhat.com>
1361 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1363 2007-12-02 A. Walton <awalton@svn.gnome.org>
1367 Documentation accuracy fixes.
1369 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1371 * gioenumtypes.c.template: Fix typo.
1373 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1375 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1377 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1379 * gdirectorymonitor.c:
1380 * gfilemonitor.c: Add properties
1382 * gbufferedoutputstream.c: Don't mark buffer-size property
1385 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1387 * gbufferedoutputstream.c: Add auto-grow property.
1389 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1391 * *.c: Unify the capitalization of section headings.
1393 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1395 * gmountoperation.c: Add properties
1397 * gdatainputstream.c: Turn byte-order and newline-type into
1400 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1402 * gioenumtypes.[hc].template: Templates for enum registration
1404 * Makefile.am: Generate gioenumtypes.[hc]
1406 * gio.h: Include gioenumtypes.h
1408 * gfile.h: Add some explicit nicks.
1410 * gio.symbols: Add new symbols
1412 * pltcheck.sh: Adjust
1414 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1416 * *.c: Explain etags and link to the explanation
1418 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1420 * *.c: Explain I/O priority.
1422 * *.c: More coding style fixes.
1424 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1426 * gasyncresult.c: Add another paragraph to the intro,
1427 adjust coding style of example.
1429 2007-11-29 A. Walton <awalton@svn.gnome.org>
1432 Fixes unknown meaning in GAppLaunchContext docs.
1434 Clarify asynchronous ops.
1436 Fix entity tag docs.
1439 Provides missing gtk-doc section, fixes API docs slighly.
1440 * gsimpleasyncresult.c:
1441 Fill in missing info in docs.
1442 * gunixinputstream.c:
1443 * gunixoutputstream.c:
1444 Be more expressive in short description.
1446 Remove gtk-doc stubs for non-public API.
1448 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1450 * *.c: Coding style fixups
1452 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1454 * inotify/inotify-helper.c: Don't export the lock from libgio.
1456 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1459 * abicheck.sh: Fix copy-and-paste leftovers
1461 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1463 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1465 2007-11-28 Alexander Larsson <alexl@redhat.com>
1469 Removed unnecessary file
1471 * gdesktopappinfo.[ch]:
1474 * glocaldirectorymonitor.[ch]:
1476 * glocalfileenumerator.[ch]:
1477 * glocalfileinputstream.[ch]:
1478 * glocalfilemonitor.[ch]:
1479 * glocalfileoutputstream.[ch]:
1481 * gnativevolumemonitor.c:
1482 * gpollfilemonitor.[ch]:
1483 * gunionvolumemonitor.[ch]:
1486 * gunixvolumemonitor.[ch]:
1489 * inotify/ginotifydirectorymonitor.[ch]:
1490 * inotify/ginotifyfilemonitor.[ch]:
1491 * inotify/inotify-helper.c:
1492 Append _ to all internal functions
1496 Export symbols needed for modules
1498 2007-11-28 Alexander Larsson <alexl@redhat.com>
1501 * abicheck.sh: Added.
1502 * makegioalias.pl: Added.
1503 * pltcheck.sh: Added.
1504 * gio.symbols: Added.
1507 Initial work on adding symbol handling.
1510 Correct ifdef guard name
1513 * inotify/Makefile.am:
1514 * xdgmime/Makefile.am:
1515 Include toplevel Makefile.decl
1517 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1519 * gcontenttype.c: Move doc comments to the unix section.
1521 * *.[hc]: More trivial doc corrections.
1523 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1525 * gpollfilemonitor.c:
1529 * gdesktopappinfo.c:
1534 * gdatainputstream.c:
1535 * gdatainputstream.h:
1536 * gdataoutputstream.c:
1537 * gdataoutputstream.h:
1538 * gfileinfo.h: Doc cleanups
1540 2007-11-28 Andre Klapper <a9016009@gmx.de>
1542 * gdesktopappinfo.c: Fix a typo.
1544 2007-11-27 Andre Klapper <a9016009@gmx.de>
1546 * glocalfileoutputstream.c: Fix a typo.
1548 2007-11-27 Alexander Larsson <alexl@redhat.com>
1551 Don't include removed headers
1553 2007-11-27 Alexander Larsson <alexl@redhat.com>
1556 * gsocketinputstream.[ch]: Removed.
1557 * gsocketoutputstream.[ch]: Removed.
1558 * gunixinputstream.[ch]: Added.
1559 * gunixoutputstream.[ch]: Added.
1560 Renamed GSocket*Stream to GUnix*Stream and made
1561 it unix-only, since its not really only for sockets
1562 and it only works on unix (but is highly useful there).
1564 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1570 * gbufferedinputstream.c:
1571 * gbufferedinputstream.h:
1572 * gbufferedoutputstream.c:
1573 * gbufferedoutputstream.h:
1577 * gdatainputstream.c:
1578 * gdatainputstream.h:
1579 * gdataoutputstream.c:
1580 * gdataoutputstream.h:
1581 * gdirectorymonitor.c:
1582 * gdirectorymonitor.h:
1589 * gfileenumerator.c:
1590 * gfileenumerator.h:
1595 * gfileinputstream.c:
1596 * gfileinputstream.h:
1599 * gfilenamecompleter.c:
1600 * gfilenamecompleter.h:
1601 * gfileoutputstream.c:
1602 * gfileoutputstream.h:
1603 * gfilterinputstream.c:
1604 * gfilterinputstream.h:
1605 * gfilteroutputstream.c:
1606 * gfilteroutputstream.h:
1619 * glocalfileoutputstream.c:
1620 * gmemoryinputstream.c:
1621 * gmemoryinputstream.h:
1622 * gmemoryoutputstream.c:
1623 * gmemoryoutputstream.h:
1624 * gmountoperation.c:
1625 * gmountoperation.h:
1628 * gpollfilemonitor.c:
1631 * gsimpleasyncresult.c:
1632 * gsimpleasyncresult.h:
1633 * gsocketinputstream.c:
1634 * gsocketinputstream.h:
1635 * gsocketoutputstream.c:
1636 * gsocketoutputstream.h:
1643 * gunixvolumemonitor.c:
1652 Bumps documentation to 93% symbol coverage, touching most
1653 of the public files. Fixes broken function documentation prototypes.
1654 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1655 gtk-doc headers in private files.
1657 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1659 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1660 (g_buffered_input_stream_read_byte):
1661 * gbufferedinputstream.h:
1662 New functions for efficient access to buffer and simple single byte
1665 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1666 (g_data_input_stream_read_until):
1667 * gdatainputstream.h:
1668 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1669 read_until with multiple stop chars.
1671 2007-11-27 Alexander Larsson <alexl@redhat.com>
1675 * inotify/Makefile.am:
1676 Use the user-specified giomoduledir
1678 2007-11-27 Alexander Larsson <alexl@redhat.com>
1682 Add catch-all gio.h header
1683 Don't install gdummyfile.h
1685 2007-11-26 Alexander Larsson <alexl@redhat.com>
1687 * Makefile.am (gioinclude_HEADERS):
1688 Remove trailing whitespace
1690 2007-11-26 Alexander Larsson <alexl@redhat.com>
1692 Merge gio-standalone into glib
1694 2007-11-25 Christian Kellner <gicmo@gnome.org>
1696 * gio/goutputstream.c:
1697 Fix small mistake in the docs.
1699 2007-11-21 Christian Persch <chpe@gnome.org>
1701 * gio/glocalfile.c: (g_local_file_trash):
1702 Convert filenames to UTF-8 for GError.
1703 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1704 as per xdg base dir spec.
1706 2007-11-21 Christian Persch <chpe@gnome.org>
1708 * gio/gdesktopappinfo.c:
1709 Use that g_key_file_to_data cannot fail.
1711 Use stock defines for the key file group and key names.
1714 2007-11-21 Alexander Larsson <alexl@redhat.com>
1717 (copy_stream_with_progress):
1718 Make sure we do a final progress callback with
1719 the full total size.
1721 2007-11-21 Alexander Larsson <alexl@redhat.com>
1724 Export g_file_copy_attributes
1725 Remove padding as its not needed for interfaces
1727 2007-11-20 Alexander Larsson <alexl@redhat.com>
1732 Add G_IO_ERROR_WOULD_MERGE for
1733 copy/move dir on dir with overwrite.
1735 2007-11-20 Alexander Larsson <alexl@redhat.com>
1738 * gio/glocalfileinfo.c:
1739 Add COPY_NAME (this is an optional
1740 non-modified utf8 version of the name) that
1743 2007-11-20 Alexander Larsson <alexl@redhat.com>
1745 * gio/glocalfileenumerator.c:
1746 Report errors as GIOError, not GFileError
1748 2007-11-16 Alexander Larsson <alexl@redhat.com>
1750 * gio/glocalfileoutputstream.c:
1751 * gio/gwin32appinfo.c:
1752 Fix typos in strings.
1753 Patch from Luca Ferretti <elle.uca@libero.it>
1755 2007-11-15 Alexander Larsson <alexl@redhat.com>
1758 Post release version bump
1760 === gio-standalone 0.1.2 ===
1762 2007-11-15 Alexander Larsson <alexl@redhat.com>
1764 * docs/reference/gio/Makefile.am:
1765 Fix up distcheck by removing weird
1771 2007-11-14 Alexander Larsson <alexl@redhat.com>
1773 * gio/gdesktopappinfo.c:
1774 * gio/glocaldirectorymonitor.c:
1776 * gio/glocalfileinfo.c:
1777 * gio/inotify/inotify-sub.c:
1778 * programs/gio-cat.c:
1779 * programs/gio-copy.c:
1780 * programs/gio-info.c:
1781 * programs/gio-ls.c:
1782 * programs/gio-monitor-dir.c:
1783 * programs/gio-monitor-file.c:
1784 * programs/gio-mount.c:
1785 * programs/gio-move.c:
1786 * programs/gio-rm.c:
1787 * programs/gio-save.c:
1788 * programs/gio-trash.c:
1789 Leak fixes from Kjartan Maraas
1791 2007-11-14 Alexander Larsson <alexl@redhat.com>
1793 * gio/fam/fam-helper.c:
1795 * gio/glocalfileinfo.c:
1799 * gio/inotify/inotify-diag.c:
1800 * gio/inotify/inotify-kernel.c:
1801 Various code cleanups from Kjartan Maraas
1803 2007-11-14 Alexander Larsson <alexl@redhat.com>
1805 * gio/gioscheduler.c:
1807 Set up threadpool so that we cache 2 unused
1808 idle threads for at 15 secs. This means we
1809 will reuse thread-local data (like dbus connections)
1812 2007-11-14 Alexander Larsson <alexl@redhat.com>
1814 * gio/fam/fam-helper.c:
1815 * gio/fam/gfamdirectorymonitor.c:
1816 * gio/fam/gfamfilemonitor.c:
1818 * gio/gcontenttype.c:
1819 * gio/gdatainputstream.c:
1820 * gio/gdataoutputstream.c:
1824 * gio/gfileattribute.h:
1825 * gio/gfileenumerator.c:
1827 * gio/ginputstream.c:
1830 * gio/glocalfileinfo.c:
1831 * gio/goutputstream.c:
1832 * gio/gpollfilemonitor.c:
1833 * gio/gsimpleasyncresult.c:
1834 * gio/gunixmounts.c:
1835 * gio/gunixmounts.h:
1836 * gio/inotify/ginotifydirectorymonitor.c:
1837 * gio/inotify/ginotifyfilemonitor.c:
1838 * gio/inotify/inotify-diag.c:
1839 * gio/inotify/inotify-kernel.c:
1840 * gio/inotify/inotify-path.c:
1842 * gio/test-streams.c:
1843 * programs/gio-info.c:
1844 * programs/gio-monitor-dir.c:
1845 * programs/gio-monitor-file.c:
1846 Various code cleanups from Kjartan Maraas
1848 2007-11-13 Alexander Larsson <alexl@redhat.com>
1851 Handle the uri-scheme calls for dummy files
1853 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1855 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1856 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1857 to avoid clash with the C++ keyword.
1859 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1861 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1862 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1864 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1866 * gio/glocaldirectorymonitor.c:
1867 * gio/glocalfilemonitor.c:
1868 * gio/gunionvolumemonitor.c:
1869 Don't use g_once_init_*() for initializations that could fail and
1870 could leave the initialization variable set to 0 but use GOnce.
1871 This prevents a deadlock on the second call when trying to create
1872 a monitor and no monitor type is available. Thanks to Sven Herzberg
1875 2007-11-11 Sven Herzberg <sven@imendio.com>
1877 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1878 #ifdef (make it work on MacOS X again)
1880 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1882 Fixes Changelog for last two commits (sorry guys).
1884 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1886 * gio/gbufferedinputstream.c:
1887 * gio/gdatainputstream.c:
1889 * gio/gfileoutputstream.c:
1890 * gio/gfilterinputstream.c:
1891 * gio/glocalfileinputstream.c:
1894 More consistency fixes in g*stream.c files.
1895 Significant clean of gfile's documentation, filling in of
1896 asynchronous operations documentation.
1898 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1900 * gio/gasyncresult.c:
1901 * gio/gbufferedinputstream.c:
1902 * gio/gbufferedoutputstream.c:
1903 * gio/gcancellable.c:
1904 * gio/gcontenttype.c:
1905 * gio/gdatainputstream.c:
1906 * gio/gdataoutputstream.c:
1907 * gio/gdesktopappinfo.c:
1910 * gio/gfileattribute.c:
1911 * gio/gio/gfileenumerator.c:
1913 * gio/gfileinputstream.c:
1914 * gio/gfilemonitor.c:
1915 * gio/gfileoutputstream.c:
1916 * gio/ginputstream.c:
1918 * gio/gioscheduler.c:
1919 * gio/gloadableicon.c:
1920 * gio/glocalfileoutputstream.c:
1921 * gio/gmemoryoutputstream.c:
1922 * gio/gmountoperation.c:
1923 * gio/goutputstream.c:
1925 * gio/gsimpleasyncresult.c:
1926 * gio/gunionvolumemonitor.c:
1927 * gio/gunixmounts.c:
1928 * gio/gunixvolume.c:
1932 * gio/gvolumemonitor.c:
1933 Updated documentation stubs, working towards consistency and
1936 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1938 * gio/gmemoryoutputstream.c:
1939 * gio/gmemoryoutputstream.h:
1940 Change g_memory_output_stream_set_free_on_close() to
1941 g_memory_output_stream_set_free_data() as this makes more sense and
1942 is more consistent with GMemoryInputStream.
1944 2007-11-07 Alexander Larsson <alexl@redhat.com>
1951 Change how we find the default vfs so that
1952 we can handle a gvfs failing to init
1954 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1956 * gio/gbufferedoutputstream.c:
1957 * gio/gdatainputstream.c:
1958 * gio/gdataoutputstream.c:
1959 * gio/gfileinputstream.c:
1960 * gio/gfileoutputstream.c:
1961 * gio/gfilterinputstream.c:
1962 * gio/gfilteroutputstream.c:
1963 * gio/ginputstream.c:
1964 * gio/gmemoryinputstream.c:
1965 * gio/gmemoryoutputstream.c:
1966 * gio/goutputstream.c:
1967 * gio/gsimpleasyncresult.c:
1968 * gio/gsocketinputstream.c:
1969 * gio/gsocketoutputstream.c:
1970 Add guards to the remaining public functions, add a TODO for
1971 an unimplemented function and remove some useless guards.
1973 2007-11-07 Alexander Larsson <alexl@redhat.com>
1976 Autoconf checks for the various types of
1977 getpwuid_r and getgrgid_r
1979 * gio/glocalfileinfo.c:
1980 Use the autoconf checks from above
1982 2007-11-07 Alexander Larsson <alexl@redhat.com>
1985 (g_local_file_query_filesystem_info):
1986 Some fixes for the statvfs case
1988 2007-11-07 Alexander Larsson <alexl@redhat.com>
1991 (g_local_file_query_filesystem_info):
1992 Pick the "best" of statfs / statvfs for the system
1993 if both are availible.
1995 2007-11-07 Alexander Larsson <alexl@redhat.com>
1997 Solaris fixes from Halton.Huo@Sun.COM:
2004 * gio/glocalfileinfo.c:
2005 Fix for solaris definition of getpwuid_r
2007 * gio/test-streams.c:
2008 Use G_GNUC_PRETTY_FUNCTION
2010 2007-11-07 Alexander Larsson <alexl@redhat.com>
2012 * gio/gdesktopappinfo.c:
2013 (update_default_list):
2014 Remove double semicolon.
2015 Patch from Jens Granseuer
2017 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2019 * docs/reference/gio/gio-sections.txt:
2020 * gio/gbufferedinputstream.c:
2021 * gio/gbufferedinputstream.h:
2022 * gio/gdatainputstream.c:
2023 * gio/gfileenumerator.c:
2024 * gio/gioscheduler.c:
2025 * gio/gunionvolumemonitor.c:
2027 * programs/gio-save.c:
2028 Fix typo: availible -> available. Unfortuntely this breaks API
2029 and ABI as g_buffered_input_stream_get_available() was renamed.
2031 * gio/gunixmounts.c:
2032 * gio/gbufferedinputstream.c:
2033 Add guards for public functions.
2035 2007-11-06 Ross Burton <ross@openedhand.com>
2037 * docs/reference/gio/Makefile.am:
2038 Fix invalid += usage which automake 1.10 doesn't like.
2040 2007-11-06 Alexander Larsson <alexl@redhat.com>
2043 (g_app_launch_context_class_init):
2046 Patch from Ross Burton
2048 2007-11-06 Alexander Larsson <alexl@redhat.com>
2051 Post release version bump
2053 === gio-standalone 0.1.1 ===
2055 2007-11-06 Alexander Larsson <alexl@redhat.com>
2058 Bump version to 0.1.1
2060 * gio/gsimpleasyncresult.c:
2061 (g_simple_async_result_set_from_error):
2062 Remove bogus g_return_if_fail
2064 2007-11-06 Alexander Larsson <alexl@redhat.com>
2067 The name is gio-standalone
2070 Add top src/builddir to includedir
2072 2007-11-06 Alexander Larsson <alexl@redhat.com>
2074 * docs/reference/gio/gio-sections.txt:
2076 * gio/gbufferedinputstream.c:
2077 * gio/gbufferedoutputstream.c:
2078 * gio/gcancellable.c:
2079 * gio/gdatainputstream.h:
2080 * gio/gdataoutputstream.c:
2081 * gio/gdataoutputstream.h:
2082 * gio/gdirectorymonitor.c:
2084 * gio/gfileattribute.c:
2085 * gio/gfileattribute.h:
2086 * gio/gfileenumerator.c:
2087 * gio/gfileenumerator.h:
2090 * gio/gfileinputstream.h:
2091 * gio/gfilemonitor.c:
2092 * gio/gfileoutputstream.h:
2093 * gio/glocalfilemonitor.h:
2094 * gio/glocalfileoutputstream.h:
2095 * gio/gmemoryinputstream.c:
2096 * gio/gmemoryoutputstream.c:
2097 * gio/gmountoperation.c:
2098 * gio/goutputstream.c:
2099 * gio/goutputstream.h:
2101 * gio/gsimpleasyncresult.c:
2102 * gio/gunixmounts.c:
2103 * gio/gunixmounts.h:
2105 * gio/inotify/inotify-helper.c:
2106 Fix gtk-doc warnings
2108 Patch from Ross Burton
2110 2007-11-06 Alexander Larsson <alexl@redhat.com>
2112 * gio/gfilenamecompleter.c:
2113 (g_filename_completer_get_completions):
2116 * gio/gunixvolume.c:
2117 Remove unused function
2119 Patches from Ross Burton
2121 2007-11-06 Alexander Larsson <alexl@redhat.com>
2126 Padding not needed for interfaces
2128 2007-11-06 Alexander Larsson <alexl@redhat.com>
2130 * gio/gfilemonitor.c:
2134 Make giotypes.h an internal file
2137 * gio/gbufferedinputstream.h:
2138 * gio/gbufferedoutputstream.h:
2139 * gio/gcancellable.h:
2140 * gio/gdatainputstream.h:
2141 * gio/gdataoutputstream.h:
2142 * gio/gdirectorymonitor.c:
2143 * gio/gdirectorymonitor.h:
2148 * gio/gfileattribute.h:
2149 * gio/gfileenumerator.h:
2154 * gio/gfilemonitor.c:
2155 * gio/gfilemonitor.h:
2156 * gio/gfilenamecompleter.c:
2157 * gio/gfilenamecompleter.h:
2158 * gio/gfilterinputstream.h:
2159 * gio/gfilteroutputstream.h:
2160 * gio/ginputstream.h:
2161 * gio/gmemoryinputstream.h:
2162 * gio/gmemoryoutputstream.h:
2163 * gio/gmountoperation.c:
2164 * gio/gmountoperation.h:
2165 * gio/gnativevolumemonitor.c:
2166 * gio/goutputstream.h:
2169 * gio/gsimpleasyncresult.c:
2170 * gio/gsimpleasyncresult.h:
2171 * gio/gsocketinputstream.h:
2172 * gio/gsocketoutputstream.h:
2173 * gio/gthemedicon.c:
2174 * gio/gthemedicon.h:
2178 * gio/gvolumemonitor.c:
2179 * gio/gvolumemonitor.h:
2180 Add padding in classes where it seems useful
2181 Don't include giotypes.h from public headers
2182 Move in Class definitions into c file where possible
2187 2007-11-06 Alexander Larsson <alexl@redhat.com>
2189 * docs/reference/gio/gio-docs.xml:
2190 Better structure for API docs
2192 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2195 * gio/gloadableicon.c:
2196 * gio/gsimpleasyncresult.c:
2197 * gio/gthemedicon.c:
2198 Add some more guards to public functions. Only files missing are now
2201 2007-11-06 Alexander Larsson <alexl@redhat.com>
2203 * docs/reference/gio/gio-docs.xml:
2204 Remove old files, add missing ones
2206 2007-11-06 Alexander Larsson <alexl@redhat.com>
2208 * docs/reference/gio/gio-sections.txt:
2211 Hide implementation classes
2213 * gio/gdriveprivate.h:
2214 * gio/gvolumeprivate.h:
2215 Remove non-existing function declarations
2217 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2220 Fix compilation warnings and add guards to the new functions.
2222 * gio/gasyncresult.c:
2224 Add guards to the public functions.
2227 Implement get_path().
2229 2007-11-06 Alexander Larsson <alexl@redhat.com>
2231 * gio/gfilenamecompleter.c:
2232 Make g_filename_completer_get_completions
2233 return char ** instead of GList for
2236 * docs/reference/gio/gio-docs.xml:
2237 * docs/reference/gio/gio-sections.txt:
2239 * gio/gasyncresult.c:
2240 * gio/gbufferedinputstream.c:
2241 * gio/gbufferedoutputstream.c:
2242 * gio/gcancellable.c:
2243 * gio/gcontenttype.c:
2244 * gio/gdatainputstream.c:
2245 * gio/gdataoutputstream.c:
2246 * gio/gdesktopappinfo.c:
2247 * gio/gdirectorymonitor.c:
2251 * gio/gfileattribute.c:
2252 * gio/gfileenumerator.c:
2255 * gio/gfileinputstream.c:
2256 * gio/gfilemonitor.c:
2257 * gio/gfilenamecompleter.c:
2258 * gio/gfilenamecompleter.h:
2259 * gio/gfileoutputstream.c:
2260 * gio/gfilterinputstream.c:
2262 * gio/ginputstream.c:
2264 * gio/gioscheduler.c:
2265 * gio/gloadableicon.c:
2266 * gio/glocaldirectorymonitor.c:
2268 * gio/glocalfileinputstream.c:
2269 * gio/glocalfilemonitor.c:
2270 * gio/glocalfileoutputstream.c:
2272 * gio/gmemoryinputstream.c:
2273 * gio/gmemoryoutputstream.c:
2274 * gio/gmountoperation.c:
2275 * gio/goutputstream.c:
2276 * gio/gpollfilemonitor.c:
2278 * gio/gsimpleasyncresult.c:
2279 * gio/gsocketinputstream.c:
2280 * gio/gsocketoutputstream.c:
2281 * gio/gthemedicon.c:
2282 * gio/gunionvolumemonitor.c:
2284 * gio/gunixmounts.c:
2285 * gio/gunixvolume.c:
2286 * gio/gunixvolumemonitor.c:
2290 * gio/gvolumemonitor.c:
2291 * gio/gwin32appinfo.c:
2292 Add (mostly stub) doc strings to public functions.
2293 Patch from Andrew Walton (awalton@gmail.com)
2295 2007-11-06 Alexander Larsson <alexl@redhat.com>
2297 * gio/gappinfo.[ch]:
2298 Added GAppLaunchContext object and pass that to launch.
2299 This allows simple implementation of both
2300 launch-on-screen and startup notification via a gtk+
2301 subclass of GAppLaunchContext
2303 * gio/gdesktopappinfo.c:
2304 Implement GAppLaunchContext API
2306 * gio/gwin32appinfo.c:
2309 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2311 * gio/gmountoperation.c:
2312 Add some guards to GMountOperation's public functions.
2314 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2318 * gio/gcancellable.c:
2319 * gio/gdirectorymonitor.c:
2321 * gio/gfileenumerator.c:
2322 * gio/gfilemonitor.c:,
2323 * gio/gfilenamecompleter.c:
2326 * gio/gioscheduler.c:
2330 * gio/gvolumemonitor.c:
2331 Add even more guards to various public functions.
2333 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2336 Add guards to the public functions of GAppInfo.
2338 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2340 * gio/gcontenttype.c:
2341 Add some more guards for public functions.
2343 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2345 * gio/fam/fam-module.c:
2346 * gio/fam/gfamdirectorymonitor.c:
2347 * gio/fam/gfamdirectorymonitor.h:
2348 * gio/fam/gfamfilemonitor.c:
2349 * gio/fam/gfamfilemonitor.h:
2350 * gio/inotify/ginotifydirectorymonitor.c:
2351 * gio/inotify/ginotifydirectorymonitor.h:
2352 * gio/inotify/ginotifyfilemonitor.c:
2353 * gio/inotify/ginotifyfilemonitor.h:
2354 Add proper copyright information and remove an unused variable
2355 in the GInotifyFileMonitor constructor.
2357 * gio/gcancellable.c:
2358 Add a guard for a public function and an assertion to prevent
2359 an undefined program state.
2361 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2363 * gio/gfileattribute.c:
2364 Don't run into an assertion if the given attribute value is NULL
2365 in g_file_attribute_value_get_*() but instead return a fallback
2366 value that makes sense in most situations. Passing them a attribute
2367 value with the wrong type will still run into an assertion.
2369 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2371 * gio/gfileattribute.c:
2373 Add even more guards to the public functions. Also fix the refcounting
2374 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2375 let g_file_info_list_attributes() filter the attributes by namespace
2376 instead of simply ignoring the namespace parameter.
2378 2007-11-03 Sven Herzberg <sven@imendio.com>
2380 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2381 (This makes gio work on MacOS X again)
2383 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2386 Build the gio subdirectory before the docs. Otherwise the build will
2389 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2390 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2391 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2392 Add guards to the public functions.
2394 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2396 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2397 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2398 to prevent a compiler warning.
2400 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2401 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2402 return something in the non-void function find_topdir_for().
2404 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2411 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2413 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2414 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2415 * gwin32appinfo.c (g_win32_app_info_launch):
2416 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2417 envp_for_startup_id, g_desktop_app_info_launch,
2418 g_desktop_app_info_launch_uris):
2420 Give an opaque 'startup_id' string instead of 'envp'.
2421 Support empty file lists for launching new windows.
2422 Fix infinite recursion bug when launching URIs.
2424 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2427 Add guard to the new g_file_get_uri_scheme() function.
2429 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2432 Convert a g_return_val_if_fail() to setting the GError instead as
2433 otherwise applications have to verify the parameter before otherwise
2434 and the parameter might come directly from the user.
2436 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2438 * gio/inotify/ginotify*.[ch]:
2439 Add missing copyright information.
2441 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2444 Add guards in the beginning of public functions to check for valid
2445 parameters and fix a bug in copy_stream_with_progress() that could've
2446 caused writing less bytes than reading.
2447 * gio/glocalfileinfo.c:
2448 Check for a NULL parameter and set the GError accordingly then.
2449 * gio/goutputstream.c:
2450 Fix the same bug as in gfile.c that could've caused writing less bytes
2451 than reading in g_output_stream_real_splice().
2453 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2456 Use the correct gvolumeprivate.h naming
2458 2007-11-01 Christian Kellner <gicmo@gnome.org>
2461 Remove leftover "$(daemon_sources)" entry.
2463 2007-11-01 Christian Kellner <gicmo@gnome.org>
2468 Add copyright information to source files.
2470 2007-11-01 Alexander Larsson <alexl@redhat.com>
2474 Add g_file_get_uri_scheme
2476 2007-11-01 Alexander Larsson <alexl@redhat.com>
2479 * gio/gdesktopappinfo.c:
2480 * gio/gwin32appinfo.c:
2481 Add g_app_info_get_default_for_uri_scheme.
2483 2007-11-01 Alexander Larsson <alexl@redhat.com>
2486 Correct filename for gdriveprivate.h
2488 2007-10-31 Alexander Larsson <alexl@redhat.com>
2491 Rename id:value to id:file
2494 * gio/glocalfileinfo.c:
2497 2007-10-31 Alexander Larsson <alexl@redhat.com>
2499 * gio/gunixvolume.c:
2501 Remove g_volume_get_platform_id, as thats not
2502 needed with the simpler union volume monitor
2504 2007-10-31 Alexander Larsson <alexl@redhat.com>
2507 * gio/guniondrive.[ch]: Removed.
2508 * gio/gunionvolume.[ch]: Removed.
2509 Remove GUnionDrive/Volume
2511 * gio/gunionvolumemonitor.c:
2512 Simplify union volume monitor, now we
2513 only have one native volume monitor and
2514 we use the actual volumes/drives from the
2515 child monitors instead of wrapping them
2517 * gio/gnativevolumemonitor.[ch]:
2518 Base class for native volume monitors.
2519 Includes priority and get_volume_for_mountpoint
2522 Add g_file_find_enclosing_volume
2525 Remove volume name fs attribute
2526 Add readonly fs attribute
2529 Implement readonly attribute
2530 remove volume name attribute
2531 Implement find_enclosing volume
2533 * gio/gunixmounts.c:
2534 Add a volume for "/".
2536 * gio/gunixvolume.[ch]:
2537 Set better name for /
2539 * gio/gunixvolumemonitor.[ch]:
2540 Derive from GNativeVolumeMonitor
2541 Implement get_volume_for_mountpoint
2544 GVolume typedef moved to gfile.h
2546 * gio/gvolumeprivate.h:
2547 Add g_volume_get_for_mount_path
2549 2007-10-31 Alexander Larsson <alexl@redhat.com>
2551 * gio/gunixmounts.[ch]:
2552 Add cache info to unix mount listers
2553 Make getmntent use threadsafe
2554 Add is_system_internal attribute for GUnixMount
2556 * gio/gunixvolume.c:
2557 (g_unix_volume_new):
2558 Use is_system_internal instead of own code
2560 * gio/glocaldirectorymonitor.c:
2561 * gio/gunixvolumemonitor.c:
2562 Update to new gunixmounts API
2567 2007-10-30 Alexander Larsson <alexl@redhat.com>
2570 Add volume name fsinfo attribute
2573 Read volume name info
2575 * gio/gunionvolumemonitor.c:
2576 Fix infinite loops when finalizing a union volume monitor
2578 2007-10-30 Alexander Larsson <alexl@redhat.com>
2580 * gio/goutputstream.[ch]:
2581 Add splice() with default implementation
2583 * gio/gsocketoutputstream.c:
2584 (g_socket_output_stream_write):
2585 Return error on cancellation correctly.
2587 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2589 * gio/glocalfile.c (g_local_file_trash):
2590 Do not leak a string.
2592 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2594 * gio/gfile.c (g_file_load_contents):
2595 Unref the stream after closing it.
2597 2007-10-25 Alexander Larsson <alexl@redhat.com>
2599 * gio/gioscheduler.h:
2602 2007-10-25 Alexander Larsson <alexl@redhat.com>
2606 Add g_file_has_uri_scheme and implement for local files
2608 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2610 * gio/gdesktopappinfo.c: do not leak a string.
2612 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2614 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2615 (g_local_directory_monitor_new):
2616 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2617 (g_local_file_monitor_new):
2618 Only look for the monitor type that should be used the first time
2619 and use g_qsort_with_data() instead of our own bubble sort
2622 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2625 * gio/fam/Makefile.am:
2626 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2627 * gio/fam/fam-helper.h:
2628 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2629 * gio/fam/gfamdirectorymonitor.c:
2630 * gio/fam/gfamdirectorymonitor.h:
2631 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2632 * gio/fam/gfamfilemonitor.h:
2633 * gio/glocaldirectorymonitor.c:
2634 * gio/glocaldirectorymonitor.h:
2635 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2636 * gio/glocalfilemonitor.h:
2637 * gio/inotify/Makefile.am:
2638 * gio/inotify/ginotifydirectorymonitor.c:
2639 * gio/inotify/ginotifydirectorymonitor.h:
2640 * gio/inotify/ginotifyfilemonitor.c:
2641 * gio/inotify/ginotifyfilemonitor.h:
2642 Implement the FAM and Inotify monitors as
2643 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2644 their own GIO module. GLocal(Directory|File)Monitor will use the
2645 monitor with the highest rank that is supported on that machine.
2647 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2650 Change GIO module dir to $(libdir)/gio/modules and change
2651 the log domain from GVFS to GIO. Also only export symbols starting
2652 with g_ in the resulting library.
2653 * gio/test-streams.c: (main):
2654 Set log handler for the GIO log domain.
2656 2007-10-22 Alexander Larsson <alexl@redhat.com>
2658 * gio/gfilenamecompleter.[ch]:
2659 Add g_filename_completer_set_dirs_only
2661 2007-10-22 Alexander Larsson <alexl@redhat.com>
2664 * gio/gurifuncs.[ch]:
2665 Add some simple URI helpers
2667 * gio/gfilenamecompleter.[ch]:
2668 Added object for filename (parse name actually) completion
2671 Handle ~ in parse names
2673 2007-10-17 Alexander Larsson <alexl@redhat.com>
2676 * gio/glocalfileinfo.c:
2677 Add and implement id:value attribute
2679 2007-10-17 Alexander Larsson <alexl@redhat.com>
2682 * gio/guniondrive.c:
2684 Add and implement g_drive_has_volumes
2686 2007-10-17 Alexander Larsson <alexl@redhat.com>
2689 * gio/glocalfileinfo.[ch]:
2690 Add unix:is_mountpoint and implement for local files
2692 2007-10-16 Alexander Larsson <alexl@redhat.com>
2694 * gio/gunionvolumemonitor.c:
2695 (g_union_volume_monitor_init):
2696 Fix up the unix type getting so that it works with gcc
2698 2007-10-12 Alexander Larsson <alexl@redhat.com>
2701 * gio/glocalfileinfo.c:
2702 Add thumbnail:failed to file info
2704 2007-10-12 Richard Hult <richard@imendio.com>
2706 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2707 optimizing away the get_type call (happens with some gcc versions,
2708 like the one shipped with OS X 10.4).
2710 2007-10-12 Alexander Larsson <alexl@redhat.com>
2712 * gio/glocalfileinfo.c:
2713 (_g_local_file_info_set_attribute):
2714 Fix build if not HAVE_XATTR
2715 Patch from Milosz Derezynski <internalerror@gmail.com>
2717 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2719 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2720 around for review, otherwise I would have asked you before
2723 2007-10-11 Alexander Larsson <alexl@redhat.com>
2726 Add thumbnail:path attribute
2728 * gio/glocalfileinfo.c:
2729 Implement thumbnail:path for local files
2731 2007-10-11 Alexander Larsson <alexl@redhat.com>
2733 * gio/glocalfileinfo.c:
2734 (_g_local_file_info_get):
2735 Avoid duplicate icon names
2737 2007-10-11 Alexander Larsson <alexl@redhat.com>
2739 * gio/gthemedicon.[ch]:
2740 Change g_themed_icon_get_names return type to const
2742 2007-10-10 Alexander Larsson <alexl@redhat.com>
2744 * gio/glocalfileinfo.c:
2745 Don't reference freed memory
2747 2007-10-10 Alexander Larsson <alexl@redhat.com>
2749 * gio/gfileattribute.c:
2752 * gio/glocalfileinfo.c:
2755 2007-10-10 Alexander Larsson <alexl@redhat.com>
2758 Check for NULL icons
2760 * gio/gfileattribute.c:
2761 Don't dup when getting objects (same as for string attributes)
2763 * gio/gicon.c (g_icon_equal):
2764 Safely handle NULLs in equal
2766 2007-10-10 Alexander Larsson <alexl@redhat.com>
2769 Fix c++ compilation issues
2770 Patch from Milosz Derezynski <internalerror@gmail.com>
2772 2007-10-10 Alexander Larsson <alexl@redhat.com>
2774 * programs/gio-monitor-dir.c:
2775 Don't crash if dir monitor not supported.
2777 2007-10-09 Alexander Larsson <alexl@redhat.com>
2780 Add missing G_END_DECLS
2782 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2784 * gio/gfile.c: (g_file_set_display_name),
2785 (g_file_query_settable_attributes),
2786 (g_file_query_writable_namespaces):
2787 Return NULL not FALSE on errors as the return type is a pointer.
2789 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2791 * gio/glocalfile.c: (g_local_file_monitor_file):
2792 Don't call monitor_file on the default interface vtable (which
2793 is NULL) but simply return NULL. The caller, GFile, will create a
2794 polling monitor if NULL is returned.
2796 2007-10-09 Alexander Larsson <alexl@redhat.com>
2800 * gio-unix-2.0.pc.in:
2801 Add gio-unix-2.0.pc if OS_UNIX
2804 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2806 2007-10-09 Alexander Larsson <alexl@redhat.com>
2808 * gio/gunixmounts.[ch]:
2809 Make unix mount monitoring API sane.
2810 Now its just a object with mounts_changed
2811 and mountpoints_changed signals.
2813 * gio/glocaldirectorymonitor.c:
2814 * gio/gunixvolumemonitor.c:
2815 Use new mount monitor api
2817 2007-10-09 Alexander Larsson <alexl@redhat.com>
2819 * gio/gunixmounts.[ch]:
2820 Move guess type into one call for mounts and one for mountpoints
2823 * gio/gunixvolume.c:
2826 2007-10-09 Alexander Larsson <alexl@redhat.com>
2828 * gio/gunixmounts.[ch]:
2829 Remove _ prefix in preparation to make this semi-public
2830 Hide implementation of structs
2832 * gio/glocaldirectorymonitor.c:
2834 * gio/gunixvolume.c:
2835 * gio/gunixvolumemonitor.c:
2836 Update for above API changes
2838 2007-10-08 Alexander Larsson <alexl@redhat.com>
2841 Better polling fallback. This also handles the case where we have
2842 a monitor_file implementation, but it fails.
2844 2007-10-08 Alexander Larsson <alexl@redhat.com>
2848 * gio/gunixmounts.c:
2849 * programs/gio-monitor-dir.c:
2850 * programs/gio-monitor-file.c:
2851 Added cancellable to file monitoring calls.
2852 These are really sync calls and need this.
2854 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2856 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2857 (g_local_vfs_class_init):
2858 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2859 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2861 2007-10-05 Alexander Larsson <alexl@redhat.com>
2863 * gio/gdirectorymonitorprivate.h:
2864 * gio/gfilemonitorprivate.h:
2865 * gio/gdirectorymonitor.h:
2866 * gio/gfilemonitor.h:
2867 Remove *private.h and move to the public API, so that
2868 we can do implementations outside gio (such as in gvfs)
2870 * gio/gdirectorymonitor.c:
2871 * gio/gfilemonitor.c:
2872 * gio/glocaldirectorymonitor.c:
2873 * gio/gpollfilemonitor.c:
2874 * gio/inotify/inotify-helper.c:
2875 * gio/fam/fam-helper.c:
2876 Update to the new header names
2878 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2880 * gio/gdirectorymonitor.c:
2881 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2884 2007-10-04 Alexander Larsson <alexl@redhat.com>
2886 * gio/glocalfileinfo.c (get_access_rights):
2887 Set CAN_TRASH when we can move the file.
2888 We should really also check for a parent trash dir.
2890 2007-10-04 Alexander Larsson <alexl@redhat.com>
2892 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2893 Add can_trash access attribute
2895 2007-10-04 Alexander Larsson <alexl@redhat.com>
2898 (g_local_file_trash):
2899 Create info file first. This is per-spec and allows
2900 us to actually trash directories.
2902 2007-10-02 Alexander Larsson <alexl@redhat.com>
2904 * gio/gdesktopappinfo.c:
2905 Implement the new mime support code.
2906 Always set app as handling mimetype when being set as default for it
2908 2007-10-01 Alexander Larsson <alexl@redhat.com>
2910 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2911 Fix up check for xattrs:
2913 2007-10-01 Alexander Larsson <alexl@redhat.com>
2916 (g_app_info_set_as_default_for_extension):
2917 (g_app_info_add_supports_type):
2918 (g_app_info_can_remove_supports_type):
2919 (g_app_info_remove_supports_type):
2920 Make these fail nicely if not implemented
2922 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2924 * gio/glocalfileoutputstream.c:
2925 * gio/glocalfileoutputstream.h:
2930 * programs/gio-save.c:
2931 Add a GFileCreateFlags argument to operations that can create
2934 2007-10-01 Alexander Larsson <alexl@redhat.com>
2936 * gio/gappinfo.[ch]:
2937 * gio/gdesktopappinfo.c:
2938 Add more (stubbed out) mime API needed for nautilus
2940 2007-10-01 Alexander Larsson <alexl@redhat.com>
2943 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2944 Add g_app_info_set_as_default_for_extension.
2946 * gio/gdesktopappinfo.c:
2947 Dummy for g_app_info_set_as_default_for_extension
2948 Support flags in g_app_info_create_from_commandline
2950 * gio/gwin32appinfo.c:
2952 Update for API changes
2954 * gio/gthemedicon.c:
2955 Properly NULL-terminate list of icon names
2957 2007-09-28 Alexander Larsson <alexl@redhat.com>
2959 * gio/gloadableicon.h:
2960 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2962 2007-09-28 Alexander Larsson <alexl@redhat.com>
2965 Install headers in $includedir/gio-standalone/
2967 * gio-2.0.pc.in: Added.
2968 * gio-standalone.pc.in: Removed.
2971 Renamed pkg-config file to match glib (for future move)
2972 Update to the new include dir
2975 Add more TODO comments
2977 2007-09-28 Alexander Larsson <alexl@redhat.com>
2979 * gio/gdesktopappinfo.[ch]:
2980 Expose new_from_filename
2981 Add getter for is_hidden and handle it better
2983 2007-09-28 Alexander Larsson <alexl@redhat.com>
2985 * gio/gfileinfo.[ch]:
2986 Rename g_file_size_format_for_display to
2987 g_format_file_size_for_display.
2988 Now it doesn't have the g_file prefix, so we
2989 can later move it to glib.
2991 2007-09-28 Alexander Larsson <alexl@redhat.com>
2993 * gio/gappinfo.[ch]:
2994 Add g_app_info_get_id and g_app_info_get_executable.
2995 Make all getters non-reffing
2996 Make g_app_info_launch take GFile arguments.
2997 Add must_support_uris argument to g_app_info_get_default_for_type.
2999 * gio/gwin32appinfo.c:
3000 Update to GAppInfo api changes
3002 * gio/gdesktopappinfo.c:
3003 Update to GAppInfo api changes
3004 Implement supports_xdg_startup_notify
3006 * gio/gfileicon.c (g_file_icon_get_file):
3007 Make getter non-reffing.
3012 2007-09-27 Alexander Larsson <alexl@redhat.com>
3014 * gio/gfileinfo.[ch]:
3015 Add g_file_size_format_for_display helper
3017 2007-09-27 Alexander Larsson <alexl@redhat.com>
3019 * gio/glocalfileinfo.c:
3020 Set UNIX_GID from gid, not from uid
3022 2007-09-27 Alexander Larsson <alexl@redhat.com>
3025 Add g_file_set_attributes_async
3027 2007-09-27 Alexander Larsson <alexl@redhat.com>
3029 * gio/glocalfile.c (g_local_file_set_display_name):
3030 Fix set_display_name to actually rename to the right place.
3031 Use lstat to look for existing files so we don't overwrite
3034 2007-09-26 Alexander Larsson <alexl@redhat.com>
3037 Add g_file_set_display_name_async()
3039 2007-09-26 Alexander Larsson <alexl@redhat.com>
3042 Add load_partial_contents async calls
3045 Make internal function static
3047 2007-09-26 Alexander Larsson <alexl@redhat.com>
3049 * gio/glocalfileinfo.c:
3050 Correctly detect broken symlinks
3052 2007-09-26 Alexander Larsson <alexl@redhat.com>
3054 * gio/gcancellable.c (g_cancellable_cancel):
3055 Allow cancel on NULL cancellable
3057 2007-09-25 Alexander Larsson <alexl@redhat.com>
3059 * gio/gsimpleasyncresult.c:
3060 Don't allocate g_error manually.
3061 Fixes g_slice/g_new mixup crash
3063 2007-09-25 Alexander Larsson <alexl@redhat.com>
3065 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3066 Actually set active_backend.
3067 This means the monitor will be cancelled correctly.
3069 2007-09-25 Alexander Larsson <alexl@redhat.com>
3071 * gio/gdirectorymonitor.c:
3072 Set timeout to NULL when destroying
3074 2007-09-25 Alexander Larsson <alexl@redhat.com>
3077 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3078 that is a better description of the error.
3080 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3082 * gio/gvfs.c: (g_vfs_get_local):
3083 Make the local vfs variable static. The same instance should
3086 2007-09-24 Alexander Larsson <alexl@redhat.com>
3088 * gio/glocalfileinfo.c:
3089 Pass in actual length read into sniffer, not the length
3092 2007-09-21 Alexander Larsson <alexl@redhat.com>
3094 * gio/gfileenumerator.c:
3097 * gio/gfileinputstream.c:
3098 * gio/gfileoutputstream.c:
3099 * gio/ginputstream.c:
3100 * gio/goutputstream.c:
3101 Don't crash if async callbacks are NULL
3103 2007-09-20 Alexander Larsson <alexl@redhat.com>
3106 Add async enumerate_children method and default
3109 2007-09-20 Alexander Larsson <alexl@redhat.com>
3112 Add g_file_contains_file & g_file_get_relative_path, since they
3113 were needed for nautilus.
3114 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3119 Implement new methods
3121 2007-09-17 Alexander Larsson <alexl@redhat.com>
3124 * gio/gfileinputstream.[ch]:
3125 * gio/gfileoutputstream.[ch]:
3127 * gio/glocalfileenumerator.[ch]:
3128 * gio/glocalfileinfo.[ch]:
3129 * gio/glocalfileinputstream.c:
3130 * gio/glocalfileoutputstream.c:
3131 * gio/gpollfilemonitor.c:
3132 * programs/gio-copy.c:
3133 * programs/gio-info.c:
3134 * programs/gio-move.c:
3135 Rename get_file_info to query_info() to make it clearer
3136 that these are not simple getters, but do i/o.
3138 2007-09-17 Alexander Larsson <alexl@redhat.com>
3140 * gio/gdatainputstream.[ch]:
3141 * gio/test-streams.c:
3142 Use _read_XXX instead of _get_XXX for the i/o calls
3145 2007-09-17 Alexander Larsson <alexl@redhat.com>
3148 Added needed stuff to TODO comment
3150 2007-09-17 Alexander Larsson <alexl@redhat.com>
3152 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3153 Don't error out removing the backup copy if it doesn't
3156 2007-09-14 Alexander Larsson <alexl@redhat.com>
3158 * programs/Makefile.am:
3159 * programs/gvfs-*.c:
3161 Renamed apps from gvfs-xxx to gio-xxx.
3163 2007-09-14 Alexander Larsson <alexl@redhat.com>
3166 * gio/gfileoutputstream.[ch]:
3167 * gio/glocalfileoutputstream.c:
3168 * programs/gvfs-save.c:
3169 g_file_output_stream_get_etag doesn't do i/o, so remove
3170 cancellation and error.
3172 2007-09-14 Alexander Larsson <alexl@redhat.com>
3175 Add new_etag output to replace_contents functions
3177 2007-09-14 Alexander Larsson <alexl@redhat.com>
3179 * gio/gfileoutputstream.[ch]:
3180 Add async get_file_info and default implementation
3182 2007-09-14 Alexander Larsson <alexl@redhat.com>
3184 * gio/gfileinputstream.c:
3185 Implement fallback wrapper for async get_file_info
3187 2007-09-14 Alexander Larsson <alexl@redhat.com>
3190 Add etag out argument to load_contents
3195 2007-09-14 Alexander Larsson <alexl@redhat.com>
3197 * gio/gcontenttype.c (looks_like_text):
3198 Whitespace like tab, cr and lf do not make the
3201 2007-09-14 Alexander Larsson <alexl@redhat.com>
3203 * gio/gfileinputstream.[ch]:
3204 Add async get_file_info.
3206 2007-09-13 Alexander Larsson <alexl@redhat.com>
3208 * gio/goutputstream.c (g_output_stream_write_all):
3209 Allow NULL for bytes_written
3211 2007-09-13 Alexander Larsson <alexl@redhat.com>
3213 * gio/gmemoryinputstream.[ch]:
3214 Add accessors for data
3216 2007-09-13 Alexander Larsson <alexl@redhat.com>
3218 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3219 Don't crash if length is NULL