1 2008-01-22 Alexander Larsson <alexl@redhat.com>
4 (g_desktop_app_info_new):
7 2008-01-22 Alexander Larsson <alexl@redhat.com>
10 (g_desktop_app_info_new_from_filename):
13 2008-01-22 Alexander Larsson <alexl@redhat.com>
15 * glocalfileinfo.c (get_thumbnail_attributes):
18 2008-01-22 Alexander Larsson <alexl@redhat.com>
21 (canonicalize_filename):
22 Canonicalize paths that start with more than
27 (test_g_file_new_for_path):
30 2008-01-22 Alexander Larsson <alexl@redhat.com>
33 Allow UTF-8 in file:// parse names.
36 * tests/data-input-stream.c:
37 * tests/data-output-stream.c:
38 * tests/g-file-info.c:
40 Added a bunch of tests from Tomas Bzatek
42 2008-01-21 Matthias Clasen <mclasen@redhat.com>
44 * === Released 2.15.3 ===
46 2008-01-21 Alexander Larsson <alexl@redhat.com>
48 * gfileinputstream.[ch]:
49 * gfileoutputstream.[ch]:
51 Remove duplicated GSeekable functions. (#509990)
52 Just use the g_seekable_xxx() calls instead.
54 2008-01-21 Matthias Clasen <mclasen@redhat.com>
57 * gvolumemanager.c: Whitespace cleanups.
59 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
60 Use the right mode when creating the file.
62 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
67 * goutputstream.c: Documentation: Fixed minor typos
68 and added more mentions of specific _finish() functions.
70 2008-01-21 Alexander Larsson <alexl@redhat.com>
72 * inotify/Makefile.am:
73 * inotify/inotify-helper.c:
74 * inotify/inotify-kernel.c:
75 * inotify/inotify-path.c:
76 * inotify/local_inotify.h: Removed.
77 * inotify/local_inotify_syscalls.h: Removed.
78 Removed the included copies of the inotify
79 headers. We now only use the <sys/inotify.h>
80 header which exists on modern systems.
81 This fixes problems on ARM and SH5 (#510448)
82 but is also generally much cleaner and future
83 safe. For instance, if other OSes add support
84 for inotify it should "just work".
86 2008-01-20 Matthias Clasen <mclasen@redhat.com>
88 * inotify/*.c: Coding style fixes.
89 * inotify/inotify-missing.c: Use g_timeout_add_seconds
92 2008-01-20 Matthias Clasen <mclasen@redhat.com>
96 * gmemoryinputstream.c:
97 * gmemoryoutputstream.c:
99 * gthemedicon.c: Documentation updates
101 2008-01-20 Murray Cumming <murrayc@murrayc.com>
103 * gfile.c: documentation: Fixed more minor
106 2008-01-18 Murray Cumming <murrayc@murrayc.com>
108 * gmount.c: (g_mount_remount): documentation:
109 Mention g_mount_remount_finish() instead of
110 g_mount_unmount_finish().
112 2008-01-18 Murray Cumming <murrayc@murrayc.com>
116 * gfile.c: Fixed some minor typos in the
119 2008-01-18 Murray Cumming <murrayc@murrayc.com>
121 * gio/gvolumemonitor.c:
122 (g_volume_monitor_get_connected_drives):
123 (g_volume_monitor_get_volumes):
124 (g_volume_monitor_get_mounts): Documentation:
125 Clarify the ownership of the regurn GLists.
127 2008-01-17 Alexander Larsson <alexl@redhat.com>
130 Add the async find_enclosing_mount version
131 to the header file too.
133 2008-01-17 Alexander Larsson <alexl@redhat.com>
136 Add async version of find_enclosing_mount
137 with default implementation.
139 2008-01-17 Alexander Larsson <alexl@redhat.com>
144 Allow calls to implementation of copy and write
145 even if the type of the file implementations is
146 different. This can be used to implement native
147 upload and download calls in a vfs.
151 Protect against the case where move is called
152 with one file not being local.
154 Make sure we call the progress callback once
155 in the native move operation so that the caller
156 knows how many bytes were copied.
158 2008-01-16 Murray Cumming <murrayc@murrayc.com>
161 * gdatainputstream.c:
163 * gfileoutputstream.c:
168 * gunixmounts.c: Corrected some typos in the documentation:
170 its -> it's (where appropriate).
172 2008-01-16 Alexander Larsson <alexl@redhat.com>
176 Add g_file_query_exists (#508771)
178 2008-01-15 Murray Cumming <murrayc@murrayc.com>
183 * gvolume.c: For async functions that have no non-async
184 version, document that the GAsyncReadyCallback may be NULL.
187 2008-01-15 Alexander Larsson <alexl@redhat.com>
189 * gmemoryinputstream.c:
190 * gmemoryoutputstream.c:
191 Don't do pointer arithmetic on void * (#508602)
192 Patch from Kazuki IWAMOTO
194 2008-01-14 Matthias Clasen <mclasen@redhat.com>
196 * === Released 2.15.2 ===
198 2008-01-14 Alexander Larsson <alexl@redhat.com>
200 * gfile.c (g_file_monitor_file):
201 Don't set error here, since we fallback to polling monitor.
203 2008-01-14 Alexander Larsson <alexl@redhat.com>
206 (g_file_monitor_directory):
207 (g_file_monitor_file):
208 Add GError to file monitor calls
210 * glocaldirectorymonitor.c:
211 * glocaldirectorymonitor.h:
213 * glocalfilemonitor.c:
214 * glocalfilemonitor.h:
216 Update for above change
218 2008-01-14 Alexander Larsson <alexl@redhat.com>
222 Handle root correctly in g_file_get_relative_path (#508719)
224 2008-01-14 Alexander Larsson <alexl@redhat.com>
227 Clean up docs and example for GAsyncResult (#508074)
229 2008-01-11 Murray Cumming <murrayc@murrayc.com>
231 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
232 and correct some spelling mistakes. Bug #508108.
234 2008-01-11 Matthias Clasen <mclasen@redhat.com>
236 * glocalfileinfo.c: Add a comment.
238 2008-01-10 Murray Cumming <murrayc@murrayc.com>
240 * gfileinfo.c: GFileInfo description: Mention
241 how to actually set attributes in a GFile and how to discover
242 which attributes are settable. Bug #508378.
244 2008-01-10 A. Walton <awalton@svn.gnome.org>
246 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
247 (g_app_info_get_default_for_type):
248 Check for NULL content types.
250 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
252 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
254 2008-01-09 Murray Cumming <murrayc@murrayc.com>
256 * gfile.c: *_async() functions: Several small corrections
257 to the documentation, mostly correcting copy/paste errors
258 and improving some sentences.
260 2008-01-09 Dan Winship <danw@gnome.org>
262 * glocalfile.c (get_unique_filename): x86_64 fix
264 2008-01-09 Alexander Larsson <alexl@redhat.com>
269 Add g_unix_mount_guess_should_display and use
270 for unix volume monitor backend.
271 This means we more or less show what the
272 gnome-vfs backend did.
273 Based on patch from Padraig O'Briain
275 2008-01-09 Alexander Larsson <alexl@redhat.com>
279 Add g_themed_icon_new_with_default_fallbacks
282 Use default fallbacks for icons
284 2008-01-09 Alexander Larsson <alexl@redhat.com>
287 * gmountoperation.[ch]:
288 Change the API a bit so that unhandled methods
289 get reported via the reply, rather than by
290 the signal emission return value. This is because
291 some handlers can't know this immediately without
292 doing I/O, and this is an async operation that
295 2008-01-09 Alexander Larsson <alexl@redhat.com>
298 * fam/gfamdirectorymonitor.c:
299 * fam/gfamfilemonitor.c:
300 Fix double free crash (#508224)
301 Patch from Joe Marcus Clarke
303 008-01-07 Matthias Clasen <mclasen@redhat.com>
305 * === Released 2.15.1 ===
307 2008-01-07 Alexander Larsson <alexl@redhat.com>
309 * gunixinputstream.c (g_unix_input_stream_skip_finish):
310 Fix warning (#507835)
312 2008-01-07 Alexander Larsson <alexl@redhat.com>
315 Pass --internal to glib-genmarshal
320 Use better types for signal arguments (#507822)
322 2008-01-07 Alexander Larsson <alexl@redhat.com>
325 Build test subdir after .
326 Remove gdirectorymonitor.[ch]
328 * gdirectorymonitor.[ch]:
332 Remove GDirectoryMonitor and make
333 GFileMonitor the baseclass for both file and
334 directory monitors. Lift the more generic
335 rate limiting code from GDirectoryMonitor
339 * fam/gfamdirectorymonitor.[ch]:
340 * inotify/ginotifydirectorymonitor.[ch]:
341 * inotify/inotify-helper.c:
342 * glocaldirectorymonitor.[ch]:
345 Update for the removed GDirectoryMonitor.
347 * gmemoryoutputstream.c:
348 Remove ununsed variable
350 2008-01-07 Alexander Larsson <alexl@redhat.com>
352 * gmemoryinputstream.c:
353 Translate error strings
356 * gmemoryoutputstream.[ch]:
357 New implementation that avoids using GByteArray
358 in implementation and API. (#506377)
360 2008-01-06 Matthias Clasen <mclasen@redhat.com>
362 * tests/*: Add a test for memory input streams.
364 * Makefile.am: Add tests to SUBDIRS.
366 2008-01-06 Matthias Clasen <mclasen@redhat.com>
368 * glocalfilemonitor.c:
369 * glocaldirectorymonitor.c: Mark property nicks and blurbs
372 2008-01-06 Matthias Clasen <mclasen@redhat.com>
374 * gdesktopappinfo.c: Fix a docs typo.
376 * gfileattribute.c: Add information about extended attributes
377 to the documentation. (#505058)
379 2008-01-04 Alexander Larsson <alexl@redhat.com>
383 Use the right type (uint) for the ask_password signal.
385 2008-01-04 Alexander Larsson <alexl@redhat.com>
390 Add g_app_info_supports_files()
391 Remove desktop arg from g_app_info_should_show().
393 * gdesktopappinfo.[ch]:
394 Implement g_app_info_supports_files() and new should_show()
395 Add g_desktop_app_info_set_desktop_env() to set the desktop
396 for should_show(). (This will be set by gtk+ later)
398 2008-01-04 Alexander Larsson <alexl@redhat.com>
401 * gmemoryinputstream.[ch]:
402 Improve API so that you can use multiple chunks
403 of memory and custom destroy functions. (#506374)
405 2008-01-03 Alexander Larsson <alexl@redhat.com>
408 Handle NULL attribute matchers safely, as we return this
409 for empty attribute matcher strings.
411 2008-01-03 Alexander Larsson <alexl@redhat.com>
413 * gunixmounts.c (g_unix_is_mount_path_system_internal):
414 Add /usr/local to list of internal mountpoints
416 2008-01-03 Alexander Larsson <alexl@redhat.com>
419 Check for HAVE_LCHOWN (#505887)
421 2008-01-03 Alexander Larsson <alexl@redhat.com>
425 Add define for selinux context attribute.
426 Fix missing : -> :: namespace separator change
427 Fix missing _ -> - name change for xattr-sys.
430 2008-01-03 Alexander Larsson <alexl@redhat.com>
433 Link to libglib and libgobject directly (#504879)
434 Patch from Sebastien Bacher
436 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
438 * gfile.c: Expanded the g_file_new_for_commandline_arg
439 description a bit, based on the code and the docs of the
440 other g_file_new_for_* functions.
442 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
444 * gfilemonitor.h: Fixed typo in docs.
446 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
448 Updates to GIO documentation. (#506395, Mikael Hermansson)
450 * gcontenttype.c: Describe memory management for return value of
451 g_content_types_get_registered(). Missing piece from #505815.
452 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
453 GVolume, GDrive, GMounts, which hopefully gives the user less
454 confusions when using this API. Following explainations from
455 Alexander Larsson on gtk-devel-list.
457 2007-12-30 Matthias Clasen <mclasen@redhat.com>
459 * gfileinfo.c: Expand the long description.
461 2007-12-30 Matthias Clasen <mclasen@redhat.com>
464 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
465 fix builds with --disable-visibility. (#500273, Christian Persch)
467 2007-12-30 Matthias Clasen <mclasen@redhat.com>
469 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
470 in the list of returned app infos.
472 2007-12-30 Matthias Clasen <mclasen@redhat.com>
474 * gappinfo.c: Fix a cross-reference
476 2007-12-30 Matthias Clasen <mclasen@redhat.com>
478 * gfileinputstream.c:
479 * gfileoutputstream.c:
485 * gfileinfo.c: Documentation updates.
487 2007-12-26 Matthias Clasen <mclasen@redhat.com>
489 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
492 2007-12-26 Matthias Clasen <mclasen@redhat.com>
494 * gcontenttype.c (g_content_types_get_registered): Don't return
495 freed memory (#505815, Mikael Hermansson)
497 2007-12-25 Paolo Borelli <pborelli@katamail.com>
499 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
500 used to detect statbuf->st_blocks. (#505042)
502 2007-12-24 Matthias Clasen <mclasen@redhat.com>
504 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
505 environment handling. (#504829, Cosimo Cecchi)
507 2007-12-22 Matthias Clasen <mclasen@redhat.com>
509 * gappinfo.c: Doc improvements
511 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
514 2007-12-20 Matthias Clasen <mclasen@redhat.com>
516 * === Released 2.15.0 ===
518 2007-12-20 Hans Breuer <hans@breuer.org>
520 * makefile.msc : don't build gdesktopappinfo.obj, it collides
521 with symbols gwin32appinfo.obj, added gmount.obj
522 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
524 2007-12-20 Alexander Larsson <alexl@redhat.com>
530 * gfilenamecompleter.c:
533 * gpollfilemonitor.c:
534 File attribute renames:
537 id::fs -> id::filesystem
539 2007-12-20 Alexander Larsson <alexl@redhat.com>
548 Add GMountUnmountFlags to all unmount and
550 Add g_mount_remount() call.
552 2007-12-20 Alexander Larsson <alexl@redhat.com>
554 * gvfs.c (get_default_vfs):
555 Fix unused variable warning
557 2007-12-19 Matthias Clasen <mclasen@redhat.com>
559 * pltcheck.sh: Update
561 2007-12-19 Matthias Clasen <mclasen@redhat.com>
563 * gunionvolumemonitor.c:
564 * gunixmount.c: Remove C99 comments
566 2007-12-19 Matthias Clasen <mclasen@redhat.com>
568 * gio.symbols: Add some missing symbols
570 2007-12-19 Alexander Larsson <alexl@redhat.com>
573 Make g_io_modules_load_all_in_directory not unuse
574 loaded modules so that users of it can do stuff
576 Init internal "module" types.
577 Initialize static prio and name for types so that
578 we don't have to load modules to get it.
580 * gnativevolumemonitor.h:
582 Move is_supported to parent class so that
583 non-native monitors can avoid being initialized
584 too. (For instance GDaemonVolumeMonitor if we're
585 not using GDaemonVfs.)
587 * glocaldirectorymonitor.[ch]:
588 * glocalfilemonitor.[ch]:
589 * gunionvolumemonitor.c:
590 * gunixvolumemonitor.c:
592 Find plugins using the static prio+name to
593 avoid unnecessarily loading the modules.
595 2007-12-19 Alexander Larsson <alexl@redhat.com>
600 2007-12-19 Alexander Larsson <alexl@redhat.com>
602 * gunionvolumemonitor.c:
603 Store the native type as GType, not class so that
604 we can unload it. But still avoid unnecessarily
607 2007-12-19 David Zeuthen <davidz@redhat.com>
609 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
610 add signals 'disconnected' and 'eject-button' on GDrive. Add
611 signal 'removed' on GVolume and 'unmounted' on GMount.
613 * gdrive.c: (g_drive_base_init):
615 * gfile.c: (g_file_mount_mountable),
616 (g_file_mount_enclosing_volume):
619 * gmount.c: (g_mount_base_init):
621 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
622 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
623 * gvolume.c: (g_volume_base_init), (g_volume_mount):
627 2007-12-17 Matthias Clasen <mclasen@redhat.com>
629 * *.c: Fix up includes in the section docs.
631 2007-12-17 Alexander Larsson <alexl@redhat.com>
633 * gnativevolumemonitor.h:
634 * gunionvolumemonitor.c:
635 * gunixvolumemonitor.c:
636 Add is_supported() to GNativeVolumeMonitorClass so
637 that we can avoid having to create an object to see
638 if the backend is supported at runtime.
639 Also add name member and an env var to pick a specific
640 volume monitor backend.
644 Add cancellable to _g_mount_get_for_mount_path()
646 * glocaldirectorymonitor.c:
647 * glocalfilemonitor.c:
648 Avoid loading and unloading modules while sorting.
650 2007-12-17 Matthias Clasen <mclasen@redhat.com>
653 * gunixmounts.[hc]: Namespace waste reduction, move some
654 g_get_unix_mount functions to the g_unix_mount namespace.
657 * gunixvolumemonitor.c:
659 * glocaldirectorymonitor.c: Update all callers.
661 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
663 2007-12-17 Alexander Larsson <alexl@redhat.com>
666 Add doc comments about what GFile operations are
667 guaranteed to not block.
669 2007-12-17 Alexander Larsson <alexl@redhat.com>
672 Add missing #ifdef fixing OSX build.
673 (#503334, patch from Richard Hult)
675 2007-12-14 David Zeuthen <davidz@redhat.com>
679 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
680 (g_mount_eject), (g_mount_eject_finish):
682 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
683 (get_volume_for_uuid), (get_mount_for_uuid),
684 (g_union_volume_monitor_class_init),
685 (get_default_native_type_with_exclude), (get_default_native_type),
686 (get_native_type), (update_native_type),
687 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
688 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
689 (g_unix_mount_can_eject), (eject_unmount_cb),
690 (eject_unmount_read_error), (eject_unmount_do),
691 (g_unix_mount_unmount), (g_unix_mount_eject),
692 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
693 * gunixmounts.c: (g_unix_mount_guess_can_eject),
694 (g_unix_mount_point_guess_can_eject):
696 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
697 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
698 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
699 (g_unix_volume_mount), (g_unix_volume_eject),
700 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
701 * gunixvolumemonitor.c: (get_volume_for_uuid),
702 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
704 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
705 (g_volume_eject), (g_volume_eject_finish):
707 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
708 (g_volume_monitor_get_mount_for_uuid):
711 Provide eject() on both GMount and GVolume and utility functions
712 to guess whether a GUnixMountPoint or GUnixMountEntry should be
713 ejected. Introduce the concept of UUID's and wire it into GVolume
714 and GMount and provide API on GVolumeMonitor to find such
715 instances. Also handle the case where an external
716 GNativeVolumeMonitor fails to initialize. Lock around the
717 _g_get_mount_for_mount_path() function such that volume monitor
718 implementations won't have to do locking themselves.
720 2007-12-17 Matthias Clasen <mclasen@redhat.com>
728 * gvolume.h: Documentation updates
730 2007-12-14 Matthias Clasen <mclasen@redhat.com>
733 * gfile.h: Doc updates
735 2007-12-14 Matthias Clasen <mclasen@redhat.com>
738 * gdesktopappinfo.c: Use hash table iterators.
740 2007-12-14 Alexander Larsson <alexl@redhat.com>
743 * gfileattribute.[ch]:
744 * gfileattribute-priv.h:
745 Move GFileAttributeValue to a private header, as
749 Make set_attribute take a type + a pointer instead
750 of a GFileAttributeValue.
753 Fix up for above changes.
754 Add g_file_info_get_attribute_data to get
755 all info in one call, g_file_info_get_attribute_status
756 to get the status and g_file_info_get_attribute_as_string.
760 * glocalfileinfo.[ch]:
764 Make _guess_type static.
766 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
769 * inotify/Makefile.am: Fixed build when srcdir != builddir,
770 made mkenums and friends use temporary files to avoid leaving
771 empty generated files on failure (#503470).
773 2007-12-14 Alexander Larsson <alexl@redhat.com>
778 2007-12-14 Alexander Larsson <alexl@redhat.com>
782 * gfileattribute.[ch]:
785 * glocalfileoutputstream.c:
786 * gmountoperation.[ch]:
787 * goutputstream.[ch]:
788 Clean up all flags enums to not have _FLAGS in them
789 Make the names of some of the enums better.
794 2007-12-14 Michael Natterer <mitch@imendio.com>
796 * gio.symbols: fix g_io_scheduler symbol names.
798 2007-12-14 Alexander Larsson <alexl@redhat.com>
804 * gbufferedinputstream.h:
805 * gbufferedoutputstream.h:
808 * gdatainputstream.h:
809 * gdataoutputstream.h:
811 * gdirectorymonitor.h:
818 * gfileinputstream.h:
820 * gfilenamecompleter.h:
821 * gfileoutputstream.h:
822 * gfilterinputstream.h:
823 * gfilteroutputstream.h:
831 * gmemoryinputstream.h:
832 * gmemoryoutputstream.h:
837 * gsimpleasyncresult.h:
839 * gunixinputstream.h:
841 * gunixoutputstream.h:
845 * inotify/Makefile.am:
846 Only allow including <gio/gio.h> from apps
848 2007-12-14 Alexander Larsson <alexl@redhat.com>
851 * gsimpleasyncresult.c:
852 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
853 Split out the send_to_mainloop call into two versions instead
854 of having the block argument.
856 2007-12-13 Alexander Larsson <alexl@redhat.com>
860 * gbufferedinputstream.c:
862 * gfileinputstream.c:
863 * gfileoutputstream.c:
867 g_push/pop_current_cancellable ->
868 g_cancellable_push/pop_current
870 2007-12-13 Alexander Larsson <alexl@redhat.com>
874 Rename g_mount_for_location to g_file_mount_enclosing_volume.
876 2007-12-13 Alexander Larsson <alexl@redhat.com>
879 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
881 2007-12-12 Alexander Larsson <alexl@redhat.com>
884 Fix race condition when freeing proxy in
885 g_io_job_send_to_mainloop().
887 2007-12-12 Alexander Larsson <alexl@redhat.com>
893 Make attribute namespace separator "::" instead of ":".
894 Use - instead of _ as separator in attribute names.
896 2007-12-12 Alexander Larsson <alexl@redhat.com>
898 * gbufferedinputstream.h:
899 * gbufferedoutputstream.h:
900 * gdatainputstream.h:
901 * gdataoutputstream.h:
902 * gdirectorymonitor.h:
904 * gfileinputstream.h:
906 * gfileoutputstream.h:
907 * gfilterinputstream.h:
908 * gfilteroutputstream.h:
910 * glocalfileinputstream.h:
911 * glocalfileoutputstream.h:
912 * gmemoryinputstream.h:
913 * gmemoryoutputstream.h:
914 * gnativevolumemonitor.h:
916 * gunixinputstream.h:
917 * gunixoutputstream.h:
920 s/parent/parent_instance/ in GObjects
922 2007-12-12 Alexander Larsson <alexl@redhat.com>
927 No need for padding for interfaces
929 2007-12-12 Alexander Larsson <alexl@redhat.com>
933 * gbufferedinputstream.c:
934 * gbufferedoutputstream.c:
937 * gdatainputstream.[ch]:
939 * gdirectorymonitor.c:
941 * gfileattribute.[ch]:
944 * gfileinputstream.h:
946 * gfileoutputstream.[ch]:
947 * gfilterinputstream.h:
948 * gfilteroutputstream.h:
951 * gloadableicon.[ch]:
952 * gmemoryinputstream.c:
955 Fix up a bunch of details in the docs.
960 2007-12-11 David Zeuthen <davidz@redhat.com>
962 Rework how volumes, drives and volume monitoring is
963 done. Previosly the model was
967 where a GDrive instance represented a mount point and a GVolume
968 instance represented a mounted file system. This patch changes it
971 GDrive <1-N> GVolume <1-1> GMount
973 where GMount now serves the purpose of the old GVolume and the new
974 GVolume serves the purpose of the old GDrive. In addition the new
975 GDrive interface is used to represent a collection of GVolume
976 instances (typically partitions) and also contains utility to query
977 the state of the physical drive the GDrive object represents (such
978 as checking for media, polling the drive, ejecting the media etc.).
980 Also implement mounting and unmounting in the Unix volume monitor
981 backend. A subquent patch will introduce GDrive support for ejection
985 * gdrive.c: (g_drive_is_media_check_automatic),
986 (g_drive_is_media_removable), (g_drive_has_media),
987 (g_drive_can_poll_for_media), (g_drive_eject),
988 (g_drive_eject_finish), (g_drive_poll_for_media),
989 (g_drive_poll_for_media_finish):
991 * gfile.c: (g_file_find_enclosing_mount):
994 * glocaldirectorymonitor.c:
995 (g_local_directory_monitor_constructor), (mounts_changed):
996 * glocalfile.c: (get_mount_info),
997 (g_local_file_find_enclosing_mount),
998 (g_local_file_file_iface_init):
999 * gnativevolumemonitor.h:
1000 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1001 (get_connected_drives), (g_union_volume_monitor_class_init),
1002 (child_volume_added), (child_volume_removed),
1003 (child_volume_changed), (child_mount_added), (child_mount_removed),
1004 (child_mount_pre_unmount), (child_mount_changed),
1005 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1006 (g_union_volume_monitor_remove_monitor),
1007 (_g_mount_get_for_mount_path):
1008 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1009 (guess_system_internal), (_g_get_unix_mounts),
1010 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1011 (g_unix_mount_free), (g_unix_mount_compare),
1012 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1013 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1014 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1015 (type_to_icon), (g_unix_mount_guess_name),
1016 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1017 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1018 (_resolve_symlink), (_resolve_dev_root):
1020 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1021 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1022 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1023 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1024 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1025 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1026 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1027 (g_unix_volume_volume_iface_init):
1029 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1030 (get_mounts), (get_volumes), (get_connected_drives),
1031 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1032 (mountpoints_changed), (mounts_changed),
1033 (g_unix_volume_monitor_init),
1034 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1035 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1036 * gunixvolumemonitor.h:
1037 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1038 (g_volume_mount), (g_volume_mount_finish):
1040 * gvolumemonitor.c: (g_volume_monitor_class_init),
1041 (g_volume_monitor_get_connected_drives),
1042 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1045 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1047 * gmountoperation.h (GPasswordFlags): Close the gap
1049 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1051 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1053 * gdesktopappinfo.[hc]: Remove _-prefixes
1055 2007-12-10 Tor Lillqvist <tml@novell.com>
1057 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1060 2007-12-10 Alexander Larsson <alexl@redhat.com>
1062 * gfile.c (g_file_set_display_name):
1063 Don't hardcode '/' (#502727)
1065 2007-12-09 Hans Breuer <hans@breuer.org>
1067 * makefile.msc : follow lib naming convention
1068 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1069 for user and group name, tested with ../tests/gio-ls
1071 2007-12-09 A. Walton <awalton@svn.gnome.org>
1073 * gdesktopappinfo.c:
1079 * gfileenumerator.c:
1084 * gmemoryinputstream.c:
1085 * gmemoryoutputstream.c:
1087 * gsimpleasyncresult.c:
1088 More documentation cleanup and filling in missing information, bringing
1089 GIO to 99% symbol coverage.
1091 2007-12-08 Hans Breuer <hans@breuer.org>
1093 [gio compiles and links on win32, not sure how much already works]
1094 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1095 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1096 base on win32 API; prefer g_lstat() over lstat(); instead of
1097 localtime_r() use an all GLib implementation on win32;
1098 get_mount_info() still needs a win32 specifc implementation
1099 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1100 win32_get_file_user_info to get owner/group info without uid/gid
1101 * glocalfileinputstream.c : include <io.h> on win32
1102 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1103 definition, use g_win32_ftruncate() for G_OS_WIN32
1104 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1105 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1106 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1107 * makefile.msc : updated
1109 2007-12-07 Alexander Larsson <alexl@redhat.com>
1111 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1112 Avoid warning spew if error == NULL
1114 2007-12-07 Alexander Larsson <alexl@redhat.com>
1117 Update docs wrt etags
1119 2007-12-06 Alexander Larsson <alexl@redhat.com>
1122 Include sys/types.h for dev_t (#501919)
1124 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1128 Make abicheck and pltcheck pass.
1130 2007-12-05 Alexander Larsson <alexl@redhat.com>
1133 * giomodule-priv.h: Added.
1134 * glocaldirectorymonitor.c:
1135 * glocalfilemonitor.c:
1136 * gunionvolumemonitor.c:
1138 Actually add the declaration of _g_io_modules_ensure_loaded
1140 2007-12-05 Alexander Larsson <alexl@redhat.com>
1142 * gdatainputstream.c:
1147 * glocaldirectorymonitor.c:
1148 * glocalfilemonitor.c:
1149 * gunionvolumemonitor.c:
1151 Make g_io_modules_ensure_loaded a private function and
1152 don't pass in the dirname. This means we can do magic
1153 directory finding in the win32 version.
1154 Export the actual load-modules-in-directory code so that
1155 gvfs can reuse that.
1157 2007-12-05 Alexander Larsson <alexl@redhat.com>
1159 * gbufferedinputstream.c:
1160 * gbufferedoutputstream.c:
1163 * gfileenumerator.[ch]:
1164 * gfileinputstream.c:
1165 * gfileoutputstream.[ch]:
1166 * gfilterinputstream.c:
1167 * gfilteroutputstream.c:
1168 * ginputstream.[ch]:
1170 * glocalfileenumerator.c:
1171 * glocalfileinputstream.c:
1172 * glocalfileoutputstream.c:
1173 * gmemoryinputstream.c:
1174 * gmemoryoutputstream.c:
1175 * goutputstream.[ch]:
1178 * gunixinputstream.c:
1179 * gunixoutputstream.c:
1180 Rename all struct members named:
1181 read, write, close, truncate, or mount
1182 to foo_fn, as these are reserved names
1183 and could be defined as macros in libc.
1186 2007-12-04 Alexander Larsson <alexl@redhat.com>
1189 (g_output_stream_close):
1190 Only call flush if non-null.
1192 2007-11-30 Dan Winship <danw@gnome.org>
1194 * ginputstream.c (g_input_stream_set_pending): Make this take a
1195 GError and return a gboolean, and do the "outstanding operation"
1196 check (and the "stream is already closed" check) itself.
1197 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1199 * goutputstream.c (g_output_stream_set_pending)
1200 (g_output_stream_clear_pending): Likewise
1202 * gbufferedinputstream.c:
1203 * gfileinputstream.c:
1204 * gfileoutputstream.c: Update for that
1206 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1207 Like g_simple_async_report_error_in_idle, but takes a GError
1208 rather than building one.
1210 2007-11-30 Dan Winship <danw@gnome.org>
1212 * goutputstream.c: Don't cheat and unset the "pending" flag around
1213 inner calls. Instead, call the class method directly rather than
1214 the wrapper function that checks "pending"
1216 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1218 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1220 2007-12-03 Hans Breuer <hans@breuer.org>
1222 [start of port to win32/msvc]
1223 * gcancellable.c : HAVE_UNIST_H and _pipe()
1224 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1225 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1226 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1228 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1229 * glocalvfs.c : use HAVE_PWD_H
1230 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1231 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1232 * Makefile.am : added to EXTRA_DIST
1234 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1236 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1239 2007-12-03 Alexander Larsson <alexl@redhat.com>
1242 Handle OSX style xattrs API (#500506)
1244 2007-12-03 Alexander Larsson <alexl@redhat.com>
1248 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1250 2007-12-02 A. Walton <awalton@svn.gnome.org>
1254 Documentation accuracy fixes.
1256 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1258 * gioenumtypes.c.template: Fix typo.
1260 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1262 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1264 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1266 * gdirectorymonitor.c:
1267 * gfilemonitor.c: Add properties
1269 * gbufferedoutputstream.c: Don't mark buffer-size property
1272 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1274 * gbufferedoutputstream.c: Add auto-grow property.
1276 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1278 * *.c: Unify the capitalization of section headings.
1280 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1282 * gmountoperation.c: Add properties
1284 * gdatainputstream.c: Turn byte-order and newline-type into
1287 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1289 * gioenumtypes.[hc].template: Templates for enum registration
1291 * Makefile.am: Generate gioenumtypes.[hc]
1293 * gio.h: Include gioenumtypes.h
1295 * gfile.h: Add some explicit nicks.
1297 * gio.symbols: Add new symbols
1299 * pltcheck.sh: Adjust
1301 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1303 * *.c: Explain etags and link to the explanation
1305 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1307 * *.c: Explain I/O priority.
1309 * *.c: More coding style fixes.
1311 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1313 * gasyncresult.c: Add another paragraph to the intro,
1314 adjust coding style of example.
1316 2007-11-29 A. Walton <awalton@svn.gnome.org>
1319 Fixes unknown meaning in GAppLaunchContext docs.
1321 Clarify asynchronous ops.
1323 Fix entity tag docs.
1326 Provides missing gtk-doc section, fixes API docs slighly.
1327 * gsimpleasyncresult.c:
1328 Fill in missing info in docs.
1329 * gunixinputstream.c:
1330 * gunixoutputstream.c:
1331 Be more expressive in short description.
1333 Remove gtk-doc stubs for non-public API.
1335 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1337 * *.c: Coding style fixups
1339 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1341 * inotify/inotify-helper.c: Don't export the lock from libgio.
1343 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1346 * abicheck.sh: Fix copy-and-paste leftovers
1348 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1350 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1352 2007-11-28 Alexander Larsson <alexl@redhat.com>
1356 Removed unnecessary file
1358 * gdesktopappinfo.[ch]:
1361 * glocaldirectorymonitor.[ch]:
1363 * glocalfileenumerator.[ch]:
1364 * glocalfileinputstream.[ch]:
1365 * glocalfilemonitor.[ch]:
1366 * glocalfileoutputstream.[ch]:
1368 * gnativevolumemonitor.c:
1369 * gpollfilemonitor.[ch]:
1370 * gunionvolumemonitor.[ch]:
1373 * gunixvolumemonitor.[ch]:
1376 * inotify/ginotifydirectorymonitor.[ch]:
1377 * inotify/ginotifyfilemonitor.[ch]:
1378 * inotify/inotify-helper.c:
1379 Append _ to all internal functions
1383 Export symbols needed for modules
1385 2007-11-28 Alexander Larsson <alexl@redhat.com>
1388 * abicheck.sh: Added.
1389 * makegioalias.pl: Added.
1390 * pltcheck.sh: Added.
1391 * gio.symbols: Added.
1394 Initial work on adding symbol handling.
1397 Correct ifdef guard name
1400 * inotify/Makefile.am:
1401 * xdgmime/Makefile.am:
1402 Include toplevel Makefile.decl
1404 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1406 * gcontenttype.c: Move doc comments to the unix section.
1408 * *.[hc]: More trivial doc corrections.
1410 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1412 * gpollfilemonitor.c:
1416 * gdesktopappinfo.c:
1421 * gdatainputstream.c:
1422 * gdatainputstream.h:
1423 * gdataoutputstream.c:
1424 * gdataoutputstream.h:
1425 * gfileinfo.h: Doc cleanups
1427 2007-11-28 Andre Klapper <a9016009@gmx.de>
1429 * gdesktopappinfo.c: Fix a typo.
1431 2007-11-27 Andre Klapper <a9016009@gmx.de>
1433 * glocalfileoutputstream.c: Fix a typo.
1435 2007-11-27 Alexander Larsson <alexl@redhat.com>
1438 Don't include removed headers
1440 2007-11-27 Alexander Larsson <alexl@redhat.com>
1443 * gsocketinputstream.[ch]: Removed.
1444 * gsocketoutputstream.[ch]: Removed.
1445 * gunixinputstream.[ch]: Added.
1446 * gunixoutputstream.[ch]: Added.
1447 Renamed GSocket*Stream to GUnix*Stream and made
1448 it unix-only, since its not really only for sockets
1449 and it only works on unix (but is highly useful there).
1451 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1457 * gbufferedinputstream.c:
1458 * gbufferedinputstream.h:
1459 * gbufferedoutputstream.c:
1460 * gbufferedoutputstream.h:
1464 * gdatainputstream.c:
1465 * gdatainputstream.h:
1466 * gdataoutputstream.c:
1467 * gdataoutputstream.h:
1468 * gdirectorymonitor.c:
1469 * gdirectorymonitor.h:
1476 * gfileenumerator.c:
1477 * gfileenumerator.h:
1482 * gfileinputstream.c:
1483 * gfileinputstream.h:
1486 * gfilenamecompleter.c:
1487 * gfilenamecompleter.h:
1488 * gfileoutputstream.c:
1489 * gfileoutputstream.h:
1490 * gfilterinputstream.c:
1491 * gfilterinputstream.h:
1492 * gfilteroutputstream.c:
1493 * gfilteroutputstream.h:
1506 * glocalfileoutputstream.c:
1507 * gmemoryinputstream.c:
1508 * gmemoryinputstream.h:
1509 * gmemoryoutputstream.c:
1510 * gmemoryoutputstream.h:
1511 * gmountoperation.c:
1512 * gmountoperation.h:
1515 * gpollfilemonitor.c:
1518 * gsimpleasyncresult.c:
1519 * gsimpleasyncresult.h:
1520 * gsocketinputstream.c:
1521 * gsocketinputstream.h:
1522 * gsocketoutputstream.c:
1523 * gsocketoutputstream.h:
1530 * gunixvolumemonitor.c:
1539 Bumps documentation to 93% symbol coverage, touching most
1540 of the public files. Fixes broken function documentation prototypes.
1541 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1542 gtk-doc headers in private files.
1544 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1546 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1547 (g_buffered_input_stream_read_byte):
1548 * gbufferedinputstream.h:
1549 New functions for efficient access to buffer and simple single byte
1552 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1553 (g_data_input_stream_read_until):
1554 * gdatainputstream.h:
1555 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1556 read_until with multiple stop chars.
1558 2007-11-27 Alexander Larsson <alexl@redhat.com>
1562 * inotify/Makefile.am:
1563 Use the user-specified giomoduledir
1565 2007-11-27 Alexander Larsson <alexl@redhat.com>
1569 Add catch-all gio.h header
1570 Don't install gdummyfile.h
1572 2007-11-26 Alexander Larsson <alexl@redhat.com>
1574 * Makefile.am (gioinclude_HEADERS):
1575 Remove trailing whitespace
1577 2007-11-26 Alexander Larsson <alexl@redhat.com>
1579 Merge gio-standalone into glib
1581 2007-11-25 Christian Kellner <gicmo@gnome.org>
1583 * gio/goutputstream.c:
1584 Fix small mistake in the docs.
1586 2007-11-21 Christian Persch <chpe@gnome.org>
1588 * gio/glocalfile.c: (g_local_file_trash):
1589 Convert filenames to UTF-8 for GError.
1590 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1591 as per xdg base dir spec.
1593 2007-11-21 Christian Persch <chpe@gnome.org>
1595 * gio/gdesktopappinfo.c:
1596 Use that g_key_file_to_data cannot fail.
1598 Use stock defines for the key file group and key names.
1601 2007-11-21 Alexander Larsson <alexl@redhat.com>
1604 (copy_stream_with_progress):
1605 Make sure we do a final progress callback with
1606 the full total size.
1608 2007-11-21 Alexander Larsson <alexl@redhat.com>
1611 Export g_file_copy_attributes
1612 Remove padding as its not needed for interfaces
1614 2007-11-20 Alexander Larsson <alexl@redhat.com>
1619 Add G_IO_ERROR_WOULD_MERGE for
1620 copy/move dir on dir with overwrite.
1622 2007-11-20 Alexander Larsson <alexl@redhat.com>
1625 * gio/glocalfileinfo.c:
1626 Add COPY_NAME (this is an optional
1627 non-modified utf8 version of the name) that
1630 2007-11-20 Alexander Larsson <alexl@redhat.com>
1632 * gio/glocalfileenumerator.c:
1633 Report errors as GIOError, not GFileError
1635 2007-11-16 Alexander Larsson <alexl@redhat.com>
1637 * gio/glocalfileoutputstream.c:
1638 * gio/gwin32appinfo.c:
1639 Fix typos in strings.
1640 Patch from Luca Ferretti <elle.uca@libero.it>
1642 2007-11-15 Alexander Larsson <alexl@redhat.com>
1645 Post release version bump
1647 === gio-standalone 0.1.2 ===
1649 2007-11-15 Alexander Larsson <alexl@redhat.com>
1651 * docs/reference/gio/Makefile.am:
1652 Fix up distcheck by removing weird
1658 2007-11-14 Alexander Larsson <alexl@redhat.com>
1660 * gio/gdesktopappinfo.c:
1661 * gio/glocaldirectorymonitor.c:
1663 * gio/glocalfileinfo.c:
1664 * gio/inotify/inotify-sub.c:
1665 * programs/gio-cat.c:
1666 * programs/gio-copy.c:
1667 * programs/gio-info.c:
1668 * programs/gio-ls.c:
1669 * programs/gio-monitor-dir.c:
1670 * programs/gio-monitor-file.c:
1671 * programs/gio-mount.c:
1672 * programs/gio-move.c:
1673 * programs/gio-rm.c:
1674 * programs/gio-save.c:
1675 * programs/gio-trash.c:
1676 Leak fixes from Kjartan Maraas
1678 2007-11-14 Alexander Larsson <alexl@redhat.com>
1680 * gio/fam/fam-helper.c:
1682 * gio/glocalfileinfo.c:
1686 * gio/inotify/inotify-diag.c:
1687 * gio/inotify/inotify-kernel.c:
1688 Various code cleanups from Kjartan Maraas
1690 2007-11-14 Alexander Larsson <alexl@redhat.com>
1692 * gio/gioscheduler.c:
1694 Set up threadpool so that we cache 2 unused
1695 idle threads for at 15 secs. This means we
1696 will reuse thread-local data (like dbus connections)
1699 2007-11-14 Alexander Larsson <alexl@redhat.com>
1701 * gio/fam/fam-helper.c:
1702 * gio/fam/gfamdirectorymonitor.c:
1703 * gio/fam/gfamfilemonitor.c:
1705 * gio/gcontenttype.c:
1706 * gio/gdatainputstream.c:
1707 * gio/gdataoutputstream.c:
1711 * gio/gfileattribute.h:
1712 * gio/gfileenumerator.c:
1714 * gio/ginputstream.c:
1717 * gio/glocalfileinfo.c:
1718 * gio/goutputstream.c:
1719 * gio/gpollfilemonitor.c:
1720 * gio/gsimpleasyncresult.c:
1721 * gio/gunixmounts.c:
1722 * gio/gunixmounts.h:
1723 * gio/inotify/ginotifydirectorymonitor.c:
1724 * gio/inotify/ginotifyfilemonitor.c:
1725 * gio/inotify/inotify-diag.c:
1726 * gio/inotify/inotify-kernel.c:
1727 * gio/inotify/inotify-path.c:
1729 * gio/test-streams.c:
1730 * programs/gio-info.c:
1731 * programs/gio-monitor-dir.c:
1732 * programs/gio-monitor-file.c:
1733 Various code cleanups from Kjartan Maraas
1735 2007-11-13 Alexander Larsson <alexl@redhat.com>
1738 Handle the uri-scheme calls for dummy files
1740 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1742 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1743 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1744 to avoid clash with the C++ keyword.
1746 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1748 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1749 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1751 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1753 * gio/glocaldirectorymonitor.c:
1754 * gio/glocalfilemonitor.c:
1755 * gio/gunionvolumemonitor.c:
1756 Don't use g_once_init_*() for initializations that could fail and
1757 could leave the initialization variable set to 0 but use GOnce.
1758 This prevents a deadlock on the second call when trying to create
1759 a monitor and no monitor type is available. Thanks to Sven Herzberg
1762 2007-11-11 Sven Herzberg <sven@imendio.com>
1764 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1765 #ifdef (make it work on MacOS X again)
1767 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1769 Fixes Changelog for last two commits (sorry guys).
1771 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1773 * gio/gbufferedinputstream.c:
1774 * gio/gdatainputstream.c:
1776 * gio/gfileoutputstream.c:
1777 * gio/gfilterinputstream.c:
1778 * gio/glocalfileinputstream.c:
1781 More consistency fixes in g*stream.c files.
1782 Significant clean of gfile's documentation, filling in of
1783 asynchronous operations documentation.
1785 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1787 * gio/gasyncresult.c:
1788 * gio/gbufferedinputstream.c:
1789 * gio/gbufferedoutputstream.c:
1790 * gio/gcancellable.c:
1791 * gio/gcontenttype.c:
1792 * gio/gdatainputstream.c:
1793 * gio/gdataoutputstream.c:
1794 * gio/gdesktopappinfo.c:
1797 * gio/gfileattribute.c:
1798 * gio/gio/gfileenumerator.c:
1800 * gio/gfileinputstream.c:
1801 * gio/gfilemonitor.c:
1802 * gio/gfileoutputstream.c:
1803 * gio/ginputstream.c:
1805 * gio/gioscheduler.c:
1806 * gio/gloadableicon.c:
1807 * gio/glocalfileoutputstream.c:
1808 * gio/gmemoryoutputstream.c:
1809 * gio/gmountoperation.c:
1810 * gio/goutputstream.c:
1812 * gio/gsimpleasyncresult.c:
1813 * gio/gunionvolumemonitor.c:
1814 * gio/gunixmounts.c:
1815 * gio/gunixvolume.c:
1819 * gio/gvolumemonitor.c:
1820 Updated documentation stubs, working towards consistency and
1823 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1825 * gio/gmemoryoutputstream.c:
1826 * gio/gmemoryoutputstream.h:
1827 Change g_memory_output_stream_set_free_on_close() to
1828 g_memory_output_stream_set_free_data() as this makes more sense and
1829 is more consistent with GMemoryInputStream.
1831 2007-11-07 Alexander Larsson <alexl@redhat.com>
1838 Change how we find the default vfs so that
1839 we can handle a gvfs failing to init
1841 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1843 * gio/gbufferedoutputstream.c:
1844 * gio/gdatainputstream.c:
1845 * gio/gdataoutputstream.c:
1846 * gio/gfileinputstream.c:
1847 * gio/gfileoutputstream.c:
1848 * gio/gfilterinputstream.c:
1849 * gio/gfilteroutputstream.c:
1850 * gio/ginputstream.c:
1851 * gio/gmemoryinputstream.c:
1852 * gio/gmemoryoutputstream.c:
1853 * gio/goutputstream.c:
1854 * gio/gsimpleasyncresult.c:
1855 * gio/gsocketinputstream.c:
1856 * gio/gsocketoutputstream.c:
1857 Add guards to the remaining public functions, add a TODO for
1858 an unimplemented function and remove some useless guards.
1860 2007-11-07 Alexander Larsson <alexl@redhat.com>
1863 Autoconf checks for the various types of
1864 getpwuid_r and getgrgid_r
1866 * gio/glocalfileinfo.c:
1867 Use the autoconf checks from above
1869 2007-11-07 Alexander Larsson <alexl@redhat.com>
1872 (g_local_file_query_filesystem_info):
1873 Some fixes for the statvfs case
1875 2007-11-07 Alexander Larsson <alexl@redhat.com>
1878 (g_local_file_query_filesystem_info):
1879 Pick the "best" of statfs / statvfs for the system
1880 if both are availible.
1882 2007-11-07 Alexander Larsson <alexl@redhat.com>
1884 Solaris fixes from Halton.Huo@Sun.COM:
1891 * gio/glocalfileinfo.c:
1892 Fix for solaris definition of getpwuid_r
1894 * gio/test-streams.c:
1895 Use G_GNUC_PRETTY_FUNCTION
1897 2007-11-07 Alexander Larsson <alexl@redhat.com>
1899 * gio/gdesktopappinfo.c:
1900 (update_default_list):
1901 Remove double semicolon.
1902 Patch from Jens Granseuer
1904 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1906 * docs/reference/gio/gio-sections.txt:
1907 * gio/gbufferedinputstream.c:
1908 * gio/gbufferedinputstream.h:
1909 * gio/gdatainputstream.c:
1910 * gio/gfileenumerator.c:
1911 * gio/gioscheduler.c:
1912 * gio/gunionvolumemonitor.c:
1914 * programs/gio-save.c:
1915 Fix typo: availible -> available. Unfortuntely this breaks API
1916 and ABI as g_buffered_input_stream_get_available() was renamed.
1918 * gio/gunixmounts.c:
1919 * gio/gbufferedinputstream.c:
1920 Add guards for public functions.
1922 2007-11-06 Ross Burton <ross@openedhand.com>
1924 * docs/reference/gio/Makefile.am:
1925 Fix invalid += usage which automake 1.10 doesn't like.
1927 2007-11-06 Alexander Larsson <alexl@redhat.com>
1930 (g_app_launch_context_class_init):
1933 Patch from Ross Burton
1935 2007-11-06 Alexander Larsson <alexl@redhat.com>
1938 Post release version bump
1940 === gio-standalone 0.1.1 ===
1942 2007-11-06 Alexander Larsson <alexl@redhat.com>
1945 Bump version to 0.1.1
1947 * gio/gsimpleasyncresult.c:
1948 (g_simple_async_result_set_from_error):
1949 Remove bogus g_return_if_fail
1951 2007-11-06 Alexander Larsson <alexl@redhat.com>
1954 The name is gio-standalone
1957 Add top src/builddir to includedir
1959 2007-11-06 Alexander Larsson <alexl@redhat.com>
1961 * docs/reference/gio/gio-sections.txt:
1963 * gio/gbufferedinputstream.c:
1964 * gio/gbufferedoutputstream.c:
1965 * gio/gcancellable.c:
1966 * gio/gdatainputstream.h:
1967 * gio/gdataoutputstream.c:
1968 * gio/gdataoutputstream.h:
1969 * gio/gdirectorymonitor.c:
1971 * gio/gfileattribute.c:
1972 * gio/gfileattribute.h:
1973 * gio/gfileenumerator.c:
1974 * gio/gfileenumerator.h:
1977 * gio/gfileinputstream.h:
1978 * gio/gfilemonitor.c:
1979 * gio/gfileoutputstream.h:
1980 * gio/glocalfilemonitor.h:
1981 * gio/glocalfileoutputstream.h:
1982 * gio/gmemoryinputstream.c:
1983 * gio/gmemoryoutputstream.c:
1984 * gio/gmountoperation.c:
1985 * gio/goutputstream.c:
1986 * gio/goutputstream.h:
1988 * gio/gsimpleasyncresult.c:
1989 * gio/gunixmounts.c:
1990 * gio/gunixmounts.h:
1992 * gio/inotify/inotify-helper.c:
1993 Fix gtk-doc warnings
1995 Patch from Ross Burton
1997 2007-11-06 Alexander Larsson <alexl@redhat.com>
1999 * gio/gfilenamecompleter.c:
2000 (g_filename_completer_get_completions):
2003 * gio/gunixvolume.c:
2004 Remove unused function
2006 Patches from Ross Burton
2008 2007-11-06 Alexander Larsson <alexl@redhat.com>
2013 Padding not needed for interfaces
2015 2007-11-06 Alexander Larsson <alexl@redhat.com>
2017 * gio/gfilemonitor.c:
2021 Make giotypes.h an internal file
2024 * gio/gbufferedinputstream.h:
2025 * gio/gbufferedoutputstream.h:
2026 * gio/gcancellable.h:
2027 * gio/gdatainputstream.h:
2028 * gio/gdataoutputstream.h:
2029 * gio/gdirectorymonitor.c:
2030 * gio/gdirectorymonitor.h:
2035 * gio/gfileattribute.h:
2036 * gio/gfileenumerator.h:
2041 * gio/gfilemonitor.c:
2042 * gio/gfilemonitor.h:
2043 * gio/gfilenamecompleter.c:
2044 * gio/gfilenamecompleter.h:
2045 * gio/gfilterinputstream.h:
2046 * gio/gfilteroutputstream.h:
2047 * gio/ginputstream.h:
2048 * gio/gmemoryinputstream.h:
2049 * gio/gmemoryoutputstream.h:
2050 * gio/gmountoperation.c:
2051 * gio/gmountoperation.h:
2052 * gio/gnativevolumemonitor.c:
2053 * gio/goutputstream.h:
2056 * gio/gsimpleasyncresult.c:
2057 * gio/gsimpleasyncresult.h:
2058 * gio/gsocketinputstream.h:
2059 * gio/gsocketoutputstream.h:
2060 * gio/gthemedicon.c:
2061 * gio/gthemedicon.h:
2065 * gio/gvolumemonitor.c:
2066 * gio/gvolumemonitor.h:
2067 Add padding in classes where it seems useful
2068 Don't include giotypes.h from public headers
2069 Move in Class definitions into c file where possible
2074 2007-11-06 Alexander Larsson <alexl@redhat.com>
2076 * docs/reference/gio/gio-docs.xml:
2077 Better structure for API docs
2079 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2082 * gio/gloadableicon.c:
2083 * gio/gsimpleasyncresult.c:
2084 * gio/gthemedicon.c:
2085 Add some more guards to public functions. Only files missing are now
2088 2007-11-06 Alexander Larsson <alexl@redhat.com>
2090 * docs/reference/gio/gio-docs.xml:
2091 Remove old files, add missing ones
2093 2007-11-06 Alexander Larsson <alexl@redhat.com>
2095 * docs/reference/gio/gio-sections.txt:
2098 Hide implementation classes
2100 * gio/gdriveprivate.h:
2101 * gio/gvolumeprivate.h:
2102 Remove non-existing function declarations
2104 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2107 Fix compilation warnings and add guards to the new functions.
2109 * gio/gasyncresult.c:
2111 Add guards to the public functions.
2114 Implement get_path().
2116 2007-11-06 Alexander Larsson <alexl@redhat.com>
2118 * gio/gfilenamecompleter.c:
2119 Make g_filename_completer_get_completions
2120 return char ** instead of GList for
2123 * docs/reference/gio/gio-docs.xml:
2124 * docs/reference/gio/gio-sections.txt:
2126 * gio/gasyncresult.c:
2127 * gio/gbufferedinputstream.c:
2128 * gio/gbufferedoutputstream.c:
2129 * gio/gcancellable.c:
2130 * gio/gcontenttype.c:
2131 * gio/gdatainputstream.c:
2132 * gio/gdataoutputstream.c:
2133 * gio/gdesktopappinfo.c:
2134 * gio/gdirectorymonitor.c:
2138 * gio/gfileattribute.c:
2139 * gio/gfileenumerator.c:
2142 * gio/gfileinputstream.c:
2143 * gio/gfilemonitor.c:
2144 * gio/gfilenamecompleter.c:
2145 * gio/gfilenamecompleter.h:
2146 * gio/gfileoutputstream.c:
2147 * gio/gfilterinputstream.c:
2149 * gio/ginputstream.c:
2151 * gio/gioscheduler.c:
2152 * gio/gloadableicon.c:
2153 * gio/glocaldirectorymonitor.c:
2155 * gio/glocalfileinputstream.c:
2156 * gio/glocalfilemonitor.c:
2157 * gio/glocalfileoutputstream.c:
2159 * gio/gmemoryinputstream.c:
2160 * gio/gmemoryoutputstream.c:
2161 * gio/gmountoperation.c:
2162 * gio/goutputstream.c:
2163 * gio/gpollfilemonitor.c:
2165 * gio/gsimpleasyncresult.c:
2166 * gio/gsocketinputstream.c:
2167 * gio/gsocketoutputstream.c:
2168 * gio/gthemedicon.c:
2169 * gio/gunionvolumemonitor.c:
2171 * gio/gunixmounts.c:
2172 * gio/gunixvolume.c:
2173 * gio/gunixvolumemonitor.c:
2177 * gio/gvolumemonitor.c:
2178 * gio/gwin32appinfo.c:
2179 Add (mostly stub) doc strings to public functions.
2180 Patch from Andrew Walton (awalton@gmail.com)
2182 2007-11-06 Alexander Larsson <alexl@redhat.com>
2184 * gio/gappinfo.[ch]:
2185 Added GAppLaunchContext object and pass that to launch.
2186 This allows simple implementation of both
2187 launch-on-screen and startup notification via a gtk+
2188 subclass of GAppLaunchContext
2190 * gio/gdesktopappinfo.c:
2191 Implement GAppLaunchContext API
2193 * gio/gwin32appinfo.c:
2196 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2198 * gio/gmountoperation.c:
2199 Add some guards to GMountOperation's public functions.
2201 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2205 * gio/gcancellable.c:
2206 * gio/gdirectorymonitor.c:
2208 * gio/gfileenumerator.c:
2209 * gio/gfilemonitor.c:,
2210 * gio/gfilenamecompleter.c:
2213 * gio/gioscheduler.c:
2217 * gio/gvolumemonitor.c:
2218 Add even more guards to various public functions.
2220 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2223 Add guards to the public functions of GAppInfo.
2225 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2227 * gio/gcontenttype.c:
2228 Add some more guards for public functions.
2230 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2232 * gio/fam/fam-module.c:
2233 * gio/fam/gfamdirectorymonitor.c:
2234 * gio/fam/gfamdirectorymonitor.h:
2235 * gio/fam/gfamfilemonitor.c:
2236 * gio/fam/gfamfilemonitor.h:
2237 * gio/inotify/ginotifydirectorymonitor.c:
2238 * gio/inotify/ginotifydirectorymonitor.h:
2239 * gio/inotify/ginotifyfilemonitor.c:
2240 * gio/inotify/ginotifyfilemonitor.h:
2241 Add proper copyright information and remove an unused variable
2242 in the GInotifyFileMonitor constructor.
2244 * gio/gcancellable.c:
2245 Add a guard for a public function and an assertion to prevent
2246 an undefined program state.
2248 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2250 * gio/gfileattribute.c:
2251 Don't run into an assertion if the given attribute value is NULL
2252 in g_file_attribute_value_get_*() but instead return a fallback
2253 value that makes sense in most situations. Passing them a attribute
2254 value with the wrong type will still run into an assertion.
2256 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2258 * gio/gfileattribute.c:
2260 Add even more guards to the public functions. Also fix the refcounting
2261 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2262 let g_file_info_list_attributes() filter the attributes by namespace
2263 instead of simply ignoring the namespace parameter.
2265 2007-11-03 Sven Herzberg <sven@imendio.com>
2267 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2268 (This makes gio work on MacOS X again)
2270 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2273 Build the gio subdirectory before the docs. Otherwise the build will
2276 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2277 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2278 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2279 Add guards to the public functions.
2281 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2283 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2284 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2285 to prevent a compiler warning.
2287 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2288 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2289 return something in the non-void function find_topdir_for().
2291 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2298 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2300 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2301 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2302 * gwin32appinfo.c (g_win32_app_info_launch):
2303 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2304 envp_for_startup_id, g_desktop_app_info_launch,
2305 g_desktop_app_info_launch_uris):
2307 Give an opaque 'startup_id' string instead of 'envp'.
2308 Support empty file lists for launching new windows.
2309 Fix infinite recursion bug when launching URIs.
2311 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2314 Add guard to the new g_file_get_uri_scheme() function.
2316 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2319 Convert a g_return_val_if_fail() to setting the GError instead as
2320 otherwise applications have to verify the parameter before otherwise
2321 and the parameter might come directly from the user.
2323 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2325 * gio/inotify/ginotify*.[ch]:
2326 Add missing copyright information.
2328 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2331 Add guards in the beginning of public functions to check for valid
2332 parameters and fix a bug in copy_stream_with_progress() that could've
2333 caused writing less bytes than reading.
2334 * gio/glocalfileinfo.c:
2335 Check for a NULL parameter and set the GError accordingly then.
2336 * gio/goutputstream.c:
2337 Fix the same bug as in gfile.c that could've caused writing less bytes
2338 than reading in g_output_stream_real_splice().
2340 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2343 Use the correct gvolumeprivate.h naming
2345 2007-11-01 Christian Kellner <gicmo@gnome.org>
2348 Remove leftover "$(daemon_sources)" entry.
2350 2007-11-01 Christian Kellner <gicmo@gnome.org>
2355 Add copyright information to source files.
2357 2007-11-01 Alexander Larsson <alexl@redhat.com>
2361 Add g_file_get_uri_scheme
2363 2007-11-01 Alexander Larsson <alexl@redhat.com>
2366 * gio/gdesktopappinfo.c:
2367 * gio/gwin32appinfo.c:
2368 Add g_app_info_get_default_for_uri_scheme.
2370 2007-11-01 Alexander Larsson <alexl@redhat.com>
2373 Correct filename for gdriveprivate.h
2375 2007-10-31 Alexander Larsson <alexl@redhat.com>
2378 Rename id:value to id:file
2381 * gio/glocalfileinfo.c:
2384 2007-10-31 Alexander Larsson <alexl@redhat.com>
2386 * gio/gunixvolume.c:
2388 Remove g_volume_get_platform_id, as thats not
2389 needed with the simpler union volume monitor
2391 2007-10-31 Alexander Larsson <alexl@redhat.com>
2394 * gio/guniondrive.[ch]: Removed.
2395 * gio/gunionvolume.[ch]: Removed.
2396 Remove GUnionDrive/Volume
2398 * gio/gunionvolumemonitor.c:
2399 Simplify union volume monitor, now we
2400 only have one native volume monitor and
2401 we use the actual volumes/drives from the
2402 child monitors instead of wrapping them
2404 * gio/gnativevolumemonitor.[ch]:
2405 Base class for native volume monitors.
2406 Includes priority and get_volume_for_mountpoint
2409 Add g_file_find_enclosing_volume
2412 Remove volume name fs attribute
2413 Add readonly fs attribute
2416 Implement readonly attribute
2417 remove volume name attribute
2418 Implement find_enclosing volume
2420 * gio/gunixmounts.c:
2421 Add a volume for "/".
2423 * gio/gunixvolume.[ch]:
2424 Set better name for /
2426 * gio/gunixvolumemonitor.[ch]:
2427 Derive from GNativeVolumeMonitor
2428 Implement get_volume_for_mountpoint
2431 GVolume typedef moved to gfile.h
2433 * gio/gvolumeprivate.h:
2434 Add g_volume_get_for_mount_path
2436 2007-10-31 Alexander Larsson <alexl@redhat.com>
2438 * gio/gunixmounts.[ch]:
2439 Add cache info to unix mount listers
2440 Make getmntent use threadsafe
2441 Add is_system_internal attribute for GUnixMount
2443 * gio/gunixvolume.c:
2444 (g_unix_volume_new):
2445 Use is_system_internal instead of own code
2447 * gio/glocaldirectorymonitor.c:
2448 * gio/gunixvolumemonitor.c:
2449 Update to new gunixmounts API
2454 2007-10-30 Alexander Larsson <alexl@redhat.com>
2457 Add volume name fsinfo attribute
2460 Read volume name info
2462 * gio/gunionvolumemonitor.c:
2463 Fix infinite loops when finalizing a union volume monitor
2465 2007-10-30 Alexander Larsson <alexl@redhat.com>
2467 * gio/goutputstream.[ch]:
2468 Add splice() with default implementation
2470 * gio/gsocketoutputstream.c:
2471 (g_socket_output_stream_write):
2472 Return error on cancellation correctly.
2474 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2476 * gio/glocalfile.c (g_local_file_trash):
2477 Do not leak a string.
2479 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2481 * gio/gfile.c (g_file_load_contents):
2482 Unref the stream after closing it.
2484 2007-10-25 Alexander Larsson <alexl@redhat.com>
2486 * gio/gioscheduler.h:
2489 2007-10-25 Alexander Larsson <alexl@redhat.com>
2493 Add g_file_has_uri_scheme and implement for local files
2495 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2497 * gio/gdesktopappinfo.c: do not leak a string.
2499 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2501 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2502 (g_local_directory_monitor_new):
2503 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2504 (g_local_file_monitor_new):
2505 Only look for the monitor type that should be used the first time
2506 and use g_qsort_with_data() instead of our own bubble sort
2509 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2512 * gio/fam/Makefile.am:
2513 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2514 * gio/fam/fam-helper.h:
2515 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2516 * gio/fam/gfamdirectorymonitor.c:
2517 * gio/fam/gfamdirectorymonitor.h:
2518 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2519 * gio/fam/gfamfilemonitor.h:
2520 * gio/glocaldirectorymonitor.c:
2521 * gio/glocaldirectorymonitor.h:
2522 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2523 * gio/glocalfilemonitor.h:
2524 * gio/inotify/Makefile.am:
2525 * gio/inotify/ginotifydirectorymonitor.c:
2526 * gio/inotify/ginotifydirectorymonitor.h:
2527 * gio/inotify/ginotifyfilemonitor.c:
2528 * gio/inotify/ginotifyfilemonitor.h:
2529 Implement the FAM and Inotify monitors as
2530 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2531 their own GIO module. GLocal(Directory|File)Monitor will use the
2532 monitor with the highest rank that is supported on that machine.
2534 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2537 Change GIO module dir to $(libdir)/gio/modules and change
2538 the log domain from GVFS to GIO. Also only export symbols starting
2539 with g_ in the resulting library.
2540 * gio/test-streams.c: (main):
2541 Set log handler for the GIO log domain.
2543 2007-10-22 Alexander Larsson <alexl@redhat.com>
2545 * gio/gfilenamecompleter.[ch]:
2546 Add g_filename_completer_set_dirs_only
2548 2007-10-22 Alexander Larsson <alexl@redhat.com>
2551 * gio/gurifuncs.[ch]:
2552 Add some simple URI helpers
2554 * gio/gfilenamecompleter.[ch]:
2555 Added object for filename (parse name actually) completion
2558 Handle ~ in parse names
2560 2007-10-17 Alexander Larsson <alexl@redhat.com>
2563 * gio/glocalfileinfo.c:
2564 Add and implement id:value attribute
2566 2007-10-17 Alexander Larsson <alexl@redhat.com>
2569 * gio/guniondrive.c:
2571 Add and implement g_drive_has_volumes
2573 2007-10-17 Alexander Larsson <alexl@redhat.com>
2576 * gio/glocalfileinfo.[ch]:
2577 Add unix:is_mountpoint and implement for local files
2579 2007-10-16 Alexander Larsson <alexl@redhat.com>
2581 * gio/gunionvolumemonitor.c:
2582 (g_union_volume_monitor_init):
2583 Fix up the unix type getting so that it works with gcc
2585 2007-10-12 Alexander Larsson <alexl@redhat.com>
2588 * gio/glocalfileinfo.c:
2589 Add thumbnail:failed to file info
2591 2007-10-12 Richard Hult <richard@imendio.com>
2593 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2594 optimizing away the get_type call (happens with some gcc versions,
2595 like the one shipped with OS X 10.4).
2597 2007-10-12 Alexander Larsson <alexl@redhat.com>
2599 * gio/glocalfileinfo.c:
2600 (_g_local_file_info_set_attribute):
2601 Fix build if not HAVE_XATTR
2602 Patch from Milosz Derezynski <internalerror@gmail.com>
2604 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2606 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2607 around for review, otherwise I would have asked you before
2610 2007-10-11 Alexander Larsson <alexl@redhat.com>
2613 Add thumbnail:path attribute
2615 * gio/glocalfileinfo.c:
2616 Implement thumbnail:path for local files
2618 2007-10-11 Alexander Larsson <alexl@redhat.com>
2620 * gio/glocalfileinfo.c:
2621 (_g_local_file_info_get):
2622 Avoid duplicate icon names
2624 2007-10-11 Alexander Larsson <alexl@redhat.com>
2626 * gio/gthemedicon.[ch]:
2627 Change g_themed_icon_get_names return type to const
2629 2007-10-10 Alexander Larsson <alexl@redhat.com>
2631 * gio/glocalfileinfo.c:
2632 Don't reference freed memory
2634 2007-10-10 Alexander Larsson <alexl@redhat.com>
2636 * gio/gfileattribute.c:
2639 * gio/glocalfileinfo.c:
2642 2007-10-10 Alexander Larsson <alexl@redhat.com>
2645 Check for NULL icons
2647 * gio/gfileattribute.c:
2648 Don't dup when getting objects (same as for string attributes)
2650 * gio/gicon.c (g_icon_equal):
2651 Safely handle NULLs in equal
2653 2007-10-10 Alexander Larsson <alexl@redhat.com>
2656 Fix c++ compilation issues
2657 Patch from Milosz Derezynski <internalerror@gmail.com>
2659 2007-10-10 Alexander Larsson <alexl@redhat.com>
2661 * programs/gio-monitor-dir.c:
2662 Don't crash if dir monitor not supported.
2664 2007-10-09 Alexander Larsson <alexl@redhat.com>
2667 Add missing G_END_DECLS
2669 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2671 * gio/gfile.c: (g_file_set_display_name),
2672 (g_file_query_settable_attributes),
2673 (g_file_query_writable_namespaces):
2674 Return NULL not FALSE on errors as the return type is a pointer.
2676 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2678 * gio/glocalfile.c: (g_local_file_monitor_file):
2679 Don't call monitor_file on the default interface vtable (which
2680 is NULL) but simply return NULL. The caller, GFile, will create a
2681 polling monitor if NULL is returned.
2683 2007-10-09 Alexander Larsson <alexl@redhat.com>
2687 * gio-unix-2.0.pc.in:
2688 Add gio-unix-2.0.pc if OS_UNIX
2691 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2693 2007-10-09 Alexander Larsson <alexl@redhat.com>
2695 * gio/gunixmounts.[ch]:
2696 Make unix mount monitoring API sane.
2697 Now its just a object with mounts_changed
2698 and mountpoints_changed signals.
2700 * gio/glocaldirectorymonitor.c:
2701 * gio/gunixvolumemonitor.c:
2702 Use new mount monitor api
2704 2007-10-09 Alexander Larsson <alexl@redhat.com>
2706 * gio/gunixmounts.[ch]:
2707 Move guess type into one call for mounts and one for mountpoints
2710 * gio/gunixvolume.c:
2713 2007-10-09 Alexander Larsson <alexl@redhat.com>
2715 * gio/gunixmounts.[ch]:
2716 Remove _ prefix in preparation to make this semi-public
2717 Hide implementation of structs
2719 * gio/glocaldirectorymonitor.c:
2721 * gio/gunixvolume.c:
2722 * gio/gunixvolumemonitor.c:
2723 Update for above API changes
2725 2007-10-08 Alexander Larsson <alexl@redhat.com>
2728 Better polling fallback. This also handles the case where we have
2729 a monitor_file implementation, but it fails.
2731 2007-10-08 Alexander Larsson <alexl@redhat.com>
2735 * gio/gunixmounts.c:
2736 * programs/gio-monitor-dir.c:
2737 * programs/gio-monitor-file.c:
2738 Added cancellable to file monitoring calls.
2739 These are really sync calls and need this.
2741 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2743 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2744 (g_local_vfs_class_init):
2745 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2746 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2748 2007-10-05 Alexander Larsson <alexl@redhat.com>
2750 * gio/gdirectorymonitorprivate.h:
2751 * gio/gfilemonitorprivate.h:
2752 * gio/gdirectorymonitor.h:
2753 * gio/gfilemonitor.h:
2754 Remove *private.h and move to the public API, so that
2755 we can do implementations outside gio (such as in gvfs)
2757 * gio/gdirectorymonitor.c:
2758 * gio/gfilemonitor.c:
2759 * gio/glocaldirectorymonitor.c:
2760 * gio/gpollfilemonitor.c:
2761 * gio/inotify/inotify-helper.c:
2762 * gio/fam/fam-helper.c:
2763 Update to the new header names
2765 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2767 * gio/gdirectorymonitor.c:
2768 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2771 2007-10-04 Alexander Larsson <alexl@redhat.com>
2773 * gio/glocalfileinfo.c (get_access_rights):
2774 Set CAN_TRASH when we can move the file.
2775 We should really also check for a parent trash dir.
2777 2007-10-04 Alexander Larsson <alexl@redhat.com>
2779 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2780 Add can_trash access attribute
2782 2007-10-04 Alexander Larsson <alexl@redhat.com>
2785 (g_local_file_trash):
2786 Create info file first. This is per-spec and allows
2787 us to actually trash directories.
2789 2007-10-02 Alexander Larsson <alexl@redhat.com>
2791 * gio/gdesktopappinfo.c:
2792 Implement the new mime support code.
2793 Always set app as handling mimetype when being set as default for it
2795 2007-10-01 Alexander Larsson <alexl@redhat.com>
2797 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2798 Fix up check for xattrs:
2800 2007-10-01 Alexander Larsson <alexl@redhat.com>
2803 (g_app_info_set_as_default_for_extension):
2804 (g_app_info_add_supports_type):
2805 (g_app_info_can_remove_supports_type):
2806 (g_app_info_remove_supports_type):
2807 Make these fail nicely if not implemented
2809 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2811 * gio/glocalfileoutputstream.c:
2812 * gio/glocalfileoutputstream.h:
2817 * programs/gio-save.c:
2818 Add a GFileCreateFlags argument to operations that can create
2821 2007-10-01 Alexander Larsson <alexl@redhat.com>
2823 * gio/gappinfo.[ch]:
2824 * gio/gdesktopappinfo.c:
2825 Add more (stubbed out) mime API needed for nautilus
2827 2007-10-01 Alexander Larsson <alexl@redhat.com>
2830 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2831 Add g_app_info_set_as_default_for_extension.
2833 * gio/gdesktopappinfo.c:
2834 Dummy for g_app_info_set_as_default_for_extension
2835 Support flags in g_app_info_create_from_commandline
2837 * gio/gwin32appinfo.c:
2839 Update for API changes
2841 * gio/gthemedicon.c:
2842 Properly NULL-terminate list of icon names
2844 2007-09-28 Alexander Larsson <alexl@redhat.com>
2846 * gio/gloadableicon.h:
2847 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2849 2007-09-28 Alexander Larsson <alexl@redhat.com>
2852 Install headers in $includedir/gio-standalone/
2854 * gio-2.0.pc.in: Added.
2855 * gio-standalone.pc.in: Removed.
2858 Renamed pkg-config file to match glib (for future move)
2859 Update to the new include dir
2862 Add more TODO comments
2864 2007-09-28 Alexander Larsson <alexl@redhat.com>
2866 * gio/gdesktopappinfo.[ch]:
2867 Expose new_from_filename
2868 Add getter for is_hidden and handle it better
2870 2007-09-28 Alexander Larsson <alexl@redhat.com>
2872 * gio/gfileinfo.[ch]:
2873 Rename g_file_size_format_for_display to
2874 g_format_file_size_for_display.
2875 Now it doesn't have the g_file prefix, so we
2876 can later move it to glib.
2878 2007-09-28 Alexander Larsson <alexl@redhat.com>
2880 * gio/gappinfo.[ch]:
2881 Add g_app_info_get_id and g_app_info_get_executable.
2882 Make all getters non-reffing
2883 Make g_app_info_launch take GFile arguments.
2884 Add must_support_uris argument to g_app_info_get_default_for_type.
2886 * gio/gwin32appinfo.c:
2887 Update to GAppInfo api changes
2889 * gio/gdesktopappinfo.c:
2890 Update to GAppInfo api changes
2891 Implement supports_xdg_startup_notify
2893 * gio/gfileicon.c (g_file_icon_get_file):
2894 Make getter non-reffing.
2899 2007-09-27 Alexander Larsson <alexl@redhat.com>
2901 * gio/gfileinfo.[ch]:
2902 Add g_file_size_format_for_display helper
2904 2007-09-27 Alexander Larsson <alexl@redhat.com>
2906 * gio/glocalfileinfo.c:
2907 Set UNIX_GID from gid, not from uid
2909 2007-09-27 Alexander Larsson <alexl@redhat.com>
2912 Add g_file_set_attributes_async
2914 2007-09-27 Alexander Larsson <alexl@redhat.com>
2916 * gio/glocalfile.c (g_local_file_set_display_name):
2917 Fix set_display_name to actually rename to the right place.
2918 Use lstat to look for existing files so we don't overwrite
2921 2007-09-26 Alexander Larsson <alexl@redhat.com>
2924 Add g_file_set_display_name_async()
2926 2007-09-26 Alexander Larsson <alexl@redhat.com>
2929 Add load_partial_contents async calls
2932 Make internal function static
2934 2007-09-26 Alexander Larsson <alexl@redhat.com>
2936 * gio/glocalfileinfo.c:
2937 Correctly detect broken symlinks
2939 2007-09-26 Alexander Larsson <alexl@redhat.com>
2941 * gio/gcancellable.c (g_cancellable_cancel):
2942 Allow cancel on NULL cancellable
2944 2007-09-25 Alexander Larsson <alexl@redhat.com>
2946 * gio/gsimpleasyncresult.c:
2947 Don't allocate g_error manually.
2948 Fixes g_slice/g_new mixup crash
2950 2007-09-25 Alexander Larsson <alexl@redhat.com>
2952 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2953 Actually set active_backend.
2954 This means the monitor will be cancelled correctly.
2956 2007-09-25 Alexander Larsson <alexl@redhat.com>
2958 * gio/gdirectorymonitor.c:
2959 Set timeout to NULL when destroying
2961 2007-09-25 Alexander Larsson <alexl@redhat.com>
2964 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2965 that is a better description of the error.
2967 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2969 * gio/gvfs.c: (g_vfs_get_local):
2970 Make the local vfs variable static. The same instance should
2973 2007-09-24 Alexander Larsson <alexl@redhat.com>
2975 * gio/glocalfileinfo.c:
2976 Pass in actual length read into sniffer, not the length
2979 2007-09-21 Alexander Larsson <alexl@redhat.com>
2981 * gio/gfileenumerator.c:
2984 * gio/gfileinputstream.c:
2985 * gio/gfileoutputstream.c:
2986 * gio/ginputstream.c:
2987 * gio/goutputstream.c:
2988 Don't crash if async callbacks are NULL
2990 2007-09-20 Alexander Larsson <alexl@redhat.com>
2993 Add async enumerate_children method and default
2996 2007-09-20 Alexander Larsson <alexl@redhat.com>
2999 Add g_file_contains_file & g_file_get_relative_path, since they
3000 were needed for nautilus.
3001 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3006 Implement new methods
3008 2007-09-17 Alexander Larsson <alexl@redhat.com>
3011 * gio/gfileinputstream.[ch]:
3012 * gio/gfileoutputstream.[ch]:
3014 * gio/glocalfileenumerator.[ch]:
3015 * gio/glocalfileinfo.[ch]:
3016 * gio/glocalfileinputstream.c:
3017 * gio/glocalfileoutputstream.c:
3018 * gio/gpollfilemonitor.c:
3019 * programs/gio-copy.c:
3020 * programs/gio-info.c:
3021 * programs/gio-move.c:
3022 Rename get_file_info to query_info() to make it clearer
3023 that these are not simple getters, but do i/o.
3025 2007-09-17 Alexander Larsson <alexl@redhat.com>
3027 * gio/gdatainputstream.[ch]:
3028 * gio/test-streams.c:
3029 Use _read_XXX instead of _get_XXX for the i/o calls
3032 2007-09-17 Alexander Larsson <alexl@redhat.com>
3035 Added needed stuff to TODO comment
3037 2007-09-17 Alexander Larsson <alexl@redhat.com>
3039 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3040 Don't error out removing the backup copy if it doesn't
3043 2007-09-14 Alexander Larsson <alexl@redhat.com>
3045 * programs/Makefile.am:
3046 * programs/gvfs-*.c:
3048 Renamed apps from gvfs-xxx to gio-xxx.
3050 2007-09-14 Alexander Larsson <alexl@redhat.com>
3053 * gio/gfileoutputstream.[ch]:
3054 * gio/glocalfileoutputstream.c:
3055 * programs/gvfs-save.c:
3056 g_file_output_stream_get_etag doesn't do i/o, so remove
3057 cancellation and error.
3059 2007-09-14 Alexander Larsson <alexl@redhat.com>
3062 Add new_etag output to replace_contents functions
3064 2007-09-14 Alexander Larsson <alexl@redhat.com>
3066 * gio/gfileoutputstream.[ch]:
3067 Add async get_file_info and default implementation
3069 2007-09-14 Alexander Larsson <alexl@redhat.com>
3071 * gio/gfileinputstream.c:
3072 Implement fallback wrapper for async get_file_info
3074 2007-09-14 Alexander Larsson <alexl@redhat.com>
3077 Add etag out argument to load_contents
3082 2007-09-14 Alexander Larsson <alexl@redhat.com>
3084 * gio/gcontenttype.c (looks_like_text):
3085 Whitespace like tab, cr and lf do not make the
3088 2007-09-14 Alexander Larsson <alexl@redhat.com>
3090 * gio/gfileinputstream.[ch]:
3091 Add async get_file_info.
3093 2007-09-13 Alexander Larsson <alexl@redhat.com>
3095 * gio/goutputstream.c (g_output_stream_write_all):
3096 Allow NULL for bytes_written
3098 2007-09-13 Alexander Larsson <alexl@redhat.com>
3100 * gio/gmemoryinputstream.[ch]:
3101 Add accessors for data
3103 2007-09-13 Alexander Larsson <alexl@redhat.com>
3105 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3106 Don't crash if length is NULL