1 2008-01-22 Alexander Larsson <alexl@redhat.com>
4 Allow UTF-8 in file:// parse names.
7 * tests/data-input-stream.c:
8 * tests/data-output-stream.c:
11 Added a bunch of tests from Tomas Bzatek
13 2008-01-21 Matthias Clasen <mclasen@redhat.com>
15 * === Released 2.15.3 ===
17 2008-01-21 Alexander Larsson <alexl@redhat.com>
19 * gfileinputstream.[ch]:
20 * gfileoutputstream.[ch]:
22 Remove duplicated GSeekable functions. (#509990)
23 Just use the g_seekable_xxx() calls instead.
25 2008-01-21 Matthias Clasen <mclasen@redhat.com>
28 * gvolumemanager.c: Whitespace cleanups.
30 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
31 Use the right mode when creating the file.
33 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
38 * goutputstream.c: Documentation: Fixed minor typos
39 and added more mentions of specific _finish() functions.
41 2008-01-21 Alexander Larsson <alexl@redhat.com>
43 * inotify/Makefile.am:
44 * inotify/inotify-helper.c:
45 * inotify/inotify-kernel.c:
46 * inotify/inotify-path.c:
47 * inotify/local_inotify.h: Removed.
48 * inotify/local_inotify_syscalls.h: Removed.
49 Removed the included copies of the inotify
50 headers. We now only use the <sys/inotify.h>
51 header which exists on modern systems.
52 This fixes problems on ARM and SH5 (#510448)
53 but is also generally much cleaner and future
54 safe. For instance, if other OSes add support
55 for inotify it should "just work".
57 2008-01-20 Matthias Clasen <mclasen@redhat.com>
59 * inotify/*.c: Coding style fixes.
60 * inotify/inotify-missing.c: Use g_timeout_add_seconds
63 2008-01-20 Matthias Clasen <mclasen@redhat.com>
67 * gmemoryinputstream.c:
68 * gmemoryoutputstream.c:
70 * gthemedicon.c: Documentation updates
72 2008-01-20 Murray Cumming <murrayc@murrayc.com>
74 * gfile.c: documentation: Fixed more minor
77 2008-01-18 Murray Cumming <murrayc@murrayc.com>
79 * gmount.c: (g_mount_remount): documentation:
80 Mention g_mount_remount_finish() instead of
81 g_mount_unmount_finish().
83 2008-01-18 Murray Cumming <murrayc@murrayc.com>
87 * gfile.c: Fixed some minor typos in the
90 2008-01-18 Murray Cumming <murrayc@murrayc.com>
92 * gio/gvolumemonitor.c:
93 (g_volume_monitor_get_connected_drives):
94 (g_volume_monitor_get_volumes):
95 (g_volume_monitor_get_mounts): Documentation:
96 Clarify the ownership of the regurn GLists.
98 2008-01-17 Alexander Larsson <alexl@redhat.com>
101 Add the async find_enclosing_mount version
102 to the header file too.
104 2008-01-17 Alexander Larsson <alexl@redhat.com>
107 Add async version of find_enclosing_mount
108 with default implementation.
110 2008-01-17 Alexander Larsson <alexl@redhat.com>
115 Allow calls to implementation of copy and write
116 even if the type of the file implementations is
117 different. This can be used to implement native
118 upload and download calls in a vfs.
122 Protect against the case where move is called
123 with one file not being local.
125 Make sure we call the progress callback once
126 in the native move operation so that the caller
127 knows how many bytes were copied.
129 2008-01-16 Murray Cumming <murrayc@murrayc.com>
132 * gdatainputstream.c:
134 * gfileoutputstream.c:
139 * gunixmounts.c: Corrected some typos in the documentation:
141 its -> it's (where appropriate).
143 2008-01-16 Alexander Larsson <alexl@redhat.com>
147 Add g_file_query_exists (#508771)
149 2008-01-15 Murray Cumming <murrayc@murrayc.com>
154 * gvolume.c: For async functions that have no non-async
155 version, document that the GAsyncReadyCallback may be NULL.
158 2008-01-15 Alexander Larsson <alexl@redhat.com>
160 * gmemoryinputstream.c:
161 * gmemoryoutputstream.c:
162 Don't do pointer arithmetic on void * (#508602)
163 Patch from Kazuki IWAMOTO
165 2008-01-14 Matthias Clasen <mclasen@redhat.com>
167 * === Released 2.15.2 ===
169 2008-01-14 Alexander Larsson <alexl@redhat.com>
171 * gfile.c (g_file_monitor_file):
172 Don't set error here, since we fallback to polling monitor.
174 2008-01-14 Alexander Larsson <alexl@redhat.com>
177 (g_file_monitor_directory):
178 (g_file_monitor_file):
179 Add GError to file monitor calls
181 * glocaldirectorymonitor.c:
182 * glocaldirectorymonitor.h:
184 * glocalfilemonitor.c:
185 * glocalfilemonitor.h:
187 Update for above change
189 2008-01-14 Alexander Larsson <alexl@redhat.com>
193 Handle root correctly in g_file_get_relative_path (#508719)
195 2008-01-14 Alexander Larsson <alexl@redhat.com>
198 Clean up docs and example for GAsyncResult (#508074)
200 2008-01-11 Murray Cumming <murrayc@murrayc.com>
202 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
203 and correct some spelling mistakes. Bug #508108.
205 2008-01-11 Matthias Clasen <mclasen@redhat.com>
207 * glocalfileinfo.c: Add a comment.
209 2008-01-10 Murray Cumming <murrayc@murrayc.com>
211 * gfileinfo.c: GFileInfo description: Mention
212 how to actually set attributes in a GFile and how to discover
213 which attributes are settable. Bug #508378.
215 2008-01-10 A. Walton <awalton@svn.gnome.org>
217 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
218 (g_app_info_get_default_for_type):
219 Check for NULL content types.
221 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
223 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
225 2008-01-09 Murray Cumming <murrayc@murrayc.com>
227 * gfile.c: *_async() functions: Several small corrections
228 to the documentation, mostly correcting copy/paste errors
229 and improving some sentences.
231 2008-01-09 Dan Winship <danw@gnome.org>
233 * glocalfile.c (get_unique_filename): x86_64 fix
235 2008-01-09 Alexander Larsson <alexl@redhat.com>
240 Add g_unix_mount_guess_should_display and use
241 for unix volume monitor backend.
242 This means we more or less show what the
243 gnome-vfs backend did.
244 Based on patch from Padraig O'Briain
246 2008-01-09 Alexander Larsson <alexl@redhat.com>
250 Add g_themed_icon_new_with_default_fallbacks
253 Use default fallbacks for icons
255 2008-01-09 Alexander Larsson <alexl@redhat.com>
258 * gmountoperation.[ch]:
259 Change the API a bit so that unhandled methods
260 get reported via the reply, rather than by
261 the signal emission return value. This is because
262 some handlers can't know this immediately without
263 doing I/O, and this is an async operation that
266 2008-01-09 Alexander Larsson <alexl@redhat.com>
269 * fam/gfamdirectorymonitor.c:
270 * fam/gfamfilemonitor.c:
271 Fix double free crash (#508224)
272 Patch from Joe Marcus Clarke
274 008-01-07 Matthias Clasen <mclasen@redhat.com>
276 * === Released 2.15.1 ===
278 2008-01-07 Alexander Larsson <alexl@redhat.com>
280 * gunixinputstream.c (g_unix_input_stream_skip_finish):
281 Fix warning (#507835)
283 2008-01-07 Alexander Larsson <alexl@redhat.com>
286 Pass --internal to glib-genmarshal
291 Use better types for signal arguments (#507822)
293 2008-01-07 Alexander Larsson <alexl@redhat.com>
296 Build test subdir after .
297 Remove gdirectorymonitor.[ch]
299 * gdirectorymonitor.[ch]:
303 Remove GDirectoryMonitor and make
304 GFileMonitor the baseclass for both file and
305 directory monitors. Lift the more generic
306 rate limiting code from GDirectoryMonitor
310 * fam/gfamdirectorymonitor.[ch]:
311 * inotify/ginotifydirectorymonitor.[ch]:
312 * inotify/inotify-helper.c:
313 * glocaldirectorymonitor.[ch]:
316 Update for the removed GDirectoryMonitor.
318 * gmemoryoutputstream.c:
319 Remove ununsed variable
321 2008-01-07 Alexander Larsson <alexl@redhat.com>
323 * gmemoryinputstream.c:
324 Translate error strings
327 * gmemoryoutputstream.[ch]:
328 New implementation that avoids using GByteArray
329 in implementation and API. (#506377)
331 2008-01-06 Matthias Clasen <mclasen@redhat.com>
333 * tests/*: Add a test for memory input streams.
335 * Makefile.am: Add tests to SUBDIRS.
337 2008-01-06 Matthias Clasen <mclasen@redhat.com>
339 * glocalfilemonitor.c:
340 * glocaldirectorymonitor.c: Mark property nicks and blurbs
343 2008-01-06 Matthias Clasen <mclasen@redhat.com>
345 * gdesktopappinfo.c: Fix a docs typo.
347 * gfileattribute.c: Add information about extended attributes
348 to the documentation. (#505058)
350 2008-01-04 Alexander Larsson <alexl@redhat.com>
354 Use the right type (uint) for the ask_password signal.
356 2008-01-04 Alexander Larsson <alexl@redhat.com>
361 Add g_app_info_supports_files()
362 Remove desktop arg from g_app_info_should_show().
364 * gdesktopappinfo.[ch]:
365 Implement g_app_info_supports_files() and new should_show()
366 Add g_desktop_app_info_set_desktop_env() to set the desktop
367 for should_show(). (This will be set by gtk+ later)
369 2008-01-04 Alexander Larsson <alexl@redhat.com>
372 * gmemoryinputstream.[ch]:
373 Improve API so that you can use multiple chunks
374 of memory and custom destroy functions. (#506374)
376 2008-01-03 Alexander Larsson <alexl@redhat.com>
379 Handle NULL attribute matchers safely, as we return this
380 for empty attribute matcher strings.
382 2008-01-03 Alexander Larsson <alexl@redhat.com>
384 * gunixmounts.c (g_unix_is_mount_path_system_internal):
385 Add /usr/local to list of internal mountpoints
387 2008-01-03 Alexander Larsson <alexl@redhat.com>
390 Check for HAVE_LCHOWN (#505887)
392 2008-01-03 Alexander Larsson <alexl@redhat.com>
396 Add define for selinux context attribute.
397 Fix missing : -> :: namespace separator change
398 Fix missing _ -> - name change for xattr-sys.
401 2008-01-03 Alexander Larsson <alexl@redhat.com>
404 Link to libglib and libgobject directly (#504879)
405 Patch from Sebastien Bacher
407 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
409 * gfile.c: Expanded the g_file_new_for_commandline_arg
410 description a bit, based on the code and the docs of the
411 other g_file_new_for_* functions.
413 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
415 * gfilemonitor.h: Fixed typo in docs.
417 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
419 Updates to GIO documentation. (#506395, Mikael Hermansson)
421 * gcontenttype.c: Describe memory management for return value of
422 g_content_types_get_registered(). Missing piece from #505815.
423 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
424 GVolume, GDrive, GMounts, which hopefully gives the user less
425 confusions when using this API. Following explainations from
426 Alexander Larsson on gtk-devel-list.
428 2007-12-30 Matthias Clasen <mclasen@redhat.com>
430 * gfileinfo.c: Expand the long description.
432 2007-12-30 Matthias Clasen <mclasen@redhat.com>
435 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
436 fix builds with --disable-visibility. (#500273, Christian Persch)
438 2007-12-30 Matthias Clasen <mclasen@redhat.com>
440 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
441 in the list of returned app infos.
443 2007-12-30 Matthias Clasen <mclasen@redhat.com>
445 * gappinfo.c: Fix a cross-reference
447 2007-12-30 Matthias Clasen <mclasen@redhat.com>
449 * gfileinputstream.c:
450 * gfileoutputstream.c:
456 * gfileinfo.c: Documentation updates.
458 2007-12-26 Matthias Clasen <mclasen@redhat.com>
460 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
463 2007-12-26 Matthias Clasen <mclasen@redhat.com>
465 * gcontenttype.c (g_content_types_get_registered): Don't return
466 freed memory (#505815, Mikael Hermansson)
468 2007-12-25 Paolo Borelli <pborelli@katamail.com>
470 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
471 used to detect statbuf->st_blocks. (#505042)
473 2007-12-24 Matthias Clasen <mclasen@redhat.com>
475 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
476 environment handling. (#504829, Cosimo Cecchi)
478 2007-12-22 Matthias Clasen <mclasen@redhat.com>
480 * gappinfo.c: Doc improvements
482 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
485 2007-12-20 Matthias Clasen <mclasen@redhat.com>
487 * === Released 2.15.0 ===
489 2007-12-20 Hans Breuer <hans@breuer.org>
491 * makefile.msc : don't build gdesktopappinfo.obj, it collides
492 with symbols gwin32appinfo.obj, added gmount.obj
493 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
495 2007-12-20 Alexander Larsson <alexl@redhat.com>
501 * gfilenamecompleter.c:
504 * gpollfilemonitor.c:
505 File attribute renames:
508 id::fs -> id::filesystem
510 2007-12-20 Alexander Larsson <alexl@redhat.com>
519 Add GMountUnmountFlags to all unmount and
521 Add g_mount_remount() call.
523 2007-12-20 Alexander Larsson <alexl@redhat.com>
525 * gvfs.c (get_default_vfs):
526 Fix unused variable warning
528 2007-12-19 Matthias Clasen <mclasen@redhat.com>
530 * pltcheck.sh: Update
532 2007-12-19 Matthias Clasen <mclasen@redhat.com>
534 * gunionvolumemonitor.c:
535 * gunixmount.c: Remove C99 comments
537 2007-12-19 Matthias Clasen <mclasen@redhat.com>
539 * gio.symbols: Add some missing symbols
541 2007-12-19 Alexander Larsson <alexl@redhat.com>
544 Make g_io_modules_load_all_in_directory not unuse
545 loaded modules so that users of it can do stuff
547 Init internal "module" types.
548 Initialize static prio and name for types so that
549 we don't have to load modules to get it.
551 * gnativevolumemonitor.h:
553 Move is_supported to parent class so that
554 non-native monitors can avoid being initialized
555 too. (For instance GDaemonVolumeMonitor if we're
556 not using GDaemonVfs.)
558 * glocaldirectorymonitor.[ch]:
559 * glocalfilemonitor.[ch]:
560 * gunionvolumemonitor.c:
561 * gunixvolumemonitor.c:
563 Find plugins using the static prio+name to
564 avoid unnecessarily loading the modules.
566 2007-12-19 Alexander Larsson <alexl@redhat.com>
571 2007-12-19 Alexander Larsson <alexl@redhat.com>
573 * gunionvolumemonitor.c:
574 Store the native type as GType, not class so that
575 we can unload it. But still avoid unnecessarily
578 2007-12-19 David Zeuthen <davidz@redhat.com>
580 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
581 add signals 'disconnected' and 'eject-button' on GDrive. Add
582 signal 'removed' on GVolume and 'unmounted' on GMount.
584 * gdrive.c: (g_drive_base_init):
586 * gfile.c: (g_file_mount_mountable),
587 (g_file_mount_enclosing_volume):
590 * gmount.c: (g_mount_base_init):
592 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
593 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
594 * gvolume.c: (g_volume_base_init), (g_volume_mount):
598 2007-12-17 Matthias Clasen <mclasen@redhat.com>
600 * *.c: Fix up includes in the section docs.
602 2007-12-17 Alexander Larsson <alexl@redhat.com>
604 * gnativevolumemonitor.h:
605 * gunionvolumemonitor.c:
606 * gunixvolumemonitor.c:
607 Add is_supported() to GNativeVolumeMonitorClass so
608 that we can avoid having to create an object to see
609 if the backend is supported at runtime.
610 Also add name member and an env var to pick a specific
611 volume monitor backend.
615 Add cancellable to _g_mount_get_for_mount_path()
617 * glocaldirectorymonitor.c:
618 * glocalfilemonitor.c:
619 Avoid loading and unloading modules while sorting.
621 2007-12-17 Matthias Clasen <mclasen@redhat.com>
624 * gunixmounts.[hc]: Namespace waste reduction, move some
625 g_get_unix_mount functions to the g_unix_mount namespace.
628 * gunixvolumemonitor.c:
630 * glocaldirectorymonitor.c: Update all callers.
632 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
634 2007-12-17 Alexander Larsson <alexl@redhat.com>
637 Add doc comments about what GFile operations are
638 guaranteed to not block.
640 2007-12-17 Alexander Larsson <alexl@redhat.com>
643 Add missing #ifdef fixing OSX build.
644 (#503334, patch from Richard Hult)
646 2007-12-14 David Zeuthen <davidz@redhat.com>
650 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
651 (g_mount_eject), (g_mount_eject_finish):
653 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
654 (get_volume_for_uuid), (get_mount_for_uuid),
655 (g_union_volume_monitor_class_init),
656 (get_default_native_type_with_exclude), (get_default_native_type),
657 (get_native_type), (update_native_type),
658 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
659 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
660 (g_unix_mount_can_eject), (eject_unmount_cb),
661 (eject_unmount_read_error), (eject_unmount_do),
662 (g_unix_mount_unmount), (g_unix_mount_eject),
663 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
664 * gunixmounts.c: (g_unix_mount_guess_can_eject),
665 (g_unix_mount_point_guess_can_eject):
667 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
668 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
669 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
670 (g_unix_volume_mount), (g_unix_volume_eject),
671 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
672 * gunixvolumemonitor.c: (get_volume_for_uuid),
673 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
675 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
676 (g_volume_eject), (g_volume_eject_finish):
678 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
679 (g_volume_monitor_get_mount_for_uuid):
682 Provide eject() on both GMount and GVolume and utility functions
683 to guess whether a GUnixMountPoint or GUnixMountEntry should be
684 ejected. Introduce the concept of UUID's and wire it into GVolume
685 and GMount and provide API on GVolumeMonitor to find such
686 instances. Also handle the case where an external
687 GNativeVolumeMonitor fails to initialize. Lock around the
688 _g_get_mount_for_mount_path() function such that volume monitor
689 implementations won't have to do locking themselves.
691 2007-12-17 Matthias Clasen <mclasen@redhat.com>
699 * gvolume.h: Documentation updates
701 2007-12-14 Matthias Clasen <mclasen@redhat.com>
704 * gfile.h: Doc updates
706 2007-12-14 Matthias Clasen <mclasen@redhat.com>
709 * gdesktopappinfo.c: Use hash table iterators.
711 2007-12-14 Alexander Larsson <alexl@redhat.com>
714 * gfileattribute.[ch]:
715 * gfileattribute-priv.h:
716 Move GFileAttributeValue to a private header, as
720 Make set_attribute take a type + a pointer instead
721 of a GFileAttributeValue.
724 Fix up for above changes.
725 Add g_file_info_get_attribute_data to get
726 all info in one call, g_file_info_get_attribute_status
727 to get the status and g_file_info_get_attribute_as_string.
731 * glocalfileinfo.[ch]:
735 Make _guess_type static.
737 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
740 * inotify/Makefile.am: Fixed build when srcdir != builddir,
741 made mkenums and friends use temporary files to avoid leaving
742 empty generated files on failure (#503470).
744 2007-12-14 Alexander Larsson <alexl@redhat.com>
749 2007-12-14 Alexander Larsson <alexl@redhat.com>
753 * gfileattribute.[ch]:
756 * glocalfileoutputstream.c:
757 * gmountoperation.[ch]:
758 * goutputstream.[ch]:
759 Clean up all flags enums to not have _FLAGS in them
760 Make the names of some of the enums better.
765 2007-12-14 Michael Natterer <mitch@imendio.com>
767 * gio.symbols: fix g_io_scheduler symbol names.
769 2007-12-14 Alexander Larsson <alexl@redhat.com>
775 * gbufferedinputstream.h:
776 * gbufferedoutputstream.h:
779 * gdatainputstream.h:
780 * gdataoutputstream.h:
782 * gdirectorymonitor.h:
789 * gfileinputstream.h:
791 * gfilenamecompleter.h:
792 * gfileoutputstream.h:
793 * gfilterinputstream.h:
794 * gfilteroutputstream.h:
802 * gmemoryinputstream.h:
803 * gmemoryoutputstream.h:
808 * gsimpleasyncresult.h:
810 * gunixinputstream.h:
812 * gunixoutputstream.h:
816 * inotify/Makefile.am:
817 Only allow including <gio/gio.h> from apps
819 2007-12-14 Alexander Larsson <alexl@redhat.com>
822 * gsimpleasyncresult.c:
823 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
824 Split out the send_to_mainloop call into two versions instead
825 of having the block argument.
827 2007-12-13 Alexander Larsson <alexl@redhat.com>
831 * gbufferedinputstream.c:
833 * gfileinputstream.c:
834 * gfileoutputstream.c:
838 g_push/pop_current_cancellable ->
839 g_cancellable_push/pop_current
841 2007-12-13 Alexander Larsson <alexl@redhat.com>
845 Rename g_mount_for_location to g_file_mount_enclosing_volume.
847 2007-12-13 Alexander Larsson <alexl@redhat.com>
850 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
852 2007-12-12 Alexander Larsson <alexl@redhat.com>
855 Fix race condition when freeing proxy in
856 g_io_job_send_to_mainloop().
858 2007-12-12 Alexander Larsson <alexl@redhat.com>
864 Make attribute namespace separator "::" instead of ":".
865 Use - instead of _ as separator in attribute names.
867 2007-12-12 Alexander Larsson <alexl@redhat.com>
869 * gbufferedinputstream.h:
870 * gbufferedoutputstream.h:
871 * gdatainputstream.h:
872 * gdataoutputstream.h:
873 * gdirectorymonitor.h:
875 * gfileinputstream.h:
877 * gfileoutputstream.h:
878 * gfilterinputstream.h:
879 * gfilteroutputstream.h:
881 * glocalfileinputstream.h:
882 * glocalfileoutputstream.h:
883 * gmemoryinputstream.h:
884 * gmemoryoutputstream.h:
885 * gnativevolumemonitor.h:
887 * gunixinputstream.h:
888 * gunixoutputstream.h:
891 s/parent/parent_instance/ in GObjects
893 2007-12-12 Alexander Larsson <alexl@redhat.com>
898 No need for padding for interfaces
900 2007-12-12 Alexander Larsson <alexl@redhat.com>
904 * gbufferedinputstream.c:
905 * gbufferedoutputstream.c:
908 * gdatainputstream.[ch]:
910 * gdirectorymonitor.c:
912 * gfileattribute.[ch]:
915 * gfileinputstream.h:
917 * gfileoutputstream.[ch]:
918 * gfilterinputstream.h:
919 * gfilteroutputstream.h:
922 * gloadableicon.[ch]:
923 * gmemoryinputstream.c:
926 Fix up a bunch of details in the docs.
931 2007-12-11 David Zeuthen <davidz@redhat.com>
933 Rework how volumes, drives and volume monitoring is
934 done. Previosly the model was
938 where a GDrive instance represented a mount point and a GVolume
939 instance represented a mounted file system. This patch changes it
942 GDrive <1-N> GVolume <1-1> GMount
944 where GMount now serves the purpose of the old GVolume and the new
945 GVolume serves the purpose of the old GDrive. In addition the new
946 GDrive interface is used to represent a collection of GVolume
947 instances (typically partitions) and also contains utility to query
948 the state of the physical drive the GDrive object represents (such
949 as checking for media, polling the drive, ejecting the media etc.).
951 Also implement mounting and unmounting in the Unix volume monitor
952 backend. A subquent patch will introduce GDrive support for ejection
956 * gdrive.c: (g_drive_is_media_check_automatic),
957 (g_drive_is_media_removable), (g_drive_has_media),
958 (g_drive_can_poll_for_media), (g_drive_eject),
959 (g_drive_eject_finish), (g_drive_poll_for_media),
960 (g_drive_poll_for_media_finish):
962 * gfile.c: (g_file_find_enclosing_mount):
965 * glocaldirectorymonitor.c:
966 (g_local_directory_monitor_constructor), (mounts_changed):
967 * glocalfile.c: (get_mount_info),
968 (g_local_file_find_enclosing_mount),
969 (g_local_file_file_iface_init):
970 * gnativevolumemonitor.h:
971 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
972 (get_connected_drives), (g_union_volume_monitor_class_init),
973 (child_volume_added), (child_volume_removed),
974 (child_volume_changed), (child_mount_added), (child_mount_removed),
975 (child_mount_pre_unmount), (child_mount_changed),
976 (child_drive_changed), (g_union_volume_monitor_add_monitor),
977 (g_union_volume_monitor_remove_monitor),
978 (_g_mount_get_for_mount_path):
979 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
980 (guess_system_internal), (_g_get_unix_mounts),
981 (_g_get_unix_mount_points), (g_get_unix_mount_at),
982 (g_unix_mount_free), (g_unix_mount_compare),
983 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
984 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
985 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
986 (type_to_icon), (g_unix_mount_guess_name),
987 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
988 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
989 (_resolve_symlink), (_resolve_dev_root):
991 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
992 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
993 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
994 (g_unix_volume_get_name), (g_unix_volume_can_mount),
995 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
996 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
997 (g_unix_volume_mount), (g_unix_volume_mount_finish),
998 (g_unix_volume_volume_iface_init):
1000 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1001 (get_mounts), (get_volumes), (get_connected_drives),
1002 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1003 (mountpoints_changed), (mounts_changed),
1004 (g_unix_volume_monitor_init),
1005 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1006 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1007 * gunixvolumemonitor.h:
1008 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1009 (g_volume_mount), (g_volume_mount_finish):
1011 * gvolumemonitor.c: (g_volume_monitor_class_init),
1012 (g_volume_monitor_get_connected_drives),
1013 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1016 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1018 * gmountoperation.h (GPasswordFlags): Close the gap
1020 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1022 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1024 * gdesktopappinfo.[hc]: Remove _-prefixes
1026 2007-12-10 Tor Lillqvist <tml@novell.com>
1028 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1031 2007-12-10 Alexander Larsson <alexl@redhat.com>
1033 * gfile.c (g_file_set_display_name):
1034 Don't hardcode '/' (#502727)
1036 2007-12-09 Hans Breuer <hans@breuer.org>
1038 * makefile.msc : follow lib naming convention
1039 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1040 for user and group name, tested with ../tests/gio-ls
1042 2007-12-09 A. Walton <awalton@svn.gnome.org>
1044 * gdesktopappinfo.c:
1050 * gfileenumerator.c:
1055 * gmemoryinputstream.c:
1056 * gmemoryoutputstream.c:
1058 * gsimpleasyncresult.c:
1059 More documentation cleanup and filling in missing information, bringing
1060 GIO to 99% symbol coverage.
1062 2007-12-08 Hans Breuer <hans@breuer.org>
1064 [gio compiles and links on win32, not sure how much already works]
1065 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1066 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1067 base on win32 API; prefer g_lstat() over lstat(); instead of
1068 localtime_r() use an all GLib implementation on win32;
1069 get_mount_info() still needs a win32 specifc implementation
1070 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1071 win32_get_file_user_info to get owner/group info without uid/gid
1072 * glocalfileinputstream.c : include <io.h> on win32
1073 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1074 definition, use g_win32_ftruncate() for G_OS_WIN32
1075 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1076 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1077 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1078 * makefile.msc : updated
1080 2007-12-07 Alexander Larsson <alexl@redhat.com>
1082 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1083 Avoid warning spew if error == NULL
1085 2007-12-07 Alexander Larsson <alexl@redhat.com>
1088 Update docs wrt etags
1090 2007-12-06 Alexander Larsson <alexl@redhat.com>
1093 Include sys/types.h for dev_t (#501919)
1095 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1099 Make abicheck and pltcheck pass.
1101 2007-12-05 Alexander Larsson <alexl@redhat.com>
1104 * giomodule-priv.h: Added.
1105 * glocaldirectorymonitor.c:
1106 * glocalfilemonitor.c:
1107 * gunionvolumemonitor.c:
1109 Actually add the declaration of _g_io_modules_ensure_loaded
1111 2007-12-05 Alexander Larsson <alexl@redhat.com>
1113 * gdatainputstream.c:
1118 * glocaldirectorymonitor.c:
1119 * glocalfilemonitor.c:
1120 * gunionvolumemonitor.c:
1122 Make g_io_modules_ensure_loaded a private function and
1123 don't pass in the dirname. This means we can do magic
1124 directory finding in the win32 version.
1125 Export the actual load-modules-in-directory code so that
1126 gvfs can reuse that.
1128 2007-12-05 Alexander Larsson <alexl@redhat.com>
1130 * gbufferedinputstream.c:
1131 * gbufferedoutputstream.c:
1134 * gfileenumerator.[ch]:
1135 * gfileinputstream.c:
1136 * gfileoutputstream.[ch]:
1137 * gfilterinputstream.c:
1138 * gfilteroutputstream.c:
1139 * ginputstream.[ch]:
1141 * glocalfileenumerator.c:
1142 * glocalfileinputstream.c:
1143 * glocalfileoutputstream.c:
1144 * gmemoryinputstream.c:
1145 * gmemoryoutputstream.c:
1146 * goutputstream.[ch]:
1149 * gunixinputstream.c:
1150 * gunixoutputstream.c:
1151 Rename all struct members named:
1152 read, write, close, truncate, or mount
1153 to foo_fn, as these are reserved names
1154 and could be defined as macros in libc.
1157 2007-12-04 Alexander Larsson <alexl@redhat.com>
1160 (g_output_stream_close):
1161 Only call flush if non-null.
1163 2007-11-30 Dan Winship <danw@gnome.org>
1165 * ginputstream.c (g_input_stream_set_pending): Make this take a
1166 GError and return a gboolean, and do the "outstanding operation"
1167 check (and the "stream is already closed" check) itself.
1168 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1170 * goutputstream.c (g_output_stream_set_pending)
1171 (g_output_stream_clear_pending): Likewise
1173 * gbufferedinputstream.c:
1174 * gfileinputstream.c:
1175 * gfileoutputstream.c: Update for that
1177 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1178 Like g_simple_async_report_error_in_idle, but takes a GError
1179 rather than building one.
1181 2007-11-30 Dan Winship <danw@gnome.org>
1183 * goutputstream.c: Don't cheat and unset the "pending" flag around
1184 inner calls. Instead, call the class method directly rather than
1185 the wrapper function that checks "pending"
1187 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1189 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1191 2007-12-03 Hans Breuer <hans@breuer.org>
1193 [start of port to win32/msvc]
1194 * gcancellable.c : HAVE_UNIST_H and _pipe()
1195 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1196 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1197 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1199 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1200 * glocalvfs.c : use HAVE_PWD_H
1201 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1202 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1203 * Makefile.am : added to EXTRA_DIST
1205 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1207 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1210 2007-12-03 Alexander Larsson <alexl@redhat.com>
1213 Handle OSX style xattrs API (#500506)
1215 2007-12-03 Alexander Larsson <alexl@redhat.com>
1219 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1221 2007-12-02 A. Walton <awalton@svn.gnome.org>
1225 Documentation accuracy fixes.
1227 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1229 * gioenumtypes.c.template: Fix typo.
1231 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1233 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1235 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1237 * gdirectorymonitor.c:
1238 * gfilemonitor.c: Add properties
1240 * gbufferedoutputstream.c: Don't mark buffer-size property
1243 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1245 * gbufferedoutputstream.c: Add auto-grow property.
1247 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1249 * *.c: Unify the capitalization of section headings.
1251 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1253 * gmountoperation.c: Add properties
1255 * gdatainputstream.c: Turn byte-order and newline-type into
1258 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1260 * gioenumtypes.[hc].template: Templates for enum registration
1262 * Makefile.am: Generate gioenumtypes.[hc]
1264 * gio.h: Include gioenumtypes.h
1266 * gfile.h: Add some explicit nicks.
1268 * gio.symbols: Add new symbols
1270 * pltcheck.sh: Adjust
1272 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1274 * *.c: Explain etags and link to the explanation
1276 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1278 * *.c: Explain I/O priority.
1280 * *.c: More coding style fixes.
1282 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1284 * gasyncresult.c: Add another paragraph to the intro,
1285 adjust coding style of example.
1287 2007-11-29 A. Walton <awalton@svn.gnome.org>
1290 Fixes unknown meaning in GAppLaunchContext docs.
1292 Clarify asynchronous ops.
1294 Fix entity tag docs.
1297 Provides missing gtk-doc section, fixes API docs slighly.
1298 * gsimpleasyncresult.c:
1299 Fill in missing info in docs.
1300 * gunixinputstream.c:
1301 * gunixoutputstream.c:
1302 Be more expressive in short description.
1304 Remove gtk-doc stubs for non-public API.
1306 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1308 * *.c: Coding style fixups
1310 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1312 * inotify/inotify-helper.c: Don't export the lock from libgio.
1314 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1317 * abicheck.sh: Fix copy-and-paste leftovers
1319 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1321 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1323 2007-11-28 Alexander Larsson <alexl@redhat.com>
1327 Removed unnecessary file
1329 * gdesktopappinfo.[ch]:
1332 * glocaldirectorymonitor.[ch]:
1334 * glocalfileenumerator.[ch]:
1335 * glocalfileinputstream.[ch]:
1336 * glocalfilemonitor.[ch]:
1337 * glocalfileoutputstream.[ch]:
1339 * gnativevolumemonitor.c:
1340 * gpollfilemonitor.[ch]:
1341 * gunionvolumemonitor.[ch]:
1344 * gunixvolumemonitor.[ch]:
1347 * inotify/ginotifydirectorymonitor.[ch]:
1348 * inotify/ginotifyfilemonitor.[ch]:
1349 * inotify/inotify-helper.c:
1350 Append _ to all internal functions
1354 Export symbols needed for modules
1356 2007-11-28 Alexander Larsson <alexl@redhat.com>
1359 * abicheck.sh: Added.
1360 * makegioalias.pl: Added.
1361 * pltcheck.sh: Added.
1362 * gio.symbols: Added.
1365 Initial work on adding symbol handling.
1368 Correct ifdef guard name
1371 * inotify/Makefile.am:
1372 * xdgmime/Makefile.am:
1373 Include toplevel Makefile.decl
1375 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1377 * gcontenttype.c: Move doc comments to the unix section.
1379 * *.[hc]: More trivial doc corrections.
1381 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1383 * gpollfilemonitor.c:
1387 * gdesktopappinfo.c:
1392 * gdatainputstream.c:
1393 * gdatainputstream.h:
1394 * gdataoutputstream.c:
1395 * gdataoutputstream.h:
1396 * gfileinfo.h: Doc cleanups
1398 2007-11-28 Andre Klapper <a9016009@gmx.de>
1400 * gdesktopappinfo.c: Fix a typo.
1402 2007-11-27 Andre Klapper <a9016009@gmx.de>
1404 * glocalfileoutputstream.c: Fix a typo.
1406 2007-11-27 Alexander Larsson <alexl@redhat.com>
1409 Don't include removed headers
1411 2007-11-27 Alexander Larsson <alexl@redhat.com>
1414 * gsocketinputstream.[ch]: Removed.
1415 * gsocketoutputstream.[ch]: Removed.
1416 * gunixinputstream.[ch]: Added.
1417 * gunixoutputstream.[ch]: Added.
1418 Renamed GSocket*Stream to GUnix*Stream and made
1419 it unix-only, since its not really only for sockets
1420 and it only works on unix (but is highly useful there).
1422 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1428 * gbufferedinputstream.c:
1429 * gbufferedinputstream.h:
1430 * gbufferedoutputstream.c:
1431 * gbufferedoutputstream.h:
1435 * gdatainputstream.c:
1436 * gdatainputstream.h:
1437 * gdataoutputstream.c:
1438 * gdataoutputstream.h:
1439 * gdirectorymonitor.c:
1440 * gdirectorymonitor.h:
1447 * gfileenumerator.c:
1448 * gfileenumerator.h:
1453 * gfileinputstream.c:
1454 * gfileinputstream.h:
1457 * gfilenamecompleter.c:
1458 * gfilenamecompleter.h:
1459 * gfileoutputstream.c:
1460 * gfileoutputstream.h:
1461 * gfilterinputstream.c:
1462 * gfilterinputstream.h:
1463 * gfilteroutputstream.c:
1464 * gfilteroutputstream.h:
1477 * glocalfileoutputstream.c:
1478 * gmemoryinputstream.c:
1479 * gmemoryinputstream.h:
1480 * gmemoryoutputstream.c:
1481 * gmemoryoutputstream.h:
1482 * gmountoperation.c:
1483 * gmountoperation.h:
1486 * gpollfilemonitor.c:
1489 * gsimpleasyncresult.c:
1490 * gsimpleasyncresult.h:
1491 * gsocketinputstream.c:
1492 * gsocketinputstream.h:
1493 * gsocketoutputstream.c:
1494 * gsocketoutputstream.h:
1501 * gunixvolumemonitor.c:
1510 Bumps documentation to 93% symbol coverage, touching most
1511 of the public files. Fixes broken function documentation prototypes.
1512 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1513 gtk-doc headers in private files.
1515 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1517 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1518 (g_buffered_input_stream_read_byte):
1519 * gbufferedinputstream.h:
1520 New functions for efficient access to buffer and simple single byte
1523 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1524 (g_data_input_stream_read_until):
1525 * gdatainputstream.h:
1526 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1527 read_until with multiple stop chars.
1529 2007-11-27 Alexander Larsson <alexl@redhat.com>
1533 * inotify/Makefile.am:
1534 Use the user-specified giomoduledir
1536 2007-11-27 Alexander Larsson <alexl@redhat.com>
1540 Add catch-all gio.h header
1541 Don't install gdummyfile.h
1543 2007-11-26 Alexander Larsson <alexl@redhat.com>
1545 * Makefile.am (gioinclude_HEADERS):
1546 Remove trailing whitespace
1548 2007-11-26 Alexander Larsson <alexl@redhat.com>
1550 Merge gio-standalone into glib
1552 2007-11-25 Christian Kellner <gicmo@gnome.org>
1554 * gio/goutputstream.c:
1555 Fix small mistake in the docs.
1557 2007-11-21 Christian Persch <chpe@gnome.org>
1559 * gio/glocalfile.c: (g_local_file_trash):
1560 Convert filenames to UTF-8 for GError.
1561 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1562 as per xdg base dir spec.
1564 2007-11-21 Christian Persch <chpe@gnome.org>
1566 * gio/gdesktopappinfo.c:
1567 Use that g_key_file_to_data cannot fail.
1569 Use stock defines for the key file group and key names.
1572 2007-11-21 Alexander Larsson <alexl@redhat.com>
1575 (copy_stream_with_progress):
1576 Make sure we do a final progress callback with
1577 the full total size.
1579 2007-11-21 Alexander Larsson <alexl@redhat.com>
1582 Export g_file_copy_attributes
1583 Remove padding as its not needed for interfaces
1585 2007-11-20 Alexander Larsson <alexl@redhat.com>
1590 Add G_IO_ERROR_WOULD_MERGE for
1591 copy/move dir on dir with overwrite.
1593 2007-11-20 Alexander Larsson <alexl@redhat.com>
1596 * gio/glocalfileinfo.c:
1597 Add COPY_NAME (this is an optional
1598 non-modified utf8 version of the name) that
1601 2007-11-20 Alexander Larsson <alexl@redhat.com>
1603 * gio/glocalfileenumerator.c:
1604 Report errors as GIOError, not GFileError
1606 2007-11-16 Alexander Larsson <alexl@redhat.com>
1608 * gio/glocalfileoutputstream.c:
1609 * gio/gwin32appinfo.c:
1610 Fix typos in strings.
1611 Patch from Luca Ferretti <elle.uca@libero.it>
1613 2007-11-15 Alexander Larsson <alexl@redhat.com>
1616 Post release version bump
1618 === gio-standalone 0.1.2 ===
1620 2007-11-15 Alexander Larsson <alexl@redhat.com>
1622 * docs/reference/gio/Makefile.am:
1623 Fix up distcheck by removing weird
1629 2007-11-14 Alexander Larsson <alexl@redhat.com>
1631 * gio/gdesktopappinfo.c:
1632 * gio/glocaldirectorymonitor.c:
1634 * gio/glocalfileinfo.c:
1635 * gio/inotify/inotify-sub.c:
1636 * programs/gio-cat.c:
1637 * programs/gio-copy.c:
1638 * programs/gio-info.c:
1639 * programs/gio-ls.c:
1640 * programs/gio-monitor-dir.c:
1641 * programs/gio-monitor-file.c:
1642 * programs/gio-mount.c:
1643 * programs/gio-move.c:
1644 * programs/gio-rm.c:
1645 * programs/gio-save.c:
1646 * programs/gio-trash.c:
1647 Leak fixes from Kjartan Maraas
1649 2007-11-14 Alexander Larsson <alexl@redhat.com>
1651 * gio/fam/fam-helper.c:
1653 * gio/glocalfileinfo.c:
1657 * gio/inotify/inotify-diag.c:
1658 * gio/inotify/inotify-kernel.c:
1659 Various code cleanups from Kjartan Maraas
1661 2007-11-14 Alexander Larsson <alexl@redhat.com>
1663 * gio/gioscheduler.c:
1665 Set up threadpool so that we cache 2 unused
1666 idle threads for at 15 secs. This means we
1667 will reuse thread-local data (like dbus connections)
1670 2007-11-14 Alexander Larsson <alexl@redhat.com>
1672 * gio/fam/fam-helper.c:
1673 * gio/fam/gfamdirectorymonitor.c:
1674 * gio/fam/gfamfilemonitor.c:
1676 * gio/gcontenttype.c:
1677 * gio/gdatainputstream.c:
1678 * gio/gdataoutputstream.c:
1682 * gio/gfileattribute.h:
1683 * gio/gfileenumerator.c:
1685 * gio/ginputstream.c:
1688 * gio/glocalfileinfo.c:
1689 * gio/goutputstream.c:
1690 * gio/gpollfilemonitor.c:
1691 * gio/gsimpleasyncresult.c:
1692 * gio/gunixmounts.c:
1693 * gio/gunixmounts.h:
1694 * gio/inotify/ginotifydirectorymonitor.c:
1695 * gio/inotify/ginotifyfilemonitor.c:
1696 * gio/inotify/inotify-diag.c:
1697 * gio/inotify/inotify-kernel.c:
1698 * gio/inotify/inotify-path.c:
1700 * gio/test-streams.c:
1701 * programs/gio-info.c:
1702 * programs/gio-monitor-dir.c:
1703 * programs/gio-monitor-file.c:
1704 Various code cleanups from Kjartan Maraas
1706 2007-11-13 Alexander Larsson <alexl@redhat.com>
1709 Handle the uri-scheme calls for dummy files
1711 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1713 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1714 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1715 to avoid clash with the C++ keyword.
1717 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1719 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1720 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1722 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1724 * gio/glocaldirectorymonitor.c:
1725 * gio/glocalfilemonitor.c:
1726 * gio/gunionvolumemonitor.c:
1727 Don't use g_once_init_*() for initializations that could fail and
1728 could leave the initialization variable set to 0 but use GOnce.
1729 This prevents a deadlock on the second call when trying to create
1730 a monitor and no monitor type is available. Thanks to Sven Herzberg
1733 2007-11-11 Sven Herzberg <sven@imendio.com>
1735 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1736 #ifdef (make it work on MacOS X again)
1738 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1740 Fixes Changelog for last two commits (sorry guys).
1742 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1744 * gio/gbufferedinputstream.c:
1745 * gio/gdatainputstream.c:
1747 * gio/gfileoutputstream.c:
1748 * gio/gfilterinputstream.c:
1749 * gio/glocalfileinputstream.c:
1752 More consistency fixes in g*stream.c files.
1753 Significant clean of gfile's documentation, filling in of
1754 asynchronous operations documentation.
1756 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1758 * gio/gasyncresult.c:
1759 * gio/gbufferedinputstream.c:
1760 * gio/gbufferedoutputstream.c:
1761 * gio/gcancellable.c:
1762 * gio/gcontenttype.c:
1763 * gio/gdatainputstream.c:
1764 * gio/gdataoutputstream.c:
1765 * gio/gdesktopappinfo.c:
1768 * gio/gfileattribute.c:
1769 * gio/gio/gfileenumerator.c:
1771 * gio/gfileinputstream.c:
1772 * gio/gfilemonitor.c:
1773 * gio/gfileoutputstream.c:
1774 * gio/ginputstream.c:
1776 * gio/gioscheduler.c:
1777 * gio/gloadableicon.c:
1778 * gio/glocalfileoutputstream.c:
1779 * gio/gmemoryoutputstream.c:
1780 * gio/gmountoperation.c:
1781 * gio/goutputstream.c:
1783 * gio/gsimpleasyncresult.c:
1784 * gio/gunionvolumemonitor.c:
1785 * gio/gunixmounts.c:
1786 * gio/gunixvolume.c:
1790 * gio/gvolumemonitor.c:
1791 Updated documentation stubs, working towards consistency and
1794 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1796 * gio/gmemoryoutputstream.c:
1797 * gio/gmemoryoutputstream.h:
1798 Change g_memory_output_stream_set_free_on_close() to
1799 g_memory_output_stream_set_free_data() as this makes more sense and
1800 is more consistent with GMemoryInputStream.
1802 2007-11-07 Alexander Larsson <alexl@redhat.com>
1809 Change how we find the default vfs so that
1810 we can handle a gvfs failing to init
1812 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1814 * gio/gbufferedoutputstream.c:
1815 * gio/gdatainputstream.c:
1816 * gio/gdataoutputstream.c:
1817 * gio/gfileinputstream.c:
1818 * gio/gfileoutputstream.c:
1819 * gio/gfilterinputstream.c:
1820 * gio/gfilteroutputstream.c:
1821 * gio/ginputstream.c:
1822 * gio/gmemoryinputstream.c:
1823 * gio/gmemoryoutputstream.c:
1824 * gio/goutputstream.c:
1825 * gio/gsimpleasyncresult.c:
1826 * gio/gsocketinputstream.c:
1827 * gio/gsocketoutputstream.c:
1828 Add guards to the remaining public functions, add a TODO for
1829 an unimplemented function and remove some useless guards.
1831 2007-11-07 Alexander Larsson <alexl@redhat.com>
1834 Autoconf checks for the various types of
1835 getpwuid_r and getgrgid_r
1837 * gio/glocalfileinfo.c:
1838 Use the autoconf checks from above
1840 2007-11-07 Alexander Larsson <alexl@redhat.com>
1843 (g_local_file_query_filesystem_info):
1844 Some fixes for the statvfs case
1846 2007-11-07 Alexander Larsson <alexl@redhat.com>
1849 (g_local_file_query_filesystem_info):
1850 Pick the "best" of statfs / statvfs for the system
1851 if both are availible.
1853 2007-11-07 Alexander Larsson <alexl@redhat.com>
1855 Solaris fixes from Halton.Huo@Sun.COM:
1862 * gio/glocalfileinfo.c:
1863 Fix for solaris definition of getpwuid_r
1865 * gio/test-streams.c:
1866 Use G_GNUC_PRETTY_FUNCTION
1868 2007-11-07 Alexander Larsson <alexl@redhat.com>
1870 * gio/gdesktopappinfo.c:
1871 (update_default_list):
1872 Remove double semicolon.
1873 Patch from Jens Granseuer
1875 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1877 * docs/reference/gio/gio-sections.txt:
1878 * gio/gbufferedinputstream.c:
1879 * gio/gbufferedinputstream.h:
1880 * gio/gdatainputstream.c:
1881 * gio/gfileenumerator.c:
1882 * gio/gioscheduler.c:
1883 * gio/gunionvolumemonitor.c:
1885 * programs/gio-save.c:
1886 Fix typo: availible -> available. Unfortuntely this breaks API
1887 and ABI as g_buffered_input_stream_get_available() was renamed.
1889 * gio/gunixmounts.c:
1890 * gio/gbufferedinputstream.c:
1891 Add guards for public functions.
1893 2007-11-06 Ross Burton <ross@openedhand.com>
1895 * docs/reference/gio/Makefile.am:
1896 Fix invalid += usage which automake 1.10 doesn't like.
1898 2007-11-06 Alexander Larsson <alexl@redhat.com>
1901 (g_app_launch_context_class_init):
1904 Patch from Ross Burton
1906 2007-11-06 Alexander Larsson <alexl@redhat.com>
1909 Post release version bump
1911 === gio-standalone 0.1.1 ===
1913 2007-11-06 Alexander Larsson <alexl@redhat.com>
1916 Bump version to 0.1.1
1918 * gio/gsimpleasyncresult.c:
1919 (g_simple_async_result_set_from_error):
1920 Remove bogus g_return_if_fail
1922 2007-11-06 Alexander Larsson <alexl@redhat.com>
1925 The name is gio-standalone
1928 Add top src/builddir to includedir
1930 2007-11-06 Alexander Larsson <alexl@redhat.com>
1932 * docs/reference/gio/gio-sections.txt:
1934 * gio/gbufferedinputstream.c:
1935 * gio/gbufferedoutputstream.c:
1936 * gio/gcancellable.c:
1937 * gio/gdatainputstream.h:
1938 * gio/gdataoutputstream.c:
1939 * gio/gdataoutputstream.h:
1940 * gio/gdirectorymonitor.c:
1942 * gio/gfileattribute.c:
1943 * gio/gfileattribute.h:
1944 * gio/gfileenumerator.c:
1945 * gio/gfileenumerator.h:
1948 * gio/gfileinputstream.h:
1949 * gio/gfilemonitor.c:
1950 * gio/gfileoutputstream.h:
1951 * gio/glocalfilemonitor.h:
1952 * gio/glocalfileoutputstream.h:
1953 * gio/gmemoryinputstream.c:
1954 * gio/gmemoryoutputstream.c:
1955 * gio/gmountoperation.c:
1956 * gio/goutputstream.c:
1957 * gio/goutputstream.h:
1959 * gio/gsimpleasyncresult.c:
1960 * gio/gunixmounts.c:
1961 * gio/gunixmounts.h:
1963 * gio/inotify/inotify-helper.c:
1964 Fix gtk-doc warnings
1966 Patch from Ross Burton
1968 2007-11-06 Alexander Larsson <alexl@redhat.com>
1970 * gio/gfilenamecompleter.c:
1971 (g_filename_completer_get_completions):
1974 * gio/gunixvolume.c:
1975 Remove unused function
1977 Patches from Ross Burton
1979 2007-11-06 Alexander Larsson <alexl@redhat.com>
1984 Padding not needed for interfaces
1986 2007-11-06 Alexander Larsson <alexl@redhat.com>
1988 * gio/gfilemonitor.c:
1992 Make giotypes.h an internal file
1995 * gio/gbufferedinputstream.h:
1996 * gio/gbufferedoutputstream.h:
1997 * gio/gcancellable.h:
1998 * gio/gdatainputstream.h:
1999 * gio/gdataoutputstream.h:
2000 * gio/gdirectorymonitor.c:
2001 * gio/gdirectorymonitor.h:
2006 * gio/gfileattribute.h:
2007 * gio/gfileenumerator.h:
2012 * gio/gfilemonitor.c:
2013 * gio/gfilemonitor.h:
2014 * gio/gfilenamecompleter.c:
2015 * gio/gfilenamecompleter.h:
2016 * gio/gfilterinputstream.h:
2017 * gio/gfilteroutputstream.h:
2018 * gio/ginputstream.h:
2019 * gio/gmemoryinputstream.h:
2020 * gio/gmemoryoutputstream.h:
2021 * gio/gmountoperation.c:
2022 * gio/gmountoperation.h:
2023 * gio/gnativevolumemonitor.c:
2024 * gio/goutputstream.h:
2027 * gio/gsimpleasyncresult.c:
2028 * gio/gsimpleasyncresult.h:
2029 * gio/gsocketinputstream.h:
2030 * gio/gsocketoutputstream.h:
2031 * gio/gthemedicon.c:
2032 * gio/gthemedicon.h:
2036 * gio/gvolumemonitor.c:
2037 * gio/gvolumemonitor.h:
2038 Add padding in classes where it seems useful
2039 Don't include giotypes.h from public headers
2040 Move in Class definitions into c file where possible
2045 2007-11-06 Alexander Larsson <alexl@redhat.com>
2047 * docs/reference/gio/gio-docs.xml:
2048 Better structure for API docs
2050 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2053 * gio/gloadableicon.c:
2054 * gio/gsimpleasyncresult.c:
2055 * gio/gthemedicon.c:
2056 Add some more guards to public functions. Only files missing are now
2059 2007-11-06 Alexander Larsson <alexl@redhat.com>
2061 * docs/reference/gio/gio-docs.xml:
2062 Remove old files, add missing ones
2064 2007-11-06 Alexander Larsson <alexl@redhat.com>
2066 * docs/reference/gio/gio-sections.txt:
2069 Hide implementation classes
2071 * gio/gdriveprivate.h:
2072 * gio/gvolumeprivate.h:
2073 Remove non-existing function declarations
2075 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2078 Fix compilation warnings and add guards to the new functions.
2080 * gio/gasyncresult.c:
2082 Add guards to the public functions.
2085 Implement get_path().
2087 2007-11-06 Alexander Larsson <alexl@redhat.com>
2089 * gio/gfilenamecompleter.c:
2090 Make g_filename_completer_get_completions
2091 return char ** instead of GList for
2094 * docs/reference/gio/gio-docs.xml:
2095 * docs/reference/gio/gio-sections.txt:
2097 * gio/gasyncresult.c:
2098 * gio/gbufferedinputstream.c:
2099 * gio/gbufferedoutputstream.c:
2100 * gio/gcancellable.c:
2101 * gio/gcontenttype.c:
2102 * gio/gdatainputstream.c:
2103 * gio/gdataoutputstream.c:
2104 * gio/gdesktopappinfo.c:
2105 * gio/gdirectorymonitor.c:
2109 * gio/gfileattribute.c:
2110 * gio/gfileenumerator.c:
2113 * gio/gfileinputstream.c:
2114 * gio/gfilemonitor.c:
2115 * gio/gfilenamecompleter.c:
2116 * gio/gfilenamecompleter.h:
2117 * gio/gfileoutputstream.c:
2118 * gio/gfilterinputstream.c:
2120 * gio/ginputstream.c:
2122 * gio/gioscheduler.c:
2123 * gio/gloadableicon.c:
2124 * gio/glocaldirectorymonitor.c:
2126 * gio/glocalfileinputstream.c:
2127 * gio/glocalfilemonitor.c:
2128 * gio/glocalfileoutputstream.c:
2130 * gio/gmemoryinputstream.c:
2131 * gio/gmemoryoutputstream.c:
2132 * gio/gmountoperation.c:
2133 * gio/goutputstream.c:
2134 * gio/gpollfilemonitor.c:
2136 * gio/gsimpleasyncresult.c:
2137 * gio/gsocketinputstream.c:
2138 * gio/gsocketoutputstream.c:
2139 * gio/gthemedicon.c:
2140 * gio/gunionvolumemonitor.c:
2142 * gio/gunixmounts.c:
2143 * gio/gunixvolume.c:
2144 * gio/gunixvolumemonitor.c:
2148 * gio/gvolumemonitor.c:
2149 * gio/gwin32appinfo.c:
2150 Add (mostly stub) doc strings to public functions.
2151 Patch from Andrew Walton (awalton@gmail.com)
2153 2007-11-06 Alexander Larsson <alexl@redhat.com>
2155 * gio/gappinfo.[ch]:
2156 Added GAppLaunchContext object and pass that to launch.
2157 This allows simple implementation of both
2158 launch-on-screen and startup notification via a gtk+
2159 subclass of GAppLaunchContext
2161 * gio/gdesktopappinfo.c:
2162 Implement GAppLaunchContext API
2164 * gio/gwin32appinfo.c:
2167 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2169 * gio/gmountoperation.c:
2170 Add some guards to GMountOperation's public functions.
2172 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2176 * gio/gcancellable.c:
2177 * gio/gdirectorymonitor.c:
2179 * gio/gfileenumerator.c:
2180 * gio/gfilemonitor.c:,
2181 * gio/gfilenamecompleter.c:
2184 * gio/gioscheduler.c:
2188 * gio/gvolumemonitor.c:
2189 Add even more guards to various public functions.
2191 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2194 Add guards to the public functions of GAppInfo.
2196 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2198 * gio/gcontenttype.c:
2199 Add some more guards for public functions.
2201 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2203 * gio/fam/fam-module.c:
2204 * gio/fam/gfamdirectorymonitor.c:
2205 * gio/fam/gfamdirectorymonitor.h:
2206 * gio/fam/gfamfilemonitor.c:
2207 * gio/fam/gfamfilemonitor.h:
2208 * gio/inotify/ginotifydirectorymonitor.c:
2209 * gio/inotify/ginotifydirectorymonitor.h:
2210 * gio/inotify/ginotifyfilemonitor.c:
2211 * gio/inotify/ginotifyfilemonitor.h:
2212 Add proper copyright information and remove an unused variable
2213 in the GInotifyFileMonitor constructor.
2215 * gio/gcancellable.c:
2216 Add a guard for a public function and an assertion to prevent
2217 an undefined program state.
2219 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2221 * gio/gfileattribute.c:
2222 Don't run into an assertion if the given attribute value is NULL
2223 in g_file_attribute_value_get_*() but instead return a fallback
2224 value that makes sense in most situations. Passing them a attribute
2225 value with the wrong type will still run into an assertion.
2227 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2229 * gio/gfileattribute.c:
2231 Add even more guards to the public functions. Also fix the refcounting
2232 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2233 let g_file_info_list_attributes() filter the attributes by namespace
2234 instead of simply ignoring the namespace parameter.
2236 2007-11-03 Sven Herzberg <sven@imendio.com>
2238 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2239 (This makes gio work on MacOS X again)
2241 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2244 Build the gio subdirectory before the docs. Otherwise the build will
2247 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2248 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2249 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2250 Add guards to the public functions.
2252 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2254 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2255 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2256 to prevent a compiler warning.
2258 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2259 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2260 return something in the non-void function find_topdir_for().
2262 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2269 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2271 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2272 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2273 * gwin32appinfo.c (g_win32_app_info_launch):
2274 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2275 envp_for_startup_id, g_desktop_app_info_launch,
2276 g_desktop_app_info_launch_uris):
2278 Give an opaque 'startup_id' string instead of 'envp'.
2279 Support empty file lists for launching new windows.
2280 Fix infinite recursion bug when launching URIs.
2282 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2285 Add guard to the new g_file_get_uri_scheme() function.
2287 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2290 Convert a g_return_val_if_fail() to setting the GError instead as
2291 otherwise applications have to verify the parameter before otherwise
2292 and the parameter might come directly from the user.
2294 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2296 * gio/inotify/ginotify*.[ch]:
2297 Add missing copyright information.
2299 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2302 Add guards in the beginning of public functions to check for valid
2303 parameters and fix a bug in copy_stream_with_progress() that could've
2304 caused writing less bytes than reading.
2305 * gio/glocalfileinfo.c:
2306 Check for a NULL parameter and set the GError accordingly then.
2307 * gio/goutputstream.c:
2308 Fix the same bug as in gfile.c that could've caused writing less bytes
2309 than reading in g_output_stream_real_splice().
2311 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2314 Use the correct gvolumeprivate.h naming
2316 2007-11-01 Christian Kellner <gicmo@gnome.org>
2319 Remove leftover "$(daemon_sources)" entry.
2321 2007-11-01 Christian Kellner <gicmo@gnome.org>
2326 Add copyright information to source files.
2328 2007-11-01 Alexander Larsson <alexl@redhat.com>
2332 Add g_file_get_uri_scheme
2334 2007-11-01 Alexander Larsson <alexl@redhat.com>
2337 * gio/gdesktopappinfo.c:
2338 * gio/gwin32appinfo.c:
2339 Add g_app_info_get_default_for_uri_scheme.
2341 2007-11-01 Alexander Larsson <alexl@redhat.com>
2344 Correct filename for gdriveprivate.h
2346 2007-10-31 Alexander Larsson <alexl@redhat.com>
2349 Rename id:value to id:file
2352 * gio/glocalfileinfo.c:
2355 2007-10-31 Alexander Larsson <alexl@redhat.com>
2357 * gio/gunixvolume.c:
2359 Remove g_volume_get_platform_id, as thats not
2360 needed with the simpler union volume monitor
2362 2007-10-31 Alexander Larsson <alexl@redhat.com>
2365 * gio/guniondrive.[ch]: Removed.
2366 * gio/gunionvolume.[ch]: Removed.
2367 Remove GUnionDrive/Volume
2369 * gio/gunionvolumemonitor.c:
2370 Simplify union volume monitor, now we
2371 only have one native volume monitor and
2372 we use the actual volumes/drives from the
2373 child monitors instead of wrapping them
2375 * gio/gnativevolumemonitor.[ch]:
2376 Base class for native volume monitors.
2377 Includes priority and get_volume_for_mountpoint
2380 Add g_file_find_enclosing_volume
2383 Remove volume name fs attribute
2384 Add readonly fs attribute
2387 Implement readonly attribute
2388 remove volume name attribute
2389 Implement find_enclosing volume
2391 * gio/gunixmounts.c:
2392 Add a volume for "/".
2394 * gio/gunixvolume.[ch]:
2395 Set better name for /
2397 * gio/gunixvolumemonitor.[ch]:
2398 Derive from GNativeVolumeMonitor
2399 Implement get_volume_for_mountpoint
2402 GVolume typedef moved to gfile.h
2404 * gio/gvolumeprivate.h:
2405 Add g_volume_get_for_mount_path
2407 2007-10-31 Alexander Larsson <alexl@redhat.com>
2409 * gio/gunixmounts.[ch]:
2410 Add cache info to unix mount listers
2411 Make getmntent use threadsafe
2412 Add is_system_internal attribute for GUnixMount
2414 * gio/gunixvolume.c:
2415 (g_unix_volume_new):
2416 Use is_system_internal instead of own code
2418 * gio/glocaldirectorymonitor.c:
2419 * gio/gunixvolumemonitor.c:
2420 Update to new gunixmounts API
2425 2007-10-30 Alexander Larsson <alexl@redhat.com>
2428 Add volume name fsinfo attribute
2431 Read volume name info
2433 * gio/gunionvolumemonitor.c:
2434 Fix infinite loops when finalizing a union volume monitor
2436 2007-10-30 Alexander Larsson <alexl@redhat.com>
2438 * gio/goutputstream.[ch]:
2439 Add splice() with default implementation
2441 * gio/gsocketoutputstream.c:
2442 (g_socket_output_stream_write):
2443 Return error on cancellation correctly.
2445 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2447 * gio/glocalfile.c (g_local_file_trash):
2448 Do not leak a string.
2450 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2452 * gio/gfile.c (g_file_load_contents):
2453 Unref the stream after closing it.
2455 2007-10-25 Alexander Larsson <alexl@redhat.com>
2457 * gio/gioscheduler.h:
2460 2007-10-25 Alexander Larsson <alexl@redhat.com>
2464 Add g_file_has_uri_scheme and implement for local files
2466 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2468 * gio/gdesktopappinfo.c: do not leak a string.
2470 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2472 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2473 (g_local_directory_monitor_new):
2474 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2475 (g_local_file_monitor_new):
2476 Only look for the monitor type that should be used the first time
2477 and use g_qsort_with_data() instead of our own bubble sort
2480 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2483 * gio/fam/Makefile.am:
2484 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2485 * gio/fam/fam-helper.h:
2486 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2487 * gio/fam/gfamdirectorymonitor.c:
2488 * gio/fam/gfamdirectorymonitor.h:
2489 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2490 * gio/fam/gfamfilemonitor.h:
2491 * gio/glocaldirectorymonitor.c:
2492 * gio/glocaldirectorymonitor.h:
2493 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2494 * gio/glocalfilemonitor.h:
2495 * gio/inotify/Makefile.am:
2496 * gio/inotify/ginotifydirectorymonitor.c:
2497 * gio/inotify/ginotifydirectorymonitor.h:
2498 * gio/inotify/ginotifyfilemonitor.c:
2499 * gio/inotify/ginotifyfilemonitor.h:
2500 Implement the FAM and Inotify monitors as
2501 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2502 their own GIO module. GLocal(Directory|File)Monitor will use the
2503 monitor with the highest rank that is supported on that machine.
2505 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2508 Change GIO module dir to $(libdir)/gio/modules and change
2509 the log domain from GVFS to GIO. Also only export symbols starting
2510 with g_ in the resulting library.
2511 * gio/test-streams.c: (main):
2512 Set log handler for the GIO log domain.
2514 2007-10-22 Alexander Larsson <alexl@redhat.com>
2516 * gio/gfilenamecompleter.[ch]:
2517 Add g_filename_completer_set_dirs_only
2519 2007-10-22 Alexander Larsson <alexl@redhat.com>
2522 * gio/gurifuncs.[ch]:
2523 Add some simple URI helpers
2525 * gio/gfilenamecompleter.[ch]:
2526 Added object for filename (parse name actually) completion
2529 Handle ~ in parse names
2531 2007-10-17 Alexander Larsson <alexl@redhat.com>
2534 * gio/glocalfileinfo.c:
2535 Add and implement id:value attribute
2537 2007-10-17 Alexander Larsson <alexl@redhat.com>
2540 * gio/guniondrive.c:
2542 Add and implement g_drive_has_volumes
2544 2007-10-17 Alexander Larsson <alexl@redhat.com>
2547 * gio/glocalfileinfo.[ch]:
2548 Add unix:is_mountpoint and implement for local files
2550 2007-10-16 Alexander Larsson <alexl@redhat.com>
2552 * gio/gunionvolumemonitor.c:
2553 (g_union_volume_monitor_init):
2554 Fix up the unix type getting so that it works with gcc
2556 2007-10-12 Alexander Larsson <alexl@redhat.com>
2559 * gio/glocalfileinfo.c:
2560 Add thumbnail:failed to file info
2562 2007-10-12 Richard Hult <richard@imendio.com>
2564 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2565 optimizing away the get_type call (happens with some gcc versions,
2566 like the one shipped with OS X 10.4).
2568 2007-10-12 Alexander Larsson <alexl@redhat.com>
2570 * gio/glocalfileinfo.c:
2571 (_g_local_file_info_set_attribute):
2572 Fix build if not HAVE_XATTR
2573 Patch from Milosz Derezynski <internalerror@gmail.com>
2575 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2577 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2578 around for review, otherwise I would have asked you before
2581 2007-10-11 Alexander Larsson <alexl@redhat.com>
2584 Add thumbnail:path attribute
2586 * gio/glocalfileinfo.c:
2587 Implement thumbnail:path for local files
2589 2007-10-11 Alexander Larsson <alexl@redhat.com>
2591 * gio/glocalfileinfo.c:
2592 (_g_local_file_info_get):
2593 Avoid duplicate icon names
2595 2007-10-11 Alexander Larsson <alexl@redhat.com>
2597 * gio/gthemedicon.[ch]:
2598 Change g_themed_icon_get_names return type to const
2600 2007-10-10 Alexander Larsson <alexl@redhat.com>
2602 * gio/glocalfileinfo.c:
2603 Don't reference freed memory
2605 2007-10-10 Alexander Larsson <alexl@redhat.com>
2607 * gio/gfileattribute.c:
2610 * gio/glocalfileinfo.c:
2613 2007-10-10 Alexander Larsson <alexl@redhat.com>
2616 Check for NULL icons
2618 * gio/gfileattribute.c:
2619 Don't dup when getting objects (same as for string attributes)
2621 * gio/gicon.c (g_icon_equal):
2622 Safely handle NULLs in equal
2624 2007-10-10 Alexander Larsson <alexl@redhat.com>
2627 Fix c++ compilation issues
2628 Patch from Milosz Derezynski <internalerror@gmail.com>
2630 2007-10-10 Alexander Larsson <alexl@redhat.com>
2632 * programs/gio-monitor-dir.c:
2633 Don't crash if dir monitor not supported.
2635 2007-10-09 Alexander Larsson <alexl@redhat.com>
2638 Add missing G_END_DECLS
2640 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2642 * gio/gfile.c: (g_file_set_display_name),
2643 (g_file_query_settable_attributes),
2644 (g_file_query_writable_namespaces):
2645 Return NULL not FALSE on errors as the return type is a pointer.
2647 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2649 * gio/glocalfile.c: (g_local_file_monitor_file):
2650 Don't call monitor_file on the default interface vtable (which
2651 is NULL) but simply return NULL. The caller, GFile, will create a
2652 polling monitor if NULL is returned.
2654 2007-10-09 Alexander Larsson <alexl@redhat.com>
2658 * gio-unix-2.0.pc.in:
2659 Add gio-unix-2.0.pc if OS_UNIX
2662 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2664 2007-10-09 Alexander Larsson <alexl@redhat.com>
2666 * gio/gunixmounts.[ch]:
2667 Make unix mount monitoring API sane.
2668 Now its just a object with mounts_changed
2669 and mountpoints_changed signals.
2671 * gio/glocaldirectorymonitor.c:
2672 * gio/gunixvolumemonitor.c:
2673 Use new mount monitor api
2675 2007-10-09 Alexander Larsson <alexl@redhat.com>
2677 * gio/gunixmounts.[ch]:
2678 Move guess type into one call for mounts and one for mountpoints
2681 * gio/gunixvolume.c:
2684 2007-10-09 Alexander Larsson <alexl@redhat.com>
2686 * gio/gunixmounts.[ch]:
2687 Remove _ prefix in preparation to make this semi-public
2688 Hide implementation of structs
2690 * gio/glocaldirectorymonitor.c:
2692 * gio/gunixvolume.c:
2693 * gio/gunixvolumemonitor.c:
2694 Update for above API changes
2696 2007-10-08 Alexander Larsson <alexl@redhat.com>
2699 Better polling fallback. This also handles the case where we have
2700 a monitor_file implementation, but it fails.
2702 2007-10-08 Alexander Larsson <alexl@redhat.com>
2706 * gio/gunixmounts.c:
2707 * programs/gio-monitor-dir.c:
2708 * programs/gio-monitor-file.c:
2709 Added cancellable to file monitoring calls.
2710 These are really sync calls and need this.
2712 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2714 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2715 (g_local_vfs_class_init):
2716 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2717 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2719 2007-10-05 Alexander Larsson <alexl@redhat.com>
2721 * gio/gdirectorymonitorprivate.h:
2722 * gio/gfilemonitorprivate.h:
2723 * gio/gdirectorymonitor.h:
2724 * gio/gfilemonitor.h:
2725 Remove *private.h and move to the public API, so that
2726 we can do implementations outside gio (such as in gvfs)
2728 * gio/gdirectorymonitor.c:
2729 * gio/gfilemonitor.c:
2730 * gio/glocaldirectorymonitor.c:
2731 * gio/gpollfilemonitor.c:
2732 * gio/inotify/inotify-helper.c:
2733 * gio/fam/fam-helper.c:
2734 Update to the new header names
2736 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2738 * gio/gdirectorymonitor.c:
2739 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2742 2007-10-04 Alexander Larsson <alexl@redhat.com>
2744 * gio/glocalfileinfo.c (get_access_rights):
2745 Set CAN_TRASH when we can move the file.
2746 We should really also check for a parent trash dir.
2748 2007-10-04 Alexander Larsson <alexl@redhat.com>
2750 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2751 Add can_trash access attribute
2753 2007-10-04 Alexander Larsson <alexl@redhat.com>
2756 (g_local_file_trash):
2757 Create info file first. This is per-spec and allows
2758 us to actually trash directories.
2760 2007-10-02 Alexander Larsson <alexl@redhat.com>
2762 * gio/gdesktopappinfo.c:
2763 Implement the new mime support code.
2764 Always set app as handling mimetype when being set as default for it
2766 2007-10-01 Alexander Larsson <alexl@redhat.com>
2768 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2769 Fix up check for xattrs:
2771 2007-10-01 Alexander Larsson <alexl@redhat.com>
2774 (g_app_info_set_as_default_for_extension):
2775 (g_app_info_add_supports_type):
2776 (g_app_info_can_remove_supports_type):
2777 (g_app_info_remove_supports_type):
2778 Make these fail nicely if not implemented
2780 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2782 * gio/glocalfileoutputstream.c:
2783 * gio/glocalfileoutputstream.h:
2788 * programs/gio-save.c:
2789 Add a GFileCreateFlags argument to operations that can create
2792 2007-10-01 Alexander Larsson <alexl@redhat.com>
2794 * gio/gappinfo.[ch]:
2795 * gio/gdesktopappinfo.c:
2796 Add more (stubbed out) mime API needed for nautilus
2798 2007-10-01 Alexander Larsson <alexl@redhat.com>
2801 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2802 Add g_app_info_set_as_default_for_extension.
2804 * gio/gdesktopappinfo.c:
2805 Dummy for g_app_info_set_as_default_for_extension
2806 Support flags in g_app_info_create_from_commandline
2808 * gio/gwin32appinfo.c:
2810 Update for API changes
2812 * gio/gthemedicon.c:
2813 Properly NULL-terminate list of icon names
2815 2007-09-28 Alexander Larsson <alexl@redhat.com>
2817 * gio/gloadableicon.h:
2818 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2820 2007-09-28 Alexander Larsson <alexl@redhat.com>
2823 Install headers in $includedir/gio-standalone/
2825 * gio-2.0.pc.in: Added.
2826 * gio-standalone.pc.in: Removed.
2829 Renamed pkg-config file to match glib (for future move)
2830 Update to the new include dir
2833 Add more TODO comments
2835 2007-09-28 Alexander Larsson <alexl@redhat.com>
2837 * gio/gdesktopappinfo.[ch]:
2838 Expose new_from_filename
2839 Add getter for is_hidden and handle it better
2841 2007-09-28 Alexander Larsson <alexl@redhat.com>
2843 * gio/gfileinfo.[ch]:
2844 Rename g_file_size_format_for_display to
2845 g_format_file_size_for_display.
2846 Now it doesn't have the g_file prefix, so we
2847 can later move it to glib.
2849 2007-09-28 Alexander Larsson <alexl@redhat.com>
2851 * gio/gappinfo.[ch]:
2852 Add g_app_info_get_id and g_app_info_get_executable.
2853 Make all getters non-reffing
2854 Make g_app_info_launch take GFile arguments.
2855 Add must_support_uris argument to g_app_info_get_default_for_type.
2857 * gio/gwin32appinfo.c:
2858 Update to GAppInfo api changes
2860 * gio/gdesktopappinfo.c:
2861 Update to GAppInfo api changes
2862 Implement supports_xdg_startup_notify
2864 * gio/gfileicon.c (g_file_icon_get_file):
2865 Make getter non-reffing.
2870 2007-09-27 Alexander Larsson <alexl@redhat.com>
2872 * gio/gfileinfo.[ch]:
2873 Add g_file_size_format_for_display helper
2875 2007-09-27 Alexander Larsson <alexl@redhat.com>
2877 * gio/glocalfileinfo.c:
2878 Set UNIX_GID from gid, not from uid
2880 2007-09-27 Alexander Larsson <alexl@redhat.com>
2883 Add g_file_set_attributes_async
2885 2007-09-27 Alexander Larsson <alexl@redhat.com>
2887 * gio/glocalfile.c (g_local_file_set_display_name):
2888 Fix set_display_name to actually rename to the right place.
2889 Use lstat to look for existing files so we don't overwrite
2892 2007-09-26 Alexander Larsson <alexl@redhat.com>
2895 Add g_file_set_display_name_async()
2897 2007-09-26 Alexander Larsson <alexl@redhat.com>
2900 Add load_partial_contents async calls
2903 Make internal function static
2905 2007-09-26 Alexander Larsson <alexl@redhat.com>
2907 * gio/glocalfileinfo.c:
2908 Correctly detect broken symlinks
2910 2007-09-26 Alexander Larsson <alexl@redhat.com>
2912 * gio/gcancellable.c (g_cancellable_cancel):
2913 Allow cancel on NULL cancellable
2915 2007-09-25 Alexander Larsson <alexl@redhat.com>
2917 * gio/gsimpleasyncresult.c:
2918 Don't allocate g_error manually.
2919 Fixes g_slice/g_new mixup crash
2921 2007-09-25 Alexander Larsson <alexl@redhat.com>
2923 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2924 Actually set active_backend.
2925 This means the monitor will be cancelled correctly.
2927 2007-09-25 Alexander Larsson <alexl@redhat.com>
2929 * gio/gdirectorymonitor.c:
2930 Set timeout to NULL when destroying
2932 2007-09-25 Alexander Larsson <alexl@redhat.com>
2935 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2936 that is a better description of the error.
2938 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2940 * gio/gvfs.c: (g_vfs_get_local):
2941 Make the local vfs variable static. The same instance should
2944 2007-09-24 Alexander Larsson <alexl@redhat.com>
2946 * gio/glocalfileinfo.c:
2947 Pass in actual length read into sniffer, not the length
2950 2007-09-21 Alexander Larsson <alexl@redhat.com>
2952 * gio/gfileenumerator.c:
2955 * gio/gfileinputstream.c:
2956 * gio/gfileoutputstream.c:
2957 * gio/ginputstream.c:
2958 * gio/goutputstream.c:
2959 Don't crash if async callbacks are NULL
2961 2007-09-20 Alexander Larsson <alexl@redhat.com>
2964 Add async enumerate_children method and default
2967 2007-09-20 Alexander Larsson <alexl@redhat.com>
2970 Add g_file_contains_file & g_file_get_relative_path, since they
2971 were needed for nautilus.
2972 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2977 Implement new methods
2979 2007-09-17 Alexander Larsson <alexl@redhat.com>
2982 * gio/gfileinputstream.[ch]:
2983 * gio/gfileoutputstream.[ch]:
2985 * gio/glocalfileenumerator.[ch]:
2986 * gio/glocalfileinfo.[ch]:
2987 * gio/glocalfileinputstream.c:
2988 * gio/glocalfileoutputstream.c:
2989 * gio/gpollfilemonitor.c:
2990 * programs/gio-copy.c:
2991 * programs/gio-info.c:
2992 * programs/gio-move.c:
2993 Rename get_file_info to query_info() to make it clearer
2994 that these are not simple getters, but do i/o.
2996 2007-09-17 Alexander Larsson <alexl@redhat.com>
2998 * gio/gdatainputstream.[ch]:
2999 * gio/test-streams.c:
3000 Use _read_XXX instead of _get_XXX for the i/o calls
3003 2007-09-17 Alexander Larsson <alexl@redhat.com>
3006 Added needed stuff to TODO comment
3008 2007-09-17 Alexander Larsson <alexl@redhat.com>
3010 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3011 Don't error out removing the backup copy if it doesn't
3014 2007-09-14 Alexander Larsson <alexl@redhat.com>
3016 * programs/Makefile.am:
3017 * programs/gvfs-*.c:
3019 Renamed apps from gvfs-xxx to gio-xxx.
3021 2007-09-14 Alexander Larsson <alexl@redhat.com>
3024 * gio/gfileoutputstream.[ch]:
3025 * gio/glocalfileoutputstream.c:
3026 * programs/gvfs-save.c:
3027 g_file_output_stream_get_etag doesn't do i/o, so remove
3028 cancellation and error.
3030 2007-09-14 Alexander Larsson <alexl@redhat.com>
3033 Add new_etag output to replace_contents functions
3035 2007-09-14 Alexander Larsson <alexl@redhat.com>
3037 * gio/gfileoutputstream.[ch]:
3038 Add async get_file_info and default implementation
3040 2007-09-14 Alexander Larsson <alexl@redhat.com>
3042 * gio/gfileinputstream.c:
3043 Implement fallback wrapper for async get_file_info
3045 2007-09-14 Alexander Larsson <alexl@redhat.com>
3048 Add etag out argument to load_contents
3053 2007-09-14 Alexander Larsson <alexl@redhat.com>
3055 * gio/gcontenttype.c (looks_like_text):
3056 Whitespace like tab, cr and lf do not make the
3059 2007-09-14 Alexander Larsson <alexl@redhat.com>
3061 * gio/gfileinputstream.[ch]:
3062 Add async get_file_info.
3064 2007-09-13 Alexander Larsson <alexl@redhat.com>
3066 * gio/goutputstream.c (g_output_stream_write_all):
3067 Allow NULL for bytes_written
3069 2007-09-13 Alexander Larsson <alexl@redhat.com>
3071 * gio/gmemoryinputstream.[ch]:
3072 Add accessors for data
3074 2007-09-13 Alexander Larsson <alexl@redhat.com>
3076 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3077 Don't crash if length is NULL