1 2008-01-28 Matthias Clasen <mclasen@redhat.com>
3 * gvolume.[hc]: Document new API.
5 * gfile.c (g_file_copy_async): Fix docs
7 2008-01-27 Matthias Clasen <mclasen@redhat.com>
9 * gbufferedinputstream.c:
11 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
14 2008-01-27 Matthias Clasen <mclasen@redhat.com>
16 * glocalfile.c: Avoid trivial differences in translatable strings.
18 2008-01-25 Matthias Clasen <mclasen@redhat.com>
20 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
21 build with gcc 3.4 (#509419)
23 2008-01-25 Matthias Clasen <mclasen@redhat.com>
25 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
26 (#509994, Murray Cumming)
28 2008-01-25 Matthias Clasen <mclasen@redhat.com>
30 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
31 * gioscheduler.c: Keep calling io jobs until they return FALSE;
32 this allows big jobs to be executed in chunks, instead of blocking
33 the main loop for a long time.
35 * gsimpleasyncresult.c:
36 * giofile.c: Adapt callers.
38 2008-01-25 Alexander Larsson <alexl@redhat.com>
41 Implement changes discussed on xdg list.
42 Now we can add supported mimetypes by just using defaults.list
43 We can also remove associations in defaults.list.
45 2008-01-25 Alexander Larsson <alexl@redhat.com>
48 Don't make local copy of desktop file
49 for mimetype changes if the file already
50 supports the new mimetype.
52 2008-01-25 Matthias Clasen <mclasen@redhat.com>
56 * gbufferedinputstream.c:
57 * glocalfile.c: String improvements. (#511966,
58 Theppitak Karoonboonyanan)
60 2008-01-24 Matthias Clasen <mclasen@redhat.com>
62 * gioscheduler.h: Expand docs a bit.
64 2008-01-24 Alexander Larsson <alexl@redhat.com>
67 Add g_drive_get_identifier and
68 g_drive_enumerate_identifiers
71 Add g_volume_get_identifier and
72 g_volume_enumerate_identifiers
78 Implement identifiers for unix backend
80 2008-01-24 Alexander Larsson <alexl@redhat.com>
85 Add g_file_copy_async() (#511580)
86 Based on patch from Carlos Garcia Campos
88 2008-01-23 Matthias Clasen <mclasen@redhat.com>
90 * gioscheduler.c: Some documentation additions.
92 2008-01-22 Alexander Larsson <alexl@redhat.com>
95 (g_desktop_app_info_new):
98 2008-01-22 Alexander Larsson <alexl@redhat.com>
101 (g_desktop_app_info_new_from_filename):
104 2008-01-22 Alexander Larsson <alexl@redhat.com>
106 * glocalfileinfo.c (get_thumbnail_attributes):
109 2008-01-22 Alexander Larsson <alexl@redhat.com>
112 (canonicalize_filename):
113 Canonicalize paths that start with more than
118 (test_g_file_new_for_path):
121 2008-01-22 Alexander Larsson <alexl@redhat.com>
124 Allow UTF-8 in file:// parse names.
127 * tests/data-input-stream.c:
128 * tests/data-output-stream.c:
129 * tests/g-file-info.c:
131 Added a bunch of tests from Tomas Bzatek
133 2008-01-21 Matthias Clasen <mclasen@redhat.com>
135 * === Released 2.15.3 ===
137 2008-01-21 Alexander Larsson <alexl@redhat.com>
139 * gfileinputstream.[ch]:
140 * gfileoutputstream.[ch]:
142 Remove duplicated GSeekable functions. (#509990)
143 Just use the g_seekable_xxx() calls instead.
145 2008-01-21 Matthias Clasen <mclasen@redhat.com>
148 * gvolumemanager.c: Whitespace cleanups.
150 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
151 Use the right mode when creating the file.
153 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
156 * gfileinputstream.c:
158 * goutputstream.c: Documentation: Fixed minor typos
159 and added more mentions of specific _finish() functions.
161 2008-01-21 Alexander Larsson <alexl@redhat.com>
163 * inotify/Makefile.am:
164 * inotify/inotify-helper.c:
165 * inotify/inotify-kernel.c:
166 * inotify/inotify-path.c:
167 * inotify/local_inotify.h: Removed.
168 * inotify/local_inotify_syscalls.h: Removed.
169 Removed the included copies of the inotify
170 headers. We now only use the <sys/inotify.h>
171 header which exists on modern systems.
172 This fixes problems on ARM and SH5 (#510448)
173 but is also generally much cleaner and future
174 safe. For instance, if other OSes add support
175 for inotify it should "just work".
177 2008-01-20 Matthias Clasen <mclasen@redhat.com>
179 * inotify/*.c: Coding style fixes.
180 * inotify/inotify-missing.c: Use g_timeout_add_seconds
181 for the 1/4 Hz timer.
183 2008-01-20 Matthias Clasen <mclasen@redhat.com>
187 * gmemoryinputstream.c:
188 * gmemoryoutputstream.c:
190 * gthemedicon.c: Documentation updates
192 2008-01-20 Murray Cumming <murrayc@murrayc.com>
194 * gfile.c: documentation: Fixed more minor
197 2008-01-18 Murray Cumming <murrayc@murrayc.com>
199 * gmount.c: (g_mount_remount): documentation:
200 Mention g_mount_remount_finish() instead of
201 g_mount_unmount_finish().
203 2008-01-18 Murray Cumming <murrayc@murrayc.com>
207 * gfile.c: Fixed some minor typos in the
210 2008-01-18 Murray Cumming <murrayc@murrayc.com>
212 * gio/gvolumemonitor.c:
213 (g_volume_monitor_get_connected_drives):
214 (g_volume_monitor_get_volumes):
215 (g_volume_monitor_get_mounts): Documentation:
216 Clarify the ownership of the regurn GLists.
218 2008-01-17 Alexander Larsson <alexl@redhat.com>
221 Add the async find_enclosing_mount version
222 to the header file too.
224 2008-01-17 Alexander Larsson <alexl@redhat.com>
227 Add async version of find_enclosing_mount
228 with default implementation.
230 2008-01-17 Alexander Larsson <alexl@redhat.com>
235 Allow calls to implementation of copy and write
236 even if the type of the file implementations is
237 different. This can be used to implement native
238 upload and download calls in a vfs.
242 Protect against the case where move is called
243 with one file not being local.
245 Make sure we call the progress callback once
246 in the native move operation so that the caller
247 knows how many bytes were copied.
249 2008-01-16 Murray Cumming <murrayc@murrayc.com>
252 * gdatainputstream.c:
254 * gfileoutputstream.c:
259 * gunixmounts.c: Corrected some typos in the documentation:
261 its -> it's (where appropriate).
263 2008-01-16 Alexander Larsson <alexl@redhat.com>
267 Add g_file_query_exists (#508771)
269 2008-01-15 Murray Cumming <murrayc@murrayc.com>
274 * gvolume.c: For async functions that have no non-async
275 version, document that the GAsyncReadyCallback may be NULL.
278 2008-01-15 Alexander Larsson <alexl@redhat.com>
280 * gmemoryinputstream.c:
281 * gmemoryoutputstream.c:
282 Don't do pointer arithmetic on void * (#508602)
283 Patch from Kazuki IWAMOTO
285 2008-01-14 Matthias Clasen <mclasen@redhat.com>
287 * === Released 2.15.2 ===
289 2008-01-14 Alexander Larsson <alexl@redhat.com>
291 * gfile.c (g_file_monitor_file):
292 Don't set error here, since we fallback to polling monitor.
294 2008-01-14 Alexander Larsson <alexl@redhat.com>
297 (g_file_monitor_directory):
298 (g_file_monitor_file):
299 Add GError to file monitor calls
301 * glocaldirectorymonitor.c:
302 * glocaldirectorymonitor.h:
304 * glocalfilemonitor.c:
305 * glocalfilemonitor.h:
307 Update for above change
309 2008-01-14 Alexander Larsson <alexl@redhat.com>
313 Handle root correctly in g_file_get_relative_path (#508719)
315 2008-01-14 Alexander Larsson <alexl@redhat.com>
318 Clean up docs and example for GAsyncResult (#508074)
320 2008-01-11 Murray Cumming <murrayc@murrayc.com>
322 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
323 and correct some spelling mistakes. Bug #508108.
325 2008-01-11 Matthias Clasen <mclasen@redhat.com>
327 * glocalfileinfo.c: Add a comment.
329 2008-01-10 Murray Cumming <murrayc@murrayc.com>
331 * gfileinfo.c: GFileInfo description: Mention
332 how to actually set attributes in a GFile and how to discover
333 which attributes are settable. Bug #508378.
335 2008-01-10 A. Walton <awalton@svn.gnome.org>
337 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
338 (g_app_info_get_default_for_type):
339 Check for NULL content types.
341 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
343 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
345 2008-01-09 Murray Cumming <murrayc@murrayc.com>
347 * gfile.c: *_async() functions: Several small corrections
348 to the documentation, mostly correcting copy/paste errors
349 and improving some sentences.
351 2008-01-09 Dan Winship <danw@gnome.org>
353 * glocalfile.c (get_unique_filename): x86_64 fix
355 2008-01-09 Alexander Larsson <alexl@redhat.com>
360 Add g_unix_mount_guess_should_display and use
361 for unix volume monitor backend.
362 This means we more or less show what the
363 gnome-vfs backend did.
364 Based on patch from Padraig O'Briain
366 2008-01-09 Alexander Larsson <alexl@redhat.com>
370 Add g_themed_icon_new_with_default_fallbacks
373 Use default fallbacks for icons
375 2008-01-09 Alexander Larsson <alexl@redhat.com>
378 * gmountoperation.[ch]:
379 Change the API a bit so that unhandled methods
380 get reported via the reply, rather than by
381 the signal emission return value. This is because
382 some handlers can't know this immediately without
383 doing I/O, and this is an async operation that
386 2008-01-09 Alexander Larsson <alexl@redhat.com>
389 * fam/gfamdirectorymonitor.c:
390 * fam/gfamfilemonitor.c:
391 Fix double free crash (#508224)
392 Patch from Joe Marcus Clarke
394 008-01-07 Matthias Clasen <mclasen@redhat.com>
396 * === Released 2.15.1 ===
398 2008-01-07 Alexander Larsson <alexl@redhat.com>
400 * gunixinputstream.c (g_unix_input_stream_skip_finish):
401 Fix warning (#507835)
403 2008-01-07 Alexander Larsson <alexl@redhat.com>
406 Pass --internal to glib-genmarshal
411 Use better types for signal arguments (#507822)
413 2008-01-07 Alexander Larsson <alexl@redhat.com>
416 Build test subdir after .
417 Remove gdirectorymonitor.[ch]
419 * gdirectorymonitor.[ch]:
423 Remove GDirectoryMonitor and make
424 GFileMonitor the baseclass for both file and
425 directory monitors. Lift the more generic
426 rate limiting code from GDirectoryMonitor
430 * fam/gfamdirectorymonitor.[ch]:
431 * inotify/ginotifydirectorymonitor.[ch]:
432 * inotify/inotify-helper.c:
433 * glocaldirectorymonitor.[ch]:
436 Update for the removed GDirectoryMonitor.
438 * gmemoryoutputstream.c:
439 Remove ununsed variable
441 2008-01-07 Alexander Larsson <alexl@redhat.com>
443 * gmemoryinputstream.c:
444 Translate error strings
447 * gmemoryoutputstream.[ch]:
448 New implementation that avoids using GByteArray
449 in implementation and API. (#506377)
451 2008-01-06 Matthias Clasen <mclasen@redhat.com>
453 * tests/*: Add a test for memory input streams.
455 * Makefile.am: Add tests to SUBDIRS.
457 2008-01-06 Matthias Clasen <mclasen@redhat.com>
459 * glocalfilemonitor.c:
460 * glocaldirectorymonitor.c: Mark property nicks and blurbs
463 2008-01-06 Matthias Clasen <mclasen@redhat.com>
465 * gdesktopappinfo.c: Fix a docs typo.
467 * gfileattribute.c: Add information about extended attributes
468 to the documentation. (#505058)
470 2008-01-04 Alexander Larsson <alexl@redhat.com>
474 Use the right type (uint) for the ask_password signal.
476 2008-01-04 Alexander Larsson <alexl@redhat.com>
481 Add g_app_info_supports_files()
482 Remove desktop arg from g_app_info_should_show().
484 * gdesktopappinfo.[ch]:
485 Implement g_app_info_supports_files() and new should_show()
486 Add g_desktop_app_info_set_desktop_env() to set the desktop
487 for should_show(). (This will be set by gtk+ later)
489 2008-01-04 Alexander Larsson <alexl@redhat.com>
492 * gmemoryinputstream.[ch]:
493 Improve API so that you can use multiple chunks
494 of memory and custom destroy functions. (#506374)
496 2008-01-03 Alexander Larsson <alexl@redhat.com>
499 Handle NULL attribute matchers safely, as we return this
500 for empty attribute matcher strings.
502 2008-01-03 Alexander Larsson <alexl@redhat.com>
504 * gunixmounts.c (g_unix_is_mount_path_system_internal):
505 Add /usr/local to list of internal mountpoints
507 2008-01-03 Alexander Larsson <alexl@redhat.com>
510 Check for HAVE_LCHOWN (#505887)
512 2008-01-03 Alexander Larsson <alexl@redhat.com>
516 Add define for selinux context attribute.
517 Fix missing : -> :: namespace separator change
518 Fix missing _ -> - name change for xattr-sys.
521 2008-01-03 Alexander Larsson <alexl@redhat.com>
524 Link to libglib and libgobject directly (#504879)
525 Patch from Sebastien Bacher
527 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
529 * gfile.c: Expanded the g_file_new_for_commandline_arg
530 description a bit, based on the code and the docs of the
531 other g_file_new_for_* functions.
533 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
535 * gfilemonitor.h: Fixed typo in docs.
537 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
539 Updates to GIO documentation. (#506395, Mikael Hermansson)
541 * gcontenttype.c: Describe memory management for return value of
542 g_content_types_get_registered(). Missing piece from #505815.
543 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
544 GVolume, GDrive, GMounts, which hopefully gives the user less
545 confusions when using this API. Following explainations from
546 Alexander Larsson on gtk-devel-list.
548 2007-12-30 Matthias Clasen <mclasen@redhat.com>
550 * gfileinfo.c: Expand the long description.
552 2007-12-30 Matthias Clasen <mclasen@redhat.com>
555 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
556 fix builds with --disable-visibility. (#500273, Christian Persch)
558 2007-12-30 Matthias Clasen <mclasen@redhat.com>
560 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
561 in the list of returned app infos.
563 2007-12-30 Matthias Clasen <mclasen@redhat.com>
565 * gappinfo.c: Fix a cross-reference
567 2007-12-30 Matthias Clasen <mclasen@redhat.com>
569 * gfileinputstream.c:
570 * gfileoutputstream.c:
576 * gfileinfo.c: Documentation updates.
578 2007-12-26 Matthias Clasen <mclasen@redhat.com>
580 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
583 2007-12-26 Matthias Clasen <mclasen@redhat.com>
585 * gcontenttype.c (g_content_types_get_registered): Don't return
586 freed memory (#505815, Mikael Hermansson)
588 2007-12-25 Paolo Borelli <pborelli@katamail.com>
590 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
591 used to detect statbuf->st_blocks. (#505042)
593 2007-12-24 Matthias Clasen <mclasen@redhat.com>
595 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
596 environment handling. (#504829, Cosimo Cecchi)
598 2007-12-22 Matthias Clasen <mclasen@redhat.com>
600 * gappinfo.c: Doc improvements
602 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
605 2007-12-20 Matthias Clasen <mclasen@redhat.com>
607 * === Released 2.15.0 ===
609 2007-12-20 Hans Breuer <hans@breuer.org>
611 * makefile.msc : don't build gdesktopappinfo.obj, it collides
612 with symbols gwin32appinfo.obj, added gmount.obj
613 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
615 2007-12-20 Alexander Larsson <alexl@redhat.com>
621 * gfilenamecompleter.c:
624 * gpollfilemonitor.c:
625 File attribute renames:
628 id::fs -> id::filesystem
630 2007-12-20 Alexander Larsson <alexl@redhat.com>
639 Add GMountUnmountFlags to all unmount and
641 Add g_mount_remount() call.
643 2007-12-20 Alexander Larsson <alexl@redhat.com>
645 * gvfs.c (get_default_vfs):
646 Fix unused variable warning
648 2007-12-19 Matthias Clasen <mclasen@redhat.com>
650 * pltcheck.sh: Update
652 2007-12-19 Matthias Clasen <mclasen@redhat.com>
654 * gunionvolumemonitor.c:
655 * gunixmount.c: Remove C99 comments
657 2007-12-19 Matthias Clasen <mclasen@redhat.com>
659 * gio.symbols: Add some missing symbols
661 2007-12-19 Alexander Larsson <alexl@redhat.com>
664 Make g_io_modules_load_all_in_directory not unuse
665 loaded modules so that users of it can do stuff
667 Init internal "module" types.
668 Initialize static prio and name for types so that
669 we don't have to load modules to get it.
671 * gnativevolumemonitor.h:
673 Move is_supported to parent class so that
674 non-native monitors can avoid being initialized
675 too. (For instance GDaemonVolumeMonitor if we're
676 not using GDaemonVfs.)
678 * glocaldirectorymonitor.[ch]:
679 * glocalfilemonitor.[ch]:
680 * gunionvolumemonitor.c:
681 * gunixvolumemonitor.c:
683 Find plugins using the static prio+name to
684 avoid unnecessarily loading the modules.
686 2007-12-19 Alexander Larsson <alexl@redhat.com>
691 2007-12-19 Alexander Larsson <alexl@redhat.com>
693 * gunionvolumemonitor.c:
694 Store the native type as GType, not class so that
695 we can unload it. But still avoid unnecessarily
698 2007-12-19 David Zeuthen <davidz@redhat.com>
700 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
701 add signals 'disconnected' and 'eject-button' on GDrive. Add
702 signal 'removed' on GVolume and 'unmounted' on GMount.
704 * gdrive.c: (g_drive_base_init):
706 * gfile.c: (g_file_mount_mountable),
707 (g_file_mount_enclosing_volume):
710 * gmount.c: (g_mount_base_init):
712 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
713 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
714 * gvolume.c: (g_volume_base_init), (g_volume_mount):
718 2007-12-17 Matthias Clasen <mclasen@redhat.com>
720 * *.c: Fix up includes in the section docs.
722 2007-12-17 Alexander Larsson <alexl@redhat.com>
724 * gnativevolumemonitor.h:
725 * gunionvolumemonitor.c:
726 * gunixvolumemonitor.c:
727 Add is_supported() to GNativeVolumeMonitorClass so
728 that we can avoid having to create an object to see
729 if the backend is supported at runtime.
730 Also add name member and an env var to pick a specific
731 volume monitor backend.
735 Add cancellable to _g_mount_get_for_mount_path()
737 * glocaldirectorymonitor.c:
738 * glocalfilemonitor.c:
739 Avoid loading and unloading modules while sorting.
741 2007-12-17 Matthias Clasen <mclasen@redhat.com>
744 * gunixmounts.[hc]: Namespace waste reduction, move some
745 g_get_unix_mount functions to the g_unix_mount namespace.
748 * gunixvolumemonitor.c:
750 * glocaldirectorymonitor.c: Update all callers.
752 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
754 2007-12-17 Alexander Larsson <alexl@redhat.com>
757 Add doc comments about what GFile operations are
758 guaranteed to not block.
760 2007-12-17 Alexander Larsson <alexl@redhat.com>
763 Add missing #ifdef fixing OSX build.
764 (#503334, patch from Richard Hult)
766 2007-12-14 David Zeuthen <davidz@redhat.com>
770 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
771 (g_mount_eject), (g_mount_eject_finish):
773 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
774 (get_volume_for_uuid), (get_mount_for_uuid),
775 (g_union_volume_monitor_class_init),
776 (get_default_native_type_with_exclude), (get_default_native_type),
777 (get_native_type), (update_native_type),
778 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
779 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
780 (g_unix_mount_can_eject), (eject_unmount_cb),
781 (eject_unmount_read_error), (eject_unmount_do),
782 (g_unix_mount_unmount), (g_unix_mount_eject),
783 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
784 * gunixmounts.c: (g_unix_mount_guess_can_eject),
785 (g_unix_mount_point_guess_can_eject):
787 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
788 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
789 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
790 (g_unix_volume_mount), (g_unix_volume_eject),
791 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
792 * gunixvolumemonitor.c: (get_volume_for_uuid),
793 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
795 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
796 (g_volume_eject), (g_volume_eject_finish):
798 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
799 (g_volume_monitor_get_mount_for_uuid):
802 Provide eject() on both GMount and GVolume and utility functions
803 to guess whether a GUnixMountPoint or GUnixMountEntry should be
804 ejected. Introduce the concept of UUID's and wire it into GVolume
805 and GMount and provide API on GVolumeMonitor to find such
806 instances. Also handle the case where an external
807 GNativeVolumeMonitor fails to initialize. Lock around the
808 _g_get_mount_for_mount_path() function such that volume monitor
809 implementations won't have to do locking themselves.
811 2007-12-17 Matthias Clasen <mclasen@redhat.com>
819 * gvolume.h: Documentation updates
821 2007-12-14 Matthias Clasen <mclasen@redhat.com>
824 * gfile.h: Doc updates
826 2007-12-14 Matthias Clasen <mclasen@redhat.com>
829 * gdesktopappinfo.c: Use hash table iterators.
831 2007-12-14 Alexander Larsson <alexl@redhat.com>
834 * gfileattribute.[ch]:
835 * gfileattribute-priv.h:
836 Move GFileAttributeValue to a private header, as
840 Make set_attribute take a type + a pointer instead
841 of a GFileAttributeValue.
844 Fix up for above changes.
845 Add g_file_info_get_attribute_data to get
846 all info in one call, g_file_info_get_attribute_status
847 to get the status and g_file_info_get_attribute_as_string.
851 * glocalfileinfo.[ch]:
855 Make _guess_type static.
857 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
860 * inotify/Makefile.am: Fixed build when srcdir != builddir,
861 made mkenums and friends use temporary files to avoid leaving
862 empty generated files on failure (#503470).
864 2007-12-14 Alexander Larsson <alexl@redhat.com>
869 2007-12-14 Alexander Larsson <alexl@redhat.com>
873 * gfileattribute.[ch]:
876 * glocalfileoutputstream.c:
877 * gmountoperation.[ch]:
878 * goutputstream.[ch]:
879 Clean up all flags enums to not have _FLAGS in them
880 Make the names of some of the enums better.
885 2007-12-14 Michael Natterer <mitch@imendio.com>
887 * gio.symbols: fix g_io_scheduler symbol names.
889 2007-12-14 Alexander Larsson <alexl@redhat.com>
895 * gbufferedinputstream.h:
896 * gbufferedoutputstream.h:
899 * gdatainputstream.h:
900 * gdataoutputstream.h:
902 * gdirectorymonitor.h:
909 * gfileinputstream.h:
911 * gfilenamecompleter.h:
912 * gfileoutputstream.h:
913 * gfilterinputstream.h:
914 * gfilteroutputstream.h:
922 * gmemoryinputstream.h:
923 * gmemoryoutputstream.h:
928 * gsimpleasyncresult.h:
930 * gunixinputstream.h:
932 * gunixoutputstream.h:
936 * inotify/Makefile.am:
937 Only allow including <gio/gio.h> from apps
939 2007-12-14 Alexander Larsson <alexl@redhat.com>
942 * gsimpleasyncresult.c:
943 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
944 Split out the send_to_mainloop call into two versions instead
945 of having the block argument.
947 2007-12-13 Alexander Larsson <alexl@redhat.com>
951 * gbufferedinputstream.c:
953 * gfileinputstream.c:
954 * gfileoutputstream.c:
958 g_push/pop_current_cancellable ->
959 g_cancellable_push/pop_current
961 2007-12-13 Alexander Larsson <alexl@redhat.com>
965 Rename g_mount_for_location to g_file_mount_enclosing_volume.
967 2007-12-13 Alexander Larsson <alexl@redhat.com>
970 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
972 2007-12-12 Alexander Larsson <alexl@redhat.com>
975 Fix race condition when freeing proxy in
976 g_io_job_send_to_mainloop().
978 2007-12-12 Alexander Larsson <alexl@redhat.com>
984 Make attribute namespace separator "::" instead of ":".
985 Use - instead of _ as separator in attribute names.
987 2007-12-12 Alexander Larsson <alexl@redhat.com>
989 * gbufferedinputstream.h:
990 * gbufferedoutputstream.h:
991 * gdatainputstream.h:
992 * gdataoutputstream.h:
993 * gdirectorymonitor.h:
995 * gfileinputstream.h:
997 * gfileoutputstream.h:
998 * gfilterinputstream.h:
999 * gfilteroutputstream.h:
1001 * glocalfileinputstream.h:
1002 * glocalfileoutputstream.h:
1003 * gmemoryinputstream.h:
1004 * gmemoryoutputstream.h:
1005 * gnativevolumemonitor.h:
1007 * gunixinputstream.h:
1008 * gunixoutputstream.h:
1011 s/parent/parent_instance/ in GObjects
1013 2007-12-12 Alexander Larsson <alexl@redhat.com>
1018 No need for padding for interfaces
1020 2007-12-12 Alexander Larsson <alexl@redhat.com>
1024 * gbufferedinputstream.c:
1025 * gbufferedoutputstream.c:
1028 * gdatainputstream.[ch]:
1029 * gdesktopappinfo.c:
1030 * gdirectorymonitor.c:
1032 * gfileattribute.[ch]:
1035 * gfileinputstream.h:
1036 * gfilemonitor.[ch]:
1037 * gfileoutputstream.[ch]:
1038 * gfilterinputstream.h:
1039 * gfilteroutputstream.h:
1042 * gloadableicon.[ch]:
1043 * gmemoryinputstream.c:
1044 * gmountoperation.c:
1046 Fix up a bunch of details in the docs.
1051 2007-12-11 David Zeuthen <davidz@redhat.com>
1053 Rework how volumes, drives and volume monitoring is
1054 done. Previosly the model was
1056 GDrive <1-1> GVolume
1058 where a GDrive instance represented a mount point and a GVolume
1059 instance represented a mounted file system. This patch changes it
1062 GDrive <1-N> GVolume <1-1> GMount
1064 where GMount now serves the purpose of the old GVolume and the new
1065 GVolume serves the purpose of the old GDrive. In addition the new
1066 GDrive interface is used to represent a collection of GVolume
1067 instances (typically partitions) and also contains utility to query
1068 the state of the physical drive the GDrive object represents (such
1069 as checking for media, polling the drive, ejecting the media etc.).
1071 Also implement mounting and unmounting in the Unix volume monitor
1072 backend. A subquent patch will introduce GDrive support for ejection
1076 * gdrive.c: (g_drive_is_media_check_automatic),
1077 (g_drive_is_media_removable), (g_drive_has_media),
1078 (g_drive_can_poll_for_media), (g_drive_eject),
1079 (g_drive_eject_finish), (g_drive_poll_for_media),
1080 (g_drive_poll_for_media_finish):
1082 * gfile.c: (g_file_find_enclosing_mount):
1085 * glocaldirectorymonitor.c:
1086 (g_local_directory_monitor_constructor), (mounts_changed):
1087 * glocalfile.c: (get_mount_info),
1088 (g_local_file_find_enclosing_mount),
1089 (g_local_file_file_iface_init):
1090 * gnativevolumemonitor.h:
1091 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1092 (get_connected_drives), (g_union_volume_monitor_class_init),
1093 (child_volume_added), (child_volume_removed),
1094 (child_volume_changed), (child_mount_added), (child_mount_removed),
1095 (child_mount_pre_unmount), (child_mount_changed),
1096 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1097 (g_union_volume_monitor_remove_monitor),
1098 (_g_mount_get_for_mount_path):
1099 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1100 (guess_system_internal), (_g_get_unix_mounts),
1101 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1102 (g_unix_mount_free), (g_unix_mount_compare),
1103 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1104 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1105 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1106 (type_to_icon), (g_unix_mount_guess_name),
1107 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1108 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1109 (_resolve_symlink), (_resolve_dev_root):
1111 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1112 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1113 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1114 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1115 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1116 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1117 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1118 (g_unix_volume_volume_iface_init):
1120 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1121 (get_mounts), (get_volumes), (get_connected_drives),
1122 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1123 (mountpoints_changed), (mounts_changed),
1124 (g_unix_volume_monitor_init),
1125 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1126 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1127 * gunixvolumemonitor.h:
1128 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1129 (g_volume_mount), (g_volume_mount_finish):
1131 * gvolumemonitor.c: (g_volume_monitor_class_init),
1132 (g_volume_monitor_get_connected_drives),
1133 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1136 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1138 * gmountoperation.h (GPasswordFlags): Close the gap
1140 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1142 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1144 * gdesktopappinfo.[hc]: Remove _-prefixes
1146 2007-12-10 Tor Lillqvist <tml@novell.com>
1148 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1151 2007-12-10 Alexander Larsson <alexl@redhat.com>
1153 * gfile.c (g_file_set_display_name):
1154 Don't hardcode '/' (#502727)
1156 2007-12-09 Hans Breuer <hans@breuer.org>
1158 * makefile.msc : follow lib naming convention
1159 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1160 for user and group name, tested with ../tests/gio-ls
1162 2007-12-09 A. Walton <awalton@svn.gnome.org>
1164 * gdesktopappinfo.c:
1170 * gfileenumerator.c:
1175 * gmemoryinputstream.c:
1176 * gmemoryoutputstream.c:
1178 * gsimpleasyncresult.c:
1179 More documentation cleanup and filling in missing information, bringing
1180 GIO to 99% symbol coverage.
1182 2007-12-08 Hans Breuer <hans@breuer.org>
1184 [gio compiles and links on win32, not sure how much already works]
1185 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1186 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1187 base on win32 API; prefer g_lstat() over lstat(); instead of
1188 localtime_r() use an all GLib implementation on win32;
1189 get_mount_info() still needs a win32 specifc implementation
1190 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1191 win32_get_file_user_info to get owner/group info without uid/gid
1192 * glocalfileinputstream.c : include <io.h> on win32
1193 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1194 definition, use g_win32_ftruncate() for G_OS_WIN32
1195 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1196 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1197 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1198 * makefile.msc : updated
1200 2007-12-07 Alexander Larsson <alexl@redhat.com>
1202 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1203 Avoid warning spew if error == NULL
1205 2007-12-07 Alexander Larsson <alexl@redhat.com>
1208 Update docs wrt etags
1210 2007-12-06 Alexander Larsson <alexl@redhat.com>
1213 Include sys/types.h for dev_t (#501919)
1215 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1219 Make abicheck and pltcheck pass.
1221 2007-12-05 Alexander Larsson <alexl@redhat.com>
1224 * giomodule-priv.h: Added.
1225 * glocaldirectorymonitor.c:
1226 * glocalfilemonitor.c:
1227 * gunionvolumemonitor.c:
1229 Actually add the declaration of _g_io_modules_ensure_loaded
1231 2007-12-05 Alexander Larsson <alexl@redhat.com>
1233 * gdatainputstream.c:
1238 * glocaldirectorymonitor.c:
1239 * glocalfilemonitor.c:
1240 * gunionvolumemonitor.c:
1242 Make g_io_modules_ensure_loaded a private function and
1243 don't pass in the dirname. This means we can do magic
1244 directory finding in the win32 version.
1245 Export the actual load-modules-in-directory code so that
1246 gvfs can reuse that.
1248 2007-12-05 Alexander Larsson <alexl@redhat.com>
1250 * gbufferedinputstream.c:
1251 * gbufferedoutputstream.c:
1254 * gfileenumerator.[ch]:
1255 * gfileinputstream.c:
1256 * gfileoutputstream.[ch]:
1257 * gfilterinputstream.c:
1258 * gfilteroutputstream.c:
1259 * ginputstream.[ch]:
1261 * glocalfileenumerator.c:
1262 * glocalfileinputstream.c:
1263 * glocalfileoutputstream.c:
1264 * gmemoryinputstream.c:
1265 * gmemoryoutputstream.c:
1266 * goutputstream.[ch]:
1269 * gunixinputstream.c:
1270 * gunixoutputstream.c:
1271 Rename all struct members named:
1272 read, write, close, truncate, or mount
1273 to foo_fn, as these are reserved names
1274 and could be defined as macros in libc.
1277 2007-12-04 Alexander Larsson <alexl@redhat.com>
1280 (g_output_stream_close):
1281 Only call flush if non-null.
1283 2007-11-30 Dan Winship <danw@gnome.org>
1285 * ginputstream.c (g_input_stream_set_pending): Make this take a
1286 GError and return a gboolean, and do the "outstanding operation"
1287 check (and the "stream is already closed" check) itself.
1288 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1290 * goutputstream.c (g_output_stream_set_pending)
1291 (g_output_stream_clear_pending): Likewise
1293 * gbufferedinputstream.c:
1294 * gfileinputstream.c:
1295 * gfileoutputstream.c: Update for that
1297 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1298 Like g_simple_async_report_error_in_idle, but takes a GError
1299 rather than building one.
1301 2007-11-30 Dan Winship <danw@gnome.org>
1303 * goutputstream.c: Don't cheat and unset the "pending" flag around
1304 inner calls. Instead, call the class method directly rather than
1305 the wrapper function that checks "pending"
1307 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1309 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1311 2007-12-03 Hans Breuer <hans@breuer.org>
1313 [start of port to win32/msvc]
1314 * gcancellable.c : HAVE_UNIST_H and _pipe()
1315 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1316 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1317 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1319 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1320 * glocalvfs.c : use HAVE_PWD_H
1321 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1322 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1323 * Makefile.am : added to EXTRA_DIST
1325 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1327 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1330 2007-12-03 Alexander Larsson <alexl@redhat.com>
1333 Handle OSX style xattrs API (#500506)
1335 2007-12-03 Alexander Larsson <alexl@redhat.com>
1339 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1341 2007-12-02 A. Walton <awalton@svn.gnome.org>
1345 Documentation accuracy fixes.
1347 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1349 * gioenumtypes.c.template: Fix typo.
1351 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1353 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1355 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1357 * gdirectorymonitor.c:
1358 * gfilemonitor.c: Add properties
1360 * gbufferedoutputstream.c: Don't mark buffer-size property
1363 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1365 * gbufferedoutputstream.c: Add auto-grow property.
1367 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1369 * *.c: Unify the capitalization of section headings.
1371 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1373 * gmountoperation.c: Add properties
1375 * gdatainputstream.c: Turn byte-order and newline-type into
1378 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1380 * gioenumtypes.[hc].template: Templates for enum registration
1382 * Makefile.am: Generate gioenumtypes.[hc]
1384 * gio.h: Include gioenumtypes.h
1386 * gfile.h: Add some explicit nicks.
1388 * gio.symbols: Add new symbols
1390 * pltcheck.sh: Adjust
1392 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1394 * *.c: Explain etags and link to the explanation
1396 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1398 * *.c: Explain I/O priority.
1400 * *.c: More coding style fixes.
1402 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1404 * gasyncresult.c: Add another paragraph to the intro,
1405 adjust coding style of example.
1407 2007-11-29 A. Walton <awalton@svn.gnome.org>
1410 Fixes unknown meaning in GAppLaunchContext docs.
1412 Clarify asynchronous ops.
1414 Fix entity tag docs.
1417 Provides missing gtk-doc section, fixes API docs slighly.
1418 * gsimpleasyncresult.c:
1419 Fill in missing info in docs.
1420 * gunixinputstream.c:
1421 * gunixoutputstream.c:
1422 Be more expressive in short description.
1424 Remove gtk-doc stubs for non-public API.
1426 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1428 * *.c: Coding style fixups
1430 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1432 * inotify/inotify-helper.c: Don't export the lock from libgio.
1434 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1437 * abicheck.sh: Fix copy-and-paste leftovers
1439 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1441 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1443 2007-11-28 Alexander Larsson <alexl@redhat.com>
1447 Removed unnecessary file
1449 * gdesktopappinfo.[ch]:
1452 * glocaldirectorymonitor.[ch]:
1454 * glocalfileenumerator.[ch]:
1455 * glocalfileinputstream.[ch]:
1456 * glocalfilemonitor.[ch]:
1457 * glocalfileoutputstream.[ch]:
1459 * gnativevolumemonitor.c:
1460 * gpollfilemonitor.[ch]:
1461 * gunionvolumemonitor.[ch]:
1464 * gunixvolumemonitor.[ch]:
1467 * inotify/ginotifydirectorymonitor.[ch]:
1468 * inotify/ginotifyfilemonitor.[ch]:
1469 * inotify/inotify-helper.c:
1470 Append _ to all internal functions
1474 Export symbols needed for modules
1476 2007-11-28 Alexander Larsson <alexl@redhat.com>
1479 * abicheck.sh: Added.
1480 * makegioalias.pl: Added.
1481 * pltcheck.sh: Added.
1482 * gio.symbols: Added.
1485 Initial work on adding symbol handling.
1488 Correct ifdef guard name
1491 * inotify/Makefile.am:
1492 * xdgmime/Makefile.am:
1493 Include toplevel Makefile.decl
1495 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1497 * gcontenttype.c: Move doc comments to the unix section.
1499 * *.[hc]: More trivial doc corrections.
1501 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1503 * gpollfilemonitor.c:
1507 * gdesktopappinfo.c:
1512 * gdatainputstream.c:
1513 * gdatainputstream.h:
1514 * gdataoutputstream.c:
1515 * gdataoutputstream.h:
1516 * gfileinfo.h: Doc cleanups
1518 2007-11-28 Andre Klapper <a9016009@gmx.de>
1520 * gdesktopappinfo.c: Fix a typo.
1522 2007-11-27 Andre Klapper <a9016009@gmx.de>
1524 * glocalfileoutputstream.c: Fix a typo.
1526 2007-11-27 Alexander Larsson <alexl@redhat.com>
1529 Don't include removed headers
1531 2007-11-27 Alexander Larsson <alexl@redhat.com>
1534 * gsocketinputstream.[ch]: Removed.
1535 * gsocketoutputstream.[ch]: Removed.
1536 * gunixinputstream.[ch]: Added.
1537 * gunixoutputstream.[ch]: Added.
1538 Renamed GSocket*Stream to GUnix*Stream and made
1539 it unix-only, since its not really only for sockets
1540 and it only works on unix (but is highly useful there).
1542 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1548 * gbufferedinputstream.c:
1549 * gbufferedinputstream.h:
1550 * gbufferedoutputstream.c:
1551 * gbufferedoutputstream.h:
1555 * gdatainputstream.c:
1556 * gdatainputstream.h:
1557 * gdataoutputstream.c:
1558 * gdataoutputstream.h:
1559 * gdirectorymonitor.c:
1560 * gdirectorymonitor.h:
1567 * gfileenumerator.c:
1568 * gfileenumerator.h:
1573 * gfileinputstream.c:
1574 * gfileinputstream.h:
1577 * gfilenamecompleter.c:
1578 * gfilenamecompleter.h:
1579 * gfileoutputstream.c:
1580 * gfileoutputstream.h:
1581 * gfilterinputstream.c:
1582 * gfilterinputstream.h:
1583 * gfilteroutputstream.c:
1584 * gfilteroutputstream.h:
1597 * glocalfileoutputstream.c:
1598 * gmemoryinputstream.c:
1599 * gmemoryinputstream.h:
1600 * gmemoryoutputstream.c:
1601 * gmemoryoutputstream.h:
1602 * gmountoperation.c:
1603 * gmountoperation.h:
1606 * gpollfilemonitor.c:
1609 * gsimpleasyncresult.c:
1610 * gsimpleasyncresult.h:
1611 * gsocketinputstream.c:
1612 * gsocketinputstream.h:
1613 * gsocketoutputstream.c:
1614 * gsocketoutputstream.h:
1621 * gunixvolumemonitor.c:
1630 Bumps documentation to 93% symbol coverage, touching most
1631 of the public files. Fixes broken function documentation prototypes.
1632 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1633 gtk-doc headers in private files.
1635 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1637 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1638 (g_buffered_input_stream_read_byte):
1639 * gbufferedinputstream.h:
1640 New functions for efficient access to buffer and simple single byte
1643 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1644 (g_data_input_stream_read_until):
1645 * gdatainputstream.h:
1646 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1647 read_until with multiple stop chars.
1649 2007-11-27 Alexander Larsson <alexl@redhat.com>
1653 * inotify/Makefile.am:
1654 Use the user-specified giomoduledir
1656 2007-11-27 Alexander Larsson <alexl@redhat.com>
1660 Add catch-all gio.h header
1661 Don't install gdummyfile.h
1663 2007-11-26 Alexander Larsson <alexl@redhat.com>
1665 * Makefile.am (gioinclude_HEADERS):
1666 Remove trailing whitespace
1668 2007-11-26 Alexander Larsson <alexl@redhat.com>
1670 Merge gio-standalone into glib
1672 2007-11-25 Christian Kellner <gicmo@gnome.org>
1674 * gio/goutputstream.c:
1675 Fix small mistake in the docs.
1677 2007-11-21 Christian Persch <chpe@gnome.org>
1679 * gio/glocalfile.c: (g_local_file_trash):
1680 Convert filenames to UTF-8 for GError.
1681 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1682 as per xdg base dir spec.
1684 2007-11-21 Christian Persch <chpe@gnome.org>
1686 * gio/gdesktopappinfo.c:
1687 Use that g_key_file_to_data cannot fail.
1689 Use stock defines for the key file group and key names.
1692 2007-11-21 Alexander Larsson <alexl@redhat.com>
1695 (copy_stream_with_progress):
1696 Make sure we do a final progress callback with
1697 the full total size.
1699 2007-11-21 Alexander Larsson <alexl@redhat.com>
1702 Export g_file_copy_attributes
1703 Remove padding as its not needed for interfaces
1705 2007-11-20 Alexander Larsson <alexl@redhat.com>
1710 Add G_IO_ERROR_WOULD_MERGE for
1711 copy/move dir on dir with overwrite.
1713 2007-11-20 Alexander Larsson <alexl@redhat.com>
1716 * gio/glocalfileinfo.c:
1717 Add COPY_NAME (this is an optional
1718 non-modified utf8 version of the name) that
1721 2007-11-20 Alexander Larsson <alexl@redhat.com>
1723 * gio/glocalfileenumerator.c:
1724 Report errors as GIOError, not GFileError
1726 2007-11-16 Alexander Larsson <alexl@redhat.com>
1728 * gio/glocalfileoutputstream.c:
1729 * gio/gwin32appinfo.c:
1730 Fix typos in strings.
1731 Patch from Luca Ferretti <elle.uca@libero.it>
1733 2007-11-15 Alexander Larsson <alexl@redhat.com>
1736 Post release version bump
1738 === gio-standalone 0.1.2 ===
1740 2007-11-15 Alexander Larsson <alexl@redhat.com>
1742 * docs/reference/gio/Makefile.am:
1743 Fix up distcheck by removing weird
1749 2007-11-14 Alexander Larsson <alexl@redhat.com>
1751 * gio/gdesktopappinfo.c:
1752 * gio/glocaldirectorymonitor.c:
1754 * gio/glocalfileinfo.c:
1755 * gio/inotify/inotify-sub.c:
1756 * programs/gio-cat.c:
1757 * programs/gio-copy.c:
1758 * programs/gio-info.c:
1759 * programs/gio-ls.c:
1760 * programs/gio-monitor-dir.c:
1761 * programs/gio-monitor-file.c:
1762 * programs/gio-mount.c:
1763 * programs/gio-move.c:
1764 * programs/gio-rm.c:
1765 * programs/gio-save.c:
1766 * programs/gio-trash.c:
1767 Leak fixes from Kjartan Maraas
1769 2007-11-14 Alexander Larsson <alexl@redhat.com>
1771 * gio/fam/fam-helper.c:
1773 * gio/glocalfileinfo.c:
1777 * gio/inotify/inotify-diag.c:
1778 * gio/inotify/inotify-kernel.c:
1779 Various code cleanups from Kjartan Maraas
1781 2007-11-14 Alexander Larsson <alexl@redhat.com>
1783 * gio/gioscheduler.c:
1785 Set up threadpool so that we cache 2 unused
1786 idle threads for at 15 secs. This means we
1787 will reuse thread-local data (like dbus connections)
1790 2007-11-14 Alexander Larsson <alexl@redhat.com>
1792 * gio/fam/fam-helper.c:
1793 * gio/fam/gfamdirectorymonitor.c:
1794 * gio/fam/gfamfilemonitor.c:
1796 * gio/gcontenttype.c:
1797 * gio/gdatainputstream.c:
1798 * gio/gdataoutputstream.c:
1802 * gio/gfileattribute.h:
1803 * gio/gfileenumerator.c:
1805 * gio/ginputstream.c:
1808 * gio/glocalfileinfo.c:
1809 * gio/goutputstream.c:
1810 * gio/gpollfilemonitor.c:
1811 * gio/gsimpleasyncresult.c:
1812 * gio/gunixmounts.c:
1813 * gio/gunixmounts.h:
1814 * gio/inotify/ginotifydirectorymonitor.c:
1815 * gio/inotify/ginotifyfilemonitor.c:
1816 * gio/inotify/inotify-diag.c:
1817 * gio/inotify/inotify-kernel.c:
1818 * gio/inotify/inotify-path.c:
1820 * gio/test-streams.c:
1821 * programs/gio-info.c:
1822 * programs/gio-monitor-dir.c:
1823 * programs/gio-monitor-file.c:
1824 Various code cleanups from Kjartan Maraas
1826 2007-11-13 Alexander Larsson <alexl@redhat.com>
1829 Handle the uri-scheme calls for dummy files
1831 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1833 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1834 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1835 to avoid clash with the C++ keyword.
1837 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1839 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1840 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1842 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1844 * gio/glocaldirectorymonitor.c:
1845 * gio/glocalfilemonitor.c:
1846 * gio/gunionvolumemonitor.c:
1847 Don't use g_once_init_*() for initializations that could fail and
1848 could leave the initialization variable set to 0 but use GOnce.
1849 This prevents a deadlock on the second call when trying to create
1850 a monitor and no monitor type is available. Thanks to Sven Herzberg
1853 2007-11-11 Sven Herzberg <sven@imendio.com>
1855 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1856 #ifdef (make it work on MacOS X again)
1858 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1860 Fixes Changelog for last two commits (sorry guys).
1862 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1864 * gio/gbufferedinputstream.c:
1865 * gio/gdatainputstream.c:
1867 * gio/gfileoutputstream.c:
1868 * gio/gfilterinputstream.c:
1869 * gio/glocalfileinputstream.c:
1872 More consistency fixes in g*stream.c files.
1873 Significant clean of gfile's documentation, filling in of
1874 asynchronous operations documentation.
1876 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1878 * gio/gasyncresult.c:
1879 * gio/gbufferedinputstream.c:
1880 * gio/gbufferedoutputstream.c:
1881 * gio/gcancellable.c:
1882 * gio/gcontenttype.c:
1883 * gio/gdatainputstream.c:
1884 * gio/gdataoutputstream.c:
1885 * gio/gdesktopappinfo.c:
1888 * gio/gfileattribute.c:
1889 * gio/gio/gfileenumerator.c:
1891 * gio/gfileinputstream.c:
1892 * gio/gfilemonitor.c:
1893 * gio/gfileoutputstream.c:
1894 * gio/ginputstream.c:
1896 * gio/gioscheduler.c:
1897 * gio/gloadableicon.c:
1898 * gio/glocalfileoutputstream.c:
1899 * gio/gmemoryoutputstream.c:
1900 * gio/gmountoperation.c:
1901 * gio/goutputstream.c:
1903 * gio/gsimpleasyncresult.c:
1904 * gio/gunionvolumemonitor.c:
1905 * gio/gunixmounts.c:
1906 * gio/gunixvolume.c:
1910 * gio/gvolumemonitor.c:
1911 Updated documentation stubs, working towards consistency and
1914 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1916 * gio/gmemoryoutputstream.c:
1917 * gio/gmemoryoutputstream.h:
1918 Change g_memory_output_stream_set_free_on_close() to
1919 g_memory_output_stream_set_free_data() as this makes more sense and
1920 is more consistent with GMemoryInputStream.
1922 2007-11-07 Alexander Larsson <alexl@redhat.com>
1929 Change how we find the default vfs so that
1930 we can handle a gvfs failing to init
1932 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1934 * gio/gbufferedoutputstream.c:
1935 * gio/gdatainputstream.c:
1936 * gio/gdataoutputstream.c:
1937 * gio/gfileinputstream.c:
1938 * gio/gfileoutputstream.c:
1939 * gio/gfilterinputstream.c:
1940 * gio/gfilteroutputstream.c:
1941 * gio/ginputstream.c:
1942 * gio/gmemoryinputstream.c:
1943 * gio/gmemoryoutputstream.c:
1944 * gio/goutputstream.c:
1945 * gio/gsimpleasyncresult.c:
1946 * gio/gsocketinputstream.c:
1947 * gio/gsocketoutputstream.c:
1948 Add guards to the remaining public functions, add a TODO for
1949 an unimplemented function and remove some useless guards.
1951 2007-11-07 Alexander Larsson <alexl@redhat.com>
1954 Autoconf checks for the various types of
1955 getpwuid_r and getgrgid_r
1957 * gio/glocalfileinfo.c:
1958 Use the autoconf checks from above
1960 2007-11-07 Alexander Larsson <alexl@redhat.com>
1963 (g_local_file_query_filesystem_info):
1964 Some fixes for the statvfs case
1966 2007-11-07 Alexander Larsson <alexl@redhat.com>
1969 (g_local_file_query_filesystem_info):
1970 Pick the "best" of statfs / statvfs for the system
1971 if both are availible.
1973 2007-11-07 Alexander Larsson <alexl@redhat.com>
1975 Solaris fixes from Halton.Huo@Sun.COM:
1982 * gio/glocalfileinfo.c:
1983 Fix for solaris definition of getpwuid_r
1985 * gio/test-streams.c:
1986 Use G_GNUC_PRETTY_FUNCTION
1988 2007-11-07 Alexander Larsson <alexl@redhat.com>
1990 * gio/gdesktopappinfo.c:
1991 (update_default_list):
1992 Remove double semicolon.
1993 Patch from Jens Granseuer
1995 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1997 * docs/reference/gio/gio-sections.txt:
1998 * gio/gbufferedinputstream.c:
1999 * gio/gbufferedinputstream.h:
2000 * gio/gdatainputstream.c:
2001 * gio/gfileenumerator.c:
2002 * gio/gioscheduler.c:
2003 * gio/gunionvolumemonitor.c:
2005 * programs/gio-save.c:
2006 Fix typo: availible -> available. Unfortuntely this breaks API
2007 and ABI as g_buffered_input_stream_get_available() was renamed.
2009 * gio/gunixmounts.c:
2010 * gio/gbufferedinputstream.c:
2011 Add guards for public functions.
2013 2007-11-06 Ross Burton <ross@openedhand.com>
2015 * docs/reference/gio/Makefile.am:
2016 Fix invalid += usage which automake 1.10 doesn't like.
2018 2007-11-06 Alexander Larsson <alexl@redhat.com>
2021 (g_app_launch_context_class_init):
2024 Patch from Ross Burton
2026 2007-11-06 Alexander Larsson <alexl@redhat.com>
2029 Post release version bump
2031 === gio-standalone 0.1.1 ===
2033 2007-11-06 Alexander Larsson <alexl@redhat.com>
2036 Bump version to 0.1.1
2038 * gio/gsimpleasyncresult.c:
2039 (g_simple_async_result_set_from_error):
2040 Remove bogus g_return_if_fail
2042 2007-11-06 Alexander Larsson <alexl@redhat.com>
2045 The name is gio-standalone
2048 Add top src/builddir to includedir
2050 2007-11-06 Alexander Larsson <alexl@redhat.com>
2052 * docs/reference/gio/gio-sections.txt:
2054 * gio/gbufferedinputstream.c:
2055 * gio/gbufferedoutputstream.c:
2056 * gio/gcancellable.c:
2057 * gio/gdatainputstream.h:
2058 * gio/gdataoutputstream.c:
2059 * gio/gdataoutputstream.h:
2060 * gio/gdirectorymonitor.c:
2062 * gio/gfileattribute.c:
2063 * gio/gfileattribute.h:
2064 * gio/gfileenumerator.c:
2065 * gio/gfileenumerator.h:
2068 * gio/gfileinputstream.h:
2069 * gio/gfilemonitor.c:
2070 * gio/gfileoutputstream.h:
2071 * gio/glocalfilemonitor.h:
2072 * gio/glocalfileoutputstream.h:
2073 * gio/gmemoryinputstream.c:
2074 * gio/gmemoryoutputstream.c:
2075 * gio/gmountoperation.c:
2076 * gio/goutputstream.c:
2077 * gio/goutputstream.h:
2079 * gio/gsimpleasyncresult.c:
2080 * gio/gunixmounts.c:
2081 * gio/gunixmounts.h:
2083 * gio/inotify/inotify-helper.c:
2084 Fix gtk-doc warnings
2086 Patch from Ross Burton
2088 2007-11-06 Alexander Larsson <alexl@redhat.com>
2090 * gio/gfilenamecompleter.c:
2091 (g_filename_completer_get_completions):
2094 * gio/gunixvolume.c:
2095 Remove unused function
2097 Patches from Ross Burton
2099 2007-11-06 Alexander Larsson <alexl@redhat.com>
2104 Padding not needed for interfaces
2106 2007-11-06 Alexander Larsson <alexl@redhat.com>
2108 * gio/gfilemonitor.c:
2112 Make giotypes.h an internal file
2115 * gio/gbufferedinputstream.h:
2116 * gio/gbufferedoutputstream.h:
2117 * gio/gcancellable.h:
2118 * gio/gdatainputstream.h:
2119 * gio/gdataoutputstream.h:
2120 * gio/gdirectorymonitor.c:
2121 * gio/gdirectorymonitor.h:
2126 * gio/gfileattribute.h:
2127 * gio/gfileenumerator.h:
2132 * gio/gfilemonitor.c:
2133 * gio/gfilemonitor.h:
2134 * gio/gfilenamecompleter.c:
2135 * gio/gfilenamecompleter.h:
2136 * gio/gfilterinputstream.h:
2137 * gio/gfilteroutputstream.h:
2138 * gio/ginputstream.h:
2139 * gio/gmemoryinputstream.h:
2140 * gio/gmemoryoutputstream.h:
2141 * gio/gmountoperation.c:
2142 * gio/gmountoperation.h:
2143 * gio/gnativevolumemonitor.c:
2144 * gio/goutputstream.h:
2147 * gio/gsimpleasyncresult.c:
2148 * gio/gsimpleasyncresult.h:
2149 * gio/gsocketinputstream.h:
2150 * gio/gsocketoutputstream.h:
2151 * gio/gthemedicon.c:
2152 * gio/gthemedicon.h:
2156 * gio/gvolumemonitor.c:
2157 * gio/gvolumemonitor.h:
2158 Add padding in classes where it seems useful
2159 Don't include giotypes.h from public headers
2160 Move in Class definitions into c file where possible
2165 2007-11-06 Alexander Larsson <alexl@redhat.com>
2167 * docs/reference/gio/gio-docs.xml:
2168 Better structure for API docs
2170 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2173 * gio/gloadableicon.c:
2174 * gio/gsimpleasyncresult.c:
2175 * gio/gthemedicon.c:
2176 Add some more guards to public functions. Only files missing are now
2179 2007-11-06 Alexander Larsson <alexl@redhat.com>
2181 * docs/reference/gio/gio-docs.xml:
2182 Remove old files, add missing ones
2184 2007-11-06 Alexander Larsson <alexl@redhat.com>
2186 * docs/reference/gio/gio-sections.txt:
2189 Hide implementation classes
2191 * gio/gdriveprivate.h:
2192 * gio/gvolumeprivate.h:
2193 Remove non-existing function declarations
2195 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2198 Fix compilation warnings and add guards to the new functions.
2200 * gio/gasyncresult.c:
2202 Add guards to the public functions.
2205 Implement get_path().
2207 2007-11-06 Alexander Larsson <alexl@redhat.com>
2209 * gio/gfilenamecompleter.c:
2210 Make g_filename_completer_get_completions
2211 return char ** instead of GList for
2214 * docs/reference/gio/gio-docs.xml:
2215 * docs/reference/gio/gio-sections.txt:
2217 * gio/gasyncresult.c:
2218 * gio/gbufferedinputstream.c:
2219 * gio/gbufferedoutputstream.c:
2220 * gio/gcancellable.c:
2221 * gio/gcontenttype.c:
2222 * gio/gdatainputstream.c:
2223 * gio/gdataoutputstream.c:
2224 * gio/gdesktopappinfo.c:
2225 * gio/gdirectorymonitor.c:
2229 * gio/gfileattribute.c:
2230 * gio/gfileenumerator.c:
2233 * gio/gfileinputstream.c:
2234 * gio/gfilemonitor.c:
2235 * gio/gfilenamecompleter.c:
2236 * gio/gfilenamecompleter.h:
2237 * gio/gfileoutputstream.c:
2238 * gio/gfilterinputstream.c:
2240 * gio/ginputstream.c:
2242 * gio/gioscheduler.c:
2243 * gio/gloadableicon.c:
2244 * gio/glocaldirectorymonitor.c:
2246 * gio/glocalfileinputstream.c:
2247 * gio/glocalfilemonitor.c:
2248 * gio/glocalfileoutputstream.c:
2250 * gio/gmemoryinputstream.c:
2251 * gio/gmemoryoutputstream.c:
2252 * gio/gmountoperation.c:
2253 * gio/goutputstream.c:
2254 * gio/gpollfilemonitor.c:
2256 * gio/gsimpleasyncresult.c:
2257 * gio/gsocketinputstream.c:
2258 * gio/gsocketoutputstream.c:
2259 * gio/gthemedicon.c:
2260 * gio/gunionvolumemonitor.c:
2262 * gio/gunixmounts.c:
2263 * gio/gunixvolume.c:
2264 * gio/gunixvolumemonitor.c:
2268 * gio/gvolumemonitor.c:
2269 * gio/gwin32appinfo.c:
2270 Add (mostly stub) doc strings to public functions.
2271 Patch from Andrew Walton (awalton@gmail.com)
2273 2007-11-06 Alexander Larsson <alexl@redhat.com>
2275 * gio/gappinfo.[ch]:
2276 Added GAppLaunchContext object and pass that to launch.
2277 This allows simple implementation of both
2278 launch-on-screen and startup notification via a gtk+
2279 subclass of GAppLaunchContext
2281 * gio/gdesktopappinfo.c:
2282 Implement GAppLaunchContext API
2284 * gio/gwin32appinfo.c:
2287 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2289 * gio/gmountoperation.c:
2290 Add some guards to GMountOperation's public functions.
2292 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2296 * gio/gcancellable.c:
2297 * gio/gdirectorymonitor.c:
2299 * gio/gfileenumerator.c:
2300 * gio/gfilemonitor.c:,
2301 * gio/gfilenamecompleter.c:
2304 * gio/gioscheduler.c:
2308 * gio/gvolumemonitor.c:
2309 Add even more guards to various public functions.
2311 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2314 Add guards to the public functions of GAppInfo.
2316 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2318 * gio/gcontenttype.c:
2319 Add some more guards for public functions.
2321 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2323 * gio/fam/fam-module.c:
2324 * gio/fam/gfamdirectorymonitor.c:
2325 * gio/fam/gfamdirectorymonitor.h:
2326 * gio/fam/gfamfilemonitor.c:
2327 * gio/fam/gfamfilemonitor.h:
2328 * gio/inotify/ginotifydirectorymonitor.c:
2329 * gio/inotify/ginotifydirectorymonitor.h:
2330 * gio/inotify/ginotifyfilemonitor.c:
2331 * gio/inotify/ginotifyfilemonitor.h:
2332 Add proper copyright information and remove an unused variable
2333 in the GInotifyFileMonitor constructor.
2335 * gio/gcancellable.c:
2336 Add a guard for a public function and an assertion to prevent
2337 an undefined program state.
2339 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2341 * gio/gfileattribute.c:
2342 Don't run into an assertion if the given attribute value is NULL
2343 in g_file_attribute_value_get_*() but instead return a fallback
2344 value that makes sense in most situations. Passing them a attribute
2345 value with the wrong type will still run into an assertion.
2347 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2349 * gio/gfileattribute.c:
2351 Add even more guards to the public functions. Also fix the refcounting
2352 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2353 let g_file_info_list_attributes() filter the attributes by namespace
2354 instead of simply ignoring the namespace parameter.
2356 2007-11-03 Sven Herzberg <sven@imendio.com>
2358 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2359 (This makes gio work on MacOS X again)
2361 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2364 Build the gio subdirectory before the docs. Otherwise the build will
2367 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2368 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2369 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2370 Add guards to the public functions.
2372 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2374 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2375 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2376 to prevent a compiler warning.
2378 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2379 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2380 return something in the non-void function find_topdir_for().
2382 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2389 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2391 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2392 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2393 * gwin32appinfo.c (g_win32_app_info_launch):
2394 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2395 envp_for_startup_id, g_desktop_app_info_launch,
2396 g_desktop_app_info_launch_uris):
2398 Give an opaque 'startup_id' string instead of 'envp'.
2399 Support empty file lists for launching new windows.
2400 Fix infinite recursion bug when launching URIs.
2402 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2405 Add guard to the new g_file_get_uri_scheme() function.
2407 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2410 Convert a g_return_val_if_fail() to setting the GError instead as
2411 otherwise applications have to verify the parameter before otherwise
2412 and the parameter might come directly from the user.
2414 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2416 * gio/inotify/ginotify*.[ch]:
2417 Add missing copyright information.
2419 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2422 Add guards in the beginning of public functions to check for valid
2423 parameters and fix a bug in copy_stream_with_progress() that could've
2424 caused writing less bytes than reading.
2425 * gio/glocalfileinfo.c:
2426 Check for a NULL parameter and set the GError accordingly then.
2427 * gio/goutputstream.c:
2428 Fix the same bug as in gfile.c that could've caused writing less bytes
2429 than reading in g_output_stream_real_splice().
2431 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2434 Use the correct gvolumeprivate.h naming
2436 2007-11-01 Christian Kellner <gicmo@gnome.org>
2439 Remove leftover "$(daemon_sources)" entry.
2441 2007-11-01 Christian Kellner <gicmo@gnome.org>
2446 Add copyright information to source files.
2448 2007-11-01 Alexander Larsson <alexl@redhat.com>
2452 Add g_file_get_uri_scheme
2454 2007-11-01 Alexander Larsson <alexl@redhat.com>
2457 * gio/gdesktopappinfo.c:
2458 * gio/gwin32appinfo.c:
2459 Add g_app_info_get_default_for_uri_scheme.
2461 2007-11-01 Alexander Larsson <alexl@redhat.com>
2464 Correct filename for gdriveprivate.h
2466 2007-10-31 Alexander Larsson <alexl@redhat.com>
2469 Rename id:value to id:file
2472 * gio/glocalfileinfo.c:
2475 2007-10-31 Alexander Larsson <alexl@redhat.com>
2477 * gio/gunixvolume.c:
2479 Remove g_volume_get_platform_id, as thats not
2480 needed with the simpler union volume monitor
2482 2007-10-31 Alexander Larsson <alexl@redhat.com>
2485 * gio/guniondrive.[ch]: Removed.
2486 * gio/gunionvolume.[ch]: Removed.
2487 Remove GUnionDrive/Volume
2489 * gio/gunionvolumemonitor.c:
2490 Simplify union volume monitor, now we
2491 only have one native volume monitor and
2492 we use the actual volumes/drives from the
2493 child monitors instead of wrapping them
2495 * gio/gnativevolumemonitor.[ch]:
2496 Base class for native volume monitors.
2497 Includes priority and get_volume_for_mountpoint
2500 Add g_file_find_enclosing_volume
2503 Remove volume name fs attribute
2504 Add readonly fs attribute
2507 Implement readonly attribute
2508 remove volume name attribute
2509 Implement find_enclosing volume
2511 * gio/gunixmounts.c:
2512 Add a volume for "/".
2514 * gio/gunixvolume.[ch]:
2515 Set better name for /
2517 * gio/gunixvolumemonitor.[ch]:
2518 Derive from GNativeVolumeMonitor
2519 Implement get_volume_for_mountpoint
2522 GVolume typedef moved to gfile.h
2524 * gio/gvolumeprivate.h:
2525 Add g_volume_get_for_mount_path
2527 2007-10-31 Alexander Larsson <alexl@redhat.com>
2529 * gio/gunixmounts.[ch]:
2530 Add cache info to unix mount listers
2531 Make getmntent use threadsafe
2532 Add is_system_internal attribute for GUnixMount
2534 * gio/gunixvolume.c:
2535 (g_unix_volume_new):
2536 Use is_system_internal instead of own code
2538 * gio/glocaldirectorymonitor.c:
2539 * gio/gunixvolumemonitor.c:
2540 Update to new gunixmounts API
2545 2007-10-30 Alexander Larsson <alexl@redhat.com>
2548 Add volume name fsinfo attribute
2551 Read volume name info
2553 * gio/gunionvolumemonitor.c:
2554 Fix infinite loops when finalizing a union volume monitor
2556 2007-10-30 Alexander Larsson <alexl@redhat.com>
2558 * gio/goutputstream.[ch]:
2559 Add splice() with default implementation
2561 * gio/gsocketoutputstream.c:
2562 (g_socket_output_stream_write):
2563 Return error on cancellation correctly.
2565 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2567 * gio/glocalfile.c (g_local_file_trash):
2568 Do not leak a string.
2570 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2572 * gio/gfile.c (g_file_load_contents):
2573 Unref the stream after closing it.
2575 2007-10-25 Alexander Larsson <alexl@redhat.com>
2577 * gio/gioscheduler.h:
2580 2007-10-25 Alexander Larsson <alexl@redhat.com>
2584 Add g_file_has_uri_scheme and implement for local files
2586 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2588 * gio/gdesktopappinfo.c: do not leak a string.
2590 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2592 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2593 (g_local_directory_monitor_new):
2594 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2595 (g_local_file_monitor_new):
2596 Only look for the monitor type that should be used the first time
2597 and use g_qsort_with_data() instead of our own bubble sort
2600 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2603 * gio/fam/Makefile.am:
2604 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2605 * gio/fam/fam-helper.h:
2606 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2607 * gio/fam/gfamdirectorymonitor.c:
2608 * gio/fam/gfamdirectorymonitor.h:
2609 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2610 * gio/fam/gfamfilemonitor.h:
2611 * gio/glocaldirectorymonitor.c:
2612 * gio/glocaldirectorymonitor.h:
2613 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2614 * gio/glocalfilemonitor.h:
2615 * gio/inotify/Makefile.am:
2616 * gio/inotify/ginotifydirectorymonitor.c:
2617 * gio/inotify/ginotifydirectorymonitor.h:
2618 * gio/inotify/ginotifyfilemonitor.c:
2619 * gio/inotify/ginotifyfilemonitor.h:
2620 Implement the FAM and Inotify monitors as
2621 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2622 their own GIO module. GLocal(Directory|File)Monitor will use the
2623 monitor with the highest rank that is supported on that machine.
2625 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2628 Change GIO module dir to $(libdir)/gio/modules and change
2629 the log domain from GVFS to GIO. Also only export symbols starting
2630 with g_ in the resulting library.
2631 * gio/test-streams.c: (main):
2632 Set log handler for the GIO log domain.
2634 2007-10-22 Alexander Larsson <alexl@redhat.com>
2636 * gio/gfilenamecompleter.[ch]:
2637 Add g_filename_completer_set_dirs_only
2639 2007-10-22 Alexander Larsson <alexl@redhat.com>
2642 * gio/gurifuncs.[ch]:
2643 Add some simple URI helpers
2645 * gio/gfilenamecompleter.[ch]:
2646 Added object for filename (parse name actually) completion
2649 Handle ~ in parse names
2651 2007-10-17 Alexander Larsson <alexl@redhat.com>
2654 * gio/glocalfileinfo.c:
2655 Add and implement id:value attribute
2657 2007-10-17 Alexander Larsson <alexl@redhat.com>
2660 * gio/guniondrive.c:
2662 Add and implement g_drive_has_volumes
2664 2007-10-17 Alexander Larsson <alexl@redhat.com>
2667 * gio/glocalfileinfo.[ch]:
2668 Add unix:is_mountpoint and implement for local files
2670 2007-10-16 Alexander Larsson <alexl@redhat.com>
2672 * gio/gunionvolumemonitor.c:
2673 (g_union_volume_monitor_init):
2674 Fix up the unix type getting so that it works with gcc
2676 2007-10-12 Alexander Larsson <alexl@redhat.com>
2679 * gio/glocalfileinfo.c:
2680 Add thumbnail:failed to file info
2682 2007-10-12 Richard Hult <richard@imendio.com>
2684 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2685 optimizing away the get_type call (happens with some gcc versions,
2686 like the one shipped with OS X 10.4).
2688 2007-10-12 Alexander Larsson <alexl@redhat.com>
2690 * gio/glocalfileinfo.c:
2691 (_g_local_file_info_set_attribute):
2692 Fix build if not HAVE_XATTR
2693 Patch from Milosz Derezynski <internalerror@gmail.com>
2695 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2697 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2698 around for review, otherwise I would have asked you before
2701 2007-10-11 Alexander Larsson <alexl@redhat.com>
2704 Add thumbnail:path attribute
2706 * gio/glocalfileinfo.c:
2707 Implement thumbnail:path for local files
2709 2007-10-11 Alexander Larsson <alexl@redhat.com>
2711 * gio/glocalfileinfo.c:
2712 (_g_local_file_info_get):
2713 Avoid duplicate icon names
2715 2007-10-11 Alexander Larsson <alexl@redhat.com>
2717 * gio/gthemedicon.[ch]:
2718 Change g_themed_icon_get_names return type to const
2720 2007-10-10 Alexander Larsson <alexl@redhat.com>
2722 * gio/glocalfileinfo.c:
2723 Don't reference freed memory
2725 2007-10-10 Alexander Larsson <alexl@redhat.com>
2727 * gio/gfileattribute.c:
2730 * gio/glocalfileinfo.c:
2733 2007-10-10 Alexander Larsson <alexl@redhat.com>
2736 Check for NULL icons
2738 * gio/gfileattribute.c:
2739 Don't dup when getting objects (same as for string attributes)
2741 * gio/gicon.c (g_icon_equal):
2742 Safely handle NULLs in equal
2744 2007-10-10 Alexander Larsson <alexl@redhat.com>
2747 Fix c++ compilation issues
2748 Patch from Milosz Derezynski <internalerror@gmail.com>
2750 2007-10-10 Alexander Larsson <alexl@redhat.com>
2752 * programs/gio-monitor-dir.c:
2753 Don't crash if dir monitor not supported.
2755 2007-10-09 Alexander Larsson <alexl@redhat.com>
2758 Add missing G_END_DECLS
2760 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2762 * gio/gfile.c: (g_file_set_display_name),
2763 (g_file_query_settable_attributes),
2764 (g_file_query_writable_namespaces):
2765 Return NULL not FALSE on errors as the return type is a pointer.
2767 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2769 * gio/glocalfile.c: (g_local_file_monitor_file):
2770 Don't call monitor_file on the default interface vtable (which
2771 is NULL) but simply return NULL. The caller, GFile, will create a
2772 polling monitor if NULL is returned.
2774 2007-10-09 Alexander Larsson <alexl@redhat.com>
2778 * gio-unix-2.0.pc.in:
2779 Add gio-unix-2.0.pc if OS_UNIX
2782 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2784 2007-10-09 Alexander Larsson <alexl@redhat.com>
2786 * gio/gunixmounts.[ch]:
2787 Make unix mount monitoring API sane.
2788 Now its just a object with mounts_changed
2789 and mountpoints_changed signals.
2791 * gio/glocaldirectorymonitor.c:
2792 * gio/gunixvolumemonitor.c:
2793 Use new mount monitor api
2795 2007-10-09 Alexander Larsson <alexl@redhat.com>
2797 * gio/gunixmounts.[ch]:
2798 Move guess type into one call for mounts and one for mountpoints
2801 * gio/gunixvolume.c:
2804 2007-10-09 Alexander Larsson <alexl@redhat.com>
2806 * gio/gunixmounts.[ch]:
2807 Remove _ prefix in preparation to make this semi-public
2808 Hide implementation of structs
2810 * gio/glocaldirectorymonitor.c:
2812 * gio/gunixvolume.c:
2813 * gio/gunixvolumemonitor.c:
2814 Update for above API changes
2816 2007-10-08 Alexander Larsson <alexl@redhat.com>
2819 Better polling fallback. This also handles the case where we have
2820 a monitor_file implementation, but it fails.
2822 2007-10-08 Alexander Larsson <alexl@redhat.com>
2826 * gio/gunixmounts.c:
2827 * programs/gio-monitor-dir.c:
2828 * programs/gio-monitor-file.c:
2829 Added cancellable to file monitoring calls.
2830 These are really sync calls and need this.
2832 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2834 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2835 (g_local_vfs_class_init):
2836 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2837 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2839 2007-10-05 Alexander Larsson <alexl@redhat.com>
2841 * gio/gdirectorymonitorprivate.h:
2842 * gio/gfilemonitorprivate.h:
2843 * gio/gdirectorymonitor.h:
2844 * gio/gfilemonitor.h:
2845 Remove *private.h and move to the public API, so that
2846 we can do implementations outside gio (such as in gvfs)
2848 * gio/gdirectorymonitor.c:
2849 * gio/gfilemonitor.c:
2850 * gio/glocaldirectorymonitor.c:
2851 * gio/gpollfilemonitor.c:
2852 * gio/inotify/inotify-helper.c:
2853 * gio/fam/fam-helper.c:
2854 Update to the new header names
2856 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2858 * gio/gdirectorymonitor.c:
2859 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2862 2007-10-04 Alexander Larsson <alexl@redhat.com>
2864 * gio/glocalfileinfo.c (get_access_rights):
2865 Set CAN_TRASH when we can move the file.
2866 We should really also check for a parent trash dir.
2868 2007-10-04 Alexander Larsson <alexl@redhat.com>
2870 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2871 Add can_trash access attribute
2873 2007-10-04 Alexander Larsson <alexl@redhat.com>
2876 (g_local_file_trash):
2877 Create info file first. This is per-spec and allows
2878 us to actually trash directories.
2880 2007-10-02 Alexander Larsson <alexl@redhat.com>
2882 * gio/gdesktopappinfo.c:
2883 Implement the new mime support code.
2884 Always set app as handling mimetype when being set as default for it
2886 2007-10-01 Alexander Larsson <alexl@redhat.com>
2888 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2889 Fix up check for xattrs:
2891 2007-10-01 Alexander Larsson <alexl@redhat.com>
2894 (g_app_info_set_as_default_for_extension):
2895 (g_app_info_add_supports_type):
2896 (g_app_info_can_remove_supports_type):
2897 (g_app_info_remove_supports_type):
2898 Make these fail nicely if not implemented
2900 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2902 * gio/glocalfileoutputstream.c:
2903 * gio/glocalfileoutputstream.h:
2908 * programs/gio-save.c:
2909 Add a GFileCreateFlags argument to operations that can create
2912 2007-10-01 Alexander Larsson <alexl@redhat.com>
2914 * gio/gappinfo.[ch]:
2915 * gio/gdesktopappinfo.c:
2916 Add more (stubbed out) mime API needed for nautilus
2918 2007-10-01 Alexander Larsson <alexl@redhat.com>
2921 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2922 Add g_app_info_set_as_default_for_extension.
2924 * gio/gdesktopappinfo.c:
2925 Dummy for g_app_info_set_as_default_for_extension
2926 Support flags in g_app_info_create_from_commandline
2928 * gio/gwin32appinfo.c:
2930 Update for API changes
2932 * gio/gthemedicon.c:
2933 Properly NULL-terminate list of icon names
2935 2007-09-28 Alexander Larsson <alexl@redhat.com>
2937 * gio/gloadableicon.h:
2938 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2940 2007-09-28 Alexander Larsson <alexl@redhat.com>
2943 Install headers in $includedir/gio-standalone/
2945 * gio-2.0.pc.in: Added.
2946 * gio-standalone.pc.in: Removed.
2949 Renamed pkg-config file to match glib (for future move)
2950 Update to the new include dir
2953 Add more TODO comments
2955 2007-09-28 Alexander Larsson <alexl@redhat.com>
2957 * gio/gdesktopappinfo.[ch]:
2958 Expose new_from_filename
2959 Add getter for is_hidden and handle it better
2961 2007-09-28 Alexander Larsson <alexl@redhat.com>
2963 * gio/gfileinfo.[ch]:
2964 Rename g_file_size_format_for_display to
2965 g_format_file_size_for_display.
2966 Now it doesn't have the g_file prefix, so we
2967 can later move it to glib.
2969 2007-09-28 Alexander Larsson <alexl@redhat.com>
2971 * gio/gappinfo.[ch]:
2972 Add g_app_info_get_id and g_app_info_get_executable.
2973 Make all getters non-reffing
2974 Make g_app_info_launch take GFile arguments.
2975 Add must_support_uris argument to g_app_info_get_default_for_type.
2977 * gio/gwin32appinfo.c:
2978 Update to GAppInfo api changes
2980 * gio/gdesktopappinfo.c:
2981 Update to GAppInfo api changes
2982 Implement supports_xdg_startup_notify
2984 * gio/gfileicon.c (g_file_icon_get_file):
2985 Make getter non-reffing.
2990 2007-09-27 Alexander Larsson <alexl@redhat.com>
2992 * gio/gfileinfo.[ch]:
2993 Add g_file_size_format_for_display helper
2995 2007-09-27 Alexander Larsson <alexl@redhat.com>
2997 * gio/glocalfileinfo.c:
2998 Set UNIX_GID from gid, not from uid
3000 2007-09-27 Alexander Larsson <alexl@redhat.com>
3003 Add g_file_set_attributes_async
3005 2007-09-27 Alexander Larsson <alexl@redhat.com>
3007 * gio/glocalfile.c (g_local_file_set_display_name):
3008 Fix set_display_name to actually rename to the right place.
3009 Use lstat to look for existing files so we don't overwrite
3012 2007-09-26 Alexander Larsson <alexl@redhat.com>
3015 Add g_file_set_display_name_async()
3017 2007-09-26 Alexander Larsson <alexl@redhat.com>
3020 Add load_partial_contents async calls
3023 Make internal function static
3025 2007-09-26 Alexander Larsson <alexl@redhat.com>
3027 * gio/glocalfileinfo.c:
3028 Correctly detect broken symlinks
3030 2007-09-26 Alexander Larsson <alexl@redhat.com>
3032 * gio/gcancellable.c (g_cancellable_cancel):
3033 Allow cancel on NULL cancellable
3035 2007-09-25 Alexander Larsson <alexl@redhat.com>
3037 * gio/gsimpleasyncresult.c:
3038 Don't allocate g_error manually.
3039 Fixes g_slice/g_new mixup crash
3041 2007-09-25 Alexander Larsson <alexl@redhat.com>
3043 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3044 Actually set active_backend.
3045 This means the monitor will be cancelled correctly.
3047 2007-09-25 Alexander Larsson <alexl@redhat.com>
3049 * gio/gdirectorymonitor.c:
3050 Set timeout to NULL when destroying
3052 2007-09-25 Alexander Larsson <alexl@redhat.com>
3055 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3056 that is a better description of the error.
3058 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3060 * gio/gvfs.c: (g_vfs_get_local):
3061 Make the local vfs variable static. The same instance should
3064 2007-09-24 Alexander Larsson <alexl@redhat.com>
3066 * gio/glocalfileinfo.c:
3067 Pass in actual length read into sniffer, not the length
3070 2007-09-21 Alexander Larsson <alexl@redhat.com>
3072 * gio/gfileenumerator.c:
3075 * gio/gfileinputstream.c:
3076 * gio/gfileoutputstream.c:
3077 * gio/ginputstream.c:
3078 * gio/goutputstream.c:
3079 Don't crash if async callbacks are NULL
3081 2007-09-20 Alexander Larsson <alexl@redhat.com>
3084 Add async enumerate_children method and default
3087 2007-09-20 Alexander Larsson <alexl@redhat.com>
3090 Add g_file_contains_file & g_file_get_relative_path, since they
3091 were needed for nautilus.
3092 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3097 Implement new methods
3099 2007-09-17 Alexander Larsson <alexl@redhat.com>
3102 * gio/gfileinputstream.[ch]:
3103 * gio/gfileoutputstream.[ch]:
3105 * gio/glocalfileenumerator.[ch]:
3106 * gio/glocalfileinfo.[ch]:
3107 * gio/glocalfileinputstream.c:
3108 * gio/glocalfileoutputstream.c:
3109 * gio/gpollfilemonitor.c:
3110 * programs/gio-copy.c:
3111 * programs/gio-info.c:
3112 * programs/gio-move.c:
3113 Rename get_file_info to query_info() to make it clearer
3114 that these are not simple getters, but do i/o.
3116 2007-09-17 Alexander Larsson <alexl@redhat.com>
3118 * gio/gdatainputstream.[ch]:
3119 * gio/test-streams.c:
3120 Use _read_XXX instead of _get_XXX for the i/o calls
3123 2007-09-17 Alexander Larsson <alexl@redhat.com>
3126 Added needed stuff to TODO comment
3128 2007-09-17 Alexander Larsson <alexl@redhat.com>
3130 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3131 Don't error out removing the backup copy if it doesn't
3134 2007-09-14 Alexander Larsson <alexl@redhat.com>
3136 * programs/Makefile.am:
3137 * programs/gvfs-*.c:
3139 Renamed apps from gvfs-xxx to gio-xxx.
3141 2007-09-14 Alexander Larsson <alexl@redhat.com>
3144 * gio/gfileoutputstream.[ch]:
3145 * gio/glocalfileoutputstream.c:
3146 * programs/gvfs-save.c:
3147 g_file_output_stream_get_etag doesn't do i/o, so remove
3148 cancellation and error.
3150 2007-09-14 Alexander Larsson <alexl@redhat.com>
3153 Add new_etag output to replace_contents functions
3155 2007-09-14 Alexander Larsson <alexl@redhat.com>
3157 * gio/gfileoutputstream.[ch]:
3158 Add async get_file_info and default implementation
3160 2007-09-14 Alexander Larsson <alexl@redhat.com>
3162 * gio/gfileinputstream.c:
3163 Implement fallback wrapper for async get_file_info
3165 2007-09-14 Alexander Larsson <alexl@redhat.com>
3168 Add etag out argument to load_contents
3173 2007-09-14 Alexander Larsson <alexl@redhat.com>
3175 * gio/gcontenttype.c (looks_like_text):
3176 Whitespace like tab, cr and lf do not make the
3179 2007-09-14 Alexander Larsson <alexl@redhat.com>
3181 * gio/gfileinputstream.[ch]:
3182 Add async get_file_info.
3184 2007-09-13 Alexander Larsson <alexl@redhat.com>
3186 * gio/goutputstream.c (g_output_stream_write_all):
3187 Allow NULL for bytes_written
3189 2007-09-13 Alexander Larsson <alexl@redhat.com>
3191 * gio/gmemoryinputstream.[ch]:
3192 Add accessors for data
3194 2007-09-13 Alexander Larsson <alexl@redhat.com>
3196 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3197 Don't crash if length is NULL