1 2008-01-22 Alexander Larsson <alexl@redhat.com>
3 * glocalfileinfo.c (get_thumbnail_attributes):
6 2008-01-22 Alexander Larsson <alexl@redhat.com>
9 (canonicalize_filename):
10 Canonicalize paths that start with more than
15 (test_g_file_new_for_path):
18 2008-01-22 Alexander Larsson <alexl@redhat.com>
21 Allow UTF-8 in file:// parse names.
24 * tests/data-input-stream.c:
25 * tests/data-output-stream.c:
26 * tests/g-file-info.c:
28 Added a bunch of tests from Tomas Bzatek
30 2008-01-21 Matthias Clasen <mclasen@redhat.com>
32 * === Released 2.15.3 ===
34 2008-01-21 Alexander Larsson <alexl@redhat.com>
36 * gfileinputstream.[ch]:
37 * gfileoutputstream.[ch]:
39 Remove duplicated GSeekable functions. (#509990)
40 Just use the g_seekable_xxx() calls instead.
42 2008-01-21 Matthias Clasen <mclasen@redhat.com>
45 * gvolumemanager.c: Whitespace cleanups.
47 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
48 Use the right mode when creating the file.
50 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
55 * goutputstream.c: Documentation: Fixed minor typos
56 and added more mentions of specific _finish() functions.
58 2008-01-21 Alexander Larsson <alexl@redhat.com>
60 * inotify/Makefile.am:
61 * inotify/inotify-helper.c:
62 * inotify/inotify-kernel.c:
63 * inotify/inotify-path.c:
64 * inotify/local_inotify.h: Removed.
65 * inotify/local_inotify_syscalls.h: Removed.
66 Removed the included copies of the inotify
67 headers. We now only use the <sys/inotify.h>
68 header which exists on modern systems.
69 This fixes problems on ARM and SH5 (#510448)
70 but is also generally much cleaner and future
71 safe. For instance, if other OSes add support
72 for inotify it should "just work".
74 2008-01-20 Matthias Clasen <mclasen@redhat.com>
76 * inotify/*.c: Coding style fixes.
77 * inotify/inotify-missing.c: Use g_timeout_add_seconds
80 2008-01-20 Matthias Clasen <mclasen@redhat.com>
84 * gmemoryinputstream.c:
85 * gmemoryoutputstream.c:
87 * gthemedicon.c: Documentation updates
89 2008-01-20 Murray Cumming <murrayc@murrayc.com>
91 * gfile.c: documentation: Fixed more minor
94 2008-01-18 Murray Cumming <murrayc@murrayc.com>
96 * gmount.c: (g_mount_remount): documentation:
97 Mention g_mount_remount_finish() instead of
98 g_mount_unmount_finish().
100 2008-01-18 Murray Cumming <murrayc@murrayc.com>
104 * gfile.c: Fixed some minor typos in the
107 2008-01-18 Murray Cumming <murrayc@murrayc.com>
109 * gio/gvolumemonitor.c:
110 (g_volume_monitor_get_connected_drives):
111 (g_volume_monitor_get_volumes):
112 (g_volume_monitor_get_mounts): Documentation:
113 Clarify the ownership of the regurn GLists.
115 2008-01-17 Alexander Larsson <alexl@redhat.com>
118 Add the async find_enclosing_mount version
119 to the header file too.
121 2008-01-17 Alexander Larsson <alexl@redhat.com>
124 Add async version of find_enclosing_mount
125 with default implementation.
127 2008-01-17 Alexander Larsson <alexl@redhat.com>
132 Allow calls to implementation of copy and write
133 even if the type of the file implementations is
134 different. This can be used to implement native
135 upload and download calls in a vfs.
139 Protect against the case where move is called
140 with one file not being local.
142 Make sure we call the progress callback once
143 in the native move operation so that the caller
144 knows how many bytes were copied.
146 2008-01-16 Murray Cumming <murrayc@murrayc.com>
149 * gdatainputstream.c:
151 * gfileoutputstream.c:
156 * gunixmounts.c: Corrected some typos in the documentation:
158 its -> it's (where appropriate).
160 2008-01-16 Alexander Larsson <alexl@redhat.com>
164 Add g_file_query_exists (#508771)
166 2008-01-15 Murray Cumming <murrayc@murrayc.com>
171 * gvolume.c: For async functions that have no non-async
172 version, document that the GAsyncReadyCallback may be NULL.
175 2008-01-15 Alexander Larsson <alexl@redhat.com>
177 * gmemoryinputstream.c:
178 * gmemoryoutputstream.c:
179 Don't do pointer arithmetic on void * (#508602)
180 Patch from Kazuki IWAMOTO
182 2008-01-14 Matthias Clasen <mclasen@redhat.com>
184 * === Released 2.15.2 ===
186 2008-01-14 Alexander Larsson <alexl@redhat.com>
188 * gfile.c (g_file_monitor_file):
189 Don't set error here, since we fallback to polling monitor.
191 2008-01-14 Alexander Larsson <alexl@redhat.com>
194 (g_file_monitor_directory):
195 (g_file_monitor_file):
196 Add GError to file monitor calls
198 * glocaldirectorymonitor.c:
199 * glocaldirectorymonitor.h:
201 * glocalfilemonitor.c:
202 * glocalfilemonitor.h:
204 Update for above change
206 2008-01-14 Alexander Larsson <alexl@redhat.com>
210 Handle root correctly in g_file_get_relative_path (#508719)
212 2008-01-14 Alexander Larsson <alexl@redhat.com>
215 Clean up docs and example for GAsyncResult (#508074)
217 2008-01-11 Murray Cumming <murrayc@murrayc.com>
219 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
220 and correct some spelling mistakes. Bug #508108.
222 2008-01-11 Matthias Clasen <mclasen@redhat.com>
224 * glocalfileinfo.c: Add a comment.
226 2008-01-10 Murray Cumming <murrayc@murrayc.com>
228 * gfileinfo.c: GFileInfo description: Mention
229 how to actually set attributes in a GFile and how to discover
230 which attributes are settable. Bug #508378.
232 2008-01-10 A. Walton <awalton@svn.gnome.org>
234 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
235 (g_app_info_get_default_for_type):
236 Check for NULL content types.
238 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
240 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
242 2008-01-09 Murray Cumming <murrayc@murrayc.com>
244 * gfile.c: *_async() functions: Several small corrections
245 to the documentation, mostly correcting copy/paste errors
246 and improving some sentences.
248 2008-01-09 Dan Winship <danw@gnome.org>
250 * glocalfile.c (get_unique_filename): x86_64 fix
252 2008-01-09 Alexander Larsson <alexl@redhat.com>
257 Add g_unix_mount_guess_should_display and use
258 for unix volume monitor backend.
259 This means we more or less show what the
260 gnome-vfs backend did.
261 Based on patch from Padraig O'Briain
263 2008-01-09 Alexander Larsson <alexl@redhat.com>
267 Add g_themed_icon_new_with_default_fallbacks
270 Use default fallbacks for icons
272 2008-01-09 Alexander Larsson <alexl@redhat.com>
275 * gmountoperation.[ch]:
276 Change the API a bit so that unhandled methods
277 get reported via the reply, rather than by
278 the signal emission return value. This is because
279 some handlers can't know this immediately without
280 doing I/O, and this is an async operation that
283 2008-01-09 Alexander Larsson <alexl@redhat.com>
286 * fam/gfamdirectorymonitor.c:
287 * fam/gfamfilemonitor.c:
288 Fix double free crash (#508224)
289 Patch from Joe Marcus Clarke
291 008-01-07 Matthias Clasen <mclasen@redhat.com>
293 * === Released 2.15.1 ===
295 2008-01-07 Alexander Larsson <alexl@redhat.com>
297 * gunixinputstream.c (g_unix_input_stream_skip_finish):
298 Fix warning (#507835)
300 2008-01-07 Alexander Larsson <alexl@redhat.com>
303 Pass --internal to glib-genmarshal
308 Use better types for signal arguments (#507822)
310 2008-01-07 Alexander Larsson <alexl@redhat.com>
313 Build test subdir after .
314 Remove gdirectorymonitor.[ch]
316 * gdirectorymonitor.[ch]:
320 Remove GDirectoryMonitor and make
321 GFileMonitor the baseclass for both file and
322 directory monitors. Lift the more generic
323 rate limiting code from GDirectoryMonitor
327 * fam/gfamdirectorymonitor.[ch]:
328 * inotify/ginotifydirectorymonitor.[ch]:
329 * inotify/inotify-helper.c:
330 * glocaldirectorymonitor.[ch]:
333 Update for the removed GDirectoryMonitor.
335 * gmemoryoutputstream.c:
336 Remove ununsed variable
338 2008-01-07 Alexander Larsson <alexl@redhat.com>
340 * gmemoryinputstream.c:
341 Translate error strings
344 * gmemoryoutputstream.[ch]:
345 New implementation that avoids using GByteArray
346 in implementation and API. (#506377)
348 2008-01-06 Matthias Clasen <mclasen@redhat.com>
350 * tests/*: Add a test for memory input streams.
352 * Makefile.am: Add tests to SUBDIRS.
354 2008-01-06 Matthias Clasen <mclasen@redhat.com>
356 * glocalfilemonitor.c:
357 * glocaldirectorymonitor.c: Mark property nicks and blurbs
360 2008-01-06 Matthias Clasen <mclasen@redhat.com>
362 * gdesktopappinfo.c: Fix a docs typo.
364 * gfileattribute.c: Add information about extended attributes
365 to the documentation. (#505058)
367 2008-01-04 Alexander Larsson <alexl@redhat.com>
371 Use the right type (uint) for the ask_password signal.
373 2008-01-04 Alexander Larsson <alexl@redhat.com>
378 Add g_app_info_supports_files()
379 Remove desktop arg from g_app_info_should_show().
381 * gdesktopappinfo.[ch]:
382 Implement g_app_info_supports_files() and new should_show()
383 Add g_desktop_app_info_set_desktop_env() to set the desktop
384 for should_show(). (This will be set by gtk+ later)
386 2008-01-04 Alexander Larsson <alexl@redhat.com>
389 * gmemoryinputstream.[ch]:
390 Improve API so that you can use multiple chunks
391 of memory and custom destroy functions. (#506374)
393 2008-01-03 Alexander Larsson <alexl@redhat.com>
396 Handle NULL attribute matchers safely, as we return this
397 for empty attribute matcher strings.
399 2008-01-03 Alexander Larsson <alexl@redhat.com>
401 * gunixmounts.c (g_unix_is_mount_path_system_internal):
402 Add /usr/local to list of internal mountpoints
404 2008-01-03 Alexander Larsson <alexl@redhat.com>
407 Check for HAVE_LCHOWN (#505887)
409 2008-01-03 Alexander Larsson <alexl@redhat.com>
413 Add define for selinux context attribute.
414 Fix missing : -> :: namespace separator change
415 Fix missing _ -> - name change for xattr-sys.
418 2008-01-03 Alexander Larsson <alexl@redhat.com>
421 Link to libglib and libgobject directly (#504879)
422 Patch from Sebastien Bacher
424 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
426 * gfile.c: Expanded the g_file_new_for_commandline_arg
427 description a bit, based on the code and the docs of the
428 other g_file_new_for_* functions.
430 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
432 * gfilemonitor.h: Fixed typo in docs.
434 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
436 Updates to GIO documentation. (#506395, Mikael Hermansson)
438 * gcontenttype.c: Describe memory management for return value of
439 g_content_types_get_registered(). Missing piece from #505815.
440 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
441 GVolume, GDrive, GMounts, which hopefully gives the user less
442 confusions when using this API. Following explainations from
443 Alexander Larsson on gtk-devel-list.
445 2007-12-30 Matthias Clasen <mclasen@redhat.com>
447 * gfileinfo.c: Expand the long description.
449 2007-12-30 Matthias Clasen <mclasen@redhat.com>
452 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
453 fix builds with --disable-visibility. (#500273, Christian Persch)
455 2007-12-30 Matthias Clasen <mclasen@redhat.com>
457 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
458 in the list of returned app infos.
460 2007-12-30 Matthias Clasen <mclasen@redhat.com>
462 * gappinfo.c: Fix a cross-reference
464 2007-12-30 Matthias Clasen <mclasen@redhat.com>
466 * gfileinputstream.c:
467 * gfileoutputstream.c:
473 * gfileinfo.c: Documentation updates.
475 2007-12-26 Matthias Clasen <mclasen@redhat.com>
477 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
480 2007-12-26 Matthias Clasen <mclasen@redhat.com>
482 * gcontenttype.c (g_content_types_get_registered): Don't return
483 freed memory (#505815, Mikael Hermansson)
485 2007-12-25 Paolo Borelli <pborelli@katamail.com>
487 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
488 used to detect statbuf->st_blocks. (#505042)
490 2007-12-24 Matthias Clasen <mclasen@redhat.com>
492 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
493 environment handling. (#504829, Cosimo Cecchi)
495 2007-12-22 Matthias Clasen <mclasen@redhat.com>
497 * gappinfo.c: Doc improvements
499 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
502 2007-12-20 Matthias Clasen <mclasen@redhat.com>
504 * === Released 2.15.0 ===
506 2007-12-20 Hans Breuer <hans@breuer.org>
508 * makefile.msc : don't build gdesktopappinfo.obj, it collides
509 with symbols gwin32appinfo.obj, added gmount.obj
510 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
512 2007-12-20 Alexander Larsson <alexl@redhat.com>
518 * gfilenamecompleter.c:
521 * gpollfilemonitor.c:
522 File attribute renames:
525 id::fs -> id::filesystem
527 2007-12-20 Alexander Larsson <alexl@redhat.com>
536 Add GMountUnmountFlags to all unmount and
538 Add g_mount_remount() call.
540 2007-12-20 Alexander Larsson <alexl@redhat.com>
542 * gvfs.c (get_default_vfs):
543 Fix unused variable warning
545 2007-12-19 Matthias Clasen <mclasen@redhat.com>
547 * pltcheck.sh: Update
549 2007-12-19 Matthias Clasen <mclasen@redhat.com>
551 * gunionvolumemonitor.c:
552 * gunixmount.c: Remove C99 comments
554 2007-12-19 Matthias Clasen <mclasen@redhat.com>
556 * gio.symbols: Add some missing symbols
558 2007-12-19 Alexander Larsson <alexl@redhat.com>
561 Make g_io_modules_load_all_in_directory not unuse
562 loaded modules so that users of it can do stuff
564 Init internal "module" types.
565 Initialize static prio and name for types so that
566 we don't have to load modules to get it.
568 * gnativevolumemonitor.h:
570 Move is_supported to parent class so that
571 non-native monitors can avoid being initialized
572 too. (For instance GDaemonVolumeMonitor if we're
573 not using GDaemonVfs.)
575 * glocaldirectorymonitor.[ch]:
576 * glocalfilemonitor.[ch]:
577 * gunionvolumemonitor.c:
578 * gunixvolumemonitor.c:
580 Find plugins using the static prio+name to
581 avoid unnecessarily loading the modules.
583 2007-12-19 Alexander Larsson <alexl@redhat.com>
588 2007-12-19 Alexander Larsson <alexl@redhat.com>
590 * gunionvolumemonitor.c:
591 Store the native type as GType, not class so that
592 we can unload it. But still avoid unnecessarily
595 2007-12-19 David Zeuthen <davidz@redhat.com>
597 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
598 add signals 'disconnected' and 'eject-button' on GDrive. Add
599 signal 'removed' on GVolume and 'unmounted' on GMount.
601 * gdrive.c: (g_drive_base_init):
603 * gfile.c: (g_file_mount_mountable),
604 (g_file_mount_enclosing_volume):
607 * gmount.c: (g_mount_base_init):
609 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
610 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
611 * gvolume.c: (g_volume_base_init), (g_volume_mount):
615 2007-12-17 Matthias Clasen <mclasen@redhat.com>
617 * *.c: Fix up includes in the section docs.
619 2007-12-17 Alexander Larsson <alexl@redhat.com>
621 * gnativevolumemonitor.h:
622 * gunionvolumemonitor.c:
623 * gunixvolumemonitor.c:
624 Add is_supported() to GNativeVolumeMonitorClass so
625 that we can avoid having to create an object to see
626 if the backend is supported at runtime.
627 Also add name member and an env var to pick a specific
628 volume monitor backend.
632 Add cancellable to _g_mount_get_for_mount_path()
634 * glocaldirectorymonitor.c:
635 * glocalfilemonitor.c:
636 Avoid loading and unloading modules while sorting.
638 2007-12-17 Matthias Clasen <mclasen@redhat.com>
641 * gunixmounts.[hc]: Namespace waste reduction, move some
642 g_get_unix_mount functions to the g_unix_mount namespace.
645 * gunixvolumemonitor.c:
647 * glocaldirectorymonitor.c: Update all callers.
649 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
651 2007-12-17 Alexander Larsson <alexl@redhat.com>
654 Add doc comments about what GFile operations are
655 guaranteed to not block.
657 2007-12-17 Alexander Larsson <alexl@redhat.com>
660 Add missing #ifdef fixing OSX build.
661 (#503334, patch from Richard Hult)
663 2007-12-14 David Zeuthen <davidz@redhat.com>
667 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
668 (g_mount_eject), (g_mount_eject_finish):
670 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
671 (get_volume_for_uuid), (get_mount_for_uuid),
672 (g_union_volume_monitor_class_init),
673 (get_default_native_type_with_exclude), (get_default_native_type),
674 (get_native_type), (update_native_type),
675 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
676 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
677 (g_unix_mount_can_eject), (eject_unmount_cb),
678 (eject_unmount_read_error), (eject_unmount_do),
679 (g_unix_mount_unmount), (g_unix_mount_eject),
680 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
681 * gunixmounts.c: (g_unix_mount_guess_can_eject),
682 (g_unix_mount_point_guess_can_eject):
684 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
685 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
686 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
687 (g_unix_volume_mount), (g_unix_volume_eject),
688 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
689 * gunixvolumemonitor.c: (get_volume_for_uuid),
690 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
692 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
693 (g_volume_eject), (g_volume_eject_finish):
695 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
696 (g_volume_monitor_get_mount_for_uuid):
699 Provide eject() on both GMount and GVolume and utility functions
700 to guess whether a GUnixMountPoint or GUnixMountEntry should be
701 ejected. Introduce the concept of UUID's and wire it into GVolume
702 and GMount and provide API on GVolumeMonitor to find such
703 instances. Also handle the case where an external
704 GNativeVolumeMonitor fails to initialize. Lock around the
705 _g_get_mount_for_mount_path() function such that volume monitor
706 implementations won't have to do locking themselves.
708 2007-12-17 Matthias Clasen <mclasen@redhat.com>
716 * gvolume.h: Documentation updates
718 2007-12-14 Matthias Clasen <mclasen@redhat.com>
721 * gfile.h: Doc updates
723 2007-12-14 Matthias Clasen <mclasen@redhat.com>
726 * gdesktopappinfo.c: Use hash table iterators.
728 2007-12-14 Alexander Larsson <alexl@redhat.com>
731 * gfileattribute.[ch]:
732 * gfileattribute-priv.h:
733 Move GFileAttributeValue to a private header, as
737 Make set_attribute take a type + a pointer instead
738 of a GFileAttributeValue.
741 Fix up for above changes.
742 Add g_file_info_get_attribute_data to get
743 all info in one call, g_file_info_get_attribute_status
744 to get the status and g_file_info_get_attribute_as_string.
748 * glocalfileinfo.[ch]:
752 Make _guess_type static.
754 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
757 * inotify/Makefile.am: Fixed build when srcdir != builddir,
758 made mkenums and friends use temporary files to avoid leaving
759 empty generated files on failure (#503470).
761 2007-12-14 Alexander Larsson <alexl@redhat.com>
766 2007-12-14 Alexander Larsson <alexl@redhat.com>
770 * gfileattribute.[ch]:
773 * glocalfileoutputstream.c:
774 * gmountoperation.[ch]:
775 * goutputstream.[ch]:
776 Clean up all flags enums to not have _FLAGS in them
777 Make the names of some of the enums better.
782 2007-12-14 Michael Natterer <mitch@imendio.com>
784 * gio.symbols: fix g_io_scheduler symbol names.
786 2007-12-14 Alexander Larsson <alexl@redhat.com>
792 * gbufferedinputstream.h:
793 * gbufferedoutputstream.h:
796 * gdatainputstream.h:
797 * gdataoutputstream.h:
799 * gdirectorymonitor.h:
806 * gfileinputstream.h:
808 * gfilenamecompleter.h:
809 * gfileoutputstream.h:
810 * gfilterinputstream.h:
811 * gfilteroutputstream.h:
819 * gmemoryinputstream.h:
820 * gmemoryoutputstream.h:
825 * gsimpleasyncresult.h:
827 * gunixinputstream.h:
829 * gunixoutputstream.h:
833 * inotify/Makefile.am:
834 Only allow including <gio/gio.h> from apps
836 2007-12-14 Alexander Larsson <alexl@redhat.com>
839 * gsimpleasyncresult.c:
840 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
841 Split out the send_to_mainloop call into two versions instead
842 of having the block argument.
844 2007-12-13 Alexander Larsson <alexl@redhat.com>
848 * gbufferedinputstream.c:
850 * gfileinputstream.c:
851 * gfileoutputstream.c:
855 g_push/pop_current_cancellable ->
856 g_cancellable_push/pop_current
858 2007-12-13 Alexander Larsson <alexl@redhat.com>
862 Rename g_mount_for_location to g_file_mount_enclosing_volume.
864 2007-12-13 Alexander Larsson <alexl@redhat.com>
867 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
869 2007-12-12 Alexander Larsson <alexl@redhat.com>
872 Fix race condition when freeing proxy in
873 g_io_job_send_to_mainloop().
875 2007-12-12 Alexander Larsson <alexl@redhat.com>
881 Make attribute namespace separator "::" instead of ":".
882 Use - instead of _ as separator in attribute names.
884 2007-12-12 Alexander Larsson <alexl@redhat.com>
886 * gbufferedinputstream.h:
887 * gbufferedoutputstream.h:
888 * gdatainputstream.h:
889 * gdataoutputstream.h:
890 * gdirectorymonitor.h:
892 * gfileinputstream.h:
894 * gfileoutputstream.h:
895 * gfilterinputstream.h:
896 * gfilteroutputstream.h:
898 * glocalfileinputstream.h:
899 * glocalfileoutputstream.h:
900 * gmemoryinputstream.h:
901 * gmemoryoutputstream.h:
902 * gnativevolumemonitor.h:
904 * gunixinputstream.h:
905 * gunixoutputstream.h:
908 s/parent/parent_instance/ in GObjects
910 2007-12-12 Alexander Larsson <alexl@redhat.com>
915 No need for padding for interfaces
917 2007-12-12 Alexander Larsson <alexl@redhat.com>
921 * gbufferedinputstream.c:
922 * gbufferedoutputstream.c:
925 * gdatainputstream.[ch]:
927 * gdirectorymonitor.c:
929 * gfileattribute.[ch]:
932 * gfileinputstream.h:
934 * gfileoutputstream.[ch]:
935 * gfilterinputstream.h:
936 * gfilteroutputstream.h:
939 * gloadableicon.[ch]:
940 * gmemoryinputstream.c:
943 Fix up a bunch of details in the docs.
948 2007-12-11 David Zeuthen <davidz@redhat.com>
950 Rework how volumes, drives and volume monitoring is
951 done. Previosly the model was
955 where a GDrive instance represented a mount point and a GVolume
956 instance represented a mounted file system. This patch changes it
959 GDrive <1-N> GVolume <1-1> GMount
961 where GMount now serves the purpose of the old GVolume and the new
962 GVolume serves the purpose of the old GDrive. In addition the new
963 GDrive interface is used to represent a collection of GVolume
964 instances (typically partitions) and also contains utility to query
965 the state of the physical drive the GDrive object represents (such
966 as checking for media, polling the drive, ejecting the media etc.).
968 Also implement mounting and unmounting in the Unix volume monitor
969 backend. A subquent patch will introduce GDrive support for ejection
973 * gdrive.c: (g_drive_is_media_check_automatic),
974 (g_drive_is_media_removable), (g_drive_has_media),
975 (g_drive_can_poll_for_media), (g_drive_eject),
976 (g_drive_eject_finish), (g_drive_poll_for_media),
977 (g_drive_poll_for_media_finish):
979 * gfile.c: (g_file_find_enclosing_mount):
982 * glocaldirectorymonitor.c:
983 (g_local_directory_monitor_constructor), (mounts_changed):
984 * glocalfile.c: (get_mount_info),
985 (g_local_file_find_enclosing_mount),
986 (g_local_file_file_iface_init):
987 * gnativevolumemonitor.h:
988 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
989 (get_connected_drives), (g_union_volume_monitor_class_init),
990 (child_volume_added), (child_volume_removed),
991 (child_volume_changed), (child_mount_added), (child_mount_removed),
992 (child_mount_pre_unmount), (child_mount_changed),
993 (child_drive_changed), (g_union_volume_monitor_add_monitor),
994 (g_union_volume_monitor_remove_monitor),
995 (_g_mount_get_for_mount_path):
996 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
997 (guess_system_internal), (_g_get_unix_mounts),
998 (_g_get_unix_mount_points), (g_get_unix_mount_at),
999 (g_unix_mount_free), (g_unix_mount_compare),
1000 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1001 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1002 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1003 (type_to_icon), (g_unix_mount_guess_name),
1004 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1005 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1006 (_resolve_symlink), (_resolve_dev_root):
1008 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1009 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1010 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1011 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1012 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1013 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1014 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1015 (g_unix_volume_volume_iface_init):
1017 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1018 (get_mounts), (get_volumes), (get_connected_drives),
1019 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1020 (mountpoints_changed), (mounts_changed),
1021 (g_unix_volume_monitor_init),
1022 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1023 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1024 * gunixvolumemonitor.h:
1025 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1026 (g_volume_mount), (g_volume_mount_finish):
1028 * gvolumemonitor.c: (g_volume_monitor_class_init),
1029 (g_volume_monitor_get_connected_drives),
1030 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1033 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1035 * gmountoperation.h (GPasswordFlags): Close the gap
1037 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1039 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1041 * gdesktopappinfo.[hc]: Remove _-prefixes
1043 2007-12-10 Tor Lillqvist <tml@novell.com>
1045 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1048 2007-12-10 Alexander Larsson <alexl@redhat.com>
1050 * gfile.c (g_file_set_display_name):
1051 Don't hardcode '/' (#502727)
1053 2007-12-09 Hans Breuer <hans@breuer.org>
1055 * makefile.msc : follow lib naming convention
1056 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1057 for user and group name, tested with ../tests/gio-ls
1059 2007-12-09 A. Walton <awalton@svn.gnome.org>
1061 * gdesktopappinfo.c:
1067 * gfileenumerator.c:
1072 * gmemoryinputstream.c:
1073 * gmemoryoutputstream.c:
1075 * gsimpleasyncresult.c:
1076 More documentation cleanup and filling in missing information, bringing
1077 GIO to 99% symbol coverage.
1079 2007-12-08 Hans Breuer <hans@breuer.org>
1081 [gio compiles and links on win32, not sure how much already works]
1082 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1083 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1084 base on win32 API; prefer g_lstat() over lstat(); instead of
1085 localtime_r() use an all GLib implementation on win32;
1086 get_mount_info() still needs a win32 specifc implementation
1087 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1088 win32_get_file_user_info to get owner/group info without uid/gid
1089 * glocalfileinputstream.c : include <io.h> on win32
1090 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1091 definition, use g_win32_ftruncate() for G_OS_WIN32
1092 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1093 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1094 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1095 * makefile.msc : updated
1097 2007-12-07 Alexander Larsson <alexl@redhat.com>
1099 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1100 Avoid warning spew if error == NULL
1102 2007-12-07 Alexander Larsson <alexl@redhat.com>
1105 Update docs wrt etags
1107 2007-12-06 Alexander Larsson <alexl@redhat.com>
1110 Include sys/types.h for dev_t (#501919)
1112 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1116 Make abicheck and pltcheck pass.
1118 2007-12-05 Alexander Larsson <alexl@redhat.com>
1121 * giomodule-priv.h: Added.
1122 * glocaldirectorymonitor.c:
1123 * glocalfilemonitor.c:
1124 * gunionvolumemonitor.c:
1126 Actually add the declaration of _g_io_modules_ensure_loaded
1128 2007-12-05 Alexander Larsson <alexl@redhat.com>
1130 * gdatainputstream.c:
1135 * glocaldirectorymonitor.c:
1136 * glocalfilemonitor.c:
1137 * gunionvolumemonitor.c:
1139 Make g_io_modules_ensure_loaded a private function and
1140 don't pass in the dirname. This means we can do magic
1141 directory finding in the win32 version.
1142 Export the actual load-modules-in-directory code so that
1143 gvfs can reuse that.
1145 2007-12-05 Alexander Larsson <alexl@redhat.com>
1147 * gbufferedinputstream.c:
1148 * gbufferedoutputstream.c:
1151 * gfileenumerator.[ch]:
1152 * gfileinputstream.c:
1153 * gfileoutputstream.[ch]:
1154 * gfilterinputstream.c:
1155 * gfilteroutputstream.c:
1156 * ginputstream.[ch]:
1158 * glocalfileenumerator.c:
1159 * glocalfileinputstream.c:
1160 * glocalfileoutputstream.c:
1161 * gmemoryinputstream.c:
1162 * gmemoryoutputstream.c:
1163 * goutputstream.[ch]:
1166 * gunixinputstream.c:
1167 * gunixoutputstream.c:
1168 Rename all struct members named:
1169 read, write, close, truncate, or mount
1170 to foo_fn, as these are reserved names
1171 and could be defined as macros in libc.
1174 2007-12-04 Alexander Larsson <alexl@redhat.com>
1177 (g_output_stream_close):
1178 Only call flush if non-null.
1180 2007-11-30 Dan Winship <danw@gnome.org>
1182 * ginputstream.c (g_input_stream_set_pending): Make this take a
1183 GError and return a gboolean, and do the "outstanding operation"
1184 check (and the "stream is already closed" check) itself.
1185 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1187 * goutputstream.c (g_output_stream_set_pending)
1188 (g_output_stream_clear_pending): Likewise
1190 * gbufferedinputstream.c:
1191 * gfileinputstream.c:
1192 * gfileoutputstream.c: Update for that
1194 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1195 Like g_simple_async_report_error_in_idle, but takes a GError
1196 rather than building one.
1198 2007-11-30 Dan Winship <danw@gnome.org>
1200 * goutputstream.c: Don't cheat and unset the "pending" flag around
1201 inner calls. Instead, call the class method directly rather than
1202 the wrapper function that checks "pending"
1204 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1206 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1208 2007-12-03 Hans Breuer <hans@breuer.org>
1210 [start of port to win32/msvc]
1211 * gcancellable.c : HAVE_UNIST_H and _pipe()
1212 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1213 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1214 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1216 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1217 * glocalvfs.c : use HAVE_PWD_H
1218 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1219 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1220 * Makefile.am : added to EXTRA_DIST
1222 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1224 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1227 2007-12-03 Alexander Larsson <alexl@redhat.com>
1230 Handle OSX style xattrs API (#500506)
1232 2007-12-03 Alexander Larsson <alexl@redhat.com>
1236 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1238 2007-12-02 A. Walton <awalton@svn.gnome.org>
1242 Documentation accuracy fixes.
1244 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1246 * gioenumtypes.c.template: Fix typo.
1248 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1250 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1252 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1254 * gdirectorymonitor.c:
1255 * gfilemonitor.c: Add properties
1257 * gbufferedoutputstream.c: Don't mark buffer-size property
1260 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1262 * gbufferedoutputstream.c: Add auto-grow property.
1264 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1266 * *.c: Unify the capitalization of section headings.
1268 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1270 * gmountoperation.c: Add properties
1272 * gdatainputstream.c: Turn byte-order and newline-type into
1275 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1277 * gioenumtypes.[hc].template: Templates for enum registration
1279 * Makefile.am: Generate gioenumtypes.[hc]
1281 * gio.h: Include gioenumtypes.h
1283 * gfile.h: Add some explicit nicks.
1285 * gio.symbols: Add new symbols
1287 * pltcheck.sh: Adjust
1289 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1291 * *.c: Explain etags and link to the explanation
1293 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1295 * *.c: Explain I/O priority.
1297 * *.c: More coding style fixes.
1299 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1301 * gasyncresult.c: Add another paragraph to the intro,
1302 adjust coding style of example.
1304 2007-11-29 A. Walton <awalton@svn.gnome.org>
1307 Fixes unknown meaning in GAppLaunchContext docs.
1309 Clarify asynchronous ops.
1311 Fix entity tag docs.
1314 Provides missing gtk-doc section, fixes API docs slighly.
1315 * gsimpleasyncresult.c:
1316 Fill in missing info in docs.
1317 * gunixinputstream.c:
1318 * gunixoutputstream.c:
1319 Be more expressive in short description.
1321 Remove gtk-doc stubs for non-public API.
1323 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1325 * *.c: Coding style fixups
1327 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1329 * inotify/inotify-helper.c: Don't export the lock from libgio.
1331 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1334 * abicheck.sh: Fix copy-and-paste leftovers
1336 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1338 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1340 2007-11-28 Alexander Larsson <alexl@redhat.com>
1344 Removed unnecessary file
1346 * gdesktopappinfo.[ch]:
1349 * glocaldirectorymonitor.[ch]:
1351 * glocalfileenumerator.[ch]:
1352 * glocalfileinputstream.[ch]:
1353 * glocalfilemonitor.[ch]:
1354 * glocalfileoutputstream.[ch]:
1356 * gnativevolumemonitor.c:
1357 * gpollfilemonitor.[ch]:
1358 * gunionvolumemonitor.[ch]:
1361 * gunixvolumemonitor.[ch]:
1364 * inotify/ginotifydirectorymonitor.[ch]:
1365 * inotify/ginotifyfilemonitor.[ch]:
1366 * inotify/inotify-helper.c:
1367 Append _ to all internal functions
1371 Export symbols needed for modules
1373 2007-11-28 Alexander Larsson <alexl@redhat.com>
1376 * abicheck.sh: Added.
1377 * makegioalias.pl: Added.
1378 * pltcheck.sh: Added.
1379 * gio.symbols: Added.
1382 Initial work on adding symbol handling.
1385 Correct ifdef guard name
1388 * inotify/Makefile.am:
1389 * xdgmime/Makefile.am:
1390 Include toplevel Makefile.decl
1392 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1394 * gcontenttype.c: Move doc comments to the unix section.
1396 * *.[hc]: More trivial doc corrections.
1398 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1400 * gpollfilemonitor.c:
1404 * gdesktopappinfo.c:
1409 * gdatainputstream.c:
1410 * gdatainputstream.h:
1411 * gdataoutputstream.c:
1412 * gdataoutputstream.h:
1413 * gfileinfo.h: Doc cleanups
1415 2007-11-28 Andre Klapper <a9016009@gmx.de>
1417 * gdesktopappinfo.c: Fix a typo.
1419 2007-11-27 Andre Klapper <a9016009@gmx.de>
1421 * glocalfileoutputstream.c: Fix a typo.
1423 2007-11-27 Alexander Larsson <alexl@redhat.com>
1426 Don't include removed headers
1428 2007-11-27 Alexander Larsson <alexl@redhat.com>
1431 * gsocketinputstream.[ch]: Removed.
1432 * gsocketoutputstream.[ch]: Removed.
1433 * gunixinputstream.[ch]: Added.
1434 * gunixoutputstream.[ch]: Added.
1435 Renamed GSocket*Stream to GUnix*Stream and made
1436 it unix-only, since its not really only for sockets
1437 and it only works on unix (but is highly useful there).
1439 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1445 * gbufferedinputstream.c:
1446 * gbufferedinputstream.h:
1447 * gbufferedoutputstream.c:
1448 * gbufferedoutputstream.h:
1452 * gdatainputstream.c:
1453 * gdatainputstream.h:
1454 * gdataoutputstream.c:
1455 * gdataoutputstream.h:
1456 * gdirectorymonitor.c:
1457 * gdirectorymonitor.h:
1464 * gfileenumerator.c:
1465 * gfileenumerator.h:
1470 * gfileinputstream.c:
1471 * gfileinputstream.h:
1474 * gfilenamecompleter.c:
1475 * gfilenamecompleter.h:
1476 * gfileoutputstream.c:
1477 * gfileoutputstream.h:
1478 * gfilterinputstream.c:
1479 * gfilterinputstream.h:
1480 * gfilteroutputstream.c:
1481 * gfilteroutputstream.h:
1494 * glocalfileoutputstream.c:
1495 * gmemoryinputstream.c:
1496 * gmemoryinputstream.h:
1497 * gmemoryoutputstream.c:
1498 * gmemoryoutputstream.h:
1499 * gmountoperation.c:
1500 * gmountoperation.h:
1503 * gpollfilemonitor.c:
1506 * gsimpleasyncresult.c:
1507 * gsimpleasyncresult.h:
1508 * gsocketinputstream.c:
1509 * gsocketinputstream.h:
1510 * gsocketoutputstream.c:
1511 * gsocketoutputstream.h:
1518 * gunixvolumemonitor.c:
1527 Bumps documentation to 93% symbol coverage, touching most
1528 of the public files. Fixes broken function documentation prototypes.
1529 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1530 gtk-doc headers in private files.
1532 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1534 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1535 (g_buffered_input_stream_read_byte):
1536 * gbufferedinputstream.h:
1537 New functions for efficient access to buffer and simple single byte
1540 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1541 (g_data_input_stream_read_until):
1542 * gdatainputstream.h:
1543 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1544 read_until with multiple stop chars.
1546 2007-11-27 Alexander Larsson <alexl@redhat.com>
1550 * inotify/Makefile.am:
1551 Use the user-specified giomoduledir
1553 2007-11-27 Alexander Larsson <alexl@redhat.com>
1557 Add catch-all gio.h header
1558 Don't install gdummyfile.h
1560 2007-11-26 Alexander Larsson <alexl@redhat.com>
1562 * Makefile.am (gioinclude_HEADERS):
1563 Remove trailing whitespace
1565 2007-11-26 Alexander Larsson <alexl@redhat.com>
1567 Merge gio-standalone into glib
1569 2007-11-25 Christian Kellner <gicmo@gnome.org>
1571 * gio/goutputstream.c:
1572 Fix small mistake in the docs.
1574 2007-11-21 Christian Persch <chpe@gnome.org>
1576 * gio/glocalfile.c: (g_local_file_trash):
1577 Convert filenames to UTF-8 for GError.
1578 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1579 as per xdg base dir spec.
1581 2007-11-21 Christian Persch <chpe@gnome.org>
1583 * gio/gdesktopappinfo.c:
1584 Use that g_key_file_to_data cannot fail.
1586 Use stock defines for the key file group and key names.
1589 2007-11-21 Alexander Larsson <alexl@redhat.com>
1592 (copy_stream_with_progress):
1593 Make sure we do a final progress callback with
1594 the full total size.
1596 2007-11-21 Alexander Larsson <alexl@redhat.com>
1599 Export g_file_copy_attributes
1600 Remove padding as its not needed for interfaces
1602 2007-11-20 Alexander Larsson <alexl@redhat.com>
1607 Add G_IO_ERROR_WOULD_MERGE for
1608 copy/move dir on dir with overwrite.
1610 2007-11-20 Alexander Larsson <alexl@redhat.com>
1613 * gio/glocalfileinfo.c:
1614 Add COPY_NAME (this is an optional
1615 non-modified utf8 version of the name) that
1618 2007-11-20 Alexander Larsson <alexl@redhat.com>
1620 * gio/glocalfileenumerator.c:
1621 Report errors as GIOError, not GFileError
1623 2007-11-16 Alexander Larsson <alexl@redhat.com>
1625 * gio/glocalfileoutputstream.c:
1626 * gio/gwin32appinfo.c:
1627 Fix typos in strings.
1628 Patch from Luca Ferretti <elle.uca@libero.it>
1630 2007-11-15 Alexander Larsson <alexl@redhat.com>
1633 Post release version bump
1635 === gio-standalone 0.1.2 ===
1637 2007-11-15 Alexander Larsson <alexl@redhat.com>
1639 * docs/reference/gio/Makefile.am:
1640 Fix up distcheck by removing weird
1646 2007-11-14 Alexander Larsson <alexl@redhat.com>
1648 * gio/gdesktopappinfo.c:
1649 * gio/glocaldirectorymonitor.c:
1651 * gio/glocalfileinfo.c:
1652 * gio/inotify/inotify-sub.c:
1653 * programs/gio-cat.c:
1654 * programs/gio-copy.c:
1655 * programs/gio-info.c:
1656 * programs/gio-ls.c:
1657 * programs/gio-monitor-dir.c:
1658 * programs/gio-monitor-file.c:
1659 * programs/gio-mount.c:
1660 * programs/gio-move.c:
1661 * programs/gio-rm.c:
1662 * programs/gio-save.c:
1663 * programs/gio-trash.c:
1664 Leak fixes from Kjartan Maraas
1666 2007-11-14 Alexander Larsson <alexl@redhat.com>
1668 * gio/fam/fam-helper.c:
1670 * gio/glocalfileinfo.c:
1674 * gio/inotify/inotify-diag.c:
1675 * gio/inotify/inotify-kernel.c:
1676 Various code cleanups from Kjartan Maraas
1678 2007-11-14 Alexander Larsson <alexl@redhat.com>
1680 * gio/gioscheduler.c:
1682 Set up threadpool so that we cache 2 unused
1683 idle threads for at 15 secs. This means we
1684 will reuse thread-local data (like dbus connections)
1687 2007-11-14 Alexander Larsson <alexl@redhat.com>
1689 * gio/fam/fam-helper.c:
1690 * gio/fam/gfamdirectorymonitor.c:
1691 * gio/fam/gfamfilemonitor.c:
1693 * gio/gcontenttype.c:
1694 * gio/gdatainputstream.c:
1695 * gio/gdataoutputstream.c:
1699 * gio/gfileattribute.h:
1700 * gio/gfileenumerator.c:
1702 * gio/ginputstream.c:
1705 * gio/glocalfileinfo.c:
1706 * gio/goutputstream.c:
1707 * gio/gpollfilemonitor.c:
1708 * gio/gsimpleasyncresult.c:
1709 * gio/gunixmounts.c:
1710 * gio/gunixmounts.h:
1711 * gio/inotify/ginotifydirectorymonitor.c:
1712 * gio/inotify/ginotifyfilemonitor.c:
1713 * gio/inotify/inotify-diag.c:
1714 * gio/inotify/inotify-kernel.c:
1715 * gio/inotify/inotify-path.c:
1717 * gio/test-streams.c:
1718 * programs/gio-info.c:
1719 * programs/gio-monitor-dir.c:
1720 * programs/gio-monitor-file.c:
1721 Various code cleanups from Kjartan Maraas
1723 2007-11-13 Alexander Larsson <alexl@redhat.com>
1726 Handle the uri-scheme calls for dummy files
1728 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1730 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1731 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1732 to avoid clash with the C++ keyword.
1734 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1736 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1737 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1739 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1741 * gio/glocaldirectorymonitor.c:
1742 * gio/glocalfilemonitor.c:
1743 * gio/gunionvolumemonitor.c:
1744 Don't use g_once_init_*() for initializations that could fail and
1745 could leave the initialization variable set to 0 but use GOnce.
1746 This prevents a deadlock on the second call when trying to create
1747 a monitor and no monitor type is available. Thanks to Sven Herzberg
1750 2007-11-11 Sven Herzberg <sven@imendio.com>
1752 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1753 #ifdef (make it work on MacOS X again)
1755 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1757 Fixes Changelog for last two commits (sorry guys).
1759 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1761 * gio/gbufferedinputstream.c:
1762 * gio/gdatainputstream.c:
1764 * gio/gfileoutputstream.c:
1765 * gio/gfilterinputstream.c:
1766 * gio/glocalfileinputstream.c:
1769 More consistency fixes in g*stream.c files.
1770 Significant clean of gfile's documentation, filling in of
1771 asynchronous operations documentation.
1773 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1775 * gio/gasyncresult.c:
1776 * gio/gbufferedinputstream.c:
1777 * gio/gbufferedoutputstream.c:
1778 * gio/gcancellable.c:
1779 * gio/gcontenttype.c:
1780 * gio/gdatainputstream.c:
1781 * gio/gdataoutputstream.c:
1782 * gio/gdesktopappinfo.c:
1785 * gio/gfileattribute.c:
1786 * gio/gio/gfileenumerator.c:
1788 * gio/gfileinputstream.c:
1789 * gio/gfilemonitor.c:
1790 * gio/gfileoutputstream.c:
1791 * gio/ginputstream.c:
1793 * gio/gioscheduler.c:
1794 * gio/gloadableicon.c:
1795 * gio/glocalfileoutputstream.c:
1796 * gio/gmemoryoutputstream.c:
1797 * gio/gmountoperation.c:
1798 * gio/goutputstream.c:
1800 * gio/gsimpleasyncresult.c:
1801 * gio/gunionvolumemonitor.c:
1802 * gio/gunixmounts.c:
1803 * gio/gunixvolume.c:
1807 * gio/gvolumemonitor.c:
1808 Updated documentation stubs, working towards consistency and
1811 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1813 * gio/gmemoryoutputstream.c:
1814 * gio/gmemoryoutputstream.h:
1815 Change g_memory_output_stream_set_free_on_close() to
1816 g_memory_output_stream_set_free_data() as this makes more sense and
1817 is more consistent with GMemoryInputStream.
1819 2007-11-07 Alexander Larsson <alexl@redhat.com>
1826 Change how we find the default vfs so that
1827 we can handle a gvfs failing to init
1829 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1831 * gio/gbufferedoutputstream.c:
1832 * gio/gdatainputstream.c:
1833 * gio/gdataoutputstream.c:
1834 * gio/gfileinputstream.c:
1835 * gio/gfileoutputstream.c:
1836 * gio/gfilterinputstream.c:
1837 * gio/gfilteroutputstream.c:
1838 * gio/ginputstream.c:
1839 * gio/gmemoryinputstream.c:
1840 * gio/gmemoryoutputstream.c:
1841 * gio/goutputstream.c:
1842 * gio/gsimpleasyncresult.c:
1843 * gio/gsocketinputstream.c:
1844 * gio/gsocketoutputstream.c:
1845 Add guards to the remaining public functions, add a TODO for
1846 an unimplemented function and remove some useless guards.
1848 2007-11-07 Alexander Larsson <alexl@redhat.com>
1851 Autoconf checks for the various types of
1852 getpwuid_r and getgrgid_r
1854 * gio/glocalfileinfo.c:
1855 Use the autoconf checks from above
1857 2007-11-07 Alexander Larsson <alexl@redhat.com>
1860 (g_local_file_query_filesystem_info):
1861 Some fixes for the statvfs case
1863 2007-11-07 Alexander Larsson <alexl@redhat.com>
1866 (g_local_file_query_filesystem_info):
1867 Pick the "best" of statfs / statvfs for the system
1868 if both are availible.
1870 2007-11-07 Alexander Larsson <alexl@redhat.com>
1872 Solaris fixes from Halton.Huo@Sun.COM:
1879 * gio/glocalfileinfo.c:
1880 Fix for solaris definition of getpwuid_r
1882 * gio/test-streams.c:
1883 Use G_GNUC_PRETTY_FUNCTION
1885 2007-11-07 Alexander Larsson <alexl@redhat.com>
1887 * gio/gdesktopappinfo.c:
1888 (update_default_list):
1889 Remove double semicolon.
1890 Patch from Jens Granseuer
1892 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1894 * docs/reference/gio/gio-sections.txt:
1895 * gio/gbufferedinputstream.c:
1896 * gio/gbufferedinputstream.h:
1897 * gio/gdatainputstream.c:
1898 * gio/gfileenumerator.c:
1899 * gio/gioscheduler.c:
1900 * gio/gunionvolumemonitor.c:
1902 * programs/gio-save.c:
1903 Fix typo: availible -> available. Unfortuntely this breaks API
1904 and ABI as g_buffered_input_stream_get_available() was renamed.
1906 * gio/gunixmounts.c:
1907 * gio/gbufferedinputstream.c:
1908 Add guards for public functions.
1910 2007-11-06 Ross Burton <ross@openedhand.com>
1912 * docs/reference/gio/Makefile.am:
1913 Fix invalid += usage which automake 1.10 doesn't like.
1915 2007-11-06 Alexander Larsson <alexl@redhat.com>
1918 (g_app_launch_context_class_init):
1921 Patch from Ross Burton
1923 2007-11-06 Alexander Larsson <alexl@redhat.com>
1926 Post release version bump
1928 === gio-standalone 0.1.1 ===
1930 2007-11-06 Alexander Larsson <alexl@redhat.com>
1933 Bump version to 0.1.1
1935 * gio/gsimpleasyncresult.c:
1936 (g_simple_async_result_set_from_error):
1937 Remove bogus g_return_if_fail
1939 2007-11-06 Alexander Larsson <alexl@redhat.com>
1942 The name is gio-standalone
1945 Add top src/builddir to includedir
1947 2007-11-06 Alexander Larsson <alexl@redhat.com>
1949 * docs/reference/gio/gio-sections.txt:
1951 * gio/gbufferedinputstream.c:
1952 * gio/gbufferedoutputstream.c:
1953 * gio/gcancellable.c:
1954 * gio/gdatainputstream.h:
1955 * gio/gdataoutputstream.c:
1956 * gio/gdataoutputstream.h:
1957 * gio/gdirectorymonitor.c:
1959 * gio/gfileattribute.c:
1960 * gio/gfileattribute.h:
1961 * gio/gfileenumerator.c:
1962 * gio/gfileenumerator.h:
1965 * gio/gfileinputstream.h:
1966 * gio/gfilemonitor.c:
1967 * gio/gfileoutputstream.h:
1968 * gio/glocalfilemonitor.h:
1969 * gio/glocalfileoutputstream.h:
1970 * gio/gmemoryinputstream.c:
1971 * gio/gmemoryoutputstream.c:
1972 * gio/gmountoperation.c:
1973 * gio/goutputstream.c:
1974 * gio/goutputstream.h:
1976 * gio/gsimpleasyncresult.c:
1977 * gio/gunixmounts.c:
1978 * gio/gunixmounts.h:
1980 * gio/inotify/inotify-helper.c:
1981 Fix gtk-doc warnings
1983 Patch from Ross Burton
1985 2007-11-06 Alexander Larsson <alexl@redhat.com>
1987 * gio/gfilenamecompleter.c:
1988 (g_filename_completer_get_completions):
1991 * gio/gunixvolume.c:
1992 Remove unused function
1994 Patches from Ross Burton
1996 2007-11-06 Alexander Larsson <alexl@redhat.com>
2001 Padding not needed for interfaces
2003 2007-11-06 Alexander Larsson <alexl@redhat.com>
2005 * gio/gfilemonitor.c:
2009 Make giotypes.h an internal file
2012 * gio/gbufferedinputstream.h:
2013 * gio/gbufferedoutputstream.h:
2014 * gio/gcancellable.h:
2015 * gio/gdatainputstream.h:
2016 * gio/gdataoutputstream.h:
2017 * gio/gdirectorymonitor.c:
2018 * gio/gdirectorymonitor.h:
2023 * gio/gfileattribute.h:
2024 * gio/gfileenumerator.h:
2029 * gio/gfilemonitor.c:
2030 * gio/gfilemonitor.h:
2031 * gio/gfilenamecompleter.c:
2032 * gio/gfilenamecompleter.h:
2033 * gio/gfilterinputstream.h:
2034 * gio/gfilteroutputstream.h:
2035 * gio/ginputstream.h:
2036 * gio/gmemoryinputstream.h:
2037 * gio/gmemoryoutputstream.h:
2038 * gio/gmountoperation.c:
2039 * gio/gmountoperation.h:
2040 * gio/gnativevolumemonitor.c:
2041 * gio/goutputstream.h:
2044 * gio/gsimpleasyncresult.c:
2045 * gio/gsimpleasyncresult.h:
2046 * gio/gsocketinputstream.h:
2047 * gio/gsocketoutputstream.h:
2048 * gio/gthemedicon.c:
2049 * gio/gthemedicon.h:
2053 * gio/gvolumemonitor.c:
2054 * gio/gvolumemonitor.h:
2055 Add padding in classes where it seems useful
2056 Don't include giotypes.h from public headers
2057 Move in Class definitions into c file where possible
2062 2007-11-06 Alexander Larsson <alexl@redhat.com>
2064 * docs/reference/gio/gio-docs.xml:
2065 Better structure for API docs
2067 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2070 * gio/gloadableicon.c:
2071 * gio/gsimpleasyncresult.c:
2072 * gio/gthemedicon.c:
2073 Add some more guards to public functions. Only files missing are now
2076 2007-11-06 Alexander Larsson <alexl@redhat.com>
2078 * docs/reference/gio/gio-docs.xml:
2079 Remove old files, add missing ones
2081 2007-11-06 Alexander Larsson <alexl@redhat.com>
2083 * docs/reference/gio/gio-sections.txt:
2086 Hide implementation classes
2088 * gio/gdriveprivate.h:
2089 * gio/gvolumeprivate.h:
2090 Remove non-existing function declarations
2092 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2095 Fix compilation warnings and add guards to the new functions.
2097 * gio/gasyncresult.c:
2099 Add guards to the public functions.
2102 Implement get_path().
2104 2007-11-06 Alexander Larsson <alexl@redhat.com>
2106 * gio/gfilenamecompleter.c:
2107 Make g_filename_completer_get_completions
2108 return char ** instead of GList for
2111 * docs/reference/gio/gio-docs.xml:
2112 * docs/reference/gio/gio-sections.txt:
2114 * gio/gasyncresult.c:
2115 * gio/gbufferedinputstream.c:
2116 * gio/gbufferedoutputstream.c:
2117 * gio/gcancellable.c:
2118 * gio/gcontenttype.c:
2119 * gio/gdatainputstream.c:
2120 * gio/gdataoutputstream.c:
2121 * gio/gdesktopappinfo.c:
2122 * gio/gdirectorymonitor.c:
2126 * gio/gfileattribute.c:
2127 * gio/gfileenumerator.c:
2130 * gio/gfileinputstream.c:
2131 * gio/gfilemonitor.c:
2132 * gio/gfilenamecompleter.c:
2133 * gio/gfilenamecompleter.h:
2134 * gio/gfileoutputstream.c:
2135 * gio/gfilterinputstream.c:
2137 * gio/ginputstream.c:
2139 * gio/gioscheduler.c:
2140 * gio/gloadableicon.c:
2141 * gio/glocaldirectorymonitor.c:
2143 * gio/glocalfileinputstream.c:
2144 * gio/glocalfilemonitor.c:
2145 * gio/glocalfileoutputstream.c:
2147 * gio/gmemoryinputstream.c:
2148 * gio/gmemoryoutputstream.c:
2149 * gio/gmountoperation.c:
2150 * gio/goutputstream.c:
2151 * gio/gpollfilemonitor.c:
2153 * gio/gsimpleasyncresult.c:
2154 * gio/gsocketinputstream.c:
2155 * gio/gsocketoutputstream.c:
2156 * gio/gthemedicon.c:
2157 * gio/gunionvolumemonitor.c:
2159 * gio/gunixmounts.c:
2160 * gio/gunixvolume.c:
2161 * gio/gunixvolumemonitor.c:
2165 * gio/gvolumemonitor.c:
2166 * gio/gwin32appinfo.c:
2167 Add (mostly stub) doc strings to public functions.
2168 Patch from Andrew Walton (awalton@gmail.com)
2170 2007-11-06 Alexander Larsson <alexl@redhat.com>
2172 * gio/gappinfo.[ch]:
2173 Added GAppLaunchContext object and pass that to launch.
2174 This allows simple implementation of both
2175 launch-on-screen and startup notification via a gtk+
2176 subclass of GAppLaunchContext
2178 * gio/gdesktopappinfo.c:
2179 Implement GAppLaunchContext API
2181 * gio/gwin32appinfo.c:
2184 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2186 * gio/gmountoperation.c:
2187 Add some guards to GMountOperation's public functions.
2189 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2193 * gio/gcancellable.c:
2194 * gio/gdirectorymonitor.c:
2196 * gio/gfileenumerator.c:
2197 * gio/gfilemonitor.c:,
2198 * gio/gfilenamecompleter.c:
2201 * gio/gioscheduler.c:
2205 * gio/gvolumemonitor.c:
2206 Add even more guards to various public functions.
2208 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2211 Add guards to the public functions of GAppInfo.
2213 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2215 * gio/gcontenttype.c:
2216 Add some more guards for public functions.
2218 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2220 * gio/fam/fam-module.c:
2221 * gio/fam/gfamdirectorymonitor.c:
2222 * gio/fam/gfamdirectorymonitor.h:
2223 * gio/fam/gfamfilemonitor.c:
2224 * gio/fam/gfamfilemonitor.h:
2225 * gio/inotify/ginotifydirectorymonitor.c:
2226 * gio/inotify/ginotifydirectorymonitor.h:
2227 * gio/inotify/ginotifyfilemonitor.c:
2228 * gio/inotify/ginotifyfilemonitor.h:
2229 Add proper copyright information and remove an unused variable
2230 in the GInotifyFileMonitor constructor.
2232 * gio/gcancellable.c:
2233 Add a guard for a public function and an assertion to prevent
2234 an undefined program state.
2236 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2238 * gio/gfileattribute.c:
2239 Don't run into an assertion if the given attribute value is NULL
2240 in g_file_attribute_value_get_*() but instead return a fallback
2241 value that makes sense in most situations. Passing them a attribute
2242 value with the wrong type will still run into an assertion.
2244 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2246 * gio/gfileattribute.c:
2248 Add even more guards to the public functions. Also fix the refcounting
2249 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2250 let g_file_info_list_attributes() filter the attributes by namespace
2251 instead of simply ignoring the namespace parameter.
2253 2007-11-03 Sven Herzberg <sven@imendio.com>
2255 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2256 (This makes gio work on MacOS X again)
2258 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2261 Build the gio subdirectory before the docs. Otherwise the build will
2264 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2265 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2266 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2267 Add guards to the public functions.
2269 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2271 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2272 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2273 to prevent a compiler warning.
2275 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2276 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2277 return something in the non-void function find_topdir_for().
2279 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2286 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2288 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2289 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2290 * gwin32appinfo.c (g_win32_app_info_launch):
2291 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2292 envp_for_startup_id, g_desktop_app_info_launch,
2293 g_desktop_app_info_launch_uris):
2295 Give an opaque 'startup_id' string instead of 'envp'.
2296 Support empty file lists for launching new windows.
2297 Fix infinite recursion bug when launching URIs.
2299 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2302 Add guard to the new g_file_get_uri_scheme() function.
2304 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2307 Convert a g_return_val_if_fail() to setting the GError instead as
2308 otherwise applications have to verify the parameter before otherwise
2309 and the parameter might come directly from the user.
2311 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2313 * gio/inotify/ginotify*.[ch]:
2314 Add missing copyright information.
2316 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2319 Add guards in the beginning of public functions to check for valid
2320 parameters and fix a bug in copy_stream_with_progress() that could've
2321 caused writing less bytes than reading.
2322 * gio/glocalfileinfo.c:
2323 Check for a NULL parameter and set the GError accordingly then.
2324 * gio/goutputstream.c:
2325 Fix the same bug as in gfile.c that could've caused writing less bytes
2326 than reading in g_output_stream_real_splice().
2328 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2331 Use the correct gvolumeprivate.h naming
2333 2007-11-01 Christian Kellner <gicmo@gnome.org>
2336 Remove leftover "$(daemon_sources)" entry.
2338 2007-11-01 Christian Kellner <gicmo@gnome.org>
2343 Add copyright information to source files.
2345 2007-11-01 Alexander Larsson <alexl@redhat.com>
2349 Add g_file_get_uri_scheme
2351 2007-11-01 Alexander Larsson <alexl@redhat.com>
2354 * gio/gdesktopappinfo.c:
2355 * gio/gwin32appinfo.c:
2356 Add g_app_info_get_default_for_uri_scheme.
2358 2007-11-01 Alexander Larsson <alexl@redhat.com>
2361 Correct filename for gdriveprivate.h
2363 2007-10-31 Alexander Larsson <alexl@redhat.com>
2366 Rename id:value to id:file
2369 * gio/glocalfileinfo.c:
2372 2007-10-31 Alexander Larsson <alexl@redhat.com>
2374 * gio/gunixvolume.c:
2376 Remove g_volume_get_platform_id, as thats not
2377 needed with the simpler union volume monitor
2379 2007-10-31 Alexander Larsson <alexl@redhat.com>
2382 * gio/guniondrive.[ch]: Removed.
2383 * gio/gunionvolume.[ch]: Removed.
2384 Remove GUnionDrive/Volume
2386 * gio/gunionvolumemonitor.c:
2387 Simplify union volume monitor, now we
2388 only have one native volume monitor and
2389 we use the actual volumes/drives from the
2390 child monitors instead of wrapping them
2392 * gio/gnativevolumemonitor.[ch]:
2393 Base class for native volume monitors.
2394 Includes priority and get_volume_for_mountpoint
2397 Add g_file_find_enclosing_volume
2400 Remove volume name fs attribute
2401 Add readonly fs attribute
2404 Implement readonly attribute
2405 remove volume name attribute
2406 Implement find_enclosing volume
2408 * gio/gunixmounts.c:
2409 Add a volume for "/".
2411 * gio/gunixvolume.[ch]:
2412 Set better name for /
2414 * gio/gunixvolumemonitor.[ch]:
2415 Derive from GNativeVolumeMonitor
2416 Implement get_volume_for_mountpoint
2419 GVolume typedef moved to gfile.h
2421 * gio/gvolumeprivate.h:
2422 Add g_volume_get_for_mount_path
2424 2007-10-31 Alexander Larsson <alexl@redhat.com>
2426 * gio/gunixmounts.[ch]:
2427 Add cache info to unix mount listers
2428 Make getmntent use threadsafe
2429 Add is_system_internal attribute for GUnixMount
2431 * gio/gunixvolume.c:
2432 (g_unix_volume_new):
2433 Use is_system_internal instead of own code
2435 * gio/glocaldirectorymonitor.c:
2436 * gio/gunixvolumemonitor.c:
2437 Update to new gunixmounts API
2442 2007-10-30 Alexander Larsson <alexl@redhat.com>
2445 Add volume name fsinfo attribute
2448 Read volume name info
2450 * gio/gunionvolumemonitor.c:
2451 Fix infinite loops when finalizing a union volume monitor
2453 2007-10-30 Alexander Larsson <alexl@redhat.com>
2455 * gio/goutputstream.[ch]:
2456 Add splice() with default implementation
2458 * gio/gsocketoutputstream.c:
2459 (g_socket_output_stream_write):
2460 Return error on cancellation correctly.
2462 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2464 * gio/glocalfile.c (g_local_file_trash):
2465 Do not leak a string.
2467 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2469 * gio/gfile.c (g_file_load_contents):
2470 Unref the stream after closing it.
2472 2007-10-25 Alexander Larsson <alexl@redhat.com>
2474 * gio/gioscheduler.h:
2477 2007-10-25 Alexander Larsson <alexl@redhat.com>
2481 Add g_file_has_uri_scheme and implement for local files
2483 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2485 * gio/gdesktopappinfo.c: do not leak a string.
2487 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2489 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2490 (g_local_directory_monitor_new):
2491 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2492 (g_local_file_monitor_new):
2493 Only look for the monitor type that should be used the first time
2494 and use g_qsort_with_data() instead of our own bubble sort
2497 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2500 * gio/fam/Makefile.am:
2501 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2502 * gio/fam/fam-helper.h:
2503 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2504 * gio/fam/gfamdirectorymonitor.c:
2505 * gio/fam/gfamdirectorymonitor.h:
2506 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2507 * gio/fam/gfamfilemonitor.h:
2508 * gio/glocaldirectorymonitor.c:
2509 * gio/glocaldirectorymonitor.h:
2510 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2511 * gio/glocalfilemonitor.h:
2512 * gio/inotify/Makefile.am:
2513 * gio/inotify/ginotifydirectorymonitor.c:
2514 * gio/inotify/ginotifydirectorymonitor.h:
2515 * gio/inotify/ginotifyfilemonitor.c:
2516 * gio/inotify/ginotifyfilemonitor.h:
2517 Implement the FAM and Inotify monitors as
2518 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2519 their own GIO module. GLocal(Directory|File)Monitor will use the
2520 monitor with the highest rank that is supported on that machine.
2522 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2525 Change GIO module dir to $(libdir)/gio/modules and change
2526 the log domain from GVFS to GIO. Also only export symbols starting
2527 with g_ in the resulting library.
2528 * gio/test-streams.c: (main):
2529 Set log handler for the GIO log domain.
2531 2007-10-22 Alexander Larsson <alexl@redhat.com>
2533 * gio/gfilenamecompleter.[ch]:
2534 Add g_filename_completer_set_dirs_only
2536 2007-10-22 Alexander Larsson <alexl@redhat.com>
2539 * gio/gurifuncs.[ch]:
2540 Add some simple URI helpers
2542 * gio/gfilenamecompleter.[ch]:
2543 Added object for filename (parse name actually) completion
2546 Handle ~ in parse names
2548 2007-10-17 Alexander Larsson <alexl@redhat.com>
2551 * gio/glocalfileinfo.c:
2552 Add and implement id:value attribute
2554 2007-10-17 Alexander Larsson <alexl@redhat.com>
2557 * gio/guniondrive.c:
2559 Add and implement g_drive_has_volumes
2561 2007-10-17 Alexander Larsson <alexl@redhat.com>
2564 * gio/glocalfileinfo.[ch]:
2565 Add unix:is_mountpoint and implement for local files
2567 2007-10-16 Alexander Larsson <alexl@redhat.com>
2569 * gio/gunionvolumemonitor.c:
2570 (g_union_volume_monitor_init):
2571 Fix up the unix type getting so that it works with gcc
2573 2007-10-12 Alexander Larsson <alexl@redhat.com>
2576 * gio/glocalfileinfo.c:
2577 Add thumbnail:failed to file info
2579 2007-10-12 Richard Hult <richard@imendio.com>
2581 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2582 optimizing away the get_type call (happens with some gcc versions,
2583 like the one shipped with OS X 10.4).
2585 2007-10-12 Alexander Larsson <alexl@redhat.com>
2587 * gio/glocalfileinfo.c:
2588 (_g_local_file_info_set_attribute):
2589 Fix build if not HAVE_XATTR
2590 Patch from Milosz Derezynski <internalerror@gmail.com>
2592 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2594 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2595 around for review, otherwise I would have asked you before
2598 2007-10-11 Alexander Larsson <alexl@redhat.com>
2601 Add thumbnail:path attribute
2603 * gio/glocalfileinfo.c:
2604 Implement thumbnail:path for local files
2606 2007-10-11 Alexander Larsson <alexl@redhat.com>
2608 * gio/glocalfileinfo.c:
2609 (_g_local_file_info_get):
2610 Avoid duplicate icon names
2612 2007-10-11 Alexander Larsson <alexl@redhat.com>
2614 * gio/gthemedicon.[ch]:
2615 Change g_themed_icon_get_names return type to const
2617 2007-10-10 Alexander Larsson <alexl@redhat.com>
2619 * gio/glocalfileinfo.c:
2620 Don't reference freed memory
2622 2007-10-10 Alexander Larsson <alexl@redhat.com>
2624 * gio/gfileattribute.c:
2627 * gio/glocalfileinfo.c:
2630 2007-10-10 Alexander Larsson <alexl@redhat.com>
2633 Check for NULL icons
2635 * gio/gfileattribute.c:
2636 Don't dup when getting objects (same as for string attributes)
2638 * gio/gicon.c (g_icon_equal):
2639 Safely handle NULLs in equal
2641 2007-10-10 Alexander Larsson <alexl@redhat.com>
2644 Fix c++ compilation issues
2645 Patch from Milosz Derezynski <internalerror@gmail.com>
2647 2007-10-10 Alexander Larsson <alexl@redhat.com>
2649 * programs/gio-monitor-dir.c:
2650 Don't crash if dir monitor not supported.
2652 2007-10-09 Alexander Larsson <alexl@redhat.com>
2655 Add missing G_END_DECLS
2657 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2659 * gio/gfile.c: (g_file_set_display_name),
2660 (g_file_query_settable_attributes),
2661 (g_file_query_writable_namespaces):
2662 Return NULL not FALSE on errors as the return type is a pointer.
2664 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2666 * gio/glocalfile.c: (g_local_file_monitor_file):
2667 Don't call monitor_file on the default interface vtable (which
2668 is NULL) but simply return NULL. The caller, GFile, will create a
2669 polling monitor if NULL is returned.
2671 2007-10-09 Alexander Larsson <alexl@redhat.com>
2675 * gio-unix-2.0.pc.in:
2676 Add gio-unix-2.0.pc if OS_UNIX
2679 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2681 2007-10-09 Alexander Larsson <alexl@redhat.com>
2683 * gio/gunixmounts.[ch]:
2684 Make unix mount monitoring API sane.
2685 Now its just a object with mounts_changed
2686 and mountpoints_changed signals.
2688 * gio/glocaldirectorymonitor.c:
2689 * gio/gunixvolumemonitor.c:
2690 Use new mount monitor api
2692 2007-10-09 Alexander Larsson <alexl@redhat.com>
2694 * gio/gunixmounts.[ch]:
2695 Move guess type into one call for mounts and one for mountpoints
2698 * gio/gunixvolume.c:
2701 2007-10-09 Alexander Larsson <alexl@redhat.com>
2703 * gio/gunixmounts.[ch]:
2704 Remove _ prefix in preparation to make this semi-public
2705 Hide implementation of structs
2707 * gio/glocaldirectorymonitor.c:
2709 * gio/gunixvolume.c:
2710 * gio/gunixvolumemonitor.c:
2711 Update for above API changes
2713 2007-10-08 Alexander Larsson <alexl@redhat.com>
2716 Better polling fallback. This also handles the case where we have
2717 a monitor_file implementation, but it fails.
2719 2007-10-08 Alexander Larsson <alexl@redhat.com>
2723 * gio/gunixmounts.c:
2724 * programs/gio-monitor-dir.c:
2725 * programs/gio-monitor-file.c:
2726 Added cancellable to file monitoring calls.
2727 These are really sync calls and need this.
2729 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2731 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2732 (g_local_vfs_class_init):
2733 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2734 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2736 2007-10-05 Alexander Larsson <alexl@redhat.com>
2738 * gio/gdirectorymonitorprivate.h:
2739 * gio/gfilemonitorprivate.h:
2740 * gio/gdirectorymonitor.h:
2741 * gio/gfilemonitor.h:
2742 Remove *private.h and move to the public API, so that
2743 we can do implementations outside gio (such as in gvfs)
2745 * gio/gdirectorymonitor.c:
2746 * gio/gfilemonitor.c:
2747 * gio/glocaldirectorymonitor.c:
2748 * gio/gpollfilemonitor.c:
2749 * gio/inotify/inotify-helper.c:
2750 * gio/fam/fam-helper.c:
2751 Update to the new header names
2753 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2755 * gio/gdirectorymonitor.c:
2756 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2759 2007-10-04 Alexander Larsson <alexl@redhat.com>
2761 * gio/glocalfileinfo.c (get_access_rights):
2762 Set CAN_TRASH when we can move the file.
2763 We should really also check for a parent trash dir.
2765 2007-10-04 Alexander Larsson <alexl@redhat.com>
2767 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2768 Add can_trash access attribute
2770 2007-10-04 Alexander Larsson <alexl@redhat.com>
2773 (g_local_file_trash):
2774 Create info file first. This is per-spec and allows
2775 us to actually trash directories.
2777 2007-10-02 Alexander Larsson <alexl@redhat.com>
2779 * gio/gdesktopappinfo.c:
2780 Implement the new mime support code.
2781 Always set app as handling mimetype when being set as default for it
2783 2007-10-01 Alexander Larsson <alexl@redhat.com>
2785 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2786 Fix up check for xattrs:
2788 2007-10-01 Alexander Larsson <alexl@redhat.com>
2791 (g_app_info_set_as_default_for_extension):
2792 (g_app_info_add_supports_type):
2793 (g_app_info_can_remove_supports_type):
2794 (g_app_info_remove_supports_type):
2795 Make these fail nicely if not implemented
2797 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2799 * gio/glocalfileoutputstream.c:
2800 * gio/glocalfileoutputstream.h:
2805 * programs/gio-save.c:
2806 Add a GFileCreateFlags argument to operations that can create
2809 2007-10-01 Alexander Larsson <alexl@redhat.com>
2811 * gio/gappinfo.[ch]:
2812 * gio/gdesktopappinfo.c:
2813 Add more (stubbed out) mime API needed for nautilus
2815 2007-10-01 Alexander Larsson <alexl@redhat.com>
2818 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2819 Add g_app_info_set_as_default_for_extension.
2821 * gio/gdesktopappinfo.c:
2822 Dummy for g_app_info_set_as_default_for_extension
2823 Support flags in g_app_info_create_from_commandline
2825 * gio/gwin32appinfo.c:
2827 Update for API changes
2829 * gio/gthemedicon.c:
2830 Properly NULL-terminate list of icon names
2832 2007-09-28 Alexander Larsson <alexl@redhat.com>
2834 * gio/gloadableicon.h:
2835 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2837 2007-09-28 Alexander Larsson <alexl@redhat.com>
2840 Install headers in $includedir/gio-standalone/
2842 * gio-2.0.pc.in: Added.
2843 * gio-standalone.pc.in: Removed.
2846 Renamed pkg-config file to match glib (for future move)
2847 Update to the new include dir
2850 Add more TODO comments
2852 2007-09-28 Alexander Larsson <alexl@redhat.com>
2854 * gio/gdesktopappinfo.[ch]:
2855 Expose new_from_filename
2856 Add getter for is_hidden and handle it better
2858 2007-09-28 Alexander Larsson <alexl@redhat.com>
2860 * gio/gfileinfo.[ch]:
2861 Rename g_file_size_format_for_display to
2862 g_format_file_size_for_display.
2863 Now it doesn't have the g_file prefix, so we
2864 can later move it to glib.
2866 2007-09-28 Alexander Larsson <alexl@redhat.com>
2868 * gio/gappinfo.[ch]:
2869 Add g_app_info_get_id and g_app_info_get_executable.
2870 Make all getters non-reffing
2871 Make g_app_info_launch take GFile arguments.
2872 Add must_support_uris argument to g_app_info_get_default_for_type.
2874 * gio/gwin32appinfo.c:
2875 Update to GAppInfo api changes
2877 * gio/gdesktopappinfo.c:
2878 Update to GAppInfo api changes
2879 Implement supports_xdg_startup_notify
2881 * gio/gfileicon.c (g_file_icon_get_file):
2882 Make getter non-reffing.
2887 2007-09-27 Alexander Larsson <alexl@redhat.com>
2889 * gio/gfileinfo.[ch]:
2890 Add g_file_size_format_for_display helper
2892 2007-09-27 Alexander Larsson <alexl@redhat.com>
2894 * gio/glocalfileinfo.c:
2895 Set UNIX_GID from gid, not from uid
2897 2007-09-27 Alexander Larsson <alexl@redhat.com>
2900 Add g_file_set_attributes_async
2902 2007-09-27 Alexander Larsson <alexl@redhat.com>
2904 * gio/glocalfile.c (g_local_file_set_display_name):
2905 Fix set_display_name to actually rename to the right place.
2906 Use lstat to look for existing files so we don't overwrite
2909 2007-09-26 Alexander Larsson <alexl@redhat.com>
2912 Add g_file_set_display_name_async()
2914 2007-09-26 Alexander Larsson <alexl@redhat.com>
2917 Add load_partial_contents async calls
2920 Make internal function static
2922 2007-09-26 Alexander Larsson <alexl@redhat.com>
2924 * gio/glocalfileinfo.c:
2925 Correctly detect broken symlinks
2927 2007-09-26 Alexander Larsson <alexl@redhat.com>
2929 * gio/gcancellable.c (g_cancellable_cancel):
2930 Allow cancel on NULL cancellable
2932 2007-09-25 Alexander Larsson <alexl@redhat.com>
2934 * gio/gsimpleasyncresult.c:
2935 Don't allocate g_error manually.
2936 Fixes g_slice/g_new mixup crash
2938 2007-09-25 Alexander Larsson <alexl@redhat.com>
2940 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2941 Actually set active_backend.
2942 This means the monitor will be cancelled correctly.
2944 2007-09-25 Alexander Larsson <alexl@redhat.com>
2946 * gio/gdirectorymonitor.c:
2947 Set timeout to NULL when destroying
2949 2007-09-25 Alexander Larsson <alexl@redhat.com>
2952 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2953 that is a better description of the error.
2955 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2957 * gio/gvfs.c: (g_vfs_get_local):
2958 Make the local vfs variable static. The same instance should
2961 2007-09-24 Alexander Larsson <alexl@redhat.com>
2963 * gio/glocalfileinfo.c:
2964 Pass in actual length read into sniffer, not the length
2967 2007-09-21 Alexander Larsson <alexl@redhat.com>
2969 * gio/gfileenumerator.c:
2972 * gio/gfileinputstream.c:
2973 * gio/gfileoutputstream.c:
2974 * gio/ginputstream.c:
2975 * gio/goutputstream.c:
2976 Don't crash if async callbacks are NULL
2978 2007-09-20 Alexander Larsson <alexl@redhat.com>
2981 Add async enumerate_children method and default
2984 2007-09-20 Alexander Larsson <alexl@redhat.com>
2987 Add g_file_contains_file & g_file_get_relative_path, since they
2988 were needed for nautilus.
2989 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2994 Implement new methods
2996 2007-09-17 Alexander Larsson <alexl@redhat.com>
2999 * gio/gfileinputstream.[ch]:
3000 * gio/gfileoutputstream.[ch]:
3002 * gio/glocalfileenumerator.[ch]:
3003 * gio/glocalfileinfo.[ch]:
3004 * gio/glocalfileinputstream.c:
3005 * gio/glocalfileoutputstream.c:
3006 * gio/gpollfilemonitor.c:
3007 * programs/gio-copy.c:
3008 * programs/gio-info.c:
3009 * programs/gio-move.c:
3010 Rename get_file_info to query_info() to make it clearer
3011 that these are not simple getters, but do i/o.
3013 2007-09-17 Alexander Larsson <alexl@redhat.com>
3015 * gio/gdatainputstream.[ch]:
3016 * gio/test-streams.c:
3017 Use _read_XXX instead of _get_XXX for the i/o calls
3020 2007-09-17 Alexander Larsson <alexl@redhat.com>
3023 Added needed stuff to TODO comment
3025 2007-09-17 Alexander Larsson <alexl@redhat.com>
3027 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3028 Don't error out removing the backup copy if it doesn't
3031 2007-09-14 Alexander Larsson <alexl@redhat.com>
3033 * programs/Makefile.am:
3034 * programs/gvfs-*.c:
3036 Renamed apps from gvfs-xxx to gio-xxx.
3038 2007-09-14 Alexander Larsson <alexl@redhat.com>
3041 * gio/gfileoutputstream.[ch]:
3042 * gio/glocalfileoutputstream.c:
3043 * programs/gvfs-save.c:
3044 g_file_output_stream_get_etag doesn't do i/o, so remove
3045 cancellation and error.
3047 2007-09-14 Alexander Larsson <alexl@redhat.com>
3050 Add new_etag output to replace_contents functions
3052 2007-09-14 Alexander Larsson <alexl@redhat.com>
3054 * gio/gfileoutputstream.[ch]:
3055 Add async get_file_info and default implementation
3057 2007-09-14 Alexander Larsson <alexl@redhat.com>
3059 * gio/gfileinputstream.c:
3060 Implement fallback wrapper for async get_file_info
3062 2007-09-14 Alexander Larsson <alexl@redhat.com>
3065 Add etag out argument to load_contents
3070 2007-09-14 Alexander Larsson <alexl@redhat.com>
3072 * gio/gcontenttype.c (looks_like_text):
3073 Whitespace like tab, cr and lf do not make the
3076 2007-09-14 Alexander Larsson <alexl@redhat.com>
3078 * gio/gfileinputstream.[ch]:
3079 Add async get_file_info.
3081 2007-09-13 Alexander Larsson <alexl@redhat.com>
3083 * gio/goutputstream.c (g_output_stream_write_all):
3084 Allow NULL for bytes_written
3086 2007-09-13 Alexander Larsson <alexl@redhat.com>
3088 * gio/gmemoryinputstream.[ch]:
3089 Add accessors for data
3091 2007-09-13 Alexander Larsson <alexl@redhat.com>
3093 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3094 Don't crash if length is NULL