1 2008-01-25 Matthias Clasen <mclasen@redhat.com>
3 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
4 (#509994, Murray Cumming)
6 2008-01-25 Matthias Clasen <mclasen@redhat.com>
8 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
9 * gioscheduler.c: Keep calling io jobs until they return FALSE;
10 this allows big jobs to be executed in chunks, instead of blocking
11 the main loop for a long time.
13 * gsimpleasyncresult.c:
14 * giofile.c: Adapt callers.
16 2008-01-25 Alexander Larsson <alexl@redhat.com>
19 Implement changes discussed on xdg list.
20 Now we can add supported mimetypes by just using defaults.list
21 We can also remove associations in defaults.list.
23 2008-01-25 Alexander Larsson <alexl@redhat.com>
26 Don't make local copy of desktop file
27 for mimetype changes if the file already
28 supports the new mimetype.
30 2008-01-25 Matthias Clasen <mclasen@redhat.com>
34 * gbufferedinputstream.c:
35 * glocalfile.c: String improvements. (#511966,
36 Theppitak Karoonboonyanan)
38 2008-01-24 Matthias Clasen <mclasen@redhat.com>
40 * gioscheduler.h: Expand docs a bit.
42 2008-01-24 Alexander Larsson <alexl@redhat.com>
45 Add g_drive_get_identifier and
46 g_drive_enumerate_identifiers
49 Add g_volume_get_identifier and
50 g_volume_enumerate_identifiers
56 Implement identifiers for unix backend
58 2008-01-24 Alexander Larsson <alexl@redhat.com>
63 Add g_file_copy_async() (#511580)
64 Based on patch from Carlos Garcia Campos
66 2008-01-23 Matthias Clasen <mclasen@redhat.com>
68 * gioscheduler.c: Some documentation additions.
70 2008-01-22 Alexander Larsson <alexl@redhat.com>
73 (g_desktop_app_info_new):
76 2008-01-22 Alexander Larsson <alexl@redhat.com>
79 (g_desktop_app_info_new_from_filename):
82 2008-01-22 Alexander Larsson <alexl@redhat.com>
84 * glocalfileinfo.c (get_thumbnail_attributes):
87 2008-01-22 Alexander Larsson <alexl@redhat.com>
90 (canonicalize_filename):
91 Canonicalize paths that start with more than
96 (test_g_file_new_for_path):
99 2008-01-22 Alexander Larsson <alexl@redhat.com>
102 Allow UTF-8 in file:// parse names.
105 * tests/data-input-stream.c:
106 * tests/data-output-stream.c:
107 * tests/g-file-info.c:
109 Added a bunch of tests from Tomas Bzatek
111 2008-01-21 Matthias Clasen <mclasen@redhat.com>
113 * === Released 2.15.3 ===
115 2008-01-21 Alexander Larsson <alexl@redhat.com>
117 * gfileinputstream.[ch]:
118 * gfileoutputstream.[ch]:
120 Remove duplicated GSeekable functions. (#509990)
121 Just use the g_seekable_xxx() calls instead.
123 2008-01-21 Matthias Clasen <mclasen@redhat.com>
126 * gvolumemanager.c: Whitespace cleanups.
128 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
129 Use the right mode when creating the file.
131 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
134 * gfileinputstream.c:
136 * goutputstream.c: Documentation: Fixed minor typos
137 and added more mentions of specific _finish() functions.
139 2008-01-21 Alexander Larsson <alexl@redhat.com>
141 * inotify/Makefile.am:
142 * inotify/inotify-helper.c:
143 * inotify/inotify-kernel.c:
144 * inotify/inotify-path.c:
145 * inotify/local_inotify.h: Removed.
146 * inotify/local_inotify_syscalls.h: Removed.
147 Removed the included copies of the inotify
148 headers. We now only use the <sys/inotify.h>
149 header which exists on modern systems.
150 This fixes problems on ARM and SH5 (#510448)
151 but is also generally much cleaner and future
152 safe. For instance, if other OSes add support
153 for inotify it should "just work".
155 2008-01-20 Matthias Clasen <mclasen@redhat.com>
157 * inotify/*.c: Coding style fixes.
158 * inotify/inotify-missing.c: Use g_timeout_add_seconds
159 for the 1/4 Hz timer.
161 2008-01-20 Matthias Clasen <mclasen@redhat.com>
165 * gmemoryinputstream.c:
166 * gmemoryoutputstream.c:
168 * gthemedicon.c: Documentation updates
170 2008-01-20 Murray Cumming <murrayc@murrayc.com>
172 * gfile.c: documentation: Fixed more minor
175 2008-01-18 Murray Cumming <murrayc@murrayc.com>
177 * gmount.c: (g_mount_remount): documentation:
178 Mention g_mount_remount_finish() instead of
179 g_mount_unmount_finish().
181 2008-01-18 Murray Cumming <murrayc@murrayc.com>
185 * gfile.c: Fixed some minor typos in the
188 2008-01-18 Murray Cumming <murrayc@murrayc.com>
190 * gio/gvolumemonitor.c:
191 (g_volume_monitor_get_connected_drives):
192 (g_volume_monitor_get_volumes):
193 (g_volume_monitor_get_mounts): Documentation:
194 Clarify the ownership of the regurn GLists.
196 2008-01-17 Alexander Larsson <alexl@redhat.com>
199 Add the async find_enclosing_mount version
200 to the header file too.
202 2008-01-17 Alexander Larsson <alexl@redhat.com>
205 Add async version of find_enclosing_mount
206 with default implementation.
208 2008-01-17 Alexander Larsson <alexl@redhat.com>
213 Allow calls to implementation of copy and write
214 even if the type of the file implementations is
215 different. This can be used to implement native
216 upload and download calls in a vfs.
220 Protect against the case where move is called
221 with one file not being local.
223 Make sure we call the progress callback once
224 in the native move operation so that the caller
225 knows how many bytes were copied.
227 2008-01-16 Murray Cumming <murrayc@murrayc.com>
230 * gdatainputstream.c:
232 * gfileoutputstream.c:
237 * gunixmounts.c: Corrected some typos in the documentation:
239 its -> it's (where appropriate).
241 2008-01-16 Alexander Larsson <alexl@redhat.com>
245 Add g_file_query_exists (#508771)
247 2008-01-15 Murray Cumming <murrayc@murrayc.com>
252 * gvolume.c: For async functions that have no non-async
253 version, document that the GAsyncReadyCallback may be NULL.
256 2008-01-15 Alexander Larsson <alexl@redhat.com>
258 * gmemoryinputstream.c:
259 * gmemoryoutputstream.c:
260 Don't do pointer arithmetic on void * (#508602)
261 Patch from Kazuki IWAMOTO
263 2008-01-14 Matthias Clasen <mclasen@redhat.com>
265 * === Released 2.15.2 ===
267 2008-01-14 Alexander Larsson <alexl@redhat.com>
269 * gfile.c (g_file_monitor_file):
270 Don't set error here, since we fallback to polling monitor.
272 2008-01-14 Alexander Larsson <alexl@redhat.com>
275 (g_file_monitor_directory):
276 (g_file_monitor_file):
277 Add GError to file monitor calls
279 * glocaldirectorymonitor.c:
280 * glocaldirectorymonitor.h:
282 * glocalfilemonitor.c:
283 * glocalfilemonitor.h:
285 Update for above change
287 2008-01-14 Alexander Larsson <alexl@redhat.com>
291 Handle root correctly in g_file_get_relative_path (#508719)
293 2008-01-14 Alexander Larsson <alexl@redhat.com>
296 Clean up docs and example for GAsyncResult (#508074)
298 2008-01-11 Murray Cumming <murrayc@murrayc.com>
300 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
301 and correct some spelling mistakes. Bug #508108.
303 2008-01-11 Matthias Clasen <mclasen@redhat.com>
305 * glocalfileinfo.c: Add a comment.
307 2008-01-10 Murray Cumming <murrayc@murrayc.com>
309 * gfileinfo.c: GFileInfo description: Mention
310 how to actually set attributes in a GFile and how to discover
311 which attributes are settable. Bug #508378.
313 2008-01-10 A. Walton <awalton@svn.gnome.org>
315 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
316 (g_app_info_get_default_for_type):
317 Check for NULL content types.
319 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
321 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
323 2008-01-09 Murray Cumming <murrayc@murrayc.com>
325 * gfile.c: *_async() functions: Several small corrections
326 to the documentation, mostly correcting copy/paste errors
327 and improving some sentences.
329 2008-01-09 Dan Winship <danw@gnome.org>
331 * glocalfile.c (get_unique_filename): x86_64 fix
333 2008-01-09 Alexander Larsson <alexl@redhat.com>
338 Add g_unix_mount_guess_should_display and use
339 for unix volume monitor backend.
340 This means we more or less show what the
341 gnome-vfs backend did.
342 Based on patch from Padraig O'Briain
344 2008-01-09 Alexander Larsson <alexl@redhat.com>
348 Add g_themed_icon_new_with_default_fallbacks
351 Use default fallbacks for icons
353 2008-01-09 Alexander Larsson <alexl@redhat.com>
356 * gmountoperation.[ch]:
357 Change the API a bit so that unhandled methods
358 get reported via the reply, rather than by
359 the signal emission return value. This is because
360 some handlers can't know this immediately without
361 doing I/O, and this is an async operation that
364 2008-01-09 Alexander Larsson <alexl@redhat.com>
367 * fam/gfamdirectorymonitor.c:
368 * fam/gfamfilemonitor.c:
369 Fix double free crash (#508224)
370 Patch from Joe Marcus Clarke
372 008-01-07 Matthias Clasen <mclasen@redhat.com>
374 * === Released 2.15.1 ===
376 2008-01-07 Alexander Larsson <alexl@redhat.com>
378 * gunixinputstream.c (g_unix_input_stream_skip_finish):
379 Fix warning (#507835)
381 2008-01-07 Alexander Larsson <alexl@redhat.com>
384 Pass --internal to glib-genmarshal
389 Use better types for signal arguments (#507822)
391 2008-01-07 Alexander Larsson <alexl@redhat.com>
394 Build test subdir after .
395 Remove gdirectorymonitor.[ch]
397 * gdirectorymonitor.[ch]:
401 Remove GDirectoryMonitor and make
402 GFileMonitor the baseclass for both file and
403 directory monitors. Lift the more generic
404 rate limiting code from GDirectoryMonitor
408 * fam/gfamdirectorymonitor.[ch]:
409 * inotify/ginotifydirectorymonitor.[ch]:
410 * inotify/inotify-helper.c:
411 * glocaldirectorymonitor.[ch]:
414 Update for the removed GDirectoryMonitor.
416 * gmemoryoutputstream.c:
417 Remove ununsed variable
419 2008-01-07 Alexander Larsson <alexl@redhat.com>
421 * gmemoryinputstream.c:
422 Translate error strings
425 * gmemoryoutputstream.[ch]:
426 New implementation that avoids using GByteArray
427 in implementation and API. (#506377)
429 2008-01-06 Matthias Clasen <mclasen@redhat.com>
431 * tests/*: Add a test for memory input streams.
433 * Makefile.am: Add tests to SUBDIRS.
435 2008-01-06 Matthias Clasen <mclasen@redhat.com>
437 * glocalfilemonitor.c:
438 * glocaldirectorymonitor.c: Mark property nicks and blurbs
441 2008-01-06 Matthias Clasen <mclasen@redhat.com>
443 * gdesktopappinfo.c: Fix a docs typo.
445 * gfileattribute.c: Add information about extended attributes
446 to the documentation. (#505058)
448 2008-01-04 Alexander Larsson <alexl@redhat.com>
452 Use the right type (uint) for the ask_password signal.
454 2008-01-04 Alexander Larsson <alexl@redhat.com>
459 Add g_app_info_supports_files()
460 Remove desktop arg from g_app_info_should_show().
462 * gdesktopappinfo.[ch]:
463 Implement g_app_info_supports_files() and new should_show()
464 Add g_desktop_app_info_set_desktop_env() to set the desktop
465 for should_show(). (This will be set by gtk+ later)
467 2008-01-04 Alexander Larsson <alexl@redhat.com>
470 * gmemoryinputstream.[ch]:
471 Improve API so that you can use multiple chunks
472 of memory and custom destroy functions. (#506374)
474 2008-01-03 Alexander Larsson <alexl@redhat.com>
477 Handle NULL attribute matchers safely, as we return this
478 for empty attribute matcher strings.
480 2008-01-03 Alexander Larsson <alexl@redhat.com>
482 * gunixmounts.c (g_unix_is_mount_path_system_internal):
483 Add /usr/local to list of internal mountpoints
485 2008-01-03 Alexander Larsson <alexl@redhat.com>
488 Check for HAVE_LCHOWN (#505887)
490 2008-01-03 Alexander Larsson <alexl@redhat.com>
494 Add define for selinux context attribute.
495 Fix missing : -> :: namespace separator change
496 Fix missing _ -> - name change for xattr-sys.
499 2008-01-03 Alexander Larsson <alexl@redhat.com>
502 Link to libglib and libgobject directly (#504879)
503 Patch from Sebastien Bacher
505 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
507 * gfile.c: Expanded the g_file_new_for_commandline_arg
508 description a bit, based on the code and the docs of the
509 other g_file_new_for_* functions.
511 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
513 * gfilemonitor.h: Fixed typo in docs.
515 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
517 Updates to GIO documentation. (#506395, Mikael Hermansson)
519 * gcontenttype.c: Describe memory management for return value of
520 g_content_types_get_registered(). Missing piece from #505815.
521 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
522 GVolume, GDrive, GMounts, which hopefully gives the user less
523 confusions when using this API. Following explainations from
524 Alexander Larsson on gtk-devel-list.
526 2007-12-30 Matthias Clasen <mclasen@redhat.com>
528 * gfileinfo.c: Expand the long description.
530 2007-12-30 Matthias Clasen <mclasen@redhat.com>
533 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
534 fix builds with --disable-visibility. (#500273, Christian Persch)
536 2007-12-30 Matthias Clasen <mclasen@redhat.com>
538 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
539 in the list of returned app infos.
541 2007-12-30 Matthias Clasen <mclasen@redhat.com>
543 * gappinfo.c: Fix a cross-reference
545 2007-12-30 Matthias Clasen <mclasen@redhat.com>
547 * gfileinputstream.c:
548 * gfileoutputstream.c:
554 * gfileinfo.c: Documentation updates.
556 2007-12-26 Matthias Clasen <mclasen@redhat.com>
558 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
561 2007-12-26 Matthias Clasen <mclasen@redhat.com>
563 * gcontenttype.c (g_content_types_get_registered): Don't return
564 freed memory (#505815, Mikael Hermansson)
566 2007-12-25 Paolo Borelli <pborelli@katamail.com>
568 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
569 used to detect statbuf->st_blocks. (#505042)
571 2007-12-24 Matthias Clasen <mclasen@redhat.com>
573 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
574 environment handling. (#504829, Cosimo Cecchi)
576 2007-12-22 Matthias Clasen <mclasen@redhat.com>
578 * gappinfo.c: Doc improvements
580 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
583 2007-12-20 Matthias Clasen <mclasen@redhat.com>
585 * === Released 2.15.0 ===
587 2007-12-20 Hans Breuer <hans@breuer.org>
589 * makefile.msc : don't build gdesktopappinfo.obj, it collides
590 with symbols gwin32appinfo.obj, added gmount.obj
591 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
593 2007-12-20 Alexander Larsson <alexl@redhat.com>
599 * gfilenamecompleter.c:
602 * gpollfilemonitor.c:
603 File attribute renames:
606 id::fs -> id::filesystem
608 2007-12-20 Alexander Larsson <alexl@redhat.com>
617 Add GMountUnmountFlags to all unmount and
619 Add g_mount_remount() call.
621 2007-12-20 Alexander Larsson <alexl@redhat.com>
623 * gvfs.c (get_default_vfs):
624 Fix unused variable warning
626 2007-12-19 Matthias Clasen <mclasen@redhat.com>
628 * pltcheck.sh: Update
630 2007-12-19 Matthias Clasen <mclasen@redhat.com>
632 * gunionvolumemonitor.c:
633 * gunixmount.c: Remove C99 comments
635 2007-12-19 Matthias Clasen <mclasen@redhat.com>
637 * gio.symbols: Add some missing symbols
639 2007-12-19 Alexander Larsson <alexl@redhat.com>
642 Make g_io_modules_load_all_in_directory not unuse
643 loaded modules so that users of it can do stuff
645 Init internal "module" types.
646 Initialize static prio and name for types so that
647 we don't have to load modules to get it.
649 * gnativevolumemonitor.h:
651 Move is_supported to parent class so that
652 non-native monitors can avoid being initialized
653 too. (For instance GDaemonVolumeMonitor if we're
654 not using GDaemonVfs.)
656 * glocaldirectorymonitor.[ch]:
657 * glocalfilemonitor.[ch]:
658 * gunionvolumemonitor.c:
659 * gunixvolumemonitor.c:
661 Find plugins using the static prio+name to
662 avoid unnecessarily loading the modules.
664 2007-12-19 Alexander Larsson <alexl@redhat.com>
669 2007-12-19 Alexander Larsson <alexl@redhat.com>
671 * gunionvolumemonitor.c:
672 Store the native type as GType, not class so that
673 we can unload it. But still avoid unnecessarily
676 2007-12-19 David Zeuthen <davidz@redhat.com>
678 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
679 add signals 'disconnected' and 'eject-button' on GDrive. Add
680 signal 'removed' on GVolume and 'unmounted' on GMount.
682 * gdrive.c: (g_drive_base_init):
684 * gfile.c: (g_file_mount_mountable),
685 (g_file_mount_enclosing_volume):
688 * gmount.c: (g_mount_base_init):
690 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
691 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
692 * gvolume.c: (g_volume_base_init), (g_volume_mount):
696 2007-12-17 Matthias Clasen <mclasen@redhat.com>
698 * *.c: Fix up includes in the section docs.
700 2007-12-17 Alexander Larsson <alexl@redhat.com>
702 * gnativevolumemonitor.h:
703 * gunionvolumemonitor.c:
704 * gunixvolumemonitor.c:
705 Add is_supported() to GNativeVolumeMonitorClass so
706 that we can avoid having to create an object to see
707 if the backend is supported at runtime.
708 Also add name member and an env var to pick a specific
709 volume monitor backend.
713 Add cancellable to _g_mount_get_for_mount_path()
715 * glocaldirectorymonitor.c:
716 * glocalfilemonitor.c:
717 Avoid loading and unloading modules while sorting.
719 2007-12-17 Matthias Clasen <mclasen@redhat.com>
722 * gunixmounts.[hc]: Namespace waste reduction, move some
723 g_get_unix_mount functions to the g_unix_mount namespace.
726 * gunixvolumemonitor.c:
728 * glocaldirectorymonitor.c: Update all callers.
730 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
732 2007-12-17 Alexander Larsson <alexl@redhat.com>
735 Add doc comments about what GFile operations are
736 guaranteed to not block.
738 2007-12-17 Alexander Larsson <alexl@redhat.com>
741 Add missing #ifdef fixing OSX build.
742 (#503334, patch from Richard Hult)
744 2007-12-14 David Zeuthen <davidz@redhat.com>
748 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
749 (g_mount_eject), (g_mount_eject_finish):
751 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
752 (get_volume_for_uuid), (get_mount_for_uuid),
753 (g_union_volume_monitor_class_init),
754 (get_default_native_type_with_exclude), (get_default_native_type),
755 (get_native_type), (update_native_type),
756 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
757 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
758 (g_unix_mount_can_eject), (eject_unmount_cb),
759 (eject_unmount_read_error), (eject_unmount_do),
760 (g_unix_mount_unmount), (g_unix_mount_eject),
761 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
762 * gunixmounts.c: (g_unix_mount_guess_can_eject),
763 (g_unix_mount_point_guess_can_eject):
765 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
766 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
767 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
768 (g_unix_volume_mount), (g_unix_volume_eject),
769 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
770 * gunixvolumemonitor.c: (get_volume_for_uuid),
771 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
773 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
774 (g_volume_eject), (g_volume_eject_finish):
776 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
777 (g_volume_monitor_get_mount_for_uuid):
780 Provide eject() on both GMount and GVolume and utility functions
781 to guess whether a GUnixMountPoint or GUnixMountEntry should be
782 ejected. Introduce the concept of UUID's and wire it into GVolume
783 and GMount and provide API on GVolumeMonitor to find such
784 instances. Also handle the case where an external
785 GNativeVolumeMonitor fails to initialize. Lock around the
786 _g_get_mount_for_mount_path() function such that volume monitor
787 implementations won't have to do locking themselves.
789 2007-12-17 Matthias Clasen <mclasen@redhat.com>
797 * gvolume.h: Documentation updates
799 2007-12-14 Matthias Clasen <mclasen@redhat.com>
802 * gfile.h: Doc updates
804 2007-12-14 Matthias Clasen <mclasen@redhat.com>
807 * gdesktopappinfo.c: Use hash table iterators.
809 2007-12-14 Alexander Larsson <alexl@redhat.com>
812 * gfileattribute.[ch]:
813 * gfileattribute-priv.h:
814 Move GFileAttributeValue to a private header, as
818 Make set_attribute take a type + a pointer instead
819 of a GFileAttributeValue.
822 Fix up for above changes.
823 Add g_file_info_get_attribute_data to get
824 all info in one call, g_file_info_get_attribute_status
825 to get the status and g_file_info_get_attribute_as_string.
829 * glocalfileinfo.[ch]:
833 Make _guess_type static.
835 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
838 * inotify/Makefile.am: Fixed build when srcdir != builddir,
839 made mkenums and friends use temporary files to avoid leaving
840 empty generated files on failure (#503470).
842 2007-12-14 Alexander Larsson <alexl@redhat.com>
847 2007-12-14 Alexander Larsson <alexl@redhat.com>
851 * gfileattribute.[ch]:
854 * glocalfileoutputstream.c:
855 * gmountoperation.[ch]:
856 * goutputstream.[ch]:
857 Clean up all flags enums to not have _FLAGS in them
858 Make the names of some of the enums better.
863 2007-12-14 Michael Natterer <mitch@imendio.com>
865 * gio.symbols: fix g_io_scheduler symbol names.
867 2007-12-14 Alexander Larsson <alexl@redhat.com>
873 * gbufferedinputstream.h:
874 * gbufferedoutputstream.h:
877 * gdatainputstream.h:
878 * gdataoutputstream.h:
880 * gdirectorymonitor.h:
887 * gfileinputstream.h:
889 * gfilenamecompleter.h:
890 * gfileoutputstream.h:
891 * gfilterinputstream.h:
892 * gfilteroutputstream.h:
900 * gmemoryinputstream.h:
901 * gmemoryoutputstream.h:
906 * gsimpleasyncresult.h:
908 * gunixinputstream.h:
910 * gunixoutputstream.h:
914 * inotify/Makefile.am:
915 Only allow including <gio/gio.h> from apps
917 2007-12-14 Alexander Larsson <alexl@redhat.com>
920 * gsimpleasyncresult.c:
921 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
922 Split out the send_to_mainloop call into two versions instead
923 of having the block argument.
925 2007-12-13 Alexander Larsson <alexl@redhat.com>
929 * gbufferedinputstream.c:
931 * gfileinputstream.c:
932 * gfileoutputstream.c:
936 g_push/pop_current_cancellable ->
937 g_cancellable_push/pop_current
939 2007-12-13 Alexander Larsson <alexl@redhat.com>
943 Rename g_mount_for_location to g_file_mount_enclosing_volume.
945 2007-12-13 Alexander Larsson <alexl@redhat.com>
948 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
950 2007-12-12 Alexander Larsson <alexl@redhat.com>
953 Fix race condition when freeing proxy in
954 g_io_job_send_to_mainloop().
956 2007-12-12 Alexander Larsson <alexl@redhat.com>
962 Make attribute namespace separator "::" instead of ":".
963 Use - instead of _ as separator in attribute names.
965 2007-12-12 Alexander Larsson <alexl@redhat.com>
967 * gbufferedinputstream.h:
968 * gbufferedoutputstream.h:
969 * gdatainputstream.h:
970 * gdataoutputstream.h:
971 * gdirectorymonitor.h:
973 * gfileinputstream.h:
975 * gfileoutputstream.h:
976 * gfilterinputstream.h:
977 * gfilteroutputstream.h:
979 * glocalfileinputstream.h:
980 * glocalfileoutputstream.h:
981 * gmemoryinputstream.h:
982 * gmemoryoutputstream.h:
983 * gnativevolumemonitor.h:
985 * gunixinputstream.h:
986 * gunixoutputstream.h:
989 s/parent/parent_instance/ in GObjects
991 2007-12-12 Alexander Larsson <alexl@redhat.com>
996 No need for padding for interfaces
998 2007-12-12 Alexander Larsson <alexl@redhat.com>
1002 * gbufferedinputstream.c:
1003 * gbufferedoutputstream.c:
1006 * gdatainputstream.[ch]:
1007 * gdesktopappinfo.c:
1008 * gdirectorymonitor.c:
1010 * gfileattribute.[ch]:
1013 * gfileinputstream.h:
1014 * gfilemonitor.[ch]:
1015 * gfileoutputstream.[ch]:
1016 * gfilterinputstream.h:
1017 * gfilteroutputstream.h:
1020 * gloadableicon.[ch]:
1021 * gmemoryinputstream.c:
1022 * gmountoperation.c:
1024 Fix up a bunch of details in the docs.
1029 2007-12-11 David Zeuthen <davidz@redhat.com>
1031 Rework how volumes, drives and volume monitoring is
1032 done. Previosly the model was
1034 GDrive <1-1> GVolume
1036 where a GDrive instance represented a mount point and a GVolume
1037 instance represented a mounted file system. This patch changes it
1040 GDrive <1-N> GVolume <1-1> GMount
1042 where GMount now serves the purpose of the old GVolume and the new
1043 GVolume serves the purpose of the old GDrive. In addition the new
1044 GDrive interface is used to represent a collection of GVolume
1045 instances (typically partitions) and also contains utility to query
1046 the state of the physical drive the GDrive object represents (such
1047 as checking for media, polling the drive, ejecting the media etc.).
1049 Also implement mounting and unmounting in the Unix volume monitor
1050 backend. A subquent patch will introduce GDrive support for ejection
1054 * gdrive.c: (g_drive_is_media_check_automatic),
1055 (g_drive_is_media_removable), (g_drive_has_media),
1056 (g_drive_can_poll_for_media), (g_drive_eject),
1057 (g_drive_eject_finish), (g_drive_poll_for_media),
1058 (g_drive_poll_for_media_finish):
1060 * gfile.c: (g_file_find_enclosing_mount):
1063 * glocaldirectorymonitor.c:
1064 (g_local_directory_monitor_constructor), (mounts_changed):
1065 * glocalfile.c: (get_mount_info),
1066 (g_local_file_find_enclosing_mount),
1067 (g_local_file_file_iface_init):
1068 * gnativevolumemonitor.h:
1069 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1070 (get_connected_drives), (g_union_volume_monitor_class_init),
1071 (child_volume_added), (child_volume_removed),
1072 (child_volume_changed), (child_mount_added), (child_mount_removed),
1073 (child_mount_pre_unmount), (child_mount_changed),
1074 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1075 (g_union_volume_monitor_remove_monitor),
1076 (_g_mount_get_for_mount_path):
1077 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1078 (guess_system_internal), (_g_get_unix_mounts),
1079 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1080 (g_unix_mount_free), (g_unix_mount_compare),
1081 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1082 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1083 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1084 (type_to_icon), (g_unix_mount_guess_name),
1085 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1086 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1087 (_resolve_symlink), (_resolve_dev_root):
1089 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1090 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1091 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1092 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1093 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1094 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1095 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1096 (g_unix_volume_volume_iface_init):
1098 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1099 (get_mounts), (get_volumes), (get_connected_drives),
1100 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1101 (mountpoints_changed), (mounts_changed),
1102 (g_unix_volume_monitor_init),
1103 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1104 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1105 * gunixvolumemonitor.h:
1106 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1107 (g_volume_mount), (g_volume_mount_finish):
1109 * gvolumemonitor.c: (g_volume_monitor_class_init),
1110 (g_volume_monitor_get_connected_drives),
1111 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1114 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1116 * gmountoperation.h (GPasswordFlags): Close the gap
1118 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1120 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1122 * gdesktopappinfo.[hc]: Remove _-prefixes
1124 2007-12-10 Tor Lillqvist <tml@novell.com>
1126 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1129 2007-12-10 Alexander Larsson <alexl@redhat.com>
1131 * gfile.c (g_file_set_display_name):
1132 Don't hardcode '/' (#502727)
1134 2007-12-09 Hans Breuer <hans@breuer.org>
1136 * makefile.msc : follow lib naming convention
1137 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1138 for user and group name, tested with ../tests/gio-ls
1140 2007-12-09 A. Walton <awalton@svn.gnome.org>
1142 * gdesktopappinfo.c:
1148 * gfileenumerator.c:
1153 * gmemoryinputstream.c:
1154 * gmemoryoutputstream.c:
1156 * gsimpleasyncresult.c:
1157 More documentation cleanup and filling in missing information, bringing
1158 GIO to 99% symbol coverage.
1160 2007-12-08 Hans Breuer <hans@breuer.org>
1162 [gio compiles and links on win32, not sure how much already works]
1163 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1164 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1165 base on win32 API; prefer g_lstat() over lstat(); instead of
1166 localtime_r() use an all GLib implementation on win32;
1167 get_mount_info() still needs a win32 specifc implementation
1168 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1169 win32_get_file_user_info to get owner/group info without uid/gid
1170 * glocalfileinputstream.c : include <io.h> on win32
1171 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1172 definition, use g_win32_ftruncate() for G_OS_WIN32
1173 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1174 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1175 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1176 * makefile.msc : updated
1178 2007-12-07 Alexander Larsson <alexl@redhat.com>
1180 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1181 Avoid warning spew if error == NULL
1183 2007-12-07 Alexander Larsson <alexl@redhat.com>
1186 Update docs wrt etags
1188 2007-12-06 Alexander Larsson <alexl@redhat.com>
1191 Include sys/types.h for dev_t (#501919)
1193 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1197 Make abicheck and pltcheck pass.
1199 2007-12-05 Alexander Larsson <alexl@redhat.com>
1202 * giomodule-priv.h: Added.
1203 * glocaldirectorymonitor.c:
1204 * glocalfilemonitor.c:
1205 * gunionvolumemonitor.c:
1207 Actually add the declaration of _g_io_modules_ensure_loaded
1209 2007-12-05 Alexander Larsson <alexl@redhat.com>
1211 * gdatainputstream.c:
1216 * glocaldirectorymonitor.c:
1217 * glocalfilemonitor.c:
1218 * gunionvolumemonitor.c:
1220 Make g_io_modules_ensure_loaded a private function and
1221 don't pass in the dirname. This means we can do magic
1222 directory finding in the win32 version.
1223 Export the actual load-modules-in-directory code so that
1224 gvfs can reuse that.
1226 2007-12-05 Alexander Larsson <alexl@redhat.com>
1228 * gbufferedinputstream.c:
1229 * gbufferedoutputstream.c:
1232 * gfileenumerator.[ch]:
1233 * gfileinputstream.c:
1234 * gfileoutputstream.[ch]:
1235 * gfilterinputstream.c:
1236 * gfilteroutputstream.c:
1237 * ginputstream.[ch]:
1239 * glocalfileenumerator.c:
1240 * glocalfileinputstream.c:
1241 * glocalfileoutputstream.c:
1242 * gmemoryinputstream.c:
1243 * gmemoryoutputstream.c:
1244 * goutputstream.[ch]:
1247 * gunixinputstream.c:
1248 * gunixoutputstream.c:
1249 Rename all struct members named:
1250 read, write, close, truncate, or mount
1251 to foo_fn, as these are reserved names
1252 and could be defined as macros in libc.
1255 2007-12-04 Alexander Larsson <alexl@redhat.com>
1258 (g_output_stream_close):
1259 Only call flush if non-null.
1261 2007-11-30 Dan Winship <danw@gnome.org>
1263 * ginputstream.c (g_input_stream_set_pending): Make this take a
1264 GError and return a gboolean, and do the "outstanding operation"
1265 check (and the "stream is already closed" check) itself.
1266 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1268 * goutputstream.c (g_output_stream_set_pending)
1269 (g_output_stream_clear_pending): Likewise
1271 * gbufferedinputstream.c:
1272 * gfileinputstream.c:
1273 * gfileoutputstream.c: Update for that
1275 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1276 Like g_simple_async_report_error_in_idle, but takes a GError
1277 rather than building one.
1279 2007-11-30 Dan Winship <danw@gnome.org>
1281 * goutputstream.c: Don't cheat and unset the "pending" flag around
1282 inner calls. Instead, call the class method directly rather than
1283 the wrapper function that checks "pending"
1285 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1287 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1289 2007-12-03 Hans Breuer <hans@breuer.org>
1291 [start of port to win32/msvc]
1292 * gcancellable.c : HAVE_UNIST_H and _pipe()
1293 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1294 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1295 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1297 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1298 * glocalvfs.c : use HAVE_PWD_H
1299 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1300 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1301 * Makefile.am : added to EXTRA_DIST
1303 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1305 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1308 2007-12-03 Alexander Larsson <alexl@redhat.com>
1311 Handle OSX style xattrs API (#500506)
1313 2007-12-03 Alexander Larsson <alexl@redhat.com>
1317 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1319 2007-12-02 A. Walton <awalton@svn.gnome.org>
1323 Documentation accuracy fixes.
1325 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1327 * gioenumtypes.c.template: Fix typo.
1329 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1331 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1333 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1335 * gdirectorymonitor.c:
1336 * gfilemonitor.c: Add properties
1338 * gbufferedoutputstream.c: Don't mark buffer-size property
1341 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1343 * gbufferedoutputstream.c: Add auto-grow property.
1345 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1347 * *.c: Unify the capitalization of section headings.
1349 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1351 * gmountoperation.c: Add properties
1353 * gdatainputstream.c: Turn byte-order and newline-type into
1356 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1358 * gioenumtypes.[hc].template: Templates for enum registration
1360 * Makefile.am: Generate gioenumtypes.[hc]
1362 * gio.h: Include gioenumtypes.h
1364 * gfile.h: Add some explicit nicks.
1366 * gio.symbols: Add new symbols
1368 * pltcheck.sh: Adjust
1370 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1372 * *.c: Explain etags and link to the explanation
1374 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1376 * *.c: Explain I/O priority.
1378 * *.c: More coding style fixes.
1380 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1382 * gasyncresult.c: Add another paragraph to the intro,
1383 adjust coding style of example.
1385 2007-11-29 A. Walton <awalton@svn.gnome.org>
1388 Fixes unknown meaning in GAppLaunchContext docs.
1390 Clarify asynchronous ops.
1392 Fix entity tag docs.
1395 Provides missing gtk-doc section, fixes API docs slighly.
1396 * gsimpleasyncresult.c:
1397 Fill in missing info in docs.
1398 * gunixinputstream.c:
1399 * gunixoutputstream.c:
1400 Be more expressive in short description.
1402 Remove gtk-doc stubs for non-public API.
1404 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1406 * *.c: Coding style fixups
1408 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1410 * inotify/inotify-helper.c: Don't export the lock from libgio.
1412 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1415 * abicheck.sh: Fix copy-and-paste leftovers
1417 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1419 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1421 2007-11-28 Alexander Larsson <alexl@redhat.com>
1425 Removed unnecessary file
1427 * gdesktopappinfo.[ch]:
1430 * glocaldirectorymonitor.[ch]:
1432 * glocalfileenumerator.[ch]:
1433 * glocalfileinputstream.[ch]:
1434 * glocalfilemonitor.[ch]:
1435 * glocalfileoutputstream.[ch]:
1437 * gnativevolumemonitor.c:
1438 * gpollfilemonitor.[ch]:
1439 * gunionvolumemonitor.[ch]:
1442 * gunixvolumemonitor.[ch]:
1445 * inotify/ginotifydirectorymonitor.[ch]:
1446 * inotify/ginotifyfilemonitor.[ch]:
1447 * inotify/inotify-helper.c:
1448 Append _ to all internal functions
1452 Export symbols needed for modules
1454 2007-11-28 Alexander Larsson <alexl@redhat.com>
1457 * abicheck.sh: Added.
1458 * makegioalias.pl: Added.
1459 * pltcheck.sh: Added.
1460 * gio.symbols: Added.
1463 Initial work on adding symbol handling.
1466 Correct ifdef guard name
1469 * inotify/Makefile.am:
1470 * xdgmime/Makefile.am:
1471 Include toplevel Makefile.decl
1473 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1475 * gcontenttype.c: Move doc comments to the unix section.
1477 * *.[hc]: More trivial doc corrections.
1479 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1481 * gpollfilemonitor.c:
1485 * gdesktopappinfo.c:
1490 * gdatainputstream.c:
1491 * gdatainputstream.h:
1492 * gdataoutputstream.c:
1493 * gdataoutputstream.h:
1494 * gfileinfo.h: Doc cleanups
1496 2007-11-28 Andre Klapper <a9016009@gmx.de>
1498 * gdesktopappinfo.c: Fix a typo.
1500 2007-11-27 Andre Klapper <a9016009@gmx.de>
1502 * glocalfileoutputstream.c: Fix a typo.
1504 2007-11-27 Alexander Larsson <alexl@redhat.com>
1507 Don't include removed headers
1509 2007-11-27 Alexander Larsson <alexl@redhat.com>
1512 * gsocketinputstream.[ch]: Removed.
1513 * gsocketoutputstream.[ch]: Removed.
1514 * gunixinputstream.[ch]: Added.
1515 * gunixoutputstream.[ch]: Added.
1516 Renamed GSocket*Stream to GUnix*Stream and made
1517 it unix-only, since its not really only for sockets
1518 and it only works on unix (but is highly useful there).
1520 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1526 * gbufferedinputstream.c:
1527 * gbufferedinputstream.h:
1528 * gbufferedoutputstream.c:
1529 * gbufferedoutputstream.h:
1533 * gdatainputstream.c:
1534 * gdatainputstream.h:
1535 * gdataoutputstream.c:
1536 * gdataoutputstream.h:
1537 * gdirectorymonitor.c:
1538 * gdirectorymonitor.h:
1545 * gfileenumerator.c:
1546 * gfileenumerator.h:
1551 * gfileinputstream.c:
1552 * gfileinputstream.h:
1555 * gfilenamecompleter.c:
1556 * gfilenamecompleter.h:
1557 * gfileoutputstream.c:
1558 * gfileoutputstream.h:
1559 * gfilterinputstream.c:
1560 * gfilterinputstream.h:
1561 * gfilteroutputstream.c:
1562 * gfilteroutputstream.h:
1575 * glocalfileoutputstream.c:
1576 * gmemoryinputstream.c:
1577 * gmemoryinputstream.h:
1578 * gmemoryoutputstream.c:
1579 * gmemoryoutputstream.h:
1580 * gmountoperation.c:
1581 * gmountoperation.h:
1584 * gpollfilemonitor.c:
1587 * gsimpleasyncresult.c:
1588 * gsimpleasyncresult.h:
1589 * gsocketinputstream.c:
1590 * gsocketinputstream.h:
1591 * gsocketoutputstream.c:
1592 * gsocketoutputstream.h:
1599 * gunixvolumemonitor.c:
1608 Bumps documentation to 93% symbol coverage, touching most
1609 of the public files. Fixes broken function documentation prototypes.
1610 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1611 gtk-doc headers in private files.
1613 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1615 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1616 (g_buffered_input_stream_read_byte):
1617 * gbufferedinputstream.h:
1618 New functions for efficient access to buffer and simple single byte
1621 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1622 (g_data_input_stream_read_until):
1623 * gdatainputstream.h:
1624 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1625 read_until with multiple stop chars.
1627 2007-11-27 Alexander Larsson <alexl@redhat.com>
1631 * inotify/Makefile.am:
1632 Use the user-specified giomoduledir
1634 2007-11-27 Alexander Larsson <alexl@redhat.com>
1638 Add catch-all gio.h header
1639 Don't install gdummyfile.h
1641 2007-11-26 Alexander Larsson <alexl@redhat.com>
1643 * Makefile.am (gioinclude_HEADERS):
1644 Remove trailing whitespace
1646 2007-11-26 Alexander Larsson <alexl@redhat.com>
1648 Merge gio-standalone into glib
1650 2007-11-25 Christian Kellner <gicmo@gnome.org>
1652 * gio/goutputstream.c:
1653 Fix small mistake in the docs.
1655 2007-11-21 Christian Persch <chpe@gnome.org>
1657 * gio/glocalfile.c: (g_local_file_trash):
1658 Convert filenames to UTF-8 for GError.
1659 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1660 as per xdg base dir spec.
1662 2007-11-21 Christian Persch <chpe@gnome.org>
1664 * gio/gdesktopappinfo.c:
1665 Use that g_key_file_to_data cannot fail.
1667 Use stock defines for the key file group and key names.
1670 2007-11-21 Alexander Larsson <alexl@redhat.com>
1673 (copy_stream_with_progress):
1674 Make sure we do a final progress callback with
1675 the full total size.
1677 2007-11-21 Alexander Larsson <alexl@redhat.com>
1680 Export g_file_copy_attributes
1681 Remove padding as its not needed for interfaces
1683 2007-11-20 Alexander Larsson <alexl@redhat.com>
1688 Add G_IO_ERROR_WOULD_MERGE for
1689 copy/move dir on dir with overwrite.
1691 2007-11-20 Alexander Larsson <alexl@redhat.com>
1694 * gio/glocalfileinfo.c:
1695 Add COPY_NAME (this is an optional
1696 non-modified utf8 version of the name) that
1699 2007-11-20 Alexander Larsson <alexl@redhat.com>
1701 * gio/glocalfileenumerator.c:
1702 Report errors as GIOError, not GFileError
1704 2007-11-16 Alexander Larsson <alexl@redhat.com>
1706 * gio/glocalfileoutputstream.c:
1707 * gio/gwin32appinfo.c:
1708 Fix typos in strings.
1709 Patch from Luca Ferretti <elle.uca@libero.it>
1711 2007-11-15 Alexander Larsson <alexl@redhat.com>
1714 Post release version bump
1716 === gio-standalone 0.1.2 ===
1718 2007-11-15 Alexander Larsson <alexl@redhat.com>
1720 * docs/reference/gio/Makefile.am:
1721 Fix up distcheck by removing weird
1727 2007-11-14 Alexander Larsson <alexl@redhat.com>
1729 * gio/gdesktopappinfo.c:
1730 * gio/glocaldirectorymonitor.c:
1732 * gio/glocalfileinfo.c:
1733 * gio/inotify/inotify-sub.c:
1734 * programs/gio-cat.c:
1735 * programs/gio-copy.c:
1736 * programs/gio-info.c:
1737 * programs/gio-ls.c:
1738 * programs/gio-monitor-dir.c:
1739 * programs/gio-monitor-file.c:
1740 * programs/gio-mount.c:
1741 * programs/gio-move.c:
1742 * programs/gio-rm.c:
1743 * programs/gio-save.c:
1744 * programs/gio-trash.c:
1745 Leak fixes from Kjartan Maraas
1747 2007-11-14 Alexander Larsson <alexl@redhat.com>
1749 * gio/fam/fam-helper.c:
1751 * gio/glocalfileinfo.c:
1755 * gio/inotify/inotify-diag.c:
1756 * gio/inotify/inotify-kernel.c:
1757 Various code cleanups from Kjartan Maraas
1759 2007-11-14 Alexander Larsson <alexl@redhat.com>
1761 * gio/gioscheduler.c:
1763 Set up threadpool so that we cache 2 unused
1764 idle threads for at 15 secs. This means we
1765 will reuse thread-local data (like dbus connections)
1768 2007-11-14 Alexander Larsson <alexl@redhat.com>
1770 * gio/fam/fam-helper.c:
1771 * gio/fam/gfamdirectorymonitor.c:
1772 * gio/fam/gfamfilemonitor.c:
1774 * gio/gcontenttype.c:
1775 * gio/gdatainputstream.c:
1776 * gio/gdataoutputstream.c:
1780 * gio/gfileattribute.h:
1781 * gio/gfileenumerator.c:
1783 * gio/ginputstream.c:
1786 * gio/glocalfileinfo.c:
1787 * gio/goutputstream.c:
1788 * gio/gpollfilemonitor.c:
1789 * gio/gsimpleasyncresult.c:
1790 * gio/gunixmounts.c:
1791 * gio/gunixmounts.h:
1792 * gio/inotify/ginotifydirectorymonitor.c:
1793 * gio/inotify/ginotifyfilemonitor.c:
1794 * gio/inotify/inotify-diag.c:
1795 * gio/inotify/inotify-kernel.c:
1796 * gio/inotify/inotify-path.c:
1798 * gio/test-streams.c:
1799 * programs/gio-info.c:
1800 * programs/gio-monitor-dir.c:
1801 * programs/gio-monitor-file.c:
1802 Various code cleanups from Kjartan Maraas
1804 2007-11-13 Alexander Larsson <alexl@redhat.com>
1807 Handle the uri-scheme calls for dummy files
1809 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1811 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1812 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1813 to avoid clash with the C++ keyword.
1815 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1817 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1818 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1820 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1822 * gio/glocaldirectorymonitor.c:
1823 * gio/glocalfilemonitor.c:
1824 * gio/gunionvolumemonitor.c:
1825 Don't use g_once_init_*() for initializations that could fail and
1826 could leave the initialization variable set to 0 but use GOnce.
1827 This prevents a deadlock on the second call when trying to create
1828 a monitor and no monitor type is available. Thanks to Sven Herzberg
1831 2007-11-11 Sven Herzberg <sven@imendio.com>
1833 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1834 #ifdef (make it work on MacOS X again)
1836 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1838 Fixes Changelog for last two commits (sorry guys).
1840 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1842 * gio/gbufferedinputstream.c:
1843 * gio/gdatainputstream.c:
1845 * gio/gfileoutputstream.c:
1846 * gio/gfilterinputstream.c:
1847 * gio/glocalfileinputstream.c:
1850 More consistency fixes in g*stream.c files.
1851 Significant clean of gfile's documentation, filling in of
1852 asynchronous operations documentation.
1854 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1856 * gio/gasyncresult.c:
1857 * gio/gbufferedinputstream.c:
1858 * gio/gbufferedoutputstream.c:
1859 * gio/gcancellable.c:
1860 * gio/gcontenttype.c:
1861 * gio/gdatainputstream.c:
1862 * gio/gdataoutputstream.c:
1863 * gio/gdesktopappinfo.c:
1866 * gio/gfileattribute.c:
1867 * gio/gio/gfileenumerator.c:
1869 * gio/gfileinputstream.c:
1870 * gio/gfilemonitor.c:
1871 * gio/gfileoutputstream.c:
1872 * gio/ginputstream.c:
1874 * gio/gioscheduler.c:
1875 * gio/gloadableicon.c:
1876 * gio/glocalfileoutputstream.c:
1877 * gio/gmemoryoutputstream.c:
1878 * gio/gmountoperation.c:
1879 * gio/goutputstream.c:
1881 * gio/gsimpleasyncresult.c:
1882 * gio/gunionvolumemonitor.c:
1883 * gio/gunixmounts.c:
1884 * gio/gunixvolume.c:
1888 * gio/gvolumemonitor.c:
1889 Updated documentation stubs, working towards consistency and
1892 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1894 * gio/gmemoryoutputstream.c:
1895 * gio/gmemoryoutputstream.h:
1896 Change g_memory_output_stream_set_free_on_close() to
1897 g_memory_output_stream_set_free_data() as this makes more sense and
1898 is more consistent with GMemoryInputStream.
1900 2007-11-07 Alexander Larsson <alexl@redhat.com>
1907 Change how we find the default vfs so that
1908 we can handle a gvfs failing to init
1910 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1912 * gio/gbufferedoutputstream.c:
1913 * gio/gdatainputstream.c:
1914 * gio/gdataoutputstream.c:
1915 * gio/gfileinputstream.c:
1916 * gio/gfileoutputstream.c:
1917 * gio/gfilterinputstream.c:
1918 * gio/gfilteroutputstream.c:
1919 * gio/ginputstream.c:
1920 * gio/gmemoryinputstream.c:
1921 * gio/gmemoryoutputstream.c:
1922 * gio/goutputstream.c:
1923 * gio/gsimpleasyncresult.c:
1924 * gio/gsocketinputstream.c:
1925 * gio/gsocketoutputstream.c:
1926 Add guards to the remaining public functions, add a TODO for
1927 an unimplemented function and remove some useless guards.
1929 2007-11-07 Alexander Larsson <alexl@redhat.com>
1932 Autoconf checks for the various types of
1933 getpwuid_r and getgrgid_r
1935 * gio/glocalfileinfo.c:
1936 Use the autoconf checks from above
1938 2007-11-07 Alexander Larsson <alexl@redhat.com>
1941 (g_local_file_query_filesystem_info):
1942 Some fixes for the statvfs case
1944 2007-11-07 Alexander Larsson <alexl@redhat.com>
1947 (g_local_file_query_filesystem_info):
1948 Pick the "best" of statfs / statvfs for the system
1949 if both are availible.
1951 2007-11-07 Alexander Larsson <alexl@redhat.com>
1953 Solaris fixes from Halton.Huo@Sun.COM:
1960 * gio/glocalfileinfo.c:
1961 Fix for solaris definition of getpwuid_r
1963 * gio/test-streams.c:
1964 Use G_GNUC_PRETTY_FUNCTION
1966 2007-11-07 Alexander Larsson <alexl@redhat.com>
1968 * gio/gdesktopappinfo.c:
1969 (update_default_list):
1970 Remove double semicolon.
1971 Patch from Jens Granseuer
1973 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1975 * docs/reference/gio/gio-sections.txt:
1976 * gio/gbufferedinputstream.c:
1977 * gio/gbufferedinputstream.h:
1978 * gio/gdatainputstream.c:
1979 * gio/gfileenumerator.c:
1980 * gio/gioscheduler.c:
1981 * gio/gunionvolumemonitor.c:
1983 * programs/gio-save.c:
1984 Fix typo: availible -> available. Unfortuntely this breaks API
1985 and ABI as g_buffered_input_stream_get_available() was renamed.
1987 * gio/gunixmounts.c:
1988 * gio/gbufferedinputstream.c:
1989 Add guards for public functions.
1991 2007-11-06 Ross Burton <ross@openedhand.com>
1993 * docs/reference/gio/Makefile.am:
1994 Fix invalid += usage which automake 1.10 doesn't like.
1996 2007-11-06 Alexander Larsson <alexl@redhat.com>
1999 (g_app_launch_context_class_init):
2002 Patch from Ross Burton
2004 2007-11-06 Alexander Larsson <alexl@redhat.com>
2007 Post release version bump
2009 === gio-standalone 0.1.1 ===
2011 2007-11-06 Alexander Larsson <alexl@redhat.com>
2014 Bump version to 0.1.1
2016 * gio/gsimpleasyncresult.c:
2017 (g_simple_async_result_set_from_error):
2018 Remove bogus g_return_if_fail
2020 2007-11-06 Alexander Larsson <alexl@redhat.com>
2023 The name is gio-standalone
2026 Add top src/builddir to includedir
2028 2007-11-06 Alexander Larsson <alexl@redhat.com>
2030 * docs/reference/gio/gio-sections.txt:
2032 * gio/gbufferedinputstream.c:
2033 * gio/gbufferedoutputstream.c:
2034 * gio/gcancellable.c:
2035 * gio/gdatainputstream.h:
2036 * gio/gdataoutputstream.c:
2037 * gio/gdataoutputstream.h:
2038 * gio/gdirectorymonitor.c:
2040 * gio/gfileattribute.c:
2041 * gio/gfileattribute.h:
2042 * gio/gfileenumerator.c:
2043 * gio/gfileenumerator.h:
2046 * gio/gfileinputstream.h:
2047 * gio/gfilemonitor.c:
2048 * gio/gfileoutputstream.h:
2049 * gio/glocalfilemonitor.h:
2050 * gio/glocalfileoutputstream.h:
2051 * gio/gmemoryinputstream.c:
2052 * gio/gmemoryoutputstream.c:
2053 * gio/gmountoperation.c:
2054 * gio/goutputstream.c:
2055 * gio/goutputstream.h:
2057 * gio/gsimpleasyncresult.c:
2058 * gio/gunixmounts.c:
2059 * gio/gunixmounts.h:
2061 * gio/inotify/inotify-helper.c:
2062 Fix gtk-doc warnings
2064 Patch from Ross Burton
2066 2007-11-06 Alexander Larsson <alexl@redhat.com>
2068 * gio/gfilenamecompleter.c:
2069 (g_filename_completer_get_completions):
2072 * gio/gunixvolume.c:
2073 Remove unused function
2075 Patches from Ross Burton
2077 2007-11-06 Alexander Larsson <alexl@redhat.com>
2082 Padding not needed for interfaces
2084 2007-11-06 Alexander Larsson <alexl@redhat.com>
2086 * gio/gfilemonitor.c:
2090 Make giotypes.h an internal file
2093 * gio/gbufferedinputstream.h:
2094 * gio/gbufferedoutputstream.h:
2095 * gio/gcancellable.h:
2096 * gio/gdatainputstream.h:
2097 * gio/gdataoutputstream.h:
2098 * gio/gdirectorymonitor.c:
2099 * gio/gdirectorymonitor.h:
2104 * gio/gfileattribute.h:
2105 * gio/gfileenumerator.h:
2110 * gio/gfilemonitor.c:
2111 * gio/gfilemonitor.h:
2112 * gio/gfilenamecompleter.c:
2113 * gio/gfilenamecompleter.h:
2114 * gio/gfilterinputstream.h:
2115 * gio/gfilteroutputstream.h:
2116 * gio/ginputstream.h:
2117 * gio/gmemoryinputstream.h:
2118 * gio/gmemoryoutputstream.h:
2119 * gio/gmountoperation.c:
2120 * gio/gmountoperation.h:
2121 * gio/gnativevolumemonitor.c:
2122 * gio/goutputstream.h:
2125 * gio/gsimpleasyncresult.c:
2126 * gio/gsimpleasyncresult.h:
2127 * gio/gsocketinputstream.h:
2128 * gio/gsocketoutputstream.h:
2129 * gio/gthemedicon.c:
2130 * gio/gthemedicon.h:
2134 * gio/gvolumemonitor.c:
2135 * gio/gvolumemonitor.h:
2136 Add padding in classes where it seems useful
2137 Don't include giotypes.h from public headers
2138 Move in Class definitions into c file where possible
2143 2007-11-06 Alexander Larsson <alexl@redhat.com>
2145 * docs/reference/gio/gio-docs.xml:
2146 Better structure for API docs
2148 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2151 * gio/gloadableicon.c:
2152 * gio/gsimpleasyncresult.c:
2153 * gio/gthemedicon.c:
2154 Add some more guards to public functions. Only files missing are now
2157 2007-11-06 Alexander Larsson <alexl@redhat.com>
2159 * docs/reference/gio/gio-docs.xml:
2160 Remove old files, add missing ones
2162 2007-11-06 Alexander Larsson <alexl@redhat.com>
2164 * docs/reference/gio/gio-sections.txt:
2167 Hide implementation classes
2169 * gio/gdriveprivate.h:
2170 * gio/gvolumeprivate.h:
2171 Remove non-existing function declarations
2173 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2176 Fix compilation warnings and add guards to the new functions.
2178 * gio/gasyncresult.c:
2180 Add guards to the public functions.
2183 Implement get_path().
2185 2007-11-06 Alexander Larsson <alexl@redhat.com>
2187 * gio/gfilenamecompleter.c:
2188 Make g_filename_completer_get_completions
2189 return char ** instead of GList for
2192 * docs/reference/gio/gio-docs.xml:
2193 * docs/reference/gio/gio-sections.txt:
2195 * gio/gasyncresult.c:
2196 * gio/gbufferedinputstream.c:
2197 * gio/gbufferedoutputstream.c:
2198 * gio/gcancellable.c:
2199 * gio/gcontenttype.c:
2200 * gio/gdatainputstream.c:
2201 * gio/gdataoutputstream.c:
2202 * gio/gdesktopappinfo.c:
2203 * gio/gdirectorymonitor.c:
2207 * gio/gfileattribute.c:
2208 * gio/gfileenumerator.c:
2211 * gio/gfileinputstream.c:
2212 * gio/gfilemonitor.c:
2213 * gio/gfilenamecompleter.c:
2214 * gio/gfilenamecompleter.h:
2215 * gio/gfileoutputstream.c:
2216 * gio/gfilterinputstream.c:
2218 * gio/ginputstream.c:
2220 * gio/gioscheduler.c:
2221 * gio/gloadableicon.c:
2222 * gio/glocaldirectorymonitor.c:
2224 * gio/glocalfileinputstream.c:
2225 * gio/glocalfilemonitor.c:
2226 * gio/glocalfileoutputstream.c:
2228 * gio/gmemoryinputstream.c:
2229 * gio/gmemoryoutputstream.c:
2230 * gio/gmountoperation.c:
2231 * gio/goutputstream.c:
2232 * gio/gpollfilemonitor.c:
2234 * gio/gsimpleasyncresult.c:
2235 * gio/gsocketinputstream.c:
2236 * gio/gsocketoutputstream.c:
2237 * gio/gthemedicon.c:
2238 * gio/gunionvolumemonitor.c:
2240 * gio/gunixmounts.c:
2241 * gio/gunixvolume.c:
2242 * gio/gunixvolumemonitor.c:
2246 * gio/gvolumemonitor.c:
2247 * gio/gwin32appinfo.c:
2248 Add (mostly stub) doc strings to public functions.
2249 Patch from Andrew Walton (awalton@gmail.com)
2251 2007-11-06 Alexander Larsson <alexl@redhat.com>
2253 * gio/gappinfo.[ch]:
2254 Added GAppLaunchContext object and pass that to launch.
2255 This allows simple implementation of both
2256 launch-on-screen and startup notification via a gtk+
2257 subclass of GAppLaunchContext
2259 * gio/gdesktopappinfo.c:
2260 Implement GAppLaunchContext API
2262 * gio/gwin32appinfo.c:
2265 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2267 * gio/gmountoperation.c:
2268 Add some guards to GMountOperation's public functions.
2270 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2274 * gio/gcancellable.c:
2275 * gio/gdirectorymonitor.c:
2277 * gio/gfileenumerator.c:
2278 * gio/gfilemonitor.c:,
2279 * gio/gfilenamecompleter.c:
2282 * gio/gioscheduler.c:
2286 * gio/gvolumemonitor.c:
2287 Add even more guards to various public functions.
2289 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2292 Add guards to the public functions of GAppInfo.
2294 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2296 * gio/gcontenttype.c:
2297 Add some more guards for public functions.
2299 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2301 * gio/fam/fam-module.c:
2302 * gio/fam/gfamdirectorymonitor.c:
2303 * gio/fam/gfamdirectorymonitor.h:
2304 * gio/fam/gfamfilemonitor.c:
2305 * gio/fam/gfamfilemonitor.h:
2306 * gio/inotify/ginotifydirectorymonitor.c:
2307 * gio/inotify/ginotifydirectorymonitor.h:
2308 * gio/inotify/ginotifyfilemonitor.c:
2309 * gio/inotify/ginotifyfilemonitor.h:
2310 Add proper copyright information and remove an unused variable
2311 in the GInotifyFileMonitor constructor.
2313 * gio/gcancellable.c:
2314 Add a guard for a public function and an assertion to prevent
2315 an undefined program state.
2317 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2319 * gio/gfileattribute.c:
2320 Don't run into an assertion if the given attribute value is NULL
2321 in g_file_attribute_value_get_*() but instead return a fallback
2322 value that makes sense in most situations. Passing them a attribute
2323 value with the wrong type will still run into an assertion.
2325 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2327 * gio/gfileattribute.c:
2329 Add even more guards to the public functions. Also fix the refcounting
2330 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2331 let g_file_info_list_attributes() filter the attributes by namespace
2332 instead of simply ignoring the namespace parameter.
2334 2007-11-03 Sven Herzberg <sven@imendio.com>
2336 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2337 (This makes gio work on MacOS X again)
2339 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2342 Build the gio subdirectory before the docs. Otherwise the build will
2345 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2346 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2347 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2348 Add guards to the public functions.
2350 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2352 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2353 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2354 to prevent a compiler warning.
2356 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2357 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2358 return something in the non-void function find_topdir_for().
2360 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2367 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2369 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2370 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2371 * gwin32appinfo.c (g_win32_app_info_launch):
2372 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2373 envp_for_startup_id, g_desktop_app_info_launch,
2374 g_desktop_app_info_launch_uris):
2376 Give an opaque 'startup_id' string instead of 'envp'.
2377 Support empty file lists for launching new windows.
2378 Fix infinite recursion bug when launching URIs.
2380 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2383 Add guard to the new g_file_get_uri_scheme() function.
2385 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2388 Convert a g_return_val_if_fail() to setting the GError instead as
2389 otherwise applications have to verify the parameter before otherwise
2390 and the parameter might come directly from the user.
2392 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2394 * gio/inotify/ginotify*.[ch]:
2395 Add missing copyright information.
2397 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2400 Add guards in the beginning of public functions to check for valid
2401 parameters and fix a bug in copy_stream_with_progress() that could've
2402 caused writing less bytes than reading.
2403 * gio/glocalfileinfo.c:
2404 Check for a NULL parameter and set the GError accordingly then.
2405 * gio/goutputstream.c:
2406 Fix the same bug as in gfile.c that could've caused writing less bytes
2407 than reading in g_output_stream_real_splice().
2409 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2412 Use the correct gvolumeprivate.h naming
2414 2007-11-01 Christian Kellner <gicmo@gnome.org>
2417 Remove leftover "$(daemon_sources)" entry.
2419 2007-11-01 Christian Kellner <gicmo@gnome.org>
2424 Add copyright information to source files.
2426 2007-11-01 Alexander Larsson <alexl@redhat.com>
2430 Add g_file_get_uri_scheme
2432 2007-11-01 Alexander Larsson <alexl@redhat.com>
2435 * gio/gdesktopappinfo.c:
2436 * gio/gwin32appinfo.c:
2437 Add g_app_info_get_default_for_uri_scheme.
2439 2007-11-01 Alexander Larsson <alexl@redhat.com>
2442 Correct filename for gdriveprivate.h
2444 2007-10-31 Alexander Larsson <alexl@redhat.com>
2447 Rename id:value to id:file
2450 * gio/glocalfileinfo.c:
2453 2007-10-31 Alexander Larsson <alexl@redhat.com>
2455 * gio/gunixvolume.c:
2457 Remove g_volume_get_platform_id, as thats not
2458 needed with the simpler union volume monitor
2460 2007-10-31 Alexander Larsson <alexl@redhat.com>
2463 * gio/guniondrive.[ch]: Removed.
2464 * gio/gunionvolume.[ch]: Removed.
2465 Remove GUnionDrive/Volume
2467 * gio/gunionvolumemonitor.c:
2468 Simplify union volume monitor, now we
2469 only have one native volume monitor and
2470 we use the actual volumes/drives from the
2471 child monitors instead of wrapping them
2473 * gio/gnativevolumemonitor.[ch]:
2474 Base class for native volume monitors.
2475 Includes priority and get_volume_for_mountpoint
2478 Add g_file_find_enclosing_volume
2481 Remove volume name fs attribute
2482 Add readonly fs attribute
2485 Implement readonly attribute
2486 remove volume name attribute
2487 Implement find_enclosing volume
2489 * gio/gunixmounts.c:
2490 Add a volume for "/".
2492 * gio/gunixvolume.[ch]:
2493 Set better name for /
2495 * gio/gunixvolumemonitor.[ch]:
2496 Derive from GNativeVolumeMonitor
2497 Implement get_volume_for_mountpoint
2500 GVolume typedef moved to gfile.h
2502 * gio/gvolumeprivate.h:
2503 Add g_volume_get_for_mount_path
2505 2007-10-31 Alexander Larsson <alexl@redhat.com>
2507 * gio/gunixmounts.[ch]:
2508 Add cache info to unix mount listers
2509 Make getmntent use threadsafe
2510 Add is_system_internal attribute for GUnixMount
2512 * gio/gunixvolume.c:
2513 (g_unix_volume_new):
2514 Use is_system_internal instead of own code
2516 * gio/glocaldirectorymonitor.c:
2517 * gio/gunixvolumemonitor.c:
2518 Update to new gunixmounts API
2523 2007-10-30 Alexander Larsson <alexl@redhat.com>
2526 Add volume name fsinfo attribute
2529 Read volume name info
2531 * gio/gunionvolumemonitor.c:
2532 Fix infinite loops when finalizing a union volume monitor
2534 2007-10-30 Alexander Larsson <alexl@redhat.com>
2536 * gio/goutputstream.[ch]:
2537 Add splice() with default implementation
2539 * gio/gsocketoutputstream.c:
2540 (g_socket_output_stream_write):
2541 Return error on cancellation correctly.
2543 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2545 * gio/glocalfile.c (g_local_file_trash):
2546 Do not leak a string.
2548 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2550 * gio/gfile.c (g_file_load_contents):
2551 Unref the stream after closing it.
2553 2007-10-25 Alexander Larsson <alexl@redhat.com>
2555 * gio/gioscheduler.h:
2558 2007-10-25 Alexander Larsson <alexl@redhat.com>
2562 Add g_file_has_uri_scheme and implement for local files
2564 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2566 * gio/gdesktopappinfo.c: do not leak a string.
2568 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2570 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2571 (g_local_directory_monitor_new):
2572 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2573 (g_local_file_monitor_new):
2574 Only look for the monitor type that should be used the first time
2575 and use g_qsort_with_data() instead of our own bubble sort
2578 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2581 * gio/fam/Makefile.am:
2582 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2583 * gio/fam/fam-helper.h:
2584 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2585 * gio/fam/gfamdirectorymonitor.c:
2586 * gio/fam/gfamdirectorymonitor.h:
2587 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2588 * gio/fam/gfamfilemonitor.h:
2589 * gio/glocaldirectorymonitor.c:
2590 * gio/glocaldirectorymonitor.h:
2591 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2592 * gio/glocalfilemonitor.h:
2593 * gio/inotify/Makefile.am:
2594 * gio/inotify/ginotifydirectorymonitor.c:
2595 * gio/inotify/ginotifydirectorymonitor.h:
2596 * gio/inotify/ginotifyfilemonitor.c:
2597 * gio/inotify/ginotifyfilemonitor.h:
2598 Implement the FAM and Inotify monitors as
2599 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2600 their own GIO module. GLocal(Directory|File)Monitor will use the
2601 monitor with the highest rank that is supported on that machine.
2603 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2606 Change GIO module dir to $(libdir)/gio/modules and change
2607 the log domain from GVFS to GIO. Also only export symbols starting
2608 with g_ in the resulting library.
2609 * gio/test-streams.c: (main):
2610 Set log handler for the GIO log domain.
2612 2007-10-22 Alexander Larsson <alexl@redhat.com>
2614 * gio/gfilenamecompleter.[ch]:
2615 Add g_filename_completer_set_dirs_only
2617 2007-10-22 Alexander Larsson <alexl@redhat.com>
2620 * gio/gurifuncs.[ch]:
2621 Add some simple URI helpers
2623 * gio/gfilenamecompleter.[ch]:
2624 Added object for filename (parse name actually) completion
2627 Handle ~ in parse names
2629 2007-10-17 Alexander Larsson <alexl@redhat.com>
2632 * gio/glocalfileinfo.c:
2633 Add and implement id:value attribute
2635 2007-10-17 Alexander Larsson <alexl@redhat.com>
2638 * gio/guniondrive.c:
2640 Add and implement g_drive_has_volumes
2642 2007-10-17 Alexander Larsson <alexl@redhat.com>
2645 * gio/glocalfileinfo.[ch]:
2646 Add unix:is_mountpoint and implement for local files
2648 2007-10-16 Alexander Larsson <alexl@redhat.com>
2650 * gio/gunionvolumemonitor.c:
2651 (g_union_volume_monitor_init):
2652 Fix up the unix type getting so that it works with gcc
2654 2007-10-12 Alexander Larsson <alexl@redhat.com>
2657 * gio/glocalfileinfo.c:
2658 Add thumbnail:failed to file info
2660 2007-10-12 Richard Hult <richard@imendio.com>
2662 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2663 optimizing away the get_type call (happens with some gcc versions,
2664 like the one shipped with OS X 10.4).
2666 2007-10-12 Alexander Larsson <alexl@redhat.com>
2668 * gio/glocalfileinfo.c:
2669 (_g_local_file_info_set_attribute):
2670 Fix build if not HAVE_XATTR
2671 Patch from Milosz Derezynski <internalerror@gmail.com>
2673 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2675 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2676 around for review, otherwise I would have asked you before
2679 2007-10-11 Alexander Larsson <alexl@redhat.com>
2682 Add thumbnail:path attribute
2684 * gio/glocalfileinfo.c:
2685 Implement thumbnail:path for local files
2687 2007-10-11 Alexander Larsson <alexl@redhat.com>
2689 * gio/glocalfileinfo.c:
2690 (_g_local_file_info_get):
2691 Avoid duplicate icon names
2693 2007-10-11 Alexander Larsson <alexl@redhat.com>
2695 * gio/gthemedicon.[ch]:
2696 Change g_themed_icon_get_names return type to const
2698 2007-10-10 Alexander Larsson <alexl@redhat.com>
2700 * gio/glocalfileinfo.c:
2701 Don't reference freed memory
2703 2007-10-10 Alexander Larsson <alexl@redhat.com>
2705 * gio/gfileattribute.c:
2708 * gio/glocalfileinfo.c:
2711 2007-10-10 Alexander Larsson <alexl@redhat.com>
2714 Check for NULL icons
2716 * gio/gfileattribute.c:
2717 Don't dup when getting objects (same as for string attributes)
2719 * gio/gicon.c (g_icon_equal):
2720 Safely handle NULLs in equal
2722 2007-10-10 Alexander Larsson <alexl@redhat.com>
2725 Fix c++ compilation issues
2726 Patch from Milosz Derezynski <internalerror@gmail.com>
2728 2007-10-10 Alexander Larsson <alexl@redhat.com>
2730 * programs/gio-monitor-dir.c:
2731 Don't crash if dir monitor not supported.
2733 2007-10-09 Alexander Larsson <alexl@redhat.com>
2736 Add missing G_END_DECLS
2738 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2740 * gio/gfile.c: (g_file_set_display_name),
2741 (g_file_query_settable_attributes),
2742 (g_file_query_writable_namespaces):
2743 Return NULL not FALSE on errors as the return type is a pointer.
2745 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2747 * gio/glocalfile.c: (g_local_file_monitor_file):
2748 Don't call monitor_file on the default interface vtable (which
2749 is NULL) but simply return NULL. The caller, GFile, will create a
2750 polling monitor if NULL is returned.
2752 2007-10-09 Alexander Larsson <alexl@redhat.com>
2756 * gio-unix-2.0.pc.in:
2757 Add gio-unix-2.0.pc if OS_UNIX
2760 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2762 2007-10-09 Alexander Larsson <alexl@redhat.com>
2764 * gio/gunixmounts.[ch]:
2765 Make unix mount monitoring API sane.
2766 Now its just a object with mounts_changed
2767 and mountpoints_changed signals.
2769 * gio/glocaldirectorymonitor.c:
2770 * gio/gunixvolumemonitor.c:
2771 Use new mount monitor api
2773 2007-10-09 Alexander Larsson <alexl@redhat.com>
2775 * gio/gunixmounts.[ch]:
2776 Move guess type into one call for mounts and one for mountpoints
2779 * gio/gunixvolume.c:
2782 2007-10-09 Alexander Larsson <alexl@redhat.com>
2784 * gio/gunixmounts.[ch]:
2785 Remove _ prefix in preparation to make this semi-public
2786 Hide implementation of structs
2788 * gio/glocaldirectorymonitor.c:
2790 * gio/gunixvolume.c:
2791 * gio/gunixvolumemonitor.c:
2792 Update for above API changes
2794 2007-10-08 Alexander Larsson <alexl@redhat.com>
2797 Better polling fallback. This also handles the case where we have
2798 a monitor_file implementation, but it fails.
2800 2007-10-08 Alexander Larsson <alexl@redhat.com>
2804 * gio/gunixmounts.c:
2805 * programs/gio-monitor-dir.c:
2806 * programs/gio-monitor-file.c:
2807 Added cancellable to file monitoring calls.
2808 These are really sync calls and need this.
2810 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2812 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2813 (g_local_vfs_class_init):
2814 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2815 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2817 2007-10-05 Alexander Larsson <alexl@redhat.com>
2819 * gio/gdirectorymonitorprivate.h:
2820 * gio/gfilemonitorprivate.h:
2821 * gio/gdirectorymonitor.h:
2822 * gio/gfilemonitor.h:
2823 Remove *private.h and move to the public API, so that
2824 we can do implementations outside gio (such as in gvfs)
2826 * gio/gdirectorymonitor.c:
2827 * gio/gfilemonitor.c:
2828 * gio/glocaldirectorymonitor.c:
2829 * gio/gpollfilemonitor.c:
2830 * gio/inotify/inotify-helper.c:
2831 * gio/fam/fam-helper.c:
2832 Update to the new header names
2834 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2836 * gio/gdirectorymonitor.c:
2837 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2840 2007-10-04 Alexander Larsson <alexl@redhat.com>
2842 * gio/glocalfileinfo.c (get_access_rights):
2843 Set CAN_TRASH when we can move the file.
2844 We should really also check for a parent trash dir.
2846 2007-10-04 Alexander Larsson <alexl@redhat.com>
2848 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2849 Add can_trash access attribute
2851 2007-10-04 Alexander Larsson <alexl@redhat.com>
2854 (g_local_file_trash):
2855 Create info file first. This is per-spec and allows
2856 us to actually trash directories.
2858 2007-10-02 Alexander Larsson <alexl@redhat.com>
2860 * gio/gdesktopappinfo.c:
2861 Implement the new mime support code.
2862 Always set app as handling mimetype when being set as default for it
2864 2007-10-01 Alexander Larsson <alexl@redhat.com>
2866 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2867 Fix up check for xattrs:
2869 2007-10-01 Alexander Larsson <alexl@redhat.com>
2872 (g_app_info_set_as_default_for_extension):
2873 (g_app_info_add_supports_type):
2874 (g_app_info_can_remove_supports_type):
2875 (g_app_info_remove_supports_type):
2876 Make these fail nicely if not implemented
2878 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2880 * gio/glocalfileoutputstream.c:
2881 * gio/glocalfileoutputstream.h:
2886 * programs/gio-save.c:
2887 Add a GFileCreateFlags argument to operations that can create
2890 2007-10-01 Alexander Larsson <alexl@redhat.com>
2892 * gio/gappinfo.[ch]:
2893 * gio/gdesktopappinfo.c:
2894 Add more (stubbed out) mime API needed for nautilus
2896 2007-10-01 Alexander Larsson <alexl@redhat.com>
2899 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2900 Add g_app_info_set_as_default_for_extension.
2902 * gio/gdesktopappinfo.c:
2903 Dummy for g_app_info_set_as_default_for_extension
2904 Support flags in g_app_info_create_from_commandline
2906 * gio/gwin32appinfo.c:
2908 Update for API changes
2910 * gio/gthemedicon.c:
2911 Properly NULL-terminate list of icon names
2913 2007-09-28 Alexander Larsson <alexl@redhat.com>
2915 * gio/gloadableicon.h:
2916 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2918 2007-09-28 Alexander Larsson <alexl@redhat.com>
2921 Install headers in $includedir/gio-standalone/
2923 * gio-2.0.pc.in: Added.
2924 * gio-standalone.pc.in: Removed.
2927 Renamed pkg-config file to match glib (for future move)
2928 Update to the new include dir
2931 Add more TODO comments
2933 2007-09-28 Alexander Larsson <alexl@redhat.com>
2935 * gio/gdesktopappinfo.[ch]:
2936 Expose new_from_filename
2937 Add getter for is_hidden and handle it better
2939 2007-09-28 Alexander Larsson <alexl@redhat.com>
2941 * gio/gfileinfo.[ch]:
2942 Rename g_file_size_format_for_display to
2943 g_format_file_size_for_display.
2944 Now it doesn't have the g_file prefix, so we
2945 can later move it to glib.
2947 2007-09-28 Alexander Larsson <alexl@redhat.com>
2949 * gio/gappinfo.[ch]:
2950 Add g_app_info_get_id and g_app_info_get_executable.
2951 Make all getters non-reffing
2952 Make g_app_info_launch take GFile arguments.
2953 Add must_support_uris argument to g_app_info_get_default_for_type.
2955 * gio/gwin32appinfo.c:
2956 Update to GAppInfo api changes
2958 * gio/gdesktopappinfo.c:
2959 Update to GAppInfo api changes
2960 Implement supports_xdg_startup_notify
2962 * gio/gfileicon.c (g_file_icon_get_file):
2963 Make getter non-reffing.
2968 2007-09-27 Alexander Larsson <alexl@redhat.com>
2970 * gio/gfileinfo.[ch]:
2971 Add g_file_size_format_for_display helper
2973 2007-09-27 Alexander Larsson <alexl@redhat.com>
2975 * gio/glocalfileinfo.c:
2976 Set UNIX_GID from gid, not from uid
2978 2007-09-27 Alexander Larsson <alexl@redhat.com>
2981 Add g_file_set_attributes_async
2983 2007-09-27 Alexander Larsson <alexl@redhat.com>
2985 * gio/glocalfile.c (g_local_file_set_display_name):
2986 Fix set_display_name to actually rename to the right place.
2987 Use lstat to look for existing files so we don't overwrite
2990 2007-09-26 Alexander Larsson <alexl@redhat.com>
2993 Add g_file_set_display_name_async()
2995 2007-09-26 Alexander Larsson <alexl@redhat.com>
2998 Add load_partial_contents async calls
3001 Make internal function static
3003 2007-09-26 Alexander Larsson <alexl@redhat.com>
3005 * gio/glocalfileinfo.c:
3006 Correctly detect broken symlinks
3008 2007-09-26 Alexander Larsson <alexl@redhat.com>
3010 * gio/gcancellable.c (g_cancellable_cancel):
3011 Allow cancel on NULL cancellable
3013 2007-09-25 Alexander Larsson <alexl@redhat.com>
3015 * gio/gsimpleasyncresult.c:
3016 Don't allocate g_error manually.
3017 Fixes g_slice/g_new mixup crash
3019 2007-09-25 Alexander Larsson <alexl@redhat.com>
3021 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3022 Actually set active_backend.
3023 This means the monitor will be cancelled correctly.
3025 2007-09-25 Alexander Larsson <alexl@redhat.com>
3027 * gio/gdirectorymonitor.c:
3028 Set timeout to NULL when destroying
3030 2007-09-25 Alexander Larsson <alexl@redhat.com>
3033 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3034 that is a better description of the error.
3036 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3038 * gio/gvfs.c: (g_vfs_get_local):
3039 Make the local vfs variable static. The same instance should
3042 2007-09-24 Alexander Larsson <alexl@redhat.com>
3044 * gio/glocalfileinfo.c:
3045 Pass in actual length read into sniffer, not the length
3048 2007-09-21 Alexander Larsson <alexl@redhat.com>
3050 * gio/gfileenumerator.c:
3053 * gio/gfileinputstream.c:
3054 * gio/gfileoutputstream.c:
3055 * gio/ginputstream.c:
3056 * gio/goutputstream.c:
3057 Don't crash if async callbacks are NULL
3059 2007-09-20 Alexander Larsson <alexl@redhat.com>
3062 Add async enumerate_children method and default
3065 2007-09-20 Alexander Larsson <alexl@redhat.com>
3068 Add g_file_contains_file & g_file_get_relative_path, since they
3069 were needed for nautilus.
3070 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3075 Implement new methods
3077 2007-09-17 Alexander Larsson <alexl@redhat.com>
3080 * gio/gfileinputstream.[ch]:
3081 * gio/gfileoutputstream.[ch]:
3083 * gio/glocalfileenumerator.[ch]:
3084 * gio/glocalfileinfo.[ch]:
3085 * gio/glocalfileinputstream.c:
3086 * gio/glocalfileoutputstream.c:
3087 * gio/gpollfilemonitor.c:
3088 * programs/gio-copy.c:
3089 * programs/gio-info.c:
3090 * programs/gio-move.c:
3091 Rename get_file_info to query_info() to make it clearer
3092 that these are not simple getters, but do i/o.
3094 2007-09-17 Alexander Larsson <alexl@redhat.com>
3096 * gio/gdatainputstream.[ch]:
3097 * gio/test-streams.c:
3098 Use _read_XXX instead of _get_XXX for the i/o calls
3101 2007-09-17 Alexander Larsson <alexl@redhat.com>
3104 Added needed stuff to TODO comment
3106 2007-09-17 Alexander Larsson <alexl@redhat.com>
3108 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3109 Don't error out removing the backup copy if it doesn't
3112 2007-09-14 Alexander Larsson <alexl@redhat.com>
3114 * programs/Makefile.am:
3115 * programs/gvfs-*.c:
3117 Renamed apps from gvfs-xxx to gio-xxx.
3119 2007-09-14 Alexander Larsson <alexl@redhat.com>
3122 * gio/gfileoutputstream.[ch]:
3123 * gio/glocalfileoutputstream.c:
3124 * programs/gvfs-save.c:
3125 g_file_output_stream_get_etag doesn't do i/o, so remove
3126 cancellation and error.
3128 2007-09-14 Alexander Larsson <alexl@redhat.com>
3131 Add new_etag output to replace_contents functions
3133 2007-09-14 Alexander Larsson <alexl@redhat.com>
3135 * gio/gfileoutputstream.[ch]:
3136 Add async get_file_info and default implementation
3138 2007-09-14 Alexander Larsson <alexl@redhat.com>
3140 * gio/gfileinputstream.c:
3141 Implement fallback wrapper for async get_file_info
3143 2007-09-14 Alexander Larsson <alexl@redhat.com>
3146 Add etag out argument to load_contents
3151 2007-09-14 Alexander Larsson <alexl@redhat.com>
3153 * gio/gcontenttype.c (looks_like_text):
3154 Whitespace like tab, cr and lf do not make the
3157 2007-09-14 Alexander Larsson <alexl@redhat.com>
3159 * gio/gfileinputstream.[ch]:
3160 Add async get_file_info.
3162 2007-09-13 Alexander Larsson <alexl@redhat.com>
3164 * gio/goutputstream.c (g_output_stream_write_all):
3165 Allow NULL for bytes_written
3167 2007-09-13 Alexander Larsson <alexl@redhat.com>
3169 * gio/gmemoryinputstream.[ch]:
3170 Add accessors for data
3172 2007-09-13 Alexander Larsson <alexl@redhat.com>
3174 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3175 Don't crash if length is NULL