1 2008-01-24 Alexander Larsson <alexl@redhat.com>
4 Add g_drive_get_identifier and
5 g_drive_enumerate_identifiers
8 Add g_volume_get_identifier and
9 g_volume_enumerate_identifiers
15 Implement identifiers for unix backend
17 2008-01-24 Alexander Larsson <alexl@redhat.com>
22 Add g_file_copy_async() (#511580)
23 Based on patch from Carlos Garcia Campos
25 2008-01-23 Matthias Clasen <mclasen@redhat.com>
27 * gioscheduler.c: Some documentation additions.
29 2008-01-22 Alexander Larsson <alexl@redhat.com>
32 (g_desktop_app_info_new):
35 2008-01-22 Alexander Larsson <alexl@redhat.com>
38 (g_desktop_app_info_new_from_filename):
41 2008-01-22 Alexander Larsson <alexl@redhat.com>
43 * glocalfileinfo.c (get_thumbnail_attributes):
46 2008-01-22 Alexander Larsson <alexl@redhat.com>
49 (canonicalize_filename):
50 Canonicalize paths that start with more than
55 (test_g_file_new_for_path):
58 2008-01-22 Alexander Larsson <alexl@redhat.com>
61 Allow UTF-8 in file:// parse names.
64 * tests/data-input-stream.c:
65 * tests/data-output-stream.c:
66 * tests/g-file-info.c:
68 Added a bunch of tests from Tomas Bzatek
70 2008-01-21 Matthias Clasen <mclasen@redhat.com>
72 * === Released 2.15.3 ===
74 2008-01-21 Alexander Larsson <alexl@redhat.com>
76 * gfileinputstream.[ch]:
77 * gfileoutputstream.[ch]:
79 Remove duplicated GSeekable functions. (#509990)
80 Just use the g_seekable_xxx() calls instead.
82 2008-01-21 Matthias Clasen <mclasen@redhat.com>
85 * gvolumemanager.c: Whitespace cleanups.
87 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
88 Use the right mode when creating the file.
90 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
95 * goutputstream.c: Documentation: Fixed minor typos
96 and added more mentions of specific _finish() functions.
98 2008-01-21 Alexander Larsson <alexl@redhat.com>
100 * inotify/Makefile.am:
101 * inotify/inotify-helper.c:
102 * inotify/inotify-kernel.c:
103 * inotify/inotify-path.c:
104 * inotify/local_inotify.h: Removed.
105 * inotify/local_inotify_syscalls.h: Removed.
106 Removed the included copies of the inotify
107 headers. We now only use the <sys/inotify.h>
108 header which exists on modern systems.
109 This fixes problems on ARM and SH5 (#510448)
110 but is also generally much cleaner and future
111 safe. For instance, if other OSes add support
112 for inotify it should "just work".
114 2008-01-20 Matthias Clasen <mclasen@redhat.com>
116 * inotify/*.c: Coding style fixes.
117 * inotify/inotify-missing.c: Use g_timeout_add_seconds
118 for the 1/4 Hz timer.
120 2008-01-20 Matthias Clasen <mclasen@redhat.com>
124 * gmemoryinputstream.c:
125 * gmemoryoutputstream.c:
127 * gthemedicon.c: Documentation updates
129 2008-01-20 Murray Cumming <murrayc@murrayc.com>
131 * gfile.c: documentation: Fixed more minor
134 2008-01-18 Murray Cumming <murrayc@murrayc.com>
136 * gmount.c: (g_mount_remount): documentation:
137 Mention g_mount_remount_finish() instead of
138 g_mount_unmount_finish().
140 2008-01-18 Murray Cumming <murrayc@murrayc.com>
144 * gfile.c: Fixed some minor typos in the
147 2008-01-18 Murray Cumming <murrayc@murrayc.com>
149 * gio/gvolumemonitor.c:
150 (g_volume_monitor_get_connected_drives):
151 (g_volume_monitor_get_volumes):
152 (g_volume_monitor_get_mounts): Documentation:
153 Clarify the ownership of the regurn GLists.
155 2008-01-17 Alexander Larsson <alexl@redhat.com>
158 Add the async find_enclosing_mount version
159 to the header file too.
161 2008-01-17 Alexander Larsson <alexl@redhat.com>
164 Add async version of find_enclosing_mount
165 with default implementation.
167 2008-01-17 Alexander Larsson <alexl@redhat.com>
172 Allow calls to implementation of copy and write
173 even if the type of the file implementations is
174 different. This can be used to implement native
175 upload and download calls in a vfs.
179 Protect against the case where move is called
180 with one file not being local.
182 Make sure we call the progress callback once
183 in the native move operation so that the caller
184 knows how many bytes were copied.
186 2008-01-16 Murray Cumming <murrayc@murrayc.com>
189 * gdatainputstream.c:
191 * gfileoutputstream.c:
196 * gunixmounts.c: Corrected some typos in the documentation:
198 its -> it's (where appropriate).
200 2008-01-16 Alexander Larsson <alexl@redhat.com>
204 Add g_file_query_exists (#508771)
206 2008-01-15 Murray Cumming <murrayc@murrayc.com>
211 * gvolume.c: For async functions that have no non-async
212 version, document that the GAsyncReadyCallback may be NULL.
215 2008-01-15 Alexander Larsson <alexl@redhat.com>
217 * gmemoryinputstream.c:
218 * gmemoryoutputstream.c:
219 Don't do pointer arithmetic on void * (#508602)
220 Patch from Kazuki IWAMOTO
222 2008-01-14 Matthias Clasen <mclasen@redhat.com>
224 * === Released 2.15.2 ===
226 2008-01-14 Alexander Larsson <alexl@redhat.com>
228 * gfile.c (g_file_monitor_file):
229 Don't set error here, since we fallback to polling monitor.
231 2008-01-14 Alexander Larsson <alexl@redhat.com>
234 (g_file_monitor_directory):
235 (g_file_monitor_file):
236 Add GError to file monitor calls
238 * glocaldirectorymonitor.c:
239 * glocaldirectorymonitor.h:
241 * glocalfilemonitor.c:
242 * glocalfilemonitor.h:
244 Update for above change
246 2008-01-14 Alexander Larsson <alexl@redhat.com>
250 Handle root correctly in g_file_get_relative_path (#508719)
252 2008-01-14 Alexander Larsson <alexl@redhat.com>
255 Clean up docs and example for GAsyncResult (#508074)
257 2008-01-11 Murray Cumming <murrayc@murrayc.com>
259 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
260 and correct some spelling mistakes. Bug #508108.
262 2008-01-11 Matthias Clasen <mclasen@redhat.com>
264 * glocalfileinfo.c: Add a comment.
266 2008-01-10 Murray Cumming <murrayc@murrayc.com>
268 * gfileinfo.c: GFileInfo description: Mention
269 how to actually set attributes in a GFile and how to discover
270 which attributes are settable. Bug #508378.
272 2008-01-10 A. Walton <awalton@svn.gnome.org>
274 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
275 (g_app_info_get_default_for_type):
276 Check for NULL content types.
278 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
280 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
282 2008-01-09 Murray Cumming <murrayc@murrayc.com>
284 * gfile.c: *_async() functions: Several small corrections
285 to the documentation, mostly correcting copy/paste errors
286 and improving some sentences.
288 2008-01-09 Dan Winship <danw@gnome.org>
290 * glocalfile.c (get_unique_filename): x86_64 fix
292 2008-01-09 Alexander Larsson <alexl@redhat.com>
297 Add g_unix_mount_guess_should_display and use
298 for unix volume monitor backend.
299 This means we more or less show what the
300 gnome-vfs backend did.
301 Based on patch from Padraig O'Briain
303 2008-01-09 Alexander Larsson <alexl@redhat.com>
307 Add g_themed_icon_new_with_default_fallbacks
310 Use default fallbacks for icons
312 2008-01-09 Alexander Larsson <alexl@redhat.com>
315 * gmountoperation.[ch]:
316 Change the API a bit so that unhandled methods
317 get reported via the reply, rather than by
318 the signal emission return value. This is because
319 some handlers can't know this immediately without
320 doing I/O, and this is an async operation that
323 2008-01-09 Alexander Larsson <alexl@redhat.com>
326 * fam/gfamdirectorymonitor.c:
327 * fam/gfamfilemonitor.c:
328 Fix double free crash (#508224)
329 Patch from Joe Marcus Clarke
331 008-01-07 Matthias Clasen <mclasen@redhat.com>
333 * === Released 2.15.1 ===
335 2008-01-07 Alexander Larsson <alexl@redhat.com>
337 * gunixinputstream.c (g_unix_input_stream_skip_finish):
338 Fix warning (#507835)
340 2008-01-07 Alexander Larsson <alexl@redhat.com>
343 Pass --internal to glib-genmarshal
348 Use better types for signal arguments (#507822)
350 2008-01-07 Alexander Larsson <alexl@redhat.com>
353 Build test subdir after .
354 Remove gdirectorymonitor.[ch]
356 * gdirectorymonitor.[ch]:
360 Remove GDirectoryMonitor and make
361 GFileMonitor the baseclass for both file and
362 directory monitors. Lift the more generic
363 rate limiting code from GDirectoryMonitor
367 * fam/gfamdirectorymonitor.[ch]:
368 * inotify/ginotifydirectorymonitor.[ch]:
369 * inotify/inotify-helper.c:
370 * glocaldirectorymonitor.[ch]:
373 Update for the removed GDirectoryMonitor.
375 * gmemoryoutputstream.c:
376 Remove ununsed variable
378 2008-01-07 Alexander Larsson <alexl@redhat.com>
380 * gmemoryinputstream.c:
381 Translate error strings
384 * gmemoryoutputstream.[ch]:
385 New implementation that avoids using GByteArray
386 in implementation and API. (#506377)
388 2008-01-06 Matthias Clasen <mclasen@redhat.com>
390 * tests/*: Add a test for memory input streams.
392 * Makefile.am: Add tests to SUBDIRS.
394 2008-01-06 Matthias Clasen <mclasen@redhat.com>
396 * glocalfilemonitor.c:
397 * glocaldirectorymonitor.c: Mark property nicks and blurbs
400 2008-01-06 Matthias Clasen <mclasen@redhat.com>
402 * gdesktopappinfo.c: Fix a docs typo.
404 * gfileattribute.c: Add information about extended attributes
405 to the documentation. (#505058)
407 2008-01-04 Alexander Larsson <alexl@redhat.com>
411 Use the right type (uint) for the ask_password signal.
413 2008-01-04 Alexander Larsson <alexl@redhat.com>
418 Add g_app_info_supports_files()
419 Remove desktop arg from g_app_info_should_show().
421 * gdesktopappinfo.[ch]:
422 Implement g_app_info_supports_files() and new should_show()
423 Add g_desktop_app_info_set_desktop_env() to set the desktop
424 for should_show(). (This will be set by gtk+ later)
426 2008-01-04 Alexander Larsson <alexl@redhat.com>
429 * gmemoryinputstream.[ch]:
430 Improve API so that you can use multiple chunks
431 of memory and custom destroy functions. (#506374)
433 2008-01-03 Alexander Larsson <alexl@redhat.com>
436 Handle NULL attribute matchers safely, as we return this
437 for empty attribute matcher strings.
439 2008-01-03 Alexander Larsson <alexl@redhat.com>
441 * gunixmounts.c (g_unix_is_mount_path_system_internal):
442 Add /usr/local to list of internal mountpoints
444 2008-01-03 Alexander Larsson <alexl@redhat.com>
447 Check for HAVE_LCHOWN (#505887)
449 2008-01-03 Alexander Larsson <alexl@redhat.com>
453 Add define for selinux context attribute.
454 Fix missing : -> :: namespace separator change
455 Fix missing _ -> - name change for xattr-sys.
458 2008-01-03 Alexander Larsson <alexl@redhat.com>
461 Link to libglib and libgobject directly (#504879)
462 Patch from Sebastien Bacher
464 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
466 * gfile.c: Expanded the g_file_new_for_commandline_arg
467 description a bit, based on the code and the docs of the
468 other g_file_new_for_* functions.
470 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
472 * gfilemonitor.h: Fixed typo in docs.
474 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
476 Updates to GIO documentation. (#506395, Mikael Hermansson)
478 * gcontenttype.c: Describe memory management for return value of
479 g_content_types_get_registered(). Missing piece from #505815.
480 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
481 GVolume, GDrive, GMounts, which hopefully gives the user less
482 confusions when using this API. Following explainations from
483 Alexander Larsson on gtk-devel-list.
485 2007-12-30 Matthias Clasen <mclasen@redhat.com>
487 * gfileinfo.c: Expand the long description.
489 2007-12-30 Matthias Clasen <mclasen@redhat.com>
492 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
493 fix builds with --disable-visibility. (#500273, Christian Persch)
495 2007-12-30 Matthias Clasen <mclasen@redhat.com>
497 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
498 in the list of returned app infos.
500 2007-12-30 Matthias Clasen <mclasen@redhat.com>
502 * gappinfo.c: Fix a cross-reference
504 2007-12-30 Matthias Clasen <mclasen@redhat.com>
506 * gfileinputstream.c:
507 * gfileoutputstream.c:
513 * gfileinfo.c: Documentation updates.
515 2007-12-26 Matthias Clasen <mclasen@redhat.com>
517 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
520 2007-12-26 Matthias Clasen <mclasen@redhat.com>
522 * gcontenttype.c (g_content_types_get_registered): Don't return
523 freed memory (#505815, Mikael Hermansson)
525 2007-12-25 Paolo Borelli <pborelli@katamail.com>
527 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
528 used to detect statbuf->st_blocks. (#505042)
530 2007-12-24 Matthias Clasen <mclasen@redhat.com>
532 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
533 environment handling. (#504829, Cosimo Cecchi)
535 2007-12-22 Matthias Clasen <mclasen@redhat.com>
537 * gappinfo.c: Doc improvements
539 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
542 2007-12-20 Matthias Clasen <mclasen@redhat.com>
544 * === Released 2.15.0 ===
546 2007-12-20 Hans Breuer <hans@breuer.org>
548 * makefile.msc : don't build gdesktopappinfo.obj, it collides
549 with symbols gwin32appinfo.obj, added gmount.obj
550 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
552 2007-12-20 Alexander Larsson <alexl@redhat.com>
558 * gfilenamecompleter.c:
561 * gpollfilemonitor.c:
562 File attribute renames:
565 id::fs -> id::filesystem
567 2007-12-20 Alexander Larsson <alexl@redhat.com>
576 Add GMountUnmountFlags to all unmount and
578 Add g_mount_remount() call.
580 2007-12-20 Alexander Larsson <alexl@redhat.com>
582 * gvfs.c (get_default_vfs):
583 Fix unused variable warning
585 2007-12-19 Matthias Clasen <mclasen@redhat.com>
587 * pltcheck.sh: Update
589 2007-12-19 Matthias Clasen <mclasen@redhat.com>
591 * gunionvolumemonitor.c:
592 * gunixmount.c: Remove C99 comments
594 2007-12-19 Matthias Clasen <mclasen@redhat.com>
596 * gio.symbols: Add some missing symbols
598 2007-12-19 Alexander Larsson <alexl@redhat.com>
601 Make g_io_modules_load_all_in_directory not unuse
602 loaded modules so that users of it can do stuff
604 Init internal "module" types.
605 Initialize static prio and name for types so that
606 we don't have to load modules to get it.
608 * gnativevolumemonitor.h:
610 Move is_supported to parent class so that
611 non-native monitors can avoid being initialized
612 too. (For instance GDaemonVolumeMonitor if we're
613 not using GDaemonVfs.)
615 * glocaldirectorymonitor.[ch]:
616 * glocalfilemonitor.[ch]:
617 * gunionvolumemonitor.c:
618 * gunixvolumemonitor.c:
620 Find plugins using the static prio+name to
621 avoid unnecessarily loading the modules.
623 2007-12-19 Alexander Larsson <alexl@redhat.com>
628 2007-12-19 Alexander Larsson <alexl@redhat.com>
630 * gunionvolumemonitor.c:
631 Store the native type as GType, not class so that
632 we can unload it. But still avoid unnecessarily
635 2007-12-19 David Zeuthen <davidz@redhat.com>
637 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
638 add signals 'disconnected' and 'eject-button' on GDrive. Add
639 signal 'removed' on GVolume and 'unmounted' on GMount.
641 * gdrive.c: (g_drive_base_init):
643 * gfile.c: (g_file_mount_mountable),
644 (g_file_mount_enclosing_volume):
647 * gmount.c: (g_mount_base_init):
649 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
650 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
651 * gvolume.c: (g_volume_base_init), (g_volume_mount):
655 2007-12-17 Matthias Clasen <mclasen@redhat.com>
657 * *.c: Fix up includes in the section docs.
659 2007-12-17 Alexander Larsson <alexl@redhat.com>
661 * gnativevolumemonitor.h:
662 * gunionvolumemonitor.c:
663 * gunixvolumemonitor.c:
664 Add is_supported() to GNativeVolumeMonitorClass so
665 that we can avoid having to create an object to see
666 if the backend is supported at runtime.
667 Also add name member and an env var to pick a specific
668 volume monitor backend.
672 Add cancellable to _g_mount_get_for_mount_path()
674 * glocaldirectorymonitor.c:
675 * glocalfilemonitor.c:
676 Avoid loading and unloading modules while sorting.
678 2007-12-17 Matthias Clasen <mclasen@redhat.com>
681 * gunixmounts.[hc]: Namespace waste reduction, move some
682 g_get_unix_mount functions to the g_unix_mount namespace.
685 * gunixvolumemonitor.c:
687 * glocaldirectorymonitor.c: Update all callers.
689 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
691 2007-12-17 Alexander Larsson <alexl@redhat.com>
694 Add doc comments about what GFile operations are
695 guaranteed to not block.
697 2007-12-17 Alexander Larsson <alexl@redhat.com>
700 Add missing #ifdef fixing OSX build.
701 (#503334, patch from Richard Hult)
703 2007-12-14 David Zeuthen <davidz@redhat.com>
707 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
708 (g_mount_eject), (g_mount_eject_finish):
710 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
711 (get_volume_for_uuid), (get_mount_for_uuid),
712 (g_union_volume_monitor_class_init),
713 (get_default_native_type_with_exclude), (get_default_native_type),
714 (get_native_type), (update_native_type),
715 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
716 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
717 (g_unix_mount_can_eject), (eject_unmount_cb),
718 (eject_unmount_read_error), (eject_unmount_do),
719 (g_unix_mount_unmount), (g_unix_mount_eject),
720 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
721 * gunixmounts.c: (g_unix_mount_guess_can_eject),
722 (g_unix_mount_point_guess_can_eject):
724 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
725 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
726 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
727 (g_unix_volume_mount), (g_unix_volume_eject),
728 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
729 * gunixvolumemonitor.c: (get_volume_for_uuid),
730 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
732 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
733 (g_volume_eject), (g_volume_eject_finish):
735 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
736 (g_volume_monitor_get_mount_for_uuid):
739 Provide eject() on both GMount and GVolume and utility functions
740 to guess whether a GUnixMountPoint or GUnixMountEntry should be
741 ejected. Introduce the concept of UUID's and wire it into GVolume
742 and GMount and provide API on GVolumeMonitor to find such
743 instances. Also handle the case where an external
744 GNativeVolumeMonitor fails to initialize. Lock around the
745 _g_get_mount_for_mount_path() function such that volume monitor
746 implementations won't have to do locking themselves.
748 2007-12-17 Matthias Clasen <mclasen@redhat.com>
756 * gvolume.h: Documentation updates
758 2007-12-14 Matthias Clasen <mclasen@redhat.com>
761 * gfile.h: Doc updates
763 2007-12-14 Matthias Clasen <mclasen@redhat.com>
766 * gdesktopappinfo.c: Use hash table iterators.
768 2007-12-14 Alexander Larsson <alexl@redhat.com>
771 * gfileattribute.[ch]:
772 * gfileattribute-priv.h:
773 Move GFileAttributeValue to a private header, as
777 Make set_attribute take a type + a pointer instead
778 of a GFileAttributeValue.
781 Fix up for above changes.
782 Add g_file_info_get_attribute_data to get
783 all info in one call, g_file_info_get_attribute_status
784 to get the status and g_file_info_get_attribute_as_string.
788 * glocalfileinfo.[ch]:
792 Make _guess_type static.
794 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
797 * inotify/Makefile.am: Fixed build when srcdir != builddir,
798 made mkenums and friends use temporary files to avoid leaving
799 empty generated files on failure (#503470).
801 2007-12-14 Alexander Larsson <alexl@redhat.com>
806 2007-12-14 Alexander Larsson <alexl@redhat.com>
810 * gfileattribute.[ch]:
813 * glocalfileoutputstream.c:
814 * gmountoperation.[ch]:
815 * goutputstream.[ch]:
816 Clean up all flags enums to not have _FLAGS in them
817 Make the names of some of the enums better.
822 2007-12-14 Michael Natterer <mitch@imendio.com>
824 * gio.symbols: fix g_io_scheduler symbol names.
826 2007-12-14 Alexander Larsson <alexl@redhat.com>
832 * gbufferedinputstream.h:
833 * gbufferedoutputstream.h:
836 * gdatainputstream.h:
837 * gdataoutputstream.h:
839 * gdirectorymonitor.h:
846 * gfileinputstream.h:
848 * gfilenamecompleter.h:
849 * gfileoutputstream.h:
850 * gfilterinputstream.h:
851 * gfilteroutputstream.h:
859 * gmemoryinputstream.h:
860 * gmemoryoutputstream.h:
865 * gsimpleasyncresult.h:
867 * gunixinputstream.h:
869 * gunixoutputstream.h:
873 * inotify/Makefile.am:
874 Only allow including <gio/gio.h> from apps
876 2007-12-14 Alexander Larsson <alexl@redhat.com>
879 * gsimpleasyncresult.c:
880 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
881 Split out the send_to_mainloop call into two versions instead
882 of having the block argument.
884 2007-12-13 Alexander Larsson <alexl@redhat.com>
888 * gbufferedinputstream.c:
890 * gfileinputstream.c:
891 * gfileoutputstream.c:
895 g_push/pop_current_cancellable ->
896 g_cancellable_push/pop_current
898 2007-12-13 Alexander Larsson <alexl@redhat.com>
902 Rename g_mount_for_location to g_file_mount_enclosing_volume.
904 2007-12-13 Alexander Larsson <alexl@redhat.com>
907 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
909 2007-12-12 Alexander Larsson <alexl@redhat.com>
912 Fix race condition when freeing proxy in
913 g_io_job_send_to_mainloop().
915 2007-12-12 Alexander Larsson <alexl@redhat.com>
921 Make attribute namespace separator "::" instead of ":".
922 Use - instead of _ as separator in attribute names.
924 2007-12-12 Alexander Larsson <alexl@redhat.com>
926 * gbufferedinputstream.h:
927 * gbufferedoutputstream.h:
928 * gdatainputstream.h:
929 * gdataoutputstream.h:
930 * gdirectorymonitor.h:
932 * gfileinputstream.h:
934 * gfileoutputstream.h:
935 * gfilterinputstream.h:
936 * gfilteroutputstream.h:
938 * glocalfileinputstream.h:
939 * glocalfileoutputstream.h:
940 * gmemoryinputstream.h:
941 * gmemoryoutputstream.h:
942 * gnativevolumemonitor.h:
944 * gunixinputstream.h:
945 * gunixoutputstream.h:
948 s/parent/parent_instance/ in GObjects
950 2007-12-12 Alexander Larsson <alexl@redhat.com>
955 No need for padding for interfaces
957 2007-12-12 Alexander Larsson <alexl@redhat.com>
961 * gbufferedinputstream.c:
962 * gbufferedoutputstream.c:
965 * gdatainputstream.[ch]:
967 * gdirectorymonitor.c:
969 * gfileattribute.[ch]:
972 * gfileinputstream.h:
974 * gfileoutputstream.[ch]:
975 * gfilterinputstream.h:
976 * gfilteroutputstream.h:
979 * gloadableicon.[ch]:
980 * gmemoryinputstream.c:
983 Fix up a bunch of details in the docs.
988 2007-12-11 David Zeuthen <davidz@redhat.com>
990 Rework how volumes, drives and volume monitoring is
991 done. Previosly the model was
995 where a GDrive instance represented a mount point and a GVolume
996 instance represented a mounted file system. This patch changes it
999 GDrive <1-N> GVolume <1-1> GMount
1001 where GMount now serves the purpose of the old GVolume and the new
1002 GVolume serves the purpose of the old GDrive. In addition the new
1003 GDrive interface is used to represent a collection of GVolume
1004 instances (typically partitions) and also contains utility to query
1005 the state of the physical drive the GDrive object represents (such
1006 as checking for media, polling the drive, ejecting the media etc.).
1008 Also implement mounting and unmounting in the Unix volume monitor
1009 backend. A subquent patch will introduce GDrive support for ejection
1013 * gdrive.c: (g_drive_is_media_check_automatic),
1014 (g_drive_is_media_removable), (g_drive_has_media),
1015 (g_drive_can_poll_for_media), (g_drive_eject),
1016 (g_drive_eject_finish), (g_drive_poll_for_media),
1017 (g_drive_poll_for_media_finish):
1019 * gfile.c: (g_file_find_enclosing_mount):
1022 * glocaldirectorymonitor.c:
1023 (g_local_directory_monitor_constructor), (mounts_changed):
1024 * glocalfile.c: (get_mount_info),
1025 (g_local_file_find_enclosing_mount),
1026 (g_local_file_file_iface_init):
1027 * gnativevolumemonitor.h:
1028 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1029 (get_connected_drives), (g_union_volume_monitor_class_init),
1030 (child_volume_added), (child_volume_removed),
1031 (child_volume_changed), (child_mount_added), (child_mount_removed),
1032 (child_mount_pre_unmount), (child_mount_changed),
1033 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1034 (g_union_volume_monitor_remove_monitor),
1035 (_g_mount_get_for_mount_path):
1036 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1037 (guess_system_internal), (_g_get_unix_mounts),
1038 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1039 (g_unix_mount_free), (g_unix_mount_compare),
1040 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1041 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1042 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1043 (type_to_icon), (g_unix_mount_guess_name),
1044 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1045 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1046 (_resolve_symlink), (_resolve_dev_root):
1048 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1049 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1050 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1051 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1052 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1053 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1054 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1055 (g_unix_volume_volume_iface_init):
1057 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1058 (get_mounts), (get_volumes), (get_connected_drives),
1059 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1060 (mountpoints_changed), (mounts_changed),
1061 (g_unix_volume_monitor_init),
1062 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1063 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1064 * gunixvolumemonitor.h:
1065 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1066 (g_volume_mount), (g_volume_mount_finish):
1068 * gvolumemonitor.c: (g_volume_monitor_class_init),
1069 (g_volume_monitor_get_connected_drives),
1070 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1073 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1075 * gmountoperation.h (GPasswordFlags): Close the gap
1077 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1079 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1081 * gdesktopappinfo.[hc]: Remove _-prefixes
1083 2007-12-10 Tor Lillqvist <tml@novell.com>
1085 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1088 2007-12-10 Alexander Larsson <alexl@redhat.com>
1090 * gfile.c (g_file_set_display_name):
1091 Don't hardcode '/' (#502727)
1093 2007-12-09 Hans Breuer <hans@breuer.org>
1095 * makefile.msc : follow lib naming convention
1096 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1097 for user and group name, tested with ../tests/gio-ls
1099 2007-12-09 A. Walton <awalton@svn.gnome.org>
1101 * gdesktopappinfo.c:
1107 * gfileenumerator.c:
1112 * gmemoryinputstream.c:
1113 * gmemoryoutputstream.c:
1115 * gsimpleasyncresult.c:
1116 More documentation cleanup and filling in missing information, bringing
1117 GIO to 99% symbol coverage.
1119 2007-12-08 Hans Breuer <hans@breuer.org>
1121 [gio compiles and links on win32, not sure how much already works]
1122 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1123 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1124 base on win32 API; prefer g_lstat() over lstat(); instead of
1125 localtime_r() use an all GLib implementation on win32;
1126 get_mount_info() still needs a win32 specifc implementation
1127 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1128 win32_get_file_user_info to get owner/group info without uid/gid
1129 * glocalfileinputstream.c : include <io.h> on win32
1130 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1131 definition, use g_win32_ftruncate() for G_OS_WIN32
1132 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1133 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1134 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1135 * makefile.msc : updated
1137 2007-12-07 Alexander Larsson <alexl@redhat.com>
1139 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1140 Avoid warning spew if error == NULL
1142 2007-12-07 Alexander Larsson <alexl@redhat.com>
1145 Update docs wrt etags
1147 2007-12-06 Alexander Larsson <alexl@redhat.com>
1150 Include sys/types.h for dev_t (#501919)
1152 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1156 Make abicheck and pltcheck pass.
1158 2007-12-05 Alexander Larsson <alexl@redhat.com>
1161 * giomodule-priv.h: Added.
1162 * glocaldirectorymonitor.c:
1163 * glocalfilemonitor.c:
1164 * gunionvolumemonitor.c:
1166 Actually add the declaration of _g_io_modules_ensure_loaded
1168 2007-12-05 Alexander Larsson <alexl@redhat.com>
1170 * gdatainputstream.c:
1175 * glocaldirectorymonitor.c:
1176 * glocalfilemonitor.c:
1177 * gunionvolumemonitor.c:
1179 Make g_io_modules_ensure_loaded a private function and
1180 don't pass in the dirname. This means we can do magic
1181 directory finding in the win32 version.
1182 Export the actual load-modules-in-directory code so that
1183 gvfs can reuse that.
1185 2007-12-05 Alexander Larsson <alexl@redhat.com>
1187 * gbufferedinputstream.c:
1188 * gbufferedoutputstream.c:
1191 * gfileenumerator.[ch]:
1192 * gfileinputstream.c:
1193 * gfileoutputstream.[ch]:
1194 * gfilterinputstream.c:
1195 * gfilteroutputstream.c:
1196 * ginputstream.[ch]:
1198 * glocalfileenumerator.c:
1199 * glocalfileinputstream.c:
1200 * glocalfileoutputstream.c:
1201 * gmemoryinputstream.c:
1202 * gmemoryoutputstream.c:
1203 * goutputstream.[ch]:
1206 * gunixinputstream.c:
1207 * gunixoutputstream.c:
1208 Rename all struct members named:
1209 read, write, close, truncate, or mount
1210 to foo_fn, as these are reserved names
1211 and could be defined as macros in libc.
1214 2007-12-04 Alexander Larsson <alexl@redhat.com>
1217 (g_output_stream_close):
1218 Only call flush if non-null.
1220 2007-11-30 Dan Winship <danw@gnome.org>
1222 * ginputstream.c (g_input_stream_set_pending): Make this take a
1223 GError and return a gboolean, and do the "outstanding operation"
1224 check (and the "stream is already closed" check) itself.
1225 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1227 * goutputstream.c (g_output_stream_set_pending)
1228 (g_output_stream_clear_pending): Likewise
1230 * gbufferedinputstream.c:
1231 * gfileinputstream.c:
1232 * gfileoutputstream.c: Update for that
1234 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1235 Like g_simple_async_report_error_in_idle, but takes a GError
1236 rather than building one.
1238 2007-11-30 Dan Winship <danw@gnome.org>
1240 * goutputstream.c: Don't cheat and unset the "pending" flag around
1241 inner calls. Instead, call the class method directly rather than
1242 the wrapper function that checks "pending"
1244 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1246 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1248 2007-12-03 Hans Breuer <hans@breuer.org>
1250 [start of port to win32/msvc]
1251 * gcancellable.c : HAVE_UNIST_H and _pipe()
1252 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1253 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1254 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1256 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1257 * glocalvfs.c : use HAVE_PWD_H
1258 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1259 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1260 * Makefile.am : added to EXTRA_DIST
1262 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1264 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1267 2007-12-03 Alexander Larsson <alexl@redhat.com>
1270 Handle OSX style xattrs API (#500506)
1272 2007-12-03 Alexander Larsson <alexl@redhat.com>
1276 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1278 2007-12-02 A. Walton <awalton@svn.gnome.org>
1282 Documentation accuracy fixes.
1284 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1286 * gioenumtypes.c.template: Fix typo.
1288 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1290 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1292 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1294 * gdirectorymonitor.c:
1295 * gfilemonitor.c: Add properties
1297 * gbufferedoutputstream.c: Don't mark buffer-size property
1300 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1302 * gbufferedoutputstream.c: Add auto-grow property.
1304 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1306 * *.c: Unify the capitalization of section headings.
1308 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1310 * gmountoperation.c: Add properties
1312 * gdatainputstream.c: Turn byte-order and newline-type into
1315 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1317 * gioenumtypes.[hc].template: Templates for enum registration
1319 * Makefile.am: Generate gioenumtypes.[hc]
1321 * gio.h: Include gioenumtypes.h
1323 * gfile.h: Add some explicit nicks.
1325 * gio.symbols: Add new symbols
1327 * pltcheck.sh: Adjust
1329 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1331 * *.c: Explain etags and link to the explanation
1333 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1335 * *.c: Explain I/O priority.
1337 * *.c: More coding style fixes.
1339 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1341 * gasyncresult.c: Add another paragraph to the intro,
1342 adjust coding style of example.
1344 2007-11-29 A. Walton <awalton@svn.gnome.org>
1347 Fixes unknown meaning in GAppLaunchContext docs.
1349 Clarify asynchronous ops.
1351 Fix entity tag docs.
1354 Provides missing gtk-doc section, fixes API docs slighly.
1355 * gsimpleasyncresult.c:
1356 Fill in missing info in docs.
1357 * gunixinputstream.c:
1358 * gunixoutputstream.c:
1359 Be more expressive in short description.
1361 Remove gtk-doc stubs for non-public API.
1363 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1365 * *.c: Coding style fixups
1367 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1369 * inotify/inotify-helper.c: Don't export the lock from libgio.
1371 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1374 * abicheck.sh: Fix copy-and-paste leftovers
1376 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1378 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1380 2007-11-28 Alexander Larsson <alexl@redhat.com>
1384 Removed unnecessary file
1386 * gdesktopappinfo.[ch]:
1389 * glocaldirectorymonitor.[ch]:
1391 * glocalfileenumerator.[ch]:
1392 * glocalfileinputstream.[ch]:
1393 * glocalfilemonitor.[ch]:
1394 * glocalfileoutputstream.[ch]:
1396 * gnativevolumemonitor.c:
1397 * gpollfilemonitor.[ch]:
1398 * gunionvolumemonitor.[ch]:
1401 * gunixvolumemonitor.[ch]:
1404 * inotify/ginotifydirectorymonitor.[ch]:
1405 * inotify/ginotifyfilemonitor.[ch]:
1406 * inotify/inotify-helper.c:
1407 Append _ to all internal functions
1411 Export symbols needed for modules
1413 2007-11-28 Alexander Larsson <alexl@redhat.com>
1416 * abicheck.sh: Added.
1417 * makegioalias.pl: Added.
1418 * pltcheck.sh: Added.
1419 * gio.symbols: Added.
1422 Initial work on adding symbol handling.
1425 Correct ifdef guard name
1428 * inotify/Makefile.am:
1429 * xdgmime/Makefile.am:
1430 Include toplevel Makefile.decl
1432 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1434 * gcontenttype.c: Move doc comments to the unix section.
1436 * *.[hc]: More trivial doc corrections.
1438 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1440 * gpollfilemonitor.c:
1444 * gdesktopappinfo.c:
1449 * gdatainputstream.c:
1450 * gdatainputstream.h:
1451 * gdataoutputstream.c:
1452 * gdataoutputstream.h:
1453 * gfileinfo.h: Doc cleanups
1455 2007-11-28 Andre Klapper <a9016009@gmx.de>
1457 * gdesktopappinfo.c: Fix a typo.
1459 2007-11-27 Andre Klapper <a9016009@gmx.de>
1461 * glocalfileoutputstream.c: Fix a typo.
1463 2007-11-27 Alexander Larsson <alexl@redhat.com>
1466 Don't include removed headers
1468 2007-11-27 Alexander Larsson <alexl@redhat.com>
1471 * gsocketinputstream.[ch]: Removed.
1472 * gsocketoutputstream.[ch]: Removed.
1473 * gunixinputstream.[ch]: Added.
1474 * gunixoutputstream.[ch]: Added.
1475 Renamed GSocket*Stream to GUnix*Stream and made
1476 it unix-only, since its not really only for sockets
1477 and it only works on unix (but is highly useful there).
1479 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1485 * gbufferedinputstream.c:
1486 * gbufferedinputstream.h:
1487 * gbufferedoutputstream.c:
1488 * gbufferedoutputstream.h:
1492 * gdatainputstream.c:
1493 * gdatainputstream.h:
1494 * gdataoutputstream.c:
1495 * gdataoutputstream.h:
1496 * gdirectorymonitor.c:
1497 * gdirectorymonitor.h:
1504 * gfileenumerator.c:
1505 * gfileenumerator.h:
1510 * gfileinputstream.c:
1511 * gfileinputstream.h:
1514 * gfilenamecompleter.c:
1515 * gfilenamecompleter.h:
1516 * gfileoutputstream.c:
1517 * gfileoutputstream.h:
1518 * gfilterinputstream.c:
1519 * gfilterinputstream.h:
1520 * gfilteroutputstream.c:
1521 * gfilteroutputstream.h:
1534 * glocalfileoutputstream.c:
1535 * gmemoryinputstream.c:
1536 * gmemoryinputstream.h:
1537 * gmemoryoutputstream.c:
1538 * gmemoryoutputstream.h:
1539 * gmountoperation.c:
1540 * gmountoperation.h:
1543 * gpollfilemonitor.c:
1546 * gsimpleasyncresult.c:
1547 * gsimpleasyncresult.h:
1548 * gsocketinputstream.c:
1549 * gsocketinputstream.h:
1550 * gsocketoutputstream.c:
1551 * gsocketoutputstream.h:
1558 * gunixvolumemonitor.c:
1567 Bumps documentation to 93% symbol coverage, touching most
1568 of the public files. Fixes broken function documentation prototypes.
1569 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1570 gtk-doc headers in private files.
1572 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1574 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1575 (g_buffered_input_stream_read_byte):
1576 * gbufferedinputstream.h:
1577 New functions for efficient access to buffer and simple single byte
1580 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1581 (g_data_input_stream_read_until):
1582 * gdatainputstream.h:
1583 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1584 read_until with multiple stop chars.
1586 2007-11-27 Alexander Larsson <alexl@redhat.com>
1590 * inotify/Makefile.am:
1591 Use the user-specified giomoduledir
1593 2007-11-27 Alexander Larsson <alexl@redhat.com>
1597 Add catch-all gio.h header
1598 Don't install gdummyfile.h
1600 2007-11-26 Alexander Larsson <alexl@redhat.com>
1602 * Makefile.am (gioinclude_HEADERS):
1603 Remove trailing whitespace
1605 2007-11-26 Alexander Larsson <alexl@redhat.com>
1607 Merge gio-standalone into glib
1609 2007-11-25 Christian Kellner <gicmo@gnome.org>
1611 * gio/goutputstream.c:
1612 Fix small mistake in the docs.
1614 2007-11-21 Christian Persch <chpe@gnome.org>
1616 * gio/glocalfile.c: (g_local_file_trash):
1617 Convert filenames to UTF-8 for GError.
1618 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1619 as per xdg base dir spec.
1621 2007-11-21 Christian Persch <chpe@gnome.org>
1623 * gio/gdesktopappinfo.c:
1624 Use that g_key_file_to_data cannot fail.
1626 Use stock defines for the key file group and key names.
1629 2007-11-21 Alexander Larsson <alexl@redhat.com>
1632 (copy_stream_with_progress):
1633 Make sure we do a final progress callback with
1634 the full total size.
1636 2007-11-21 Alexander Larsson <alexl@redhat.com>
1639 Export g_file_copy_attributes
1640 Remove padding as its not needed for interfaces
1642 2007-11-20 Alexander Larsson <alexl@redhat.com>
1647 Add G_IO_ERROR_WOULD_MERGE for
1648 copy/move dir on dir with overwrite.
1650 2007-11-20 Alexander Larsson <alexl@redhat.com>
1653 * gio/glocalfileinfo.c:
1654 Add COPY_NAME (this is an optional
1655 non-modified utf8 version of the name) that
1658 2007-11-20 Alexander Larsson <alexl@redhat.com>
1660 * gio/glocalfileenumerator.c:
1661 Report errors as GIOError, not GFileError
1663 2007-11-16 Alexander Larsson <alexl@redhat.com>
1665 * gio/glocalfileoutputstream.c:
1666 * gio/gwin32appinfo.c:
1667 Fix typos in strings.
1668 Patch from Luca Ferretti <elle.uca@libero.it>
1670 2007-11-15 Alexander Larsson <alexl@redhat.com>
1673 Post release version bump
1675 === gio-standalone 0.1.2 ===
1677 2007-11-15 Alexander Larsson <alexl@redhat.com>
1679 * docs/reference/gio/Makefile.am:
1680 Fix up distcheck by removing weird
1686 2007-11-14 Alexander Larsson <alexl@redhat.com>
1688 * gio/gdesktopappinfo.c:
1689 * gio/glocaldirectorymonitor.c:
1691 * gio/glocalfileinfo.c:
1692 * gio/inotify/inotify-sub.c:
1693 * programs/gio-cat.c:
1694 * programs/gio-copy.c:
1695 * programs/gio-info.c:
1696 * programs/gio-ls.c:
1697 * programs/gio-monitor-dir.c:
1698 * programs/gio-monitor-file.c:
1699 * programs/gio-mount.c:
1700 * programs/gio-move.c:
1701 * programs/gio-rm.c:
1702 * programs/gio-save.c:
1703 * programs/gio-trash.c:
1704 Leak fixes from Kjartan Maraas
1706 2007-11-14 Alexander Larsson <alexl@redhat.com>
1708 * gio/fam/fam-helper.c:
1710 * gio/glocalfileinfo.c:
1714 * gio/inotify/inotify-diag.c:
1715 * gio/inotify/inotify-kernel.c:
1716 Various code cleanups from Kjartan Maraas
1718 2007-11-14 Alexander Larsson <alexl@redhat.com>
1720 * gio/gioscheduler.c:
1722 Set up threadpool so that we cache 2 unused
1723 idle threads for at 15 secs. This means we
1724 will reuse thread-local data (like dbus connections)
1727 2007-11-14 Alexander Larsson <alexl@redhat.com>
1729 * gio/fam/fam-helper.c:
1730 * gio/fam/gfamdirectorymonitor.c:
1731 * gio/fam/gfamfilemonitor.c:
1733 * gio/gcontenttype.c:
1734 * gio/gdatainputstream.c:
1735 * gio/gdataoutputstream.c:
1739 * gio/gfileattribute.h:
1740 * gio/gfileenumerator.c:
1742 * gio/ginputstream.c:
1745 * gio/glocalfileinfo.c:
1746 * gio/goutputstream.c:
1747 * gio/gpollfilemonitor.c:
1748 * gio/gsimpleasyncresult.c:
1749 * gio/gunixmounts.c:
1750 * gio/gunixmounts.h:
1751 * gio/inotify/ginotifydirectorymonitor.c:
1752 * gio/inotify/ginotifyfilemonitor.c:
1753 * gio/inotify/inotify-diag.c:
1754 * gio/inotify/inotify-kernel.c:
1755 * gio/inotify/inotify-path.c:
1757 * gio/test-streams.c:
1758 * programs/gio-info.c:
1759 * programs/gio-monitor-dir.c:
1760 * programs/gio-monitor-file.c:
1761 Various code cleanups from Kjartan Maraas
1763 2007-11-13 Alexander Larsson <alexl@redhat.com>
1766 Handle the uri-scheme calls for dummy files
1768 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1770 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1771 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1772 to avoid clash with the C++ keyword.
1774 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1776 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1777 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1779 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1781 * gio/glocaldirectorymonitor.c:
1782 * gio/glocalfilemonitor.c:
1783 * gio/gunionvolumemonitor.c:
1784 Don't use g_once_init_*() for initializations that could fail and
1785 could leave the initialization variable set to 0 but use GOnce.
1786 This prevents a deadlock on the second call when trying to create
1787 a monitor and no monitor type is available. Thanks to Sven Herzberg
1790 2007-11-11 Sven Herzberg <sven@imendio.com>
1792 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1793 #ifdef (make it work on MacOS X again)
1795 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1797 Fixes Changelog for last two commits (sorry guys).
1799 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1801 * gio/gbufferedinputstream.c:
1802 * gio/gdatainputstream.c:
1804 * gio/gfileoutputstream.c:
1805 * gio/gfilterinputstream.c:
1806 * gio/glocalfileinputstream.c:
1809 More consistency fixes in g*stream.c files.
1810 Significant clean of gfile's documentation, filling in of
1811 asynchronous operations documentation.
1813 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1815 * gio/gasyncresult.c:
1816 * gio/gbufferedinputstream.c:
1817 * gio/gbufferedoutputstream.c:
1818 * gio/gcancellable.c:
1819 * gio/gcontenttype.c:
1820 * gio/gdatainputstream.c:
1821 * gio/gdataoutputstream.c:
1822 * gio/gdesktopappinfo.c:
1825 * gio/gfileattribute.c:
1826 * gio/gio/gfileenumerator.c:
1828 * gio/gfileinputstream.c:
1829 * gio/gfilemonitor.c:
1830 * gio/gfileoutputstream.c:
1831 * gio/ginputstream.c:
1833 * gio/gioscheduler.c:
1834 * gio/gloadableicon.c:
1835 * gio/glocalfileoutputstream.c:
1836 * gio/gmemoryoutputstream.c:
1837 * gio/gmountoperation.c:
1838 * gio/goutputstream.c:
1840 * gio/gsimpleasyncresult.c:
1841 * gio/gunionvolumemonitor.c:
1842 * gio/gunixmounts.c:
1843 * gio/gunixvolume.c:
1847 * gio/gvolumemonitor.c:
1848 Updated documentation stubs, working towards consistency and
1851 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1853 * gio/gmemoryoutputstream.c:
1854 * gio/gmemoryoutputstream.h:
1855 Change g_memory_output_stream_set_free_on_close() to
1856 g_memory_output_stream_set_free_data() as this makes more sense and
1857 is more consistent with GMemoryInputStream.
1859 2007-11-07 Alexander Larsson <alexl@redhat.com>
1866 Change how we find the default vfs so that
1867 we can handle a gvfs failing to init
1869 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1871 * gio/gbufferedoutputstream.c:
1872 * gio/gdatainputstream.c:
1873 * gio/gdataoutputstream.c:
1874 * gio/gfileinputstream.c:
1875 * gio/gfileoutputstream.c:
1876 * gio/gfilterinputstream.c:
1877 * gio/gfilteroutputstream.c:
1878 * gio/ginputstream.c:
1879 * gio/gmemoryinputstream.c:
1880 * gio/gmemoryoutputstream.c:
1881 * gio/goutputstream.c:
1882 * gio/gsimpleasyncresult.c:
1883 * gio/gsocketinputstream.c:
1884 * gio/gsocketoutputstream.c:
1885 Add guards to the remaining public functions, add a TODO for
1886 an unimplemented function and remove some useless guards.
1888 2007-11-07 Alexander Larsson <alexl@redhat.com>
1891 Autoconf checks for the various types of
1892 getpwuid_r and getgrgid_r
1894 * gio/glocalfileinfo.c:
1895 Use the autoconf checks from above
1897 2007-11-07 Alexander Larsson <alexl@redhat.com>
1900 (g_local_file_query_filesystem_info):
1901 Some fixes for the statvfs case
1903 2007-11-07 Alexander Larsson <alexl@redhat.com>
1906 (g_local_file_query_filesystem_info):
1907 Pick the "best" of statfs / statvfs for the system
1908 if both are availible.
1910 2007-11-07 Alexander Larsson <alexl@redhat.com>
1912 Solaris fixes from Halton.Huo@Sun.COM:
1919 * gio/glocalfileinfo.c:
1920 Fix for solaris definition of getpwuid_r
1922 * gio/test-streams.c:
1923 Use G_GNUC_PRETTY_FUNCTION
1925 2007-11-07 Alexander Larsson <alexl@redhat.com>
1927 * gio/gdesktopappinfo.c:
1928 (update_default_list):
1929 Remove double semicolon.
1930 Patch from Jens Granseuer
1932 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1934 * docs/reference/gio/gio-sections.txt:
1935 * gio/gbufferedinputstream.c:
1936 * gio/gbufferedinputstream.h:
1937 * gio/gdatainputstream.c:
1938 * gio/gfileenumerator.c:
1939 * gio/gioscheduler.c:
1940 * gio/gunionvolumemonitor.c:
1942 * programs/gio-save.c:
1943 Fix typo: availible -> available. Unfortuntely this breaks API
1944 and ABI as g_buffered_input_stream_get_available() was renamed.
1946 * gio/gunixmounts.c:
1947 * gio/gbufferedinputstream.c:
1948 Add guards for public functions.
1950 2007-11-06 Ross Burton <ross@openedhand.com>
1952 * docs/reference/gio/Makefile.am:
1953 Fix invalid += usage which automake 1.10 doesn't like.
1955 2007-11-06 Alexander Larsson <alexl@redhat.com>
1958 (g_app_launch_context_class_init):
1961 Patch from Ross Burton
1963 2007-11-06 Alexander Larsson <alexl@redhat.com>
1966 Post release version bump
1968 === gio-standalone 0.1.1 ===
1970 2007-11-06 Alexander Larsson <alexl@redhat.com>
1973 Bump version to 0.1.1
1975 * gio/gsimpleasyncresult.c:
1976 (g_simple_async_result_set_from_error):
1977 Remove bogus g_return_if_fail
1979 2007-11-06 Alexander Larsson <alexl@redhat.com>
1982 The name is gio-standalone
1985 Add top src/builddir to includedir
1987 2007-11-06 Alexander Larsson <alexl@redhat.com>
1989 * docs/reference/gio/gio-sections.txt:
1991 * gio/gbufferedinputstream.c:
1992 * gio/gbufferedoutputstream.c:
1993 * gio/gcancellable.c:
1994 * gio/gdatainputstream.h:
1995 * gio/gdataoutputstream.c:
1996 * gio/gdataoutputstream.h:
1997 * gio/gdirectorymonitor.c:
1999 * gio/gfileattribute.c:
2000 * gio/gfileattribute.h:
2001 * gio/gfileenumerator.c:
2002 * gio/gfileenumerator.h:
2005 * gio/gfileinputstream.h:
2006 * gio/gfilemonitor.c:
2007 * gio/gfileoutputstream.h:
2008 * gio/glocalfilemonitor.h:
2009 * gio/glocalfileoutputstream.h:
2010 * gio/gmemoryinputstream.c:
2011 * gio/gmemoryoutputstream.c:
2012 * gio/gmountoperation.c:
2013 * gio/goutputstream.c:
2014 * gio/goutputstream.h:
2016 * gio/gsimpleasyncresult.c:
2017 * gio/gunixmounts.c:
2018 * gio/gunixmounts.h:
2020 * gio/inotify/inotify-helper.c:
2021 Fix gtk-doc warnings
2023 Patch from Ross Burton
2025 2007-11-06 Alexander Larsson <alexl@redhat.com>
2027 * gio/gfilenamecompleter.c:
2028 (g_filename_completer_get_completions):
2031 * gio/gunixvolume.c:
2032 Remove unused function
2034 Patches from Ross Burton
2036 2007-11-06 Alexander Larsson <alexl@redhat.com>
2041 Padding not needed for interfaces
2043 2007-11-06 Alexander Larsson <alexl@redhat.com>
2045 * gio/gfilemonitor.c:
2049 Make giotypes.h an internal file
2052 * gio/gbufferedinputstream.h:
2053 * gio/gbufferedoutputstream.h:
2054 * gio/gcancellable.h:
2055 * gio/gdatainputstream.h:
2056 * gio/gdataoutputstream.h:
2057 * gio/gdirectorymonitor.c:
2058 * gio/gdirectorymonitor.h:
2063 * gio/gfileattribute.h:
2064 * gio/gfileenumerator.h:
2069 * gio/gfilemonitor.c:
2070 * gio/gfilemonitor.h:
2071 * gio/gfilenamecompleter.c:
2072 * gio/gfilenamecompleter.h:
2073 * gio/gfilterinputstream.h:
2074 * gio/gfilteroutputstream.h:
2075 * gio/ginputstream.h:
2076 * gio/gmemoryinputstream.h:
2077 * gio/gmemoryoutputstream.h:
2078 * gio/gmountoperation.c:
2079 * gio/gmountoperation.h:
2080 * gio/gnativevolumemonitor.c:
2081 * gio/goutputstream.h:
2084 * gio/gsimpleasyncresult.c:
2085 * gio/gsimpleasyncresult.h:
2086 * gio/gsocketinputstream.h:
2087 * gio/gsocketoutputstream.h:
2088 * gio/gthemedicon.c:
2089 * gio/gthemedicon.h:
2093 * gio/gvolumemonitor.c:
2094 * gio/gvolumemonitor.h:
2095 Add padding in classes where it seems useful
2096 Don't include giotypes.h from public headers
2097 Move in Class definitions into c file where possible
2102 2007-11-06 Alexander Larsson <alexl@redhat.com>
2104 * docs/reference/gio/gio-docs.xml:
2105 Better structure for API docs
2107 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2110 * gio/gloadableicon.c:
2111 * gio/gsimpleasyncresult.c:
2112 * gio/gthemedicon.c:
2113 Add some more guards to public functions. Only files missing are now
2116 2007-11-06 Alexander Larsson <alexl@redhat.com>
2118 * docs/reference/gio/gio-docs.xml:
2119 Remove old files, add missing ones
2121 2007-11-06 Alexander Larsson <alexl@redhat.com>
2123 * docs/reference/gio/gio-sections.txt:
2126 Hide implementation classes
2128 * gio/gdriveprivate.h:
2129 * gio/gvolumeprivate.h:
2130 Remove non-existing function declarations
2132 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2135 Fix compilation warnings and add guards to the new functions.
2137 * gio/gasyncresult.c:
2139 Add guards to the public functions.
2142 Implement get_path().
2144 2007-11-06 Alexander Larsson <alexl@redhat.com>
2146 * gio/gfilenamecompleter.c:
2147 Make g_filename_completer_get_completions
2148 return char ** instead of GList for
2151 * docs/reference/gio/gio-docs.xml:
2152 * docs/reference/gio/gio-sections.txt:
2154 * gio/gasyncresult.c:
2155 * gio/gbufferedinputstream.c:
2156 * gio/gbufferedoutputstream.c:
2157 * gio/gcancellable.c:
2158 * gio/gcontenttype.c:
2159 * gio/gdatainputstream.c:
2160 * gio/gdataoutputstream.c:
2161 * gio/gdesktopappinfo.c:
2162 * gio/gdirectorymonitor.c:
2166 * gio/gfileattribute.c:
2167 * gio/gfileenumerator.c:
2170 * gio/gfileinputstream.c:
2171 * gio/gfilemonitor.c:
2172 * gio/gfilenamecompleter.c:
2173 * gio/gfilenamecompleter.h:
2174 * gio/gfileoutputstream.c:
2175 * gio/gfilterinputstream.c:
2177 * gio/ginputstream.c:
2179 * gio/gioscheduler.c:
2180 * gio/gloadableicon.c:
2181 * gio/glocaldirectorymonitor.c:
2183 * gio/glocalfileinputstream.c:
2184 * gio/glocalfilemonitor.c:
2185 * gio/glocalfileoutputstream.c:
2187 * gio/gmemoryinputstream.c:
2188 * gio/gmemoryoutputstream.c:
2189 * gio/gmountoperation.c:
2190 * gio/goutputstream.c:
2191 * gio/gpollfilemonitor.c:
2193 * gio/gsimpleasyncresult.c:
2194 * gio/gsocketinputstream.c:
2195 * gio/gsocketoutputstream.c:
2196 * gio/gthemedicon.c:
2197 * gio/gunionvolumemonitor.c:
2199 * gio/gunixmounts.c:
2200 * gio/gunixvolume.c:
2201 * gio/gunixvolumemonitor.c:
2205 * gio/gvolumemonitor.c:
2206 * gio/gwin32appinfo.c:
2207 Add (mostly stub) doc strings to public functions.
2208 Patch from Andrew Walton (awalton@gmail.com)
2210 2007-11-06 Alexander Larsson <alexl@redhat.com>
2212 * gio/gappinfo.[ch]:
2213 Added GAppLaunchContext object and pass that to launch.
2214 This allows simple implementation of both
2215 launch-on-screen and startup notification via a gtk+
2216 subclass of GAppLaunchContext
2218 * gio/gdesktopappinfo.c:
2219 Implement GAppLaunchContext API
2221 * gio/gwin32appinfo.c:
2224 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2226 * gio/gmountoperation.c:
2227 Add some guards to GMountOperation's public functions.
2229 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2233 * gio/gcancellable.c:
2234 * gio/gdirectorymonitor.c:
2236 * gio/gfileenumerator.c:
2237 * gio/gfilemonitor.c:,
2238 * gio/gfilenamecompleter.c:
2241 * gio/gioscheduler.c:
2245 * gio/gvolumemonitor.c:
2246 Add even more guards to various public functions.
2248 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2251 Add guards to the public functions of GAppInfo.
2253 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2255 * gio/gcontenttype.c:
2256 Add some more guards for public functions.
2258 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2260 * gio/fam/fam-module.c:
2261 * gio/fam/gfamdirectorymonitor.c:
2262 * gio/fam/gfamdirectorymonitor.h:
2263 * gio/fam/gfamfilemonitor.c:
2264 * gio/fam/gfamfilemonitor.h:
2265 * gio/inotify/ginotifydirectorymonitor.c:
2266 * gio/inotify/ginotifydirectorymonitor.h:
2267 * gio/inotify/ginotifyfilemonitor.c:
2268 * gio/inotify/ginotifyfilemonitor.h:
2269 Add proper copyright information and remove an unused variable
2270 in the GInotifyFileMonitor constructor.
2272 * gio/gcancellable.c:
2273 Add a guard for a public function and an assertion to prevent
2274 an undefined program state.
2276 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2278 * gio/gfileattribute.c:
2279 Don't run into an assertion if the given attribute value is NULL
2280 in g_file_attribute_value_get_*() but instead return a fallback
2281 value that makes sense in most situations. Passing them a attribute
2282 value with the wrong type will still run into an assertion.
2284 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2286 * gio/gfileattribute.c:
2288 Add even more guards to the public functions. Also fix the refcounting
2289 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2290 let g_file_info_list_attributes() filter the attributes by namespace
2291 instead of simply ignoring the namespace parameter.
2293 2007-11-03 Sven Herzberg <sven@imendio.com>
2295 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2296 (This makes gio work on MacOS X again)
2298 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2301 Build the gio subdirectory before the docs. Otherwise the build will
2304 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2305 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2306 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2307 Add guards to the public functions.
2309 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2311 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2312 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2313 to prevent a compiler warning.
2315 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2316 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2317 return something in the non-void function find_topdir_for().
2319 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2326 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2328 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2329 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2330 * gwin32appinfo.c (g_win32_app_info_launch):
2331 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2332 envp_for_startup_id, g_desktop_app_info_launch,
2333 g_desktop_app_info_launch_uris):
2335 Give an opaque 'startup_id' string instead of 'envp'.
2336 Support empty file lists for launching new windows.
2337 Fix infinite recursion bug when launching URIs.
2339 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2342 Add guard to the new g_file_get_uri_scheme() function.
2344 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2347 Convert a g_return_val_if_fail() to setting the GError instead as
2348 otherwise applications have to verify the parameter before otherwise
2349 and the parameter might come directly from the user.
2351 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2353 * gio/inotify/ginotify*.[ch]:
2354 Add missing copyright information.
2356 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2359 Add guards in the beginning of public functions to check for valid
2360 parameters and fix a bug in copy_stream_with_progress() that could've
2361 caused writing less bytes than reading.
2362 * gio/glocalfileinfo.c:
2363 Check for a NULL parameter and set the GError accordingly then.
2364 * gio/goutputstream.c:
2365 Fix the same bug as in gfile.c that could've caused writing less bytes
2366 than reading in g_output_stream_real_splice().
2368 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2371 Use the correct gvolumeprivate.h naming
2373 2007-11-01 Christian Kellner <gicmo@gnome.org>
2376 Remove leftover "$(daemon_sources)" entry.
2378 2007-11-01 Christian Kellner <gicmo@gnome.org>
2383 Add copyright information to source files.
2385 2007-11-01 Alexander Larsson <alexl@redhat.com>
2389 Add g_file_get_uri_scheme
2391 2007-11-01 Alexander Larsson <alexl@redhat.com>
2394 * gio/gdesktopappinfo.c:
2395 * gio/gwin32appinfo.c:
2396 Add g_app_info_get_default_for_uri_scheme.
2398 2007-11-01 Alexander Larsson <alexl@redhat.com>
2401 Correct filename for gdriveprivate.h
2403 2007-10-31 Alexander Larsson <alexl@redhat.com>
2406 Rename id:value to id:file
2409 * gio/glocalfileinfo.c:
2412 2007-10-31 Alexander Larsson <alexl@redhat.com>
2414 * gio/gunixvolume.c:
2416 Remove g_volume_get_platform_id, as thats not
2417 needed with the simpler union volume monitor
2419 2007-10-31 Alexander Larsson <alexl@redhat.com>
2422 * gio/guniondrive.[ch]: Removed.
2423 * gio/gunionvolume.[ch]: Removed.
2424 Remove GUnionDrive/Volume
2426 * gio/gunionvolumemonitor.c:
2427 Simplify union volume monitor, now we
2428 only have one native volume monitor and
2429 we use the actual volumes/drives from the
2430 child monitors instead of wrapping them
2432 * gio/gnativevolumemonitor.[ch]:
2433 Base class for native volume monitors.
2434 Includes priority and get_volume_for_mountpoint
2437 Add g_file_find_enclosing_volume
2440 Remove volume name fs attribute
2441 Add readonly fs attribute
2444 Implement readonly attribute
2445 remove volume name attribute
2446 Implement find_enclosing volume
2448 * gio/gunixmounts.c:
2449 Add a volume for "/".
2451 * gio/gunixvolume.[ch]:
2452 Set better name for /
2454 * gio/gunixvolumemonitor.[ch]:
2455 Derive from GNativeVolumeMonitor
2456 Implement get_volume_for_mountpoint
2459 GVolume typedef moved to gfile.h
2461 * gio/gvolumeprivate.h:
2462 Add g_volume_get_for_mount_path
2464 2007-10-31 Alexander Larsson <alexl@redhat.com>
2466 * gio/gunixmounts.[ch]:
2467 Add cache info to unix mount listers
2468 Make getmntent use threadsafe
2469 Add is_system_internal attribute for GUnixMount
2471 * gio/gunixvolume.c:
2472 (g_unix_volume_new):
2473 Use is_system_internal instead of own code
2475 * gio/glocaldirectorymonitor.c:
2476 * gio/gunixvolumemonitor.c:
2477 Update to new gunixmounts API
2482 2007-10-30 Alexander Larsson <alexl@redhat.com>
2485 Add volume name fsinfo attribute
2488 Read volume name info
2490 * gio/gunionvolumemonitor.c:
2491 Fix infinite loops when finalizing a union volume monitor
2493 2007-10-30 Alexander Larsson <alexl@redhat.com>
2495 * gio/goutputstream.[ch]:
2496 Add splice() with default implementation
2498 * gio/gsocketoutputstream.c:
2499 (g_socket_output_stream_write):
2500 Return error on cancellation correctly.
2502 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2504 * gio/glocalfile.c (g_local_file_trash):
2505 Do not leak a string.
2507 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2509 * gio/gfile.c (g_file_load_contents):
2510 Unref the stream after closing it.
2512 2007-10-25 Alexander Larsson <alexl@redhat.com>
2514 * gio/gioscheduler.h:
2517 2007-10-25 Alexander Larsson <alexl@redhat.com>
2521 Add g_file_has_uri_scheme and implement for local files
2523 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2525 * gio/gdesktopappinfo.c: do not leak a string.
2527 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2529 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2530 (g_local_directory_monitor_new):
2531 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2532 (g_local_file_monitor_new):
2533 Only look for the monitor type that should be used the first time
2534 and use g_qsort_with_data() instead of our own bubble sort
2537 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2540 * gio/fam/Makefile.am:
2541 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2542 * gio/fam/fam-helper.h:
2543 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2544 * gio/fam/gfamdirectorymonitor.c:
2545 * gio/fam/gfamdirectorymonitor.h:
2546 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2547 * gio/fam/gfamfilemonitor.h:
2548 * gio/glocaldirectorymonitor.c:
2549 * gio/glocaldirectorymonitor.h:
2550 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2551 * gio/glocalfilemonitor.h:
2552 * gio/inotify/Makefile.am:
2553 * gio/inotify/ginotifydirectorymonitor.c:
2554 * gio/inotify/ginotifydirectorymonitor.h:
2555 * gio/inotify/ginotifyfilemonitor.c:
2556 * gio/inotify/ginotifyfilemonitor.h:
2557 Implement the FAM and Inotify monitors as
2558 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2559 their own GIO module. GLocal(Directory|File)Monitor will use the
2560 monitor with the highest rank that is supported on that machine.
2562 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2565 Change GIO module dir to $(libdir)/gio/modules and change
2566 the log domain from GVFS to GIO. Also only export symbols starting
2567 with g_ in the resulting library.
2568 * gio/test-streams.c: (main):
2569 Set log handler for the GIO log domain.
2571 2007-10-22 Alexander Larsson <alexl@redhat.com>
2573 * gio/gfilenamecompleter.[ch]:
2574 Add g_filename_completer_set_dirs_only
2576 2007-10-22 Alexander Larsson <alexl@redhat.com>
2579 * gio/gurifuncs.[ch]:
2580 Add some simple URI helpers
2582 * gio/gfilenamecompleter.[ch]:
2583 Added object for filename (parse name actually) completion
2586 Handle ~ in parse names
2588 2007-10-17 Alexander Larsson <alexl@redhat.com>
2591 * gio/glocalfileinfo.c:
2592 Add and implement id:value attribute
2594 2007-10-17 Alexander Larsson <alexl@redhat.com>
2597 * gio/guniondrive.c:
2599 Add and implement g_drive_has_volumes
2601 2007-10-17 Alexander Larsson <alexl@redhat.com>
2604 * gio/glocalfileinfo.[ch]:
2605 Add unix:is_mountpoint and implement for local files
2607 2007-10-16 Alexander Larsson <alexl@redhat.com>
2609 * gio/gunionvolumemonitor.c:
2610 (g_union_volume_monitor_init):
2611 Fix up the unix type getting so that it works with gcc
2613 2007-10-12 Alexander Larsson <alexl@redhat.com>
2616 * gio/glocalfileinfo.c:
2617 Add thumbnail:failed to file info
2619 2007-10-12 Richard Hult <richard@imendio.com>
2621 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2622 optimizing away the get_type call (happens with some gcc versions,
2623 like the one shipped with OS X 10.4).
2625 2007-10-12 Alexander Larsson <alexl@redhat.com>
2627 * gio/glocalfileinfo.c:
2628 (_g_local_file_info_set_attribute):
2629 Fix build if not HAVE_XATTR
2630 Patch from Milosz Derezynski <internalerror@gmail.com>
2632 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2634 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2635 around for review, otherwise I would have asked you before
2638 2007-10-11 Alexander Larsson <alexl@redhat.com>
2641 Add thumbnail:path attribute
2643 * gio/glocalfileinfo.c:
2644 Implement thumbnail:path for local files
2646 2007-10-11 Alexander Larsson <alexl@redhat.com>
2648 * gio/glocalfileinfo.c:
2649 (_g_local_file_info_get):
2650 Avoid duplicate icon names
2652 2007-10-11 Alexander Larsson <alexl@redhat.com>
2654 * gio/gthemedicon.[ch]:
2655 Change g_themed_icon_get_names return type to const
2657 2007-10-10 Alexander Larsson <alexl@redhat.com>
2659 * gio/glocalfileinfo.c:
2660 Don't reference freed memory
2662 2007-10-10 Alexander Larsson <alexl@redhat.com>
2664 * gio/gfileattribute.c:
2667 * gio/glocalfileinfo.c:
2670 2007-10-10 Alexander Larsson <alexl@redhat.com>
2673 Check for NULL icons
2675 * gio/gfileattribute.c:
2676 Don't dup when getting objects (same as for string attributes)
2678 * gio/gicon.c (g_icon_equal):
2679 Safely handle NULLs in equal
2681 2007-10-10 Alexander Larsson <alexl@redhat.com>
2684 Fix c++ compilation issues
2685 Patch from Milosz Derezynski <internalerror@gmail.com>
2687 2007-10-10 Alexander Larsson <alexl@redhat.com>
2689 * programs/gio-monitor-dir.c:
2690 Don't crash if dir monitor not supported.
2692 2007-10-09 Alexander Larsson <alexl@redhat.com>
2695 Add missing G_END_DECLS
2697 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2699 * gio/gfile.c: (g_file_set_display_name),
2700 (g_file_query_settable_attributes),
2701 (g_file_query_writable_namespaces):
2702 Return NULL not FALSE on errors as the return type is a pointer.
2704 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2706 * gio/glocalfile.c: (g_local_file_monitor_file):
2707 Don't call monitor_file on the default interface vtable (which
2708 is NULL) but simply return NULL. The caller, GFile, will create a
2709 polling monitor if NULL is returned.
2711 2007-10-09 Alexander Larsson <alexl@redhat.com>
2715 * gio-unix-2.0.pc.in:
2716 Add gio-unix-2.0.pc if OS_UNIX
2719 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2721 2007-10-09 Alexander Larsson <alexl@redhat.com>
2723 * gio/gunixmounts.[ch]:
2724 Make unix mount monitoring API sane.
2725 Now its just a object with mounts_changed
2726 and mountpoints_changed signals.
2728 * gio/glocaldirectorymonitor.c:
2729 * gio/gunixvolumemonitor.c:
2730 Use new mount monitor api
2732 2007-10-09 Alexander Larsson <alexl@redhat.com>
2734 * gio/gunixmounts.[ch]:
2735 Move guess type into one call for mounts and one for mountpoints
2738 * gio/gunixvolume.c:
2741 2007-10-09 Alexander Larsson <alexl@redhat.com>
2743 * gio/gunixmounts.[ch]:
2744 Remove _ prefix in preparation to make this semi-public
2745 Hide implementation of structs
2747 * gio/glocaldirectorymonitor.c:
2749 * gio/gunixvolume.c:
2750 * gio/gunixvolumemonitor.c:
2751 Update for above API changes
2753 2007-10-08 Alexander Larsson <alexl@redhat.com>
2756 Better polling fallback. This also handles the case where we have
2757 a monitor_file implementation, but it fails.
2759 2007-10-08 Alexander Larsson <alexl@redhat.com>
2763 * gio/gunixmounts.c:
2764 * programs/gio-monitor-dir.c:
2765 * programs/gio-monitor-file.c:
2766 Added cancellable to file monitoring calls.
2767 These are really sync calls and need this.
2769 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2771 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2772 (g_local_vfs_class_init):
2773 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2774 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2776 2007-10-05 Alexander Larsson <alexl@redhat.com>
2778 * gio/gdirectorymonitorprivate.h:
2779 * gio/gfilemonitorprivate.h:
2780 * gio/gdirectorymonitor.h:
2781 * gio/gfilemonitor.h:
2782 Remove *private.h and move to the public API, so that
2783 we can do implementations outside gio (such as in gvfs)
2785 * gio/gdirectorymonitor.c:
2786 * gio/gfilemonitor.c:
2787 * gio/glocaldirectorymonitor.c:
2788 * gio/gpollfilemonitor.c:
2789 * gio/inotify/inotify-helper.c:
2790 * gio/fam/fam-helper.c:
2791 Update to the new header names
2793 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2795 * gio/gdirectorymonitor.c:
2796 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2799 2007-10-04 Alexander Larsson <alexl@redhat.com>
2801 * gio/glocalfileinfo.c (get_access_rights):
2802 Set CAN_TRASH when we can move the file.
2803 We should really also check for a parent trash dir.
2805 2007-10-04 Alexander Larsson <alexl@redhat.com>
2807 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2808 Add can_trash access attribute
2810 2007-10-04 Alexander Larsson <alexl@redhat.com>
2813 (g_local_file_trash):
2814 Create info file first. This is per-spec and allows
2815 us to actually trash directories.
2817 2007-10-02 Alexander Larsson <alexl@redhat.com>
2819 * gio/gdesktopappinfo.c:
2820 Implement the new mime support code.
2821 Always set app as handling mimetype when being set as default for it
2823 2007-10-01 Alexander Larsson <alexl@redhat.com>
2825 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2826 Fix up check for xattrs:
2828 2007-10-01 Alexander Larsson <alexl@redhat.com>
2831 (g_app_info_set_as_default_for_extension):
2832 (g_app_info_add_supports_type):
2833 (g_app_info_can_remove_supports_type):
2834 (g_app_info_remove_supports_type):
2835 Make these fail nicely if not implemented
2837 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2839 * gio/glocalfileoutputstream.c:
2840 * gio/glocalfileoutputstream.h:
2845 * programs/gio-save.c:
2846 Add a GFileCreateFlags argument to operations that can create
2849 2007-10-01 Alexander Larsson <alexl@redhat.com>
2851 * gio/gappinfo.[ch]:
2852 * gio/gdesktopappinfo.c:
2853 Add more (stubbed out) mime API needed for nautilus
2855 2007-10-01 Alexander Larsson <alexl@redhat.com>
2858 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2859 Add g_app_info_set_as_default_for_extension.
2861 * gio/gdesktopappinfo.c:
2862 Dummy for g_app_info_set_as_default_for_extension
2863 Support flags in g_app_info_create_from_commandline
2865 * gio/gwin32appinfo.c:
2867 Update for API changes
2869 * gio/gthemedicon.c:
2870 Properly NULL-terminate list of icon names
2872 2007-09-28 Alexander Larsson <alexl@redhat.com>
2874 * gio/gloadableicon.h:
2875 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2877 2007-09-28 Alexander Larsson <alexl@redhat.com>
2880 Install headers in $includedir/gio-standalone/
2882 * gio-2.0.pc.in: Added.
2883 * gio-standalone.pc.in: Removed.
2886 Renamed pkg-config file to match glib (for future move)
2887 Update to the new include dir
2890 Add more TODO comments
2892 2007-09-28 Alexander Larsson <alexl@redhat.com>
2894 * gio/gdesktopappinfo.[ch]:
2895 Expose new_from_filename
2896 Add getter for is_hidden and handle it better
2898 2007-09-28 Alexander Larsson <alexl@redhat.com>
2900 * gio/gfileinfo.[ch]:
2901 Rename g_file_size_format_for_display to
2902 g_format_file_size_for_display.
2903 Now it doesn't have the g_file prefix, so we
2904 can later move it to glib.
2906 2007-09-28 Alexander Larsson <alexl@redhat.com>
2908 * gio/gappinfo.[ch]:
2909 Add g_app_info_get_id and g_app_info_get_executable.
2910 Make all getters non-reffing
2911 Make g_app_info_launch take GFile arguments.
2912 Add must_support_uris argument to g_app_info_get_default_for_type.
2914 * gio/gwin32appinfo.c:
2915 Update to GAppInfo api changes
2917 * gio/gdesktopappinfo.c:
2918 Update to GAppInfo api changes
2919 Implement supports_xdg_startup_notify
2921 * gio/gfileicon.c (g_file_icon_get_file):
2922 Make getter non-reffing.
2927 2007-09-27 Alexander Larsson <alexl@redhat.com>
2929 * gio/gfileinfo.[ch]:
2930 Add g_file_size_format_for_display helper
2932 2007-09-27 Alexander Larsson <alexl@redhat.com>
2934 * gio/glocalfileinfo.c:
2935 Set UNIX_GID from gid, not from uid
2937 2007-09-27 Alexander Larsson <alexl@redhat.com>
2940 Add g_file_set_attributes_async
2942 2007-09-27 Alexander Larsson <alexl@redhat.com>
2944 * gio/glocalfile.c (g_local_file_set_display_name):
2945 Fix set_display_name to actually rename to the right place.
2946 Use lstat to look for existing files so we don't overwrite
2949 2007-09-26 Alexander Larsson <alexl@redhat.com>
2952 Add g_file_set_display_name_async()
2954 2007-09-26 Alexander Larsson <alexl@redhat.com>
2957 Add load_partial_contents async calls
2960 Make internal function static
2962 2007-09-26 Alexander Larsson <alexl@redhat.com>
2964 * gio/glocalfileinfo.c:
2965 Correctly detect broken symlinks
2967 2007-09-26 Alexander Larsson <alexl@redhat.com>
2969 * gio/gcancellable.c (g_cancellable_cancel):
2970 Allow cancel on NULL cancellable
2972 2007-09-25 Alexander Larsson <alexl@redhat.com>
2974 * gio/gsimpleasyncresult.c:
2975 Don't allocate g_error manually.
2976 Fixes g_slice/g_new mixup crash
2978 2007-09-25 Alexander Larsson <alexl@redhat.com>
2980 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2981 Actually set active_backend.
2982 This means the monitor will be cancelled correctly.
2984 2007-09-25 Alexander Larsson <alexl@redhat.com>
2986 * gio/gdirectorymonitor.c:
2987 Set timeout to NULL when destroying
2989 2007-09-25 Alexander Larsson <alexl@redhat.com>
2992 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2993 that is a better description of the error.
2995 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2997 * gio/gvfs.c: (g_vfs_get_local):
2998 Make the local vfs variable static. The same instance should
3001 2007-09-24 Alexander Larsson <alexl@redhat.com>
3003 * gio/glocalfileinfo.c:
3004 Pass in actual length read into sniffer, not the length
3007 2007-09-21 Alexander Larsson <alexl@redhat.com>
3009 * gio/gfileenumerator.c:
3012 * gio/gfileinputstream.c:
3013 * gio/gfileoutputstream.c:
3014 * gio/ginputstream.c:
3015 * gio/goutputstream.c:
3016 Don't crash if async callbacks are NULL
3018 2007-09-20 Alexander Larsson <alexl@redhat.com>
3021 Add async enumerate_children method and default
3024 2007-09-20 Alexander Larsson <alexl@redhat.com>
3027 Add g_file_contains_file & g_file_get_relative_path, since they
3028 were needed for nautilus.
3029 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3034 Implement new methods
3036 2007-09-17 Alexander Larsson <alexl@redhat.com>
3039 * gio/gfileinputstream.[ch]:
3040 * gio/gfileoutputstream.[ch]:
3042 * gio/glocalfileenumerator.[ch]:
3043 * gio/glocalfileinfo.[ch]:
3044 * gio/glocalfileinputstream.c:
3045 * gio/glocalfileoutputstream.c:
3046 * gio/gpollfilemonitor.c:
3047 * programs/gio-copy.c:
3048 * programs/gio-info.c:
3049 * programs/gio-move.c:
3050 Rename get_file_info to query_info() to make it clearer
3051 that these are not simple getters, but do i/o.
3053 2007-09-17 Alexander Larsson <alexl@redhat.com>
3055 * gio/gdatainputstream.[ch]:
3056 * gio/test-streams.c:
3057 Use _read_XXX instead of _get_XXX for the i/o calls
3060 2007-09-17 Alexander Larsson <alexl@redhat.com>
3063 Added needed stuff to TODO comment
3065 2007-09-17 Alexander Larsson <alexl@redhat.com>
3067 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3068 Don't error out removing the backup copy if it doesn't
3071 2007-09-14 Alexander Larsson <alexl@redhat.com>
3073 * programs/Makefile.am:
3074 * programs/gvfs-*.c:
3076 Renamed apps from gvfs-xxx to gio-xxx.
3078 2007-09-14 Alexander Larsson <alexl@redhat.com>
3081 * gio/gfileoutputstream.[ch]:
3082 * gio/glocalfileoutputstream.c:
3083 * programs/gvfs-save.c:
3084 g_file_output_stream_get_etag doesn't do i/o, so remove
3085 cancellation and error.
3087 2007-09-14 Alexander Larsson <alexl@redhat.com>
3090 Add new_etag output to replace_contents functions
3092 2007-09-14 Alexander Larsson <alexl@redhat.com>
3094 * gio/gfileoutputstream.[ch]:
3095 Add async get_file_info and default implementation
3097 2007-09-14 Alexander Larsson <alexl@redhat.com>
3099 * gio/gfileinputstream.c:
3100 Implement fallback wrapper for async get_file_info
3102 2007-09-14 Alexander Larsson <alexl@redhat.com>
3105 Add etag out argument to load_contents
3110 2007-09-14 Alexander Larsson <alexl@redhat.com>
3112 * gio/gcontenttype.c (looks_like_text):
3113 Whitespace like tab, cr and lf do not make the
3116 2007-09-14 Alexander Larsson <alexl@redhat.com>
3118 * gio/gfileinputstream.[ch]:
3119 Add async get_file_info.
3121 2007-09-13 Alexander Larsson <alexl@redhat.com>
3123 * gio/goutputstream.c (g_output_stream_write_all):
3124 Allow NULL for bytes_written
3126 2007-09-13 Alexander Larsson <alexl@redhat.com>
3128 * gio/gmemoryinputstream.[ch]:
3129 Add accessors for data
3131 2007-09-13 Alexander Larsson <alexl@redhat.com>
3133 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3134 Don't crash if length is NULL