1 2008-01-28 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.15.4 ===
5 2008-01-28 Alexander Larsson <alexl@redhat.com>
8 Register local vfs with prio 0.
11 Remove old name and prio class members
13 2008-01-28 Matthias Clasen <mclasen@redhat.com>
15 * tests/g-file.c: Disable some tests that are failing in
16 the absence of a http backend.
18 2008-01-28 Alexander Larsson <alexl@redhat.com>
22 Add registration hooks for extension points.
23 Register the gio extension points.
25 * fam/gfamdirectorymonitor.c:
26 * fam/gfamfilemonitor.c:
27 * glocaldirectorymonitor.[ch]:
28 * glocalfilemonitor.[ch]:
29 * gnativevolumemonitor.h:
30 * gunionvolumemonitor.c:
31 * gunixvolumemonitor.c:
34 * inotify/ginotifydirectorymonitor.c:
35 * inotify/ginotifyfilemonitor.c:
36 Use the extension points registration instead
39 2008-01-28 Matthias Clasen <mclasen@redhat.com>
42 * gvolume.[hc]: Document new API.
44 * gfile.c (g_file_copy_async): Fix docs
46 2008-01-27 Matthias Clasen <mclasen@redhat.com>
48 * gbufferedinputstream.c:
50 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
53 2008-01-27 Matthias Clasen <mclasen@redhat.com>
55 * glocalfile.c: Avoid trivial differences in translatable strings.
57 2008-01-25 Matthias Clasen <mclasen@redhat.com>
59 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
60 build with gcc 3.4 (#509419)
62 2008-01-25 Matthias Clasen <mclasen@redhat.com>
64 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
65 (#509994, Murray Cumming)
67 2008-01-25 Matthias Clasen <mclasen@redhat.com>
69 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
70 * gioscheduler.c: Keep calling io jobs until they return FALSE;
71 this allows big jobs to be executed in chunks, instead of blocking
72 the main loop for a long time.
74 * gsimpleasyncresult.c:
75 * giofile.c: Adapt callers.
77 2008-01-25 Alexander Larsson <alexl@redhat.com>
80 Implement changes discussed on xdg list.
81 Now we can add supported mimetypes by just using defaults.list
82 We can also remove associations in defaults.list.
84 2008-01-25 Alexander Larsson <alexl@redhat.com>
87 Don't make local copy of desktop file
88 for mimetype changes if the file already
89 supports the new mimetype.
91 2008-01-25 Matthias Clasen <mclasen@redhat.com>
95 * gbufferedinputstream.c:
96 * glocalfile.c: String improvements. (#511966,
97 Theppitak Karoonboonyanan)
99 2008-01-24 Matthias Clasen <mclasen@redhat.com>
101 * gioscheduler.h: Expand docs a bit.
103 2008-01-24 Alexander Larsson <alexl@redhat.com>
106 Add g_drive_get_identifier and
107 g_drive_enumerate_identifiers
110 Add g_volume_get_identifier and
111 g_volume_enumerate_identifiers
117 Implement identifiers for unix backend
119 2008-01-24 Alexander Larsson <alexl@redhat.com>
124 Add g_file_copy_async() (#511580)
125 Based on patch from Carlos Garcia Campos
127 2008-01-23 Matthias Clasen <mclasen@redhat.com>
129 * gioscheduler.c: Some documentation additions.
131 2008-01-22 Alexander Larsson <alexl@redhat.com>
134 (g_desktop_app_info_new):
137 2008-01-22 Alexander Larsson <alexl@redhat.com>
140 (g_desktop_app_info_new_from_filename):
143 2008-01-22 Alexander Larsson <alexl@redhat.com>
145 * glocalfileinfo.c (get_thumbnail_attributes):
148 2008-01-22 Alexander Larsson <alexl@redhat.com>
151 (canonicalize_filename):
152 Canonicalize paths that start with more than
157 (test_g_file_new_for_path):
160 2008-01-22 Alexander Larsson <alexl@redhat.com>
163 Allow UTF-8 in file:// parse names.
166 * tests/data-input-stream.c:
167 * tests/data-output-stream.c:
168 * tests/g-file-info.c:
170 Added a bunch of tests from Tomas Bzatek
172 2008-01-21 Matthias Clasen <mclasen@redhat.com>
174 * === Released 2.15.3 ===
176 2008-01-21 Alexander Larsson <alexl@redhat.com>
178 * gfileinputstream.[ch]:
179 * gfileoutputstream.[ch]:
181 Remove duplicated GSeekable functions. (#509990)
182 Just use the g_seekable_xxx() calls instead.
184 2008-01-21 Matthias Clasen <mclasen@redhat.com>
187 * gvolumemanager.c: Whitespace cleanups.
189 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
190 Use the right mode when creating the file.
192 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
195 * gfileinputstream.c:
197 * goutputstream.c: Documentation: Fixed minor typos
198 and added more mentions of specific _finish() functions.
200 2008-01-21 Alexander Larsson <alexl@redhat.com>
202 * inotify/Makefile.am:
203 * inotify/inotify-helper.c:
204 * inotify/inotify-kernel.c:
205 * inotify/inotify-path.c:
206 * inotify/local_inotify.h: Removed.
207 * inotify/local_inotify_syscalls.h: Removed.
208 Removed the included copies of the inotify
209 headers. We now only use the <sys/inotify.h>
210 header which exists on modern systems.
211 This fixes problems on ARM and SH5 (#510448)
212 but is also generally much cleaner and future
213 safe. For instance, if other OSes add support
214 for inotify it should "just work".
216 2008-01-20 Matthias Clasen <mclasen@redhat.com>
218 * inotify/*.c: Coding style fixes.
219 * inotify/inotify-missing.c: Use g_timeout_add_seconds
220 for the 1/4 Hz timer.
222 2008-01-20 Matthias Clasen <mclasen@redhat.com>
226 * gmemoryinputstream.c:
227 * gmemoryoutputstream.c:
229 * gthemedicon.c: Documentation updates
231 2008-01-20 Murray Cumming <murrayc@murrayc.com>
233 * gfile.c: documentation: Fixed more minor
236 2008-01-18 Murray Cumming <murrayc@murrayc.com>
238 * gmount.c: (g_mount_remount): documentation:
239 Mention g_mount_remount_finish() instead of
240 g_mount_unmount_finish().
242 2008-01-18 Murray Cumming <murrayc@murrayc.com>
246 * gfile.c: Fixed some minor typos in the
249 2008-01-18 Murray Cumming <murrayc@murrayc.com>
251 * gio/gvolumemonitor.c:
252 (g_volume_monitor_get_connected_drives):
253 (g_volume_monitor_get_volumes):
254 (g_volume_monitor_get_mounts): Documentation:
255 Clarify the ownership of the regurn GLists.
257 2008-01-17 Alexander Larsson <alexl@redhat.com>
260 Add the async find_enclosing_mount version
261 to the header file too.
263 2008-01-17 Alexander Larsson <alexl@redhat.com>
266 Add async version of find_enclosing_mount
267 with default implementation.
269 2008-01-17 Alexander Larsson <alexl@redhat.com>
274 Allow calls to implementation of copy and write
275 even if the type of the file implementations is
276 different. This can be used to implement native
277 upload and download calls in a vfs.
281 Protect against the case where move is called
282 with one file not being local.
284 Make sure we call the progress callback once
285 in the native move operation so that the caller
286 knows how many bytes were copied.
288 2008-01-16 Murray Cumming <murrayc@murrayc.com>
291 * gdatainputstream.c:
293 * gfileoutputstream.c:
298 * gunixmounts.c: Corrected some typos in the documentation:
300 its -> it's (where appropriate).
302 2008-01-16 Alexander Larsson <alexl@redhat.com>
306 Add g_file_query_exists (#508771)
308 2008-01-15 Murray Cumming <murrayc@murrayc.com>
313 * gvolume.c: For async functions that have no non-async
314 version, document that the GAsyncReadyCallback may be NULL.
317 2008-01-15 Alexander Larsson <alexl@redhat.com>
319 * gmemoryinputstream.c:
320 * gmemoryoutputstream.c:
321 Don't do pointer arithmetic on void * (#508602)
322 Patch from Kazuki IWAMOTO
324 2008-01-14 Matthias Clasen <mclasen@redhat.com>
326 * === Released 2.15.2 ===
328 2008-01-14 Alexander Larsson <alexl@redhat.com>
330 * gfile.c (g_file_monitor_file):
331 Don't set error here, since we fallback to polling monitor.
333 2008-01-14 Alexander Larsson <alexl@redhat.com>
336 (g_file_monitor_directory):
337 (g_file_monitor_file):
338 Add GError to file monitor calls
340 * glocaldirectorymonitor.c:
341 * glocaldirectorymonitor.h:
343 * glocalfilemonitor.c:
344 * glocalfilemonitor.h:
346 Update for above change
348 2008-01-14 Alexander Larsson <alexl@redhat.com>
352 Handle root correctly in g_file_get_relative_path (#508719)
354 2008-01-14 Alexander Larsson <alexl@redhat.com>
357 Clean up docs and example for GAsyncResult (#508074)
359 2008-01-11 Murray Cumming <murrayc@murrayc.com>
361 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
362 and correct some spelling mistakes. Bug #508108.
364 2008-01-11 Matthias Clasen <mclasen@redhat.com>
366 * glocalfileinfo.c: Add a comment.
368 2008-01-10 Murray Cumming <murrayc@murrayc.com>
370 * gfileinfo.c: GFileInfo description: Mention
371 how to actually set attributes in a GFile and how to discover
372 which attributes are settable. Bug #508378.
374 2008-01-10 A. Walton <awalton@svn.gnome.org>
376 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
377 (g_app_info_get_default_for_type):
378 Check for NULL content types.
380 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
382 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
384 2008-01-09 Murray Cumming <murrayc@murrayc.com>
386 * gfile.c: *_async() functions: Several small corrections
387 to the documentation, mostly correcting copy/paste errors
388 and improving some sentences.
390 2008-01-09 Dan Winship <danw@gnome.org>
392 * glocalfile.c (get_unique_filename): x86_64 fix
394 2008-01-09 Alexander Larsson <alexl@redhat.com>
399 Add g_unix_mount_guess_should_display and use
400 for unix volume monitor backend.
401 This means we more or less show what the
402 gnome-vfs backend did.
403 Based on patch from Padraig O'Briain
405 2008-01-09 Alexander Larsson <alexl@redhat.com>
409 Add g_themed_icon_new_with_default_fallbacks
412 Use default fallbacks for icons
414 2008-01-09 Alexander Larsson <alexl@redhat.com>
417 * gmountoperation.[ch]:
418 Change the API a bit so that unhandled methods
419 get reported via the reply, rather than by
420 the signal emission return value. This is because
421 some handlers can't know this immediately without
422 doing I/O, and this is an async operation that
425 2008-01-09 Alexander Larsson <alexl@redhat.com>
428 * fam/gfamdirectorymonitor.c:
429 * fam/gfamfilemonitor.c:
430 Fix double free crash (#508224)
431 Patch from Joe Marcus Clarke
433 008-01-07 Matthias Clasen <mclasen@redhat.com>
435 * === Released 2.15.1 ===
437 2008-01-07 Alexander Larsson <alexl@redhat.com>
439 * gunixinputstream.c (g_unix_input_stream_skip_finish):
440 Fix warning (#507835)
442 2008-01-07 Alexander Larsson <alexl@redhat.com>
445 Pass --internal to glib-genmarshal
450 Use better types for signal arguments (#507822)
452 2008-01-07 Alexander Larsson <alexl@redhat.com>
455 Build test subdir after .
456 Remove gdirectorymonitor.[ch]
458 * gdirectorymonitor.[ch]:
462 Remove GDirectoryMonitor and make
463 GFileMonitor the baseclass for both file and
464 directory monitors. Lift the more generic
465 rate limiting code from GDirectoryMonitor
469 * fam/gfamdirectorymonitor.[ch]:
470 * inotify/ginotifydirectorymonitor.[ch]:
471 * inotify/inotify-helper.c:
472 * glocaldirectorymonitor.[ch]:
475 Update for the removed GDirectoryMonitor.
477 * gmemoryoutputstream.c:
478 Remove ununsed variable
480 2008-01-07 Alexander Larsson <alexl@redhat.com>
482 * gmemoryinputstream.c:
483 Translate error strings
486 * gmemoryoutputstream.[ch]:
487 New implementation that avoids using GByteArray
488 in implementation and API. (#506377)
490 2008-01-06 Matthias Clasen <mclasen@redhat.com>
492 * tests/*: Add a test for memory input streams.
494 * Makefile.am: Add tests to SUBDIRS.
496 2008-01-06 Matthias Clasen <mclasen@redhat.com>
498 * glocalfilemonitor.c:
499 * glocaldirectorymonitor.c: Mark property nicks and blurbs
502 2008-01-06 Matthias Clasen <mclasen@redhat.com>
504 * gdesktopappinfo.c: Fix a docs typo.
506 * gfileattribute.c: Add information about extended attributes
507 to the documentation. (#505058)
509 2008-01-04 Alexander Larsson <alexl@redhat.com>
513 Use the right type (uint) for the ask_password signal.
515 2008-01-04 Alexander Larsson <alexl@redhat.com>
520 Add g_app_info_supports_files()
521 Remove desktop arg from g_app_info_should_show().
523 * gdesktopappinfo.[ch]:
524 Implement g_app_info_supports_files() and new should_show()
525 Add g_desktop_app_info_set_desktop_env() to set the desktop
526 for should_show(). (This will be set by gtk+ later)
528 2008-01-04 Alexander Larsson <alexl@redhat.com>
531 * gmemoryinputstream.[ch]:
532 Improve API so that you can use multiple chunks
533 of memory and custom destroy functions. (#506374)
535 2008-01-03 Alexander Larsson <alexl@redhat.com>
538 Handle NULL attribute matchers safely, as we return this
539 for empty attribute matcher strings.
541 2008-01-03 Alexander Larsson <alexl@redhat.com>
543 * gunixmounts.c (g_unix_is_mount_path_system_internal):
544 Add /usr/local to list of internal mountpoints
546 2008-01-03 Alexander Larsson <alexl@redhat.com>
549 Check for HAVE_LCHOWN (#505887)
551 2008-01-03 Alexander Larsson <alexl@redhat.com>
555 Add define for selinux context attribute.
556 Fix missing : -> :: namespace separator change
557 Fix missing _ -> - name change for xattr-sys.
560 2008-01-03 Alexander Larsson <alexl@redhat.com>
563 Link to libglib and libgobject directly (#504879)
564 Patch from Sebastien Bacher
566 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
568 * gfile.c: Expanded the g_file_new_for_commandline_arg
569 description a bit, based on the code and the docs of the
570 other g_file_new_for_* functions.
572 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
574 * gfilemonitor.h: Fixed typo in docs.
576 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
578 Updates to GIO documentation. (#506395, Mikael Hermansson)
580 * gcontenttype.c: Describe memory management for return value of
581 g_content_types_get_registered(). Missing piece from #505815.
582 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
583 GVolume, GDrive, GMounts, which hopefully gives the user less
584 confusions when using this API. Following explainations from
585 Alexander Larsson on gtk-devel-list.
587 2007-12-30 Matthias Clasen <mclasen@redhat.com>
589 * gfileinfo.c: Expand the long description.
591 2007-12-30 Matthias Clasen <mclasen@redhat.com>
594 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
595 fix builds with --disable-visibility. (#500273, Christian Persch)
597 2007-12-30 Matthias Clasen <mclasen@redhat.com>
599 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
600 in the list of returned app infos.
602 2007-12-30 Matthias Clasen <mclasen@redhat.com>
604 * gappinfo.c: Fix a cross-reference
606 2007-12-30 Matthias Clasen <mclasen@redhat.com>
608 * gfileinputstream.c:
609 * gfileoutputstream.c:
615 * gfileinfo.c: Documentation updates.
617 2007-12-26 Matthias Clasen <mclasen@redhat.com>
619 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
622 2007-12-26 Matthias Clasen <mclasen@redhat.com>
624 * gcontenttype.c (g_content_types_get_registered): Don't return
625 freed memory (#505815, Mikael Hermansson)
627 2007-12-25 Paolo Borelli <pborelli@katamail.com>
629 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
630 used to detect statbuf->st_blocks. (#505042)
632 2007-12-24 Matthias Clasen <mclasen@redhat.com>
634 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
635 environment handling. (#504829, Cosimo Cecchi)
637 2007-12-22 Matthias Clasen <mclasen@redhat.com>
639 * gappinfo.c: Doc improvements
641 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
644 2007-12-20 Matthias Clasen <mclasen@redhat.com>
646 * === Released 2.15.0 ===
648 2007-12-20 Hans Breuer <hans@breuer.org>
650 * makefile.msc : don't build gdesktopappinfo.obj, it collides
651 with symbols gwin32appinfo.obj, added gmount.obj
652 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
654 2007-12-20 Alexander Larsson <alexl@redhat.com>
660 * gfilenamecompleter.c:
663 * gpollfilemonitor.c:
664 File attribute renames:
667 id::fs -> id::filesystem
669 2007-12-20 Alexander Larsson <alexl@redhat.com>
678 Add GMountUnmountFlags to all unmount and
680 Add g_mount_remount() call.
682 2007-12-20 Alexander Larsson <alexl@redhat.com>
684 * gvfs.c (get_default_vfs):
685 Fix unused variable warning
687 2007-12-19 Matthias Clasen <mclasen@redhat.com>
689 * pltcheck.sh: Update
691 2007-12-19 Matthias Clasen <mclasen@redhat.com>
693 * gunionvolumemonitor.c:
694 * gunixmount.c: Remove C99 comments
696 2007-12-19 Matthias Clasen <mclasen@redhat.com>
698 * gio.symbols: Add some missing symbols
700 2007-12-19 Alexander Larsson <alexl@redhat.com>
703 Make g_io_modules_load_all_in_directory not unuse
704 loaded modules so that users of it can do stuff
706 Init internal "module" types.
707 Initialize static prio and name for types so that
708 we don't have to load modules to get it.
710 * gnativevolumemonitor.h:
712 Move is_supported to parent class so that
713 non-native monitors can avoid being initialized
714 too. (For instance GDaemonVolumeMonitor if we're
715 not using GDaemonVfs.)
717 * glocaldirectorymonitor.[ch]:
718 * glocalfilemonitor.[ch]:
719 * gunionvolumemonitor.c:
720 * gunixvolumemonitor.c:
722 Find plugins using the static prio+name to
723 avoid unnecessarily loading the modules.
725 2007-12-19 Alexander Larsson <alexl@redhat.com>
730 2007-12-19 Alexander Larsson <alexl@redhat.com>
732 * gunionvolumemonitor.c:
733 Store the native type as GType, not class so that
734 we can unload it. But still avoid unnecessarily
737 2007-12-19 David Zeuthen <davidz@redhat.com>
739 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
740 add signals 'disconnected' and 'eject-button' on GDrive. Add
741 signal 'removed' on GVolume and 'unmounted' on GMount.
743 * gdrive.c: (g_drive_base_init):
745 * gfile.c: (g_file_mount_mountable),
746 (g_file_mount_enclosing_volume):
749 * gmount.c: (g_mount_base_init):
751 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
752 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
753 * gvolume.c: (g_volume_base_init), (g_volume_mount):
757 2007-12-17 Matthias Clasen <mclasen@redhat.com>
759 * *.c: Fix up includes in the section docs.
761 2007-12-17 Alexander Larsson <alexl@redhat.com>
763 * gnativevolumemonitor.h:
764 * gunionvolumemonitor.c:
765 * gunixvolumemonitor.c:
766 Add is_supported() to GNativeVolumeMonitorClass so
767 that we can avoid having to create an object to see
768 if the backend is supported at runtime.
769 Also add name member and an env var to pick a specific
770 volume monitor backend.
774 Add cancellable to _g_mount_get_for_mount_path()
776 * glocaldirectorymonitor.c:
777 * glocalfilemonitor.c:
778 Avoid loading and unloading modules while sorting.
780 2007-12-17 Matthias Clasen <mclasen@redhat.com>
783 * gunixmounts.[hc]: Namespace waste reduction, move some
784 g_get_unix_mount functions to the g_unix_mount namespace.
787 * gunixvolumemonitor.c:
789 * glocaldirectorymonitor.c: Update all callers.
791 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
793 2007-12-17 Alexander Larsson <alexl@redhat.com>
796 Add doc comments about what GFile operations are
797 guaranteed to not block.
799 2007-12-17 Alexander Larsson <alexl@redhat.com>
802 Add missing #ifdef fixing OSX build.
803 (#503334, patch from Richard Hult)
805 2007-12-14 David Zeuthen <davidz@redhat.com>
809 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
810 (g_mount_eject), (g_mount_eject_finish):
812 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
813 (get_volume_for_uuid), (get_mount_for_uuid),
814 (g_union_volume_monitor_class_init),
815 (get_default_native_type_with_exclude), (get_default_native_type),
816 (get_native_type), (update_native_type),
817 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
818 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
819 (g_unix_mount_can_eject), (eject_unmount_cb),
820 (eject_unmount_read_error), (eject_unmount_do),
821 (g_unix_mount_unmount), (g_unix_mount_eject),
822 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
823 * gunixmounts.c: (g_unix_mount_guess_can_eject),
824 (g_unix_mount_point_guess_can_eject):
826 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
827 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
828 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
829 (g_unix_volume_mount), (g_unix_volume_eject),
830 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
831 * gunixvolumemonitor.c: (get_volume_for_uuid),
832 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
834 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
835 (g_volume_eject), (g_volume_eject_finish):
837 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
838 (g_volume_monitor_get_mount_for_uuid):
841 Provide eject() on both GMount and GVolume and utility functions
842 to guess whether a GUnixMountPoint or GUnixMountEntry should be
843 ejected. Introduce the concept of UUID's and wire it into GVolume
844 and GMount and provide API on GVolumeMonitor to find such
845 instances. Also handle the case where an external
846 GNativeVolumeMonitor fails to initialize. Lock around the
847 _g_get_mount_for_mount_path() function such that volume monitor
848 implementations won't have to do locking themselves.
850 2007-12-17 Matthias Clasen <mclasen@redhat.com>
858 * gvolume.h: Documentation updates
860 2007-12-14 Matthias Clasen <mclasen@redhat.com>
863 * gfile.h: Doc updates
865 2007-12-14 Matthias Clasen <mclasen@redhat.com>
868 * gdesktopappinfo.c: Use hash table iterators.
870 2007-12-14 Alexander Larsson <alexl@redhat.com>
873 * gfileattribute.[ch]:
874 * gfileattribute-priv.h:
875 Move GFileAttributeValue to a private header, as
879 Make set_attribute take a type + a pointer instead
880 of a GFileAttributeValue.
883 Fix up for above changes.
884 Add g_file_info_get_attribute_data to get
885 all info in one call, g_file_info_get_attribute_status
886 to get the status and g_file_info_get_attribute_as_string.
890 * glocalfileinfo.[ch]:
894 Make _guess_type static.
896 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
899 * inotify/Makefile.am: Fixed build when srcdir != builddir,
900 made mkenums and friends use temporary files to avoid leaving
901 empty generated files on failure (#503470).
903 2007-12-14 Alexander Larsson <alexl@redhat.com>
908 2007-12-14 Alexander Larsson <alexl@redhat.com>
912 * gfileattribute.[ch]:
915 * glocalfileoutputstream.c:
916 * gmountoperation.[ch]:
917 * goutputstream.[ch]:
918 Clean up all flags enums to not have _FLAGS in them
919 Make the names of some of the enums better.
924 2007-12-14 Michael Natterer <mitch@imendio.com>
926 * gio.symbols: fix g_io_scheduler symbol names.
928 2007-12-14 Alexander Larsson <alexl@redhat.com>
934 * gbufferedinputstream.h:
935 * gbufferedoutputstream.h:
938 * gdatainputstream.h:
939 * gdataoutputstream.h:
941 * gdirectorymonitor.h:
948 * gfileinputstream.h:
950 * gfilenamecompleter.h:
951 * gfileoutputstream.h:
952 * gfilterinputstream.h:
953 * gfilteroutputstream.h:
961 * gmemoryinputstream.h:
962 * gmemoryoutputstream.h:
967 * gsimpleasyncresult.h:
969 * gunixinputstream.h:
971 * gunixoutputstream.h:
975 * inotify/Makefile.am:
976 Only allow including <gio/gio.h> from apps
978 2007-12-14 Alexander Larsson <alexl@redhat.com>
981 * gsimpleasyncresult.c:
982 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
983 Split out the send_to_mainloop call into two versions instead
984 of having the block argument.
986 2007-12-13 Alexander Larsson <alexl@redhat.com>
990 * gbufferedinputstream.c:
992 * gfileinputstream.c:
993 * gfileoutputstream.c:
997 g_push/pop_current_cancellable ->
998 g_cancellable_push/pop_current
1000 2007-12-13 Alexander Larsson <alexl@redhat.com>
1004 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1006 2007-12-13 Alexander Larsson <alexl@redhat.com>
1008 * gmountoperation.h:
1009 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1011 2007-12-12 Alexander Larsson <alexl@redhat.com>
1014 Fix race condition when freeing proxy in
1015 g_io_job_send_to_mainloop().
1017 2007-12-12 Alexander Larsson <alexl@redhat.com>
1023 Make attribute namespace separator "::" instead of ":".
1024 Use - instead of _ as separator in attribute names.
1026 2007-12-12 Alexander Larsson <alexl@redhat.com>
1028 * gbufferedinputstream.h:
1029 * gbufferedoutputstream.h:
1030 * gdatainputstream.h:
1031 * gdataoutputstream.h:
1032 * gdirectorymonitor.h:
1033 * gfileenumerator.h:
1034 * gfileinputstream.h:
1036 * gfileoutputstream.h:
1037 * gfilterinputstream.h:
1038 * gfilteroutputstream.h:
1040 * glocalfileinputstream.h:
1041 * glocalfileoutputstream.h:
1042 * gmemoryinputstream.h:
1043 * gmemoryoutputstream.h:
1044 * gnativevolumemonitor.h:
1046 * gunixinputstream.h:
1047 * gunixoutputstream.h:
1050 s/parent/parent_instance/ in GObjects
1052 2007-12-12 Alexander Larsson <alexl@redhat.com>
1057 No need for padding for interfaces
1059 2007-12-12 Alexander Larsson <alexl@redhat.com>
1063 * gbufferedinputstream.c:
1064 * gbufferedoutputstream.c:
1067 * gdatainputstream.[ch]:
1068 * gdesktopappinfo.c:
1069 * gdirectorymonitor.c:
1071 * gfileattribute.[ch]:
1074 * gfileinputstream.h:
1075 * gfilemonitor.[ch]:
1076 * gfileoutputstream.[ch]:
1077 * gfilterinputstream.h:
1078 * gfilteroutputstream.h:
1081 * gloadableicon.[ch]:
1082 * gmemoryinputstream.c:
1083 * gmountoperation.c:
1085 Fix up a bunch of details in the docs.
1090 2007-12-11 David Zeuthen <davidz@redhat.com>
1092 Rework how volumes, drives and volume monitoring is
1093 done. Previosly the model was
1095 GDrive <1-1> GVolume
1097 where a GDrive instance represented a mount point and a GVolume
1098 instance represented a mounted file system. This patch changes it
1101 GDrive <1-N> GVolume <1-1> GMount
1103 where GMount now serves the purpose of the old GVolume and the new
1104 GVolume serves the purpose of the old GDrive. In addition the new
1105 GDrive interface is used to represent a collection of GVolume
1106 instances (typically partitions) and also contains utility to query
1107 the state of the physical drive the GDrive object represents (such
1108 as checking for media, polling the drive, ejecting the media etc.).
1110 Also implement mounting and unmounting in the Unix volume monitor
1111 backend. A subquent patch will introduce GDrive support for ejection
1115 * gdrive.c: (g_drive_is_media_check_automatic),
1116 (g_drive_is_media_removable), (g_drive_has_media),
1117 (g_drive_can_poll_for_media), (g_drive_eject),
1118 (g_drive_eject_finish), (g_drive_poll_for_media),
1119 (g_drive_poll_for_media_finish):
1121 * gfile.c: (g_file_find_enclosing_mount):
1124 * glocaldirectorymonitor.c:
1125 (g_local_directory_monitor_constructor), (mounts_changed):
1126 * glocalfile.c: (get_mount_info),
1127 (g_local_file_find_enclosing_mount),
1128 (g_local_file_file_iface_init):
1129 * gnativevolumemonitor.h:
1130 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1131 (get_connected_drives), (g_union_volume_monitor_class_init),
1132 (child_volume_added), (child_volume_removed),
1133 (child_volume_changed), (child_mount_added), (child_mount_removed),
1134 (child_mount_pre_unmount), (child_mount_changed),
1135 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1136 (g_union_volume_monitor_remove_monitor),
1137 (_g_mount_get_for_mount_path):
1138 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1139 (guess_system_internal), (_g_get_unix_mounts),
1140 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1141 (g_unix_mount_free), (g_unix_mount_compare),
1142 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1143 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1144 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1145 (type_to_icon), (g_unix_mount_guess_name),
1146 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1147 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1148 (_resolve_symlink), (_resolve_dev_root):
1150 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1151 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1152 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1153 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1154 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1155 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1156 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1157 (g_unix_volume_volume_iface_init):
1159 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1160 (get_mounts), (get_volumes), (get_connected_drives),
1161 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1162 (mountpoints_changed), (mounts_changed),
1163 (g_unix_volume_monitor_init),
1164 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1165 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1166 * gunixvolumemonitor.h:
1167 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1168 (g_volume_mount), (g_volume_mount_finish):
1170 * gvolumemonitor.c: (g_volume_monitor_class_init),
1171 (g_volume_monitor_get_connected_drives),
1172 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1175 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1177 * gmountoperation.h (GPasswordFlags): Close the gap
1179 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1181 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1183 * gdesktopappinfo.[hc]: Remove _-prefixes
1185 2007-12-10 Tor Lillqvist <tml@novell.com>
1187 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1190 2007-12-10 Alexander Larsson <alexl@redhat.com>
1192 * gfile.c (g_file_set_display_name):
1193 Don't hardcode '/' (#502727)
1195 2007-12-09 Hans Breuer <hans@breuer.org>
1197 * makefile.msc : follow lib naming convention
1198 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1199 for user and group name, tested with ../tests/gio-ls
1201 2007-12-09 A. Walton <awalton@svn.gnome.org>
1203 * gdesktopappinfo.c:
1209 * gfileenumerator.c:
1214 * gmemoryinputstream.c:
1215 * gmemoryoutputstream.c:
1217 * gsimpleasyncresult.c:
1218 More documentation cleanup and filling in missing information, bringing
1219 GIO to 99% symbol coverage.
1221 2007-12-08 Hans Breuer <hans@breuer.org>
1223 [gio compiles and links on win32, not sure how much already works]
1224 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1225 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1226 base on win32 API; prefer g_lstat() over lstat(); instead of
1227 localtime_r() use an all GLib implementation on win32;
1228 get_mount_info() still needs a win32 specifc implementation
1229 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1230 win32_get_file_user_info to get owner/group info without uid/gid
1231 * glocalfileinputstream.c : include <io.h> on win32
1232 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1233 definition, use g_win32_ftruncate() for G_OS_WIN32
1234 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1235 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1236 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1237 * makefile.msc : updated
1239 2007-12-07 Alexander Larsson <alexl@redhat.com>
1241 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1242 Avoid warning spew if error == NULL
1244 2007-12-07 Alexander Larsson <alexl@redhat.com>
1247 Update docs wrt etags
1249 2007-12-06 Alexander Larsson <alexl@redhat.com>
1252 Include sys/types.h for dev_t (#501919)
1254 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1258 Make abicheck and pltcheck pass.
1260 2007-12-05 Alexander Larsson <alexl@redhat.com>
1263 * giomodule-priv.h: Added.
1264 * glocaldirectorymonitor.c:
1265 * glocalfilemonitor.c:
1266 * gunionvolumemonitor.c:
1268 Actually add the declaration of _g_io_modules_ensure_loaded
1270 2007-12-05 Alexander Larsson <alexl@redhat.com>
1272 * gdatainputstream.c:
1277 * glocaldirectorymonitor.c:
1278 * glocalfilemonitor.c:
1279 * gunionvolumemonitor.c:
1281 Make g_io_modules_ensure_loaded a private function and
1282 don't pass in the dirname. This means we can do magic
1283 directory finding in the win32 version.
1284 Export the actual load-modules-in-directory code so that
1285 gvfs can reuse that.
1287 2007-12-05 Alexander Larsson <alexl@redhat.com>
1289 * gbufferedinputstream.c:
1290 * gbufferedoutputstream.c:
1293 * gfileenumerator.[ch]:
1294 * gfileinputstream.c:
1295 * gfileoutputstream.[ch]:
1296 * gfilterinputstream.c:
1297 * gfilteroutputstream.c:
1298 * ginputstream.[ch]:
1300 * glocalfileenumerator.c:
1301 * glocalfileinputstream.c:
1302 * glocalfileoutputstream.c:
1303 * gmemoryinputstream.c:
1304 * gmemoryoutputstream.c:
1305 * goutputstream.[ch]:
1308 * gunixinputstream.c:
1309 * gunixoutputstream.c:
1310 Rename all struct members named:
1311 read, write, close, truncate, or mount
1312 to foo_fn, as these are reserved names
1313 and could be defined as macros in libc.
1316 2007-12-04 Alexander Larsson <alexl@redhat.com>
1319 (g_output_stream_close):
1320 Only call flush if non-null.
1322 2007-11-30 Dan Winship <danw@gnome.org>
1324 * ginputstream.c (g_input_stream_set_pending): Make this take a
1325 GError and return a gboolean, and do the "outstanding operation"
1326 check (and the "stream is already closed" check) itself.
1327 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1329 * goutputstream.c (g_output_stream_set_pending)
1330 (g_output_stream_clear_pending): Likewise
1332 * gbufferedinputstream.c:
1333 * gfileinputstream.c:
1334 * gfileoutputstream.c: Update for that
1336 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1337 Like g_simple_async_report_error_in_idle, but takes a GError
1338 rather than building one.
1340 2007-11-30 Dan Winship <danw@gnome.org>
1342 * goutputstream.c: Don't cheat and unset the "pending" flag around
1343 inner calls. Instead, call the class method directly rather than
1344 the wrapper function that checks "pending"
1346 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1348 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1350 2007-12-03 Hans Breuer <hans@breuer.org>
1352 [start of port to win32/msvc]
1353 * gcancellable.c : HAVE_UNIST_H and _pipe()
1354 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1355 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1356 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1358 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1359 * glocalvfs.c : use HAVE_PWD_H
1360 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1361 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1362 * Makefile.am : added to EXTRA_DIST
1364 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1366 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1369 2007-12-03 Alexander Larsson <alexl@redhat.com>
1372 Handle OSX style xattrs API (#500506)
1374 2007-12-03 Alexander Larsson <alexl@redhat.com>
1378 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1380 2007-12-02 A. Walton <awalton@svn.gnome.org>
1384 Documentation accuracy fixes.
1386 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1388 * gioenumtypes.c.template: Fix typo.
1390 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1392 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1394 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1396 * gdirectorymonitor.c:
1397 * gfilemonitor.c: Add properties
1399 * gbufferedoutputstream.c: Don't mark buffer-size property
1402 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1404 * gbufferedoutputstream.c: Add auto-grow property.
1406 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1408 * *.c: Unify the capitalization of section headings.
1410 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1412 * gmountoperation.c: Add properties
1414 * gdatainputstream.c: Turn byte-order and newline-type into
1417 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1419 * gioenumtypes.[hc].template: Templates for enum registration
1421 * Makefile.am: Generate gioenumtypes.[hc]
1423 * gio.h: Include gioenumtypes.h
1425 * gfile.h: Add some explicit nicks.
1427 * gio.symbols: Add new symbols
1429 * pltcheck.sh: Adjust
1431 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1433 * *.c: Explain etags and link to the explanation
1435 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1437 * *.c: Explain I/O priority.
1439 * *.c: More coding style fixes.
1441 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1443 * gasyncresult.c: Add another paragraph to the intro,
1444 adjust coding style of example.
1446 2007-11-29 A. Walton <awalton@svn.gnome.org>
1449 Fixes unknown meaning in GAppLaunchContext docs.
1451 Clarify asynchronous ops.
1453 Fix entity tag docs.
1456 Provides missing gtk-doc section, fixes API docs slighly.
1457 * gsimpleasyncresult.c:
1458 Fill in missing info in docs.
1459 * gunixinputstream.c:
1460 * gunixoutputstream.c:
1461 Be more expressive in short description.
1463 Remove gtk-doc stubs for non-public API.
1465 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1467 * *.c: Coding style fixups
1469 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1471 * inotify/inotify-helper.c: Don't export the lock from libgio.
1473 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1476 * abicheck.sh: Fix copy-and-paste leftovers
1478 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1480 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1482 2007-11-28 Alexander Larsson <alexl@redhat.com>
1486 Removed unnecessary file
1488 * gdesktopappinfo.[ch]:
1491 * glocaldirectorymonitor.[ch]:
1493 * glocalfileenumerator.[ch]:
1494 * glocalfileinputstream.[ch]:
1495 * glocalfilemonitor.[ch]:
1496 * glocalfileoutputstream.[ch]:
1498 * gnativevolumemonitor.c:
1499 * gpollfilemonitor.[ch]:
1500 * gunionvolumemonitor.[ch]:
1503 * gunixvolumemonitor.[ch]:
1506 * inotify/ginotifydirectorymonitor.[ch]:
1507 * inotify/ginotifyfilemonitor.[ch]:
1508 * inotify/inotify-helper.c:
1509 Append _ to all internal functions
1513 Export symbols needed for modules
1515 2007-11-28 Alexander Larsson <alexl@redhat.com>
1518 * abicheck.sh: Added.
1519 * makegioalias.pl: Added.
1520 * pltcheck.sh: Added.
1521 * gio.symbols: Added.
1524 Initial work on adding symbol handling.
1527 Correct ifdef guard name
1530 * inotify/Makefile.am:
1531 * xdgmime/Makefile.am:
1532 Include toplevel Makefile.decl
1534 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1536 * gcontenttype.c: Move doc comments to the unix section.
1538 * *.[hc]: More trivial doc corrections.
1540 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1542 * gpollfilemonitor.c:
1546 * gdesktopappinfo.c:
1551 * gdatainputstream.c:
1552 * gdatainputstream.h:
1553 * gdataoutputstream.c:
1554 * gdataoutputstream.h:
1555 * gfileinfo.h: Doc cleanups
1557 2007-11-28 Andre Klapper <a9016009@gmx.de>
1559 * gdesktopappinfo.c: Fix a typo.
1561 2007-11-27 Andre Klapper <a9016009@gmx.de>
1563 * glocalfileoutputstream.c: Fix a typo.
1565 2007-11-27 Alexander Larsson <alexl@redhat.com>
1568 Don't include removed headers
1570 2007-11-27 Alexander Larsson <alexl@redhat.com>
1573 * gsocketinputstream.[ch]: Removed.
1574 * gsocketoutputstream.[ch]: Removed.
1575 * gunixinputstream.[ch]: Added.
1576 * gunixoutputstream.[ch]: Added.
1577 Renamed GSocket*Stream to GUnix*Stream and made
1578 it unix-only, since its not really only for sockets
1579 and it only works on unix (but is highly useful there).
1581 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1587 * gbufferedinputstream.c:
1588 * gbufferedinputstream.h:
1589 * gbufferedoutputstream.c:
1590 * gbufferedoutputstream.h:
1594 * gdatainputstream.c:
1595 * gdatainputstream.h:
1596 * gdataoutputstream.c:
1597 * gdataoutputstream.h:
1598 * gdirectorymonitor.c:
1599 * gdirectorymonitor.h:
1606 * gfileenumerator.c:
1607 * gfileenumerator.h:
1612 * gfileinputstream.c:
1613 * gfileinputstream.h:
1616 * gfilenamecompleter.c:
1617 * gfilenamecompleter.h:
1618 * gfileoutputstream.c:
1619 * gfileoutputstream.h:
1620 * gfilterinputstream.c:
1621 * gfilterinputstream.h:
1622 * gfilteroutputstream.c:
1623 * gfilteroutputstream.h:
1636 * glocalfileoutputstream.c:
1637 * gmemoryinputstream.c:
1638 * gmemoryinputstream.h:
1639 * gmemoryoutputstream.c:
1640 * gmemoryoutputstream.h:
1641 * gmountoperation.c:
1642 * gmountoperation.h:
1645 * gpollfilemonitor.c:
1648 * gsimpleasyncresult.c:
1649 * gsimpleasyncresult.h:
1650 * gsocketinputstream.c:
1651 * gsocketinputstream.h:
1652 * gsocketoutputstream.c:
1653 * gsocketoutputstream.h:
1660 * gunixvolumemonitor.c:
1669 Bumps documentation to 93% symbol coverage, touching most
1670 of the public files. Fixes broken function documentation prototypes.
1671 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1672 gtk-doc headers in private files.
1674 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1676 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1677 (g_buffered_input_stream_read_byte):
1678 * gbufferedinputstream.h:
1679 New functions for efficient access to buffer and simple single byte
1682 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1683 (g_data_input_stream_read_until):
1684 * gdatainputstream.h:
1685 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1686 read_until with multiple stop chars.
1688 2007-11-27 Alexander Larsson <alexl@redhat.com>
1692 * inotify/Makefile.am:
1693 Use the user-specified giomoduledir
1695 2007-11-27 Alexander Larsson <alexl@redhat.com>
1699 Add catch-all gio.h header
1700 Don't install gdummyfile.h
1702 2007-11-26 Alexander Larsson <alexl@redhat.com>
1704 * Makefile.am (gioinclude_HEADERS):
1705 Remove trailing whitespace
1707 2007-11-26 Alexander Larsson <alexl@redhat.com>
1709 Merge gio-standalone into glib
1711 2007-11-25 Christian Kellner <gicmo@gnome.org>
1713 * gio/goutputstream.c:
1714 Fix small mistake in the docs.
1716 2007-11-21 Christian Persch <chpe@gnome.org>
1718 * gio/glocalfile.c: (g_local_file_trash):
1719 Convert filenames to UTF-8 for GError.
1720 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1721 as per xdg base dir spec.
1723 2007-11-21 Christian Persch <chpe@gnome.org>
1725 * gio/gdesktopappinfo.c:
1726 Use that g_key_file_to_data cannot fail.
1728 Use stock defines for the key file group and key names.
1731 2007-11-21 Alexander Larsson <alexl@redhat.com>
1734 (copy_stream_with_progress):
1735 Make sure we do a final progress callback with
1736 the full total size.
1738 2007-11-21 Alexander Larsson <alexl@redhat.com>
1741 Export g_file_copy_attributes
1742 Remove padding as its not needed for interfaces
1744 2007-11-20 Alexander Larsson <alexl@redhat.com>
1749 Add G_IO_ERROR_WOULD_MERGE for
1750 copy/move dir on dir with overwrite.
1752 2007-11-20 Alexander Larsson <alexl@redhat.com>
1755 * gio/glocalfileinfo.c:
1756 Add COPY_NAME (this is an optional
1757 non-modified utf8 version of the name) that
1760 2007-11-20 Alexander Larsson <alexl@redhat.com>
1762 * gio/glocalfileenumerator.c:
1763 Report errors as GIOError, not GFileError
1765 2007-11-16 Alexander Larsson <alexl@redhat.com>
1767 * gio/glocalfileoutputstream.c:
1768 * gio/gwin32appinfo.c:
1769 Fix typos in strings.
1770 Patch from Luca Ferretti <elle.uca@libero.it>
1772 2007-11-15 Alexander Larsson <alexl@redhat.com>
1775 Post release version bump
1777 === gio-standalone 0.1.2 ===
1779 2007-11-15 Alexander Larsson <alexl@redhat.com>
1781 * docs/reference/gio/Makefile.am:
1782 Fix up distcheck by removing weird
1788 2007-11-14 Alexander Larsson <alexl@redhat.com>
1790 * gio/gdesktopappinfo.c:
1791 * gio/glocaldirectorymonitor.c:
1793 * gio/glocalfileinfo.c:
1794 * gio/inotify/inotify-sub.c:
1795 * programs/gio-cat.c:
1796 * programs/gio-copy.c:
1797 * programs/gio-info.c:
1798 * programs/gio-ls.c:
1799 * programs/gio-monitor-dir.c:
1800 * programs/gio-monitor-file.c:
1801 * programs/gio-mount.c:
1802 * programs/gio-move.c:
1803 * programs/gio-rm.c:
1804 * programs/gio-save.c:
1805 * programs/gio-trash.c:
1806 Leak fixes from Kjartan Maraas
1808 2007-11-14 Alexander Larsson <alexl@redhat.com>
1810 * gio/fam/fam-helper.c:
1812 * gio/glocalfileinfo.c:
1816 * gio/inotify/inotify-diag.c:
1817 * gio/inotify/inotify-kernel.c:
1818 Various code cleanups from Kjartan Maraas
1820 2007-11-14 Alexander Larsson <alexl@redhat.com>
1822 * gio/gioscheduler.c:
1824 Set up threadpool so that we cache 2 unused
1825 idle threads for at 15 secs. This means we
1826 will reuse thread-local data (like dbus connections)
1829 2007-11-14 Alexander Larsson <alexl@redhat.com>
1831 * gio/fam/fam-helper.c:
1832 * gio/fam/gfamdirectorymonitor.c:
1833 * gio/fam/gfamfilemonitor.c:
1835 * gio/gcontenttype.c:
1836 * gio/gdatainputstream.c:
1837 * gio/gdataoutputstream.c:
1841 * gio/gfileattribute.h:
1842 * gio/gfileenumerator.c:
1844 * gio/ginputstream.c:
1847 * gio/glocalfileinfo.c:
1848 * gio/goutputstream.c:
1849 * gio/gpollfilemonitor.c:
1850 * gio/gsimpleasyncresult.c:
1851 * gio/gunixmounts.c:
1852 * gio/gunixmounts.h:
1853 * gio/inotify/ginotifydirectorymonitor.c:
1854 * gio/inotify/ginotifyfilemonitor.c:
1855 * gio/inotify/inotify-diag.c:
1856 * gio/inotify/inotify-kernel.c:
1857 * gio/inotify/inotify-path.c:
1859 * gio/test-streams.c:
1860 * programs/gio-info.c:
1861 * programs/gio-monitor-dir.c:
1862 * programs/gio-monitor-file.c:
1863 Various code cleanups from Kjartan Maraas
1865 2007-11-13 Alexander Larsson <alexl@redhat.com>
1868 Handle the uri-scheme calls for dummy files
1870 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1872 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1873 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1874 to avoid clash with the C++ keyword.
1876 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1878 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1879 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1881 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1883 * gio/glocaldirectorymonitor.c:
1884 * gio/glocalfilemonitor.c:
1885 * gio/gunionvolumemonitor.c:
1886 Don't use g_once_init_*() for initializations that could fail and
1887 could leave the initialization variable set to 0 but use GOnce.
1888 This prevents a deadlock on the second call when trying to create
1889 a monitor and no monitor type is available. Thanks to Sven Herzberg
1892 2007-11-11 Sven Herzberg <sven@imendio.com>
1894 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1895 #ifdef (make it work on MacOS X again)
1897 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1899 Fixes Changelog for last two commits (sorry guys).
1901 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1903 * gio/gbufferedinputstream.c:
1904 * gio/gdatainputstream.c:
1906 * gio/gfileoutputstream.c:
1907 * gio/gfilterinputstream.c:
1908 * gio/glocalfileinputstream.c:
1911 More consistency fixes in g*stream.c files.
1912 Significant clean of gfile's documentation, filling in of
1913 asynchronous operations documentation.
1915 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1917 * gio/gasyncresult.c:
1918 * gio/gbufferedinputstream.c:
1919 * gio/gbufferedoutputstream.c:
1920 * gio/gcancellable.c:
1921 * gio/gcontenttype.c:
1922 * gio/gdatainputstream.c:
1923 * gio/gdataoutputstream.c:
1924 * gio/gdesktopappinfo.c:
1927 * gio/gfileattribute.c:
1928 * gio/gio/gfileenumerator.c:
1930 * gio/gfileinputstream.c:
1931 * gio/gfilemonitor.c:
1932 * gio/gfileoutputstream.c:
1933 * gio/ginputstream.c:
1935 * gio/gioscheduler.c:
1936 * gio/gloadableicon.c:
1937 * gio/glocalfileoutputstream.c:
1938 * gio/gmemoryoutputstream.c:
1939 * gio/gmountoperation.c:
1940 * gio/goutputstream.c:
1942 * gio/gsimpleasyncresult.c:
1943 * gio/gunionvolumemonitor.c:
1944 * gio/gunixmounts.c:
1945 * gio/gunixvolume.c:
1949 * gio/gvolumemonitor.c:
1950 Updated documentation stubs, working towards consistency and
1953 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1955 * gio/gmemoryoutputstream.c:
1956 * gio/gmemoryoutputstream.h:
1957 Change g_memory_output_stream_set_free_on_close() to
1958 g_memory_output_stream_set_free_data() as this makes more sense and
1959 is more consistent with GMemoryInputStream.
1961 2007-11-07 Alexander Larsson <alexl@redhat.com>
1968 Change how we find the default vfs so that
1969 we can handle a gvfs failing to init
1971 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1973 * gio/gbufferedoutputstream.c:
1974 * gio/gdatainputstream.c:
1975 * gio/gdataoutputstream.c:
1976 * gio/gfileinputstream.c:
1977 * gio/gfileoutputstream.c:
1978 * gio/gfilterinputstream.c:
1979 * gio/gfilteroutputstream.c:
1980 * gio/ginputstream.c:
1981 * gio/gmemoryinputstream.c:
1982 * gio/gmemoryoutputstream.c:
1983 * gio/goutputstream.c:
1984 * gio/gsimpleasyncresult.c:
1985 * gio/gsocketinputstream.c:
1986 * gio/gsocketoutputstream.c:
1987 Add guards to the remaining public functions, add a TODO for
1988 an unimplemented function and remove some useless guards.
1990 2007-11-07 Alexander Larsson <alexl@redhat.com>
1993 Autoconf checks for the various types of
1994 getpwuid_r and getgrgid_r
1996 * gio/glocalfileinfo.c:
1997 Use the autoconf checks from above
1999 2007-11-07 Alexander Larsson <alexl@redhat.com>
2002 (g_local_file_query_filesystem_info):
2003 Some fixes for the statvfs case
2005 2007-11-07 Alexander Larsson <alexl@redhat.com>
2008 (g_local_file_query_filesystem_info):
2009 Pick the "best" of statfs / statvfs for the system
2010 if both are availible.
2012 2007-11-07 Alexander Larsson <alexl@redhat.com>
2014 Solaris fixes from Halton.Huo@Sun.COM:
2021 * gio/glocalfileinfo.c:
2022 Fix for solaris definition of getpwuid_r
2024 * gio/test-streams.c:
2025 Use G_GNUC_PRETTY_FUNCTION
2027 2007-11-07 Alexander Larsson <alexl@redhat.com>
2029 * gio/gdesktopappinfo.c:
2030 (update_default_list):
2031 Remove double semicolon.
2032 Patch from Jens Granseuer
2034 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2036 * docs/reference/gio/gio-sections.txt:
2037 * gio/gbufferedinputstream.c:
2038 * gio/gbufferedinputstream.h:
2039 * gio/gdatainputstream.c:
2040 * gio/gfileenumerator.c:
2041 * gio/gioscheduler.c:
2042 * gio/gunionvolumemonitor.c:
2044 * programs/gio-save.c:
2045 Fix typo: availible -> available. Unfortuntely this breaks API
2046 and ABI as g_buffered_input_stream_get_available() was renamed.
2048 * gio/gunixmounts.c:
2049 * gio/gbufferedinputstream.c:
2050 Add guards for public functions.
2052 2007-11-06 Ross Burton <ross@openedhand.com>
2054 * docs/reference/gio/Makefile.am:
2055 Fix invalid += usage which automake 1.10 doesn't like.
2057 2007-11-06 Alexander Larsson <alexl@redhat.com>
2060 (g_app_launch_context_class_init):
2063 Patch from Ross Burton
2065 2007-11-06 Alexander Larsson <alexl@redhat.com>
2068 Post release version bump
2070 === gio-standalone 0.1.1 ===
2072 2007-11-06 Alexander Larsson <alexl@redhat.com>
2075 Bump version to 0.1.1
2077 * gio/gsimpleasyncresult.c:
2078 (g_simple_async_result_set_from_error):
2079 Remove bogus g_return_if_fail
2081 2007-11-06 Alexander Larsson <alexl@redhat.com>
2084 The name is gio-standalone
2087 Add top src/builddir to includedir
2089 2007-11-06 Alexander Larsson <alexl@redhat.com>
2091 * docs/reference/gio/gio-sections.txt:
2093 * gio/gbufferedinputstream.c:
2094 * gio/gbufferedoutputstream.c:
2095 * gio/gcancellable.c:
2096 * gio/gdatainputstream.h:
2097 * gio/gdataoutputstream.c:
2098 * gio/gdataoutputstream.h:
2099 * gio/gdirectorymonitor.c:
2101 * gio/gfileattribute.c:
2102 * gio/gfileattribute.h:
2103 * gio/gfileenumerator.c:
2104 * gio/gfileenumerator.h:
2107 * gio/gfileinputstream.h:
2108 * gio/gfilemonitor.c:
2109 * gio/gfileoutputstream.h:
2110 * gio/glocalfilemonitor.h:
2111 * gio/glocalfileoutputstream.h:
2112 * gio/gmemoryinputstream.c:
2113 * gio/gmemoryoutputstream.c:
2114 * gio/gmountoperation.c:
2115 * gio/goutputstream.c:
2116 * gio/goutputstream.h:
2118 * gio/gsimpleasyncresult.c:
2119 * gio/gunixmounts.c:
2120 * gio/gunixmounts.h:
2122 * gio/inotify/inotify-helper.c:
2123 Fix gtk-doc warnings
2125 Patch from Ross Burton
2127 2007-11-06 Alexander Larsson <alexl@redhat.com>
2129 * gio/gfilenamecompleter.c:
2130 (g_filename_completer_get_completions):
2133 * gio/gunixvolume.c:
2134 Remove unused function
2136 Patches from Ross Burton
2138 2007-11-06 Alexander Larsson <alexl@redhat.com>
2143 Padding not needed for interfaces
2145 2007-11-06 Alexander Larsson <alexl@redhat.com>
2147 * gio/gfilemonitor.c:
2151 Make giotypes.h an internal file
2154 * gio/gbufferedinputstream.h:
2155 * gio/gbufferedoutputstream.h:
2156 * gio/gcancellable.h:
2157 * gio/gdatainputstream.h:
2158 * gio/gdataoutputstream.h:
2159 * gio/gdirectorymonitor.c:
2160 * gio/gdirectorymonitor.h:
2165 * gio/gfileattribute.h:
2166 * gio/gfileenumerator.h:
2171 * gio/gfilemonitor.c:
2172 * gio/gfilemonitor.h:
2173 * gio/gfilenamecompleter.c:
2174 * gio/gfilenamecompleter.h:
2175 * gio/gfilterinputstream.h:
2176 * gio/gfilteroutputstream.h:
2177 * gio/ginputstream.h:
2178 * gio/gmemoryinputstream.h:
2179 * gio/gmemoryoutputstream.h:
2180 * gio/gmountoperation.c:
2181 * gio/gmountoperation.h:
2182 * gio/gnativevolumemonitor.c:
2183 * gio/goutputstream.h:
2186 * gio/gsimpleasyncresult.c:
2187 * gio/gsimpleasyncresult.h:
2188 * gio/gsocketinputstream.h:
2189 * gio/gsocketoutputstream.h:
2190 * gio/gthemedicon.c:
2191 * gio/gthemedicon.h:
2195 * gio/gvolumemonitor.c:
2196 * gio/gvolumemonitor.h:
2197 Add padding in classes where it seems useful
2198 Don't include giotypes.h from public headers
2199 Move in Class definitions into c file where possible
2204 2007-11-06 Alexander Larsson <alexl@redhat.com>
2206 * docs/reference/gio/gio-docs.xml:
2207 Better structure for API docs
2209 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2212 * gio/gloadableicon.c:
2213 * gio/gsimpleasyncresult.c:
2214 * gio/gthemedicon.c:
2215 Add some more guards to public functions. Only files missing are now
2218 2007-11-06 Alexander Larsson <alexl@redhat.com>
2220 * docs/reference/gio/gio-docs.xml:
2221 Remove old files, add missing ones
2223 2007-11-06 Alexander Larsson <alexl@redhat.com>
2225 * docs/reference/gio/gio-sections.txt:
2228 Hide implementation classes
2230 * gio/gdriveprivate.h:
2231 * gio/gvolumeprivate.h:
2232 Remove non-existing function declarations
2234 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2237 Fix compilation warnings and add guards to the new functions.
2239 * gio/gasyncresult.c:
2241 Add guards to the public functions.
2244 Implement get_path().
2246 2007-11-06 Alexander Larsson <alexl@redhat.com>
2248 * gio/gfilenamecompleter.c:
2249 Make g_filename_completer_get_completions
2250 return char ** instead of GList for
2253 * docs/reference/gio/gio-docs.xml:
2254 * docs/reference/gio/gio-sections.txt:
2256 * gio/gasyncresult.c:
2257 * gio/gbufferedinputstream.c:
2258 * gio/gbufferedoutputstream.c:
2259 * gio/gcancellable.c:
2260 * gio/gcontenttype.c:
2261 * gio/gdatainputstream.c:
2262 * gio/gdataoutputstream.c:
2263 * gio/gdesktopappinfo.c:
2264 * gio/gdirectorymonitor.c:
2268 * gio/gfileattribute.c:
2269 * gio/gfileenumerator.c:
2272 * gio/gfileinputstream.c:
2273 * gio/gfilemonitor.c:
2274 * gio/gfilenamecompleter.c:
2275 * gio/gfilenamecompleter.h:
2276 * gio/gfileoutputstream.c:
2277 * gio/gfilterinputstream.c:
2279 * gio/ginputstream.c:
2281 * gio/gioscheduler.c:
2282 * gio/gloadableicon.c:
2283 * gio/glocaldirectorymonitor.c:
2285 * gio/glocalfileinputstream.c:
2286 * gio/glocalfilemonitor.c:
2287 * gio/glocalfileoutputstream.c:
2289 * gio/gmemoryinputstream.c:
2290 * gio/gmemoryoutputstream.c:
2291 * gio/gmountoperation.c:
2292 * gio/goutputstream.c:
2293 * gio/gpollfilemonitor.c:
2295 * gio/gsimpleasyncresult.c:
2296 * gio/gsocketinputstream.c:
2297 * gio/gsocketoutputstream.c:
2298 * gio/gthemedicon.c:
2299 * gio/gunionvolumemonitor.c:
2301 * gio/gunixmounts.c:
2302 * gio/gunixvolume.c:
2303 * gio/gunixvolumemonitor.c:
2307 * gio/gvolumemonitor.c:
2308 * gio/gwin32appinfo.c:
2309 Add (mostly stub) doc strings to public functions.
2310 Patch from Andrew Walton (awalton@gmail.com)
2312 2007-11-06 Alexander Larsson <alexl@redhat.com>
2314 * gio/gappinfo.[ch]:
2315 Added GAppLaunchContext object and pass that to launch.
2316 This allows simple implementation of both
2317 launch-on-screen and startup notification via a gtk+
2318 subclass of GAppLaunchContext
2320 * gio/gdesktopappinfo.c:
2321 Implement GAppLaunchContext API
2323 * gio/gwin32appinfo.c:
2326 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2328 * gio/gmountoperation.c:
2329 Add some guards to GMountOperation's public functions.
2331 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2335 * gio/gcancellable.c:
2336 * gio/gdirectorymonitor.c:
2338 * gio/gfileenumerator.c:
2339 * gio/gfilemonitor.c:,
2340 * gio/gfilenamecompleter.c:
2343 * gio/gioscheduler.c:
2347 * gio/gvolumemonitor.c:
2348 Add even more guards to various public functions.
2350 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2353 Add guards to the public functions of GAppInfo.
2355 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2357 * gio/gcontenttype.c:
2358 Add some more guards for public functions.
2360 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2362 * gio/fam/fam-module.c:
2363 * gio/fam/gfamdirectorymonitor.c:
2364 * gio/fam/gfamdirectorymonitor.h:
2365 * gio/fam/gfamfilemonitor.c:
2366 * gio/fam/gfamfilemonitor.h:
2367 * gio/inotify/ginotifydirectorymonitor.c:
2368 * gio/inotify/ginotifydirectorymonitor.h:
2369 * gio/inotify/ginotifyfilemonitor.c:
2370 * gio/inotify/ginotifyfilemonitor.h:
2371 Add proper copyright information and remove an unused variable
2372 in the GInotifyFileMonitor constructor.
2374 * gio/gcancellable.c:
2375 Add a guard for a public function and an assertion to prevent
2376 an undefined program state.
2378 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2380 * gio/gfileattribute.c:
2381 Don't run into an assertion if the given attribute value is NULL
2382 in g_file_attribute_value_get_*() but instead return a fallback
2383 value that makes sense in most situations. Passing them a attribute
2384 value with the wrong type will still run into an assertion.
2386 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2388 * gio/gfileattribute.c:
2390 Add even more guards to the public functions. Also fix the refcounting
2391 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2392 let g_file_info_list_attributes() filter the attributes by namespace
2393 instead of simply ignoring the namespace parameter.
2395 2007-11-03 Sven Herzberg <sven@imendio.com>
2397 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2398 (This makes gio work on MacOS X again)
2400 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2403 Build the gio subdirectory before the docs. Otherwise the build will
2406 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2407 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2408 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2409 Add guards to the public functions.
2411 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2413 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2414 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2415 to prevent a compiler warning.
2417 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2418 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2419 return something in the non-void function find_topdir_for().
2421 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2428 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2430 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2431 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2432 * gwin32appinfo.c (g_win32_app_info_launch):
2433 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2434 envp_for_startup_id, g_desktop_app_info_launch,
2435 g_desktop_app_info_launch_uris):
2437 Give an opaque 'startup_id' string instead of 'envp'.
2438 Support empty file lists for launching new windows.
2439 Fix infinite recursion bug when launching URIs.
2441 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2444 Add guard to the new g_file_get_uri_scheme() function.
2446 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2449 Convert a g_return_val_if_fail() to setting the GError instead as
2450 otherwise applications have to verify the parameter before otherwise
2451 and the parameter might come directly from the user.
2453 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2455 * gio/inotify/ginotify*.[ch]:
2456 Add missing copyright information.
2458 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2461 Add guards in the beginning of public functions to check for valid
2462 parameters and fix a bug in copy_stream_with_progress() that could've
2463 caused writing less bytes than reading.
2464 * gio/glocalfileinfo.c:
2465 Check for a NULL parameter and set the GError accordingly then.
2466 * gio/goutputstream.c:
2467 Fix the same bug as in gfile.c that could've caused writing less bytes
2468 than reading in g_output_stream_real_splice().
2470 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2473 Use the correct gvolumeprivate.h naming
2475 2007-11-01 Christian Kellner <gicmo@gnome.org>
2478 Remove leftover "$(daemon_sources)" entry.
2480 2007-11-01 Christian Kellner <gicmo@gnome.org>
2485 Add copyright information to source files.
2487 2007-11-01 Alexander Larsson <alexl@redhat.com>
2491 Add g_file_get_uri_scheme
2493 2007-11-01 Alexander Larsson <alexl@redhat.com>
2496 * gio/gdesktopappinfo.c:
2497 * gio/gwin32appinfo.c:
2498 Add g_app_info_get_default_for_uri_scheme.
2500 2007-11-01 Alexander Larsson <alexl@redhat.com>
2503 Correct filename for gdriveprivate.h
2505 2007-10-31 Alexander Larsson <alexl@redhat.com>
2508 Rename id:value to id:file
2511 * gio/glocalfileinfo.c:
2514 2007-10-31 Alexander Larsson <alexl@redhat.com>
2516 * gio/gunixvolume.c:
2518 Remove g_volume_get_platform_id, as thats not
2519 needed with the simpler union volume monitor
2521 2007-10-31 Alexander Larsson <alexl@redhat.com>
2524 * gio/guniondrive.[ch]: Removed.
2525 * gio/gunionvolume.[ch]: Removed.
2526 Remove GUnionDrive/Volume
2528 * gio/gunionvolumemonitor.c:
2529 Simplify union volume monitor, now we
2530 only have one native volume monitor and
2531 we use the actual volumes/drives from the
2532 child monitors instead of wrapping them
2534 * gio/gnativevolumemonitor.[ch]:
2535 Base class for native volume monitors.
2536 Includes priority and get_volume_for_mountpoint
2539 Add g_file_find_enclosing_volume
2542 Remove volume name fs attribute
2543 Add readonly fs attribute
2546 Implement readonly attribute
2547 remove volume name attribute
2548 Implement find_enclosing volume
2550 * gio/gunixmounts.c:
2551 Add a volume for "/".
2553 * gio/gunixvolume.[ch]:
2554 Set better name for /
2556 * gio/gunixvolumemonitor.[ch]:
2557 Derive from GNativeVolumeMonitor
2558 Implement get_volume_for_mountpoint
2561 GVolume typedef moved to gfile.h
2563 * gio/gvolumeprivate.h:
2564 Add g_volume_get_for_mount_path
2566 2007-10-31 Alexander Larsson <alexl@redhat.com>
2568 * gio/gunixmounts.[ch]:
2569 Add cache info to unix mount listers
2570 Make getmntent use threadsafe
2571 Add is_system_internal attribute for GUnixMount
2573 * gio/gunixvolume.c:
2574 (g_unix_volume_new):
2575 Use is_system_internal instead of own code
2577 * gio/glocaldirectorymonitor.c:
2578 * gio/gunixvolumemonitor.c:
2579 Update to new gunixmounts API
2584 2007-10-30 Alexander Larsson <alexl@redhat.com>
2587 Add volume name fsinfo attribute
2590 Read volume name info
2592 * gio/gunionvolumemonitor.c:
2593 Fix infinite loops when finalizing a union volume monitor
2595 2007-10-30 Alexander Larsson <alexl@redhat.com>
2597 * gio/goutputstream.[ch]:
2598 Add splice() with default implementation
2600 * gio/gsocketoutputstream.c:
2601 (g_socket_output_stream_write):
2602 Return error on cancellation correctly.
2604 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2606 * gio/glocalfile.c (g_local_file_trash):
2607 Do not leak a string.
2609 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2611 * gio/gfile.c (g_file_load_contents):
2612 Unref the stream after closing it.
2614 2007-10-25 Alexander Larsson <alexl@redhat.com>
2616 * gio/gioscheduler.h:
2619 2007-10-25 Alexander Larsson <alexl@redhat.com>
2623 Add g_file_has_uri_scheme and implement for local files
2625 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2627 * gio/gdesktopappinfo.c: do not leak a string.
2629 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2631 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2632 (g_local_directory_monitor_new):
2633 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2634 (g_local_file_monitor_new):
2635 Only look for the monitor type that should be used the first time
2636 and use g_qsort_with_data() instead of our own bubble sort
2639 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2642 * gio/fam/Makefile.am:
2643 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2644 * gio/fam/fam-helper.h:
2645 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2646 * gio/fam/gfamdirectorymonitor.c:
2647 * gio/fam/gfamdirectorymonitor.h:
2648 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2649 * gio/fam/gfamfilemonitor.h:
2650 * gio/glocaldirectorymonitor.c:
2651 * gio/glocaldirectorymonitor.h:
2652 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2653 * gio/glocalfilemonitor.h:
2654 * gio/inotify/Makefile.am:
2655 * gio/inotify/ginotifydirectorymonitor.c:
2656 * gio/inotify/ginotifydirectorymonitor.h:
2657 * gio/inotify/ginotifyfilemonitor.c:
2658 * gio/inotify/ginotifyfilemonitor.h:
2659 Implement the FAM and Inotify monitors as
2660 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2661 their own GIO module. GLocal(Directory|File)Monitor will use the
2662 monitor with the highest rank that is supported on that machine.
2664 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2667 Change GIO module dir to $(libdir)/gio/modules and change
2668 the log domain from GVFS to GIO. Also only export symbols starting
2669 with g_ in the resulting library.
2670 * gio/test-streams.c: (main):
2671 Set log handler for the GIO log domain.
2673 2007-10-22 Alexander Larsson <alexl@redhat.com>
2675 * gio/gfilenamecompleter.[ch]:
2676 Add g_filename_completer_set_dirs_only
2678 2007-10-22 Alexander Larsson <alexl@redhat.com>
2681 * gio/gurifuncs.[ch]:
2682 Add some simple URI helpers
2684 * gio/gfilenamecompleter.[ch]:
2685 Added object for filename (parse name actually) completion
2688 Handle ~ in parse names
2690 2007-10-17 Alexander Larsson <alexl@redhat.com>
2693 * gio/glocalfileinfo.c:
2694 Add and implement id:value attribute
2696 2007-10-17 Alexander Larsson <alexl@redhat.com>
2699 * gio/guniondrive.c:
2701 Add and implement g_drive_has_volumes
2703 2007-10-17 Alexander Larsson <alexl@redhat.com>
2706 * gio/glocalfileinfo.[ch]:
2707 Add unix:is_mountpoint and implement for local files
2709 2007-10-16 Alexander Larsson <alexl@redhat.com>
2711 * gio/gunionvolumemonitor.c:
2712 (g_union_volume_monitor_init):
2713 Fix up the unix type getting so that it works with gcc
2715 2007-10-12 Alexander Larsson <alexl@redhat.com>
2718 * gio/glocalfileinfo.c:
2719 Add thumbnail:failed to file info
2721 2007-10-12 Richard Hult <richard@imendio.com>
2723 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2724 optimizing away the get_type call (happens with some gcc versions,
2725 like the one shipped with OS X 10.4).
2727 2007-10-12 Alexander Larsson <alexl@redhat.com>
2729 * gio/glocalfileinfo.c:
2730 (_g_local_file_info_set_attribute):
2731 Fix build if not HAVE_XATTR
2732 Patch from Milosz Derezynski <internalerror@gmail.com>
2734 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2736 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2737 around for review, otherwise I would have asked you before
2740 2007-10-11 Alexander Larsson <alexl@redhat.com>
2743 Add thumbnail:path attribute
2745 * gio/glocalfileinfo.c:
2746 Implement thumbnail:path for local files
2748 2007-10-11 Alexander Larsson <alexl@redhat.com>
2750 * gio/glocalfileinfo.c:
2751 (_g_local_file_info_get):
2752 Avoid duplicate icon names
2754 2007-10-11 Alexander Larsson <alexl@redhat.com>
2756 * gio/gthemedicon.[ch]:
2757 Change g_themed_icon_get_names return type to const
2759 2007-10-10 Alexander Larsson <alexl@redhat.com>
2761 * gio/glocalfileinfo.c:
2762 Don't reference freed memory
2764 2007-10-10 Alexander Larsson <alexl@redhat.com>
2766 * gio/gfileattribute.c:
2769 * gio/glocalfileinfo.c:
2772 2007-10-10 Alexander Larsson <alexl@redhat.com>
2775 Check for NULL icons
2777 * gio/gfileattribute.c:
2778 Don't dup when getting objects (same as for string attributes)
2780 * gio/gicon.c (g_icon_equal):
2781 Safely handle NULLs in equal
2783 2007-10-10 Alexander Larsson <alexl@redhat.com>
2786 Fix c++ compilation issues
2787 Patch from Milosz Derezynski <internalerror@gmail.com>
2789 2007-10-10 Alexander Larsson <alexl@redhat.com>
2791 * programs/gio-monitor-dir.c:
2792 Don't crash if dir monitor not supported.
2794 2007-10-09 Alexander Larsson <alexl@redhat.com>
2797 Add missing G_END_DECLS
2799 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2801 * gio/gfile.c: (g_file_set_display_name),
2802 (g_file_query_settable_attributes),
2803 (g_file_query_writable_namespaces):
2804 Return NULL not FALSE on errors as the return type is a pointer.
2806 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2808 * gio/glocalfile.c: (g_local_file_monitor_file):
2809 Don't call monitor_file on the default interface vtable (which
2810 is NULL) but simply return NULL. The caller, GFile, will create a
2811 polling monitor if NULL is returned.
2813 2007-10-09 Alexander Larsson <alexl@redhat.com>
2817 * gio-unix-2.0.pc.in:
2818 Add gio-unix-2.0.pc if OS_UNIX
2821 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2823 2007-10-09 Alexander Larsson <alexl@redhat.com>
2825 * gio/gunixmounts.[ch]:
2826 Make unix mount monitoring API sane.
2827 Now its just a object with mounts_changed
2828 and mountpoints_changed signals.
2830 * gio/glocaldirectorymonitor.c:
2831 * gio/gunixvolumemonitor.c:
2832 Use new mount monitor api
2834 2007-10-09 Alexander Larsson <alexl@redhat.com>
2836 * gio/gunixmounts.[ch]:
2837 Move guess type into one call for mounts and one for mountpoints
2840 * gio/gunixvolume.c:
2843 2007-10-09 Alexander Larsson <alexl@redhat.com>
2845 * gio/gunixmounts.[ch]:
2846 Remove _ prefix in preparation to make this semi-public
2847 Hide implementation of structs
2849 * gio/glocaldirectorymonitor.c:
2851 * gio/gunixvolume.c:
2852 * gio/gunixvolumemonitor.c:
2853 Update for above API changes
2855 2007-10-08 Alexander Larsson <alexl@redhat.com>
2858 Better polling fallback. This also handles the case where we have
2859 a monitor_file implementation, but it fails.
2861 2007-10-08 Alexander Larsson <alexl@redhat.com>
2865 * gio/gunixmounts.c:
2866 * programs/gio-monitor-dir.c:
2867 * programs/gio-monitor-file.c:
2868 Added cancellable to file monitoring calls.
2869 These are really sync calls and need this.
2871 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2873 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2874 (g_local_vfs_class_init):
2875 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2876 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2878 2007-10-05 Alexander Larsson <alexl@redhat.com>
2880 * gio/gdirectorymonitorprivate.h:
2881 * gio/gfilemonitorprivate.h:
2882 * gio/gdirectorymonitor.h:
2883 * gio/gfilemonitor.h:
2884 Remove *private.h and move to the public API, so that
2885 we can do implementations outside gio (such as in gvfs)
2887 * gio/gdirectorymonitor.c:
2888 * gio/gfilemonitor.c:
2889 * gio/glocaldirectorymonitor.c:
2890 * gio/gpollfilemonitor.c:
2891 * gio/inotify/inotify-helper.c:
2892 * gio/fam/fam-helper.c:
2893 Update to the new header names
2895 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2897 * gio/gdirectorymonitor.c:
2898 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2901 2007-10-04 Alexander Larsson <alexl@redhat.com>
2903 * gio/glocalfileinfo.c (get_access_rights):
2904 Set CAN_TRASH when we can move the file.
2905 We should really also check for a parent trash dir.
2907 2007-10-04 Alexander Larsson <alexl@redhat.com>
2909 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2910 Add can_trash access attribute
2912 2007-10-04 Alexander Larsson <alexl@redhat.com>
2915 (g_local_file_trash):
2916 Create info file first. This is per-spec and allows
2917 us to actually trash directories.
2919 2007-10-02 Alexander Larsson <alexl@redhat.com>
2921 * gio/gdesktopappinfo.c:
2922 Implement the new mime support code.
2923 Always set app as handling mimetype when being set as default for it
2925 2007-10-01 Alexander Larsson <alexl@redhat.com>
2927 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2928 Fix up check for xattrs:
2930 2007-10-01 Alexander Larsson <alexl@redhat.com>
2933 (g_app_info_set_as_default_for_extension):
2934 (g_app_info_add_supports_type):
2935 (g_app_info_can_remove_supports_type):
2936 (g_app_info_remove_supports_type):
2937 Make these fail nicely if not implemented
2939 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2941 * gio/glocalfileoutputstream.c:
2942 * gio/glocalfileoutputstream.h:
2947 * programs/gio-save.c:
2948 Add a GFileCreateFlags argument to operations that can create
2951 2007-10-01 Alexander Larsson <alexl@redhat.com>
2953 * gio/gappinfo.[ch]:
2954 * gio/gdesktopappinfo.c:
2955 Add more (stubbed out) mime API needed for nautilus
2957 2007-10-01 Alexander Larsson <alexl@redhat.com>
2960 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2961 Add g_app_info_set_as_default_for_extension.
2963 * gio/gdesktopappinfo.c:
2964 Dummy for g_app_info_set_as_default_for_extension
2965 Support flags in g_app_info_create_from_commandline
2967 * gio/gwin32appinfo.c:
2969 Update for API changes
2971 * gio/gthemedicon.c:
2972 Properly NULL-terminate list of icon names
2974 2007-09-28 Alexander Larsson <alexl@redhat.com>
2976 * gio/gloadableicon.h:
2977 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2979 2007-09-28 Alexander Larsson <alexl@redhat.com>
2982 Install headers in $includedir/gio-standalone/
2984 * gio-2.0.pc.in: Added.
2985 * gio-standalone.pc.in: Removed.
2988 Renamed pkg-config file to match glib (for future move)
2989 Update to the new include dir
2992 Add more TODO comments
2994 2007-09-28 Alexander Larsson <alexl@redhat.com>
2996 * gio/gdesktopappinfo.[ch]:
2997 Expose new_from_filename
2998 Add getter for is_hidden and handle it better
3000 2007-09-28 Alexander Larsson <alexl@redhat.com>
3002 * gio/gfileinfo.[ch]:
3003 Rename g_file_size_format_for_display to
3004 g_format_file_size_for_display.
3005 Now it doesn't have the g_file prefix, so we
3006 can later move it to glib.
3008 2007-09-28 Alexander Larsson <alexl@redhat.com>
3010 * gio/gappinfo.[ch]:
3011 Add g_app_info_get_id and g_app_info_get_executable.
3012 Make all getters non-reffing
3013 Make g_app_info_launch take GFile arguments.
3014 Add must_support_uris argument to g_app_info_get_default_for_type.
3016 * gio/gwin32appinfo.c:
3017 Update to GAppInfo api changes
3019 * gio/gdesktopappinfo.c:
3020 Update to GAppInfo api changes
3021 Implement supports_xdg_startup_notify
3023 * gio/gfileicon.c (g_file_icon_get_file):
3024 Make getter non-reffing.
3029 2007-09-27 Alexander Larsson <alexl@redhat.com>
3031 * gio/gfileinfo.[ch]:
3032 Add g_file_size_format_for_display helper
3034 2007-09-27 Alexander Larsson <alexl@redhat.com>
3036 * gio/glocalfileinfo.c:
3037 Set UNIX_GID from gid, not from uid
3039 2007-09-27 Alexander Larsson <alexl@redhat.com>
3042 Add g_file_set_attributes_async
3044 2007-09-27 Alexander Larsson <alexl@redhat.com>
3046 * gio/glocalfile.c (g_local_file_set_display_name):
3047 Fix set_display_name to actually rename to the right place.
3048 Use lstat to look for existing files so we don't overwrite
3051 2007-09-26 Alexander Larsson <alexl@redhat.com>
3054 Add g_file_set_display_name_async()
3056 2007-09-26 Alexander Larsson <alexl@redhat.com>
3059 Add load_partial_contents async calls
3062 Make internal function static
3064 2007-09-26 Alexander Larsson <alexl@redhat.com>
3066 * gio/glocalfileinfo.c:
3067 Correctly detect broken symlinks
3069 2007-09-26 Alexander Larsson <alexl@redhat.com>
3071 * gio/gcancellable.c (g_cancellable_cancel):
3072 Allow cancel on NULL cancellable
3074 2007-09-25 Alexander Larsson <alexl@redhat.com>
3076 * gio/gsimpleasyncresult.c:
3077 Don't allocate g_error manually.
3078 Fixes g_slice/g_new mixup crash
3080 2007-09-25 Alexander Larsson <alexl@redhat.com>
3082 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3083 Actually set active_backend.
3084 This means the monitor will be cancelled correctly.
3086 2007-09-25 Alexander Larsson <alexl@redhat.com>
3088 * gio/gdirectorymonitor.c:
3089 Set timeout to NULL when destroying
3091 2007-09-25 Alexander Larsson <alexl@redhat.com>
3094 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3095 that is a better description of the error.
3097 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3099 * gio/gvfs.c: (g_vfs_get_local):
3100 Make the local vfs variable static. The same instance should
3103 2007-09-24 Alexander Larsson <alexl@redhat.com>
3105 * gio/glocalfileinfo.c:
3106 Pass in actual length read into sniffer, not the length
3109 2007-09-21 Alexander Larsson <alexl@redhat.com>
3111 * gio/gfileenumerator.c:
3114 * gio/gfileinputstream.c:
3115 * gio/gfileoutputstream.c:
3116 * gio/ginputstream.c:
3117 * gio/goutputstream.c:
3118 Don't crash if async callbacks are NULL
3120 2007-09-20 Alexander Larsson <alexl@redhat.com>
3123 Add async enumerate_children method and default
3126 2007-09-20 Alexander Larsson <alexl@redhat.com>
3129 Add g_file_contains_file & g_file_get_relative_path, since they
3130 were needed for nautilus.
3131 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3136 Implement new methods
3138 2007-09-17 Alexander Larsson <alexl@redhat.com>
3141 * gio/gfileinputstream.[ch]:
3142 * gio/gfileoutputstream.[ch]:
3144 * gio/glocalfileenumerator.[ch]:
3145 * gio/glocalfileinfo.[ch]:
3146 * gio/glocalfileinputstream.c:
3147 * gio/glocalfileoutputstream.c:
3148 * gio/gpollfilemonitor.c:
3149 * programs/gio-copy.c:
3150 * programs/gio-info.c:
3151 * programs/gio-move.c:
3152 Rename get_file_info to query_info() to make it clearer
3153 that these are not simple getters, but do i/o.
3155 2007-09-17 Alexander Larsson <alexl@redhat.com>
3157 * gio/gdatainputstream.[ch]:
3158 * gio/test-streams.c:
3159 Use _read_XXX instead of _get_XXX for the i/o calls
3162 2007-09-17 Alexander Larsson <alexl@redhat.com>
3165 Added needed stuff to TODO comment
3167 2007-09-17 Alexander Larsson <alexl@redhat.com>
3169 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3170 Don't error out removing the backup copy if it doesn't
3173 2007-09-14 Alexander Larsson <alexl@redhat.com>
3175 * programs/Makefile.am:
3176 * programs/gvfs-*.c:
3178 Renamed apps from gvfs-xxx to gio-xxx.
3180 2007-09-14 Alexander Larsson <alexl@redhat.com>
3183 * gio/gfileoutputstream.[ch]:
3184 * gio/glocalfileoutputstream.c:
3185 * programs/gvfs-save.c:
3186 g_file_output_stream_get_etag doesn't do i/o, so remove
3187 cancellation and error.
3189 2007-09-14 Alexander Larsson <alexl@redhat.com>
3192 Add new_etag output to replace_contents functions
3194 2007-09-14 Alexander Larsson <alexl@redhat.com>
3196 * gio/gfileoutputstream.[ch]:
3197 Add async get_file_info and default implementation
3199 2007-09-14 Alexander Larsson <alexl@redhat.com>
3201 * gio/gfileinputstream.c:
3202 Implement fallback wrapper for async get_file_info
3204 2007-09-14 Alexander Larsson <alexl@redhat.com>
3207 Add etag out argument to load_contents
3212 2007-09-14 Alexander Larsson <alexl@redhat.com>
3214 * gio/gcontenttype.c (looks_like_text):
3215 Whitespace like tab, cr and lf do not make the
3218 2007-09-14 Alexander Larsson <alexl@redhat.com>
3220 * gio/gfileinputstream.[ch]:
3221 Add async get_file_info.
3223 2007-09-13 Alexander Larsson <alexl@redhat.com>
3225 * gio/goutputstream.c (g_output_stream_write_all):
3226 Allow NULL for bytes_written
3228 2007-09-13 Alexander Larsson <alexl@redhat.com>
3230 * gio/gmemoryinputstream.[ch]:
3231 Add accessors for data
3233 2007-09-13 Alexander Larsson <alexl@redhat.com>
3235 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3236 Don't crash if length is NULL