1 2008-01-24 Alexander Larsson <alexl@redhat.com>
6 Add g_file_copy_async() (#511580)
7 Based on patch from Carlos Garcia Campos
9 2008-01-23 Matthias Clasen <mclasen@redhat.com>
11 * gioscheduler.c: Some documentation additions.
13 2008-01-22 Alexander Larsson <alexl@redhat.com>
16 (g_desktop_app_info_new):
19 2008-01-22 Alexander Larsson <alexl@redhat.com>
22 (g_desktop_app_info_new_from_filename):
25 2008-01-22 Alexander Larsson <alexl@redhat.com>
27 * glocalfileinfo.c (get_thumbnail_attributes):
30 2008-01-22 Alexander Larsson <alexl@redhat.com>
33 (canonicalize_filename):
34 Canonicalize paths that start with more than
39 (test_g_file_new_for_path):
42 2008-01-22 Alexander Larsson <alexl@redhat.com>
45 Allow UTF-8 in file:// parse names.
48 * tests/data-input-stream.c:
49 * tests/data-output-stream.c:
50 * tests/g-file-info.c:
52 Added a bunch of tests from Tomas Bzatek
54 2008-01-21 Matthias Clasen <mclasen@redhat.com>
56 * === Released 2.15.3 ===
58 2008-01-21 Alexander Larsson <alexl@redhat.com>
60 * gfileinputstream.[ch]:
61 * gfileoutputstream.[ch]:
63 Remove duplicated GSeekable functions. (#509990)
64 Just use the g_seekable_xxx() calls instead.
66 2008-01-21 Matthias Clasen <mclasen@redhat.com>
69 * gvolumemanager.c: Whitespace cleanups.
71 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
72 Use the right mode when creating the file.
74 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
79 * goutputstream.c: Documentation: Fixed minor typos
80 and added more mentions of specific _finish() functions.
82 2008-01-21 Alexander Larsson <alexl@redhat.com>
84 * inotify/Makefile.am:
85 * inotify/inotify-helper.c:
86 * inotify/inotify-kernel.c:
87 * inotify/inotify-path.c:
88 * inotify/local_inotify.h: Removed.
89 * inotify/local_inotify_syscalls.h: Removed.
90 Removed the included copies of the inotify
91 headers. We now only use the <sys/inotify.h>
92 header which exists on modern systems.
93 This fixes problems on ARM and SH5 (#510448)
94 but is also generally much cleaner and future
95 safe. For instance, if other OSes add support
96 for inotify it should "just work".
98 2008-01-20 Matthias Clasen <mclasen@redhat.com>
100 * inotify/*.c: Coding style fixes.
101 * inotify/inotify-missing.c: Use g_timeout_add_seconds
102 for the 1/4 Hz timer.
104 2008-01-20 Matthias Clasen <mclasen@redhat.com>
108 * gmemoryinputstream.c:
109 * gmemoryoutputstream.c:
111 * gthemedicon.c: Documentation updates
113 2008-01-20 Murray Cumming <murrayc@murrayc.com>
115 * gfile.c: documentation: Fixed more minor
118 2008-01-18 Murray Cumming <murrayc@murrayc.com>
120 * gmount.c: (g_mount_remount): documentation:
121 Mention g_mount_remount_finish() instead of
122 g_mount_unmount_finish().
124 2008-01-18 Murray Cumming <murrayc@murrayc.com>
128 * gfile.c: Fixed some minor typos in the
131 2008-01-18 Murray Cumming <murrayc@murrayc.com>
133 * gio/gvolumemonitor.c:
134 (g_volume_monitor_get_connected_drives):
135 (g_volume_monitor_get_volumes):
136 (g_volume_monitor_get_mounts): Documentation:
137 Clarify the ownership of the regurn GLists.
139 2008-01-17 Alexander Larsson <alexl@redhat.com>
142 Add the async find_enclosing_mount version
143 to the header file too.
145 2008-01-17 Alexander Larsson <alexl@redhat.com>
148 Add async version of find_enclosing_mount
149 with default implementation.
151 2008-01-17 Alexander Larsson <alexl@redhat.com>
156 Allow calls to implementation of copy and write
157 even if the type of the file implementations is
158 different. This can be used to implement native
159 upload and download calls in a vfs.
163 Protect against the case where move is called
164 with one file not being local.
166 Make sure we call the progress callback once
167 in the native move operation so that the caller
168 knows how many bytes were copied.
170 2008-01-16 Murray Cumming <murrayc@murrayc.com>
173 * gdatainputstream.c:
175 * gfileoutputstream.c:
180 * gunixmounts.c: Corrected some typos in the documentation:
182 its -> it's (where appropriate).
184 2008-01-16 Alexander Larsson <alexl@redhat.com>
188 Add g_file_query_exists (#508771)
190 2008-01-15 Murray Cumming <murrayc@murrayc.com>
195 * gvolume.c: For async functions that have no non-async
196 version, document that the GAsyncReadyCallback may be NULL.
199 2008-01-15 Alexander Larsson <alexl@redhat.com>
201 * gmemoryinputstream.c:
202 * gmemoryoutputstream.c:
203 Don't do pointer arithmetic on void * (#508602)
204 Patch from Kazuki IWAMOTO
206 2008-01-14 Matthias Clasen <mclasen@redhat.com>
208 * === Released 2.15.2 ===
210 2008-01-14 Alexander Larsson <alexl@redhat.com>
212 * gfile.c (g_file_monitor_file):
213 Don't set error here, since we fallback to polling monitor.
215 2008-01-14 Alexander Larsson <alexl@redhat.com>
218 (g_file_monitor_directory):
219 (g_file_monitor_file):
220 Add GError to file monitor calls
222 * glocaldirectorymonitor.c:
223 * glocaldirectorymonitor.h:
225 * glocalfilemonitor.c:
226 * glocalfilemonitor.h:
228 Update for above change
230 2008-01-14 Alexander Larsson <alexl@redhat.com>
234 Handle root correctly in g_file_get_relative_path (#508719)
236 2008-01-14 Alexander Larsson <alexl@redhat.com>
239 Clean up docs and example for GAsyncResult (#508074)
241 2008-01-11 Murray Cumming <murrayc@murrayc.com>
243 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
244 and correct some spelling mistakes. Bug #508108.
246 2008-01-11 Matthias Clasen <mclasen@redhat.com>
248 * glocalfileinfo.c: Add a comment.
250 2008-01-10 Murray Cumming <murrayc@murrayc.com>
252 * gfileinfo.c: GFileInfo description: Mention
253 how to actually set attributes in a GFile and how to discover
254 which attributes are settable. Bug #508378.
256 2008-01-10 A. Walton <awalton@svn.gnome.org>
258 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
259 (g_app_info_get_default_for_type):
260 Check for NULL content types.
262 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
264 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
266 2008-01-09 Murray Cumming <murrayc@murrayc.com>
268 * gfile.c: *_async() functions: Several small corrections
269 to the documentation, mostly correcting copy/paste errors
270 and improving some sentences.
272 2008-01-09 Dan Winship <danw@gnome.org>
274 * glocalfile.c (get_unique_filename): x86_64 fix
276 2008-01-09 Alexander Larsson <alexl@redhat.com>
281 Add g_unix_mount_guess_should_display and use
282 for unix volume monitor backend.
283 This means we more or less show what the
284 gnome-vfs backend did.
285 Based on patch from Padraig O'Briain
287 2008-01-09 Alexander Larsson <alexl@redhat.com>
291 Add g_themed_icon_new_with_default_fallbacks
294 Use default fallbacks for icons
296 2008-01-09 Alexander Larsson <alexl@redhat.com>
299 * gmountoperation.[ch]:
300 Change the API a bit so that unhandled methods
301 get reported via the reply, rather than by
302 the signal emission return value. This is because
303 some handlers can't know this immediately without
304 doing I/O, and this is an async operation that
307 2008-01-09 Alexander Larsson <alexl@redhat.com>
310 * fam/gfamdirectorymonitor.c:
311 * fam/gfamfilemonitor.c:
312 Fix double free crash (#508224)
313 Patch from Joe Marcus Clarke
315 008-01-07 Matthias Clasen <mclasen@redhat.com>
317 * === Released 2.15.1 ===
319 2008-01-07 Alexander Larsson <alexl@redhat.com>
321 * gunixinputstream.c (g_unix_input_stream_skip_finish):
322 Fix warning (#507835)
324 2008-01-07 Alexander Larsson <alexl@redhat.com>
327 Pass --internal to glib-genmarshal
332 Use better types for signal arguments (#507822)
334 2008-01-07 Alexander Larsson <alexl@redhat.com>
337 Build test subdir after .
338 Remove gdirectorymonitor.[ch]
340 * gdirectorymonitor.[ch]:
344 Remove GDirectoryMonitor and make
345 GFileMonitor the baseclass for both file and
346 directory monitors. Lift the more generic
347 rate limiting code from GDirectoryMonitor
351 * fam/gfamdirectorymonitor.[ch]:
352 * inotify/ginotifydirectorymonitor.[ch]:
353 * inotify/inotify-helper.c:
354 * glocaldirectorymonitor.[ch]:
357 Update for the removed GDirectoryMonitor.
359 * gmemoryoutputstream.c:
360 Remove ununsed variable
362 2008-01-07 Alexander Larsson <alexl@redhat.com>
364 * gmemoryinputstream.c:
365 Translate error strings
368 * gmemoryoutputstream.[ch]:
369 New implementation that avoids using GByteArray
370 in implementation and API. (#506377)
372 2008-01-06 Matthias Clasen <mclasen@redhat.com>
374 * tests/*: Add a test for memory input streams.
376 * Makefile.am: Add tests to SUBDIRS.
378 2008-01-06 Matthias Clasen <mclasen@redhat.com>
380 * glocalfilemonitor.c:
381 * glocaldirectorymonitor.c: Mark property nicks and blurbs
384 2008-01-06 Matthias Clasen <mclasen@redhat.com>
386 * gdesktopappinfo.c: Fix a docs typo.
388 * gfileattribute.c: Add information about extended attributes
389 to the documentation. (#505058)
391 2008-01-04 Alexander Larsson <alexl@redhat.com>
395 Use the right type (uint) for the ask_password signal.
397 2008-01-04 Alexander Larsson <alexl@redhat.com>
402 Add g_app_info_supports_files()
403 Remove desktop arg from g_app_info_should_show().
405 * gdesktopappinfo.[ch]:
406 Implement g_app_info_supports_files() and new should_show()
407 Add g_desktop_app_info_set_desktop_env() to set the desktop
408 for should_show(). (This will be set by gtk+ later)
410 2008-01-04 Alexander Larsson <alexl@redhat.com>
413 * gmemoryinputstream.[ch]:
414 Improve API so that you can use multiple chunks
415 of memory and custom destroy functions. (#506374)
417 2008-01-03 Alexander Larsson <alexl@redhat.com>
420 Handle NULL attribute matchers safely, as we return this
421 for empty attribute matcher strings.
423 2008-01-03 Alexander Larsson <alexl@redhat.com>
425 * gunixmounts.c (g_unix_is_mount_path_system_internal):
426 Add /usr/local to list of internal mountpoints
428 2008-01-03 Alexander Larsson <alexl@redhat.com>
431 Check for HAVE_LCHOWN (#505887)
433 2008-01-03 Alexander Larsson <alexl@redhat.com>
437 Add define for selinux context attribute.
438 Fix missing : -> :: namespace separator change
439 Fix missing _ -> - name change for xattr-sys.
442 2008-01-03 Alexander Larsson <alexl@redhat.com>
445 Link to libglib and libgobject directly (#504879)
446 Patch from Sebastien Bacher
448 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
450 * gfile.c: Expanded the g_file_new_for_commandline_arg
451 description a bit, based on the code and the docs of the
452 other g_file_new_for_* functions.
454 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
456 * gfilemonitor.h: Fixed typo in docs.
458 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
460 Updates to GIO documentation. (#506395, Mikael Hermansson)
462 * gcontenttype.c: Describe memory management for return value of
463 g_content_types_get_registered(). Missing piece from #505815.
464 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
465 GVolume, GDrive, GMounts, which hopefully gives the user less
466 confusions when using this API. Following explainations from
467 Alexander Larsson on gtk-devel-list.
469 2007-12-30 Matthias Clasen <mclasen@redhat.com>
471 * gfileinfo.c: Expand the long description.
473 2007-12-30 Matthias Clasen <mclasen@redhat.com>
476 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
477 fix builds with --disable-visibility. (#500273, Christian Persch)
479 2007-12-30 Matthias Clasen <mclasen@redhat.com>
481 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
482 in the list of returned app infos.
484 2007-12-30 Matthias Clasen <mclasen@redhat.com>
486 * gappinfo.c: Fix a cross-reference
488 2007-12-30 Matthias Clasen <mclasen@redhat.com>
490 * gfileinputstream.c:
491 * gfileoutputstream.c:
497 * gfileinfo.c: Documentation updates.
499 2007-12-26 Matthias Clasen <mclasen@redhat.com>
501 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
504 2007-12-26 Matthias Clasen <mclasen@redhat.com>
506 * gcontenttype.c (g_content_types_get_registered): Don't return
507 freed memory (#505815, Mikael Hermansson)
509 2007-12-25 Paolo Borelli <pborelli@katamail.com>
511 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
512 used to detect statbuf->st_blocks. (#505042)
514 2007-12-24 Matthias Clasen <mclasen@redhat.com>
516 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
517 environment handling. (#504829, Cosimo Cecchi)
519 2007-12-22 Matthias Clasen <mclasen@redhat.com>
521 * gappinfo.c: Doc improvements
523 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
526 2007-12-20 Matthias Clasen <mclasen@redhat.com>
528 * === Released 2.15.0 ===
530 2007-12-20 Hans Breuer <hans@breuer.org>
532 * makefile.msc : don't build gdesktopappinfo.obj, it collides
533 with symbols gwin32appinfo.obj, added gmount.obj
534 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
536 2007-12-20 Alexander Larsson <alexl@redhat.com>
542 * gfilenamecompleter.c:
545 * gpollfilemonitor.c:
546 File attribute renames:
549 id::fs -> id::filesystem
551 2007-12-20 Alexander Larsson <alexl@redhat.com>
560 Add GMountUnmountFlags to all unmount and
562 Add g_mount_remount() call.
564 2007-12-20 Alexander Larsson <alexl@redhat.com>
566 * gvfs.c (get_default_vfs):
567 Fix unused variable warning
569 2007-12-19 Matthias Clasen <mclasen@redhat.com>
571 * pltcheck.sh: Update
573 2007-12-19 Matthias Clasen <mclasen@redhat.com>
575 * gunionvolumemonitor.c:
576 * gunixmount.c: Remove C99 comments
578 2007-12-19 Matthias Clasen <mclasen@redhat.com>
580 * gio.symbols: Add some missing symbols
582 2007-12-19 Alexander Larsson <alexl@redhat.com>
585 Make g_io_modules_load_all_in_directory not unuse
586 loaded modules so that users of it can do stuff
588 Init internal "module" types.
589 Initialize static prio and name for types so that
590 we don't have to load modules to get it.
592 * gnativevolumemonitor.h:
594 Move is_supported to parent class so that
595 non-native monitors can avoid being initialized
596 too. (For instance GDaemonVolumeMonitor if we're
597 not using GDaemonVfs.)
599 * glocaldirectorymonitor.[ch]:
600 * glocalfilemonitor.[ch]:
601 * gunionvolumemonitor.c:
602 * gunixvolumemonitor.c:
604 Find plugins using the static prio+name to
605 avoid unnecessarily loading the modules.
607 2007-12-19 Alexander Larsson <alexl@redhat.com>
612 2007-12-19 Alexander Larsson <alexl@redhat.com>
614 * gunionvolumemonitor.c:
615 Store the native type as GType, not class so that
616 we can unload it. But still avoid unnecessarily
619 2007-12-19 David Zeuthen <davidz@redhat.com>
621 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
622 add signals 'disconnected' and 'eject-button' on GDrive. Add
623 signal 'removed' on GVolume and 'unmounted' on GMount.
625 * gdrive.c: (g_drive_base_init):
627 * gfile.c: (g_file_mount_mountable),
628 (g_file_mount_enclosing_volume):
631 * gmount.c: (g_mount_base_init):
633 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
634 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
635 * gvolume.c: (g_volume_base_init), (g_volume_mount):
639 2007-12-17 Matthias Clasen <mclasen@redhat.com>
641 * *.c: Fix up includes in the section docs.
643 2007-12-17 Alexander Larsson <alexl@redhat.com>
645 * gnativevolumemonitor.h:
646 * gunionvolumemonitor.c:
647 * gunixvolumemonitor.c:
648 Add is_supported() to GNativeVolumeMonitorClass so
649 that we can avoid having to create an object to see
650 if the backend is supported at runtime.
651 Also add name member and an env var to pick a specific
652 volume monitor backend.
656 Add cancellable to _g_mount_get_for_mount_path()
658 * glocaldirectorymonitor.c:
659 * glocalfilemonitor.c:
660 Avoid loading and unloading modules while sorting.
662 2007-12-17 Matthias Clasen <mclasen@redhat.com>
665 * gunixmounts.[hc]: Namespace waste reduction, move some
666 g_get_unix_mount functions to the g_unix_mount namespace.
669 * gunixvolumemonitor.c:
671 * glocaldirectorymonitor.c: Update all callers.
673 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
675 2007-12-17 Alexander Larsson <alexl@redhat.com>
678 Add doc comments about what GFile operations are
679 guaranteed to not block.
681 2007-12-17 Alexander Larsson <alexl@redhat.com>
684 Add missing #ifdef fixing OSX build.
685 (#503334, patch from Richard Hult)
687 2007-12-14 David Zeuthen <davidz@redhat.com>
691 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
692 (g_mount_eject), (g_mount_eject_finish):
694 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
695 (get_volume_for_uuid), (get_mount_for_uuid),
696 (g_union_volume_monitor_class_init),
697 (get_default_native_type_with_exclude), (get_default_native_type),
698 (get_native_type), (update_native_type),
699 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
700 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
701 (g_unix_mount_can_eject), (eject_unmount_cb),
702 (eject_unmount_read_error), (eject_unmount_do),
703 (g_unix_mount_unmount), (g_unix_mount_eject),
704 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
705 * gunixmounts.c: (g_unix_mount_guess_can_eject),
706 (g_unix_mount_point_guess_can_eject):
708 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
709 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
710 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
711 (g_unix_volume_mount), (g_unix_volume_eject),
712 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
713 * gunixvolumemonitor.c: (get_volume_for_uuid),
714 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
716 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
717 (g_volume_eject), (g_volume_eject_finish):
719 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
720 (g_volume_monitor_get_mount_for_uuid):
723 Provide eject() on both GMount and GVolume and utility functions
724 to guess whether a GUnixMountPoint or GUnixMountEntry should be
725 ejected. Introduce the concept of UUID's and wire it into GVolume
726 and GMount and provide API on GVolumeMonitor to find such
727 instances. Also handle the case where an external
728 GNativeVolumeMonitor fails to initialize. Lock around the
729 _g_get_mount_for_mount_path() function such that volume monitor
730 implementations won't have to do locking themselves.
732 2007-12-17 Matthias Clasen <mclasen@redhat.com>
740 * gvolume.h: Documentation updates
742 2007-12-14 Matthias Clasen <mclasen@redhat.com>
745 * gfile.h: Doc updates
747 2007-12-14 Matthias Clasen <mclasen@redhat.com>
750 * gdesktopappinfo.c: Use hash table iterators.
752 2007-12-14 Alexander Larsson <alexl@redhat.com>
755 * gfileattribute.[ch]:
756 * gfileattribute-priv.h:
757 Move GFileAttributeValue to a private header, as
761 Make set_attribute take a type + a pointer instead
762 of a GFileAttributeValue.
765 Fix up for above changes.
766 Add g_file_info_get_attribute_data to get
767 all info in one call, g_file_info_get_attribute_status
768 to get the status and g_file_info_get_attribute_as_string.
772 * glocalfileinfo.[ch]:
776 Make _guess_type static.
778 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
781 * inotify/Makefile.am: Fixed build when srcdir != builddir,
782 made mkenums and friends use temporary files to avoid leaving
783 empty generated files on failure (#503470).
785 2007-12-14 Alexander Larsson <alexl@redhat.com>
790 2007-12-14 Alexander Larsson <alexl@redhat.com>
794 * gfileattribute.[ch]:
797 * glocalfileoutputstream.c:
798 * gmountoperation.[ch]:
799 * goutputstream.[ch]:
800 Clean up all flags enums to not have _FLAGS in them
801 Make the names of some of the enums better.
806 2007-12-14 Michael Natterer <mitch@imendio.com>
808 * gio.symbols: fix g_io_scheduler symbol names.
810 2007-12-14 Alexander Larsson <alexl@redhat.com>
816 * gbufferedinputstream.h:
817 * gbufferedoutputstream.h:
820 * gdatainputstream.h:
821 * gdataoutputstream.h:
823 * gdirectorymonitor.h:
830 * gfileinputstream.h:
832 * gfilenamecompleter.h:
833 * gfileoutputstream.h:
834 * gfilterinputstream.h:
835 * gfilteroutputstream.h:
843 * gmemoryinputstream.h:
844 * gmemoryoutputstream.h:
849 * gsimpleasyncresult.h:
851 * gunixinputstream.h:
853 * gunixoutputstream.h:
857 * inotify/Makefile.am:
858 Only allow including <gio/gio.h> from apps
860 2007-12-14 Alexander Larsson <alexl@redhat.com>
863 * gsimpleasyncresult.c:
864 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
865 Split out the send_to_mainloop call into two versions instead
866 of having the block argument.
868 2007-12-13 Alexander Larsson <alexl@redhat.com>
872 * gbufferedinputstream.c:
874 * gfileinputstream.c:
875 * gfileoutputstream.c:
879 g_push/pop_current_cancellable ->
880 g_cancellable_push/pop_current
882 2007-12-13 Alexander Larsson <alexl@redhat.com>
886 Rename g_mount_for_location to g_file_mount_enclosing_volume.
888 2007-12-13 Alexander Larsson <alexl@redhat.com>
891 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
893 2007-12-12 Alexander Larsson <alexl@redhat.com>
896 Fix race condition when freeing proxy in
897 g_io_job_send_to_mainloop().
899 2007-12-12 Alexander Larsson <alexl@redhat.com>
905 Make attribute namespace separator "::" instead of ":".
906 Use - instead of _ as separator in attribute names.
908 2007-12-12 Alexander Larsson <alexl@redhat.com>
910 * gbufferedinputstream.h:
911 * gbufferedoutputstream.h:
912 * gdatainputstream.h:
913 * gdataoutputstream.h:
914 * gdirectorymonitor.h:
916 * gfileinputstream.h:
918 * gfileoutputstream.h:
919 * gfilterinputstream.h:
920 * gfilteroutputstream.h:
922 * glocalfileinputstream.h:
923 * glocalfileoutputstream.h:
924 * gmemoryinputstream.h:
925 * gmemoryoutputstream.h:
926 * gnativevolumemonitor.h:
928 * gunixinputstream.h:
929 * gunixoutputstream.h:
932 s/parent/parent_instance/ in GObjects
934 2007-12-12 Alexander Larsson <alexl@redhat.com>
939 No need for padding for interfaces
941 2007-12-12 Alexander Larsson <alexl@redhat.com>
945 * gbufferedinputstream.c:
946 * gbufferedoutputstream.c:
949 * gdatainputstream.[ch]:
951 * gdirectorymonitor.c:
953 * gfileattribute.[ch]:
956 * gfileinputstream.h:
958 * gfileoutputstream.[ch]:
959 * gfilterinputstream.h:
960 * gfilteroutputstream.h:
963 * gloadableicon.[ch]:
964 * gmemoryinputstream.c:
967 Fix up a bunch of details in the docs.
972 2007-12-11 David Zeuthen <davidz@redhat.com>
974 Rework how volumes, drives and volume monitoring is
975 done. Previosly the model was
979 where a GDrive instance represented a mount point and a GVolume
980 instance represented a mounted file system. This patch changes it
983 GDrive <1-N> GVolume <1-1> GMount
985 where GMount now serves the purpose of the old GVolume and the new
986 GVolume serves the purpose of the old GDrive. In addition the new
987 GDrive interface is used to represent a collection of GVolume
988 instances (typically partitions) and also contains utility to query
989 the state of the physical drive the GDrive object represents (such
990 as checking for media, polling the drive, ejecting the media etc.).
992 Also implement mounting and unmounting in the Unix volume monitor
993 backend. A subquent patch will introduce GDrive support for ejection
997 * gdrive.c: (g_drive_is_media_check_automatic),
998 (g_drive_is_media_removable), (g_drive_has_media),
999 (g_drive_can_poll_for_media), (g_drive_eject),
1000 (g_drive_eject_finish), (g_drive_poll_for_media),
1001 (g_drive_poll_for_media_finish):
1003 * gfile.c: (g_file_find_enclosing_mount):
1006 * glocaldirectorymonitor.c:
1007 (g_local_directory_monitor_constructor), (mounts_changed):
1008 * glocalfile.c: (get_mount_info),
1009 (g_local_file_find_enclosing_mount),
1010 (g_local_file_file_iface_init):
1011 * gnativevolumemonitor.h:
1012 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1013 (get_connected_drives), (g_union_volume_monitor_class_init),
1014 (child_volume_added), (child_volume_removed),
1015 (child_volume_changed), (child_mount_added), (child_mount_removed),
1016 (child_mount_pre_unmount), (child_mount_changed),
1017 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1018 (g_union_volume_monitor_remove_monitor),
1019 (_g_mount_get_for_mount_path):
1020 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1021 (guess_system_internal), (_g_get_unix_mounts),
1022 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1023 (g_unix_mount_free), (g_unix_mount_compare),
1024 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1025 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1026 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1027 (type_to_icon), (g_unix_mount_guess_name),
1028 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1029 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1030 (_resolve_symlink), (_resolve_dev_root):
1032 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1033 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1034 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1035 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1036 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1037 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1038 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1039 (g_unix_volume_volume_iface_init):
1041 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1042 (get_mounts), (get_volumes), (get_connected_drives),
1043 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1044 (mountpoints_changed), (mounts_changed),
1045 (g_unix_volume_monitor_init),
1046 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1047 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1048 * gunixvolumemonitor.h:
1049 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1050 (g_volume_mount), (g_volume_mount_finish):
1052 * gvolumemonitor.c: (g_volume_monitor_class_init),
1053 (g_volume_monitor_get_connected_drives),
1054 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1057 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1059 * gmountoperation.h (GPasswordFlags): Close the gap
1061 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1063 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1065 * gdesktopappinfo.[hc]: Remove _-prefixes
1067 2007-12-10 Tor Lillqvist <tml@novell.com>
1069 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1072 2007-12-10 Alexander Larsson <alexl@redhat.com>
1074 * gfile.c (g_file_set_display_name):
1075 Don't hardcode '/' (#502727)
1077 2007-12-09 Hans Breuer <hans@breuer.org>
1079 * makefile.msc : follow lib naming convention
1080 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1081 for user and group name, tested with ../tests/gio-ls
1083 2007-12-09 A. Walton <awalton@svn.gnome.org>
1085 * gdesktopappinfo.c:
1091 * gfileenumerator.c:
1096 * gmemoryinputstream.c:
1097 * gmemoryoutputstream.c:
1099 * gsimpleasyncresult.c:
1100 More documentation cleanup and filling in missing information, bringing
1101 GIO to 99% symbol coverage.
1103 2007-12-08 Hans Breuer <hans@breuer.org>
1105 [gio compiles and links on win32, not sure how much already works]
1106 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1107 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1108 base on win32 API; prefer g_lstat() over lstat(); instead of
1109 localtime_r() use an all GLib implementation on win32;
1110 get_mount_info() still needs a win32 specifc implementation
1111 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1112 win32_get_file_user_info to get owner/group info without uid/gid
1113 * glocalfileinputstream.c : include <io.h> on win32
1114 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1115 definition, use g_win32_ftruncate() for G_OS_WIN32
1116 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1117 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1118 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1119 * makefile.msc : updated
1121 2007-12-07 Alexander Larsson <alexl@redhat.com>
1123 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1124 Avoid warning spew if error == NULL
1126 2007-12-07 Alexander Larsson <alexl@redhat.com>
1129 Update docs wrt etags
1131 2007-12-06 Alexander Larsson <alexl@redhat.com>
1134 Include sys/types.h for dev_t (#501919)
1136 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1140 Make abicheck and pltcheck pass.
1142 2007-12-05 Alexander Larsson <alexl@redhat.com>
1145 * giomodule-priv.h: Added.
1146 * glocaldirectorymonitor.c:
1147 * glocalfilemonitor.c:
1148 * gunionvolumemonitor.c:
1150 Actually add the declaration of _g_io_modules_ensure_loaded
1152 2007-12-05 Alexander Larsson <alexl@redhat.com>
1154 * gdatainputstream.c:
1159 * glocaldirectorymonitor.c:
1160 * glocalfilemonitor.c:
1161 * gunionvolumemonitor.c:
1163 Make g_io_modules_ensure_loaded a private function and
1164 don't pass in the dirname. This means we can do magic
1165 directory finding in the win32 version.
1166 Export the actual load-modules-in-directory code so that
1167 gvfs can reuse that.
1169 2007-12-05 Alexander Larsson <alexl@redhat.com>
1171 * gbufferedinputstream.c:
1172 * gbufferedoutputstream.c:
1175 * gfileenumerator.[ch]:
1176 * gfileinputstream.c:
1177 * gfileoutputstream.[ch]:
1178 * gfilterinputstream.c:
1179 * gfilteroutputstream.c:
1180 * ginputstream.[ch]:
1182 * glocalfileenumerator.c:
1183 * glocalfileinputstream.c:
1184 * glocalfileoutputstream.c:
1185 * gmemoryinputstream.c:
1186 * gmemoryoutputstream.c:
1187 * goutputstream.[ch]:
1190 * gunixinputstream.c:
1191 * gunixoutputstream.c:
1192 Rename all struct members named:
1193 read, write, close, truncate, or mount
1194 to foo_fn, as these are reserved names
1195 and could be defined as macros in libc.
1198 2007-12-04 Alexander Larsson <alexl@redhat.com>
1201 (g_output_stream_close):
1202 Only call flush if non-null.
1204 2007-11-30 Dan Winship <danw@gnome.org>
1206 * ginputstream.c (g_input_stream_set_pending): Make this take a
1207 GError and return a gboolean, and do the "outstanding operation"
1208 check (and the "stream is already closed" check) itself.
1209 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1211 * goutputstream.c (g_output_stream_set_pending)
1212 (g_output_stream_clear_pending): Likewise
1214 * gbufferedinputstream.c:
1215 * gfileinputstream.c:
1216 * gfileoutputstream.c: Update for that
1218 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1219 Like g_simple_async_report_error_in_idle, but takes a GError
1220 rather than building one.
1222 2007-11-30 Dan Winship <danw@gnome.org>
1224 * goutputstream.c: Don't cheat and unset the "pending" flag around
1225 inner calls. Instead, call the class method directly rather than
1226 the wrapper function that checks "pending"
1228 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1230 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1232 2007-12-03 Hans Breuer <hans@breuer.org>
1234 [start of port to win32/msvc]
1235 * gcancellable.c : HAVE_UNIST_H and _pipe()
1236 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1237 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1238 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1240 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1241 * glocalvfs.c : use HAVE_PWD_H
1242 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1243 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1244 * Makefile.am : added to EXTRA_DIST
1246 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1248 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1251 2007-12-03 Alexander Larsson <alexl@redhat.com>
1254 Handle OSX style xattrs API (#500506)
1256 2007-12-03 Alexander Larsson <alexl@redhat.com>
1260 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1262 2007-12-02 A. Walton <awalton@svn.gnome.org>
1266 Documentation accuracy fixes.
1268 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1270 * gioenumtypes.c.template: Fix typo.
1272 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1274 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1276 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1278 * gdirectorymonitor.c:
1279 * gfilemonitor.c: Add properties
1281 * gbufferedoutputstream.c: Don't mark buffer-size property
1284 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1286 * gbufferedoutputstream.c: Add auto-grow property.
1288 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1290 * *.c: Unify the capitalization of section headings.
1292 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1294 * gmountoperation.c: Add properties
1296 * gdatainputstream.c: Turn byte-order and newline-type into
1299 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1301 * gioenumtypes.[hc].template: Templates for enum registration
1303 * Makefile.am: Generate gioenumtypes.[hc]
1305 * gio.h: Include gioenumtypes.h
1307 * gfile.h: Add some explicit nicks.
1309 * gio.symbols: Add new symbols
1311 * pltcheck.sh: Adjust
1313 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1315 * *.c: Explain etags and link to the explanation
1317 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1319 * *.c: Explain I/O priority.
1321 * *.c: More coding style fixes.
1323 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1325 * gasyncresult.c: Add another paragraph to the intro,
1326 adjust coding style of example.
1328 2007-11-29 A. Walton <awalton@svn.gnome.org>
1331 Fixes unknown meaning in GAppLaunchContext docs.
1333 Clarify asynchronous ops.
1335 Fix entity tag docs.
1338 Provides missing gtk-doc section, fixes API docs slighly.
1339 * gsimpleasyncresult.c:
1340 Fill in missing info in docs.
1341 * gunixinputstream.c:
1342 * gunixoutputstream.c:
1343 Be more expressive in short description.
1345 Remove gtk-doc stubs for non-public API.
1347 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1349 * *.c: Coding style fixups
1351 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1353 * inotify/inotify-helper.c: Don't export the lock from libgio.
1355 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1358 * abicheck.sh: Fix copy-and-paste leftovers
1360 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1362 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1364 2007-11-28 Alexander Larsson <alexl@redhat.com>
1368 Removed unnecessary file
1370 * gdesktopappinfo.[ch]:
1373 * glocaldirectorymonitor.[ch]:
1375 * glocalfileenumerator.[ch]:
1376 * glocalfileinputstream.[ch]:
1377 * glocalfilemonitor.[ch]:
1378 * glocalfileoutputstream.[ch]:
1380 * gnativevolumemonitor.c:
1381 * gpollfilemonitor.[ch]:
1382 * gunionvolumemonitor.[ch]:
1385 * gunixvolumemonitor.[ch]:
1388 * inotify/ginotifydirectorymonitor.[ch]:
1389 * inotify/ginotifyfilemonitor.[ch]:
1390 * inotify/inotify-helper.c:
1391 Append _ to all internal functions
1395 Export symbols needed for modules
1397 2007-11-28 Alexander Larsson <alexl@redhat.com>
1400 * abicheck.sh: Added.
1401 * makegioalias.pl: Added.
1402 * pltcheck.sh: Added.
1403 * gio.symbols: Added.
1406 Initial work on adding symbol handling.
1409 Correct ifdef guard name
1412 * inotify/Makefile.am:
1413 * xdgmime/Makefile.am:
1414 Include toplevel Makefile.decl
1416 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1418 * gcontenttype.c: Move doc comments to the unix section.
1420 * *.[hc]: More trivial doc corrections.
1422 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1424 * gpollfilemonitor.c:
1428 * gdesktopappinfo.c:
1433 * gdatainputstream.c:
1434 * gdatainputstream.h:
1435 * gdataoutputstream.c:
1436 * gdataoutputstream.h:
1437 * gfileinfo.h: Doc cleanups
1439 2007-11-28 Andre Klapper <a9016009@gmx.de>
1441 * gdesktopappinfo.c: Fix a typo.
1443 2007-11-27 Andre Klapper <a9016009@gmx.de>
1445 * glocalfileoutputstream.c: Fix a typo.
1447 2007-11-27 Alexander Larsson <alexl@redhat.com>
1450 Don't include removed headers
1452 2007-11-27 Alexander Larsson <alexl@redhat.com>
1455 * gsocketinputstream.[ch]: Removed.
1456 * gsocketoutputstream.[ch]: Removed.
1457 * gunixinputstream.[ch]: Added.
1458 * gunixoutputstream.[ch]: Added.
1459 Renamed GSocket*Stream to GUnix*Stream and made
1460 it unix-only, since its not really only for sockets
1461 and it only works on unix (but is highly useful there).
1463 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1469 * gbufferedinputstream.c:
1470 * gbufferedinputstream.h:
1471 * gbufferedoutputstream.c:
1472 * gbufferedoutputstream.h:
1476 * gdatainputstream.c:
1477 * gdatainputstream.h:
1478 * gdataoutputstream.c:
1479 * gdataoutputstream.h:
1480 * gdirectorymonitor.c:
1481 * gdirectorymonitor.h:
1488 * gfileenumerator.c:
1489 * gfileenumerator.h:
1494 * gfileinputstream.c:
1495 * gfileinputstream.h:
1498 * gfilenamecompleter.c:
1499 * gfilenamecompleter.h:
1500 * gfileoutputstream.c:
1501 * gfileoutputstream.h:
1502 * gfilterinputstream.c:
1503 * gfilterinputstream.h:
1504 * gfilteroutputstream.c:
1505 * gfilteroutputstream.h:
1518 * glocalfileoutputstream.c:
1519 * gmemoryinputstream.c:
1520 * gmemoryinputstream.h:
1521 * gmemoryoutputstream.c:
1522 * gmemoryoutputstream.h:
1523 * gmountoperation.c:
1524 * gmountoperation.h:
1527 * gpollfilemonitor.c:
1530 * gsimpleasyncresult.c:
1531 * gsimpleasyncresult.h:
1532 * gsocketinputstream.c:
1533 * gsocketinputstream.h:
1534 * gsocketoutputstream.c:
1535 * gsocketoutputstream.h:
1542 * gunixvolumemonitor.c:
1551 Bumps documentation to 93% symbol coverage, touching most
1552 of the public files. Fixes broken function documentation prototypes.
1553 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1554 gtk-doc headers in private files.
1556 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1558 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1559 (g_buffered_input_stream_read_byte):
1560 * gbufferedinputstream.h:
1561 New functions for efficient access to buffer and simple single byte
1564 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1565 (g_data_input_stream_read_until):
1566 * gdatainputstream.h:
1567 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1568 read_until with multiple stop chars.
1570 2007-11-27 Alexander Larsson <alexl@redhat.com>
1574 * inotify/Makefile.am:
1575 Use the user-specified giomoduledir
1577 2007-11-27 Alexander Larsson <alexl@redhat.com>
1581 Add catch-all gio.h header
1582 Don't install gdummyfile.h
1584 2007-11-26 Alexander Larsson <alexl@redhat.com>
1586 * Makefile.am (gioinclude_HEADERS):
1587 Remove trailing whitespace
1589 2007-11-26 Alexander Larsson <alexl@redhat.com>
1591 Merge gio-standalone into glib
1593 2007-11-25 Christian Kellner <gicmo@gnome.org>
1595 * gio/goutputstream.c:
1596 Fix small mistake in the docs.
1598 2007-11-21 Christian Persch <chpe@gnome.org>
1600 * gio/glocalfile.c: (g_local_file_trash):
1601 Convert filenames to UTF-8 for GError.
1602 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1603 as per xdg base dir spec.
1605 2007-11-21 Christian Persch <chpe@gnome.org>
1607 * gio/gdesktopappinfo.c:
1608 Use that g_key_file_to_data cannot fail.
1610 Use stock defines for the key file group and key names.
1613 2007-11-21 Alexander Larsson <alexl@redhat.com>
1616 (copy_stream_with_progress):
1617 Make sure we do a final progress callback with
1618 the full total size.
1620 2007-11-21 Alexander Larsson <alexl@redhat.com>
1623 Export g_file_copy_attributes
1624 Remove padding as its not needed for interfaces
1626 2007-11-20 Alexander Larsson <alexl@redhat.com>
1631 Add G_IO_ERROR_WOULD_MERGE for
1632 copy/move dir on dir with overwrite.
1634 2007-11-20 Alexander Larsson <alexl@redhat.com>
1637 * gio/glocalfileinfo.c:
1638 Add COPY_NAME (this is an optional
1639 non-modified utf8 version of the name) that
1642 2007-11-20 Alexander Larsson <alexl@redhat.com>
1644 * gio/glocalfileenumerator.c:
1645 Report errors as GIOError, not GFileError
1647 2007-11-16 Alexander Larsson <alexl@redhat.com>
1649 * gio/glocalfileoutputstream.c:
1650 * gio/gwin32appinfo.c:
1651 Fix typos in strings.
1652 Patch from Luca Ferretti <elle.uca@libero.it>
1654 2007-11-15 Alexander Larsson <alexl@redhat.com>
1657 Post release version bump
1659 === gio-standalone 0.1.2 ===
1661 2007-11-15 Alexander Larsson <alexl@redhat.com>
1663 * docs/reference/gio/Makefile.am:
1664 Fix up distcheck by removing weird
1670 2007-11-14 Alexander Larsson <alexl@redhat.com>
1672 * gio/gdesktopappinfo.c:
1673 * gio/glocaldirectorymonitor.c:
1675 * gio/glocalfileinfo.c:
1676 * gio/inotify/inotify-sub.c:
1677 * programs/gio-cat.c:
1678 * programs/gio-copy.c:
1679 * programs/gio-info.c:
1680 * programs/gio-ls.c:
1681 * programs/gio-monitor-dir.c:
1682 * programs/gio-monitor-file.c:
1683 * programs/gio-mount.c:
1684 * programs/gio-move.c:
1685 * programs/gio-rm.c:
1686 * programs/gio-save.c:
1687 * programs/gio-trash.c:
1688 Leak fixes from Kjartan Maraas
1690 2007-11-14 Alexander Larsson <alexl@redhat.com>
1692 * gio/fam/fam-helper.c:
1694 * gio/glocalfileinfo.c:
1698 * gio/inotify/inotify-diag.c:
1699 * gio/inotify/inotify-kernel.c:
1700 Various code cleanups from Kjartan Maraas
1702 2007-11-14 Alexander Larsson <alexl@redhat.com>
1704 * gio/gioscheduler.c:
1706 Set up threadpool so that we cache 2 unused
1707 idle threads for at 15 secs. This means we
1708 will reuse thread-local data (like dbus connections)
1711 2007-11-14 Alexander Larsson <alexl@redhat.com>
1713 * gio/fam/fam-helper.c:
1714 * gio/fam/gfamdirectorymonitor.c:
1715 * gio/fam/gfamfilemonitor.c:
1717 * gio/gcontenttype.c:
1718 * gio/gdatainputstream.c:
1719 * gio/gdataoutputstream.c:
1723 * gio/gfileattribute.h:
1724 * gio/gfileenumerator.c:
1726 * gio/ginputstream.c:
1729 * gio/glocalfileinfo.c:
1730 * gio/goutputstream.c:
1731 * gio/gpollfilemonitor.c:
1732 * gio/gsimpleasyncresult.c:
1733 * gio/gunixmounts.c:
1734 * gio/gunixmounts.h:
1735 * gio/inotify/ginotifydirectorymonitor.c:
1736 * gio/inotify/ginotifyfilemonitor.c:
1737 * gio/inotify/inotify-diag.c:
1738 * gio/inotify/inotify-kernel.c:
1739 * gio/inotify/inotify-path.c:
1741 * gio/test-streams.c:
1742 * programs/gio-info.c:
1743 * programs/gio-monitor-dir.c:
1744 * programs/gio-monitor-file.c:
1745 Various code cleanups from Kjartan Maraas
1747 2007-11-13 Alexander Larsson <alexl@redhat.com>
1750 Handle the uri-scheme calls for dummy files
1752 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1754 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1755 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1756 to avoid clash with the C++ keyword.
1758 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1760 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1761 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1763 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1765 * gio/glocaldirectorymonitor.c:
1766 * gio/glocalfilemonitor.c:
1767 * gio/gunionvolumemonitor.c:
1768 Don't use g_once_init_*() for initializations that could fail and
1769 could leave the initialization variable set to 0 but use GOnce.
1770 This prevents a deadlock on the second call when trying to create
1771 a monitor and no monitor type is available. Thanks to Sven Herzberg
1774 2007-11-11 Sven Herzberg <sven@imendio.com>
1776 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1777 #ifdef (make it work on MacOS X again)
1779 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1781 Fixes Changelog for last two commits (sorry guys).
1783 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1785 * gio/gbufferedinputstream.c:
1786 * gio/gdatainputstream.c:
1788 * gio/gfileoutputstream.c:
1789 * gio/gfilterinputstream.c:
1790 * gio/glocalfileinputstream.c:
1793 More consistency fixes in g*stream.c files.
1794 Significant clean of gfile's documentation, filling in of
1795 asynchronous operations documentation.
1797 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1799 * gio/gasyncresult.c:
1800 * gio/gbufferedinputstream.c:
1801 * gio/gbufferedoutputstream.c:
1802 * gio/gcancellable.c:
1803 * gio/gcontenttype.c:
1804 * gio/gdatainputstream.c:
1805 * gio/gdataoutputstream.c:
1806 * gio/gdesktopappinfo.c:
1809 * gio/gfileattribute.c:
1810 * gio/gio/gfileenumerator.c:
1812 * gio/gfileinputstream.c:
1813 * gio/gfilemonitor.c:
1814 * gio/gfileoutputstream.c:
1815 * gio/ginputstream.c:
1817 * gio/gioscheduler.c:
1818 * gio/gloadableicon.c:
1819 * gio/glocalfileoutputstream.c:
1820 * gio/gmemoryoutputstream.c:
1821 * gio/gmountoperation.c:
1822 * gio/goutputstream.c:
1824 * gio/gsimpleasyncresult.c:
1825 * gio/gunionvolumemonitor.c:
1826 * gio/gunixmounts.c:
1827 * gio/gunixvolume.c:
1831 * gio/gvolumemonitor.c:
1832 Updated documentation stubs, working towards consistency and
1835 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1837 * gio/gmemoryoutputstream.c:
1838 * gio/gmemoryoutputstream.h:
1839 Change g_memory_output_stream_set_free_on_close() to
1840 g_memory_output_stream_set_free_data() as this makes more sense and
1841 is more consistent with GMemoryInputStream.
1843 2007-11-07 Alexander Larsson <alexl@redhat.com>
1850 Change how we find the default vfs so that
1851 we can handle a gvfs failing to init
1853 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1855 * gio/gbufferedoutputstream.c:
1856 * gio/gdatainputstream.c:
1857 * gio/gdataoutputstream.c:
1858 * gio/gfileinputstream.c:
1859 * gio/gfileoutputstream.c:
1860 * gio/gfilterinputstream.c:
1861 * gio/gfilteroutputstream.c:
1862 * gio/ginputstream.c:
1863 * gio/gmemoryinputstream.c:
1864 * gio/gmemoryoutputstream.c:
1865 * gio/goutputstream.c:
1866 * gio/gsimpleasyncresult.c:
1867 * gio/gsocketinputstream.c:
1868 * gio/gsocketoutputstream.c:
1869 Add guards to the remaining public functions, add a TODO for
1870 an unimplemented function and remove some useless guards.
1872 2007-11-07 Alexander Larsson <alexl@redhat.com>
1875 Autoconf checks for the various types of
1876 getpwuid_r and getgrgid_r
1878 * gio/glocalfileinfo.c:
1879 Use the autoconf checks from above
1881 2007-11-07 Alexander Larsson <alexl@redhat.com>
1884 (g_local_file_query_filesystem_info):
1885 Some fixes for the statvfs case
1887 2007-11-07 Alexander Larsson <alexl@redhat.com>
1890 (g_local_file_query_filesystem_info):
1891 Pick the "best" of statfs / statvfs for the system
1892 if both are availible.
1894 2007-11-07 Alexander Larsson <alexl@redhat.com>
1896 Solaris fixes from Halton.Huo@Sun.COM:
1903 * gio/glocalfileinfo.c:
1904 Fix for solaris definition of getpwuid_r
1906 * gio/test-streams.c:
1907 Use G_GNUC_PRETTY_FUNCTION
1909 2007-11-07 Alexander Larsson <alexl@redhat.com>
1911 * gio/gdesktopappinfo.c:
1912 (update_default_list):
1913 Remove double semicolon.
1914 Patch from Jens Granseuer
1916 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1918 * docs/reference/gio/gio-sections.txt:
1919 * gio/gbufferedinputstream.c:
1920 * gio/gbufferedinputstream.h:
1921 * gio/gdatainputstream.c:
1922 * gio/gfileenumerator.c:
1923 * gio/gioscheduler.c:
1924 * gio/gunionvolumemonitor.c:
1926 * programs/gio-save.c:
1927 Fix typo: availible -> available. Unfortuntely this breaks API
1928 and ABI as g_buffered_input_stream_get_available() was renamed.
1930 * gio/gunixmounts.c:
1931 * gio/gbufferedinputstream.c:
1932 Add guards for public functions.
1934 2007-11-06 Ross Burton <ross@openedhand.com>
1936 * docs/reference/gio/Makefile.am:
1937 Fix invalid += usage which automake 1.10 doesn't like.
1939 2007-11-06 Alexander Larsson <alexl@redhat.com>
1942 (g_app_launch_context_class_init):
1945 Patch from Ross Burton
1947 2007-11-06 Alexander Larsson <alexl@redhat.com>
1950 Post release version bump
1952 === gio-standalone 0.1.1 ===
1954 2007-11-06 Alexander Larsson <alexl@redhat.com>
1957 Bump version to 0.1.1
1959 * gio/gsimpleasyncresult.c:
1960 (g_simple_async_result_set_from_error):
1961 Remove bogus g_return_if_fail
1963 2007-11-06 Alexander Larsson <alexl@redhat.com>
1966 The name is gio-standalone
1969 Add top src/builddir to includedir
1971 2007-11-06 Alexander Larsson <alexl@redhat.com>
1973 * docs/reference/gio/gio-sections.txt:
1975 * gio/gbufferedinputstream.c:
1976 * gio/gbufferedoutputstream.c:
1977 * gio/gcancellable.c:
1978 * gio/gdatainputstream.h:
1979 * gio/gdataoutputstream.c:
1980 * gio/gdataoutputstream.h:
1981 * gio/gdirectorymonitor.c:
1983 * gio/gfileattribute.c:
1984 * gio/gfileattribute.h:
1985 * gio/gfileenumerator.c:
1986 * gio/gfileenumerator.h:
1989 * gio/gfileinputstream.h:
1990 * gio/gfilemonitor.c:
1991 * gio/gfileoutputstream.h:
1992 * gio/glocalfilemonitor.h:
1993 * gio/glocalfileoutputstream.h:
1994 * gio/gmemoryinputstream.c:
1995 * gio/gmemoryoutputstream.c:
1996 * gio/gmountoperation.c:
1997 * gio/goutputstream.c:
1998 * gio/goutputstream.h:
2000 * gio/gsimpleasyncresult.c:
2001 * gio/gunixmounts.c:
2002 * gio/gunixmounts.h:
2004 * gio/inotify/inotify-helper.c:
2005 Fix gtk-doc warnings
2007 Patch from Ross Burton
2009 2007-11-06 Alexander Larsson <alexl@redhat.com>
2011 * gio/gfilenamecompleter.c:
2012 (g_filename_completer_get_completions):
2015 * gio/gunixvolume.c:
2016 Remove unused function
2018 Patches from Ross Burton
2020 2007-11-06 Alexander Larsson <alexl@redhat.com>
2025 Padding not needed for interfaces
2027 2007-11-06 Alexander Larsson <alexl@redhat.com>
2029 * gio/gfilemonitor.c:
2033 Make giotypes.h an internal file
2036 * gio/gbufferedinputstream.h:
2037 * gio/gbufferedoutputstream.h:
2038 * gio/gcancellable.h:
2039 * gio/gdatainputstream.h:
2040 * gio/gdataoutputstream.h:
2041 * gio/gdirectorymonitor.c:
2042 * gio/gdirectorymonitor.h:
2047 * gio/gfileattribute.h:
2048 * gio/gfileenumerator.h:
2053 * gio/gfilemonitor.c:
2054 * gio/gfilemonitor.h:
2055 * gio/gfilenamecompleter.c:
2056 * gio/gfilenamecompleter.h:
2057 * gio/gfilterinputstream.h:
2058 * gio/gfilteroutputstream.h:
2059 * gio/ginputstream.h:
2060 * gio/gmemoryinputstream.h:
2061 * gio/gmemoryoutputstream.h:
2062 * gio/gmountoperation.c:
2063 * gio/gmountoperation.h:
2064 * gio/gnativevolumemonitor.c:
2065 * gio/goutputstream.h:
2068 * gio/gsimpleasyncresult.c:
2069 * gio/gsimpleasyncresult.h:
2070 * gio/gsocketinputstream.h:
2071 * gio/gsocketoutputstream.h:
2072 * gio/gthemedicon.c:
2073 * gio/gthemedicon.h:
2077 * gio/gvolumemonitor.c:
2078 * gio/gvolumemonitor.h:
2079 Add padding in classes where it seems useful
2080 Don't include giotypes.h from public headers
2081 Move in Class definitions into c file where possible
2086 2007-11-06 Alexander Larsson <alexl@redhat.com>
2088 * docs/reference/gio/gio-docs.xml:
2089 Better structure for API docs
2091 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2094 * gio/gloadableicon.c:
2095 * gio/gsimpleasyncresult.c:
2096 * gio/gthemedicon.c:
2097 Add some more guards to public functions. Only files missing are now
2100 2007-11-06 Alexander Larsson <alexl@redhat.com>
2102 * docs/reference/gio/gio-docs.xml:
2103 Remove old files, add missing ones
2105 2007-11-06 Alexander Larsson <alexl@redhat.com>
2107 * docs/reference/gio/gio-sections.txt:
2110 Hide implementation classes
2112 * gio/gdriveprivate.h:
2113 * gio/gvolumeprivate.h:
2114 Remove non-existing function declarations
2116 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2119 Fix compilation warnings and add guards to the new functions.
2121 * gio/gasyncresult.c:
2123 Add guards to the public functions.
2126 Implement get_path().
2128 2007-11-06 Alexander Larsson <alexl@redhat.com>
2130 * gio/gfilenamecompleter.c:
2131 Make g_filename_completer_get_completions
2132 return char ** instead of GList for
2135 * docs/reference/gio/gio-docs.xml:
2136 * docs/reference/gio/gio-sections.txt:
2138 * gio/gasyncresult.c:
2139 * gio/gbufferedinputstream.c:
2140 * gio/gbufferedoutputstream.c:
2141 * gio/gcancellable.c:
2142 * gio/gcontenttype.c:
2143 * gio/gdatainputstream.c:
2144 * gio/gdataoutputstream.c:
2145 * gio/gdesktopappinfo.c:
2146 * gio/gdirectorymonitor.c:
2150 * gio/gfileattribute.c:
2151 * gio/gfileenumerator.c:
2154 * gio/gfileinputstream.c:
2155 * gio/gfilemonitor.c:
2156 * gio/gfilenamecompleter.c:
2157 * gio/gfilenamecompleter.h:
2158 * gio/gfileoutputstream.c:
2159 * gio/gfilterinputstream.c:
2161 * gio/ginputstream.c:
2163 * gio/gioscheduler.c:
2164 * gio/gloadableicon.c:
2165 * gio/glocaldirectorymonitor.c:
2167 * gio/glocalfileinputstream.c:
2168 * gio/glocalfilemonitor.c:
2169 * gio/glocalfileoutputstream.c:
2171 * gio/gmemoryinputstream.c:
2172 * gio/gmemoryoutputstream.c:
2173 * gio/gmountoperation.c:
2174 * gio/goutputstream.c:
2175 * gio/gpollfilemonitor.c:
2177 * gio/gsimpleasyncresult.c:
2178 * gio/gsocketinputstream.c:
2179 * gio/gsocketoutputstream.c:
2180 * gio/gthemedicon.c:
2181 * gio/gunionvolumemonitor.c:
2183 * gio/gunixmounts.c:
2184 * gio/gunixvolume.c:
2185 * gio/gunixvolumemonitor.c:
2189 * gio/gvolumemonitor.c:
2190 * gio/gwin32appinfo.c:
2191 Add (mostly stub) doc strings to public functions.
2192 Patch from Andrew Walton (awalton@gmail.com)
2194 2007-11-06 Alexander Larsson <alexl@redhat.com>
2196 * gio/gappinfo.[ch]:
2197 Added GAppLaunchContext object and pass that to launch.
2198 This allows simple implementation of both
2199 launch-on-screen and startup notification via a gtk+
2200 subclass of GAppLaunchContext
2202 * gio/gdesktopappinfo.c:
2203 Implement GAppLaunchContext API
2205 * gio/gwin32appinfo.c:
2208 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2210 * gio/gmountoperation.c:
2211 Add some guards to GMountOperation's public functions.
2213 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2217 * gio/gcancellable.c:
2218 * gio/gdirectorymonitor.c:
2220 * gio/gfileenumerator.c:
2221 * gio/gfilemonitor.c:,
2222 * gio/gfilenamecompleter.c:
2225 * gio/gioscheduler.c:
2229 * gio/gvolumemonitor.c:
2230 Add even more guards to various public functions.
2232 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2235 Add guards to the public functions of GAppInfo.
2237 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2239 * gio/gcontenttype.c:
2240 Add some more guards for public functions.
2242 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2244 * gio/fam/fam-module.c:
2245 * gio/fam/gfamdirectorymonitor.c:
2246 * gio/fam/gfamdirectorymonitor.h:
2247 * gio/fam/gfamfilemonitor.c:
2248 * gio/fam/gfamfilemonitor.h:
2249 * gio/inotify/ginotifydirectorymonitor.c:
2250 * gio/inotify/ginotifydirectorymonitor.h:
2251 * gio/inotify/ginotifyfilemonitor.c:
2252 * gio/inotify/ginotifyfilemonitor.h:
2253 Add proper copyright information and remove an unused variable
2254 in the GInotifyFileMonitor constructor.
2256 * gio/gcancellable.c:
2257 Add a guard for a public function and an assertion to prevent
2258 an undefined program state.
2260 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2262 * gio/gfileattribute.c:
2263 Don't run into an assertion if the given attribute value is NULL
2264 in g_file_attribute_value_get_*() but instead return a fallback
2265 value that makes sense in most situations. Passing them a attribute
2266 value with the wrong type will still run into an assertion.
2268 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2270 * gio/gfileattribute.c:
2272 Add even more guards to the public functions. Also fix the refcounting
2273 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2274 let g_file_info_list_attributes() filter the attributes by namespace
2275 instead of simply ignoring the namespace parameter.
2277 2007-11-03 Sven Herzberg <sven@imendio.com>
2279 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2280 (This makes gio work on MacOS X again)
2282 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2285 Build the gio subdirectory before the docs. Otherwise the build will
2288 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2289 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2290 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2291 Add guards to the public functions.
2293 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2295 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2296 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2297 to prevent a compiler warning.
2299 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2300 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2301 return something in the non-void function find_topdir_for().
2303 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2310 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2312 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2313 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2314 * gwin32appinfo.c (g_win32_app_info_launch):
2315 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2316 envp_for_startup_id, g_desktop_app_info_launch,
2317 g_desktop_app_info_launch_uris):
2319 Give an opaque 'startup_id' string instead of 'envp'.
2320 Support empty file lists for launching new windows.
2321 Fix infinite recursion bug when launching URIs.
2323 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2326 Add guard to the new g_file_get_uri_scheme() function.
2328 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2331 Convert a g_return_val_if_fail() to setting the GError instead as
2332 otherwise applications have to verify the parameter before otherwise
2333 and the parameter might come directly from the user.
2335 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2337 * gio/inotify/ginotify*.[ch]:
2338 Add missing copyright information.
2340 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2343 Add guards in the beginning of public functions to check for valid
2344 parameters and fix a bug in copy_stream_with_progress() that could've
2345 caused writing less bytes than reading.
2346 * gio/glocalfileinfo.c:
2347 Check for a NULL parameter and set the GError accordingly then.
2348 * gio/goutputstream.c:
2349 Fix the same bug as in gfile.c that could've caused writing less bytes
2350 than reading in g_output_stream_real_splice().
2352 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2355 Use the correct gvolumeprivate.h naming
2357 2007-11-01 Christian Kellner <gicmo@gnome.org>
2360 Remove leftover "$(daemon_sources)" entry.
2362 2007-11-01 Christian Kellner <gicmo@gnome.org>
2367 Add copyright information to source files.
2369 2007-11-01 Alexander Larsson <alexl@redhat.com>
2373 Add g_file_get_uri_scheme
2375 2007-11-01 Alexander Larsson <alexl@redhat.com>
2378 * gio/gdesktopappinfo.c:
2379 * gio/gwin32appinfo.c:
2380 Add g_app_info_get_default_for_uri_scheme.
2382 2007-11-01 Alexander Larsson <alexl@redhat.com>
2385 Correct filename for gdriveprivate.h
2387 2007-10-31 Alexander Larsson <alexl@redhat.com>
2390 Rename id:value to id:file
2393 * gio/glocalfileinfo.c:
2396 2007-10-31 Alexander Larsson <alexl@redhat.com>
2398 * gio/gunixvolume.c:
2400 Remove g_volume_get_platform_id, as thats not
2401 needed with the simpler union volume monitor
2403 2007-10-31 Alexander Larsson <alexl@redhat.com>
2406 * gio/guniondrive.[ch]: Removed.
2407 * gio/gunionvolume.[ch]: Removed.
2408 Remove GUnionDrive/Volume
2410 * gio/gunionvolumemonitor.c:
2411 Simplify union volume monitor, now we
2412 only have one native volume monitor and
2413 we use the actual volumes/drives from the
2414 child monitors instead of wrapping them
2416 * gio/gnativevolumemonitor.[ch]:
2417 Base class for native volume monitors.
2418 Includes priority and get_volume_for_mountpoint
2421 Add g_file_find_enclosing_volume
2424 Remove volume name fs attribute
2425 Add readonly fs attribute
2428 Implement readonly attribute
2429 remove volume name attribute
2430 Implement find_enclosing volume
2432 * gio/gunixmounts.c:
2433 Add a volume for "/".
2435 * gio/gunixvolume.[ch]:
2436 Set better name for /
2438 * gio/gunixvolumemonitor.[ch]:
2439 Derive from GNativeVolumeMonitor
2440 Implement get_volume_for_mountpoint
2443 GVolume typedef moved to gfile.h
2445 * gio/gvolumeprivate.h:
2446 Add g_volume_get_for_mount_path
2448 2007-10-31 Alexander Larsson <alexl@redhat.com>
2450 * gio/gunixmounts.[ch]:
2451 Add cache info to unix mount listers
2452 Make getmntent use threadsafe
2453 Add is_system_internal attribute for GUnixMount
2455 * gio/gunixvolume.c:
2456 (g_unix_volume_new):
2457 Use is_system_internal instead of own code
2459 * gio/glocaldirectorymonitor.c:
2460 * gio/gunixvolumemonitor.c:
2461 Update to new gunixmounts API
2466 2007-10-30 Alexander Larsson <alexl@redhat.com>
2469 Add volume name fsinfo attribute
2472 Read volume name info
2474 * gio/gunionvolumemonitor.c:
2475 Fix infinite loops when finalizing a union volume monitor
2477 2007-10-30 Alexander Larsson <alexl@redhat.com>
2479 * gio/goutputstream.[ch]:
2480 Add splice() with default implementation
2482 * gio/gsocketoutputstream.c:
2483 (g_socket_output_stream_write):
2484 Return error on cancellation correctly.
2486 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2488 * gio/glocalfile.c (g_local_file_trash):
2489 Do not leak a string.
2491 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2493 * gio/gfile.c (g_file_load_contents):
2494 Unref the stream after closing it.
2496 2007-10-25 Alexander Larsson <alexl@redhat.com>
2498 * gio/gioscheduler.h:
2501 2007-10-25 Alexander Larsson <alexl@redhat.com>
2505 Add g_file_has_uri_scheme and implement for local files
2507 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2509 * gio/gdesktopappinfo.c: do not leak a string.
2511 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2513 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2514 (g_local_directory_monitor_new):
2515 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2516 (g_local_file_monitor_new):
2517 Only look for the monitor type that should be used the first time
2518 and use g_qsort_with_data() instead of our own bubble sort
2521 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2524 * gio/fam/Makefile.am:
2525 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2526 * gio/fam/fam-helper.h:
2527 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2528 * gio/fam/gfamdirectorymonitor.c:
2529 * gio/fam/gfamdirectorymonitor.h:
2530 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2531 * gio/fam/gfamfilemonitor.h:
2532 * gio/glocaldirectorymonitor.c:
2533 * gio/glocaldirectorymonitor.h:
2534 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2535 * gio/glocalfilemonitor.h:
2536 * gio/inotify/Makefile.am:
2537 * gio/inotify/ginotifydirectorymonitor.c:
2538 * gio/inotify/ginotifydirectorymonitor.h:
2539 * gio/inotify/ginotifyfilemonitor.c:
2540 * gio/inotify/ginotifyfilemonitor.h:
2541 Implement the FAM and Inotify monitors as
2542 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2543 their own GIO module. GLocal(Directory|File)Monitor will use the
2544 monitor with the highest rank that is supported on that machine.
2546 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2549 Change GIO module dir to $(libdir)/gio/modules and change
2550 the log domain from GVFS to GIO. Also only export symbols starting
2551 with g_ in the resulting library.
2552 * gio/test-streams.c: (main):
2553 Set log handler for the GIO log domain.
2555 2007-10-22 Alexander Larsson <alexl@redhat.com>
2557 * gio/gfilenamecompleter.[ch]:
2558 Add g_filename_completer_set_dirs_only
2560 2007-10-22 Alexander Larsson <alexl@redhat.com>
2563 * gio/gurifuncs.[ch]:
2564 Add some simple URI helpers
2566 * gio/gfilenamecompleter.[ch]:
2567 Added object for filename (parse name actually) completion
2570 Handle ~ in parse names
2572 2007-10-17 Alexander Larsson <alexl@redhat.com>
2575 * gio/glocalfileinfo.c:
2576 Add and implement id:value attribute
2578 2007-10-17 Alexander Larsson <alexl@redhat.com>
2581 * gio/guniondrive.c:
2583 Add and implement g_drive_has_volumes
2585 2007-10-17 Alexander Larsson <alexl@redhat.com>
2588 * gio/glocalfileinfo.[ch]:
2589 Add unix:is_mountpoint and implement for local files
2591 2007-10-16 Alexander Larsson <alexl@redhat.com>
2593 * gio/gunionvolumemonitor.c:
2594 (g_union_volume_monitor_init):
2595 Fix up the unix type getting so that it works with gcc
2597 2007-10-12 Alexander Larsson <alexl@redhat.com>
2600 * gio/glocalfileinfo.c:
2601 Add thumbnail:failed to file info
2603 2007-10-12 Richard Hult <richard@imendio.com>
2605 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2606 optimizing away the get_type call (happens with some gcc versions,
2607 like the one shipped with OS X 10.4).
2609 2007-10-12 Alexander Larsson <alexl@redhat.com>
2611 * gio/glocalfileinfo.c:
2612 (_g_local_file_info_set_attribute):
2613 Fix build if not HAVE_XATTR
2614 Patch from Milosz Derezynski <internalerror@gmail.com>
2616 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2618 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2619 around for review, otherwise I would have asked you before
2622 2007-10-11 Alexander Larsson <alexl@redhat.com>
2625 Add thumbnail:path attribute
2627 * gio/glocalfileinfo.c:
2628 Implement thumbnail:path for local files
2630 2007-10-11 Alexander Larsson <alexl@redhat.com>
2632 * gio/glocalfileinfo.c:
2633 (_g_local_file_info_get):
2634 Avoid duplicate icon names
2636 2007-10-11 Alexander Larsson <alexl@redhat.com>
2638 * gio/gthemedicon.[ch]:
2639 Change g_themed_icon_get_names return type to const
2641 2007-10-10 Alexander Larsson <alexl@redhat.com>
2643 * gio/glocalfileinfo.c:
2644 Don't reference freed memory
2646 2007-10-10 Alexander Larsson <alexl@redhat.com>
2648 * gio/gfileattribute.c:
2651 * gio/glocalfileinfo.c:
2654 2007-10-10 Alexander Larsson <alexl@redhat.com>
2657 Check for NULL icons
2659 * gio/gfileattribute.c:
2660 Don't dup when getting objects (same as for string attributes)
2662 * gio/gicon.c (g_icon_equal):
2663 Safely handle NULLs in equal
2665 2007-10-10 Alexander Larsson <alexl@redhat.com>
2668 Fix c++ compilation issues
2669 Patch from Milosz Derezynski <internalerror@gmail.com>
2671 2007-10-10 Alexander Larsson <alexl@redhat.com>
2673 * programs/gio-monitor-dir.c:
2674 Don't crash if dir monitor not supported.
2676 2007-10-09 Alexander Larsson <alexl@redhat.com>
2679 Add missing G_END_DECLS
2681 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2683 * gio/gfile.c: (g_file_set_display_name),
2684 (g_file_query_settable_attributes),
2685 (g_file_query_writable_namespaces):
2686 Return NULL not FALSE on errors as the return type is a pointer.
2688 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2690 * gio/glocalfile.c: (g_local_file_monitor_file):
2691 Don't call monitor_file on the default interface vtable (which
2692 is NULL) but simply return NULL. The caller, GFile, will create a
2693 polling monitor if NULL is returned.
2695 2007-10-09 Alexander Larsson <alexl@redhat.com>
2699 * gio-unix-2.0.pc.in:
2700 Add gio-unix-2.0.pc if OS_UNIX
2703 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2705 2007-10-09 Alexander Larsson <alexl@redhat.com>
2707 * gio/gunixmounts.[ch]:
2708 Make unix mount monitoring API sane.
2709 Now its just a object with mounts_changed
2710 and mountpoints_changed signals.
2712 * gio/glocaldirectorymonitor.c:
2713 * gio/gunixvolumemonitor.c:
2714 Use new mount monitor api
2716 2007-10-09 Alexander Larsson <alexl@redhat.com>
2718 * gio/gunixmounts.[ch]:
2719 Move guess type into one call for mounts and one for mountpoints
2722 * gio/gunixvolume.c:
2725 2007-10-09 Alexander Larsson <alexl@redhat.com>
2727 * gio/gunixmounts.[ch]:
2728 Remove _ prefix in preparation to make this semi-public
2729 Hide implementation of structs
2731 * gio/glocaldirectorymonitor.c:
2733 * gio/gunixvolume.c:
2734 * gio/gunixvolumemonitor.c:
2735 Update for above API changes
2737 2007-10-08 Alexander Larsson <alexl@redhat.com>
2740 Better polling fallback. This also handles the case where we have
2741 a monitor_file implementation, but it fails.
2743 2007-10-08 Alexander Larsson <alexl@redhat.com>
2747 * gio/gunixmounts.c:
2748 * programs/gio-monitor-dir.c:
2749 * programs/gio-monitor-file.c:
2750 Added cancellable to file monitoring calls.
2751 These are really sync calls and need this.
2753 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2755 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2756 (g_local_vfs_class_init):
2757 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2758 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2760 2007-10-05 Alexander Larsson <alexl@redhat.com>
2762 * gio/gdirectorymonitorprivate.h:
2763 * gio/gfilemonitorprivate.h:
2764 * gio/gdirectorymonitor.h:
2765 * gio/gfilemonitor.h:
2766 Remove *private.h and move to the public API, so that
2767 we can do implementations outside gio (such as in gvfs)
2769 * gio/gdirectorymonitor.c:
2770 * gio/gfilemonitor.c:
2771 * gio/glocaldirectorymonitor.c:
2772 * gio/gpollfilemonitor.c:
2773 * gio/inotify/inotify-helper.c:
2774 * gio/fam/fam-helper.c:
2775 Update to the new header names
2777 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2779 * gio/gdirectorymonitor.c:
2780 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2783 2007-10-04 Alexander Larsson <alexl@redhat.com>
2785 * gio/glocalfileinfo.c (get_access_rights):
2786 Set CAN_TRASH when we can move the file.
2787 We should really also check for a parent trash dir.
2789 2007-10-04 Alexander Larsson <alexl@redhat.com>
2791 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2792 Add can_trash access attribute
2794 2007-10-04 Alexander Larsson <alexl@redhat.com>
2797 (g_local_file_trash):
2798 Create info file first. This is per-spec and allows
2799 us to actually trash directories.
2801 2007-10-02 Alexander Larsson <alexl@redhat.com>
2803 * gio/gdesktopappinfo.c:
2804 Implement the new mime support code.
2805 Always set app as handling mimetype when being set as default for it
2807 2007-10-01 Alexander Larsson <alexl@redhat.com>
2809 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2810 Fix up check for xattrs:
2812 2007-10-01 Alexander Larsson <alexl@redhat.com>
2815 (g_app_info_set_as_default_for_extension):
2816 (g_app_info_add_supports_type):
2817 (g_app_info_can_remove_supports_type):
2818 (g_app_info_remove_supports_type):
2819 Make these fail nicely if not implemented
2821 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2823 * gio/glocalfileoutputstream.c:
2824 * gio/glocalfileoutputstream.h:
2829 * programs/gio-save.c:
2830 Add a GFileCreateFlags argument to operations that can create
2833 2007-10-01 Alexander Larsson <alexl@redhat.com>
2835 * gio/gappinfo.[ch]:
2836 * gio/gdesktopappinfo.c:
2837 Add more (stubbed out) mime API needed for nautilus
2839 2007-10-01 Alexander Larsson <alexl@redhat.com>
2842 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2843 Add g_app_info_set_as_default_for_extension.
2845 * gio/gdesktopappinfo.c:
2846 Dummy for g_app_info_set_as_default_for_extension
2847 Support flags in g_app_info_create_from_commandline
2849 * gio/gwin32appinfo.c:
2851 Update for API changes
2853 * gio/gthemedicon.c:
2854 Properly NULL-terminate list of icon names
2856 2007-09-28 Alexander Larsson <alexl@redhat.com>
2858 * gio/gloadableicon.h:
2859 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2861 2007-09-28 Alexander Larsson <alexl@redhat.com>
2864 Install headers in $includedir/gio-standalone/
2866 * gio-2.0.pc.in: Added.
2867 * gio-standalone.pc.in: Removed.
2870 Renamed pkg-config file to match glib (for future move)
2871 Update to the new include dir
2874 Add more TODO comments
2876 2007-09-28 Alexander Larsson <alexl@redhat.com>
2878 * gio/gdesktopappinfo.[ch]:
2879 Expose new_from_filename
2880 Add getter for is_hidden and handle it better
2882 2007-09-28 Alexander Larsson <alexl@redhat.com>
2884 * gio/gfileinfo.[ch]:
2885 Rename g_file_size_format_for_display to
2886 g_format_file_size_for_display.
2887 Now it doesn't have the g_file prefix, so we
2888 can later move it to glib.
2890 2007-09-28 Alexander Larsson <alexl@redhat.com>
2892 * gio/gappinfo.[ch]:
2893 Add g_app_info_get_id and g_app_info_get_executable.
2894 Make all getters non-reffing
2895 Make g_app_info_launch take GFile arguments.
2896 Add must_support_uris argument to g_app_info_get_default_for_type.
2898 * gio/gwin32appinfo.c:
2899 Update to GAppInfo api changes
2901 * gio/gdesktopappinfo.c:
2902 Update to GAppInfo api changes
2903 Implement supports_xdg_startup_notify
2905 * gio/gfileicon.c (g_file_icon_get_file):
2906 Make getter non-reffing.
2911 2007-09-27 Alexander Larsson <alexl@redhat.com>
2913 * gio/gfileinfo.[ch]:
2914 Add g_file_size_format_for_display helper
2916 2007-09-27 Alexander Larsson <alexl@redhat.com>
2918 * gio/glocalfileinfo.c:
2919 Set UNIX_GID from gid, not from uid
2921 2007-09-27 Alexander Larsson <alexl@redhat.com>
2924 Add g_file_set_attributes_async
2926 2007-09-27 Alexander Larsson <alexl@redhat.com>
2928 * gio/glocalfile.c (g_local_file_set_display_name):
2929 Fix set_display_name to actually rename to the right place.
2930 Use lstat to look for existing files so we don't overwrite
2933 2007-09-26 Alexander Larsson <alexl@redhat.com>
2936 Add g_file_set_display_name_async()
2938 2007-09-26 Alexander Larsson <alexl@redhat.com>
2941 Add load_partial_contents async calls
2944 Make internal function static
2946 2007-09-26 Alexander Larsson <alexl@redhat.com>
2948 * gio/glocalfileinfo.c:
2949 Correctly detect broken symlinks
2951 2007-09-26 Alexander Larsson <alexl@redhat.com>
2953 * gio/gcancellable.c (g_cancellable_cancel):
2954 Allow cancel on NULL cancellable
2956 2007-09-25 Alexander Larsson <alexl@redhat.com>
2958 * gio/gsimpleasyncresult.c:
2959 Don't allocate g_error manually.
2960 Fixes g_slice/g_new mixup crash
2962 2007-09-25 Alexander Larsson <alexl@redhat.com>
2964 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2965 Actually set active_backend.
2966 This means the monitor will be cancelled correctly.
2968 2007-09-25 Alexander Larsson <alexl@redhat.com>
2970 * gio/gdirectorymonitor.c:
2971 Set timeout to NULL when destroying
2973 2007-09-25 Alexander Larsson <alexl@redhat.com>
2976 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2977 that is a better description of the error.
2979 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2981 * gio/gvfs.c: (g_vfs_get_local):
2982 Make the local vfs variable static. The same instance should
2985 2007-09-24 Alexander Larsson <alexl@redhat.com>
2987 * gio/glocalfileinfo.c:
2988 Pass in actual length read into sniffer, not the length
2991 2007-09-21 Alexander Larsson <alexl@redhat.com>
2993 * gio/gfileenumerator.c:
2996 * gio/gfileinputstream.c:
2997 * gio/gfileoutputstream.c:
2998 * gio/ginputstream.c:
2999 * gio/goutputstream.c:
3000 Don't crash if async callbacks are NULL
3002 2007-09-20 Alexander Larsson <alexl@redhat.com>
3005 Add async enumerate_children method and default
3008 2007-09-20 Alexander Larsson <alexl@redhat.com>
3011 Add g_file_contains_file & g_file_get_relative_path, since they
3012 were needed for nautilus.
3013 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3018 Implement new methods
3020 2007-09-17 Alexander Larsson <alexl@redhat.com>
3023 * gio/gfileinputstream.[ch]:
3024 * gio/gfileoutputstream.[ch]:
3026 * gio/glocalfileenumerator.[ch]:
3027 * gio/glocalfileinfo.[ch]:
3028 * gio/glocalfileinputstream.c:
3029 * gio/glocalfileoutputstream.c:
3030 * gio/gpollfilemonitor.c:
3031 * programs/gio-copy.c:
3032 * programs/gio-info.c:
3033 * programs/gio-move.c:
3034 Rename get_file_info to query_info() to make it clearer
3035 that these are not simple getters, but do i/o.
3037 2007-09-17 Alexander Larsson <alexl@redhat.com>
3039 * gio/gdatainputstream.[ch]:
3040 * gio/test-streams.c:
3041 Use _read_XXX instead of _get_XXX for the i/o calls
3044 2007-09-17 Alexander Larsson <alexl@redhat.com>
3047 Added needed stuff to TODO comment
3049 2007-09-17 Alexander Larsson <alexl@redhat.com>
3051 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3052 Don't error out removing the backup copy if it doesn't
3055 2007-09-14 Alexander Larsson <alexl@redhat.com>
3057 * programs/Makefile.am:
3058 * programs/gvfs-*.c:
3060 Renamed apps from gvfs-xxx to gio-xxx.
3062 2007-09-14 Alexander Larsson <alexl@redhat.com>
3065 * gio/gfileoutputstream.[ch]:
3066 * gio/glocalfileoutputstream.c:
3067 * programs/gvfs-save.c:
3068 g_file_output_stream_get_etag doesn't do i/o, so remove
3069 cancellation and error.
3071 2007-09-14 Alexander Larsson <alexl@redhat.com>
3074 Add new_etag output to replace_contents functions
3076 2007-09-14 Alexander Larsson <alexl@redhat.com>
3078 * gio/gfileoutputstream.[ch]:
3079 Add async get_file_info and default implementation
3081 2007-09-14 Alexander Larsson <alexl@redhat.com>
3083 * gio/gfileinputstream.c:
3084 Implement fallback wrapper for async get_file_info
3086 2007-09-14 Alexander Larsson <alexl@redhat.com>
3089 Add etag out argument to load_contents
3094 2007-09-14 Alexander Larsson <alexl@redhat.com>
3096 * gio/gcontenttype.c (looks_like_text):
3097 Whitespace like tab, cr and lf do not make the
3100 2007-09-14 Alexander Larsson <alexl@redhat.com>
3102 * gio/gfileinputstream.[ch]:
3103 Add async get_file_info.
3105 2007-09-13 Alexander Larsson <alexl@redhat.com>
3107 * gio/goutputstream.c (g_output_stream_write_all):
3108 Allow NULL for bytes_written
3110 2007-09-13 Alexander Larsson <alexl@redhat.com>
3112 * gio/gmemoryinputstream.[ch]:
3113 Add accessors for data
3115 2007-09-13 Alexander Larsson <alexl@redhat.com>
3117 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3118 Don't crash if length is NULL