1 2008-01-25 Alexander Larsson <alexl@redhat.com>
4 Don't make local copy of desktop file
5 for mimetype changes if the file already
6 supports the new mimetype.
8 2008-01-25 Matthias Clasen <mclasen@redhat.com>
12 * gbufferedinputstream.c:
13 * glocalfile.c: String improvements. (#511966,
14 Theppitak Karoonboonyanan)
16 2008-01-24 Matthias Clasen <mclasen@redhat.com>
18 * gioscheduler.h: Expand docs a bit.
20 2008-01-24 Alexander Larsson <alexl@redhat.com>
23 Add g_drive_get_identifier and
24 g_drive_enumerate_identifiers
27 Add g_volume_get_identifier and
28 g_volume_enumerate_identifiers
34 Implement identifiers for unix backend
36 2008-01-24 Alexander Larsson <alexl@redhat.com>
41 Add g_file_copy_async() (#511580)
42 Based on patch from Carlos Garcia Campos
44 2008-01-23 Matthias Clasen <mclasen@redhat.com>
46 * gioscheduler.c: Some documentation additions.
48 2008-01-22 Alexander Larsson <alexl@redhat.com>
51 (g_desktop_app_info_new):
54 2008-01-22 Alexander Larsson <alexl@redhat.com>
57 (g_desktop_app_info_new_from_filename):
60 2008-01-22 Alexander Larsson <alexl@redhat.com>
62 * glocalfileinfo.c (get_thumbnail_attributes):
65 2008-01-22 Alexander Larsson <alexl@redhat.com>
68 (canonicalize_filename):
69 Canonicalize paths that start with more than
74 (test_g_file_new_for_path):
77 2008-01-22 Alexander Larsson <alexl@redhat.com>
80 Allow UTF-8 in file:// parse names.
83 * tests/data-input-stream.c:
84 * tests/data-output-stream.c:
85 * tests/g-file-info.c:
87 Added a bunch of tests from Tomas Bzatek
89 2008-01-21 Matthias Clasen <mclasen@redhat.com>
91 * === Released 2.15.3 ===
93 2008-01-21 Alexander Larsson <alexl@redhat.com>
95 * gfileinputstream.[ch]:
96 * gfileoutputstream.[ch]:
98 Remove duplicated GSeekable functions. (#509990)
99 Just use the g_seekable_xxx() calls instead.
101 2008-01-21 Matthias Clasen <mclasen@redhat.com>
104 * gvolumemanager.c: Whitespace cleanups.
106 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
107 Use the right mode when creating the file.
109 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
112 * gfileinputstream.c:
114 * goutputstream.c: Documentation: Fixed minor typos
115 and added more mentions of specific _finish() functions.
117 2008-01-21 Alexander Larsson <alexl@redhat.com>
119 * inotify/Makefile.am:
120 * inotify/inotify-helper.c:
121 * inotify/inotify-kernel.c:
122 * inotify/inotify-path.c:
123 * inotify/local_inotify.h: Removed.
124 * inotify/local_inotify_syscalls.h: Removed.
125 Removed the included copies of the inotify
126 headers. We now only use the <sys/inotify.h>
127 header which exists on modern systems.
128 This fixes problems on ARM and SH5 (#510448)
129 but is also generally much cleaner and future
130 safe. For instance, if other OSes add support
131 for inotify it should "just work".
133 2008-01-20 Matthias Clasen <mclasen@redhat.com>
135 * inotify/*.c: Coding style fixes.
136 * inotify/inotify-missing.c: Use g_timeout_add_seconds
137 for the 1/4 Hz timer.
139 2008-01-20 Matthias Clasen <mclasen@redhat.com>
143 * gmemoryinputstream.c:
144 * gmemoryoutputstream.c:
146 * gthemedicon.c: Documentation updates
148 2008-01-20 Murray Cumming <murrayc@murrayc.com>
150 * gfile.c: documentation: Fixed more minor
153 2008-01-18 Murray Cumming <murrayc@murrayc.com>
155 * gmount.c: (g_mount_remount): documentation:
156 Mention g_mount_remount_finish() instead of
157 g_mount_unmount_finish().
159 2008-01-18 Murray Cumming <murrayc@murrayc.com>
163 * gfile.c: Fixed some minor typos in the
166 2008-01-18 Murray Cumming <murrayc@murrayc.com>
168 * gio/gvolumemonitor.c:
169 (g_volume_monitor_get_connected_drives):
170 (g_volume_monitor_get_volumes):
171 (g_volume_monitor_get_mounts): Documentation:
172 Clarify the ownership of the regurn GLists.
174 2008-01-17 Alexander Larsson <alexl@redhat.com>
177 Add the async find_enclosing_mount version
178 to the header file too.
180 2008-01-17 Alexander Larsson <alexl@redhat.com>
183 Add async version of find_enclosing_mount
184 with default implementation.
186 2008-01-17 Alexander Larsson <alexl@redhat.com>
191 Allow calls to implementation of copy and write
192 even if the type of the file implementations is
193 different. This can be used to implement native
194 upload and download calls in a vfs.
198 Protect against the case where move is called
199 with one file not being local.
201 Make sure we call the progress callback once
202 in the native move operation so that the caller
203 knows how many bytes were copied.
205 2008-01-16 Murray Cumming <murrayc@murrayc.com>
208 * gdatainputstream.c:
210 * gfileoutputstream.c:
215 * gunixmounts.c: Corrected some typos in the documentation:
217 its -> it's (where appropriate).
219 2008-01-16 Alexander Larsson <alexl@redhat.com>
223 Add g_file_query_exists (#508771)
225 2008-01-15 Murray Cumming <murrayc@murrayc.com>
230 * gvolume.c: For async functions that have no non-async
231 version, document that the GAsyncReadyCallback may be NULL.
234 2008-01-15 Alexander Larsson <alexl@redhat.com>
236 * gmemoryinputstream.c:
237 * gmemoryoutputstream.c:
238 Don't do pointer arithmetic on void * (#508602)
239 Patch from Kazuki IWAMOTO
241 2008-01-14 Matthias Clasen <mclasen@redhat.com>
243 * === Released 2.15.2 ===
245 2008-01-14 Alexander Larsson <alexl@redhat.com>
247 * gfile.c (g_file_monitor_file):
248 Don't set error here, since we fallback to polling monitor.
250 2008-01-14 Alexander Larsson <alexl@redhat.com>
253 (g_file_monitor_directory):
254 (g_file_monitor_file):
255 Add GError to file monitor calls
257 * glocaldirectorymonitor.c:
258 * glocaldirectorymonitor.h:
260 * glocalfilemonitor.c:
261 * glocalfilemonitor.h:
263 Update for above change
265 2008-01-14 Alexander Larsson <alexl@redhat.com>
269 Handle root correctly in g_file_get_relative_path (#508719)
271 2008-01-14 Alexander Larsson <alexl@redhat.com>
274 Clean up docs and example for GAsyncResult (#508074)
276 2008-01-11 Murray Cumming <murrayc@murrayc.com>
278 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
279 and correct some spelling mistakes. Bug #508108.
281 2008-01-11 Matthias Clasen <mclasen@redhat.com>
283 * glocalfileinfo.c: Add a comment.
285 2008-01-10 Murray Cumming <murrayc@murrayc.com>
287 * gfileinfo.c: GFileInfo description: Mention
288 how to actually set attributes in a GFile and how to discover
289 which attributes are settable. Bug #508378.
291 2008-01-10 A. Walton <awalton@svn.gnome.org>
293 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
294 (g_app_info_get_default_for_type):
295 Check for NULL content types.
297 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
299 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
301 2008-01-09 Murray Cumming <murrayc@murrayc.com>
303 * gfile.c: *_async() functions: Several small corrections
304 to the documentation, mostly correcting copy/paste errors
305 and improving some sentences.
307 2008-01-09 Dan Winship <danw@gnome.org>
309 * glocalfile.c (get_unique_filename): x86_64 fix
311 2008-01-09 Alexander Larsson <alexl@redhat.com>
316 Add g_unix_mount_guess_should_display and use
317 for unix volume monitor backend.
318 This means we more or less show what the
319 gnome-vfs backend did.
320 Based on patch from Padraig O'Briain
322 2008-01-09 Alexander Larsson <alexl@redhat.com>
326 Add g_themed_icon_new_with_default_fallbacks
329 Use default fallbacks for icons
331 2008-01-09 Alexander Larsson <alexl@redhat.com>
334 * gmountoperation.[ch]:
335 Change the API a bit so that unhandled methods
336 get reported via the reply, rather than by
337 the signal emission return value. This is because
338 some handlers can't know this immediately without
339 doing I/O, and this is an async operation that
342 2008-01-09 Alexander Larsson <alexl@redhat.com>
345 * fam/gfamdirectorymonitor.c:
346 * fam/gfamfilemonitor.c:
347 Fix double free crash (#508224)
348 Patch from Joe Marcus Clarke
350 008-01-07 Matthias Clasen <mclasen@redhat.com>
352 * === Released 2.15.1 ===
354 2008-01-07 Alexander Larsson <alexl@redhat.com>
356 * gunixinputstream.c (g_unix_input_stream_skip_finish):
357 Fix warning (#507835)
359 2008-01-07 Alexander Larsson <alexl@redhat.com>
362 Pass --internal to glib-genmarshal
367 Use better types for signal arguments (#507822)
369 2008-01-07 Alexander Larsson <alexl@redhat.com>
372 Build test subdir after .
373 Remove gdirectorymonitor.[ch]
375 * gdirectorymonitor.[ch]:
379 Remove GDirectoryMonitor and make
380 GFileMonitor the baseclass for both file and
381 directory monitors. Lift the more generic
382 rate limiting code from GDirectoryMonitor
386 * fam/gfamdirectorymonitor.[ch]:
387 * inotify/ginotifydirectorymonitor.[ch]:
388 * inotify/inotify-helper.c:
389 * glocaldirectorymonitor.[ch]:
392 Update for the removed GDirectoryMonitor.
394 * gmemoryoutputstream.c:
395 Remove ununsed variable
397 2008-01-07 Alexander Larsson <alexl@redhat.com>
399 * gmemoryinputstream.c:
400 Translate error strings
403 * gmemoryoutputstream.[ch]:
404 New implementation that avoids using GByteArray
405 in implementation and API. (#506377)
407 2008-01-06 Matthias Clasen <mclasen@redhat.com>
409 * tests/*: Add a test for memory input streams.
411 * Makefile.am: Add tests to SUBDIRS.
413 2008-01-06 Matthias Clasen <mclasen@redhat.com>
415 * glocalfilemonitor.c:
416 * glocaldirectorymonitor.c: Mark property nicks and blurbs
419 2008-01-06 Matthias Clasen <mclasen@redhat.com>
421 * gdesktopappinfo.c: Fix a docs typo.
423 * gfileattribute.c: Add information about extended attributes
424 to the documentation. (#505058)
426 2008-01-04 Alexander Larsson <alexl@redhat.com>
430 Use the right type (uint) for the ask_password signal.
432 2008-01-04 Alexander Larsson <alexl@redhat.com>
437 Add g_app_info_supports_files()
438 Remove desktop arg from g_app_info_should_show().
440 * gdesktopappinfo.[ch]:
441 Implement g_app_info_supports_files() and new should_show()
442 Add g_desktop_app_info_set_desktop_env() to set the desktop
443 for should_show(). (This will be set by gtk+ later)
445 2008-01-04 Alexander Larsson <alexl@redhat.com>
448 * gmemoryinputstream.[ch]:
449 Improve API so that you can use multiple chunks
450 of memory and custom destroy functions. (#506374)
452 2008-01-03 Alexander Larsson <alexl@redhat.com>
455 Handle NULL attribute matchers safely, as we return this
456 for empty attribute matcher strings.
458 2008-01-03 Alexander Larsson <alexl@redhat.com>
460 * gunixmounts.c (g_unix_is_mount_path_system_internal):
461 Add /usr/local to list of internal mountpoints
463 2008-01-03 Alexander Larsson <alexl@redhat.com>
466 Check for HAVE_LCHOWN (#505887)
468 2008-01-03 Alexander Larsson <alexl@redhat.com>
472 Add define for selinux context attribute.
473 Fix missing : -> :: namespace separator change
474 Fix missing _ -> - name change for xattr-sys.
477 2008-01-03 Alexander Larsson <alexl@redhat.com>
480 Link to libglib and libgobject directly (#504879)
481 Patch from Sebastien Bacher
483 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
485 * gfile.c: Expanded the g_file_new_for_commandline_arg
486 description a bit, based on the code and the docs of the
487 other g_file_new_for_* functions.
489 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
491 * gfilemonitor.h: Fixed typo in docs.
493 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
495 Updates to GIO documentation. (#506395, Mikael Hermansson)
497 * gcontenttype.c: Describe memory management for return value of
498 g_content_types_get_registered(). Missing piece from #505815.
499 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
500 GVolume, GDrive, GMounts, which hopefully gives the user less
501 confusions when using this API. Following explainations from
502 Alexander Larsson on gtk-devel-list.
504 2007-12-30 Matthias Clasen <mclasen@redhat.com>
506 * gfileinfo.c: Expand the long description.
508 2007-12-30 Matthias Clasen <mclasen@redhat.com>
511 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
512 fix builds with --disable-visibility. (#500273, Christian Persch)
514 2007-12-30 Matthias Clasen <mclasen@redhat.com>
516 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
517 in the list of returned app infos.
519 2007-12-30 Matthias Clasen <mclasen@redhat.com>
521 * gappinfo.c: Fix a cross-reference
523 2007-12-30 Matthias Clasen <mclasen@redhat.com>
525 * gfileinputstream.c:
526 * gfileoutputstream.c:
532 * gfileinfo.c: Documentation updates.
534 2007-12-26 Matthias Clasen <mclasen@redhat.com>
536 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
539 2007-12-26 Matthias Clasen <mclasen@redhat.com>
541 * gcontenttype.c (g_content_types_get_registered): Don't return
542 freed memory (#505815, Mikael Hermansson)
544 2007-12-25 Paolo Borelli <pborelli@katamail.com>
546 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
547 used to detect statbuf->st_blocks. (#505042)
549 2007-12-24 Matthias Clasen <mclasen@redhat.com>
551 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
552 environment handling. (#504829, Cosimo Cecchi)
554 2007-12-22 Matthias Clasen <mclasen@redhat.com>
556 * gappinfo.c: Doc improvements
558 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
561 2007-12-20 Matthias Clasen <mclasen@redhat.com>
563 * === Released 2.15.0 ===
565 2007-12-20 Hans Breuer <hans@breuer.org>
567 * makefile.msc : don't build gdesktopappinfo.obj, it collides
568 with symbols gwin32appinfo.obj, added gmount.obj
569 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
571 2007-12-20 Alexander Larsson <alexl@redhat.com>
577 * gfilenamecompleter.c:
580 * gpollfilemonitor.c:
581 File attribute renames:
584 id::fs -> id::filesystem
586 2007-12-20 Alexander Larsson <alexl@redhat.com>
595 Add GMountUnmountFlags to all unmount and
597 Add g_mount_remount() call.
599 2007-12-20 Alexander Larsson <alexl@redhat.com>
601 * gvfs.c (get_default_vfs):
602 Fix unused variable warning
604 2007-12-19 Matthias Clasen <mclasen@redhat.com>
606 * pltcheck.sh: Update
608 2007-12-19 Matthias Clasen <mclasen@redhat.com>
610 * gunionvolumemonitor.c:
611 * gunixmount.c: Remove C99 comments
613 2007-12-19 Matthias Clasen <mclasen@redhat.com>
615 * gio.symbols: Add some missing symbols
617 2007-12-19 Alexander Larsson <alexl@redhat.com>
620 Make g_io_modules_load_all_in_directory not unuse
621 loaded modules so that users of it can do stuff
623 Init internal "module" types.
624 Initialize static prio and name for types so that
625 we don't have to load modules to get it.
627 * gnativevolumemonitor.h:
629 Move is_supported to parent class so that
630 non-native monitors can avoid being initialized
631 too. (For instance GDaemonVolumeMonitor if we're
632 not using GDaemonVfs.)
634 * glocaldirectorymonitor.[ch]:
635 * glocalfilemonitor.[ch]:
636 * gunionvolumemonitor.c:
637 * gunixvolumemonitor.c:
639 Find plugins using the static prio+name to
640 avoid unnecessarily loading the modules.
642 2007-12-19 Alexander Larsson <alexl@redhat.com>
647 2007-12-19 Alexander Larsson <alexl@redhat.com>
649 * gunionvolumemonitor.c:
650 Store the native type as GType, not class so that
651 we can unload it. But still avoid unnecessarily
654 2007-12-19 David Zeuthen <davidz@redhat.com>
656 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
657 add signals 'disconnected' and 'eject-button' on GDrive. Add
658 signal 'removed' on GVolume and 'unmounted' on GMount.
660 * gdrive.c: (g_drive_base_init):
662 * gfile.c: (g_file_mount_mountable),
663 (g_file_mount_enclosing_volume):
666 * gmount.c: (g_mount_base_init):
668 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
669 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
670 * gvolume.c: (g_volume_base_init), (g_volume_mount):
674 2007-12-17 Matthias Clasen <mclasen@redhat.com>
676 * *.c: Fix up includes in the section docs.
678 2007-12-17 Alexander Larsson <alexl@redhat.com>
680 * gnativevolumemonitor.h:
681 * gunionvolumemonitor.c:
682 * gunixvolumemonitor.c:
683 Add is_supported() to GNativeVolumeMonitorClass so
684 that we can avoid having to create an object to see
685 if the backend is supported at runtime.
686 Also add name member and an env var to pick a specific
687 volume monitor backend.
691 Add cancellable to _g_mount_get_for_mount_path()
693 * glocaldirectorymonitor.c:
694 * glocalfilemonitor.c:
695 Avoid loading and unloading modules while sorting.
697 2007-12-17 Matthias Clasen <mclasen@redhat.com>
700 * gunixmounts.[hc]: Namespace waste reduction, move some
701 g_get_unix_mount functions to the g_unix_mount namespace.
704 * gunixvolumemonitor.c:
706 * glocaldirectorymonitor.c: Update all callers.
708 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
710 2007-12-17 Alexander Larsson <alexl@redhat.com>
713 Add doc comments about what GFile operations are
714 guaranteed to not block.
716 2007-12-17 Alexander Larsson <alexl@redhat.com>
719 Add missing #ifdef fixing OSX build.
720 (#503334, patch from Richard Hult)
722 2007-12-14 David Zeuthen <davidz@redhat.com>
726 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
727 (g_mount_eject), (g_mount_eject_finish):
729 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
730 (get_volume_for_uuid), (get_mount_for_uuid),
731 (g_union_volume_monitor_class_init),
732 (get_default_native_type_with_exclude), (get_default_native_type),
733 (get_native_type), (update_native_type),
734 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
735 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
736 (g_unix_mount_can_eject), (eject_unmount_cb),
737 (eject_unmount_read_error), (eject_unmount_do),
738 (g_unix_mount_unmount), (g_unix_mount_eject),
739 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
740 * gunixmounts.c: (g_unix_mount_guess_can_eject),
741 (g_unix_mount_point_guess_can_eject):
743 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
744 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
745 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
746 (g_unix_volume_mount), (g_unix_volume_eject),
747 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
748 * gunixvolumemonitor.c: (get_volume_for_uuid),
749 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
751 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
752 (g_volume_eject), (g_volume_eject_finish):
754 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
755 (g_volume_monitor_get_mount_for_uuid):
758 Provide eject() on both GMount and GVolume and utility functions
759 to guess whether a GUnixMountPoint or GUnixMountEntry should be
760 ejected. Introduce the concept of UUID's and wire it into GVolume
761 and GMount and provide API on GVolumeMonitor to find such
762 instances. Also handle the case where an external
763 GNativeVolumeMonitor fails to initialize. Lock around the
764 _g_get_mount_for_mount_path() function such that volume monitor
765 implementations won't have to do locking themselves.
767 2007-12-17 Matthias Clasen <mclasen@redhat.com>
775 * gvolume.h: Documentation updates
777 2007-12-14 Matthias Clasen <mclasen@redhat.com>
780 * gfile.h: Doc updates
782 2007-12-14 Matthias Clasen <mclasen@redhat.com>
785 * gdesktopappinfo.c: Use hash table iterators.
787 2007-12-14 Alexander Larsson <alexl@redhat.com>
790 * gfileattribute.[ch]:
791 * gfileattribute-priv.h:
792 Move GFileAttributeValue to a private header, as
796 Make set_attribute take a type + a pointer instead
797 of a GFileAttributeValue.
800 Fix up for above changes.
801 Add g_file_info_get_attribute_data to get
802 all info in one call, g_file_info_get_attribute_status
803 to get the status and g_file_info_get_attribute_as_string.
807 * glocalfileinfo.[ch]:
811 Make _guess_type static.
813 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
816 * inotify/Makefile.am: Fixed build when srcdir != builddir,
817 made mkenums and friends use temporary files to avoid leaving
818 empty generated files on failure (#503470).
820 2007-12-14 Alexander Larsson <alexl@redhat.com>
825 2007-12-14 Alexander Larsson <alexl@redhat.com>
829 * gfileattribute.[ch]:
832 * glocalfileoutputstream.c:
833 * gmountoperation.[ch]:
834 * goutputstream.[ch]:
835 Clean up all flags enums to not have _FLAGS in them
836 Make the names of some of the enums better.
841 2007-12-14 Michael Natterer <mitch@imendio.com>
843 * gio.symbols: fix g_io_scheduler symbol names.
845 2007-12-14 Alexander Larsson <alexl@redhat.com>
851 * gbufferedinputstream.h:
852 * gbufferedoutputstream.h:
855 * gdatainputstream.h:
856 * gdataoutputstream.h:
858 * gdirectorymonitor.h:
865 * gfileinputstream.h:
867 * gfilenamecompleter.h:
868 * gfileoutputstream.h:
869 * gfilterinputstream.h:
870 * gfilteroutputstream.h:
878 * gmemoryinputstream.h:
879 * gmemoryoutputstream.h:
884 * gsimpleasyncresult.h:
886 * gunixinputstream.h:
888 * gunixoutputstream.h:
892 * inotify/Makefile.am:
893 Only allow including <gio/gio.h> from apps
895 2007-12-14 Alexander Larsson <alexl@redhat.com>
898 * gsimpleasyncresult.c:
899 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
900 Split out the send_to_mainloop call into two versions instead
901 of having the block argument.
903 2007-12-13 Alexander Larsson <alexl@redhat.com>
907 * gbufferedinputstream.c:
909 * gfileinputstream.c:
910 * gfileoutputstream.c:
914 g_push/pop_current_cancellable ->
915 g_cancellable_push/pop_current
917 2007-12-13 Alexander Larsson <alexl@redhat.com>
921 Rename g_mount_for_location to g_file_mount_enclosing_volume.
923 2007-12-13 Alexander Larsson <alexl@redhat.com>
926 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
928 2007-12-12 Alexander Larsson <alexl@redhat.com>
931 Fix race condition when freeing proxy in
932 g_io_job_send_to_mainloop().
934 2007-12-12 Alexander Larsson <alexl@redhat.com>
940 Make attribute namespace separator "::" instead of ":".
941 Use - instead of _ as separator in attribute names.
943 2007-12-12 Alexander Larsson <alexl@redhat.com>
945 * gbufferedinputstream.h:
946 * gbufferedoutputstream.h:
947 * gdatainputstream.h:
948 * gdataoutputstream.h:
949 * gdirectorymonitor.h:
951 * gfileinputstream.h:
953 * gfileoutputstream.h:
954 * gfilterinputstream.h:
955 * gfilteroutputstream.h:
957 * glocalfileinputstream.h:
958 * glocalfileoutputstream.h:
959 * gmemoryinputstream.h:
960 * gmemoryoutputstream.h:
961 * gnativevolumemonitor.h:
963 * gunixinputstream.h:
964 * gunixoutputstream.h:
967 s/parent/parent_instance/ in GObjects
969 2007-12-12 Alexander Larsson <alexl@redhat.com>
974 No need for padding for interfaces
976 2007-12-12 Alexander Larsson <alexl@redhat.com>
980 * gbufferedinputstream.c:
981 * gbufferedoutputstream.c:
984 * gdatainputstream.[ch]:
986 * gdirectorymonitor.c:
988 * gfileattribute.[ch]:
991 * gfileinputstream.h:
993 * gfileoutputstream.[ch]:
994 * gfilterinputstream.h:
995 * gfilteroutputstream.h:
998 * gloadableicon.[ch]:
999 * gmemoryinputstream.c:
1000 * gmountoperation.c:
1002 Fix up a bunch of details in the docs.
1007 2007-12-11 David Zeuthen <davidz@redhat.com>
1009 Rework how volumes, drives and volume monitoring is
1010 done. Previosly the model was
1012 GDrive <1-1> GVolume
1014 where a GDrive instance represented a mount point and a GVolume
1015 instance represented a mounted file system. This patch changes it
1018 GDrive <1-N> GVolume <1-1> GMount
1020 where GMount now serves the purpose of the old GVolume and the new
1021 GVolume serves the purpose of the old GDrive. In addition the new
1022 GDrive interface is used to represent a collection of GVolume
1023 instances (typically partitions) and also contains utility to query
1024 the state of the physical drive the GDrive object represents (such
1025 as checking for media, polling the drive, ejecting the media etc.).
1027 Also implement mounting and unmounting in the Unix volume monitor
1028 backend. A subquent patch will introduce GDrive support for ejection
1032 * gdrive.c: (g_drive_is_media_check_automatic),
1033 (g_drive_is_media_removable), (g_drive_has_media),
1034 (g_drive_can_poll_for_media), (g_drive_eject),
1035 (g_drive_eject_finish), (g_drive_poll_for_media),
1036 (g_drive_poll_for_media_finish):
1038 * gfile.c: (g_file_find_enclosing_mount):
1041 * glocaldirectorymonitor.c:
1042 (g_local_directory_monitor_constructor), (mounts_changed):
1043 * glocalfile.c: (get_mount_info),
1044 (g_local_file_find_enclosing_mount),
1045 (g_local_file_file_iface_init):
1046 * gnativevolumemonitor.h:
1047 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1048 (get_connected_drives), (g_union_volume_monitor_class_init),
1049 (child_volume_added), (child_volume_removed),
1050 (child_volume_changed), (child_mount_added), (child_mount_removed),
1051 (child_mount_pre_unmount), (child_mount_changed),
1052 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1053 (g_union_volume_monitor_remove_monitor),
1054 (_g_mount_get_for_mount_path):
1055 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1056 (guess_system_internal), (_g_get_unix_mounts),
1057 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1058 (g_unix_mount_free), (g_unix_mount_compare),
1059 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1060 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1061 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1062 (type_to_icon), (g_unix_mount_guess_name),
1063 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1064 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1065 (_resolve_symlink), (_resolve_dev_root):
1067 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1068 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1069 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1070 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1071 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1072 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1073 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1074 (g_unix_volume_volume_iface_init):
1076 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1077 (get_mounts), (get_volumes), (get_connected_drives),
1078 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1079 (mountpoints_changed), (mounts_changed),
1080 (g_unix_volume_monitor_init),
1081 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1082 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1083 * gunixvolumemonitor.h:
1084 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1085 (g_volume_mount), (g_volume_mount_finish):
1087 * gvolumemonitor.c: (g_volume_monitor_class_init),
1088 (g_volume_monitor_get_connected_drives),
1089 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1092 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1094 * gmountoperation.h (GPasswordFlags): Close the gap
1096 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1098 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1100 * gdesktopappinfo.[hc]: Remove _-prefixes
1102 2007-12-10 Tor Lillqvist <tml@novell.com>
1104 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1107 2007-12-10 Alexander Larsson <alexl@redhat.com>
1109 * gfile.c (g_file_set_display_name):
1110 Don't hardcode '/' (#502727)
1112 2007-12-09 Hans Breuer <hans@breuer.org>
1114 * makefile.msc : follow lib naming convention
1115 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1116 for user and group name, tested with ../tests/gio-ls
1118 2007-12-09 A. Walton <awalton@svn.gnome.org>
1120 * gdesktopappinfo.c:
1126 * gfileenumerator.c:
1131 * gmemoryinputstream.c:
1132 * gmemoryoutputstream.c:
1134 * gsimpleasyncresult.c:
1135 More documentation cleanup and filling in missing information, bringing
1136 GIO to 99% symbol coverage.
1138 2007-12-08 Hans Breuer <hans@breuer.org>
1140 [gio compiles and links on win32, not sure how much already works]
1141 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1142 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1143 base on win32 API; prefer g_lstat() over lstat(); instead of
1144 localtime_r() use an all GLib implementation on win32;
1145 get_mount_info() still needs a win32 specifc implementation
1146 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1147 win32_get_file_user_info to get owner/group info without uid/gid
1148 * glocalfileinputstream.c : include <io.h> on win32
1149 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1150 definition, use g_win32_ftruncate() for G_OS_WIN32
1151 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1152 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1153 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1154 * makefile.msc : updated
1156 2007-12-07 Alexander Larsson <alexl@redhat.com>
1158 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1159 Avoid warning spew if error == NULL
1161 2007-12-07 Alexander Larsson <alexl@redhat.com>
1164 Update docs wrt etags
1166 2007-12-06 Alexander Larsson <alexl@redhat.com>
1169 Include sys/types.h for dev_t (#501919)
1171 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1175 Make abicheck and pltcheck pass.
1177 2007-12-05 Alexander Larsson <alexl@redhat.com>
1180 * giomodule-priv.h: Added.
1181 * glocaldirectorymonitor.c:
1182 * glocalfilemonitor.c:
1183 * gunionvolumemonitor.c:
1185 Actually add the declaration of _g_io_modules_ensure_loaded
1187 2007-12-05 Alexander Larsson <alexl@redhat.com>
1189 * gdatainputstream.c:
1194 * glocaldirectorymonitor.c:
1195 * glocalfilemonitor.c:
1196 * gunionvolumemonitor.c:
1198 Make g_io_modules_ensure_loaded a private function and
1199 don't pass in the dirname. This means we can do magic
1200 directory finding in the win32 version.
1201 Export the actual load-modules-in-directory code so that
1202 gvfs can reuse that.
1204 2007-12-05 Alexander Larsson <alexl@redhat.com>
1206 * gbufferedinputstream.c:
1207 * gbufferedoutputstream.c:
1210 * gfileenumerator.[ch]:
1211 * gfileinputstream.c:
1212 * gfileoutputstream.[ch]:
1213 * gfilterinputstream.c:
1214 * gfilteroutputstream.c:
1215 * ginputstream.[ch]:
1217 * glocalfileenumerator.c:
1218 * glocalfileinputstream.c:
1219 * glocalfileoutputstream.c:
1220 * gmemoryinputstream.c:
1221 * gmemoryoutputstream.c:
1222 * goutputstream.[ch]:
1225 * gunixinputstream.c:
1226 * gunixoutputstream.c:
1227 Rename all struct members named:
1228 read, write, close, truncate, or mount
1229 to foo_fn, as these are reserved names
1230 and could be defined as macros in libc.
1233 2007-12-04 Alexander Larsson <alexl@redhat.com>
1236 (g_output_stream_close):
1237 Only call flush if non-null.
1239 2007-11-30 Dan Winship <danw@gnome.org>
1241 * ginputstream.c (g_input_stream_set_pending): Make this take a
1242 GError and return a gboolean, and do the "outstanding operation"
1243 check (and the "stream is already closed" check) itself.
1244 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1246 * goutputstream.c (g_output_stream_set_pending)
1247 (g_output_stream_clear_pending): Likewise
1249 * gbufferedinputstream.c:
1250 * gfileinputstream.c:
1251 * gfileoutputstream.c: Update for that
1253 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1254 Like g_simple_async_report_error_in_idle, but takes a GError
1255 rather than building one.
1257 2007-11-30 Dan Winship <danw@gnome.org>
1259 * goutputstream.c: Don't cheat and unset the "pending" flag around
1260 inner calls. Instead, call the class method directly rather than
1261 the wrapper function that checks "pending"
1263 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1265 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1267 2007-12-03 Hans Breuer <hans@breuer.org>
1269 [start of port to win32/msvc]
1270 * gcancellable.c : HAVE_UNIST_H and _pipe()
1271 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1272 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1273 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1275 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1276 * glocalvfs.c : use HAVE_PWD_H
1277 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1278 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1279 * Makefile.am : added to EXTRA_DIST
1281 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1283 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1286 2007-12-03 Alexander Larsson <alexl@redhat.com>
1289 Handle OSX style xattrs API (#500506)
1291 2007-12-03 Alexander Larsson <alexl@redhat.com>
1295 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1297 2007-12-02 A. Walton <awalton@svn.gnome.org>
1301 Documentation accuracy fixes.
1303 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1305 * gioenumtypes.c.template: Fix typo.
1307 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1309 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1311 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1313 * gdirectorymonitor.c:
1314 * gfilemonitor.c: Add properties
1316 * gbufferedoutputstream.c: Don't mark buffer-size property
1319 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1321 * gbufferedoutputstream.c: Add auto-grow property.
1323 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1325 * *.c: Unify the capitalization of section headings.
1327 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1329 * gmountoperation.c: Add properties
1331 * gdatainputstream.c: Turn byte-order and newline-type into
1334 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1336 * gioenumtypes.[hc].template: Templates for enum registration
1338 * Makefile.am: Generate gioenumtypes.[hc]
1340 * gio.h: Include gioenumtypes.h
1342 * gfile.h: Add some explicit nicks.
1344 * gio.symbols: Add new symbols
1346 * pltcheck.sh: Adjust
1348 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1350 * *.c: Explain etags and link to the explanation
1352 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1354 * *.c: Explain I/O priority.
1356 * *.c: More coding style fixes.
1358 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1360 * gasyncresult.c: Add another paragraph to the intro,
1361 adjust coding style of example.
1363 2007-11-29 A. Walton <awalton@svn.gnome.org>
1366 Fixes unknown meaning in GAppLaunchContext docs.
1368 Clarify asynchronous ops.
1370 Fix entity tag docs.
1373 Provides missing gtk-doc section, fixes API docs slighly.
1374 * gsimpleasyncresult.c:
1375 Fill in missing info in docs.
1376 * gunixinputstream.c:
1377 * gunixoutputstream.c:
1378 Be more expressive in short description.
1380 Remove gtk-doc stubs for non-public API.
1382 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1384 * *.c: Coding style fixups
1386 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1388 * inotify/inotify-helper.c: Don't export the lock from libgio.
1390 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1393 * abicheck.sh: Fix copy-and-paste leftovers
1395 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1397 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1399 2007-11-28 Alexander Larsson <alexl@redhat.com>
1403 Removed unnecessary file
1405 * gdesktopappinfo.[ch]:
1408 * glocaldirectorymonitor.[ch]:
1410 * glocalfileenumerator.[ch]:
1411 * glocalfileinputstream.[ch]:
1412 * glocalfilemonitor.[ch]:
1413 * glocalfileoutputstream.[ch]:
1415 * gnativevolumemonitor.c:
1416 * gpollfilemonitor.[ch]:
1417 * gunionvolumemonitor.[ch]:
1420 * gunixvolumemonitor.[ch]:
1423 * inotify/ginotifydirectorymonitor.[ch]:
1424 * inotify/ginotifyfilemonitor.[ch]:
1425 * inotify/inotify-helper.c:
1426 Append _ to all internal functions
1430 Export symbols needed for modules
1432 2007-11-28 Alexander Larsson <alexl@redhat.com>
1435 * abicheck.sh: Added.
1436 * makegioalias.pl: Added.
1437 * pltcheck.sh: Added.
1438 * gio.symbols: Added.
1441 Initial work on adding symbol handling.
1444 Correct ifdef guard name
1447 * inotify/Makefile.am:
1448 * xdgmime/Makefile.am:
1449 Include toplevel Makefile.decl
1451 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1453 * gcontenttype.c: Move doc comments to the unix section.
1455 * *.[hc]: More trivial doc corrections.
1457 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1459 * gpollfilemonitor.c:
1463 * gdesktopappinfo.c:
1468 * gdatainputstream.c:
1469 * gdatainputstream.h:
1470 * gdataoutputstream.c:
1471 * gdataoutputstream.h:
1472 * gfileinfo.h: Doc cleanups
1474 2007-11-28 Andre Klapper <a9016009@gmx.de>
1476 * gdesktopappinfo.c: Fix a typo.
1478 2007-11-27 Andre Klapper <a9016009@gmx.de>
1480 * glocalfileoutputstream.c: Fix a typo.
1482 2007-11-27 Alexander Larsson <alexl@redhat.com>
1485 Don't include removed headers
1487 2007-11-27 Alexander Larsson <alexl@redhat.com>
1490 * gsocketinputstream.[ch]: Removed.
1491 * gsocketoutputstream.[ch]: Removed.
1492 * gunixinputstream.[ch]: Added.
1493 * gunixoutputstream.[ch]: Added.
1494 Renamed GSocket*Stream to GUnix*Stream and made
1495 it unix-only, since its not really only for sockets
1496 and it only works on unix (but is highly useful there).
1498 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1504 * gbufferedinputstream.c:
1505 * gbufferedinputstream.h:
1506 * gbufferedoutputstream.c:
1507 * gbufferedoutputstream.h:
1511 * gdatainputstream.c:
1512 * gdatainputstream.h:
1513 * gdataoutputstream.c:
1514 * gdataoutputstream.h:
1515 * gdirectorymonitor.c:
1516 * gdirectorymonitor.h:
1523 * gfileenumerator.c:
1524 * gfileenumerator.h:
1529 * gfileinputstream.c:
1530 * gfileinputstream.h:
1533 * gfilenamecompleter.c:
1534 * gfilenamecompleter.h:
1535 * gfileoutputstream.c:
1536 * gfileoutputstream.h:
1537 * gfilterinputstream.c:
1538 * gfilterinputstream.h:
1539 * gfilteroutputstream.c:
1540 * gfilteroutputstream.h:
1553 * glocalfileoutputstream.c:
1554 * gmemoryinputstream.c:
1555 * gmemoryinputstream.h:
1556 * gmemoryoutputstream.c:
1557 * gmemoryoutputstream.h:
1558 * gmountoperation.c:
1559 * gmountoperation.h:
1562 * gpollfilemonitor.c:
1565 * gsimpleasyncresult.c:
1566 * gsimpleasyncresult.h:
1567 * gsocketinputstream.c:
1568 * gsocketinputstream.h:
1569 * gsocketoutputstream.c:
1570 * gsocketoutputstream.h:
1577 * gunixvolumemonitor.c:
1586 Bumps documentation to 93% symbol coverage, touching most
1587 of the public files. Fixes broken function documentation prototypes.
1588 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1589 gtk-doc headers in private files.
1591 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1593 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1594 (g_buffered_input_stream_read_byte):
1595 * gbufferedinputstream.h:
1596 New functions for efficient access to buffer and simple single byte
1599 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1600 (g_data_input_stream_read_until):
1601 * gdatainputstream.h:
1602 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1603 read_until with multiple stop chars.
1605 2007-11-27 Alexander Larsson <alexl@redhat.com>
1609 * inotify/Makefile.am:
1610 Use the user-specified giomoduledir
1612 2007-11-27 Alexander Larsson <alexl@redhat.com>
1616 Add catch-all gio.h header
1617 Don't install gdummyfile.h
1619 2007-11-26 Alexander Larsson <alexl@redhat.com>
1621 * Makefile.am (gioinclude_HEADERS):
1622 Remove trailing whitespace
1624 2007-11-26 Alexander Larsson <alexl@redhat.com>
1626 Merge gio-standalone into glib
1628 2007-11-25 Christian Kellner <gicmo@gnome.org>
1630 * gio/goutputstream.c:
1631 Fix small mistake in the docs.
1633 2007-11-21 Christian Persch <chpe@gnome.org>
1635 * gio/glocalfile.c: (g_local_file_trash):
1636 Convert filenames to UTF-8 for GError.
1637 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1638 as per xdg base dir spec.
1640 2007-11-21 Christian Persch <chpe@gnome.org>
1642 * gio/gdesktopappinfo.c:
1643 Use that g_key_file_to_data cannot fail.
1645 Use stock defines for the key file group and key names.
1648 2007-11-21 Alexander Larsson <alexl@redhat.com>
1651 (copy_stream_with_progress):
1652 Make sure we do a final progress callback with
1653 the full total size.
1655 2007-11-21 Alexander Larsson <alexl@redhat.com>
1658 Export g_file_copy_attributes
1659 Remove padding as its not needed for interfaces
1661 2007-11-20 Alexander Larsson <alexl@redhat.com>
1666 Add G_IO_ERROR_WOULD_MERGE for
1667 copy/move dir on dir with overwrite.
1669 2007-11-20 Alexander Larsson <alexl@redhat.com>
1672 * gio/glocalfileinfo.c:
1673 Add COPY_NAME (this is an optional
1674 non-modified utf8 version of the name) that
1677 2007-11-20 Alexander Larsson <alexl@redhat.com>
1679 * gio/glocalfileenumerator.c:
1680 Report errors as GIOError, not GFileError
1682 2007-11-16 Alexander Larsson <alexl@redhat.com>
1684 * gio/glocalfileoutputstream.c:
1685 * gio/gwin32appinfo.c:
1686 Fix typos in strings.
1687 Patch from Luca Ferretti <elle.uca@libero.it>
1689 2007-11-15 Alexander Larsson <alexl@redhat.com>
1692 Post release version bump
1694 === gio-standalone 0.1.2 ===
1696 2007-11-15 Alexander Larsson <alexl@redhat.com>
1698 * docs/reference/gio/Makefile.am:
1699 Fix up distcheck by removing weird
1705 2007-11-14 Alexander Larsson <alexl@redhat.com>
1707 * gio/gdesktopappinfo.c:
1708 * gio/glocaldirectorymonitor.c:
1710 * gio/glocalfileinfo.c:
1711 * gio/inotify/inotify-sub.c:
1712 * programs/gio-cat.c:
1713 * programs/gio-copy.c:
1714 * programs/gio-info.c:
1715 * programs/gio-ls.c:
1716 * programs/gio-monitor-dir.c:
1717 * programs/gio-monitor-file.c:
1718 * programs/gio-mount.c:
1719 * programs/gio-move.c:
1720 * programs/gio-rm.c:
1721 * programs/gio-save.c:
1722 * programs/gio-trash.c:
1723 Leak fixes from Kjartan Maraas
1725 2007-11-14 Alexander Larsson <alexl@redhat.com>
1727 * gio/fam/fam-helper.c:
1729 * gio/glocalfileinfo.c:
1733 * gio/inotify/inotify-diag.c:
1734 * gio/inotify/inotify-kernel.c:
1735 Various code cleanups from Kjartan Maraas
1737 2007-11-14 Alexander Larsson <alexl@redhat.com>
1739 * gio/gioscheduler.c:
1741 Set up threadpool so that we cache 2 unused
1742 idle threads for at 15 secs. This means we
1743 will reuse thread-local data (like dbus connections)
1746 2007-11-14 Alexander Larsson <alexl@redhat.com>
1748 * gio/fam/fam-helper.c:
1749 * gio/fam/gfamdirectorymonitor.c:
1750 * gio/fam/gfamfilemonitor.c:
1752 * gio/gcontenttype.c:
1753 * gio/gdatainputstream.c:
1754 * gio/gdataoutputstream.c:
1758 * gio/gfileattribute.h:
1759 * gio/gfileenumerator.c:
1761 * gio/ginputstream.c:
1764 * gio/glocalfileinfo.c:
1765 * gio/goutputstream.c:
1766 * gio/gpollfilemonitor.c:
1767 * gio/gsimpleasyncresult.c:
1768 * gio/gunixmounts.c:
1769 * gio/gunixmounts.h:
1770 * gio/inotify/ginotifydirectorymonitor.c:
1771 * gio/inotify/ginotifyfilemonitor.c:
1772 * gio/inotify/inotify-diag.c:
1773 * gio/inotify/inotify-kernel.c:
1774 * gio/inotify/inotify-path.c:
1776 * gio/test-streams.c:
1777 * programs/gio-info.c:
1778 * programs/gio-monitor-dir.c:
1779 * programs/gio-monitor-file.c:
1780 Various code cleanups from Kjartan Maraas
1782 2007-11-13 Alexander Larsson <alexl@redhat.com>
1785 Handle the uri-scheme calls for dummy files
1787 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1789 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1790 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1791 to avoid clash with the C++ keyword.
1793 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1795 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1796 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1798 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1800 * gio/glocaldirectorymonitor.c:
1801 * gio/glocalfilemonitor.c:
1802 * gio/gunionvolumemonitor.c:
1803 Don't use g_once_init_*() for initializations that could fail and
1804 could leave the initialization variable set to 0 but use GOnce.
1805 This prevents a deadlock on the second call when trying to create
1806 a monitor and no monitor type is available. Thanks to Sven Herzberg
1809 2007-11-11 Sven Herzberg <sven@imendio.com>
1811 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1812 #ifdef (make it work on MacOS X again)
1814 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1816 Fixes Changelog for last two commits (sorry guys).
1818 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1820 * gio/gbufferedinputstream.c:
1821 * gio/gdatainputstream.c:
1823 * gio/gfileoutputstream.c:
1824 * gio/gfilterinputstream.c:
1825 * gio/glocalfileinputstream.c:
1828 More consistency fixes in g*stream.c files.
1829 Significant clean of gfile's documentation, filling in of
1830 asynchronous operations documentation.
1832 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1834 * gio/gasyncresult.c:
1835 * gio/gbufferedinputstream.c:
1836 * gio/gbufferedoutputstream.c:
1837 * gio/gcancellable.c:
1838 * gio/gcontenttype.c:
1839 * gio/gdatainputstream.c:
1840 * gio/gdataoutputstream.c:
1841 * gio/gdesktopappinfo.c:
1844 * gio/gfileattribute.c:
1845 * gio/gio/gfileenumerator.c:
1847 * gio/gfileinputstream.c:
1848 * gio/gfilemonitor.c:
1849 * gio/gfileoutputstream.c:
1850 * gio/ginputstream.c:
1852 * gio/gioscheduler.c:
1853 * gio/gloadableicon.c:
1854 * gio/glocalfileoutputstream.c:
1855 * gio/gmemoryoutputstream.c:
1856 * gio/gmountoperation.c:
1857 * gio/goutputstream.c:
1859 * gio/gsimpleasyncresult.c:
1860 * gio/gunionvolumemonitor.c:
1861 * gio/gunixmounts.c:
1862 * gio/gunixvolume.c:
1866 * gio/gvolumemonitor.c:
1867 Updated documentation stubs, working towards consistency and
1870 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1872 * gio/gmemoryoutputstream.c:
1873 * gio/gmemoryoutputstream.h:
1874 Change g_memory_output_stream_set_free_on_close() to
1875 g_memory_output_stream_set_free_data() as this makes more sense and
1876 is more consistent with GMemoryInputStream.
1878 2007-11-07 Alexander Larsson <alexl@redhat.com>
1885 Change how we find the default vfs so that
1886 we can handle a gvfs failing to init
1888 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1890 * gio/gbufferedoutputstream.c:
1891 * gio/gdatainputstream.c:
1892 * gio/gdataoutputstream.c:
1893 * gio/gfileinputstream.c:
1894 * gio/gfileoutputstream.c:
1895 * gio/gfilterinputstream.c:
1896 * gio/gfilteroutputstream.c:
1897 * gio/ginputstream.c:
1898 * gio/gmemoryinputstream.c:
1899 * gio/gmemoryoutputstream.c:
1900 * gio/goutputstream.c:
1901 * gio/gsimpleasyncresult.c:
1902 * gio/gsocketinputstream.c:
1903 * gio/gsocketoutputstream.c:
1904 Add guards to the remaining public functions, add a TODO for
1905 an unimplemented function and remove some useless guards.
1907 2007-11-07 Alexander Larsson <alexl@redhat.com>
1910 Autoconf checks for the various types of
1911 getpwuid_r and getgrgid_r
1913 * gio/glocalfileinfo.c:
1914 Use the autoconf checks from above
1916 2007-11-07 Alexander Larsson <alexl@redhat.com>
1919 (g_local_file_query_filesystem_info):
1920 Some fixes for the statvfs case
1922 2007-11-07 Alexander Larsson <alexl@redhat.com>
1925 (g_local_file_query_filesystem_info):
1926 Pick the "best" of statfs / statvfs for the system
1927 if both are availible.
1929 2007-11-07 Alexander Larsson <alexl@redhat.com>
1931 Solaris fixes from Halton.Huo@Sun.COM:
1938 * gio/glocalfileinfo.c:
1939 Fix for solaris definition of getpwuid_r
1941 * gio/test-streams.c:
1942 Use G_GNUC_PRETTY_FUNCTION
1944 2007-11-07 Alexander Larsson <alexl@redhat.com>
1946 * gio/gdesktopappinfo.c:
1947 (update_default_list):
1948 Remove double semicolon.
1949 Patch from Jens Granseuer
1951 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1953 * docs/reference/gio/gio-sections.txt:
1954 * gio/gbufferedinputstream.c:
1955 * gio/gbufferedinputstream.h:
1956 * gio/gdatainputstream.c:
1957 * gio/gfileenumerator.c:
1958 * gio/gioscheduler.c:
1959 * gio/gunionvolumemonitor.c:
1961 * programs/gio-save.c:
1962 Fix typo: availible -> available. Unfortuntely this breaks API
1963 and ABI as g_buffered_input_stream_get_available() was renamed.
1965 * gio/gunixmounts.c:
1966 * gio/gbufferedinputstream.c:
1967 Add guards for public functions.
1969 2007-11-06 Ross Burton <ross@openedhand.com>
1971 * docs/reference/gio/Makefile.am:
1972 Fix invalid += usage which automake 1.10 doesn't like.
1974 2007-11-06 Alexander Larsson <alexl@redhat.com>
1977 (g_app_launch_context_class_init):
1980 Patch from Ross Burton
1982 2007-11-06 Alexander Larsson <alexl@redhat.com>
1985 Post release version bump
1987 === gio-standalone 0.1.1 ===
1989 2007-11-06 Alexander Larsson <alexl@redhat.com>
1992 Bump version to 0.1.1
1994 * gio/gsimpleasyncresult.c:
1995 (g_simple_async_result_set_from_error):
1996 Remove bogus g_return_if_fail
1998 2007-11-06 Alexander Larsson <alexl@redhat.com>
2001 The name is gio-standalone
2004 Add top src/builddir to includedir
2006 2007-11-06 Alexander Larsson <alexl@redhat.com>
2008 * docs/reference/gio/gio-sections.txt:
2010 * gio/gbufferedinputstream.c:
2011 * gio/gbufferedoutputstream.c:
2012 * gio/gcancellable.c:
2013 * gio/gdatainputstream.h:
2014 * gio/gdataoutputstream.c:
2015 * gio/gdataoutputstream.h:
2016 * gio/gdirectorymonitor.c:
2018 * gio/gfileattribute.c:
2019 * gio/gfileattribute.h:
2020 * gio/gfileenumerator.c:
2021 * gio/gfileenumerator.h:
2024 * gio/gfileinputstream.h:
2025 * gio/gfilemonitor.c:
2026 * gio/gfileoutputstream.h:
2027 * gio/glocalfilemonitor.h:
2028 * gio/glocalfileoutputstream.h:
2029 * gio/gmemoryinputstream.c:
2030 * gio/gmemoryoutputstream.c:
2031 * gio/gmountoperation.c:
2032 * gio/goutputstream.c:
2033 * gio/goutputstream.h:
2035 * gio/gsimpleasyncresult.c:
2036 * gio/gunixmounts.c:
2037 * gio/gunixmounts.h:
2039 * gio/inotify/inotify-helper.c:
2040 Fix gtk-doc warnings
2042 Patch from Ross Burton
2044 2007-11-06 Alexander Larsson <alexl@redhat.com>
2046 * gio/gfilenamecompleter.c:
2047 (g_filename_completer_get_completions):
2050 * gio/gunixvolume.c:
2051 Remove unused function
2053 Patches from Ross Burton
2055 2007-11-06 Alexander Larsson <alexl@redhat.com>
2060 Padding not needed for interfaces
2062 2007-11-06 Alexander Larsson <alexl@redhat.com>
2064 * gio/gfilemonitor.c:
2068 Make giotypes.h an internal file
2071 * gio/gbufferedinputstream.h:
2072 * gio/gbufferedoutputstream.h:
2073 * gio/gcancellable.h:
2074 * gio/gdatainputstream.h:
2075 * gio/gdataoutputstream.h:
2076 * gio/gdirectorymonitor.c:
2077 * gio/gdirectorymonitor.h:
2082 * gio/gfileattribute.h:
2083 * gio/gfileenumerator.h:
2088 * gio/gfilemonitor.c:
2089 * gio/gfilemonitor.h:
2090 * gio/gfilenamecompleter.c:
2091 * gio/gfilenamecompleter.h:
2092 * gio/gfilterinputstream.h:
2093 * gio/gfilteroutputstream.h:
2094 * gio/ginputstream.h:
2095 * gio/gmemoryinputstream.h:
2096 * gio/gmemoryoutputstream.h:
2097 * gio/gmountoperation.c:
2098 * gio/gmountoperation.h:
2099 * gio/gnativevolumemonitor.c:
2100 * gio/goutputstream.h:
2103 * gio/gsimpleasyncresult.c:
2104 * gio/gsimpleasyncresult.h:
2105 * gio/gsocketinputstream.h:
2106 * gio/gsocketoutputstream.h:
2107 * gio/gthemedicon.c:
2108 * gio/gthemedicon.h:
2112 * gio/gvolumemonitor.c:
2113 * gio/gvolumemonitor.h:
2114 Add padding in classes where it seems useful
2115 Don't include giotypes.h from public headers
2116 Move in Class definitions into c file where possible
2121 2007-11-06 Alexander Larsson <alexl@redhat.com>
2123 * docs/reference/gio/gio-docs.xml:
2124 Better structure for API docs
2126 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2129 * gio/gloadableicon.c:
2130 * gio/gsimpleasyncresult.c:
2131 * gio/gthemedicon.c:
2132 Add some more guards to public functions. Only files missing are now
2135 2007-11-06 Alexander Larsson <alexl@redhat.com>
2137 * docs/reference/gio/gio-docs.xml:
2138 Remove old files, add missing ones
2140 2007-11-06 Alexander Larsson <alexl@redhat.com>
2142 * docs/reference/gio/gio-sections.txt:
2145 Hide implementation classes
2147 * gio/gdriveprivate.h:
2148 * gio/gvolumeprivate.h:
2149 Remove non-existing function declarations
2151 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2154 Fix compilation warnings and add guards to the new functions.
2156 * gio/gasyncresult.c:
2158 Add guards to the public functions.
2161 Implement get_path().
2163 2007-11-06 Alexander Larsson <alexl@redhat.com>
2165 * gio/gfilenamecompleter.c:
2166 Make g_filename_completer_get_completions
2167 return char ** instead of GList for
2170 * docs/reference/gio/gio-docs.xml:
2171 * docs/reference/gio/gio-sections.txt:
2173 * gio/gasyncresult.c:
2174 * gio/gbufferedinputstream.c:
2175 * gio/gbufferedoutputstream.c:
2176 * gio/gcancellable.c:
2177 * gio/gcontenttype.c:
2178 * gio/gdatainputstream.c:
2179 * gio/gdataoutputstream.c:
2180 * gio/gdesktopappinfo.c:
2181 * gio/gdirectorymonitor.c:
2185 * gio/gfileattribute.c:
2186 * gio/gfileenumerator.c:
2189 * gio/gfileinputstream.c:
2190 * gio/gfilemonitor.c:
2191 * gio/gfilenamecompleter.c:
2192 * gio/gfilenamecompleter.h:
2193 * gio/gfileoutputstream.c:
2194 * gio/gfilterinputstream.c:
2196 * gio/ginputstream.c:
2198 * gio/gioscheduler.c:
2199 * gio/gloadableicon.c:
2200 * gio/glocaldirectorymonitor.c:
2202 * gio/glocalfileinputstream.c:
2203 * gio/glocalfilemonitor.c:
2204 * gio/glocalfileoutputstream.c:
2206 * gio/gmemoryinputstream.c:
2207 * gio/gmemoryoutputstream.c:
2208 * gio/gmountoperation.c:
2209 * gio/goutputstream.c:
2210 * gio/gpollfilemonitor.c:
2212 * gio/gsimpleasyncresult.c:
2213 * gio/gsocketinputstream.c:
2214 * gio/gsocketoutputstream.c:
2215 * gio/gthemedicon.c:
2216 * gio/gunionvolumemonitor.c:
2218 * gio/gunixmounts.c:
2219 * gio/gunixvolume.c:
2220 * gio/gunixvolumemonitor.c:
2224 * gio/gvolumemonitor.c:
2225 * gio/gwin32appinfo.c:
2226 Add (mostly stub) doc strings to public functions.
2227 Patch from Andrew Walton (awalton@gmail.com)
2229 2007-11-06 Alexander Larsson <alexl@redhat.com>
2231 * gio/gappinfo.[ch]:
2232 Added GAppLaunchContext object and pass that to launch.
2233 This allows simple implementation of both
2234 launch-on-screen and startup notification via a gtk+
2235 subclass of GAppLaunchContext
2237 * gio/gdesktopappinfo.c:
2238 Implement GAppLaunchContext API
2240 * gio/gwin32appinfo.c:
2243 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2245 * gio/gmountoperation.c:
2246 Add some guards to GMountOperation's public functions.
2248 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2252 * gio/gcancellable.c:
2253 * gio/gdirectorymonitor.c:
2255 * gio/gfileenumerator.c:
2256 * gio/gfilemonitor.c:,
2257 * gio/gfilenamecompleter.c:
2260 * gio/gioscheduler.c:
2264 * gio/gvolumemonitor.c:
2265 Add even more guards to various public functions.
2267 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2270 Add guards to the public functions of GAppInfo.
2272 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2274 * gio/gcontenttype.c:
2275 Add some more guards for public functions.
2277 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2279 * gio/fam/fam-module.c:
2280 * gio/fam/gfamdirectorymonitor.c:
2281 * gio/fam/gfamdirectorymonitor.h:
2282 * gio/fam/gfamfilemonitor.c:
2283 * gio/fam/gfamfilemonitor.h:
2284 * gio/inotify/ginotifydirectorymonitor.c:
2285 * gio/inotify/ginotifydirectorymonitor.h:
2286 * gio/inotify/ginotifyfilemonitor.c:
2287 * gio/inotify/ginotifyfilemonitor.h:
2288 Add proper copyright information and remove an unused variable
2289 in the GInotifyFileMonitor constructor.
2291 * gio/gcancellable.c:
2292 Add a guard for a public function and an assertion to prevent
2293 an undefined program state.
2295 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2297 * gio/gfileattribute.c:
2298 Don't run into an assertion if the given attribute value is NULL
2299 in g_file_attribute_value_get_*() but instead return a fallback
2300 value that makes sense in most situations. Passing them a attribute
2301 value with the wrong type will still run into an assertion.
2303 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2305 * gio/gfileattribute.c:
2307 Add even more guards to the public functions. Also fix the refcounting
2308 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2309 let g_file_info_list_attributes() filter the attributes by namespace
2310 instead of simply ignoring the namespace parameter.
2312 2007-11-03 Sven Herzberg <sven@imendio.com>
2314 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2315 (This makes gio work on MacOS X again)
2317 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2320 Build the gio subdirectory before the docs. Otherwise the build will
2323 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2324 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2325 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2326 Add guards to the public functions.
2328 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2330 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2331 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2332 to prevent a compiler warning.
2334 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2335 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2336 return something in the non-void function find_topdir_for().
2338 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2345 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2347 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2348 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2349 * gwin32appinfo.c (g_win32_app_info_launch):
2350 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2351 envp_for_startup_id, g_desktop_app_info_launch,
2352 g_desktop_app_info_launch_uris):
2354 Give an opaque 'startup_id' string instead of 'envp'.
2355 Support empty file lists for launching new windows.
2356 Fix infinite recursion bug when launching URIs.
2358 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2361 Add guard to the new g_file_get_uri_scheme() function.
2363 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2366 Convert a g_return_val_if_fail() to setting the GError instead as
2367 otherwise applications have to verify the parameter before otherwise
2368 and the parameter might come directly from the user.
2370 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2372 * gio/inotify/ginotify*.[ch]:
2373 Add missing copyright information.
2375 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2378 Add guards in the beginning of public functions to check for valid
2379 parameters and fix a bug in copy_stream_with_progress() that could've
2380 caused writing less bytes than reading.
2381 * gio/glocalfileinfo.c:
2382 Check for a NULL parameter and set the GError accordingly then.
2383 * gio/goutputstream.c:
2384 Fix the same bug as in gfile.c that could've caused writing less bytes
2385 than reading in g_output_stream_real_splice().
2387 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2390 Use the correct gvolumeprivate.h naming
2392 2007-11-01 Christian Kellner <gicmo@gnome.org>
2395 Remove leftover "$(daemon_sources)" entry.
2397 2007-11-01 Christian Kellner <gicmo@gnome.org>
2402 Add copyright information to source files.
2404 2007-11-01 Alexander Larsson <alexl@redhat.com>
2408 Add g_file_get_uri_scheme
2410 2007-11-01 Alexander Larsson <alexl@redhat.com>
2413 * gio/gdesktopappinfo.c:
2414 * gio/gwin32appinfo.c:
2415 Add g_app_info_get_default_for_uri_scheme.
2417 2007-11-01 Alexander Larsson <alexl@redhat.com>
2420 Correct filename for gdriveprivate.h
2422 2007-10-31 Alexander Larsson <alexl@redhat.com>
2425 Rename id:value to id:file
2428 * gio/glocalfileinfo.c:
2431 2007-10-31 Alexander Larsson <alexl@redhat.com>
2433 * gio/gunixvolume.c:
2435 Remove g_volume_get_platform_id, as thats not
2436 needed with the simpler union volume monitor
2438 2007-10-31 Alexander Larsson <alexl@redhat.com>
2441 * gio/guniondrive.[ch]: Removed.
2442 * gio/gunionvolume.[ch]: Removed.
2443 Remove GUnionDrive/Volume
2445 * gio/gunionvolumemonitor.c:
2446 Simplify union volume monitor, now we
2447 only have one native volume monitor and
2448 we use the actual volumes/drives from the
2449 child monitors instead of wrapping them
2451 * gio/gnativevolumemonitor.[ch]:
2452 Base class for native volume monitors.
2453 Includes priority and get_volume_for_mountpoint
2456 Add g_file_find_enclosing_volume
2459 Remove volume name fs attribute
2460 Add readonly fs attribute
2463 Implement readonly attribute
2464 remove volume name attribute
2465 Implement find_enclosing volume
2467 * gio/gunixmounts.c:
2468 Add a volume for "/".
2470 * gio/gunixvolume.[ch]:
2471 Set better name for /
2473 * gio/gunixvolumemonitor.[ch]:
2474 Derive from GNativeVolumeMonitor
2475 Implement get_volume_for_mountpoint
2478 GVolume typedef moved to gfile.h
2480 * gio/gvolumeprivate.h:
2481 Add g_volume_get_for_mount_path
2483 2007-10-31 Alexander Larsson <alexl@redhat.com>
2485 * gio/gunixmounts.[ch]:
2486 Add cache info to unix mount listers
2487 Make getmntent use threadsafe
2488 Add is_system_internal attribute for GUnixMount
2490 * gio/gunixvolume.c:
2491 (g_unix_volume_new):
2492 Use is_system_internal instead of own code
2494 * gio/glocaldirectorymonitor.c:
2495 * gio/gunixvolumemonitor.c:
2496 Update to new gunixmounts API
2501 2007-10-30 Alexander Larsson <alexl@redhat.com>
2504 Add volume name fsinfo attribute
2507 Read volume name info
2509 * gio/gunionvolumemonitor.c:
2510 Fix infinite loops when finalizing a union volume monitor
2512 2007-10-30 Alexander Larsson <alexl@redhat.com>
2514 * gio/goutputstream.[ch]:
2515 Add splice() with default implementation
2517 * gio/gsocketoutputstream.c:
2518 (g_socket_output_stream_write):
2519 Return error on cancellation correctly.
2521 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2523 * gio/glocalfile.c (g_local_file_trash):
2524 Do not leak a string.
2526 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2528 * gio/gfile.c (g_file_load_contents):
2529 Unref the stream after closing it.
2531 2007-10-25 Alexander Larsson <alexl@redhat.com>
2533 * gio/gioscheduler.h:
2536 2007-10-25 Alexander Larsson <alexl@redhat.com>
2540 Add g_file_has_uri_scheme and implement for local files
2542 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2544 * gio/gdesktopappinfo.c: do not leak a string.
2546 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2548 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2549 (g_local_directory_monitor_new):
2550 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2551 (g_local_file_monitor_new):
2552 Only look for the monitor type that should be used the first time
2553 and use g_qsort_with_data() instead of our own bubble sort
2556 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2559 * gio/fam/Makefile.am:
2560 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2561 * gio/fam/fam-helper.h:
2562 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2563 * gio/fam/gfamdirectorymonitor.c:
2564 * gio/fam/gfamdirectorymonitor.h:
2565 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2566 * gio/fam/gfamfilemonitor.h:
2567 * gio/glocaldirectorymonitor.c:
2568 * gio/glocaldirectorymonitor.h:
2569 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2570 * gio/glocalfilemonitor.h:
2571 * gio/inotify/Makefile.am:
2572 * gio/inotify/ginotifydirectorymonitor.c:
2573 * gio/inotify/ginotifydirectorymonitor.h:
2574 * gio/inotify/ginotifyfilemonitor.c:
2575 * gio/inotify/ginotifyfilemonitor.h:
2576 Implement the FAM and Inotify monitors as
2577 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2578 their own GIO module. GLocal(Directory|File)Monitor will use the
2579 monitor with the highest rank that is supported on that machine.
2581 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2584 Change GIO module dir to $(libdir)/gio/modules and change
2585 the log domain from GVFS to GIO. Also only export symbols starting
2586 with g_ in the resulting library.
2587 * gio/test-streams.c: (main):
2588 Set log handler for the GIO log domain.
2590 2007-10-22 Alexander Larsson <alexl@redhat.com>
2592 * gio/gfilenamecompleter.[ch]:
2593 Add g_filename_completer_set_dirs_only
2595 2007-10-22 Alexander Larsson <alexl@redhat.com>
2598 * gio/gurifuncs.[ch]:
2599 Add some simple URI helpers
2601 * gio/gfilenamecompleter.[ch]:
2602 Added object for filename (parse name actually) completion
2605 Handle ~ in parse names
2607 2007-10-17 Alexander Larsson <alexl@redhat.com>
2610 * gio/glocalfileinfo.c:
2611 Add and implement id:value attribute
2613 2007-10-17 Alexander Larsson <alexl@redhat.com>
2616 * gio/guniondrive.c:
2618 Add and implement g_drive_has_volumes
2620 2007-10-17 Alexander Larsson <alexl@redhat.com>
2623 * gio/glocalfileinfo.[ch]:
2624 Add unix:is_mountpoint and implement for local files
2626 2007-10-16 Alexander Larsson <alexl@redhat.com>
2628 * gio/gunionvolumemonitor.c:
2629 (g_union_volume_monitor_init):
2630 Fix up the unix type getting so that it works with gcc
2632 2007-10-12 Alexander Larsson <alexl@redhat.com>
2635 * gio/glocalfileinfo.c:
2636 Add thumbnail:failed to file info
2638 2007-10-12 Richard Hult <richard@imendio.com>
2640 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2641 optimizing away the get_type call (happens with some gcc versions,
2642 like the one shipped with OS X 10.4).
2644 2007-10-12 Alexander Larsson <alexl@redhat.com>
2646 * gio/glocalfileinfo.c:
2647 (_g_local_file_info_set_attribute):
2648 Fix build if not HAVE_XATTR
2649 Patch from Milosz Derezynski <internalerror@gmail.com>
2651 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2653 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2654 around for review, otherwise I would have asked you before
2657 2007-10-11 Alexander Larsson <alexl@redhat.com>
2660 Add thumbnail:path attribute
2662 * gio/glocalfileinfo.c:
2663 Implement thumbnail:path for local files
2665 2007-10-11 Alexander Larsson <alexl@redhat.com>
2667 * gio/glocalfileinfo.c:
2668 (_g_local_file_info_get):
2669 Avoid duplicate icon names
2671 2007-10-11 Alexander Larsson <alexl@redhat.com>
2673 * gio/gthemedicon.[ch]:
2674 Change g_themed_icon_get_names return type to const
2676 2007-10-10 Alexander Larsson <alexl@redhat.com>
2678 * gio/glocalfileinfo.c:
2679 Don't reference freed memory
2681 2007-10-10 Alexander Larsson <alexl@redhat.com>
2683 * gio/gfileattribute.c:
2686 * gio/glocalfileinfo.c:
2689 2007-10-10 Alexander Larsson <alexl@redhat.com>
2692 Check for NULL icons
2694 * gio/gfileattribute.c:
2695 Don't dup when getting objects (same as for string attributes)
2697 * gio/gicon.c (g_icon_equal):
2698 Safely handle NULLs in equal
2700 2007-10-10 Alexander Larsson <alexl@redhat.com>
2703 Fix c++ compilation issues
2704 Patch from Milosz Derezynski <internalerror@gmail.com>
2706 2007-10-10 Alexander Larsson <alexl@redhat.com>
2708 * programs/gio-monitor-dir.c:
2709 Don't crash if dir monitor not supported.
2711 2007-10-09 Alexander Larsson <alexl@redhat.com>
2714 Add missing G_END_DECLS
2716 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2718 * gio/gfile.c: (g_file_set_display_name),
2719 (g_file_query_settable_attributes),
2720 (g_file_query_writable_namespaces):
2721 Return NULL not FALSE on errors as the return type is a pointer.
2723 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2725 * gio/glocalfile.c: (g_local_file_monitor_file):
2726 Don't call monitor_file on the default interface vtable (which
2727 is NULL) but simply return NULL. The caller, GFile, will create a
2728 polling monitor if NULL is returned.
2730 2007-10-09 Alexander Larsson <alexl@redhat.com>
2734 * gio-unix-2.0.pc.in:
2735 Add gio-unix-2.0.pc if OS_UNIX
2738 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2740 2007-10-09 Alexander Larsson <alexl@redhat.com>
2742 * gio/gunixmounts.[ch]:
2743 Make unix mount monitoring API sane.
2744 Now its just a object with mounts_changed
2745 and mountpoints_changed signals.
2747 * gio/glocaldirectorymonitor.c:
2748 * gio/gunixvolumemonitor.c:
2749 Use new mount monitor api
2751 2007-10-09 Alexander Larsson <alexl@redhat.com>
2753 * gio/gunixmounts.[ch]:
2754 Move guess type into one call for mounts and one for mountpoints
2757 * gio/gunixvolume.c:
2760 2007-10-09 Alexander Larsson <alexl@redhat.com>
2762 * gio/gunixmounts.[ch]:
2763 Remove _ prefix in preparation to make this semi-public
2764 Hide implementation of structs
2766 * gio/glocaldirectorymonitor.c:
2768 * gio/gunixvolume.c:
2769 * gio/gunixvolumemonitor.c:
2770 Update for above API changes
2772 2007-10-08 Alexander Larsson <alexl@redhat.com>
2775 Better polling fallback. This also handles the case where we have
2776 a monitor_file implementation, but it fails.
2778 2007-10-08 Alexander Larsson <alexl@redhat.com>
2782 * gio/gunixmounts.c:
2783 * programs/gio-monitor-dir.c:
2784 * programs/gio-monitor-file.c:
2785 Added cancellable to file monitoring calls.
2786 These are really sync calls and need this.
2788 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2790 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2791 (g_local_vfs_class_init):
2792 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2793 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2795 2007-10-05 Alexander Larsson <alexl@redhat.com>
2797 * gio/gdirectorymonitorprivate.h:
2798 * gio/gfilemonitorprivate.h:
2799 * gio/gdirectorymonitor.h:
2800 * gio/gfilemonitor.h:
2801 Remove *private.h and move to the public API, so that
2802 we can do implementations outside gio (such as in gvfs)
2804 * gio/gdirectorymonitor.c:
2805 * gio/gfilemonitor.c:
2806 * gio/glocaldirectorymonitor.c:
2807 * gio/gpollfilemonitor.c:
2808 * gio/inotify/inotify-helper.c:
2809 * gio/fam/fam-helper.c:
2810 Update to the new header names
2812 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2814 * gio/gdirectorymonitor.c:
2815 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2818 2007-10-04 Alexander Larsson <alexl@redhat.com>
2820 * gio/glocalfileinfo.c (get_access_rights):
2821 Set CAN_TRASH when we can move the file.
2822 We should really also check for a parent trash dir.
2824 2007-10-04 Alexander Larsson <alexl@redhat.com>
2826 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2827 Add can_trash access attribute
2829 2007-10-04 Alexander Larsson <alexl@redhat.com>
2832 (g_local_file_trash):
2833 Create info file first. This is per-spec and allows
2834 us to actually trash directories.
2836 2007-10-02 Alexander Larsson <alexl@redhat.com>
2838 * gio/gdesktopappinfo.c:
2839 Implement the new mime support code.
2840 Always set app as handling mimetype when being set as default for it
2842 2007-10-01 Alexander Larsson <alexl@redhat.com>
2844 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2845 Fix up check for xattrs:
2847 2007-10-01 Alexander Larsson <alexl@redhat.com>
2850 (g_app_info_set_as_default_for_extension):
2851 (g_app_info_add_supports_type):
2852 (g_app_info_can_remove_supports_type):
2853 (g_app_info_remove_supports_type):
2854 Make these fail nicely if not implemented
2856 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2858 * gio/glocalfileoutputstream.c:
2859 * gio/glocalfileoutputstream.h:
2864 * programs/gio-save.c:
2865 Add a GFileCreateFlags argument to operations that can create
2868 2007-10-01 Alexander Larsson <alexl@redhat.com>
2870 * gio/gappinfo.[ch]:
2871 * gio/gdesktopappinfo.c:
2872 Add more (stubbed out) mime API needed for nautilus
2874 2007-10-01 Alexander Larsson <alexl@redhat.com>
2877 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2878 Add g_app_info_set_as_default_for_extension.
2880 * gio/gdesktopappinfo.c:
2881 Dummy for g_app_info_set_as_default_for_extension
2882 Support flags in g_app_info_create_from_commandline
2884 * gio/gwin32appinfo.c:
2886 Update for API changes
2888 * gio/gthemedicon.c:
2889 Properly NULL-terminate list of icon names
2891 2007-09-28 Alexander Larsson <alexl@redhat.com>
2893 * gio/gloadableicon.h:
2894 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2896 2007-09-28 Alexander Larsson <alexl@redhat.com>
2899 Install headers in $includedir/gio-standalone/
2901 * gio-2.0.pc.in: Added.
2902 * gio-standalone.pc.in: Removed.
2905 Renamed pkg-config file to match glib (for future move)
2906 Update to the new include dir
2909 Add more TODO comments
2911 2007-09-28 Alexander Larsson <alexl@redhat.com>
2913 * gio/gdesktopappinfo.[ch]:
2914 Expose new_from_filename
2915 Add getter for is_hidden and handle it better
2917 2007-09-28 Alexander Larsson <alexl@redhat.com>
2919 * gio/gfileinfo.[ch]:
2920 Rename g_file_size_format_for_display to
2921 g_format_file_size_for_display.
2922 Now it doesn't have the g_file prefix, so we
2923 can later move it to glib.
2925 2007-09-28 Alexander Larsson <alexl@redhat.com>
2927 * gio/gappinfo.[ch]:
2928 Add g_app_info_get_id and g_app_info_get_executable.
2929 Make all getters non-reffing
2930 Make g_app_info_launch take GFile arguments.
2931 Add must_support_uris argument to g_app_info_get_default_for_type.
2933 * gio/gwin32appinfo.c:
2934 Update to GAppInfo api changes
2936 * gio/gdesktopappinfo.c:
2937 Update to GAppInfo api changes
2938 Implement supports_xdg_startup_notify
2940 * gio/gfileicon.c (g_file_icon_get_file):
2941 Make getter non-reffing.
2946 2007-09-27 Alexander Larsson <alexl@redhat.com>
2948 * gio/gfileinfo.[ch]:
2949 Add g_file_size_format_for_display helper
2951 2007-09-27 Alexander Larsson <alexl@redhat.com>
2953 * gio/glocalfileinfo.c:
2954 Set UNIX_GID from gid, not from uid
2956 2007-09-27 Alexander Larsson <alexl@redhat.com>
2959 Add g_file_set_attributes_async
2961 2007-09-27 Alexander Larsson <alexl@redhat.com>
2963 * gio/glocalfile.c (g_local_file_set_display_name):
2964 Fix set_display_name to actually rename to the right place.
2965 Use lstat to look for existing files so we don't overwrite
2968 2007-09-26 Alexander Larsson <alexl@redhat.com>
2971 Add g_file_set_display_name_async()
2973 2007-09-26 Alexander Larsson <alexl@redhat.com>
2976 Add load_partial_contents async calls
2979 Make internal function static
2981 2007-09-26 Alexander Larsson <alexl@redhat.com>
2983 * gio/glocalfileinfo.c:
2984 Correctly detect broken symlinks
2986 2007-09-26 Alexander Larsson <alexl@redhat.com>
2988 * gio/gcancellable.c (g_cancellable_cancel):
2989 Allow cancel on NULL cancellable
2991 2007-09-25 Alexander Larsson <alexl@redhat.com>
2993 * gio/gsimpleasyncresult.c:
2994 Don't allocate g_error manually.
2995 Fixes g_slice/g_new mixup crash
2997 2007-09-25 Alexander Larsson <alexl@redhat.com>
2999 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3000 Actually set active_backend.
3001 This means the monitor will be cancelled correctly.
3003 2007-09-25 Alexander Larsson <alexl@redhat.com>
3005 * gio/gdirectorymonitor.c:
3006 Set timeout to NULL when destroying
3008 2007-09-25 Alexander Larsson <alexl@redhat.com>
3011 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3012 that is a better description of the error.
3014 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3016 * gio/gvfs.c: (g_vfs_get_local):
3017 Make the local vfs variable static. The same instance should
3020 2007-09-24 Alexander Larsson <alexl@redhat.com>
3022 * gio/glocalfileinfo.c:
3023 Pass in actual length read into sniffer, not the length
3026 2007-09-21 Alexander Larsson <alexl@redhat.com>
3028 * gio/gfileenumerator.c:
3031 * gio/gfileinputstream.c:
3032 * gio/gfileoutputstream.c:
3033 * gio/ginputstream.c:
3034 * gio/goutputstream.c:
3035 Don't crash if async callbacks are NULL
3037 2007-09-20 Alexander Larsson <alexl@redhat.com>
3040 Add async enumerate_children method and default
3043 2007-09-20 Alexander Larsson <alexl@redhat.com>
3046 Add g_file_contains_file & g_file_get_relative_path, since they
3047 were needed for nautilus.
3048 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3053 Implement new methods
3055 2007-09-17 Alexander Larsson <alexl@redhat.com>
3058 * gio/gfileinputstream.[ch]:
3059 * gio/gfileoutputstream.[ch]:
3061 * gio/glocalfileenumerator.[ch]:
3062 * gio/glocalfileinfo.[ch]:
3063 * gio/glocalfileinputstream.c:
3064 * gio/glocalfileoutputstream.c:
3065 * gio/gpollfilemonitor.c:
3066 * programs/gio-copy.c:
3067 * programs/gio-info.c:
3068 * programs/gio-move.c:
3069 Rename get_file_info to query_info() to make it clearer
3070 that these are not simple getters, but do i/o.
3072 2007-09-17 Alexander Larsson <alexl@redhat.com>
3074 * gio/gdatainputstream.[ch]:
3075 * gio/test-streams.c:
3076 Use _read_XXX instead of _get_XXX for the i/o calls
3079 2007-09-17 Alexander Larsson <alexl@redhat.com>
3082 Added needed stuff to TODO comment
3084 2007-09-17 Alexander Larsson <alexl@redhat.com>
3086 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3087 Don't error out removing the backup copy if it doesn't
3090 2007-09-14 Alexander Larsson <alexl@redhat.com>
3092 * programs/Makefile.am:
3093 * programs/gvfs-*.c:
3095 Renamed apps from gvfs-xxx to gio-xxx.
3097 2007-09-14 Alexander Larsson <alexl@redhat.com>
3100 * gio/gfileoutputstream.[ch]:
3101 * gio/glocalfileoutputstream.c:
3102 * programs/gvfs-save.c:
3103 g_file_output_stream_get_etag doesn't do i/o, so remove
3104 cancellation and error.
3106 2007-09-14 Alexander Larsson <alexl@redhat.com>
3109 Add new_etag output to replace_contents functions
3111 2007-09-14 Alexander Larsson <alexl@redhat.com>
3113 * gio/gfileoutputstream.[ch]:
3114 Add async get_file_info and default implementation
3116 2007-09-14 Alexander Larsson <alexl@redhat.com>
3118 * gio/gfileinputstream.c:
3119 Implement fallback wrapper for async get_file_info
3121 2007-09-14 Alexander Larsson <alexl@redhat.com>
3124 Add etag out argument to load_contents
3129 2007-09-14 Alexander Larsson <alexl@redhat.com>
3131 * gio/gcontenttype.c (looks_like_text):
3132 Whitespace like tab, cr and lf do not make the
3135 2007-09-14 Alexander Larsson <alexl@redhat.com>
3137 * gio/gfileinputstream.[ch]:
3138 Add async get_file_info.
3140 2007-09-13 Alexander Larsson <alexl@redhat.com>
3142 * gio/goutputstream.c (g_output_stream_write_all):
3143 Allow NULL for bytes_written
3145 2007-09-13 Alexander Larsson <alexl@redhat.com>
3147 * gio/gmemoryinputstream.[ch]:
3148 Add accessors for data
3150 2007-09-13 Alexander Larsson <alexl@redhat.com>
3152 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3153 Don't crash if length is NULL