1 2008-01-25 Matthias Clasen <mclasen@redhat.com>
3 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
4 build with gcc 3.4 (#509419)
6 2008-01-25 Matthias Clasen <mclasen@redhat.com>
8 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
9 (#509994, Murray Cumming)
11 2008-01-25 Matthias Clasen <mclasen@redhat.com>
13 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
14 * gioscheduler.c: Keep calling io jobs until they return FALSE;
15 this allows big jobs to be executed in chunks, instead of blocking
16 the main loop for a long time.
18 * gsimpleasyncresult.c:
19 * giofile.c: Adapt callers.
21 2008-01-25 Alexander Larsson <alexl@redhat.com>
24 Implement changes discussed on xdg list.
25 Now we can add supported mimetypes by just using defaults.list
26 We can also remove associations in defaults.list.
28 2008-01-25 Alexander Larsson <alexl@redhat.com>
31 Don't make local copy of desktop file
32 for mimetype changes if the file already
33 supports the new mimetype.
35 2008-01-25 Matthias Clasen <mclasen@redhat.com>
39 * gbufferedinputstream.c:
40 * glocalfile.c: String improvements. (#511966,
41 Theppitak Karoonboonyanan)
43 2008-01-24 Matthias Clasen <mclasen@redhat.com>
45 * gioscheduler.h: Expand docs a bit.
47 2008-01-24 Alexander Larsson <alexl@redhat.com>
50 Add g_drive_get_identifier and
51 g_drive_enumerate_identifiers
54 Add g_volume_get_identifier and
55 g_volume_enumerate_identifiers
61 Implement identifiers for unix backend
63 2008-01-24 Alexander Larsson <alexl@redhat.com>
68 Add g_file_copy_async() (#511580)
69 Based on patch from Carlos Garcia Campos
71 2008-01-23 Matthias Clasen <mclasen@redhat.com>
73 * gioscheduler.c: Some documentation additions.
75 2008-01-22 Alexander Larsson <alexl@redhat.com>
78 (g_desktop_app_info_new):
81 2008-01-22 Alexander Larsson <alexl@redhat.com>
84 (g_desktop_app_info_new_from_filename):
87 2008-01-22 Alexander Larsson <alexl@redhat.com>
89 * glocalfileinfo.c (get_thumbnail_attributes):
92 2008-01-22 Alexander Larsson <alexl@redhat.com>
95 (canonicalize_filename):
96 Canonicalize paths that start with more than
101 (test_g_file_new_for_path):
104 2008-01-22 Alexander Larsson <alexl@redhat.com>
107 Allow UTF-8 in file:// parse names.
110 * tests/data-input-stream.c:
111 * tests/data-output-stream.c:
112 * tests/g-file-info.c:
114 Added a bunch of tests from Tomas Bzatek
116 2008-01-21 Matthias Clasen <mclasen@redhat.com>
118 * === Released 2.15.3 ===
120 2008-01-21 Alexander Larsson <alexl@redhat.com>
122 * gfileinputstream.[ch]:
123 * gfileoutputstream.[ch]:
125 Remove duplicated GSeekable functions. (#509990)
126 Just use the g_seekable_xxx() calls instead.
128 2008-01-21 Matthias Clasen <mclasen@redhat.com>
131 * gvolumemanager.c: Whitespace cleanups.
133 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
134 Use the right mode when creating the file.
136 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
139 * gfileinputstream.c:
141 * goutputstream.c: Documentation: Fixed minor typos
142 and added more mentions of specific _finish() functions.
144 2008-01-21 Alexander Larsson <alexl@redhat.com>
146 * inotify/Makefile.am:
147 * inotify/inotify-helper.c:
148 * inotify/inotify-kernel.c:
149 * inotify/inotify-path.c:
150 * inotify/local_inotify.h: Removed.
151 * inotify/local_inotify_syscalls.h: Removed.
152 Removed the included copies of the inotify
153 headers. We now only use the <sys/inotify.h>
154 header which exists on modern systems.
155 This fixes problems on ARM and SH5 (#510448)
156 but is also generally much cleaner and future
157 safe. For instance, if other OSes add support
158 for inotify it should "just work".
160 2008-01-20 Matthias Clasen <mclasen@redhat.com>
162 * inotify/*.c: Coding style fixes.
163 * inotify/inotify-missing.c: Use g_timeout_add_seconds
164 for the 1/4 Hz timer.
166 2008-01-20 Matthias Clasen <mclasen@redhat.com>
170 * gmemoryinputstream.c:
171 * gmemoryoutputstream.c:
173 * gthemedicon.c: Documentation updates
175 2008-01-20 Murray Cumming <murrayc@murrayc.com>
177 * gfile.c: documentation: Fixed more minor
180 2008-01-18 Murray Cumming <murrayc@murrayc.com>
182 * gmount.c: (g_mount_remount): documentation:
183 Mention g_mount_remount_finish() instead of
184 g_mount_unmount_finish().
186 2008-01-18 Murray Cumming <murrayc@murrayc.com>
190 * gfile.c: Fixed some minor typos in the
193 2008-01-18 Murray Cumming <murrayc@murrayc.com>
195 * gio/gvolumemonitor.c:
196 (g_volume_monitor_get_connected_drives):
197 (g_volume_monitor_get_volumes):
198 (g_volume_monitor_get_mounts): Documentation:
199 Clarify the ownership of the regurn GLists.
201 2008-01-17 Alexander Larsson <alexl@redhat.com>
204 Add the async find_enclosing_mount version
205 to the header file too.
207 2008-01-17 Alexander Larsson <alexl@redhat.com>
210 Add async version of find_enclosing_mount
211 with default implementation.
213 2008-01-17 Alexander Larsson <alexl@redhat.com>
218 Allow calls to implementation of copy and write
219 even if the type of the file implementations is
220 different. This can be used to implement native
221 upload and download calls in a vfs.
225 Protect against the case where move is called
226 with one file not being local.
228 Make sure we call the progress callback once
229 in the native move operation so that the caller
230 knows how many bytes were copied.
232 2008-01-16 Murray Cumming <murrayc@murrayc.com>
235 * gdatainputstream.c:
237 * gfileoutputstream.c:
242 * gunixmounts.c: Corrected some typos in the documentation:
244 its -> it's (where appropriate).
246 2008-01-16 Alexander Larsson <alexl@redhat.com>
250 Add g_file_query_exists (#508771)
252 2008-01-15 Murray Cumming <murrayc@murrayc.com>
257 * gvolume.c: For async functions that have no non-async
258 version, document that the GAsyncReadyCallback may be NULL.
261 2008-01-15 Alexander Larsson <alexl@redhat.com>
263 * gmemoryinputstream.c:
264 * gmemoryoutputstream.c:
265 Don't do pointer arithmetic on void * (#508602)
266 Patch from Kazuki IWAMOTO
268 2008-01-14 Matthias Clasen <mclasen@redhat.com>
270 * === Released 2.15.2 ===
272 2008-01-14 Alexander Larsson <alexl@redhat.com>
274 * gfile.c (g_file_monitor_file):
275 Don't set error here, since we fallback to polling monitor.
277 2008-01-14 Alexander Larsson <alexl@redhat.com>
280 (g_file_monitor_directory):
281 (g_file_monitor_file):
282 Add GError to file monitor calls
284 * glocaldirectorymonitor.c:
285 * glocaldirectorymonitor.h:
287 * glocalfilemonitor.c:
288 * glocalfilemonitor.h:
290 Update for above change
292 2008-01-14 Alexander Larsson <alexl@redhat.com>
296 Handle root correctly in g_file_get_relative_path (#508719)
298 2008-01-14 Alexander Larsson <alexl@redhat.com>
301 Clean up docs and example for GAsyncResult (#508074)
303 2008-01-11 Murray Cumming <murrayc@murrayc.com>
305 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
306 and correct some spelling mistakes. Bug #508108.
308 2008-01-11 Matthias Clasen <mclasen@redhat.com>
310 * glocalfileinfo.c: Add a comment.
312 2008-01-10 Murray Cumming <murrayc@murrayc.com>
314 * gfileinfo.c: GFileInfo description: Mention
315 how to actually set attributes in a GFile and how to discover
316 which attributes are settable. Bug #508378.
318 2008-01-10 A. Walton <awalton@svn.gnome.org>
320 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
321 (g_app_info_get_default_for_type):
322 Check for NULL content types.
324 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
326 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
328 2008-01-09 Murray Cumming <murrayc@murrayc.com>
330 * gfile.c: *_async() functions: Several small corrections
331 to the documentation, mostly correcting copy/paste errors
332 and improving some sentences.
334 2008-01-09 Dan Winship <danw@gnome.org>
336 * glocalfile.c (get_unique_filename): x86_64 fix
338 2008-01-09 Alexander Larsson <alexl@redhat.com>
343 Add g_unix_mount_guess_should_display and use
344 for unix volume monitor backend.
345 This means we more or less show what the
346 gnome-vfs backend did.
347 Based on patch from Padraig O'Briain
349 2008-01-09 Alexander Larsson <alexl@redhat.com>
353 Add g_themed_icon_new_with_default_fallbacks
356 Use default fallbacks for icons
358 2008-01-09 Alexander Larsson <alexl@redhat.com>
361 * gmountoperation.[ch]:
362 Change the API a bit so that unhandled methods
363 get reported via the reply, rather than by
364 the signal emission return value. This is because
365 some handlers can't know this immediately without
366 doing I/O, and this is an async operation that
369 2008-01-09 Alexander Larsson <alexl@redhat.com>
372 * fam/gfamdirectorymonitor.c:
373 * fam/gfamfilemonitor.c:
374 Fix double free crash (#508224)
375 Patch from Joe Marcus Clarke
377 008-01-07 Matthias Clasen <mclasen@redhat.com>
379 * === Released 2.15.1 ===
381 2008-01-07 Alexander Larsson <alexl@redhat.com>
383 * gunixinputstream.c (g_unix_input_stream_skip_finish):
384 Fix warning (#507835)
386 2008-01-07 Alexander Larsson <alexl@redhat.com>
389 Pass --internal to glib-genmarshal
394 Use better types for signal arguments (#507822)
396 2008-01-07 Alexander Larsson <alexl@redhat.com>
399 Build test subdir after .
400 Remove gdirectorymonitor.[ch]
402 * gdirectorymonitor.[ch]:
406 Remove GDirectoryMonitor and make
407 GFileMonitor the baseclass for both file and
408 directory monitors. Lift the more generic
409 rate limiting code from GDirectoryMonitor
413 * fam/gfamdirectorymonitor.[ch]:
414 * inotify/ginotifydirectorymonitor.[ch]:
415 * inotify/inotify-helper.c:
416 * glocaldirectorymonitor.[ch]:
419 Update for the removed GDirectoryMonitor.
421 * gmemoryoutputstream.c:
422 Remove ununsed variable
424 2008-01-07 Alexander Larsson <alexl@redhat.com>
426 * gmemoryinputstream.c:
427 Translate error strings
430 * gmemoryoutputstream.[ch]:
431 New implementation that avoids using GByteArray
432 in implementation and API. (#506377)
434 2008-01-06 Matthias Clasen <mclasen@redhat.com>
436 * tests/*: Add a test for memory input streams.
438 * Makefile.am: Add tests to SUBDIRS.
440 2008-01-06 Matthias Clasen <mclasen@redhat.com>
442 * glocalfilemonitor.c:
443 * glocaldirectorymonitor.c: Mark property nicks and blurbs
446 2008-01-06 Matthias Clasen <mclasen@redhat.com>
448 * gdesktopappinfo.c: Fix a docs typo.
450 * gfileattribute.c: Add information about extended attributes
451 to the documentation. (#505058)
453 2008-01-04 Alexander Larsson <alexl@redhat.com>
457 Use the right type (uint) for the ask_password signal.
459 2008-01-04 Alexander Larsson <alexl@redhat.com>
464 Add g_app_info_supports_files()
465 Remove desktop arg from g_app_info_should_show().
467 * gdesktopappinfo.[ch]:
468 Implement g_app_info_supports_files() and new should_show()
469 Add g_desktop_app_info_set_desktop_env() to set the desktop
470 for should_show(). (This will be set by gtk+ later)
472 2008-01-04 Alexander Larsson <alexl@redhat.com>
475 * gmemoryinputstream.[ch]:
476 Improve API so that you can use multiple chunks
477 of memory and custom destroy functions. (#506374)
479 2008-01-03 Alexander Larsson <alexl@redhat.com>
482 Handle NULL attribute matchers safely, as we return this
483 for empty attribute matcher strings.
485 2008-01-03 Alexander Larsson <alexl@redhat.com>
487 * gunixmounts.c (g_unix_is_mount_path_system_internal):
488 Add /usr/local to list of internal mountpoints
490 2008-01-03 Alexander Larsson <alexl@redhat.com>
493 Check for HAVE_LCHOWN (#505887)
495 2008-01-03 Alexander Larsson <alexl@redhat.com>
499 Add define for selinux context attribute.
500 Fix missing : -> :: namespace separator change
501 Fix missing _ -> - name change for xattr-sys.
504 2008-01-03 Alexander Larsson <alexl@redhat.com>
507 Link to libglib and libgobject directly (#504879)
508 Patch from Sebastien Bacher
510 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
512 * gfile.c: Expanded the g_file_new_for_commandline_arg
513 description a bit, based on the code and the docs of the
514 other g_file_new_for_* functions.
516 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
518 * gfilemonitor.h: Fixed typo in docs.
520 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
522 Updates to GIO documentation. (#506395, Mikael Hermansson)
524 * gcontenttype.c: Describe memory management for return value of
525 g_content_types_get_registered(). Missing piece from #505815.
526 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
527 GVolume, GDrive, GMounts, which hopefully gives the user less
528 confusions when using this API. Following explainations from
529 Alexander Larsson on gtk-devel-list.
531 2007-12-30 Matthias Clasen <mclasen@redhat.com>
533 * gfileinfo.c: Expand the long description.
535 2007-12-30 Matthias Clasen <mclasen@redhat.com>
538 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
539 fix builds with --disable-visibility. (#500273, Christian Persch)
541 2007-12-30 Matthias Clasen <mclasen@redhat.com>
543 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
544 in the list of returned app infos.
546 2007-12-30 Matthias Clasen <mclasen@redhat.com>
548 * gappinfo.c: Fix a cross-reference
550 2007-12-30 Matthias Clasen <mclasen@redhat.com>
552 * gfileinputstream.c:
553 * gfileoutputstream.c:
559 * gfileinfo.c: Documentation updates.
561 2007-12-26 Matthias Clasen <mclasen@redhat.com>
563 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
566 2007-12-26 Matthias Clasen <mclasen@redhat.com>
568 * gcontenttype.c (g_content_types_get_registered): Don't return
569 freed memory (#505815, Mikael Hermansson)
571 2007-12-25 Paolo Borelli <pborelli@katamail.com>
573 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
574 used to detect statbuf->st_blocks. (#505042)
576 2007-12-24 Matthias Clasen <mclasen@redhat.com>
578 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
579 environment handling. (#504829, Cosimo Cecchi)
581 2007-12-22 Matthias Clasen <mclasen@redhat.com>
583 * gappinfo.c: Doc improvements
585 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
588 2007-12-20 Matthias Clasen <mclasen@redhat.com>
590 * === Released 2.15.0 ===
592 2007-12-20 Hans Breuer <hans@breuer.org>
594 * makefile.msc : don't build gdesktopappinfo.obj, it collides
595 with symbols gwin32appinfo.obj, added gmount.obj
596 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
598 2007-12-20 Alexander Larsson <alexl@redhat.com>
604 * gfilenamecompleter.c:
607 * gpollfilemonitor.c:
608 File attribute renames:
611 id::fs -> id::filesystem
613 2007-12-20 Alexander Larsson <alexl@redhat.com>
622 Add GMountUnmountFlags to all unmount and
624 Add g_mount_remount() call.
626 2007-12-20 Alexander Larsson <alexl@redhat.com>
628 * gvfs.c (get_default_vfs):
629 Fix unused variable warning
631 2007-12-19 Matthias Clasen <mclasen@redhat.com>
633 * pltcheck.sh: Update
635 2007-12-19 Matthias Clasen <mclasen@redhat.com>
637 * gunionvolumemonitor.c:
638 * gunixmount.c: Remove C99 comments
640 2007-12-19 Matthias Clasen <mclasen@redhat.com>
642 * gio.symbols: Add some missing symbols
644 2007-12-19 Alexander Larsson <alexl@redhat.com>
647 Make g_io_modules_load_all_in_directory not unuse
648 loaded modules so that users of it can do stuff
650 Init internal "module" types.
651 Initialize static prio and name for types so that
652 we don't have to load modules to get it.
654 * gnativevolumemonitor.h:
656 Move is_supported to parent class so that
657 non-native monitors can avoid being initialized
658 too. (For instance GDaemonVolumeMonitor if we're
659 not using GDaemonVfs.)
661 * glocaldirectorymonitor.[ch]:
662 * glocalfilemonitor.[ch]:
663 * gunionvolumemonitor.c:
664 * gunixvolumemonitor.c:
666 Find plugins using the static prio+name to
667 avoid unnecessarily loading the modules.
669 2007-12-19 Alexander Larsson <alexl@redhat.com>
674 2007-12-19 Alexander Larsson <alexl@redhat.com>
676 * gunionvolumemonitor.c:
677 Store the native type as GType, not class so that
678 we can unload it. But still avoid unnecessarily
681 2007-12-19 David Zeuthen <davidz@redhat.com>
683 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
684 add signals 'disconnected' and 'eject-button' on GDrive. Add
685 signal 'removed' on GVolume and 'unmounted' on GMount.
687 * gdrive.c: (g_drive_base_init):
689 * gfile.c: (g_file_mount_mountable),
690 (g_file_mount_enclosing_volume):
693 * gmount.c: (g_mount_base_init):
695 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
696 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
697 * gvolume.c: (g_volume_base_init), (g_volume_mount):
701 2007-12-17 Matthias Clasen <mclasen@redhat.com>
703 * *.c: Fix up includes in the section docs.
705 2007-12-17 Alexander Larsson <alexl@redhat.com>
707 * gnativevolumemonitor.h:
708 * gunionvolumemonitor.c:
709 * gunixvolumemonitor.c:
710 Add is_supported() to GNativeVolumeMonitorClass so
711 that we can avoid having to create an object to see
712 if the backend is supported at runtime.
713 Also add name member and an env var to pick a specific
714 volume monitor backend.
718 Add cancellable to _g_mount_get_for_mount_path()
720 * glocaldirectorymonitor.c:
721 * glocalfilemonitor.c:
722 Avoid loading and unloading modules while sorting.
724 2007-12-17 Matthias Clasen <mclasen@redhat.com>
727 * gunixmounts.[hc]: Namespace waste reduction, move some
728 g_get_unix_mount functions to the g_unix_mount namespace.
731 * gunixvolumemonitor.c:
733 * glocaldirectorymonitor.c: Update all callers.
735 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
737 2007-12-17 Alexander Larsson <alexl@redhat.com>
740 Add doc comments about what GFile operations are
741 guaranteed to not block.
743 2007-12-17 Alexander Larsson <alexl@redhat.com>
746 Add missing #ifdef fixing OSX build.
747 (#503334, patch from Richard Hult)
749 2007-12-14 David Zeuthen <davidz@redhat.com>
753 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
754 (g_mount_eject), (g_mount_eject_finish):
756 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
757 (get_volume_for_uuid), (get_mount_for_uuid),
758 (g_union_volume_monitor_class_init),
759 (get_default_native_type_with_exclude), (get_default_native_type),
760 (get_native_type), (update_native_type),
761 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
762 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
763 (g_unix_mount_can_eject), (eject_unmount_cb),
764 (eject_unmount_read_error), (eject_unmount_do),
765 (g_unix_mount_unmount), (g_unix_mount_eject),
766 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
767 * gunixmounts.c: (g_unix_mount_guess_can_eject),
768 (g_unix_mount_point_guess_can_eject):
770 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
771 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
772 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
773 (g_unix_volume_mount), (g_unix_volume_eject),
774 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
775 * gunixvolumemonitor.c: (get_volume_for_uuid),
776 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
778 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
779 (g_volume_eject), (g_volume_eject_finish):
781 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
782 (g_volume_monitor_get_mount_for_uuid):
785 Provide eject() on both GMount and GVolume and utility functions
786 to guess whether a GUnixMountPoint or GUnixMountEntry should be
787 ejected. Introduce the concept of UUID's and wire it into GVolume
788 and GMount and provide API on GVolumeMonitor to find such
789 instances. Also handle the case where an external
790 GNativeVolumeMonitor fails to initialize. Lock around the
791 _g_get_mount_for_mount_path() function such that volume monitor
792 implementations won't have to do locking themselves.
794 2007-12-17 Matthias Clasen <mclasen@redhat.com>
802 * gvolume.h: Documentation updates
804 2007-12-14 Matthias Clasen <mclasen@redhat.com>
807 * gfile.h: Doc updates
809 2007-12-14 Matthias Clasen <mclasen@redhat.com>
812 * gdesktopappinfo.c: Use hash table iterators.
814 2007-12-14 Alexander Larsson <alexl@redhat.com>
817 * gfileattribute.[ch]:
818 * gfileattribute-priv.h:
819 Move GFileAttributeValue to a private header, as
823 Make set_attribute take a type + a pointer instead
824 of a GFileAttributeValue.
827 Fix up for above changes.
828 Add g_file_info_get_attribute_data to get
829 all info in one call, g_file_info_get_attribute_status
830 to get the status and g_file_info_get_attribute_as_string.
834 * glocalfileinfo.[ch]:
838 Make _guess_type static.
840 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
843 * inotify/Makefile.am: Fixed build when srcdir != builddir,
844 made mkenums and friends use temporary files to avoid leaving
845 empty generated files on failure (#503470).
847 2007-12-14 Alexander Larsson <alexl@redhat.com>
852 2007-12-14 Alexander Larsson <alexl@redhat.com>
856 * gfileattribute.[ch]:
859 * glocalfileoutputstream.c:
860 * gmountoperation.[ch]:
861 * goutputstream.[ch]:
862 Clean up all flags enums to not have _FLAGS in them
863 Make the names of some of the enums better.
868 2007-12-14 Michael Natterer <mitch@imendio.com>
870 * gio.symbols: fix g_io_scheduler symbol names.
872 2007-12-14 Alexander Larsson <alexl@redhat.com>
878 * gbufferedinputstream.h:
879 * gbufferedoutputstream.h:
882 * gdatainputstream.h:
883 * gdataoutputstream.h:
885 * gdirectorymonitor.h:
892 * gfileinputstream.h:
894 * gfilenamecompleter.h:
895 * gfileoutputstream.h:
896 * gfilterinputstream.h:
897 * gfilteroutputstream.h:
905 * gmemoryinputstream.h:
906 * gmemoryoutputstream.h:
911 * gsimpleasyncresult.h:
913 * gunixinputstream.h:
915 * gunixoutputstream.h:
919 * inotify/Makefile.am:
920 Only allow including <gio/gio.h> from apps
922 2007-12-14 Alexander Larsson <alexl@redhat.com>
925 * gsimpleasyncresult.c:
926 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
927 Split out the send_to_mainloop call into two versions instead
928 of having the block argument.
930 2007-12-13 Alexander Larsson <alexl@redhat.com>
934 * gbufferedinputstream.c:
936 * gfileinputstream.c:
937 * gfileoutputstream.c:
941 g_push/pop_current_cancellable ->
942 g_cancellable_push/pop_current
944 2007-12-13 Alexander Larsson <alexl@redhat.com>
948 Rename g_mount_for_location to g_file_mount_enclosing_volume.
950 2007-12-13 Alexander Larsson <alexl@redhat.com>
953 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
955 2007-12-12 Alexander Larsson <alexl@redhat.com>
958 Fix race condition when freeing proxy in
959 g_io_job_send_to_mainloop().
961 2007-12-12 Alexander Larsson <alexl@redhat.com>
967 Make attribute namespace separator "::" instead of ":".
968 Use - instead of _ as separator in attribute names.
970 2007-12-12 Alexander Larsson <alexl@redhat.com>
972 * gbufferedinputstream.h:
973 * gbufferedoutputstream.h:
974 * gdatainputstream.h:
975 * gdataoutputstream.h:
976 * gdirectorymonitor.h:
978 * gfileinputstream.h:
980 * gfileoutputstream.h:
981 * gfilterinputstream.h:
982 * gfilteroutputstream.h:
984 * glocalfileinputstream.h:
985 * glocalfileoutputstream.h:
986 * gmemoryinputstream.h:
987 * gmemoryoutputstream.h:
988 * gnativevolumemonitor.h:
990 * gunixinputstream.h:
991 * gunixoutputstream.h:
994 s/parent/parent_instance/ in GObjects
996 2007-12-12 Alexander Larsson <alexl@redhat.com>
1001 No need for padding for interfaces
1003 2007-12-12 Alexander Larsson <alexl@redhat.com>
1007 * gbufferedinputstream.c:
1008 * gbufferedoutputstream.c:
1011 * gdatainputstream.[ch]:
1012 * gdesktopappinfo.c:
1013 * gdirectorymonitor.c:
1015 * gfileattribute.[ch]:
1018 * gfileinputstream.h:
1019 * gfilemonitor.[ch]:
1020 * gfileoutputstream.[ch]:
1021 * gfilterinputstream.h:
1022 * gfilteroutputstream.h:
1025 * gloadableicon.[ch]:
1026 * gmemoryinputstream.c:
1027 * gmountoperation.c:
1029 Fix up a bunch of details in the docs.
1034 2007-12-11 David Zeuthen <davidz@redhat.com>
1036 Rework how volumes, drives and volume monitoring is
1037 done. Previosly the model was
1039 GDrive <1-1> GVolume
1041 where a GDrive instance represented a mount point and a GVolume
1042 instance represented a mounted file system. This patch changes it
1045 GDrive <1-N> GVolume <1-1> GMount
1047 where GMount now serves the purpose of the old GVolume and the new
1048 GVolume serves the purpose of the old GDrive. In addition the new
1049 GDrive interface is used to represent a collection of GVolume
1050 instances (typically partitions) and also contains utility to query
1051 the state of the physical drive the GDrive object represents (such
1052 as checking for media, polling the drive, ejecting the media etc.).
1054 Also implement mounting and unmounting in the Unix volume monitor
1055 backend. A subquent patch will introduce GDrive support for ejection
1059 * gdrive.c: (g_drive_is_media_check_automatic),
1060 (g_drive_is_media_removable), (g_drive_has_media),
1061 (g_drive_can_poll_for_media), (g_drive_eject),
1062 (g_drive_eject_finish), (g_drive_poll_for_media),
1063 (g_drive_poll_for_media_finish):
1065 * gfile.c: (g_file_find_enclosing_mount):
1068 * glocaldirectorymonitor.c:
1069 (g_local_directory_monitor_constructor), (mounts_changed):
1070 * glocalfile.c: (get_mount_info),
1071 (g_local_file_find_enclosing_mount),
1072 (g_local_file_file_iface_init):
1073 * gnativevolumemonitor.h:
1074 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1075 (get_connected_drives), (g_union_volume_monitor_class_init),
1076 (child_volume_added), (child_volume_removed),
1077 (child_volume_changed), (child_mount_added), (child_mount_removed),
1078 (child_mount_pre_unmount), (child_mount_changed),
1079 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1080 (g_union_volume_monitor_remove_monitor),
1081 (_g_mount_get_for_mount_path):
1082 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1083 (guess_system_internal), (_g_get_unix_mounts),
1084 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1085 (g_unix_mount_free), (g_unix_mount_compare),
1086 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1087 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1088 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1089 (type_to_icon), (g_unix_mount_guess_name),
1090 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1091 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1092 (_resolve_symlink), (_resolve_dev_root):
1094 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1095 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1096 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1097 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1098 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1099 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1100 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1101 (g_unix_volume_volume_iface_init):
1103 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1104 (get_mounts), (get_volumes), (get_connected_drives),
1105 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1106 (mountpoints_changed), (mounts_changed),
1107 (g_unix_volume_monitor_init),
1108 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1109 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1110 * gunixvolumemonitor.h:
1111 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1112 (g_volume_mount), (g_volume_mount_finish):
1114 * gvolumemonitor.c: (g_volume_monitor_class_init),
1115 (g_volume_monitor_get_connected_drives),
1116 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1119 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1121 * gmountoperation.h (GPasswordFlags): Close the gap
1123 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1125 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1127 * gdesktopappinfo.[hc]: Remove _-prefixes
1129 2007-12-10 Tor Lillqvist <tml@novell.com>
1131 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1134 2007-12-10 Alexander Larsson <alexl@redhat.com>
1136 * gfile.c (g_file_set_display_name):
1137 Don't hardcode '/' (#502727)
1139 2007-12-09 Hans Breuer <hans@breuer.org>
1141 * makefile.msc : follow lib naming convention
1142 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1143 for user and group name, tested with ../tests/gio-ls
1145 2007-12-09 A. Walton <awalton@svn.gnome.org>
1147 * gdesktopappinfo.c:
1153 * gfileenumerator.c:
1158 * gmemoryinputstream.c:
1159 * gmemoryoutputstream.c:
1161 * gsimpleasyncresult.c:
1162 More documentation cleanup and filling in missing information, bringing
1163 GIO to 99% symbol coverage.
1165 2007-12-08 Hans Breuer <hans@breuer.org>
1167 [gio compiles and links on win32, not sure how much already works]
1168 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1169 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1170 base on win32 API; prefer g_lstat() over lstat(); instead of
1171 localtime_r() use an all GLib implementation on win32;
1172 get_mount_info() still needs a win32 specifc implementation
1173 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1174 win32_get_file_user_info to get owner/group info without uid/gid
1175 * glocalfileinputstream.c : include <io.h> on win32
1176 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1177 definition, use g_win32_ftruncate() for G_OS_WIN32
1178 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1179 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1180 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1181 * makefile.msc : updated
1183 2007-12-07 Alexander Larsson <alexl@redhat.com>
1185 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1186 Avoid warning spew if error == NULL
1188 2007-12-07 Alexander Larsson <alexl@redhat.com>
1191 Update docs wrt etags
1193 2007-12-06 Alexander Larsson <alexl@redhat.com>
1196 Include sys/types.h for dev_t (#501919)
1198 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1202 Make abicheck and pltcheck pass.
1204 2007-12-05 Alexander Larsson <alexl@redhat.com>
1207 * giomodule-priv.h: Added.
1208 * glocaldirectorymonitor.c:
1209 * glocalfilemonitor.c:
1210 * gunionvolumemonitor.c:
1212 Actually add the declaration of _g_io_modules_ensure_loaded
1214 2007-12-05 Alexander Larsson <alexl@redhat.com>
1216 * gdatainputstream.c:
1221 * glocaldirectorymonitor.c:
1222 * glocalfilemonitor.c:
1223 * gunionvolumemonitor.c:
1225 Make g_io_modules_ensure_loaded a private function and
1226 don't pass in the dirname. This means we can do magic
1227 directory finding in the win32 version.
1228 Export the actual load-modules-in-directory code so that
1229 gvfs can reuse that.
1231 2007-12-05 Alexander Larsson <alexl@redhat.com>
1233 * gbufferedinputstream.c:
1234 * gbufferedoutputstream.c:
1237 * gfileenumerator.[ch]:
1238 * gfileinputstream.c:
1239 * gfileoutputstream.[ch]:
1240 * gfilterinputstream.c:
1241 * gfilteroutputstream.c:
1242 * ginputstream.[ch]:
1244 * glocalfileenumerator.c:
1245 * glocalfileinputstream.c:
1246 * glocalfileoutputstream.c:
1247 * gmemoryinputstream.c:
1248 * gmemoryoutputstream.c:
1249 * goutputstream.[ch]:
1252 * gunixinputstream.c:
1253 * gunixoutputstream.c:
1254 Rename all struct members named:
1255 read, write, close, truncate, or mount
1256 to foo_fn, as these are reserved names
1257 and could be defined as macros in libc.
1260 2007-12-04 Alexander Larsson <alexl@redhat.com>
1263 (g_output_stream_close):
1264 Only call flush if non-null.
1266 2007-11-30 Dan Winship <danw@gnome.org>
1268 * ginputstream.c (g_input_stream_set_pending): Make this take a
1269 GError and return a gboolean, and do the "outstanding operation"
1270 check (and the "stream is already closed" check) itself.
1271 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1273 * goutputstream.c (g_output_stream_set_pending)
1274 (g_output_stream_clear_pending): Likewise
1276 * gbufferedinputstream.c:
1277 * gfileinputstream.c:
1278 * gfileoutputstream.c: Update for that
1280 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1281 Like g_simple_async_report_error_in_idle, but takes a GError
1282 rather than building one.
1284 2007-11-30 Dan Winship <danw@gnome.org>
1286 * goutputstream.c: Don't cheat and unset the "pending" flag around
1287 inner calls. Instead, call the class method directly rather than
1288 the wrapper function that checks "pending"
1290 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1292 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1294 2007-12-03 Hans Breuer <hans@breuer.org>
1296 [start of port to win32/msvc]
1297 * gcancellable.c : HAVE_UNIST_H and _pipe()
1298 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1299 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1300 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1302 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1303 * glocalvfs.c : use HAVE_PWD_H
1304 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1305 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1306 * Makefile.am : added to EXTRA_DIST
1308 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1310 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1313 2007-12-03 Alexander Larsson <alexl@redhat.com>
1316 Handle OSX style xattrs API (#500506)
1318 2007-12-03 Alexander Larsson <alexl@redhat.com>
1322 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1324 2007-12-02 A. Walton <awalton@svn.gnome.org>
1328 Documentation accuracy fixes.
1330 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1332 * gioenumtypes.c.template: Fix typo.
1334 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1336 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1338 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1340 * gdirectorymonitor.c:
1341 * gfilemonitor.c: Add properties
1343 * gbufferedoutputstream.c: Don't mark buffer-size property
1346 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1348 * gbufferedoutputstream.c: Add auto-grow property.
1350 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1352 * *.c: Unify the capitalization of section headings.
1354 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1356 * gmountoperation.c: Add properties
1358 * gdatainputstream.c: Turn byte-order and newline-type into
1361 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1363 * gioenumtypes.[hc].template: Templates for enum registration
1365 * Makefile.am: Generate gioenumtypes.[hc]
1367 * gio.h: Include gioenumtypes.h
1369 * gfile.h: Add some explicit nicks.
1371 * gio.symbols: Add new symbols
1373 * pltcheck.sh: Adjust
1375 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1377 * *.c: Explain etags and link to the explanation
1379 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1381 * *.c: Explain I/O priority.
1383 * *.c: More coding style fixes.
1385 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1387 * gasyncresult.c: Add another paragraph to the intro,
1388 adjust coding style of example.
1390 2007-11-29 A. Walton <awalton@svn.gnome.org>
1393 Fixes unknown meaning in GAppLaunchContext docs.
1395 Clarify asynchronous ops.
1397 Fix entity tag docs.
1400 Provides missing gtk-doc section, fixes API docs slighly.
1401 * gsimpleasyncresult.c:
1402 Fill in missing info in docs.
1403 * gunixinputstream.c:
1404 * gunixoutputstream.c:
1405 Be more expressive in short description.
1407 Remove gtk-doc stubs for non-public API.
1409 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1411 * *.c: Coding style fixups
1413 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1415 * inotify/inotify-helper.c: Don't export the lock from libgio.
1417 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1420 * abicheck.sh: Fix copy-and-paste leftovers
1422 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1424 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1426 2007-11-28 Alexander Larsson <alexl@redhat.com>
1430 Removed unnecessary file
1432 * gdesktopappinfo.[ch]:
1435 * glocaldirectorymonitor.[ch]:
1437 * glocalfileenumerator.[ch]:
1438 * glocalfileinputstream.[ch]:
1439 * glocalfilemonitor.[ch]:
1440 * glocalfileoutputstream.[ch]:
1442 * gnativevolumemonitor.c:
1443 * gpollfilemonitor.[ch]:
1444 * gunionvolumemonitor.[ch]:
1447 * gunixvolumemonitor.[ch]:
1450 * inotify/ginotifydirectorymonitor.[ch]:
1451 * inotify/ginotifyfilemonitor.[ch]:
1452 * inotify/inotify-helper.c:
1453 Append _ to all internal functions
1457 Export symbols needed for modules
1459 2007-11-28 Alexander Larsson <alexl@redhat.com>
1462 * abicheck.sh: Added.
1463 * makegioalias.pl: Added.
1464 * pltcheck.sh: Added.
1465 * gio.symbols: Added.
1468 Initial work on adding symbol handling.
1471 Correct ifdef guard name
1474 * inotify/Makefile.am:
1475 * xdgmime/Makefile.am:
1476 Include toplevel Makefile.decl
1478 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1480 * gcontenttype.c: Move doc comments to the unix section.
1482 * *.[hc]: More trivial doc corrections.
1484 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1486 * gpollfilemonitor.c:
1490 * gdesktopappinfo.c:
1495 * gdatainputstream.c:
1496 * gdatainputstream.h:
1497 * gdataoutputstream.c:
1498 * gdataoutputstream.h:
1499 * gfileinfo.h: Doc cleanups
1501 2007-11-28 Andre Klapper <a9016009@gmx.de>
1503 * gdesktopappinfo.c: Fix a typo.
1505 2007-11-27 Andre Klapper <a9016009@gmx.de>
1507 * glocalfileoutputstream.c: Fix a typo.
1509 2007-11-27 Alexander Larsson <alexl@redhat.com>
1512 Don't include removed headers
1514 2007-11-27 Alexander Larsson <alexl@redhat.com>
1517 * gsocketinputstream.[ch]: Removed.
1518 * gsocketoutputstream.[ch]: Removed.
1519 * gunixinputstream.[ch]: Added.
1520 * gunixoutputstream.[ch]: Added.
1521 Renamed GSocket*Stream to GUnix*Stream and made
1522 it unix-only, since its not really only for sockets
1523 and it only works on unix (but is highly useful there).
1525 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1531 * gbufferedinputstream.c:
1532 * gbufferedinputstream.h:
1533 * gbufferedoutputstream.c:
1534 * gbufferedoutputstream.h:
1538 * gdatainputstream.c:
1539 * gdatainputstream.h:
1540 * gdataoutputstream.c:
1541 * gdataoutputstream.h:
1542 * gdirectorymonitor.c:
1543 * gdirectorymonitor.h:
1550 * gfileenumerator.c:
1551 * gfileenumerator.h:
1556 * gfileinputstream.c:
1557 * gfileinputstream.h:
1560 * gfilenamecompleter.c:
1561 * gfilenamecompleter.h:
1562 * gfileoutputstream.c:
1563 * gfileoutputstream.h:
1564 * gfilterinputstream.c:
1565 * gfilterinputstream.h:
1566 * gfilteroutputstream.c:
1567 * gfilteroutputstream.h:
1580 * glocalfileoutputstream.c:
1581 * gmemoryinputstream.c:
1582 * gmemoryinputstream.h:
1583 * gmemoryoutputstream.c:
1584 * gmemoryoutputstream.h:
1585 * gmountoperation.c:
1586 * gmountoperation.h:
1589 * gpollfilemonitor.c:
1592 * gsimpleasyncresult.c:
1593 * gsimpleasyncresult.h:
1594 * gsocketinputstream.c:
1595 * gsocketinputstream.h:
1596 * gsocketoutputstream.c:
1597 * gsocketoutputstream.h:
1604 * gunixvolumemonitor.c:
1613 Bumps documentation to 93% symbol coverage, touching most
1614 of the public files. Fixes broken function documentation prototypes.
1615 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1616 gtk-doc headers in private files.
1618 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1620 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1621 (g_buffered_input_stream_read_byte):
1622 * gbufferedinputstream.h:
1623 New functions for efficient access to buffer and simple single byte
1626 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1627 (g_data_input_stream_read_until):
1628 * gdatainputstream.h:
1629 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1630 read_until with multiple stop chars.
1632 2007-11-27 Alexander Larsson <alexl@redhat.com>
1636 * inotify/Makefile.am:
1637 Use the user-specified giomoduledir
1639 2007-11-27 Alexander Larsson <alexl@redhat.com>
1643 Add catch-all gio.h header
1644 Don't install gdummyfile.h
1646 2007-11-26 Alexander Larsson <alexl@redhat.com>
1648 * Makefile.am (gioinclude_HEADERS):
1649 Remove trailing whitespace
1651 2007-11-26 Alexander Larsson <alexl@redhat.com>
1653 Merge gio-standalone into glib
1655 2007-11-25 Christian Kellner <gicmo@gnome.org>
1657 * gio/goutputstream.c:
1658 Fix small mistake in the docs.
1660 2007-11-21 Christian Persch <chpe@gnome.org>
1662 * gio/glocalfile.c: (g_local_file_trash):
1663 Convert filenames to UTF-8 for GError.
1664 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1665 as per xdg base dir spec.
1667 2007-11-21 Christian Persch <chpe@gnome.org>
1669 * gio/gdesktopappinfo.c:
1670 Use that g_key_file_to_data cannot fail.
1672 Use stock defines for the key file group and key names.
1675 2007-11-21 Alexander Larsson <alexl@redhat.com>
1678 (copy_stream_with_progress):
1679 Make sure we do a final progress callback with
1680 the full total size.
1682 2007-11-21 Alexander Larsson <alexl@redhat.com>
1685 Export g_file_copy_attributes
1686 Remove padding as its not needed for interfaces
1688 2007-11-20 Alexander Larsson <alexl@redhat.com>
1693 Add G_IO_ERROR_WOULD_MERGE for
1694 copy/move dir on dir with overwrite.
1696 2007-11-20 Alexander Larsson <alexl@redhat.com>
1699 * gio/glocalfileinfo.c:
1700 Add COPY_NAME (this is an optional
1701 non-modified utf8 version of the name) that
1704 2007-11-20 Alexander Larsson <alexl@redhat.com>
1706 * gio/glocalfileenumerator.c:
1707 Report errors as GIOError, not GFileError
1709 2007-11-16 Alexander Larsson <alexl@redhat.com>
1711 * gio/glocalfileoutputstream.c:
1712 * gio/gwin32appinfo.c:
1713 Fix typos in strings.
1714 Patch from Luca Ferretti <elle.uca@libero.it>
1716 2007-11-15 Alexander Larsson <alexl@redhat.com>
1719 Post release version bump
1721 === gio-standalone 0.1.2 ===
1723 2007-11-15 Alexander Larsson <alexl@redhat.com>
1725 * docs/reference/gio/Makefile.am:
1726 Fix up distcheck by removing weird
1732 2007-11-14 Alexander Larsson <alexl@redhat.com>
1734 * gio/gdesktopappinfo.c:
1735 * gio/glocaldirectorymonitor.c:
1737 * gio/glocalfileinfo.c:
1738 * gio/inotify/inotify-sub.c:
1739 * programs/gio-cat.c:
1740 * programs/gio-copy.c:
1741 * programs/gio-info.c:
1742 * programs/gio-ls.c:
1743 * programs/gio-monitor-dir.c:
1744 * programs/gio-monitor-file.c:
1745 * programs/gio-mount.c:
1746 * programs/gio-move.c:
1747 * programs/gio-rm.c:
1748 * programs/gio-save.c:
1749 * programs/gio-trash.c:
1750 Leak fixes from Kjartan Maraas
1752 2007-11-14 Alexander Larsson <alexl@redhat.com>
1754 * gio/fam/fam-helper.c:
1756 * gio/glocalfileinfo.c:
1760 * gio/inotify/inotify-diag.c:
1761 * gio/inotify/inotify-kernel.c:
1762 Various code cleanups from Kjartan Maraas
1764 2007-11-14 Alexander Larsson <alexl@redhat.com>
1766 * gio/gioscheduler.c:
1768 Set up threadpool so that we cache 2 unused
1769 idle threads for at 15 secs. This means we
1770 will reuse thread-local data (like dbus connections)
1773 2007-11-14 Alexander Larsson <alexl@redhat.com>
1775 * gio/fam/fam-helper.c:
1776 * gio/fam/gfamdirectorymonitor.c:
1777 * gio/fam/gfamfilemonitor.c:
1779 * gio/gcontenttype.c:
1780 * gio/gdatainputstream.c:
1781 * gio/gdataoutputstream.c:
1785 * gio/gfileattribute.h:
1786 * gio/gfileenumerator.c:
1788 * gio/ginputstream.c:
1791 * gio/glocalfileinfo.c:
1792 * gio/goutputstream.c:
1793 * gio/gpollfilemonitor.c:
1794 * gio/gsimpleasyncresult.c:
1795 * gio/gunixmounts.c:
1796 * gio/gunixmounts.h:
1797 * gio/inotify/ginotifydirectorymonitor.c:
1798 * gio/inotify/ginotifyfilemonitor.c:
1799 * gio/inotify/inotify-diag.c:
1800 * gio/inotify/inotify-kernel.c:
1801 * gio/inotify/inotify-path.c:
1803 * gio/test-streams.c:
1804 * programs/gio-info.c:
1805 * programs/gio-monitor-dir.c:
1806 * programs/gio-monitor-file.c:
1807 Various code cleanups from Kjartan Maraas
1809 2007-11-13 Alexander Larsson <alexl@redhat.com>
1812 Handle the uri-scheme calls for dummy files
1814 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1816 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1817 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1818 to avoid clash with the C++ keyword.
1820 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1822 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1823 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1825 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1827 * gio/glocaldirectorymonitor.c:
1828 * gio/glocalfilemonitor.c:
1829 * gio/gunionvolumemonitor.c:
1830 Don't use g_once_init_*() for initializations that could fail and
1831 could leave the initialization variable set to 0 but use GOnce.
1832 This prevents a deadlock on the second call when trying to create
1833 a monitor and no monitor type is available. Thanks to Sven Herzberg
1836 2007-11-11 Sven Herzberg <sven@imendio.com>
1838 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1839 #ifdef (make it work on MacOS X again)
1841 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1843 Fixes Changelog for last two commits (sorry guys).
1845 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1847 * gio/gbufferedinputstream.c:
1848 * gio/gdatainputstream.c:
1850 * gio/gfileoutputstream.c:
1851 * gio/gfilterinputstream.c:
1852 * gio/glocalfileinputstream.c:
1855 More consistency fixes in g*stream.c files.
1856 Significant clean of gfile's documentation, filling in of
1857 asynchronous operations documentation.
1859 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1861 * gio/gasyncresult.c:
1862 * gio/gbufferedinputstream.c:
1863 * gio/gbufferedoutputstream.c:
1864 * gio/gcancellable.c:
1865 * gio/gcontenttype.c:
1866 * gio/gdatainputstream.c:
1867 * gio/gdataoutputstream.c:
1868 * gio/gdesktopappinfo.c:
1871 * gio/gfileattribute.c:
1872 * gio/gio/gfileenumerator.c:
1874 * gio/gfileinputstream.c:
1875 * gio/gfilemonitor.c:
1876 * gio/gfileoutputstream.c:
1877 * gio/ginputstream.c:
1879 * gio/gioscheduler.c:
1880 * gio/gloadableicon.c:
1881 * gio/glocalfileoutputstream.c:
1882 * gio/gmemoryoutputstream.c:
1883 * gio/gmountoperation.c:
1884 * gio/goutputstream.c:
1886 * gio/gsimpleasyncresult.c:
1887 * gio/gunionvolumemonitor.c:
1888 * gio/gunixmounts.c:
1889 * gio/gunixvolume.c:
1893 * gio/gvolumemonitor.c:
1894 Updated documentation stubs, working towards consistency and
1897 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1899 * gio/gmemoryoutputstream.c:
1900 * gio/gmemoryoutputstream.h:
1901 Change g_memory_output_stream_set_free_on_close() to
1902 g_memory_output_stream_set_free_data() as this makes more sense and
1903 is more consistent with GMemoryInputStream.
1905 2007-11-07 Alexander Larsson <alexl@redhat.com>
1912 Change how we find the default vfs so that
1913 we can handle a gvfs failing to init
1915 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1917 * gio/gbufferedoutputstream.c:
1918 * gio/gdatainputstream.c:
1919 * gio/gdataoutputstream.c:
1920 * gio/gfileinputstream.c:
1921 * gio/gfileoutputstream.c:
1922 * gio/gfilterinputstream.c:
1923 * gio/gfilteroutputstream.c:
1924 * gio/ginputstream.c:
1925 * gio/gmemoryinputstream.c:
1926 * gio/gmemoryoutputstream.c:
1927 * gio/goutputstream.c:
1928 * gio/gsimpleasyncresult.c:
1929 * gio/gsocketinputstream.c:
1930 * gio/gsocketoutputstream.c:
1931 Add guards to the remaining public functions, add a TODO for
1932 an unimplemented function and remove some useless guards.
1934 2007-11-07 Alexander Larsson <alexl@redhat.com>
1937 Autoconf checks for the various types of
1938 getpwuid_r and getgrgid_r
1940 * gio/glocalfileinfo.c:
1941 Use the autoconf checks from above
1943 2007-11-07 Alexander Larsson <alexl@redhat.com>
1946 (g_local_file_query_filesystem_info):
1947 Some fixes for the statvfs case
1949 2007-11-07 Alexander Larsson <alexl@redhat.com>
1952 (g_local_file_query_filesystem_info):
1953 Pick the "best" of statfs / statvfs for the system
1954 if both are availible.
1956 2007-11-07 Alexander Larsson <alexl@redhat.com>
1958 Solaris fixes from Halton.Huo@Sun.COM:
1965 * gio/glocalfileinfo.c:
1966 Fix for solaris definition of getpwuid_r
1968 * gio/test-streams.c:
1969 Use G_GNUC_PRETTY_FUNCTION
1971 2007-11-07 Alexander Larsson <alexl@redhat.com>
1973 * gio/gdesktopappinfo.c:
1974 (update_default_list):
1975 Remove double semicolon.
1976 Patch from Jens Granseuer
1978 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1980 * docs/reference/gio/gio-sections.txt:
1981 * gio/gbufferedinputstream.c:
1982 * gio/gbufferedinputstream.h:
1983 * gio/gdatainputstream.c:
1984 * gio/gfileenumerator.c:
1985 * gio/gioscheduler.c:
1986 * gio/gunionvolumemonitor.c:
1988 * programs/gio-save.c:
1989 Fix typo: availible -> available. Unfortuntely this breaks API
1990 and ABI as g_buffered_input_stream_get_available() was renamed.
1992 * gio/gunixmounts.c:
1993 * gio/gbufferedinputstream.c:
1994 Add guards for public functions.
1996 2007-11-06 Ross Burton <ross@openedhand.com>
1998 * docs/reference/gio/Makefile.am:
1999 Fix invalid += usage which automake 1.10 doesn't like.
2001 2007-11-06 Alexander Larsson <alexl@redhat.com>
2004 (g_app_launch_context_class_init):
2007 Patch from Ross Burton
2009 2007-11-06 Alexander Larsson <alexl@redhat.com>
2012 Post release version bump
2014 === gio-standalone 0.1.1 ===
2016 2007-11-06 Alexander Larsson <alexl@redhat.com>
2019 Bump version to 0.1.1
2021 * gio/gsimpleasyncresult.c:
2022 (g_simple_async_result_set_from_error):
2023 Remove bogus g_return_if_fail
2025 2007-11-06 Alexander Larsson <alexl@redhat.com>
2028 The name is gio-standalone
2031 Add top src/builddir to includedir
2033 2007-11-06 Alexander Larsson <alexl@redhat.com>
2035 * docs/reference/gio/gio-sections.txt:
2037 * gio/gbufferedinputstream.c:
2038 * gio/gbufferedoutputstream.c:
2039 * gio/gcancellable.c:
2040 * gio/gdatainputstream.h:
2041 * gio/gdataoutputstream.c:
2042 * gio/gdataoutputstream.h:
2043 * gio/gdirectorymonitor.c:
2045 * gio/gfileattribute.c:
2046 * gio/gfileattribute.h:
2047 * gio/gfileenumerator.c:
2048 * gio/gfileenumerator.h:
2051 * gio/gfileinputstream.h:
2052 * gio/gfilemonitor.c:
2053 * gio/gfileoutputstream.h:
2054 * gio/glocalfilemonitor.h:
2055 * gio/glocalfileoutputstream.h:
2056 * gio/gmemoryinputstream.c:
2057 * gio/gmemoryoutputstream.c:
2058 * gio/gmountoperation.c:
2059 * gio/goutputstream.c:
2060 * gio/goutputstream.h:
2062 * gio/gsimpleasyncresult.c:
2063 * gio/gunixmounts.c:
2064 * gio/gunixmounts.h:
2066 * gio/inotify/inotify-helper.c:
2067 Fix gtk-doc warnings
2069 Patch from Ross Burton
2071 2007-11-06 Alexander Larsson <alexl@redhat.com>
2073 * gio/gfilenamecompleter.c:
2074 (g_filename_completer_get_completions):
2077 * gio/gunixvolume.c:
2078 Remove unused function
2080 Patches from Ross Burton
2082 2007-11-06 Alexander Larsson <alexl@redhat.com>
2087 Padding not needed for interfaces
2089 2007-11-06 Alexander Larsson <alexl@redhat.com>
2091 * gio/gfilemonitor.c:
2095 Make giotypes.h an internal file
2098 * gio/gbufferedinputstream.h:
2099 * gio/gbufferedoutputstream.h:
2100 * gio/gcancellable.h:
2101 * gio/gdatainputstream.h:
2102 * gio/gdataoutputstream.h:
2103 * gio/gdirectorymonitor.c:
2104 * gio/gdirectorymonitor.h:
2109 * gio/gfileattribute.h:
2110 * gio/gfileenumerator.h:
2115 * gio/gfilemonitor.c:
2116 * gio/gfilemonitor.h:
2117 * gio/gfilenamecompleter.c:
2118 * gio/gfilenamecompleter.h:
2119 * gio/gfilterinputstream.h:
2120 * gio/gfilteroutputstream.h:
2121 * gio/ginputstream.h:
2122 * gio/gmemoryinputstream.h:
2123 * gio/gmemoryoutputstream.h:
2124 * gio/gmountoperation.c:
2125 * gio/gmountoperation.h:
2126 * gio/gnativevolumemonitor.c:
2127 * gio/goutputstream.h:
2130 * gio/gsimpleasyncresult.c:
2131 * gio/gsimpleasyncresult.h:
2132 * gio/gsocketinputstream.h:
2133 * gio/gsocketoutputstream.h:
2134 * gio/gthemedicon.c:
2135 * gio/gthemedicon.h:
2139 * gio/gvolumemonitor.c:
2140 * gio/gvolumemonitor.h:
2141 Add padding in classes where it seems useful
2142 Don't include giotypes.h from public headers
2143 Move in Class definitions into c file where possible
2148 2007-11-06 Alexander Larsson <alexl@redhat.com>
2150 * docs/reference/gio/gio-docs.xml:
2151 Better structure for API docs
2153 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2156 * gio/gloadableicon.c:
2157 * gio/gsimpleasyncresult.c:
2158 * gio/gthemedicon.c:
2159 Add some more guards to public functions. Only files missing are now
2162 2007-11-06 Alexander Larsson <alexl@redhat.com>
2164 * docs/reference/gio/gio-docs.xml:
2165 Remove old files, add missing ones
2167 2007-11-06 Alexander Larsson <alexl@redhat.com>
2169 * docs/reference/gio/gio-sections.txt:
2172 Hide implementation classes
2174 * gio/gdriveprivate.h:
2175 * gio/gvolumeprivate.h:
2176 Remove non-existing function declarations
2178 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2181 Fix compilation warnings and add guards to the new functions.
2183 * gio/gasyncresult.c:
2185 Add guards to the public functions.
2188 Implement get_path().
2190 2007-11-06 Alexander Larsson <alexl@redhat.com>
2192 * gio/gfilenamecompleter.c:
2193 Make g_filename_completer_get_completions
2194 return char ** instead of GList for
2197 * docs/reference/gio/gio-docs.xml:
2198 * docs/reference/gio/gio-sections.txt:
2200 * gio/gasyncresult.c:
2201 * gio/gbufferedinputstream.c:
2202 * gio/gbufferedoutputstream.c:
2203 * gio/gcancellable.c:
2204 * gio/gcontenttype.c:
2205 * gio/gdatainputstream.c:
2206 * gio/gdataoutputstream.c:
2207 * gio/gdesktopappinfo.c:
2208 * gio/gdirectorymonitor.c:
2212 * gio/gfileattribute.c:
2213 * gio/gfileenumerator.c:
2216 * gio/gfileinputstream.c:
2217 * gio/gfilemonitor.c:
2218 * gio/gfilenamecompleter.c:
2219 * gio/gfilenamecompleter.h:
2220 * gio/gfileoutputstream.c:
2221 * gio/gfilterinputstream.c:
2223 * gio/ginputstream.c:
2225 * gio/gioscheduler.c:
2226 * gio/gloadableicon.c:
2227 * gio/glocaldirectorymonitor.c:
2229 * gio/glocalfileinputstream.c:
2230 * gio/glocalfilemonitor.c:
2231 * gio/glocalfileoutputstream.c:
2233 * gio/gmemoryinputstream.c:
2234 * gio/gmemoryoutputstream.c:
2235 * gio/gmountoperation.c:
2236 * gio/goutputstream.c:
2237 * gio/gpollfilemonitor.c:
2239 * gio/gsimpleasyncresult.c:
2240 * gio/gsocketinputstream.c:
2241 * gio/gsocketoutputstream.c:
2242 * gio/gthemedicon.c:
2243 * gio/gunionvolumemonitor.c:
2245 * gio/gunixmounts.c:
2246 * gio/gunixvolume.c:
2247 * gio/gunixvolumemonitor.c:
2251 * gio/gvolumemonitor.c:
2252 * gio/gwin32appinfo.c:
2253 Add (mostly stub) doc strings to public functions.
2254 Patch from Andrew Walton (awalton@gmail.com)
2256 2007-11-06 Alexander Larsson <alexl@redhat.com>
2258 * gio/gappinfo.[ch]:
2259 Added GAppLaunchContext object and pass that to launch.
2260 This allows simple implementation of both
2261 launch-on-screen and startup notification via a gtk+
2262 subclass of GAppLaunchContext
2264 * gio/gdesktopappinfo.c:
2265 Implement GAppLaunchContext API
2267 * gio/gwin32appinfo.c:
2270 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2272 * gio/gmountoperation.c:
2273 Add some guards to GMountOperation's public functions.
2275 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2279 * gio/gcancellable.c:
2280 * gio/gdirectorymonitor.c:
2282 * gio/gfileenumerator.c:
2283 * gio/gfilemonitor.c:,
2284 * gio/gfilenamecompleter.c:
2287 * gio/gioscheduler.c:
2291 * gio/gvolumemonitor.c:
2292 Add even more guards to various public functions.
2294 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2297 Add guards to the public functions of GAppInfo.
2299 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2301 * gio/gcontenttype.c:
2302 Add some more guards for public functions.
2304 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2306 * gio/fam/fam-module.c:
2307 * gio/fam/gfamdirectorymonitor.c:
2308 * gio/fam/gfamdirectorymonitor.h:
2309 * gio/fam/gfamfilemonitor.c:
2310 * gio/fam/gfamfilemonitor.h:
2311 * gio/inotify/ginotifydirectorymonitor.c:
2312 * gio/inotify/ginotifydirectorymonitor.h:
2313 * gio/inotify/ginotifyfilemonitor.c:
2314 * gio/inotify/ginotifyfilemonitor.h:
2315 Add proper copyright information and remove an unused variable
2316 in the GInotifyFileMonitor constructor.
2318 * gio/gcancellable.c:
2319 Add a guard for a public function and an assertion to prevent
2320 an undefined program state.
2322 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2324 * gio/gfileattribute.c:
2325 Don't run into an assertion if the given attribute value is NULL
2326 in g_file_attribute_value_get_*() but instead return a fallback
2327 value that makes sense in most situations. Passing them a attribute
2328 value with the wrong type will still run into an assertion.
2330 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2332 * gio/gfileattribute.c:
2334 Add even more guards to the public functions. Also fix the refcounting
2335 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2336 let g_file_info_list_attributes() filter the attributes by namespace
2337 instead of simply ignoring the namespace parameter.
2339 2007-11-03 Sven Herzberg <sven@imendio.com>
2341 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2342 (This makes gio work on MacOS X again)
2344 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2347 Build the gio subdirectory before the docs. Otherwise the build will
2350 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2351 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2352 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2353 Add guards to the public functions.
2355 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2357 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2358 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2359 to prevent a compiler warning.
2361 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2362 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2363 return something in the non-void function find_topdir_for().
2365 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2372 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2374 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2375 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2376 * gwin32appinfo.c (g_win32_app_info_launch):
2377 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2378 envp_for_startup_id, g_desktop_app_info_launch,
2379 g_desktop_app_info_launch_uris):
2381 Give an opaque 'startup_id' string instead of 'envp'.
2382 Support empty file lists for launching new windows.
2383 Fix infinite recursion bug when launching URIs.
2385 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2388 Add guard to the new g_file_get_uri_scheme() function.
2390 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2393 Convert a g_return_val_if_fail() to setting the GError instead as
2394 otherwise applications have to verify the parameter before otherwise
2395 and the parameter might come directly from the user.
2397 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2399 * gio/inotify/ginotify*.[ch]:
2400 Add missing copyright information.
2402 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2405 Add guards in the beginning of public functions to check for valid
2406 parameters and fix a bug in copy_stream_with_progress() that could've
2407 caused writing less bytes than reading.
2408 * gio/glocalfileinfo.c:
2409 Check for a NULL parameter and set the GError accordingly then.
2410 * gio/goutputstream.c:
2411 Fix the same bug as in gfile.c that could've caused writing less bytes
2412 than reading in g_output_stream_real_splice().
2414 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2417 Use the correct gvolumeprivate.h naming
2419 2007-11-01 Christian Kellner <gicmo@gnome.org>
2422 Remove leftover "$(daemon_sources)" entry.
2424 2007-11-01 Christian Kellner <gicmo@gnome.org>
2429 Add copyright information to source files.
2431 2007-11-01 Alexander Larsson <alexl@redhat.com>
2435 Add g_file_get_uri_scheme
2437 2007-11-01 Alexander Larsson <alexl@redhat.com>
2440 * gio/gdesktopappinfo.c:
2441 * gio/gwin32appinfo.c:
2442 Add g_app_info_get_default_for_uri_scheme.
2444 2007-11-01 Alexander Larsson <alexl@redhat.com>
2447 Correct filename for gdriveprivate.h
2449 2007-10-31 Alexander Larsson <alexl@redhat.com>
2452 Rename id:value to id:file
2455 * gio/glocalfileinfo.c:
2458 2007-10-31 Alexander Larsson <alexl@redhat.com>
2460 * gio/gunixvolume.c:
2462 Remove g_volume_get_platform_id, as thats not
2463 needed with the simpler union volume monitor
2465 2007-10-31 Alexander Larsson <alexl@redhat.com>
2468 * gio/guniondrive.[ch]: Removed.
2469 * gio/gunionvolume.[ch]: Removed.
2470 Remove GUnionDrive/Volume
2472 * gio/gunionvolumemonitor.c:
2473 Simplify union volume monitor, now we
2474 only have one native volume monitor and
2475 we use the actual volumes/drives from the
2476 child monitors instead of wrapping them
2478 * gio/gnativevolumemonitor.[ch]:
2479 Base class for native volume monitors.
2480 Includes priority and get_volume_for_mountpoint
2483 Add g_file_find_enclosing_volume
2486 Remove volume name fs attribute
2487 Add readonly fs attribute
2490 Implement readonly attribute
2491 remove volume name attribute
2492 Implement find_enclosing volume
2494 * gio/gunixmounts.c:
2495 Add a volume for "/".
2497 * gio/gunixvolume.[ch]:
2498 Set better name for /
2500 * gio/gunixvolumemonitor.[ch]:
2501 Derive from GNativeVolumeMonitor
2502 Implement get_volume_for_mountpoint
2505 GVolume typedef moved to gfile.h
2507 * gio/gvolumeprivate.h:
2508 Add g_volume_get_for_mount_path
2510 2007-10-31 Alexander Larsson <alexl@redhat.com>
2512 * gio/gunixmounts.[ch]:
2513 Add cache info to unix mount listers
2514 Make getmntent use threadsafe
2515 Add is_system_internal attribute for GUnixMount
2517 * gio/gunixvolume.c:
2518 (g_unix_volume_new):
2519 Use is_system_internal instead of own code
2521 * gio/glocaldirectorymonitor.c:
2522 * gio/gunixvolumemonitor.c:
2523 Update to new gunixmounts API
2528 2007-10-30 Alexander Larsson <alexl@redhat.com>
2531 Add volume name fsinfo attribute
2534 Read volume name info
2536 * gio/gunionvolumemonitor.c:
2537 Fix infinite loops when finalizing a union volume monitor
2539 2007-10-30 Alexander Larsson <alexl@redhat.com>
2541 * gio/goutputstream.[ch]:
2542 Add splice() with default implementation
2544 * gio/gsocketoutputstream.c:
2545 (g_socket_output_stream_write):
2546 Return error on cancellation correctly.
2548 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2550 * gio/glocalfile.c (g_local_file_trash):
2551 Do not leak a string.
2553 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2555 * gio/gfile.c (g_file_load_contents):
2556 Unref the stream after closing it.
2558 2007-10-25 Alexander Larsson <alexl@redhat.com>
2560 * gio/gioscheduler.h:
2563 2007-10-25 Alexander Larsson <alexl@redhat.com>
2567 Add g_file_has_uri_scheme and implement for local files
2569 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2571 * gio/gdesktopappinfo.c: do not leak a string.
2573 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2575 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2576 (g_local_directory_monitor_new):
2577 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2578 (g_local_file_monitor_new):
2579 Only look for the monitor type that should be used the first time
2580 and use g_qsort_with_data() instead of our own bubble sort
2583 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2586 * gio/fam/Makefile.am:
2587 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2588 * gio/fam/fam-helper.h:
2589 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2590 * gio/fam/gfamdirectorymonitor.c:
2591 * gio/fam/gfamdirectorymonitor.h:
2592 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2593 * gio/fam/gfamfilemonitor.h:
2594 * gio/glocaldirectorymonitor.c:
2595 * gio/glocaldirectorymonitor.h:
2596 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2597 * gio/glocalfilemonitor.h:
2598 * gio/inotify/Makefile.am:
2599 * gio/inotify/ginotifydirectorymonitor.c:
2600 * gio/inotify/ginotifydirectorymonitor.h:
2601 * gio/inotify/ginotifyfilemonitor.c:
2602 * gio/inotify/ginotifyfilemonitor.h:
2603 Implement the FAM and Inotify monitors as
2604 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2605 their own GIO module. GLocal(Directory|File)Monitor will use the
2606 monitor with the highest rank that is supported on that machine.
2608 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2611 Change GIO module dir to $(libdir)/gio/modules and change
2612 the log domain from GVFS to GIO. Also only export symbols starting
2613 with g_ in the resulting library.
2614 * gio/test-streams.c: (main):
2615 Set log handler for the GIO log domain.
2617 2007-10-22 Alexander Larsson <alexl@redhat.com>
2619 * gio/gfilenamecompleter.[ch]:
2620 Add g_filename_completer_set_dirs_only
2622 2007-10-22 Alexander Larsson <alexl@redhat.com>
2625 * gio/gurifuncs.[ch]:
2626 Add some simple URI helpers
2628 * gio/gfilenamecompleter.[ch]:
2629 Added object for filename (parse name actually) completion
2632 Handle ~ in parse names
2634 2007-10-17 Alexander Larsson <alexl@redhat.com>
2637 * gio/glocalfileinfo.c:
2638 Add and implement id:value attribute
2640 2007-10-17 Alexander Larsson <alexl@redhat.com>
2643 * gio/guniondrive.c:
2645 Add and implement g_drive_has_volumes
2647 2007-10-17 Alexander Larsson <alexl@redhat.com>
2650 * gio/glocalfileinfo.[ch]:
2651 Add unix:is_mountpoint and implement for local files
2653 2007-10-16 Alexander Larsson <alexl@redhat.com>
2655 * gio/gunionvolumemonitor.c:
2656 (g_union_volume_monitor_init):
2657 Fix up the unix type getting so that it works with gcc
2659 2007-10-12 Alexander Larsson <alexl@redhat.com>
2662 * gio/glocalfileinfo.c:
2663 Add thumbnail:failed to file info
2665 2007-10-12 Richard Hult <richard@imendio.com>
2667 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2668 optimizing away the get_type call (happens with some gcc versions,
2669 like the one shipped with OS X 10.4).
2671 2007-10-12 Alexander Larsson <alexl@redhat.com>
2673 * gio/glocalfileinfo.c:
2674 (_g_local_file_info_set_attribute):
2675 Fix build if not HAVE_XATTR
2676 Patch from Milosz Derezynski <internalerror@gmail.com>
2678 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2680 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2681 around for review, otherwise I would have asked you before
2684 2007-10-11 Alexander Larsson <alexl@redhat.com>
2687 Add thumbnail:path attribute
2689 * gio/glocalfileinfo.c:
2690 Implement thumbnail:path for local files
2692 2007-10-11 Alexander Larsson <alexl@redhat.com>
2694 * gio/glocalfileinfo.c:
2695 (_g_local_file_info_get):
2696 Avoid duplicate icon names
2698 2007-10-11 Alexander Larsson <alexl@redhat.com>
2700 * gio/gthemedicon.[ch]:
2701 Change g_themed_icon_get_names return type to const
2703 2007-10-10 Alexander Larsson <alexl@redhat.com>
2705 * gio/glocalfileinfo.c:
2706 Don't reference freed memory
2708 2007-10-10 Alexander Larsson <alexl@redhat.com>
2710 * gio/gfileattribute.c:
2713 * gio/glocalfileinfo.c:
2716 2007-10-10 Alexander Larsson <alexl@redhat.com>
2719 Check for NULL icons
2721 * gio/gfileattribute.c:
2722 Don't dup when getting objects (same as for string attributes)
2724 * gio/gicon.c (g_icon_equal):
2725 Safely handle NULLs in equal
2727 2007-10-10 Alexander Larsson <alexl@redhat.com>
2730 Fix c++ compilation issues
2731 Patch from Milosz Derezynski <internalerror@gmail.com>
2733 2007-10-10 Alexander Larsson <alexl@redhat.com>
2735 * programs/gio-monitor-dir.c:
2736 Don't crash if dir monitor not supported.
2738 2007-10-09 Alexander Larsson <alexl@redhat.com>
2741 Add missing G_END_DECLS
2743 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2745 * gio/gfile.c: (g_file_set_display_name),
2746 (g_file_query_settable_attributes),
2747 (g_file_query_writable_namespaces):
2748 Return NULL not FALSE on errors as the return type is a pointer.
2750 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2752 * gio/glocalfile.c: (g_local_file_monitor_file):
2753 Don't call monitor_file on the default interface vtable (which
2754 is NULL) but simply return NULL. The caller, GFile, will create a
2755 polling monitor if NULL is returned.
2757 2007-10-09 Alexander Larsson <alexl@redhat.com>
2761 * gio-unix-2.0.pc.in:
2762 Add gio-unix-2.0.pc if OS_UNIX
2765 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2767 2007-10-09 Alexander Larsson <alexl@redhat.com>
2769 * gio/gunixmounts.[ch]:
2770 Make unix mount monitoring API sane.
2771 Now its just a object with mounts_changed
2772 and mountpoints_changed signals.
2774 * gio/glocaldirectorymonitor.c:
2775 * gio/gunixvolumemonitor.c:
2776 Use new mount monitor api
2778 2007-10-09 Alexander Larsson <alexl@redhat.com>
2780 * gio/gunixmounts.[ch]:
2781 Move guess type into one call for mounts and one for mountpoints
2784 * gio/gunixvolume.c:
2787 2007-10-09 Alexander Larsson <alexl@redhat.com>
2789 * gio/gunixmounts.[ch]:
2790 Remove _ prefix in preparation to make this semi-public
2791 Hide implementation of structs
2793 * gio/glocaldirectorymonitor.c:
2795 * gio/gunixvolume.c:
2796 * gio/gunixvolumemonitor.c:
2797 Update for above API changes
2799 2007-10-08 Alexander Larsson <alexl@redhat.com>
2802 Better polling fallback. This also handles the case where we have
2803 a monitor_file implementation, but it fails.
2805 2007-10-08 Alexander Larsson <alexl@redhat.com>
2809 * gio/gunixmounts.c:
2810 * programs/gio-monitor-dir.c:
2811 * programs/gio-monitor-file.c:
2812 Added cancellable to file monitoring calls.
2813 These are really sync calls and need this.
2815 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2817 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2818 (g_local_vfs_class_init):
2819 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2820 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2822 2007-10-05 Alexander Larsson <alexl@redhat.com>
2824 * gio/gdirectorymonitorprivate.h:
2825 * gio/gfilemonitorprivate.h:
2826 * gio/gdirectorymonitor.h:
2827 * gio/gfilemonitor.h:
2828 Remove *private.h and move to the public API, so that
2829 we can do implementations outside gio (such as in gvfs)
2831 * gio/gdirectorymonitor.c:
2832 * gio/gfilemonitor.c:
2833 * gio/glocaldirectorymonitor.c:
2834 * gio/gpollfilemonitor.c:
2835 * gio/inotify/inotify-helper.c:
2836 * gio/fam/fam-helper.c:
2837 Update to the new header names
2839 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2841 * gio/gdirectorymonitor.c:
2842 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2845 2007-10-04 Alexander Larsson <alexl@redhat.com>
2847 * gio/glocalfileinfo.c (get_access_rights):
2848 Set CAN_TRASH when we can move the file.
2849 We should really also check for a parent trash dir.
2851 2007-10-04 Alexander Larsson <alexl@redhat.com>
2853 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2854 Add can_trash access attribute
2856 2007-10-04 Alexander Larsson <alexl@redhat.com>
2859 (g_local_file_trash):
2860 Create info file first. This is per-spec and allows
2861 us to actually trash directories.
2863 2007-10-02 Alexander Larsson <alexl@redhat.com>
2865 * gio/gdesktopappinfo.c:
2866 Implement the new mime support code.
2867 Always set app as handling mimetype when being set as default for it
2869 2007-10-01 Alexander Larsson <alexl@redhat.com>
2871 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2872 Fix up check for xattrs:
2874 2007-10-01 Alexander Larsson <alexl@redhat.com>
2877 (g_app_info_set_as_default_for_extension):
2878 (g_app_info_add_supports_type):
2879 (g_app_info_can_remove_supports_type):
2880 (g_app_info_remove_supports_type):
2881 Make these fail nicely if not implemented
2883 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2885 * gio/glocalfileoutputstream.c:
2886 * gio/glocalfileoutputstream.h:
2891 * programs/gio-save.c:
2892 Add a GFileCreateFlags argument to operations that can create
2895 2007-10-01 Alexander Larsson <alexl@redhat.com>
2897 * gio/gappinfo.[ch]:
2898 * gio/gdesktopappinfo.c:
2899 Add more (stubbed out) mime API needed for nautilus
2901 2007-10-01 Alexander Larsson <alexl@redhat.com>
2904 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2905 Add g_app_info_set_as_default_for_extension.
2907 * gio/gdesktopappinfo.c:
2908 Dummy for g_app_info_set_as_default_for_extension
2909 Support flags in g_app_info_create_from_commandline
2911 * gio/gwin32appinfo.c:
2913 Update for API changes
2915 * gio/gthemedicon.c:
2916 Properly NULL-terminate list of icon names
2918 2007-09-28 Alexander Larsson <alexl@redhat.com>
2920 * gio/gloadableicon.h:
2921 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2923 2007-09-28 Alexander Larsson <alexl@redhat.com>
2926 Install headers in $includedir/gio-standalone/
2928 * gio-2.0.pc.in: Added.
2929 * gio-standalone.pc.in: Removed.
2932 Renamed pkg-config file to match glib (for future move)
2933 Update to the new include dir
2936 Add more TODO comments
2938 2007-09-28 Alexander Larsson <alexl@redhat.com>
2940 * gio/gdesktopappinfo.[ch]:
2941 Expose new_from_filename
2942 Add getter for is_hidden and handle it better
2944 2007-09-28 Alexander Larsson <alexl@redhat.com>
2946 * gio/gfileinfo.[ch]:
2947 Rename g_file_size_format_for_display to
2948 g_format_file_size_for_display.
2949 Now it doesn't have the g_file prefix, so we
2950 can later move it to glib.
2952 2007-09-28 Alexander Larsson <alexl@redhat.com>
2954 * gio/gappinfo.[ch]:
2955 Add g_app_info_get_id and g_app_info_get_executable.
2956 Make all getters non-reffing
2957 Make g_app_info_launch take GFile arguments.
2958 Add must_support_uris argument to g_app_info_get_default_for_type.
2960 * gio/gwin32appinfo.c:
2961 Update to GAppInfo api changes
2963 * gio/gdesktopappinfo.c:
2964 Update to GAppInfo api changes
2965 Implement supports_xdg_startup_notify
2967 * gio/gfileicon.c (g_file_icon_get_file):
2968 Make getter non-reffing.
2973 2007-09-27 Alexander Larsson <alexl@redhat.com>
2975 * gio/gfileinfo.[ch]:
2976 Add g_file_size_format_for_display helper
2978 2007-09-27 Alexander Larsson <alexl@redhat.com>
2980 * gio/glocalfileinfo.c:
2981 Set UNIX_GID from gid, not from uid
2983 2007-09-27 Alexander Larsson <alexl@redhat.com>
2986 Add g_file_set_attributes_async
2988 2007-09-27 Alexander Larsson <alexl@redhat.com>
2990 * gio/glocalfile.c (g_local_file_set_display_name):
2991 Fix set_display_name to actually rename to the right place.
2992 Use lstat to look for existing files so we don't overwrite
2995 2007-09-26 Alexander Larsson <alexl@redhat.com>
2998 Add g_file_set_display_name_async()
3000 2007-09-26 Alexander Larsson <alexl@redhat.com>
3003 Add load_partial_contents async calls
3006 Make internal function static
3008 2007-09-26 Alexander Larsson <alexl@redhat.com>
3010 * gio/glocalfileinfo.c:
3011 Correctly detect broken symlinks
3013 2007-09-26 Alexander Larsson <alexl@redhat.com>
3015 * gio/gcancellable.c (g_cancellable_cancel):
3016 Allow cancel on NULL cancellable
3018 2007-09-25 Alexander Larsson <alexl@redhat.com>
3020 * gio/gsimpleasyncresult.c:
3021 Don't allocate g_error manually.
3022 Fixes g_slice/g_new mixup crash
3024 2007-09-25 Alexander Larsson <alexl@redhat.com>
3026 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3027 Actually set active_backend.
3028 This means the monitor will be cancelled correctly.
3030 2007-09-25 Alexander Larsson <alexl@redhat.com>
3032 * gio/gdirectorymonitor.c:
3033 Set timeout to NULL when destroying
3035 2007-09-25 Alexander Larsson <alexl@redhat.com>
3038 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3039 that is a better description of the error.
3041 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3043 * gio/gvfs.c: (g_vfs_get_local):
3044 Make the local vfs variable static. The same instance should
3047 2007-09-24 Alexander Larsson <alexl@redhat.com>
3049 * gio/glocalfileinfo.c:
3050 Pass in actual length read into sniffer, not the length
3053 2007-09-21 Alexander Larsson <alexl@redhat.com>
3055 * gio/gfileenumerator.c:
3058 * gio/gfileinputstream.c:
3059 * gio/gfileoutputstream.c:
3060 * gio/ginputstream.c:
3061 * gio/goutputstream.c:
3062 Don't crash if async callbacks are NULL
3064 2007-09-20 Alexander Larsson <alexl@redhat.com>
3067 Add async enumerate_children method and default
3070 2007-09-20 Alexander Larsson <alexl@redhat.com>
3073 Add g_file_contains_file & g_file_get_relative_path, since they
3074 were needed for nautilus.
3075 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3080 Implement new methods
3082 2007-09-17 Alexander Larsson <alexl@redhat.com>
3085 * gio/gfileinputstream.[ch]:
3086 * gio/gfileoutputstream.[ch]:
3088 * gio/glocalfileenumerator.[ch]:
3089 * gio/glocalfileinfo.[ch]:
3090 * gio/glocalfileinputstream.c:
3091 * gio/glocalfileoutputstream.c:
3092 * gio/gpollfilemonitor.c:
3093 * programs/gio-copy.c:
3094 * programs/gio-info.c:
3095 * programs/gio-move.c:
3096 Rename get_file_info to query_info() to make it clearer
3097 that these are not simple getters, but do i/o.
3099 2007-09-17 Alexander Larsson <alexl@redhat.com>
3101 * gio/gdatainputstream.[ch]:
3102 * gio/test-streams.c:
3103 Use _read_XXX instead of _get_XXX for the i/o calls
3106 2007-09-17 Alexander Larsson <alexl@redhat.com>
3109 Added needed stuff to TODO comment
3111 2007-09-17 Alexander Larsson <alexl@redhat.com>
3113 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3114 Don't error out removing the backup copy if it doesn't
3117 2007-09-14 Alexander Larsson <alexl@redhat.com>
3119 * programs/Makefile.am:
3120 * programs/gvfs-*.c:
3122 Renamed apps from gvfs-xxx to gio-xxx.
3124 2007-09-14 Alexander Larsson <alexl@redhat.com>
3127 * gio/gfileoutputstream.[ch]:
3128 * gio/glocalfileoutputstream.c:
3129 * programs/gvfs-save.c:
3130 g_file_output_stream_get_etag doesn't do i/o, so remove
3131 cancellation and error.
3133 2007-09-14 Alexander Larsson <alexl@redhat.com>
3136 Add new_etag output to replace_contents functions
3138 2007-09-14 Alexander Larsson <alexl@redhat.com>
3140 * gio/gfileoutputstream.[ch]:
3141 Add async get_file_info and default implementation
3143 2007-09-14 Alexander Larsson <alexl@redhat.com>
3145 * gio/gfileinputstream.c:
3146 Implement fallback wrapper for async get_file_info
3148 2007-09-14 Alexander Larsson <alexl@redhat.com>
3151 Add etag out argument to load_contents
3156 2007-09-14 Alexander Larsson <alexl@redhat.com>
3158 * gio/gcontenttype.c (looks_like_text):
3159 Whitespace like tab, cr and lf do not make the
3162 2007-09-14 Alexander Larsson <alexl@redhat.com>
3164 * gio/gfileinputstream.[ch]:
3165 Add async get_file_info.
3167 2007-09-13 Alexander Larsson <alexl@redhat.com>
3169 * gio/goutputstream.c (g_output_stream_write_all):
3170 Allow NULL for bytes_written
3172 2007-09-13 Alexander Larsson <alexl@redhat.com>
3174 * gio/gmemoryinputstream.[ch]:
3175 Add accessors for data
3177 2007-09-13 Alexander Larsson <alexl@redhat.com>
3179 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3180 Don't crash if length is NULL