1 2008-01-28 Alexander Larsson <alexl@redhat.com>
4 Register local vfs with prio 0.
7 Remove old name and prio class members
9 2008-01-28 Matthias Clasen <mclasen@redhat.com>
11 * tests/g-file.c: Disable some tests that are failing in
12 the absence of a http backend.
14 2008-01-28 Alexander Larsson <alexl@redhat.com>
18 Add registration hooks for extension points.
19 Register the gio extension points.
21 * fam/gfamdirectorymonitor.c:
22 * fam/gfamfilemonitor.c:
23 * glocaldirectorymonitor.[ch]:
24 * glocalfilemonitor.[ch]:
25 * gnativevolumemonitor.h:
26 * gunionvolumemonitor.c:
27 * gunixvolumemonitor.c:
30 * inotify/ginotifydirectorymonitor.c:
31 * inotify/ginotifyfilemonitor.c:
32 Use the extension points registration instead
35 2008-01-28 Matthias Clasen <mclasen@redhat.com>
38 * gvolume.[hc]: Document new API.
40 * gfile.c (g_file_copy_async): Fix docs
42 2008-01-27 Matthias Clasen <mclasen@redhat.com>
44 * gbufferedinputstream.c:
46 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
49 2008-01-27 Matthias Clasen <mclasen@redhat.com>
51 * glocalfile.c: Avoid trivial differences in translatable strings.
53 2008-01-25 Matthias Clasen <mclasen@redhat.com>
55 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
56 build with gcc 3.4 (#509419)
58 2008-01-25 Matthias Clasen <mclasen@redhat.com>
60 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
61 (#509994, Murray Cumming)
63 2008-01-25 Matthias Clasen <mclasen@redhat.com>
65 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
66 * gioscheduler.c: Keep calling io jobs until they return FALSE;
67 this allows big jobs to be executed in chunks, instead of blocking
68 the main loop for a long time.
70 * gsimpleasyncresult.c:
71 * giofile.c: Adapt callers.
73 2008-01-25 Alexander Larsson <alexl@redhat.com>
76 Implement changes discussed on xdg list.
77 Now we can add supported mimetypes by just using defaults.list
78 We can also remove associations in defaults.list.
80 2008-01-25 Alexander Larsson <alexl@redhat.com>
83 Don't make local copy of desktop file
84 for mimetype changes if the file already
85 supports the new mimetype.
87 2008-01-25 Matthias Clasen <mclasen@redhat.com>
91 * gbufferedinputstream.c:
92 * glocalfile.c: String improvements. (#511966,
93 Theppitak Karoonboonyanan)
95 2008-01-24 Matthias Clasen <mclasen@redhat.com>
97 * gioscheduler.h: Expand docs a bit.
99 2008-01-24 Alexander Larsson <alexl@redhat.com>
102 Add g_drive_get_identifier and
103 g_drive_enumerate_identifiers
106 Add g_volume_get_identifier and
107 g_volume_enumerate_identifiers
113 Implement identifiers for unix backend
115 2008-01-24 Alexander Larsson <alexl@redhat.com>
120 Add g_file_copy_async() (#511580)
121 Based on patch from Carlos Garcia Campos
123 2008-01-23 Matthias Clasen <mclasen@redhat.com>
125 * gioscheduler.c: Some documentation additions.
127 2008-01-22 Alexander Larsson <alexl@redhat.com>
130 (g_desktop_app_info_new):
133 2008-01-22 Alexander Larsson <alexl@redhat.com>
136 (g_desktop_app_info_new_from_filename):
139 2008-01-22 Alexander Larsson <alexl@redhat.com>
141 * glocalfileinfo.c (get_thumbnail_attributes):
144 2008-01-22 Alexander Larsson <alexl@redhat.com>
147 (canonicalize_filename):
148 Canonicalize paths that start with more than
153 (test_g_file_new_for_path):
156 2008-01-22 Alexander Larsson <alexl@redhat.com>
159 Allow UTF-8 in file:// parse names.
162 * tests/data-input-stream.c:
163 * tests/data-output-stream.c:
164 * tests/g-file-info.c:
166 Added a bunch of tests from Tomas Bzatek
168 2008-01-21 Matthias Clasen <mclasen@redhat.com>
170 * === Released 2.15.3 ===
172 2008-01-21 Alexander Larsson <alexl@redhat.com>
174 * gfileinputstream.[ch]:
175 * gfileoutputstream.[ch]:
177 Remove duplicated GSeekable functions. (#509990)
178 Just use the g_seekable_xxx() calls instead.
180 2008-01-21 Matthias Clasen <mclasen@redhat.com>
183 * gvolumemanager.c: Whitespace cleanups.
185 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
186 Use the right mode when creating the file.
188 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
191 * gfileinputstream.c:
193 * goutputstream.c: Documentation: Fixed minor typos
194 and added more mentions of specific _finish() functions.
196 2008-01-21 Alexander Larsson <alexl@redhat.com>
198 * inotify/Makefile.am:
199 * inotify/inotify-helper.c:
200 * inotify/inotify-kernel.c:
201 * inotify/inotify-path.c:
202 * inotify/local_inotify.h: Removed.
203 * inotify/local_inotify_syscalls.h: Removed.
204 Removed the included copies of the inotify
205 headers. We now only use the <sys/inotify.h>
206 header which exists on modern systems.
207 This fixes problems on ARM and SH5 (#510448)
208 but is also generally much cleaner and future
209 safe. For instance, if other OSes add support
210 for inotify it should "just work".
212 2008-01-20 Matthias Clasen <mclasen@redhat.com>
214 * inotify/*.c: Coding style fixes.
215 * inotify/inotify-missing.c: Use g_timeout_add_seconds
216 for the 1/4 Hz timer.
218 2008-01-20 Matthias Clasen <mclasen@redhat.com>
222 * gmemoryinputstream.c:
223 * gmemoryoutputstream.c:
225 * gthemedicon.c: Documentation updates
227 2008-01-20 Murray Cumming <murrayc@murrayc.com>
229 * gfile.c: documentation: Fixed more minor
232 2008-01-18 Murray Cumming <murrayc@murrayc.com>
234 * gmount.c: (g_mount_remount): documentation:
235 Mention g_mount_remount_finish() instead of
236 g_mount_unmount_finish().
238 2008-01-18 Murray Cumming <murrayc@murrayc.com>
242 * gfile.c: Fixed some minor typos in the
245 2008-01-18 Murray Cumming <murrayc@murrayc.com>
247 * gio/gvolumemonitor.c:
248 (g_volume_monitor_get_connected_drives):
249 (g_volume_monitor_get_volumes):
250 (g_volume_monitor_get_mounts): Documentation:
251 Clarify the ownership of the regurn GLists.
253 2008-01-17 Alexander Larsson <alexl@redhat.com>
256 Add the async find_enclosing_mount version
257 to the header file too.
259 2008-01-17 Alexander Larsson <alexl@redhat.com>
262 Add async version of find_enclosing_mount
263 with default implementation.
265 2008-01-17 Alexander Larsson <alexl@redhat.com>
270 Allow calls to implementation of copy and write
271 even if the type of the file implementations is
272 different. This can be used to implement native
273 upload and download calls in a vfs.
277 Protect against the case where move is called
278 with one file not being local.
280 Make sure we call the progress callback once
281 in the native move operation so that the caller
282 knows how many bytes were copied.
284 2008-01-16 Murray Cumming <murrayc@murrayc.com>
287 * gdatainputstream.c:
289 * gfileoutputstream.c:
294 * gunixmounts.c: Corrected some typos in the documentation:
296 its -> it's (where appropriate).
298 2008-01-16 Alexander Larsson <alexl@redhat.com>
302 Add g_file_query_exists (#508771)
304 2008-01-15 Murray Cumming <murrayc@murrayc.com>
309 * gvolume.c: For async functions that have no non-async
310 version, document that the GAsyncReadyCallback may be NULL.
313 2008-01-15 Alexander Larsson <alexl@redhat.com>
315 * gmemoryinputstream.c:
316 * gmemoryoutputstream.c:
317 Don't do pointer arithmetic on void * (#508602)
318 Patch from Kazuki IWAMOTO
320 2008-01-14 Matthias Clasen <mclasen@redhat.com>
322 * === Released 2.15.2 ===
324 2008-01-14 Alexander Larsson <alexl@redhat.com>
326 * gfile.c (g_file_monitor_file):
327 Don't set error here, since we fallback to polling monitor.
329 2008-01-14 Alexander Larsson <alexl@redhat.com>
332 (g_file_monitor_directory):
333 (g_file_monitor_file):
334 Add GError to file monitor calls
336 * glocaldirectorymonitor.c:
337 * glocaldirectorymonitor.h:
339 * glocalfilemonitor.c:
340 * glocalfilemonitor.h:
342 Update for above change
344 2008-01-14 Alexander Larsson <alexl@redhat.com>
348 Handle root correctly in g_file_get_relative_path (#508719)
350 2008-01-14 Alexander Larsson <alexl@redhat.com>
353 Clean up docs and example for GAsyncResult (#508074)
355 2008-01-11 Murray Cumming <murrayc@murrayc.com>
357 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
358 and correct some spelling mistakes. Bug #508108.
360 2008-01-11 Matthias Clasen <mclasen@redhat.com>
362 * glocalfileinfo.c: Add a comment.
364 2008-01-10 Murray Cumming <murrayc@murrayc.com>
366 * gfileinfo.c: GFileInfo description: Mention
367 how to actually set attributes in a GFile and how to discover
368 which attributes are settable. Bug #508378.
370 2008-01-10 A. Walton <awalton@svn.gnome.org>
372 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
373 (g_app_info_get_default_for_type):
374 Check for NULL content types.
376 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
378 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
380 2008-01-09 Murray Cumming <murrayc@murrayc.com>
382 * gfile.c: *_async() functions: Several small corrections
383 to the documentation, mostly correcting copy/paste errors
384 and improving some sentences.
386 2008-01-09 Dan Winship <danw@gnome.org>
388 * glocalfile.c (get_unique_filename): x86_64 fix
390 2008-01-09 Alexander Larsson <alexl@redhat.com>
395 Add g_unix_mount_guess_should_display and use
396 for unix volume monitor backend.
397 This means we more or less show what the
398 gnome-vfs backend did.
399 Based on patch from Padraig O'Briain
401 2008-01-09 Alexander Larsson <alexl@redhat.com>
405 Add g_themed_icon_new_with_default_fallbacks
408 Use default fallbacks for icons
410 2008-01-09 Alexander Larsson <alexl@redhat.com>
413 * gmountoperation.[ch]:
414 Change the API a bit so that unhandled methods
415 get reported via the reply, rather than by
416 the signal emission return value. This is because
417 some handlers can't know this immediately without
418 doing I/O, and this is an async operation that
421 2008-01-09 Alexander Larsson <alexl@redhat.com>
424 * fam/gfamdirectorymonitor.c:
425 * fam/gfamfilemonitor.c:
426 Fix double free crash (#508224)
427 Patch from Joe Marcus Clarke
429 008-01-07 Matthias Clasen <mclasen@redhat.com>
431 * === Released 2.15.1 ===
433 2008-01-07 Alexander Larsson <alexl@redhat.com>
435 * gunixinputstream.c (g_unix_input_stream_skip_finish):
436 Fix warning (#507835)
438 2008-01-07 Alexander Larsson <alexl@redhat.com>
441 Pass --internal to glib-genmarshal
446 Use better types for signal arguments (#507822)
448 2008-01-07 Alexander Larsson <alexl@redhat.com>
451 Build test subdir after .
452 Remove gdirectorymonitor.[ch]
454 * gdirectorymonitor.[ch]:
458 Remove GDirectoryMonitor and make
459 GFileMonitor the baseclass for both file and
460 directory monitors. Lift the more generic
461 rate limiting code from GDirectoryMonitor
465 * fam/gfamdirectorymonitor.[ch]:
466 * inotify/ginotifydirectorymonitor.[ch]:
467 * inotify/inotify-helper.c:
468 * glocaldirectorymonitor.[ch]:
471 Update for the removed GDirectoryMonitor.
473 * gmemoryoutputstream.c:
474 Remove ununsed variable
476 2008-01-07 Alexander Larsson <alexl@redhat.com>
478 * gmemoryinputstream.c:
479 Translate error strings
482 * gmemoryoutputstream.[ch]:
483 New implementation that avoids using GByteArray
484 in implementation and API. (#506377)
486 2008-01-06 Matthias Clasen <mclasen@redhat.com>
488 * tests/*: Add a test for memory input streams.
490 * Makefile.am: Add tests to SUBDIRS.
492 2008-01-06 Matthias Clasen <mclasen@redhat.com>
494 * glocalfilemonitor.c:
495 * glocaldirectorymonitor.c: Mark property nicks and blurbs
498 2008-01-06 Matthias Clasen <mclasen@redhat.com>
500 * gdesktopappinfo.c: Fix a docs typo.
502 * gfileattribute.c: Add information about extended attributes
503 to the documentation. (#505058)
505 2008-01-04 Alexander Larsson <alexl@redhat.com>
509 Use the right type (uint) for the ask_password signal.
511 2008-01-04 Alexander Larsson <alexl@redhat.com>
516 Add g_app_info_supports_files()
517 Remove desktop arg from g_app_info_should_show().
519 * gdesktopappinfo.[ch]:
520 Implement g_app_info_supports_files() and new should_show()
521 Add g_desktop_app_info_set_desktop_env() to set the desktop
522 for should_show(). (This will be set by gtk+ later)
524 2008-01-04 Alexander Larsson <alexl@redhat.com>
527 * gmemoryinputstream.[ch]:
528 Improve API so that you can use multiple chunks
529 of memory and custom destroy functions. (#506374)
531 2008-01-03 Alexander Larsson <alexl@redhat.com>
534 Handle NULL attribute matchers safely, as we return this
535 for empty attribute matcher strings.
537 2008-01-03 Alexander Larsson <alexl@redhat.com>
539 * gunixmounts.c (g_unix_is_mount_path_system_internal):
540 Add /usr/local to list of internal mountpoints
542 2008-01-03 Alexander Larsson <alexl@redhat.com>
545 Check for HAVE_LCHOWN (#505887)
547 2008-01-03 Alexander Larsson <alexl@redhat.com>
551 Add define for selinux context attribute.
552 Fix missing : -> :: namespace separator change
553 Fix missing _ -> - name change for xattr-sys.
556 2008-01-03 Alexander Larsson <alexl@redhat.com>
559 Link to libglib and libgobject directly (#504879)
560 Patch from Sebastien Bacher
562 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
564 * gfile.c: Expanded the g_file_new_for_commandline_arg
565 description a bit, based on the code and the docs of the
566 other g_file_new_for_* functions.
568 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
570 * gfilemonitor.h: Fixed typo in docs.
572 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
574 Updates to GIO documentation. (#506395, Mikael Hermansson)
576 * gcontenttype.c: Describe memory management for return value of
577 g_content_types_get_registered(). Missing piece from #505815.
578 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
579 GVolume, GDrive, GMounts, which hopefully gives the user less
580 confusions when using this API. Following explainations from
581 Alexander Larsson on gtk-devel-list.
583 2007-12-30 Matthias Clasen <mclasen@redhat.com>
585 * gfileinfo.c: Expand the long description.
587 2007-12-30 Matthias Clasen <mclasen@redhat.com>
590 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
591 fix builds with --disable-visibility. (#500273, Christian Persch)
593 2007-12-30 Matthias Clasen <mclasen@redhat.com>
595 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
596 in the list of returned app infos.
598 2007-12-30 Matthias Clasen <mclasen@redhat.com>
600 * gappinfo.c: Fix a cross-reference
602 2007-12-30 Matthias Clasen <mclasen@redhat.com>
604 * gfileinputstream.c:
605 * gfileoutputstream.c:
611 * gfileinfo.c: Documentation updates.
613 2007-12-26 Matthias Clasen <mclasen@redhat.com>
615 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
618 2007-12-26 Matthias Clasen <mclasen@redhat.com>
620 * gcontenttype.c (g_content_types_get_registered): Don't return
621 freed memory (#505815, Mikael Hermansson)
623 2007-12-25 Paolo Borelli <pborelli@katamail.com>
625 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
626 used to detect statbuf->st_blocks. (#505042)
628 2007-12-24 Matthias Clasen <mclasen@redhat.com>
630 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
631 environment handling. (#504829, Cosimo Cecchi)
633 2007-12-22 Matthias Clasen <mclasen@redhat.com>
635 * gappinfo.c: Doc improvements
637 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
640 2007-12-20 Matthias Clasen <mclasen@redhat.com>
642 * === Released 2.15.0 ===
644 2007-12-20 Hans Breuer <hans@breuer.org>
646 * makefile.msc : don't build gdesktopappinfo.obj, it collides
647 with symbols gwin32appinfo.obj, added gmount.obj
648 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
650 2007-12-20 Alexander Larsson <alexl@redhat.com>
656 * gfilenamecompleter.c:
659 * gpollfilemonitor.c:
660 File attribute renames:
663 id::fs -> id::filesystem
665 2007-12-20 Alexander Larsson <alexl@redhat.com>
674 Add GMountUnmountFlags to all unmount and
676 Add g_mount_remount() call.
678 2007-12-20 Alexander Larsson <alexl@redhat.com>
680 * gvfs.c (get_default_vfs):
681 Fix unused variable warning
683 2007-12-19 Matthias Clasen <mclasen@redhat.com>
685 * pltcheck.sh: Update
687 2007-12-19 Matthias Clasen <mclasen@redhat.com>
689 * gunionvolumemonitor.c:
690 * gunixmount.c: Remove C99 comments
692 2007-12-19 Matthias Clasen <mclasen@redhat.com>
694 * gio.symbols: Add some missing symbols
696 2007-12-19 Alexander Larsson <alexl@redhat.com>
699 Make g_io_modules_load_all_in_directory not unuse
700 loaded modules so that users of it can do stuff
702 Init internal "module" types.
703 Initialize static prio and name for types so that
704 we don't have to load modules to get it.
706 * gnativevolumemonitor.h:
708 Move is_supported to parent class so that
709 non-native monitors can avoid being initialized
710 too. (For instance GDaemonVolumeMonitor if we're
711 not using GDaemonVfs.)
713 * glocaldirectorymonitor.[ch]:
714 * glocalfilemonitor.[ch]:
715 * gunionvolumemonitor.c:
716 * gunixvolumemonitor.c:
718 Find plugins using the static prio+name to
719 avoid unnecessarily loading the modules.
721 2007-12-19 Alexander Larsson <alexl@redhat.com>
726 2007-12-19 Alexander Larsson <alexl@redhat.com>
728 * gunionvolumemonitor.c:
729 Store the native type as GType, not class so that
730 we can unload it. But still avoid unnecessarily
733 2007-12-19 David Zeuthen <davidz@redhat.com>
735 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
736 add signals 'disconnected' and 'eject-button' on GDrive. Add
737 signal 'removed' on GVolume and 'unmounted' on GMount.
739 * gdrive.c: (g_drive_base_init):
741 * gfile.c: (g_file_mount_mountable),
742 (g_file_mount_enclosing_volume):
745 * gmount.c: (g_mount_base_init):
747 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
748 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
749 * gvolume.c: (g_volume_base_init), (g_volume_mount):
753 2007-12-17 Matthias Clasen <mclasen@redhat.com>
755 * *.c: Fix up includes in the section docs.
757 2007-12-17 Alexander Larsson <alexl@redhat.com>
759 * gnativevolumemonitor.h:
760 * gunionvolumemonitor.c:
761 * gunixvolumemonitor.c:
762 Add is_supported() to GNativeVolumeMonitorClass so
763 that we can avoid having to create an object to see
764 if the backend is supported at runtime.
765 Also add name member and an env var to pick a specific
766 volume monitor backend.
770 Add cancellable to _g_mount_get_for_mount_path()
772 * glocaldirectorymonitor.c:
773 * glocalfilemonitor.c:
774 Avoid loading and unloading modules while sorting.
776 2007-12-17 Matthias Clasen <mclasen@redhat.com>
779 * gunixmounts.[hc]: Namespace waste reduction, move some
780 g_get_unix_mount functions to the g_unix_mount namespace.
783 * gunixvolumemonitor.c:
785 * glocaldirectorymonitor.c: Update all callers.
787 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
789 2007-12-17 Alexander Larsson <alexl@redhat.com>
792 Add doc comments about what GFile operations are
793 guaranteed to not block.
795 2007-12-17 Alexander Larsson <alexl@redhat.com>
798 Add missing #ifdef fixing OSX build.
799 (#503334, patch from Richard Hult)
801 2007-12-14 David Zeuthen <davidz@redhat.com>
805 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
806 (g_mount_eject), (g_mount_eject_finish):
808 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
809 (get_volume_for_uuid), (get_mount_for_uuid),
810 (g_union_volume_monitor_class_init),
811 (get_default_native_type_with_exclude), (get_default_native_type),
812 (get_native_type), (update_native_type),
813 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
814 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
815 (g_unix_mount_can_eject), (eject_unmount_cb),
816 (eject_unmount_read_error), (eject_unmount_do),
817 (g_unix_mount_unmount), (g_unix_mount_eject),
818 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
819 * gunixmounts.c: (g_unix_mount_guess_can_eject),
820 (g_unix_mount_point_guess_can_eject):
822 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
823 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
824 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
825 (g_unix_volume_mount), (g_unix_volume_eject),
826 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
827 * gunixvolumemonitor.c: (get_volume_for_uuid),
828 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
830 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
831 (g_volume_eject), (g_volume_eject_finish):
833 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
834 (g_volume_monitor_get_mount_for_uuid):
837 Provide eject() on both GMount and GVolume and utility functions
838 to guess whether a GUnixMountPoint or GUnixMountEntry should be
839 ejected. Introduce the concept of UUID's and wire it into GVolume
840 and GMount and provide API on GVolumeMonitor to find such
841 instances. Also handle the case where an external
842 GNativeVolumeMonitor fails to initialize. Lock around the
843 _g_get_mount_for_mount_path() function such that volume monitor
844 implementations won't have to do locking themselves.
846 2007-12-17 Matthias Clasen <mclasen@redhat.com>
854 * gvolume.h: Documentation updates
856 2007-12-14 Matthias Clasen <mclasen@redhat.com>
859 * gfile.h: Doc updates
861 2007-12-14 Matthias Clasen <mclasen@redhat.com>
864 * gdesktopappinfo.c: Use hash table iterators.
866 2007-12-14 Alexander Larsson <alexl@redhat.com>
869 * gfileattribute.[ch]:
870 * gfileattribute-priv.h:
871 Move GFileAttributeValue to a private header, as
875 Make set_attribute take a type + a pointer instead
876 of a GFileAttributeValue.
879 Fix up for above changes.
880 Add g_file_info_get_attribute_data to get
881 all info in one call, g_file_info_get_attribute_status
882 to get the status and g_file_info_get_attribute_as_string.
886 * glocalfileinfo.[ch]:
890 Make _guess_type static.
892 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
895 * inotify/Makefile.am: Fixed build when srcdir != builddir,
896 made mkenums and friends use temporary files to avoid leaving
897 empty generated files on failure (#503470).
899 2007-12-14 Alexander Larsson <alexl@redhat.com>
904 2007-12-14 Alexander Larsson <alexl@redhat.com>
908 * gfileattribute.[ch]:
911 * glocalfileoutputstream.c:
912 * gmountoperation.[ch]:
913 * goutputstream.[ch]:
914 Clean up all flags enums to not have _FLAGS in them
915 Make the names of some of the enums better.
920 2007-12-14 Michael Natterer <mitch@imendio.com>
922 * gio.symbols: fix g_io_scheduler symbol names.
924 2007-12-14 Alexander Larsson <alexl@redhat.com>
930 * gbufferedinputstream.h:
931 * gbufferedoutputstream.h:
934 * gdatainputstream.h:
935 * gdataoutputstream.h:
937 * gdirectorymonitor.h:
944 * gfileinputstream.h:
946 * gfilenamecompleter.h:
947 * gfileoutputstream.h:
948 * gfilterinputstream.h:
949 * gfilteroutputstream.h:
957 * gmemoryinputstream.h:
958 * gmemoryoutputstream.h:
963 * gsimpleasyncresult.h:
965 * gunixinputstream.h:
967 * gunixoutputstream.h:
971 * inotify/Makefile.am:
972 Only allow including <gio/gio.h> from apps
974 2007-12-14 Alexander Larsson <alexl@redhat.com>
977 * gsimpleasyncresult.c:
978 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
979 Split out the send_to_mainloop call into two versions instead
980 of having the block argument.
982 2007-12-13 Alexander Larsson <alexl@redhat.com>
986 * gbufferedinputstream.c:
988 * gfileinputstream.c:
989 * gfileoutputstream.c:
993 g_push/pop_current_cancellable ->
994 g_cancellable_push/pop_current
996 2007-12-13 Alexander Larsson <alexl@redhat.com>
1000 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1002 2007-12-13 Alexander Larsson <alexl@redhat.com>
1004 * gmountoperation.h:
1005 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1007 2007-12-12 Alexander Larsson <alexl@redhat.com>
1010 Fix race condition when freeing proxy in
1011 g_io_job_send_to_mainloop().
1013 2007-12-12 Alexander Larsson <alexl@redhat.com>
1019 Make attribute namespace separator "::" instead of ":".
1020 Use - instead of _ as separator in attribute names.
1022 2007-12-12 Alexander Larsson <alexl@redhat.com>
1024 * gbufferedinputstream.h:
1025 * gbufferedoutputstream.h:
1026 * gdatainputstream.h:
1027 * gdataoutputstream.h:
1028 * gdirectorymonitor.h:
1029 * gfileenumerator.h:
1030 * gfileinputstream.h:
1032 * gfileoutputstream.h:
1033 * gfilterinputstream.h:
1034 * gfilteroutputstream.h:
1036 * glocalfileinputstream.h:
1037 * glocalfileoutputstream.h:
1038 * gmemoryinputstream.h:
1039 * gmemoryoutputstream.h:
1040 * gnativevolumemonitor.h:
1042 * gunixinputstream.h:
1043 * gunixoutputstream.h:
1046 s/parent/parent_instance/ in GObjects
1048 2007-12-12 Alexander Larsson <alexl@redhat.com>
1053 No need for padding for interfaces
1055 2007-12-12 Alexander Larsson <alexl@redhat.com>
1059 * gbufferedinputstream.c:
1060 * gbufferedoutputstream.c:
1063 * gdatainputstream.[ch]:
1064 * gdesktopappinfo.c:
1065 * gdirectorymonitor.c:
1067 * gfileattribute.[ch]:
1070 * gfileinputstream.h:
1071 * gfilemonitor.[ch]:
1072 * gfileoutputstream.[ch]:
1073 * gfilterinputstream.h:
1074 * gfilteroutputstream.h:
1077 * gloadableicon.[ch]:
1078 * gmemoryinputstream.c:
1079 * gmountoperation.c:
1081 Fix up a bunch of details in the docs.
1086 2007-12-11 David Zeuthen <davidz@redhat.com>
1088 Rework how volumes, drives and volume monitoring is
1089 done. Previosly the model was
1091 GDrive <1-1> GVolume
1093 where a GDrive instance represented a mount point and a GVolume
1094 instance represented a mounted file system. This patch changes it
1097 GDrive <1-N> GVolume <1-1> GMount
1099 where GMount now serves the purpose of the old GVolume and the new
1100 GVolume serves the purpose of the old GDrive. In addition the new
1101 GDrive interface is used to represent a collection of GVolume
1102 instances (typically partitions) and also contains utility to query
1103 the state of the physical drive the GDrive object represents (such
1104 as checking for media, polling the drive, ejecting the media etc.).
1106 Also implement mounting and unmounting in the Unix volume monitor
1107 backend. A subquent patch will introduce GDrive support for ejection
1111 * gdrive.c: (g_drive_is_media_check_automatic),
1112 (g_drive_is_media_removable), (g_drive_has_media),
1113 (g_drive_can_poll_for_media), (g_drive_eject),
1114 (g_drive_eject_finish), (g_drive_poll_for_media),
1115 (g_drive_poll_for_media_finish):
1117 * gfile.c: (g_file_find_enclosing_mount):
1120 * glocaldirectorymonitor.c:
1121 (g_local_directory_monitor_constructor), (mounts_changed):
1122 * glocalfile.c: (get_mount_info),
1123 (g_local_file_find_enclosing_mount),
1124 (g_local_file_file_iface_init):
1125 * gnativevolumemonitor.h:
1126 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1127 (get_connected_drives), (g_union_volume_monitor_class_init),
1128 (child_volume_added), (child_volume_removed),
1129 (child_volume_changed), (child_mount_added), (child_mount_removed),
1130 (child_mount_pre_unmount), (child_mount_changed),
1131 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1132 (g_union_volume_monitor_remove_monitor),
1133 (_g_mount_get_for_mount_path):
1134 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1135 (guess_system_internal), (_g_get_unix_mounts),
1136 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1137 (g_unix_mount_free), (g_unix_mount_compare),
1138 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1139 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1140 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1141 (type_to_icon), (g_unix_mount_guess_name),
1142 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1143 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1144 (_resolve_symlink), (_resolve_dev_root):
1146 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1147 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1148 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1149 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1150 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1151 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1152 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1153 (g_unix_volume_volume_iface_init):
1155 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1156 (get_mounts), (get_volumes), (get_connected_drives),
1157 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1158 (mountpoints_changed), (mounts_changed),
1159 (g_unix_volume_monitor_init),
1160 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1161 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1162 * gunixvolumemonitor.h:
1163 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1164 (g_volume_mount), (g_volume_mount_finish):
1166 * gvolumemonitor.c: (g_volume_monitor_class_init),
1167 (g_volume_monitor_get_connected_drives),
1168 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1171 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1173 * gmountoperation.h (GPasswordFlags): Close the gap
1175 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1177 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1179 * gdesktopappinfo.[hc]: Remove _-prefixes
1181 2007-12-10 Tor Lillqvist <tml@novell.com>
1183 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1186 2007-12-10 Alexander Larsson <alexl@redhat.com>
1188 * gfile.c (g_file_set_display_name):
1189 Don't hardcode '/' (#502727)
1191 2007-12-09 Hans Breuer <hans@breuer.org>
1193 * makefile.msc : follow lib naming convention
1194 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1195 for user and group name, tested with ../tests/gio-ls
1197 2007-12-09 A. Walton <awalton@svn.gnome.org>
1199 * gdesktopappinfo.c:
1205 * gfileenumerator.c:
1210 * gmemoryinputstream.c:
1211 * gmemoryoutputstream.c:
1213 * gsimpleasyncresult.c:
1214 More documentation cleanup and filling in missing information, bringing
1215 GIO to 99% symbol coverage.
1217 2007-12-08 Hans Breuer <hans@breuer.org>
1219 [gio compiles and links on win32, not sure how much already works]
1220 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1221 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1222 base on win32 API; prefer g_lstat() over lstat(); instead of
1223 localtime_r() use an all GLib implementation on win32;
1224 get_mount_info() still needs a win32 specifc implementation
1225 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1226 win32_get_file_user_info to get owner/group info without uid/gid
1227 * glocalfileinputstream.c : include <io.h> on win32
1228 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1229 definition, use g_win32_ftruncate() for G_OS_WIN32
1230 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1231 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1232 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1233 * makefile.msc : updated
1235 2007-12-07 Alexander Larsson <alexl@redhat.com>
1237 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1238 Avoid warning spew if error == NULL
1240 2007-12-07 Alexander Larsson <alexl@redhat.com>
1243 Update docs wrt etags
1245 2007-12-06 Alexander Larsson <alexl@redhat.com>
1248 Include sys/types.h for dev_t (#501919)
1250 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1254 Make abicheck and pltcheck pass.
1256 2007-12-05 Alexander Larsson <alexl@redhat.com>
1259 * giomodule-priv.h: Added.
1260 * glocaldirectorymonitor.c:
1261 * glocalfilemonitor.c:
1262 * gunionvolumemonitor.c:
1264 Actually add the declaration of _g_io_modules_ensure_loaded
1266 2007-12-05 Alexander Larsson <alexl@redhat.com>
1268 * gdatainputstream.c:
1273 * glocaldirectorymonitor.c:
1274 * glocalfilemonitor.c:
1275 * gunionvolumemonitor.c:
1277 Make g_io_modules_ensure_loaded a private function and
1278 don't pass in the dirname. This means we can do magic
1279 directory finding in the win32 version.
1280 Export the actual load-modules-in-directory code so that
1281 gvfs can reuse that.
1283 2007-12-05 Alexander Larsson <alexl@redhat.com>
1285 * gbufferedinputstream.c:
1286 * gbufferedoutputstream.c:
1289 * gfileenumerator.[ch]:
1290 * gfileinputstream.c:
1291 * gfileoutputstream.[ch]:
1292 * gfilterinputstream.c:
1293 * gfilteroutputstream.c:
1294 * ginputstream.[ch]:
1296 * glocalfileenumerator.c:
1297 * glocalfileinputstream.c:
1298 * glocalfileoutputstream.c:
1299 * gmemoryinputstream.c:
1300 * gmemoryoutputstream.c:
1301 * goutputstream.[ch]:
1304 * gunixinputstream.c:
1305 * gunixoutputstream.c:
1306 Rename all struct members named:
1307 read, write, close, truncate, or mount
1308 to foo_fn, as these are reserved names
1309 and could be defined as macros in libc.
1312 2007-12-04 Alexander Larsson <alexl@redhat.com>
1315 (g_output_stream_close):
1316 Only call flush if non-null.
1318 2007-11-30 Dan Winship <danw@gnome.org>
1320 * ginputstream.c (g_input_stream_set_pending): Make this take a
1321 GError and return a gboolean, and do the "outstanding operation"
1322 check (and the "stream is already closed" check) itself.
1323 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1325 * goutputstream.c (g_output_stream_set_pending)
1326 (g_output_stream_clear_pending): Likewise
1328 * gbufferedinputstream.c:
1329 * gfileinputstream.c:
1330 * gfileoutputstream.c: Update for that
1332 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1333 Like g_simple_async_report_error_in_idle, but takes a GError
1334 rather than building one.
1336 2007-11-30 Dan Winship <danw@gnome.org>
1338 * goutputstream.c: Don't cheat and unset the "pending" flag around
1339 inner calls. Instead, call the class method directly rather than
1340 the wrapper function that checks "pending"
1342 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1344 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1346 2007-12-03 Hans Breuer <hans@breuer.org>
1348 [start of port to win32/msvc]
1349 * gcancellable.c : HAVE_UNIST_H and _pipe()
1350 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1351 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1352 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1354 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1355 * glocalvfs.c : use HAVE_PWD_H
1356 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1357 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1358 * Makefile.am : added to EXTRA_DIST
1360 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1362 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1365 2007-12-03 Alexander Larsson <alexl@redhat.com>
1368 Handle OSX style xattrs API (#500506)
1370 2007-12-03 Alexander Larsson <alexl@redhat.com>
1374 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1376 2007-12-02 A. Walton <awalton@svn.gnome.org>
1380 Documentation accuracy fixes.
1382 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1384 * gioenumtypes.c.template: Fix typo.
1386 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1388 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1390 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1392 * gdirectorymonitor.c:
1393 * gfilemonitor.c: Add properties
1395 * gbufferedoutputstream.c: Don't mark buffer-size property
1398 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1400 * gbufferedoutputstream.c: Add auto-grow property.
1402 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1404 * *.c: Unify the capitalization of section headings.
1406 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1408 * gmountoperation.c: Add properties
1410 * gdatainputstream.c: Turn byte-order and newline-type into
1413 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1415 * gioenumtypes.[hc].template: Templates for enum registration
1417 * Makefile.am: Generate gioenumtypes.[hc]
1419 * gio.h: Include gioenumtypes.h
1421 * gfile.h: Add some explicit nicks.
1423 * gio.symbols: Add new symbols
1425 * pltcheck.sh: Adjust
1427 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1429 * *.c: Explain etags and link to the explanation
1431 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1433 * *.c: Explain I/O priority.
1435 * *.c: More coding style fixes.
1437 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1439 * gasyncresult.c: Add another paragraph to the intro,
1440 adjust coding style of example.
1442 2007-11-29 A. Walton <awalton@svn.gnome.org>
1445 Fixes unknown meaning in GAppLaunchContext docs.
1447 Clarify asynchronous ops.
1449 Fix entity tag docs.
1452 Provides missing gtk-doc section, fixes API docs slighly.
1453 * gsimpleasyncresult.c:
1454 Fill in missing info in docs.
1455 * gunixinputstream.c:
1456 * gunixoutputstream.c:
1457 Be more expressive in short description.
1459 Remove gtk-doc stubs for non-public API.
1461 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1463 * *.c: Coding style fixups
1465 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1467 * inotify/inotify-helper.c: Don't export the lock from libgio.
1469 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1472 * abicheck.sh: Fix copy-and-paste leftovers
1474 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1476 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1478 2007-11-28 Alexander Larsson <alexl@redhat.com>
1482 Removed unnecessary file
1484 * gdesktopappinfo.[ch]:
1487 * glocaldirectorymonitor.[ch]:
1489 * glocalfileenumerator.[ch]:
1490 * glocalfileinputstream.[ch]:
1491 * glocalfilemonitor.[ch]:
1492 * glocalfileoutputstream.[ch]:
1494 * gnativevolumemonitor.c:
1495 * gpollfilemonitor.[ch]:
1496 * gunionvolumemonitor.[ch]:
1499 * gunixvolumemonitor.[ch]:
1502 * inotify/ginotifydirectorymonitor.[ch]:
1503 * inotify/ginotifyfilemonitor.[ch]:
1504 * inotify/inotify-helper.c:
1505 Append _ to all internal functions
1509 Export symbols needed for modules
1511 2007-11-28 Alexander Larsson <alexl@redhat.com>
1514 * abicheck.sh: Added.
1515 * makegioalias.pl: Added.
1516 * pltcheck.sh: Added.
1517 * gio.symbols: Added.
1520 Initial work on adding symbol handling.
1523 Correct ifdef guard name
1526 * inotify/Makefile.am:
1527 * xdgmime/Makefile.am:
1528 Include toplevel Makefile.decl
1530 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1532 * gcontenttype.c: Move doc comments to the unix section.
1534 * *.[hc]: More trivial doc corrections.
1536 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1538 * gpollfilemonitor.c:
1542 * gdesktopappinfo.c:
1547 * gdatainputstream.c:
1548 * gdatainputstream.h:
1549 * gdataoutputstream.c:
1550 * gdataoutputstream.h:
1551 * gfileinfo.h: Doc cleanups
1553 2007-11-28 Andre Klapper <a9016009@gmx.de>
1555 * gdesktopappinfo.c: Fix a typo.
1557 2007-11-27 Andre Klapper <a9016009@gmx.de>
1559 * glocalfileoutputstream.c: Fix a typo.
1561 2007-11-27 Alexander Larsson <alexl@redhat.com>
1564 Don't include removed headers
1566 2007-11-27 Alexander Larsson <alexl@redhat.com>
1569 * gsocketinputstream.[ch]: Removed.
1570 * gsocketoutputstream.[ch]: Removed.
1571 * gunixinputstream.[ch]: Added.
1572 * gunixoutputstream.[ch]: Added.
1573 Renamed GSocket*Stream to GUnix*Stream and made
1574 it unix-only, since its not really only for sockets
1575 and it only works on unix (but is highly useful there).
1577 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1583 * gbufferedinputstream.c:
1584 * gbufferedinputstream.h:
1585 * gbufferedoutputstream.c:
1586 * gbufferedoutputstream.h:
1590 * gdatainputstream.c:
1591 * gdatainputstream.h:
1592 * gdataoutputstream.c:
1593 * gdataoutputstream.h:
1594 * gdirectorymonitor.c:
1595 * gdirectorymonitor.h:
1602 * gfileenumerator.c:
1603 * gfileenumerator.h:
1608 * gfileinputstream.c:
1609 * gfileinputstream.h:
1612 * gfilenamecompleter.c:
1613 * gfilenamecompleter.h:
1614 * gfileoutputstream.c:
1615 * gfileoutputstream.h:
1616 * gfilterinputstream.c:
1617 * gfilterinputstream.h:
1618 * gfilteroutputstream.c:
1619 * gfilteroutputstream.h:
1632 * glocalfileoutputstream.c:
1633 * gmemoryinputstream.c:
1634 * gmemoryinputstream.h:
1635 * gmemoryoutputstream.c:
1636 * gmemoryoutputstream.h:
1637 * gmountoperation.c:
1638 * gmountoperation.h:
1641 * gpollfilemonitor.c:
1644 * gsimpleasyncresult.c:
1645 * gsimpleasyncresult.h:
1646 * gsocketinputstream.c:
1647 * gsocketinputstream.h:
1648 * gsocketoutputstream.c:
1649 * gsocketoutputstream.h:
1656 * gunixvolumemonitor.c:
1665 Bumps documentation to 93% symbol coverage, touching most
1666 of the public files. Fixes broken function documentation prototypes.
1667 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1668 gtk-doc headers in private files.
1670 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1672 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1673 (g_buffered_input_stream_read_byte):
1674 * gbufferedinputstream.h:
1675 New functions for efficient access to buffer and simple single byte
1678 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1679 (g_data_input_stream_read_until):
1680 * gdatainputstream.h:
1681 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1682 read_until with multiple stop chars.
1684 2007-11-27 Alexander Larsson <alexl@redhat.com>
1688 * inotify/Makefile.am:
1689 Use the user-specified giomoduledir
1691 2007-11-27 Alexander Larsson <alexl@redhat.com>
1695 Add catch-all gio.h header
1696 Don't install gdummyfile.h
1698 2007-11-26 Alexander Larsson <alexl@redhat.com>
1700 * Makefile.am (gioinclude_HEADERS):
1701 Remove trailing whitespace
1703 2007-11-26 Alexander Larsson <alexl@redhat.com>
1705 Merge gio-standalone into glib
1707 2007-11-25 Christian Kellner <gicmo@gnome.org>
1709 * gio/goutputstream.c:
1710 Fix small mistake in the docs.
1712 2007-11-21 Christian Persch <chpe@gnome.org>
1714 * gio/glocalfile.c: (g_local_file_trash):
1715 Convert filenames to UTF-8 for GError.
1716 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1717 as per xdg base dir spec.
1719 2007-11-21 Christian Persch <chpe@gnome.org>
1721 * gio/gdesktopappinfo.c:
1722 Use that g_key_file_to_data cannot fail.
1724 Use stock defines for the key file group and key names.
1727 2007-11-21 Alexander Larsson <alexl@redhat.com>
1730 (copy_stream_with_progress):
1731 Make sure we do a final progress callback with
1732 the full total size.
1734 2007-11-21 Alexander Larsson <alexl@redhat.com>
1737 Export g_file_copy_attributes
1738 Remove padding as its not needed for interfaces
1740 2007-11-20 Alexander Larsson <alexl@redhat.com>
1745 Add G_IO_ERROR_WOULD_MERGE for
1746 copy/move dir on dir with overwrite.
1748 2007-11-20 Alexander Larsson <alexl@redhat.com>
1751 * gio/glocalfileinfo.c:
1752 Add COPY_NAME (this is an optional
1753 non-modified utf8 version of the name) that
1756 2007-11-20 Alexander Larsson <alexl@redhat.com>
1758 * gio/glocalfileenumerator.c:
1759 Report errors as GIOError, not GFileError
1761 2007-11-16 Alexander Larsson <alexl@redhat.com>
1763 * gio/glocalfileoutputstream.c:
1764 * gio/gwin32appinfo.c:
1765 Fix typos in strings.
1766 Patch from Luca Ferretti <elle.uca@libero.it>
1768 2007-11-15 Alexander Larsson <alexl@redhat.com>
1771 Post release version bump
1773 === gio-standalone 0.1.2 ===
1775 2007-11-15 Alexander Larsson <alexl@redhat.com>
1777 * docs/reference/gio/Makefile.am:
1778 Fix up distcheck by removing weird
1784 2007-11-14 Alexander Larsson <alexl@redhat.com>
1786 * gio/gdesktopappinfo.c:
1787 * gio/glocaldirectorymonitor.c:
1789 * gio/glocalfileinfo.c:
1790 * gio/inotify/inotify-sub.c:
1791 * programs/gio-cat.c:
1792 * programs/gio-copy.c:
1793 * programs/gio-info.c:
1794 * programs/gio-ls.c:
1795 * programs/gio-monitor-dir.c:
1796 * programs/gio-monitor-file.c:
1797 * programs/gio-mount.c:
1798 * programs/gio-move.c:
1799 * programs/gio-rm.c:
1800 * programs/gio-save.c:
1801 * programs/gio-trash.c:
1802 Leak fixes from Kjartan Maraas
1804 2007-11-14 Alexander Larsson <alexl@redhat.com>
1806 * gio/fam/fam-helper.c:
1808 * gio/glocalfileinfo.c:
1812 * gio/inotify/inotify-diag.c:
1813 * gio/inotify/inotify-kernel.c:
1814 Various code cleanups from Kjartan Maraas
1816 2007-11-14 Alexander Larsson <alexl@redhat.com>
1818 * gio/gioscheduler.c:
1820 Set up threadpool so that we cache 2 unused
1821 idle threads for at 15 secs. This means we
1822 will reuse thread-local data (like dbus connections)
1825 2007-11-14 Alexander Larsson <alexl@redhat.com>
1827 * gio/fam/fam-helper.c:
1828 * gio/fam/gfamdirectorymonitor.c:
1829 * gio/fam/gfamfilemonitor.c:
1831 * gio/gcontenttype.c:
1832 * gio/gdatainputstream.c:
1833 * gio/gdataoutputstream.c:
1837 * gio/gfileattribute.h:
1838 * gio/gfileenumerator.c:
1840 * gio/ginputstream.c:
1843 * gio/glocalfileinfo.c:
1844 * gio/goutputstream.c:
1845 * gio/gpollfilemonitor.c:
1846 * gio/gsimpleasyncresult.c:
1847 * gio/gunixmounts.c:
1848 * gio/gunixmounts.h:
1849 * gio/inotify/ginotifydirectorymonitor.c:
1850 * gio/inotify/ginotifyfilemonitor.c:
1851 * gio/inotify/inotify-diag.c:
1852 * gio/inotify/inotify-kernel.c:
1853 * gio/inotify/inotify-path.c:
1855 * gio/test-streams.c:
1856 * programs/gio-info.c:
1857 * programs/gio-monitor-dir.c:
1858 * programs/gio-monitor-file.c:
1859 Various code cleanups from Kjartan Maraas
1861 2007-11-13 Alexander Larsson <alexl@redhat.com>
1864 Handle the uri-scheme calls for dummy files
1866 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1868 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1869 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1870 to avoid clash with the C++ keyword.
1872 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1874 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1875 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1877 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1879 * gio/glocaldirectorymonitor.c:
1880 * gio/glocalfilemonitor.c:
1881 * gio/gunionvolumemonitor.c:
1882 Don't use g_once_init_*() for initializations that could fail and
1883 could leave the initialization variable set to 0 but use GOnce.
1884 This prevents a deadlock on the second call when trying to create
1885 a monitor and no monitor type is available. Thanks to Sven Herzberg
1888 2007-11-11 Sven Herzberg <sven@imendio.com>
1890 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1891 #ifdef (make it work on MacOS X again)
1893 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1895 Fixes Changelog for last two commits (sorry guys).
1897 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1899 * gio/gbufferedinputstream.c:
1900 * gio/gdatainputstream.c:
1902 * gio/gfileoutputstream.c:
1903 * gio/gfilterinputstream.c:
1904 * gio/glocalfileinputstream.c:
1907 More consistency fixes in g*stream.c files.
1908 Significant clean of gfile's documentation, filling in of
1909 asynchronous operations documentation.
1911 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1913 * gio/gasyncresult.c:
1914 * gio/gbufferedinputstream.c:
1915 * gio/gbufferedoutputstream.c:
1916 * gio/gcancellable.c:
1917 * gio/gcontenttype.c:
1918 * gio/gdatainputstream.c:
1919 * gio/gdataoutputstream.c:
1920 * gio/gdesktopappinfo.c:
1923 * gio/gfileattribute.c:
1924 * gio/gio/gfileenumerator.c:
1926 * gio/gfileinputstream.c:
1927 * gio/gfilemonitor.c:
1928 * gio/gfileoutputstream.c:
1929 * gio/ginputstream.c:
1931 * gio/gioscheduler.c:
1932 * gio/gloadableicon.c:
1933 * gio/glocalfileoutputstream.c:
1934 * gio/gmemoryoutputstream.c:
1935 * gio/gmountoperation.c:
1936 * gio/goutputstream.c:
1938 * gio/gsimpleasyncresult.c:
1939 * gio/gunionvolumemonitor.c:
1940 * gio/gunixmounts.c:
1941 * gio/gunixvolume.c:
1945 * gio/gvolumemonitor.c:
1946 Updated documentation stubs, working towards consistency and
1949 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1951 * gio/gmemoryoutputstream.c:
1952 * gio/gmemoryoutputstream.h:
1953 Change g_memory_output_stream_set_free_on_close() to
1954 g_memory_output_stream_set_free_data() as this makes more sense and
1955 is more consistent with GMemoryInputStream.
1957 2007-11-07 Alexander Larsson <alexl@redhat.com>
1964 Change how we find the default vfs so that
1965 we can handle a gvfs failing to init
1967 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1969 * gio/gbufferedoutputstream.c:
1970 * gio/gdatainputstream.c:
1971 * gio/gdataoutputstream.c:
1972 * gio/gfileinputstream.c:
1973 * gio/gfileoutputstream.c:
1974 * gio/gfilterinputstream.c:
1975 * gio/gfilteroutputstream.c:
1976 * gio/ginputstream.c:
1977 * gio/gmemoryinputstream.c:
1978 * gio/gmemoryoutputstream.c:
1979 * gio/goutputstream.c:
1980 * gio/gsimpleasyncresult.c:
1981 * gio/gsocketinputstream.c:
1982 * gio/gsocketoutputstream.c:
1983 Add guards to the remaining public functions, add a TODO for
1984 an unimplemented function and remove some useless guards.
1986 2007-11-07 Alexander Larsson <alexl@redhat.com>
1989 Autoconf checks for the various types of
1990 getpwuid_r and getgrgid_r
1992 * gio/glocalfileinfo.c:
1993 Use the autoconf checks from above
1995 2007-11-07 Alexander Larsson <alexl@redhat.com>
1998 (g_local_file_query_filesystem_info):
1999 Some fixes for the statvfs case
2001 2007-11-07 Alexander Larsson <alexl@redhat.com>
2004 (g_local_file_query_filesystem_info):
2005 Pick the "best" of statfs / statvfs for the system
2006 if both are availible.
2008 2007-11-07 Alexander Larsson <alexl@redhat.com>
2010 Solaris fixes from Halton.Huo@Sun.COM:
2017 * gio/glocalfileinfo.c:
2018 Fix for solaris definition of getpwuid_r
2020 * gio/test-streams.c:
2021 Use G_GNUC_PRETTY_FUNCTION
2023 2007-11-07 Alexander Larsson <alexl@redhat.com>
2025 * gio/gdesktopappinfo.c:
2026 (update_default_list):
2027 Remove double semicolon.
2028 Patch from Jens Granseuer
2030 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2032 * docs/reference/gio/gio-sections.txt:
2033 * gio/gbufferedinputstream.c:
2034 * gio/gbufferedinputstream.h:
2035 * gio/gdatainputstream.c:
2036 * gio/gfileenumerator.c:
2037 * gio/gioscheduler.c:
2038 * gio/gunionvolumemonitor.c:
2040 * programs/gio-save.c:
2041 Fix typo: availible -> available. Unfortuntely this breaks API
2042 and ABI as g_buffered_input_stream_get_available() was renamed.
2044 * gio/gunixmounts.c:
2045 * gio/gbufferedinputstream.c:
2046 Add guards for public functions.
2048 2007-11-06 Ross Burton <ross@openedhand.com>
2050 * docs/reference/gio/Makefile.am:
2051 Fix invalid += usage which automake 1.10 doesn't like.
2053 2007-11-06 Alexander Larsson <alexl@redhat.com>
2056 (g_app_launch_context_class_init):
2059 Patch from Ross Burton
2061 2007-11-06 Alexander Larsson <alexl@redhat.com>
2064 Post release version bump
2066 === gio-standalone 0.1.1 ===
2068 2007-11-06 Alexander Larsson <alexl@redhat.com>
2071 Bump version to 0.1.1
2073 * gio/gsimpleasyncresult.c:
2074 (g_simple_async_result_set_from_error):
2075 Remove bogus g_return_if_fail
2077 2007-11-06 Alexander Larsson <alexl@redhat.com>
2080 The name is gio-standalone
2083 Add top src/builddir to includedir
2085 2007-11-06 Alexander Larsson <alexl@redhat.com>
2087 * docs/reference/gio/gio-sections.txt:
2089 * gio/gbufferedinputstream.c:
2090 * gio/gbufferedoutputstream.c:
2091 * gio/gcancellable.c:
2092 * gio/gdatainputstream.h:
2093 * gio/gdataoutputstream.c:
2094 * gio/gdataoutputstream.h:
2095 * gio/gdirectorymonitor.c:
2097 * gio/gfileattribute.c:
2098 * gio/gfileattribute.h:
2099 * gio/gfileenumerator.c:
2100 * gio/gfileenumerator.h:
2103 * gio/gfileinputstream.h:
2104 * gio/gfilemonitor.c:
2105 * gio/gfileoutputstream.h:
2106 * gio/glocalfilemonitor.h:
2107 * gio/glocalfileoutputstream.h:
2108 * gio/gmemoryinputstream.c:
2109 * gio/gmemoryoutputstream.c:
2110 * gio/gmountoperation.c:
2111 * gio/goutputstream.c:
2112 * gio/goutputstream.h:
2114 * gio/gsimpleasyncresult.c:
2115 * gio/gunixmounts.c:
2116 * gio/gunixmounts.h:
2118 * gio/inotify/inotify-helper.c:
2119 Fix gtk-doc warnings
2121 Patch from Ross Burton
2123 2007-11-06 Alexander Larsson <alexl@redhat.com>
2125 * gio/gfilenamecompleter.c:
2126 (g_filename_completer_get_completions):
2129 * gio/gunixvolume.c:
2130 Remove unused function
2132 Patches from Ross Burton
2134 2007-11-06 Alexander Larsson <alexl@redhat.com>
2139 Padding not needed for interfaces
2141 2007-11-06 Alexander Larsson <alexl@redhat.com>
2143 * gio/gfilemonitor.c:
2147 Make giotypes.h an internal file
2150 * gio/gbufferedinputstream.h:
2151 * gio/gbufferedoutputstream.h:
2152 * gio/gcancellable.h:
2153 * gio/gdatainputstream.h:
2154 * gio/gdataoutputstream.h:
2155 * gio/gdirectorymonitor.c:
2156 * gio/gdirectorymonitor.h:
2161 * gio/gfileattribute.h:
2162 * gio/gfileenumerator.h:
2167 * gio/gfilemonitor.c:
2168 * gio/gfilemonitor.h:
2169 * gio/gfilenamecompleter.c:
2170 * gio/gfilenamecompleter.h:
2171 * gio/gfilterinputstream.h:
2172 * gio/gfilteroutputstream.h:
2173 * gio/ginputstream.h:
2174 * gio/gmemoryinputstream.h:
2175 * gio/gmemoryoutputstream.h:
2176 * gio/gmountoperation.c:
2177 * gio/gmountoperation.h:
2178 * gio/gnativevolumemonitor.c:
2179 * gio/goutputstream.h:
2182 * gio/gsimpleasyncresult.c:
2183 * gio/gsimpleasyncresult.h:
2184 * gio/gsocketinputstream.h:
2185 * gio/gsocketoutputstream.h:
2186 * gio/gthemedicon.c:
2187 * gio/gthemedicon.h:
2191 * gio/gvolumemonitor.c:
2192 * gio/gvolumemonitor.h:
2193 Add padding in classes where it seems useful
2194 Don't include giotypes.h from public headers
2195 Move in Class definitions into c file where possible
2200 2007-11-06 Alexander Larsson <alexl@redhat.com>
2202 * docs/reference/gio/gio-docs.xml:
2203 Better structure for API docs
2205 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2208 * gio/gloadableicon.c:
2209 * gio/gsimpleasyncresult.c:
2210 * gio/gthemedicon.c:
2211 Add some more guards to public functions. Only files missing are now
2214 2007-11-06 Alexander Larsson <alexl@redhat.com>
2216 * docs/reference/gio/gio-docs.xml:
2217 Remove old files, add missing ones
2219 2007-11-06 Alexander Larsson <alexl@redhat.com>
2221 * docs/reference/gio/gio-sections.txt:
2224 Hide implementation classes
2226 * gio/gdriveprivate.h:
2227 * gio/gvolumeprivate.h:
2228 Remove non-existing function declarations
2230 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2233 Fix compilation warnings and add guards to the new functions.
2235 * gio/gasyncresult.c:
2237 Add guards to the public functions.
2240 Implement get_path().
2242 2007-11-06 Alexander Larsson <alexl@redhat.com>
2244 * gio/gfilenamecompleter.c:
2245 Make g_filename_completer_get_completions
2246 return char ** instead of GList for
2249 * docs/reference/gio/gio-docs.xml:
2250 * docs/reference/gio/gio-sections.txt:
2252 * gio/gasyncresult.c:
2253 * gio/gbufferedinputstream.c:
2254 * gio/gbufferedoutputstream.c:
2255 * gio/gcancellable.c:
2256 * gio/gcontenttype.c:
2257 * gio/gdatainputstream.c:
2258 * gio/gdataoutputstream.c:
2259 * gio/gdesktopappinfo.c:
2260 * gio/gdirectorymonitor.c:
2264 * gio/gfileattribute.c:
2265 * gio/gfileenumerator.c:
2268 * gio/gfileinputstream.c:
2269 * gio/gfilemonitor.c:
2270 * gio/gfilenamecompleter.c:
2271 * gio/gfilenamecompleter.h:
2272 * gio/gfileoutputstream.c:
2273 * gio/gfilterinputstream.c:
2275 * gio/ginputstream.c:
2277 * gio/gioscheduler.c:
2278 * gio/gloadableicon.c:
2279 * gio/glocaldirectorymonitor.c:
2281 * gio/glocalfileinputstream.c:
2282 * gio/glocalfilemonitor.c:
2283 * gio/glocalfileoutputstream.c:
2285 * gio/gmemoryinputstream.c:
2286 * gio/gmemoryoutputstream.c:
2287 * gio/gmountoperation.c:
2288 * gio/goutputstream.c:
2289 * gio/gpollfilemonitor.c:
2291 * gio/gsimpleasyncresult.c:
2292 * gio/gsocketinputstream.c:
2293 * gio/gsocketoutputstream.c:
2294 * gio/gthemedicon.c:
2295 * gio/gunionvolumemonitor.c:
2297 * gio/gunixmounts.c:
2298 * gio/gunixvolume.c:
2299 * gio/gunixvolumemonitor.c:
2303 * gio/gvolumemonitor.c:
2304 * gio/gwin32appinfo.c:
2305 Add (mostly stub) doc strings to public functions.
2306 Patch from Andrew Walton (awalton@gmail.com)
2308 2007-11-06 Alexander Larsson <alexl@redhat.com>
2310 * gio/gappinfo.[ch]:
2311 Added GAppLaunchContext object and pass that to launch.
2312 This allows simple implementation of both
2313 launch-on-screen and startup notification via a gtk+
2314 subclass of GAppLaunchContext
2316 * gio/gdesktopappinfo.c:
2317 Implement GAppLaunchContext API
2319 * gio/gwin32appinfo.c:
2322 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2324 * gio/gmountoperation.c:
2325 Add some guards to GMountOperation's public functions.
2327 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2331 * gio/gcancellable.c:
2332 * gio/gdirectorymonitor.c:
2334 * gio/gfileenumerator.c:
2335 * gio/gfilemonitor.c:,
2336 * gio/gfilenamecompleter.c:
2339 * gio/gioscheduler.c:
2343 * gio/gvolumemonitor.c:
2344 Add even more guards to various public functions.
2346 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2349 Add guards to the public functions of GAppInfo.
2351 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2353 * gio/gcontenttype.c:
2354 Add some more guards for public functions.
2356 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2358 * gio/fam/fam-module.c:
2359 * gio/fam/gfamdirectorymonitor.c:
2360 * gio/fam/gfamdirectorymonitor.h:
2361 * gio/fam/gfamfilemonitor.c:
2362 * gio/fam/gfamfilemonitor.h:
2363 * gio/inotify/ginotifydirectorymonitor.c:
2364 * gio/inotify/ginotifydirectorymonitor.h:
2365 * gio/inotify/ginotifyfilemonitor.c:
2366 * gio/inotify/ginotifyfilemonitor.h:
2367 Add proper copyright information and remove an unused variable
2368 in the GInotifyFileMonitor constructor.
2370 * gio/gcancellable.c:
2371 Add a guard for a public function and an assertion to prevent
2372 an undefined program state.
2374 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2376 * gio/gfileattribute.c:
2377 Don't run into an assertion if the given attribute value is NULL
2378 in g_file_attribute_value_get_*() but instead return a fallback
2379 value that makes sense in most situations. Passing them a attribute
2380 value with the wrong type will still run into an assertion.
2382 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2384 * gio/gfileattribute.c:
2386 Add even more guards to the public functions. Also fix the refcounting
2387 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2388 let g_file_info_list_attributes() filter the attributes by namespace
2389 instead of simply ignoring the namespace parameter.
2391 2007-11-03 Sven Herzberg <sven@imendio.com>
2393 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2394 (This makes gio work on MacOS X again)
2396 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2399 Build the gio subdirectory before the docs. Otherwise the build will
2402 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2403 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2404 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2405 Add guards to the public functions.
2407 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2409 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2410 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2411 to prevent a compiler warning.
2413 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2414 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2415 return something in the non-void function find_topdir_for().
2417 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2424 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2426 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2427 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2428 * gwin32appinfo.c (g_win32_app_info_launch):
2429 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2430 envp_for_startup_id, g_desktop_app_info_launch,
2431 g_desktop_app_info_launch_uris):
2433 Give an opaque 'startup_id' string instead of 'envp'.
2434 Support empty file lists for launching new windows.
2435 Fix infinite recursion bug when launching URIs.
2437 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2440 Add guard to the new g_file_get_uri_scheme() function.
2442 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2445 Convert a g_return_val_if_fail() to setting the GError instead as
2446 otherwise applications have to verify the parameter before otherwise
2447 and the parameter might come directly from the user.
2449 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2451 * gio/inotify/ginotify*.[ch]:
2452 Add missing copyright information.
2454 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2457 Add guards in the beginning of public functions to check for valid
2458 parameters and fix a bug in copy_stream_with_progress() that could've
2459 caused writing less bytes than reading.
2460 * gio/glocalfileinfo.c:
2461 Check for a NULL parameter and set the GError accordingly then.
2462 * gio/goutputstream.c:
2463 Fix the same bug as in gfile.c that could've caused writing less bytes
2464 than reading in g_output_stream_real_splice().
2466 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2469 Use the correct gvolumeprivate.h naming
2471 2007-11-01 Christian Kellner <gicmo@gnome.org>
2474 Remove leftover "$(daemon_sources)" entry.
2476 2007-11-01 Christian Kellner <gicmo@gnome.org>
2481 Add copyright information to source files.
2483 2007-11-01 Alexander Larsson <alexl@redhat.com>
2487 Add g_file_get_uri_scheme
2489 2007-11-01 Alexander Larsson <alexl@redhat.com>
2492 * gio/gdesktopappinfo.c:
2493 * gio/gwin32appinfo.c:
2494 Add g_app_info_get_default_for_uri_scheme.
2496 2007-11-01 Alexander Larsson <alexl@redhat.com>
2499 Correct filename for gdriveprivate.h
2501 2007-10-31 Alexander Larsson <alexl@redhat.com>
2504 Rename id:value to id:file
2507 * gio/glocalfileinfo.c:
2510 2007-10-31 Alexander Larsson <alexl@redhat.com>
2512 * gio/gunixvolume.c:
2514 Remove g_volume_get_platform_id, as thats not
2515 needed with the simpler union volume monitor
2517 2007-10-31 Alexander Larsson <alexl@redhat.com>
2520 * gio/guniondrive.[ch]: Removed.
2521 * gio/gunionvolume.[ch]: Removed.
2522 Remove GUnionDrive/Volume
2524 * gio/gunionvolumemonitor.c:
2525 Simplify union volume monitor, now we
2526 only have one native volume monitor and
2527 we use the actual volumes/drives from the
2528 child monitors instead of wrapping them
2530 * gio/gnativevolumemonitor.[ch]:
2531 Base class for native volume monitors.
2532 Includes priority and get_volume_for_mountpoint
2535 Add g_file_find_enclosing_volume
2538 Remove volume name fs attribute
2539 Add readonly fs attribute
2542 Implement readonly attribute
2543 remove volume name attribute
2544 Implement find_enclosing volume
2546 * gio/gunixmounts.c:
2547 Add a volume for "/".
2549 * gio/gunixvolume.[ch]:
2550 Set better name for /
2552 * gio/gunixvolumemonitor.[ch]:
2553 Derive from GNativeVolumeMonitor
2554 Implement get_volume_for_mountpoint
2557 GVolume typedef moved to gfile.h
2559 * gio/gvolumeprivate.h:
2560 Add g_volume_get_for_mount_path
2562 2007-10-31 Alexander Larsson <alexl@redhat.com>
2564 * gio/gunixmounts.[ch]:
2565 Add cache info to unix mount listers
2566 Make getmntent use threadsafe
2567 Add is_system_internal attribute for GUnixMount
2569 * gio/gunixvolume.c:
2570 (g_unix_volume_new):
2571 Use is_system_internal instead of own code
2573 * gio/glocaldirectorymonitor.c:
2574 * gio/gunixvolumemonitor.c:
2575 Update to new gunixmounts API
2580 2007-10-30 Alexander Larsson <alexl@redhat.com>
2583 Add volume name fsinfo attribute
2586 Read volume name info
2588 * gio/gunionvolumemonitor.c:
2589 Fix infinite loops when finalizing a union volume monitor
2591 2007-10-30 Alexander Larsson <alexl@redhat.com>
2593 * gio/goutputstream.[ch]:
2594 Add splice() with default implementation
2596 * gio/gsocketoutputstream.c:
2597 (g_socket_output_stream_write):
2598 Return error on cancellation correctly.
2600 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2602 * gio/glocalfile.c (g_local_file_trash):
2603 Do not leak a string.
2605 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2607 * gio/gfile.c (g_file_load_contents):
2608 Unref the stream after closing it.
2610 2007-10-25 Alexander Larsson <alexl@redhat.com>
2612 * gio/gioscheduler.h:
2615 2007-10-25 Alexander Larsson <alexl@redhat.com>
2619 Add g_file_has_uri_scheme and implement for local files
2621 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2623 * gio/gdesktopappinfo.c: do not leak a string.
2625 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2627 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2628 (g_local_directory_monitor_new):
2629 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2630 (g_local_file_monitor_new):
2631 Only look for the monitor type that should be used the first time
2632 and use g_qsort_with_data() instead of our own bubble sort
2635 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2638 * gio/fam/Makefile.am:
2639 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2640 * gio/fam/fam-helper.h:
2641 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2642 * gio/fam/gfamdirectorymonitor.c:
2643 * gio/fam/gfamdirectorymonitor.h:
2644 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2645 * gio/fam/gfamfilemonitor.h:
2646 * gio/glocaldirectorymonitor.c:
2647 * gio/glocaldirectorymonitor.h:
2648 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2649 * gio/glocalfilemonitor.h:
2650 * gio/inotify/Makefile.am:
2651 * gio/inotify/ginotifydirectorymonitor.c:
2652 * gio/inotify/ginotifydirectorymonitor.h:
2653 * gio/inotify/ginotifyfilemonitor.c:
2654 * gio/inotify/ginotifyfilemonitor.h:
2655 Implement the FAM and Inotify monitors as
2656 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2657 their own GIO module. GLocal(Directory|File)Monitor will use the
2658 monitor with the highest rank that is supported on that machine.
2660 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2663 Change GIO module dir to $(libdir)/gio/modules and change
2664 the log domain from GVFS to GIO. Also only export symbols starting
2665 with g_ in the resulting library.
2666 * gio/test-streams.c: (main):
2667 Set log handler for the GIO log domain.
2669 2007-10-22 Alexander Larsson <alexl@redhat.com>
2671 * gio/gfilenamecompleter.[ch]:
2672 Add g_filename_completer_set_dirs_only
2674 2007-10-22 Alexander Larsson <alexl@redhat.com>
2677 * gio/gurifuncs.[ch]:
2678 Add some simple URI helpers
2680 * gio/gfilenamecompleter.[ch]:
2681 Added object for filename (parse name actually) completion
2684 Handle ~ in parse names
2686 2007-10-17 Alexander Larsson <alexl@redhat.com>
2689 * gio/glocalfileinfo.c:
2690 Add and implement id:value attribute
2692 2007-10-17 Alexander Larsson <alexl@redhat.com>
2695 * gio/guniondrive.c:
2697 Add and implement g_drive_has_volumes
2699 2007-10-17 Alexander Larsson <alexl@redhat.com>
2702 * gio/glocalfileinfo.[ch]:
2703 Add unix:is_mountpoint and implement for local files
2705 2007-10-16 Alexander Larsson <alexl@redhat.com>
2707 * gio/gunionvolumemonitor.c:
2708 (g_union_volume_monitor_init):
2709 Fix up the unix type getting so that it works with gcc
2711 2007-10-12 Alexander Larsson <alexl@redhat.com>
2714 * gio/glocalfileinfo.c:
2715 Add thumbnail:failed to file info
2717 2007-10-12 Richard Hult <richard@imendio.com>
2719 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2720 optimizing away the get_type call (happens with some gcc versions,
2721 like the one shipped with OS X 10.4).
2723 2007-10-12 Alexander Larsson <alexl@redhat.com>
2725 * gio/glocalfileinfo.c:
2726 (_g_local_file_info_set_attribute):
2727 Fix build if not HAVE_XATTR
2728 Patch from Milosz Derezynski <internalerror@gmail.com>
2730 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2732 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2733 around for review, otherwise I would have asked you before
2736 2007-10-11 Alexander Larsson <alexl@redhat.com>
2739 Add thumbnail:path attribute
2741 * gio/glocalfileinfo.c:
2742 Implement thumbnail:path for local files
2744 2007-10-11 Alexander Larsson <alexl@redhat.com>
2746 * gio/glocalfileinfo.c:
2747 (_g_local_file_info_get):
2748 Avoid duplicate icon names
2750 2007-10-11 Alexander Larsson <alexl@redhat.com>
2752 * gio/gthemedicon.[ch]:
2753 Change g_themed_icon_get_names return type to const
2755 2007-10-10 Alexander Larsson <alexl@redhat.com>
2757 * gio/glocalfileinfo.c:
2758 Don't reference freed memory
2760 2007-10-10 Alexander Larsson <alexl@redhat.com>
2762 * gio/gfileattribute.c:
2765 * gio/glocalfileinfo.c:
2768 2007-10-10 Alexander Larsson <alexl@redhat.com>
2771 Check for NULL icons
2773 * gio/gfileattribute.c:
2774 Don't dup when getting objects (same as for string attributes)
2776 * gio/gicon.c (g_icon_equal):
2777 Safely handle NULLs in equal
2779 2007-10-10 Alexander Larsson <alexl@redhat.com>
2782 Fix c++ compilation issues
2783 Patch from Milosz Derezynski <internalerror@gmail.com>
2785 2007-10-10 Alexander Larsson <alexl@redhat.com>
2787 * programs/gio-monitor-dir.c:
2788 Don't crash if dir monitor not supported.
2790 2007-10-09 Alexander Larsson <alexl@redhat.com>
2793 Add missing G_END_DECLS
2795 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2797 * gio/gfile.c: (g_file_set_display_name),
2798 (g_file_query_settable_attributes),
2799 (g_file_query_writable_namespaces):
2800 Return NULL not FALSE on errors as the return type is a pointer.
2802 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2804 * gio/glocalfile.c: (g_local_file_monitor_file):
2805 Don't call monitor_file on the default interface vtable (which
2806 is NULL) but simply return NULL. The caller, GFile, will create a
2807 polling monitor if NULL is returned.
2809 2007-10-09 Alexander Larsson <alexl@redhat.com>
2813 * gio-unix-2.0.pc.in:
2814 Add gio-unix-2.0.pc if OS_UNIX
2817 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2819 2007-10-09 Alexander Larsson <alexl@redhat.com>
2821 * gio/gunixmounts.[ch]:
2822 Make unix mount monitoring API sane.
2823 Now its just a object with mounts_changed
2824 and mountpoints_changed signals.
2826 * gio/glocaldirectorymonitor.c:
2827 * gio/gunixvolumemonitor.c:
2828 Use new mount monitor api
2830 2007-10-09 Alexander Larsson <alexl@redhat.com>
2832 * gio/gunixmounts.[ch]:
2833 Move guess type into one call for mounts and one for mountpoints
2836 * gio/gunixvolume.c:
2839 2007-10-09 Alexander Larsson <alexl@redhat.com>
2841 * gio/gunixmounts.[ch]:
2842 Remove _ prefix in preparation to make this semi-public
2843 Hide implementation of structs
2845 * gio/glocaldirectorymonitor.c:
2847 * gio/gunixvolume.c:
2848 * gio/gunixvolumemonitor.c:
2849 Update for above API changes
2851 2007-10-08 Alexander Larsson <alexl@redhat.com>
2854 Better polling fallback. This also handles the case where we have
2855 a monitor_file implementation, but it fails.
2857 2007-10-08 Alexander Larsson <alexl@redhat.com>
2861 * gio/gunixmounts.c:
2862 * programs/gio-monitor-dir.c:
2863 * programs/gio-monitor-file.c:
2864 Added cancellable to file monitoring calls.
2865 These are really sync calls and need this.
2867 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2869 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2870 (g_local_vfs_class_init):
2871 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2872 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2874 2007-10-05 Alexander Larsson <alexl@redhat.com>
2876 * gio/gdirectorymonitorprivate.h:
2877 * gio/gfilemonitorprivate.h:
2878 * gio/gdirectorymonitor.h:
2879 * gio/gfilemonitor.h:
2880 Remove *private.h and move to the public API, so that
2881 we can do implementations outside gio (such as in gvfs)
2883 * gio/gdirectorymonitor.c:
2884 * gio/gfilemonitor.c:
2885 * gio/glocaldirectorymonitor.c:
2886 * gio/gpollfilemonitor.c:
2887 * gio/inotify/inotify-helper.c:
2888 * gio/fam/fam-helper.c:
2889 Update to the new header names
2891 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2893 * gio/gdirectorymonitor.c:
2894 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2897 2007-10-04 Alexander Larsson <alexl@redhat.com>
2899 * gio/glocalfileinfo.c (get_access_rights):
2900 Set CAN_TRASH when we can move the file.
2901 We should really also check for a parent trash dir.
2903 2007-10-04 Alexander Larsson <alexl@redhat.com>
2905 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2906 Add can_trash access attribute
2908 2007-10-04 Alexander Larsson <alexl@redhat.com>
2911 (g_local_file_trash):
2912 Create info file first. This is per-spec and allows
2913 us to actually trash directories.
2915 2007-10-02 Alexander Larsson <alexl@redhat.com>
2917 * gio/gdesktopappinfo.c:
2918 Implement the new mime support code.
2919 Always set app as handling mimetype when being set as default for it
2921 2007-10-01 Alexander Larsson <alexl@redhat.com>
2923 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2924 Fix up check for xattrs:
2926 2007-10-01 Alexander Larsson <alexl@redhat.com>
2929 (g_app_info_set_as_default_for_extension):
2930 (g_app_info_add_supports_type):
2931 (g_app_info_can_remove_supports_type):
2932 (g_app_info_remove_supports_type):
2933 Make these fail nicely if not implemented
2935 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2937 * gio/glocalfileoutputstream.c:
2938 * gio/glocalfileoutputstream.h:
2943 * programs/gio-save.c:
2944 Add a GFileCreateFlags argument to operations that can create
2947 2007-10-01 Alexander Larsson <alexl@redhat.com>
2949 * gio/gappinfo.[ch]:
2950 * gio/gdesktopappinfo.c:
2951 Add more (stubbed out) mime API needed for nautilus
2953 2007-10-01 Alexander Larsson <alexl@redhat.com>
2956 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2957 Add g_app_info_set_as_default_for_extension.
2959 * gio/gdesktopappinfo.c:
2960 Dummy for g_app_info_set_as_default_for_extension
2961 Support flags in g_app_info_create_from_commandline
2963 * gio/gwin32appinfo.c:
2965 Update for API changes
2967 * gio/gthemedicon.c:
2968 Properly NULL-terminate list of icon names
2970 2007-09-28 Alexander Larsson <alexl@redhat.com>
2972 * gio/gloadableicon.h:
2973 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2975 2007-09-28 Alexander Larsson <alexl@redhat.com>
2978 Install headers in $includedir/gio-standalone/
2980 * gio-2.0.pc.in: Added.
2981 * gio-standalone.pc.in: Removed.
2984 Renamed pkg-config file to match glib (for future move)
2985 Update to the new include dir
2988 Add more TODO comments
2990 2007-09-28 Alexander Larsson <alexl@redhat.com>
2992 * gio/gdesktopappinfo.[ch]:
2993 Expose new_from_filename
2994 Add getter for is_hidden and handle it better
2996 2007-09-28 Alexander Larsson <alexl@redhat.com>
2998 * gio/gfileinfo.[ch]:
2999 Rename g_file_size_format_for_display to
3000 g_format_file_size_for_display.
3001 Now it doesn't have the g_file prefix, so we
3002 can later move it to glib.
3004 2007-09-28 Alexander Larsson <alexl@redhat.com>
3006 * gio/gappinfo.[ch]:
3007 Add g_app_info_get_id and g_app_info_get_executable.
3008 Make all getters non-reffing
3009 Make g_app_info_launch take GFile arguments.
3010 Add must_support_uris argument to g_app_info_get_default_for_type.
3012 * gio/gwin32appinfo.c:
3013 Update to GAppInfo api changes
3015 * gio/gdesktopappinfo.c:
3016 Update to GAppInfo api changes
3017 Implement supports_xdg_startup_notify
3019 * gio/gfileicon.c (g_file_icon_get_file):
3020 Make getter non-reffing.
3025 2007-09-27 Alexander Larsson <alexl@redhat.com>
3027 * gio/gfileinfo.[ch]:
3028 Add g_file_size_format_for_display helper
3030 2007-09-27 Alexander Larsson <alexl@redhat.com>
3032 * gio/glocalfileinfo.c:
3033 Set UNIX_GID from gid, not from uid
3035 2007-09-27 Alexander Larsson <alexl@redhat.com>
3038 Add g_file_set_attributes_async
3040 2007-09-27 Alexander Larsson <alexl@redhat.com>
3042 * gio/glocalfile.c (g_local_file_set_display_name):
3043 Fix set_display_name to actually rename to the right place.
3044 Use lstat to look for existing files so we don't overwrite
3047 2007-09-26 Alexander Larsson <alexl@redhat.com>
3050 Add g_file_set_display_name_async()
3052 2007-09-26 Alexander Larsson <alexl@redhat.com>
3055 Add load_partial_contents async calls
3058 Make internal function static
3060 2007-09-26 Alexander Larsson <alexl@redhat.com>
3062 * gio/glocalfileinfo.c:
3063 Correctly detect broken symlinks
3065 2007-09-26 Alexander Larsson <alexl@redhat.com>
3067 * gio/gcancellable.c (g_cancellable_cancel):
3068 Allow cancel on NULL cancellable
3070 2007-09-25 Alexander Larsson <alexl@redhat.com>
3072 * gio/gsimpleasyncresult.c:
3073 Don't allocate g_error manually.
3074 Fixes g_slice/g_new mixup crash
3076 2007-09-25 Alexander Larsson <alexl@redhat.com>
3078 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3079 Actually set active_backend.
3080 This means the monitor will be cancelled correctly.
3082 2007-09-25 Alexander Larsson <alexl@redhat.com>
3084 * gio/gdirectorymonitor.c:
3085 Set timeout to NULL when destroying
3087 2007-09-25 Alexander Larsson <alexl@redhat.com>
3090 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3091 that is a better description of the error.
3093 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3095 * gio/gvfs.c: (g_vfs_get_local):
3096 Make the local vfs variable static. The same instance should
3099 2007-09-24 Alexander Larsson <alexl@redhat.com>
3101 * gio/glocalfileinfo.c:
3102 Pass in actual length read into sniffer, not the length
3105 2007-09-21 Alexander Larsson <alexl@redhat.com>
3107 * gio/gfileenumerator.c:
3110 * gio/gfileinputstream.c:
3111 * gio/gfileoutputstream.c:
3112 * gio/ginputstream.c:
3113 * gio/goutputstream.c:
3114 Don't crash if async callbacks are NULL
3116 2007-09-20 Alexander Larsson <alexl@redhat.com>
3119 Add async enumerate_children method and default
3122 2007-09-20 Alexander Larsson <alexl@redhat.com>
3125 Add g_file_contains_file & g_file_get_relative_path, since they
3126 were needed for nautilus.
3127 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3132 Implement new methods
3134 2007-09-17 Alexander Larsson <alexl@redhat.com>
3137 * gio/gfileinputstream.[ch]:
3138 * gio/gfileoutputstream.[ch]:
3140 * gio/glocalfileenumerator.[ch]:
3141 * gio/glocalfileinfo.[ch]:
3142 * gio/glocalfileinputstream.c:
3143 * gio/glocalfileoutputstream.c:
3144 * gio/gpollfilemonitor.c:
3145 * programs/gio-copy.c:
3146 * programs/gio-info.c:
3147 * programs/gio-move.c:
3148 Rename get_file_info to query_info() to make it clearer
3149 that these are not simple getters, but do i/o.
3151 2007-09-17 Alexander Larsson <alexl@redhat.com>
3153 * gio/gdatainputstream.[ch]:
3154 * gio/test-streams.c:
3155 Use _read_XXX instead of _get_XXX for the i/o calls
3158 2007-09-17 Alexander Larsson <alexl@redhat.com>
3161 Added needed stuff to TODO comment
3163 2007-09-17 Alexander Larsson <alexl@redhat.com>
3165 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3166 Don't error out removing the backup copy if it doesn't
3169 2007-09-14 Alexander Larsson <alexl@redhat.com>
3171 * programs/Makefile.am:
3172 * programs/gvfs-*.c:
3174 Renamed apps from gvfs-xxx to gio-xxx.
3176 2007-09-14 Alexander Larsson <alexl@redhat.com>
3179 * gio/gfileoutputstream.[ch]:
3180 * gio/glocalfileoutputstream.c:
3181 * programs/gvfs-save.c:
3182 g_file_output_stream_get_etag doesn't do i/o, so remove
3183 cancellation and error.
3185 2007-09-14 Alexander Larsson <alexl@redhat.com>
3188 Add new_etag output to replace_contents functions
3190 2007-09-14 Alexander Larsson <alexl@redhat.com>
3192 * gio/gfileoutputstream.[ch]:
3193 Add async get_file_info and default implementation
3195 2007-09-14 Alexander Larsson <alexl@redhat.com>
3197 * gio/gfileinputstream.c:
3198 Implement fallback wrapper for async get_file_info
3200 2007-09-14 Alexander Larsson <alexl@redhat.com>
3203 Add etag out argument to load_contents
3208 2007-09-14 Alexander Larsson <alexl@redhat.com>
3210 * gio/gcontenttype.c (looks_like_text):
3211 Whitespace like tab, cr and lf do not make the
3214 2007-09-14 Alexander Larsson <alexl@redhat.com>
3216 * gio/gfileinputstream.[ch]:
3217 Add async get_file_info.
3219 2007-09-13 Alexander Larsson <alexl@redhat.com>
3221 * gio/goutputstream.c (g_output_stream_write_all):
3222 Allow NULL for bytes_written
3224 2007-09-13 Alexander Larsson <alexl@redhat.com>
3226 * gio/gmemoryinputstream.[ch]:
3227 Add accessors for data
3229 2007-09-13 Alexander Larsson <alexl@redhat.com>
3231 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3232 Don't crash if length is NULL