1 2008-01-27 Matthias Clasen <mclasen@redhat.com>
3 * glocalfile.c: Avoid trivial differences in translatable strings.
5 2008-01-25 Matthias Clasen <mclasen@redhat.com>
7 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
8 build with gcc 3.4 (#509419)
10 2008-01-25 Matthias Clasen <mclasen@redhat.com>
12 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
13 (#509994, Murray Cumming)
15 2008-01-25 Matthias Clasen <mclasen@redhat.com>
17 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
18 * gioscheduler.c: Keep calling io jobs until they return FALSE;
19 this allows big jobs to be executed in chunks, instead of blocking
20 the main loop for a long time.
22 * gsimpleasyncresult.c:
23 * giofile.c: Adapt callers.
25 2008-01-25 Alexander Larsson <alexl@redhat.com>
28 Implement changes discussed on xdg list.
29 Now we can add supported mimetypes by just using defaults.list
30 We can also remove associations in defaults.list.
32 2008-01-25 Alexander Larsson <alexl@redhat.com>
35 Don't make local copy of desktop file
36 for mimetype changes if the file already
37 supports the new mimetype.
39 2008-01-25 Matthias Clasen <mclasen@redhat.com>
43 * gbufferedinputstream.c:
44 * glocalfile.c: String improvements. (#511966,
45 Theppitak Karoonboonyanan)
47 2008-01-24 Matthias Clasen <mclasen@redhat.com>
49 * gioscheduler.h: Expand docs a bit.
51 2008-01-24 Alexander Larsson <alexl@redhat.com>
54 Add g_drive_get_identifier and
55 g_drive_enumerate_identifiers
58 Add g_volume_get_identifier and
59 g_volume_enumerate_identifiers
65 Implement identifiers for unix backend
67 2008-01-24 Alexander Larsson <alexl@redhat.com>
72 Add g_file_copy_async() (#511580)
73 Based on patch from Carlos Garcia Campos
75 2008-01-23 Matthias Clasen <mclasen@redhat.com>
77 * gioscheduler.c: Some documentation additions.
79 2008-01-22 Alexander Larsson <alexl@redhat.com>
82 (g_desktop_app_info_new):
85 2008-01-22 Alexander Larsson <alexl@redhat.com>
88 (g_desktop_app_info_new_from_filename):
91 2008-01-22 Alexander Larsson <alexl@redhat.com>
93 * glocalfileinfo.c (get_thumbnail_attributes):
96 2008-01-22 Alexander Larsson <alexl@redhat.com>
99 (canonicalize_filename):
100 Canonicalize paths that start with more than
105 (test_g_file_new_for_path):
108 2008-01-22 Alexander Larsson <alexl@redhat.com>
111 Allow UTF-8 in file:// parse names.
114 * tests/data-input-stream.c:
115 * tests/data-output-stream.c:
116 * tests/g-file-info.c:
118 Added a bunch of tests from Tomas Bzatek
120 2008-01-21 Matthias Clasen <mclasen@redhat.com>
122 * === Released 2.15.3 ===
124 2008-01-21 Alexander Larsson <alexl@redhat.com>
126 * gfileinputstream.[ch]:
127 * gfileoutputstream.[ch]:
129 Remove duplicated GSeekable functions. (#509990)
130 Just use the g_seekable_xxx() calls instead.
132 2008-01-21 Matthias Clasen <mclasen@redhat.com>
135 * gvolumemanager.c: Whitespace cleanups.
137 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
138 Use the right mode when creating the file.
140 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
143 * gfileinputstream.c:
145 * goutputstream.c: Documentation: Fixed minor typos
146 and added more mentions of specific _finish() functions.
148 2008-01-21 Alexander Larsson <alexl@redhat.com>
150 * inotify/Makefile.am:
151 * inotify/inotify-helper.c:
152 * inotify/inotify-kernel.c:
153 * inotify/inotify-path.c:
154 * inotify/local_inotify.h: Removed.
155 * inotify/local_inotify_syscalls.h: Removed.
156 Removed the included copies of the inotify
157 headers. We now only use the <sys/inotify.h>
158 header which exists on modern systems.
159 This fixes problems on ARM and SH5 (#510448)
160 but is also generally much cleaner and future
161 safe. For instance, if other OSes add support
162 for inotify it should "just work".
164 2008-01-20 Matthias Clasen <mclasen@redhat.com>
166 * inotify/*.c: Coding style fixes.
167 * inotify/inotify-missing.c: Use g_timeout_add_seconds
168 for the 1/4 Hz timer.
170 2008-01-20 Matthias Clasen <mclasen@redhat.com>
174 * gmemoryinputstream.c:
175 * gmemoryoutputstream.c:
177 * gthemedicon.c: Documentation updates
179 2008-01-20 Murray Cumming <murrayc@murrayc.com>
181 * gfile.c: documentation: Fixed more minor
184 2008-01-18 Murray Cumming <murrayc@murrayc.com>
186 * gmount.c: (g_mount_remount): documentation:
187 Mention g_mount_remount_finish() instead of
188 g_mount_unmount_finish().
190 2008-01-18 Murray Cumming <murrayc@murrayc.com>
194 * gfile.c: Fixed some minor typos in the
197 2008-01-18 Murray Cumming <murrayc@murrayc.com>
199 * gio/gvolumemonitor.c:
200 (g_volume_monitor_get_connected_drives):
201 (g_volume_monitor_get_volumes):
202 (g_volume_monitor_get_mounts): Documentation:
203 Clarify the ownership of the regurn GLists.
205 2008-01-17 Alexander Larsson <alexl@redhat.com>
208 Add the async find_enclosing_mount version
209 to the header file too.
211 2008-01-17 Alexander Larsson <alexl@redhat.com>
214 Add async version of find_enclosing_mount
215 with default implementation.
217 2008-01-17 Alexander Larsson <alexl@redhat.com>
222 Allow calls to implementation of copy and write
223 even if the type of the file implementations is
224 different. This can be used to implement native
225 upload and download calls in a vfs.
229 Protect against the case where move is called
230 with one file not being local.
232 Make sure we call the progress callback once
233 in the native move operation so that the caller
234 knows how many bytes were copied.
236 2008-01-16 Murray Cumming <murrayc@murrayc.com>
239 * gdatainputstream.c:
241 * gfileoutputstream.c:
246 * gunixmounts.c: Corrected some typos in the documentation:
248 its -> it's (where appropriate).
250 2008-01-16 Alexander Larsson <alexl@redhat.com>
254 Add g_file_query_exists (#508771)
256 2008-01-15 Murray Cumming <murrayc@murrayc.com>
261 * gvolume.c: For async functions that have no non-async
262 version, document that the GAsyncReadyCallback may be NULL.
265 2008-01-15 Alexander Larsson <alexl@redhat.com>
267 * gmemoryinputstream.c:
268 * gmemoryoutputstream.c:
269 Don't do pointer arithmetic on void * (#508602)
270 Patch from Kazuki IWAMOTO
272 2008-01-14 Matthias Clasen <mclasen@redhat.com>
274 * === Released 2.15.2 ===
276 2008-01-14 Alexander Larsson <alexl@redhat.com>
278 * gfile.c (g_file_monitor_file):
279 Don't set error here, since we fallback to polling monitor.
281 2008-01-14 Alexander Larsson <alexl@redhat.com>
284 (g_file_monitor_directory):
285 (g_file_monitor_file):
286 Add GError to file monitor calls
288 * glocaldirectorymonitor.c:
289 * glocaldirectorymonitor.h:
291 * glocalfilemonitor.c:
292 * glocalfilemonitor.h:
294 Update for above change
296 2008-01-14 Alexander Larsson <alexl@redhat.com>
300 Handle root correctly in g_file_get_relative_path (#508719)
302 2008-01-14 Alexander Larsson <alexl@redhat.com>
305 Clean up docs and example for GAsyncResult (#508074)
307 2008-01-11 Murray Cumming <murrayc@murrayc.com>
309 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
310 and correct some spelling mistakes. Bug #508108.
312 2008-01-11 Matthias Clasen <mclasen@redhat.com>
314 * glocalfileinfo.c: Add a comment.
316 2008-01-10 Murray Cumming <murrayc@murrayc.com>
318 * gfileinfo.c: GFileInfo description: Mention
319 how to actually set attributes in a GFile and how to discover
320 which attributes are settable. Bug #508378.
322 2008-01-10 A. Walton <awalton@svn.gnome.org>
324 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
325 (g_app_info_get_default_for_type):
326 Check for NULL content types.
328 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
330 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
332 2008-01-09 Murray Cumming <murrayc@murrayc.com>
334 * gfile.c: *_async() functions: Several small corrections
335 to the documentation, mostly correcting copy/paste errors
336 and improving some sentences.
338 2008-01-09 Dan Winship <danw@gnome.org>
340 * glocalfile.c (get_unique_filename): x86_64 fix
342 2008-01-09 Alexander Larsson <alexl@redhat.com>
347 Add g_unix_mount_guess_should_display and use
348 for unix volume monitor backend.
349 This means we more or less show what the
350 gnome-vfs backend did.
351 Based on patch from Padraig O'Briain
353 2008-01-09 Alexander Larsson <alexl@redhat.com>
357 Add g_themed_icon_new_with_default_fallbacks
360 Use default fallbacks for icons
362 2008-01-09 Alexander Larsson <alexl@redhat.com>
365 * gmountoperation.[ch]:
366 Change the API a bit so that unhandled methods
367 get reported via the reply, rather than by
368 the signal emission return value. This is because
369 some handlers can't know this immediately without
370 doing I/O, and this is an async operation that
373 2008-01-09 Alexander Larsson <alexl@redhat.com>
376 * fam/gfamdirectorymonitor.c:
377 * fam/gfamfilemonitor.c:
378 Fix double free crash (#508224)
379 Patch from Joe Marcus Clarke
381 008-01-07 Matthias Clasen <mclasen@redhat.com>
383 * === Released 2.15.1 ===
385 2008-01-07 Alexander Larsson <alexl@redhat.com>
387 * gunixinputstream.c (g_unix_input_stream_skip_finish):
388 Fix warning (#507835)
390 2008-01-07 Alexander Larsson <alexl@redhat.com>
393 Pass --internal to glib-genmarshal
398 Use better types for signal arguments (#507822)
400 2008-01-07 Alexander Larsson <alexl@redhat.com>
403 Build test subdir after .
404 Remove gdirectorymonitor.[ch]
406 * gdirectorymonitor.[ch]:
410 Remove GDirectoryMonitor and make
411 GFileMonitor the baseclass for both file and
412 directory monitors. Lift the more generic
413 rate limiting code from GDirectoryMonitor
417 * fam/gfamdirectorymonitor.[ch]:
418 * inotify/ginotifydirectorymonitor.[ch]:
419 * inotify/inotify-helper.c:
420 * glocaldirectorymonitor.[ch]:
423 Update for the removed GDirectoryMonitor.
425 * gmemoryoutputstream.c:
426 Remove ununsed variable
428 2008-01-07 Alexander Larsson <alexl@redhat.com>
430 * gmemoryinputstream.c:
431 Translate error strings
434 * gmemoryoutputstream.[ch]:
435 New implementation that avoids using GByteArray
436 in implementation and API. (#506377)
438 2008-01-06 Matthias Clasen <mclasen@redhat.com>
440 * tests/*: Add a test for memory input streams.
442 * Makefile.am: Add tests to SUBDIRS.
444 2008-01-06 Matthias Clasen <mclasen@redhat.com>
446 * glocalfilemonitor.c:
447 * glocaldirectorymonitor.c: Mark property nicks and blurbs
450 2008-01-06 Matthias Clasen <mclasen@redhat.com>
452 * gdesktopappinfo.c: Fix a docs typo.
454 * gfileattribute.c: Add information about extended attributes
455 to the documentation. (#505058)
457 2008-01-04 Alexander Larsson <alexl@redhat.com>
461 Use the right type (uint) for the ask_password signal.
463 2008-01-04 Alexander Larsson <alexl@redhat.com>
468 Add g_app_info_supports_files()
469 Remove desktop arg from g_app_info_should_show().
471 * gdesktopappinfo.[ch]:
472 Implement g_app_info_supports_files() and new should_show()
473 Add g_desktop_app_info_set_desktop_env() to set the desktop
474 for should_show(). (This will be set by gtk+ later)
476 2008-01-04 Alexander Larsson <alexl@redhat.com>
479 * gmemoryinputstream.[ch]:
480 Improve API so that you can use multiple chunks
481 of memory and custom destroy functions. (#506374)
483 2008-01-03 Alexander Larsson <alexl@redhat.com>
486 Handle NULL attribute matchers safely, as we return this
487 for empty attribute matcher strings.
489 2008-01-03 Alexander Larsson <alexl@redhat.com>
491 * gunixmounts.c (g_unix_is_mount_path_system_internal):
492 Add /usr/local to list of internal mountpoints
494 2008-01-03 Alexander Larsson <alexl@redhat.com>
497 Check for HAVE_LCHOWN (#505887)
499 2008-01-03 Alexander Larsson <alexl@redhat.com>
503 Add define for selinux context attribute.
504 Fix missing : -> :: namespace separator change
505 Fix missing _ -> - name change for xattr-sys.
508 2008-01-03 Alexander Larsson <alexl@redhat.com>
511 Link to libglib and libgobject directly (#504879)
512 Patch from Sebastien Bacher
514 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
516 * gfile.c: Expanded the g_file_new_for_commandline_arg
517 description a bit, based on the code and the docs of the
518 other g_file_new_for_* functions.
520 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
522 * gfilemonitor.h: Fixed typo in docs.
524 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
526 Updates to GIO documentation. (#506395, Mikael Hermansson)
528 * gcontenttype.c: Describe memory management for return value of
529 g_content_types_get_registered(). Missing piece from #505815.
530 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
531 GVolume, GDrive, GMounts, which hopefully gives the user less
532 confusions when using this API. Following explainations from
533 Alexander Larsson on gtk-devel-list.
535 2007-12-30 Matthias Clasen <mclasen@redhat.com>
537 * gfileinfo.c: Expand the long description.
539 2007-12-30 Matthias Clasen <mclasen@redhat.com>
542 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
543 fix builds with --disable-visibility. (#500273, Christian Persch)
545 2007-12-30 Matthias Clasen <mclasen@redhat.com>
547 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
548 in the list of returned app infos.
550 2007-12-30 Matthias Clasen <mclasen@redhat.com>
552 * gappinfo.c: Fix a cross-reference
554 2007-12-30 Matthias Clasen <mclasen@redhat.com>
556 * gfileinputstream.c:
557 * gfileoutputstream.c:
563 * gfileinfo.c: Documentation updates.
565 2007-12-26 Matthias Clasen <mclasen@redhat.com>
567 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
570 2007-12-26 Matthias Clasen <mclasen@redhat.com>
572 * gcontenttype.c (g_content_types_get_registered): Don't return
573 freed memory (#505815, Mikael Hermansson)
575 2007-12-25 Paolo Borelli <pborelli@katamail.com>
577 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
578 used to detect statbuf->st_blocks. (#505042)
580 2007-12-24 Matthias Clasen <mclasen@redhat.com>
582 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
583 environment handling. (#504829, Cosimo Cecchi)
585 2007-12-22 Matthias Clasen <mclasen@redhat.com>
587 * gappinfo.c: Doc improvements
589 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
592 2007-12-20 Matthias Clasen <mclasen@redhat.com>
594 * === Released 2.15.0 ===
596 2007-12-20 Hans Breuer <hans@breuer.org>
598 * makefile.msc : don't build gdesktopappinfo.obj, it collides
599 with symbols gwin32appinfo.obj, added gmount.obj
600 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
602 2007-12-20 Alexander Larsson <alexl@redhat.com>
608 * gfilenamecompleter.c:
611 * gpollfilemonitor.c:
612 File attribute renames:
615 id::fs -> id::filesystem
617 2007-12-20 Alexander Larsson <alexl@redhat.com>
626 Add GMountUnmountFlags to all unmount and
628 Add g_mount_remount() call.
630 2007-12-20 Alexander Larsson <alexl@redhat.com>
632 * gvfs.c (get_default_vfs):
633 Fix unused variable warning
635 2007-12-19 Matthias Clasen <mclasen@redhat.com>
637 * pltcheck.sh: Update
639 2007-12-19 Matthias Clasen <mclasen@redhat.com>
641 * gunionvolumemonitor.c:
642 * gunixmount.c: Remove C99 comments
644 2007-12-19 Matthias Clasen <mclasen@redhat.com>
646 * gio.symbols: Add some missing symbols
648 2007-12-19 Alexander Larsson <alexl@redhat.com>
651 Make g_io_modules_load_all_in_directory not unuse
652 loaded modules so that users of it can do stuff
654 Init internal "module" types.
655 Initialize static prio and name for types so that
656 we don't have to load modules to get it.
658 * gnativevolumemonitor.h:
660 Move is_supported to parent class so that
661 non-native monitors can avoid being initialized
662 too. (For instance GDaemonVolumeMonitor if we're
663 not using GDaemonVfs.)
665 * glocaldirectorymonitor.[ch]:
666 * glocalfilemonitor.[ch]:
667 * gunionvolumemonitor.c:
668 * gunixvolumemonitor.c:
670 Find plugins using the static prio+name to
671 avoid unnecessarily loading the modules.
673 2007-12-19 Alexander Larsson <alexl@redhat.com>
678 2007-12-19 Alexander Larsson <alexl@redhat.com>
680 * gunionvolumemonitor.c:
681 Store the native type as GType, not class so that
682 we can unload it. But still avoid unnecessarily
685 2007-12-19 David Zeuthen <davidz@redhat.com>
687 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
688 add signals 'disconnected' and 'eject-button' on GDrive. Add
689 signal 'removed' on GVolume and 'unmounted' on GMount.
691 * gdrive.c: (g_drive_base_init):
693 * gfile.c: (g_file_mount_mountable),
694 (g_file_mount_enclosing_volume):
697 * gmount.c: (g_mount_base_init):
699 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
700 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
701 * gvolume.c: (g_volume_base_init), (g_volume_mount):
705 2007-12-17 Matthias Clasen <mclasen@redhat.com>
707 * *.c: Fix up includes in the section docs.
709 2007-12-17 Alexander Larsson <alexl@redhat.com>
711 * gnativevolumemonitor.h:
712 * gunionvolumemonitor.c:
713 * gunixvolumemonitor.c:
714 Add is_supported() to GNativeVolumeMonitorClass so
715 that we can avoid having to create an object to see
716 if the backend is supported at runtime.
717 Also add name member and an env var to pick a specific
718 volume monitor backend.
722 Add cancellable to _g_mount_get_for_mount_path()
724 * glocaldirectorymonitor.c:
725 * glocalfilemonitor.c:
726 Avoid loading and unloading modules while sorting.
728 2007-12-17 Matthias Clasen <mclasen@redhat.com>
731 * gunixmounts.[hc]: Namespace waste reduction, move some
732 g_get_unix_mount functions to the g_unix_mount namespace.
735 * gunixvolumemonitor.c:
737 * glocaldirectorymonitor.c: Update all callers.
739 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
741 2007-12-17 Alexander Larsson <alexl@redhat.com>
744 Add doc comments about what GFile operations are
745 guaranteed to not block.
747 2007-12-17 Alexander Larsson <alexl@redhat.com>
750 Add missing #ifdef fixing OSX build.
751 (#503334, patch from Richard Hult)
753 2007-12-14 David Zeuthen <davidz@redhat.com>
757 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
758 (g_mount_eject), (g_mount_eject_finish):
760 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
761 (get_volume_for_uuid), (get_mount_for_uuid),
762 (g_union_volume_monitor_class_init),
763 (get_default_native_type_with_exclude), (get_default_native_type),
764 (get_native_type), (update_native_type),
765 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
766 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
767 (g_unix_mount_can_eject), (eject_unmount_cb),
768 (eject_unmount_read_error), (eject_unmount_do),
769 (g_unix_mount_unmount), (g_unix_mount_eject),
770 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
771 * gunixmounts.c: (g_unix_mount_guess_can_eject),
772 (g_unix_mount_point_guess_can_eject):
774 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
775 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
776 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
777 (g_unix_volume_mount), (g_unix_volume_eject),
778 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
779 * gunixvolumemonitor.c: (get_volume_for_uuid),
780 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
782 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
783 (g_volume_eject), (g_volume_eject_finish):
785 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
786 (g_volume_monitor_get_mount_for_uuid):
789 Provide eject() on both GMount and GVolume and utility functions
790 to guess whether a GUnixMountPoint or GUnixMountEntry should be
791 ejected. Introduce the concept of UUID's and wire it into GVolume
792 and GMount and provide API on GVolumeMonitor to find such
793 instances. Also handle the case where an external
794 GNativeVolumeMonitor fails to initialize. Lock around the
795 _g_get_mount_for_mount_path() function such that volume monitor
796 implementations won't have to do locking themselves.
798 2007-12-17 Matthias Clasen <mclasen@redhat.com>
806 * gvolume.h: Documentation updates
808 2007-12-14 Matthias Clasen <mclasen@redhat.com>
811 * gfile.h: Doc updates
813 2007-12-14 Matthias Clasen <mclasen@redhat.com>
816 * gdesktopappinfo.c: Use hash table iterators.
818 2007-12-14 Alexander Larsson <alexl@redhat.com>
821 * gfileattribute.[ch]:
822 * gfileattribute-priv.h:
823 Move GFileAttributeValue to a private header, as
827 Make set_attribute take a type + a pointer instead
828 of a GFileAttributeValue.
831 Fix up for above changes.
832 Add g_file_info_get_attribute_data to get
833 all info in one call, g_file_info_get_attribute_status
834 to get the status and g_file_info_get_attribute_as_string.
838 * glocalfileinfo.[ch]:
842 Make _guess_type static.
844 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
847 * inotify/Makefile.am: Fixed build when srcdir != builddir,
848 made mkenums and friends use temporary files to avoid leaving
849 empty generated files on failure (#503470).
851 2007-12-14 Alexander Larsson <alexl@redhat.com>
856 2007-12-14 Alexander Larsson <alexl@redhat.com>
860 * gfileattribute.[ch]:
863 * glocalfileoutputstream.c:
864 * gmountoperation.[ch]:
865 * goutputstream.[ch]:
866 Clean up all flags enums to not have _FLAGS in them
867 Make the names of some of the enums better.
872 2007-12-14 Michael Natterer <mitch@imendio.com>
874 * gio.symbols: fix g_io_scheduler symbol names.
876 2007-12-14 Alexander Larsson <alexl@redhat.com>
882 * gbufferedinputstream.h:
883 * gbufferedoutputstream.h:
886 * gdatainputstream.h:
887 * gdataoutputstream.h:
889 * gdirectorymonitor.h:
896 * gfileinputstream.h:
898 * gfilenamecompleter.h:
899 * gfileoutputstream.h:
900 * gfilterinputstream.h:
901 * gfilteroutputstream.h:
909 * gmemoryinputstream.h:
910 * gmemoryoutputstream.h:
915 * gsimpleasyncresult.h:
917 * gunixinputstream.h:
919 * gunixoutputstream.h:
923 * inotify/Makefile.am:
924 Only allow including <gio/gio.h> from apps
926 2007-12-14 Alexander Larsson <alexl@redhat.com>
929 * gsimpleasyncresult.c:
930 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
931 Split out the send_to_mainloop call into two versions instead
932 of having the block argument.
934 2007-12-13 Alexander Larsson <alexl@redhat.com>
938 * gbufferedinputstream.c:
940 * gfileinputstream.c:
941 * gfileoutputstream.c:
945 g_push/pop_current_cancellable ->
946 g_cancellable_push/pop_current
948 2007-12-13 Alexander Larsson <alexl@redhat.com>
952 Rename g_mount_for_location to g_file_mount_enclosing_volume.
954 2007-12-13 Alexander Larsson <alexl@redhat.com>
957 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
959 2007-12-12 Alexander Larsson <alexl@redhat.com>
962 Fix race condition when freeing proxy in
963 g_io_job_send_to_mainloop().
965 2007-12-12 Alexander Larsson <alexl@redhat.com>
971 Make attribute namespace separator "::" instead of ":".
972 Use - instead of _ as separator in attribute names.
974 2007-12-12 Alexander Larsson <alexl@redhat.com>
976 * gbufferedinputstream.h:
977 * gbufferedoutputstream.h:
978 * gdatainputstream.h:
979 * gdataoutputstream.h:
980 * gdirectorymonitor.h:
982 * gfileinputstream.h:
984 * gfileoutputstream.h:
985 * gfilterinputstream.h:
986 * gfilteroutputstream.h:
988 * glocalfileinputstream.h:
989 * glocalfileoutputstream.h:
990 * gmemoryinputstream.h:
991 * gmemoryoutputstream.h:
992 * gnativevolumemonitor.h:
994 * gunixinputstream.h:
995 * gunixoutputstream.h:
998 s/parent/parent_instance/ in GObjects
1000 2007-12-12 Alexander Larsson <alexl@redhat.com>
1005 No need for padding for interfaces
1007 2007-12-12 Alexander Larsson <alexl@redhat.com>
1011 * gbufferedinputstream.c:
1012 * gbufferedoutputstream.c:
1015 * gdatainputstream.[ch]:
1016 * gdesktopappinfo.c:
1017 * gdirectorymonitor.c:
1019 * gfileattribute.[ch]:
1022 * gfileinputstream.h:
1023 * gfilemonitor.[ch]:
1024 * gfileoutputstream.[ch]:
1025 * gfilterinputstream.h:
1026 * gfilteroutputstream.h:
1029 * gloadableicon.[ch]:
1030 * gmemoryinputstream.c:
1031 * gmountoperation.c:
1033 Fix up a bunch of details in the docs.
1038 2007-12-11 David Zeuthen <davidz@redhat.com>
1040 Rework how volumes, drives and volume monitoring is
1041 done. Previosly the model was
1043 GDrive <1-1> GVolume
1045 where a GDrive instance represented a mount point and a GVolume
1046 instance represented a mounted file system. This patch changes it
1049 GDrive <1-N> GVolume <1-1> GMount
1051 where GMount now serves the purpose of the old GVolume and the new
1052 GVolume serves the purpose of the old GDrive. In addition the new
1053 GDrive interface is used to represent a collection of GVolume
1054 instances (typically partitions) and also contains utility to query
1055 the state of the physical drive the GDrive object represents (such
1056 as checking for media, polling the drive, ejecting the media etc.).
1058 Also implement mounting and unmounting in the Unix volume monitor
1059 backend. A subquent patch will introduce GDrive support for ejection
1063 * gdrive.c: (g_drive_is_media_check_automatic),
1064 (g_drive_is_media_removable), (g_drive_has_media),
1065 (g_drive_can_poll_for_media), (g_drive_eject),
1066 (g_drive_eject_finish), (g_drive_poll_for_media),
1067 (g_drive_poll_for_media_finish):
1069 * gfile.c: (g_file_find_enclosing_mount):
1072 * glocaldirectorymonitor.c:
1073 (g_local_directory_monitor_constructor), (mounts_changed):
1074 * glocalfile.c: (get_mount_info),
1075 (g_local_file_find_enclosing_mount),
1076 (g_local_file_file_iface_init):
1077 * gnativevolumemonitor.h:
1078 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1079 (get_connected_drives), (g_union_volume_monitor_class_init),
1080 (child_volume_added), (child_volume_removed),
1081 (child_volume_changed), (child_mount_added), (child_mount_removed),
1082 (child_mount_pre_unmount), (child_mount_changed),
1083 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1084 (g_union_volume_monitor_remove_monitor),
1085 (_g_mount_get_for_mount_path):
1086 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1087 (guess_system_internal), (_g_get_unix_mounts),
1088 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1089 (g_unix_mount_free), (g_unix_mount_compare),
1090 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1091 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1092 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1093 (type_to_icon), (g_unix_mount_guess_name),
1094 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1095 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1096 (_resolve_symlink), (_resolve_dev_root):
1098 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1099 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1100 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1101 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1102 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1103 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1104 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1105 (g_unix_volume_volume_iface_init):
1107 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1108 (get_mounts), (get_volumes), (get_connected_drives),
1109 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1110 (mountpoints_changed), (mounts_changed),
1111 (g_unix_volume_monitor_init),
1112 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1113 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1114 * gunixvolumemonitor.h:
1115 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1116 (g_volume_mount), (g_volume_mount_finish):
1118 * gvolumemonitor.c: (g_volume_monitor_class_init),
1119 (g_volume_monitor_get_connected_drives),
1120 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1123 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1125 * gmountoperation.h (GPasswordFlags): Close the gap
1127 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1129 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1131 * gdesktopappinfo.[hc]: Remove _-prefixes
1133 2007-12-10 Tor Lillqvist <tml@novell.com>
1135 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1138 2007-12-10 Alexander Larsson <alexl@redhat.com>
1140 * gfile.c (g_file_set_display_name):
1141 Don't hardcode '/' (#502727)
1143 2007-12-09 Hans Breuer <hans@breuer.org>
1145 * makefile.msc : follow lib naming convention
1146 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1147 for user and group name, tested with ../tests/gio-ls
1149 2007-12-09 A. Walton <awalton@svn.gnome.org>
1151 * gdesktopappinfo.c:
1157 * gfileenumerator.c:
1162 * gmemoryinputstream.c:
1163 * gmemoryoutputstream.c:
1165 * gsimpleasyncresult.c:
1166 More documentation cleanup and filling in missing information, bringing
1167 GIO to 99% symbol coverage.
1169 2007-12-08 Hans Breuer <hans@breuer.org>
1171 [gio compiles and links on win32, not sure how much already works]
1172 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1173 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1174 base on win32 API; prefer g_lstat() over lstat(); instead of
1175 localtime_r() use an all GLib implementation on win32;
1176 get_mount_info() still needs a win32 specifc implementation
1177 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1178 win32_get_file_user_info to get owner/group info without uid/gid
1179 * glocalfileinputstream.c : include <io.h> on win32
1180 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1181 definition, use g_win32_ftruncate() for G_OS_WIN32
1182 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1183 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1184 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1185 * makefile.msc : updated
1187 2007-12-07 Alexander Larsson <alexl@redhat.com>
1189 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1190 Avoid warning spew if error == NULL
1192 2007-12-07 Alexander Larsson <alexl@redhat.com>
1195 Update docs wrt etags
1197 2007-12-06 Alexander Larsson <alexl@redhat.com>
1200 Include sys/types.h for dev_t (#501919)
1202 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1206 Make abicheck and pltcheck pass.
1208 2007-12-05 Alexander Larsson <alexl@redhat.com>
1211 * giomodule-priv.h: Added.
1212 * glocaldirectorymonitor.c:
1213 * glocalfilemonitor.c:
1214 * gunionvolumemonitor.c:
1216 Actually add the declaration of _g_io_modules_ensure_loaded
1218 2007-12-05 Alexander Larsson <alexl@redhat.com>
1220 * gdatainputstream.c:
1225 * glocaldirectorymonitor.c:
1226 * glocalfilemonitor.c:
1227 * gunionvolumemonitor.c:
1229 Make g_io_modules_ensure_loaded a private function and
1230 don't pass in the dirname. This means we can do magic
1231 directory finding in the win32 version.
1232 Export the actual load-modules-in-directory code so that
1233 gvfs can reuse that.
1235 2007-12-05 Alexander Larsson <alexl@redhat.com>
1237 * gbufferedinputstream.c:
1238 * gbufferedoutputstream.c:
1241 * gfileenumerator.[ch]:
1242 * gfileinputstream.c:
1243 * gfileoutputstream.[ch]:
1244 * gfilterinputstream.c:
1245 * gfilteroutputstream.c:
1246 * ginputstream.[ch]:
1248 * glocalfileenumerator.c:
1249 * glocalfileinputstream.c:
1250 * glocalfileoutputstream.c:
1251 * gmemoryinputstream.c:
1252 * gmemoryoutputstream.c:
1253 * goutputstream.[ch]:
1256 * gunixinputstream.c:
1257 * gunixoutputstream.c:
1258 Rename all struct members named:
1259 read, write, close, truncate, or mount
1260 to foo_fn, as these are reserved names
1261 and could be defined as macros in libc.
1264 2007-12-04 Alexander Larsson <alexl@redhat.com>
1267 (g_output_stream_close):
1268 Only call flush if non-null.
1270 2007-11-30 Dan Winship <danw@gnome.org>
1272 * ginputstream.c (g_input_stream_set_pending): Make this take a
1273 GError and return a gboolean, and do the "outstanding operation"
1274 check (and the "stream is already closed" check) itself.
1275 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1277 * goutputstream.c (g_output_stream_set_pending)
1278 (g_output_stream_clear_pending): Likewise
1280 * gbufferedinputstream.c:
1281 * gfileinputstream.c:
1282 * gfileoutputstream.c: Update for that
1284 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1285 Like g_simple_async_report_error_in_idle, but takes a GError
1286 rather than building one.
1288 2007-11-30 Dan Winship <danw@gnome.org>
1290 * goutputstream.c: Don't cheat and unset the "pending" flag around
1291 inner calls. Instead, call the class method directly rather than
1292 the wrapper function that checks "pending"
1294 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1296 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1298 2007-12-03 Hans Breuer <hans@breuer.org>
1300 [start of port to win32/msvc]
1301 * gcancellable.c : HAVE_UNIST_H and _pipe()
1302 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1303 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1304 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1306 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1307 * glocalvfs.c : use HAVE_PWD_H
1308 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1309 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1310 * Makefile.am : added to EXTRA_DIST
1312 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1314 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1317 2007-12-03 Alexander Larsson <alexl@redhat.com>
1320 Handle OSX style xattrs API (#500506)
1322 2007-12-03 Alexander Larsson <alexl@redhat.com>
1326 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1328 2007-12-02 A. Walton <awalton@svn.gnome.org>
1332 Documentation accuracy fixes.
1334 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1336 * gioenumtypes.c.template: Fix typo.
1338 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1340 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1342 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1344 * gdirectorymonitor.c:
1345 * gfilemonitor.c: Add properties
1347 * gbufferedoutputstream.c: Don't mark buffer-size property
1350 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1352 * gbufferedoutputstream.c: Add auto-grow property.
1354 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1356 * *.c: Unify the capitalization of section headings.
1358 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1360 * gmountoperation.c: Add properties
1362 * gdatainputstream.c: Turn byte-order and newline-type into
1365 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1367 * gioenumtypes.[hc].template: Templates for enum registration
1369 * Makefile.am: Generate gioenumtypes.[hc]
1371 * gio.h: Include gioenumtypes.h
1373 * gfile.h: Add some explicit nicks.
1375 * gio.symbols: Add new symbols
1377 * pltcheck.sh: Adjust
1379 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1381 * *.c: Explain etags and link to the explanation
1383 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1385 * *.c: Explain I/O priority.
1387 * *.c: More coding style fixes.
1389 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1391 * gasyncresult.c: Add another paragraph to the intro,
1392 adjust coding style of example.
1394 2007-11-29 A. Walton <awalton@svn.gnome.org>
1397 Fixes unknown meaning in GAppLaunchContext docs.
1399 Clarify asynchronous ops.
1401 Fix entity tag docs.
1404 Provides missing gtk-doc section, fixes API docs slighly.
1405 * gsimpleasyncresult.c:
1406 Fill in missing info in docs.
1407 * gunixinputstream.c:
1408 * gunixoutputstream.c:
1409 Be more expressive in short description.
1411 Remove gtk-doc stubs for non-public API.
1413 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1415 * *.c: Coding style fixups
1417 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1419 * inotify/inotify-helper.c: Don't export the lock from libgio.
1421 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1424 * abicheck.sh: Fix copy-and-paste leftovers
1426 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1428 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1430 2007-11-28 Alexander Larsson <alexl@redhat.com>
1434 Removed unnecessary file
1436 * gdesktopappinfo.[ch]:
1439 * glocaldirectorymonitor.[ch]:
1441 * glocalfileenumerator.[ch]:
1442 * glocalfileinputstream.[ch]:
1443 * glocalfilemonitor.[ch]:
1444 * glocalfileoutputstream.[ch]:
1446 * gnativevolumemonitor.c:
1447 * gpollfilemonitor.[ch]:
1448 * gunionvolumemonitor.[ch]:
1451 * gunixvolumemonitor.[ch]:
1454 * inotify/ginotifydirectorymonitor.[ch]:
1455 * inotify/ginotifyfilemonitor.[ch]:
1456 * inotify/inotify-helper.c:
1457 Append _ to all internal functions
1461 Export symbols needed for modules
1463 2007-11-28 Alexander Larsson <alexl@redhat.com>
1466 * abicheck.sh: Added.
1467 * makegioalias.pl: Added.
1468 * pltcheck.sh: Added.
1469 * gio.symbols: Added.
1472 Initial work on adding symbol handling.
1475 Correct ifdef guard name
1478 * inotify/Makefile.am:
1479 * xdgmime/Makefile.am:
1480 Include toplevel Makefile.decl
1482 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1484 * gcontenttype.c: Move doc comments to the unix section.
1486 * *.[hc]: More trivial doc corrections.
1488 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1490 * gpollfilemonitor.c:
1494 * gdesktopappinfo.c:
1499 * gdatainputstream.c:
1500 * gdatainputstream.h:
1501 * gdataoutputstream.c:
1502 * gdataoutputstream.h:
1503 * gfileinfo.h: Doc cleanups
1505 2007-11-28 Andre Klapper <a9016009@gmx.de>
1507 * gdesktopappinfo.c: Fix a typo.
1509 2007-11-27 Andre Klapper <a9016009@gmx.de>
1511 * glocalfileoutputstream.c: Fix a typo.
1513 2007-11-27 Alexander Larsson <alexl@redhat.com>
1516 Don't include removed headers
1518 2007-11-27 Alexander Larsson <alexl@redhat.com>
1521 * gsocketinputstream.[ch]: Removed.
1522 * gsocketoutputstream.[ch]: Removed.
1523 * gunixinputstream.[ch]: Added.
1524 * gunixoutputstream.[ch]: Added.
1525 Renamed GSocket*Stream to GUnix*Stream and made
1526 it unix-only, since its not really only for sockets
1527 and it only works on unix (but is highly useful there).
1529 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1535 * gbufferedinputstream.c:
1536 * gbufferedinputstream.h:
1537 * gbufferedoutputstream.c:
1538 * gbufferedoutputstream.h:
1542 * gdatainputstream.c:
1543 * gdatainputstream.h:
1544 * gdataoutputstream.c:
1545 * gdataoutputstream.h:
1546 * gdirectorymonitor.c:
1547 * gdirectorymonitor.h:
1554 * gfileenumerator.c:
1555 * gfileenumerator.h:
1560 * gfileinputstream.c:
1561 * gfileinputstream.h:
1564 * gfilenamecompleter.c:
1565 * gfilenamecompleter.h:
1566 * gfileoutputstream.c:
1567 * gfileoutputstream.h:
1568 * gfilterinputstream.c:
1569 * gfilterinputstream.h:
1570 * gfilteroutputstream.c:
1571 * gfilteroutputstream.h:
1584 * glocalfileoutputstream.c:
1585 * gmemoryinputstream.c:
1586 * gmemoryinputstream.h:
1587 * gmemoryoutputstream.c:
1588 * gmemoryoutputstream.h:
1589 * gmountoperation.c:
1590 * gmountoperation.h:
1593 * gpollfilemonitor.c:
1596 * gsimpleasyncresult.c:
1597 * gsimpleasyncresult.h:
1598 * gsocketinputstream.c:
1599 * gsocketinputstream.h:
1600 * gsocketoutputstream.c:
1601 * gsocketoutputstream.h:
1608 * gunixvolumemonitor.c:
1617 Bumps documentation to 93% symbol coverage, touching most
1618 of the public files. Fixes broken function documentation prototypes.
1619 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1620 gtk-doc headers in private files.
1622 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1624 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1625 (g_buffered_input_stream_read_byte):
1626 * gbufferedinputstream.h:
1627 New functions for efficient access to buffer and simple single byte
1630 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1631 (g_data_input_stream_read_until):
1632 * gdatainputstream.h:
1633 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1634 read_until with multiple stop chars.
1636 2007-11-27 Alexander Larsson <alexl@redhat.com>
1640 * inotify/Makefile.am:
1641 Use the user-specified giomoduledir
1643 2007-11-27 Alexander Larsson <alexl@redhat.com>
1647 Add catch-all gio.h header
1648 Don't install gdummyfile.h
1650 2007-11-26 Alexander Larsson <alexl@redhat.com>
1652 * Makefile.am (gioinclude_HEADERS):
1653 Remove trailing whitespace
1655 2007-11-26 Alexander Larsson <alexl@redhat.com>
1657 Merge gio-standalone into glib
1659 2007-11-25 Christian Kellner <gicmo@gnome.org>
1661 * gio/goutputstream.c:
1662 Fix small mistake in the docs.
1664 2007-11-21 Christian Persch <chpe@gnome.org>
1666 * gio/glocalfile.c: (g_local_file_trash):
1667 Convert filenames to UTF-8 for GError.
1668 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1669 as per xdg base dir spec.
1671 2007-11-21 Christian Persch <chpe@gnome.org>
1673 * gio/gdesktopappinfo.c:
1674 Use that g_key_file_to_data cannot fail.
1676 Use stock defines for the key file group and key names.
1679 2007-11-21 Alexander Larsson <alexl@redhat.com>
1682 (copy_stream_with_progress):
1683 Make sure we do a final progress callback with
1684 the full total size.
1686 2007-11-21 Alexander Larsson <alexl@redhat.com>
1689 Export g_file_copy_attributes
1690 Remove padding as its not needed for interfaces
1692 2007-11-20 Alexander Larsson <alexl@redhat.com>
1697 Add G_IO_ERROR_WOULD_MERGE for
1698 copy/move dir on dir with overwrite.
1700 2007-11-20 Alexander Larsson <alexl@redhat.com>
1703 * gio/glocalfileinfo.c:
1704 Add COPY_NAME (this is an optional
1705 non-modified utf8 version of the name) that
1708 2007-11-20 Alexander Larsson <alexl@redhat.com>
1710 * gio/glocalfileenumerator.c:
1711 Report errors as GIOError, not GFileError
1713 2007-11-16 Alexander Larsson <alexl@redhat.com>
1715 * gio/glocalfileoutputstream.c:
1716 * gio/gwin32appinfo.c:
1717 Fix typos in strings.
1718 Patch from Luca Ferretti <elle.uca@libero.it>
1720 2007-11-15 Alexander Larsson <alexl@redhat.com>
1723 Post release version bump
1725 === gio-standalone 0.1.2 ===
1727 2007-11-15 Alexander Larsson <alexl@redhat.com>
1729 * docs/reference/gio/Makefile.am:
1730 Fix up distcheck by removing weird
1736 2007-11-14 Alexander Larsson <alexl@redhat.com>
1738 * gio/gdesktopappinfo.c:
1739 * gio/glocaldirectorymonitor.c:
1741 * gio/glocalfileinfo.c:
1742 * gio/inotify/inotify-sub.c:
1743 * programs/gio-cat.c:
1744 * programs/gio-copy.c:
1745 * programs/gio-info.c:
1746 * programs/gio-ls.c:
1747 * programs/gio-monitor-dir.c:
1748 * programs/gio-monitor-file.c:
1749 * programs/gio-mount.c:
1750 * programs/gio-move.c:
1751 * programs/gio-rm.c:
1752 * programs/gio-save.c:
1753 * programs/gio-trash.c:
1754 Leak fixes from Kjartan Maraas
1756 2007-11-14 Alexander Larsson <alexl@redhat.com>
1758 * gio/fam/fam-helper.c:
1760 * gio/glocalfileinfo.c:
1764 * gio/inotify/inotify-diag.c:
1765 * gio/inotify/inotify-kernel.c:
1766 Various code cleanups from Kjartan Maraas
1768 2007-11-14 Alexander Larsson <alexl@redhat.com>
1770 * gio/gioscheduler.c:
1772 Set up threadpool so that we cache 2 unused
1773 idle threads for at 15 secs. This means we
1774 will reuse thread-local data (like dbus connections)
1777 2007-11-14 Alexander Larsson <alexl@redhat.com>
1779 * gio/fam/fam-helper.c:
1780 * gio/fam/gfamdirectorymonitor.c:
1781 * gio/fam/gfamfilemonitor.c:
1783 * gio/gcontenttype.c:
1784 * gio/gdatainputstream.c:
1785 * gio/gdataoutputstream.c:
1789 * gio/gfileattribute.h:
1790 * gio/gfileenumerator.c:
1792 * gio/ginputstream.c:
1795 * gio/glocalfileinfo.c:
1796 * gio/goutputstream.c:
1797 * gio/gpollfilemonitor.c:
1798 * gio/gsimpleasyncresult.c:
1799 * gio/gunixmounts.c:
1800 * gio/gunixmounts.h:
1801 * gio/inotify/ginotifydirectorymonitor.c:
1802 * gio/inotify/ginotifyfilemonitor.c:
1803 * gio/inotify/inotify-diag.c:
1804 * gio/inotify/inotify-kernel.c:
1805 * gio/inotify/inotify-path.c:
1807 * gio/test-streams.c:
1808 * programs/gio-info.c:
1809 * programs/gio-monitor-dir.c:
1810 * programs/gio-monitor-file.c:
1811 Various code cleanups from Kjartan Maraas
1813 2007-11-13 Alexander Larsson <alexl@redhat.com>
1816 Handle the uri-scheme calls for dummy files
1818 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1820 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1821 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1822 to avoid clash with the C++ keyword.
1824 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1826 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1827 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1829 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1831 * gio/glocaldirectorymonitor.c:
1832 * gio/glocalfilemonitor.c:
1833 * gio/gunionvolumemonitor.c:
1834 Don't use g_once_init_*() for initializations that could fail and
1835 could leave the initialization variable set to 0 but use GOnce.
1836 This prevents a deadlock on the second call when trying to create
1837 a monitor and no monitor type is available. Thanks to Sven Herzberg
1840 2007-11-11 Sven Herzberg <sven@imendio.com>
1842 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1843 #ifdef (make it work on MacOS X again)
1845 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1847 Fixes Changelog for last two commits (sorry guys).
1849 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1851 * gio/gbufferedinputstream.c:
1852 * gio/gdatainputstream.c:
1854 * gio/gfileoutputstream.c:
1855 * gio/gfilterinputstream.c:
1856 * gio/glocalfileinputstream.c:
1859 More consistency fixes in g*stream.c files.
1860 Significant clean of gfile's documentation, filling in of
1861 asynchronous operations documentation.
1863 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1865 * gio/gasyncresult.c:
1866 * gio/gbufferedinputstream.c:
1867 * gio/gbufferedoutputstream.c:
1868 * gio/gcancellable.c:
1869 * gio/gcontenttype.c:
1870 * gio/gdatainputstream.c:
1871 * gio/gdataoutputstream.c:
1872 * gio/gdesktopappinfo.c:
1875 * gio/gfileattribute.c:
1876 * gio/gio/gfileenumerator.c:
1878 * gio/gfileinputstream.c:
1879 * gio/gfilemonitor.c:
1880 * gio/gfileoutputstream.c:
1881 * gio/ginputstream.c:
1883 * gio/gioscheduler.c:
1884 * gio/gloadableicon.c:
1885 * gio/glocalfileoutputstream.c:
1886 * gio/gmemoryoutputstream.c:
1887 * gio/gmountoperation.c:
1888 * gio/goutputstream.c:
1890 * gio/gsimpleasyncresult.c:
1891 * gio/gunionvolumemonitor.c:
1892 * gio/gunixmounts.c:
1893 * gio/gunixvolume.c:
1897 * gio/gvolumemonitor.c:
1898 Updated documentation stubs, working towards consistency and
1901 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1903 * gio/gmemoryoutputstream.c:
1904 * gio/gmemoryoutputstream.h:
1905 Change g_memory_output_stream_set_free_on_close() to
1906 g_memory_output_stream_set_free_data() as this makes more sense and
1907 is more consistent with GMemoryInputStream.
1909 2007-11-07 Alexander Larsson <alexl@redhat.com>
1916 Change how we find the default vfs so that
1917 we can handle a gvfs failing to init
1919 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1921 * gio/gbufferedoutputstream.c:
1922 * gio/gdatainputstream.c:
1923 * gio/gdataoutputstream.c:
1924 * gio/gfileinputstream.c:
1925 * gio/gfileoutputstream.c:
1926 * gio/gfilterinputstream.c:
1927 * gio/gfilteroutputstream.c:
1928 * gio/ginputstream.c:
1929 * gio/gmemoryinputstream.c:
1930 * gio/gmemoryoutputstream.c:
1931 * gio/goutputstream.c:
1932 * gio/gsimpleasyncresult.c:
1933 * gio/gsocketinputstream.c:
1934 * gio/gsocketoutputstream.c:
1935 Add guards to the remaining public functions, add a TODO for
1936 an unimplemented function and remove some useless guards.
1938 2007-11-07 Alexander Larsson <alexl@redhat.com>
1941 Autoconf checks for the various types of
1942 getpwuid_r and getgrgid_r
1944 * gio/glocalfileinfo.c:
1945 Use the autoconf checks from above
1947 2007-11-07 Alexander Larsson <alexl@redhat.com>
1950 (g_local_file_query_filesystem_info):
1951 Some fixes for the statvfs case
1953 2007-11-07 Alexander Larsson <alexl@redhat.com>
1956 (g_local_file_query_filesystem_info):
1957 Pick the "best" of statfs / statvfs for the system
1958 if both are availible.
1960 2007-11-07 Alexander Larsson <alexl@redhat.com>
1962 Solaris fixes from Halton.Huo@Sun.COM:
1969 * gio/glocalfileinfo.c:
1970 Fix for solaris definition of getpwuid_r
1972 * gio/test-streams.c:
1973 Use G_GNUC_PRETTY_FUNCTION
1975 2007-11-07 Alexander Larsson <alexl@redhat.com>
1977 * gio/gdesktopappinfo.c:
1978 (update_default_list):
1979 Remove double semicolon.
1980 Patch from Jens Granseuer
1982 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1984 * docs/reference/gio/gio-sections.txt:
1985 * gio/gbufferedinputstream.c:
1986 * gio/gbufferedinputstream.h:
1987 * gio/gdatainputstream.c:
1988 * gio/gfileenumerator.c:
1989 * gio/gioscheduler.c:
1990 * gio/gunionvolumemonitor.c:
1992 * programs/gio-save.c:
1993 Fix typo: availible -> available. Unfortuntely this breaks API
1994 and ABI as g_buffered_input_stream_get_available() was renamed.
1996 * gio/gunixmounts.c:
1997 * gio/gbufferedinputstream.c:
1998 Add guards for public functions.
2000 2007-11-06 Ross Burton <ross@openedhand.com>
2002 * docs/reference/gio/Makefile.am:
2003 Fix invalid += usage which automake 1.10 doesn't like.
2005 2007-11-06 Alexander Larsson <alexl@redhat.com>
2008 (g_app_launch_context_class_init):
2011 Patch from Ross Burton
2013 2007-11-06 Alexander Larsson <alexl@redhat.com>
2016 Post release version bump
2018 === gio-standalone 0.1.1 ===
2020 2007-11-06 Alexander Larsson <alexl@redhat.com>
2023 Bump version to 0.1.1
2025 * gio/gsimpleasyncresult.c:
2026 (g_simple_async_result_set_from_error):
2027 Remove bogus g_return_if_fail
2029 2007-11-06 Alexander Larsson <alexl@redhat.com>
2032 The name is gio-standalone
2035 Add top src/builddir to includedir
2037 2007-11-06 Alexander Larsson <alexl@redhat.com>
2039 * docs/reference/gio/gio-sections.txt:
2041 * gio/gbufferedinputstream.c:
2042 * gio/gbufferedoutputstream.c:
2043 * gio/gcancellable.c:
2044 * gio/gdatainputstream.h:
2045 * gio/gdataoutputstream.c:
2046 * gio/gdataoutputstream.h:
2047 * gio/gdirectorymonitor.c:
2049 * gio/gfileattribute.c:
2050 * gio/gfileattribute.h:
2051 * gio/gfileenumerator.c:
2052 * gio/gfileenumerator.h:
2055 * gio/gfileinputstream.h:
2056 * gio/gfilemonitor.c:
2057 * gio/gfileoutputstream.h:
2058 * gio/glocalfilemonitor.h:
2059 * gio/glocalfileoutputstream.h:
2060 * gio/gmemoryinputstream.c:
2061 * gio/gmemoryoutputstream.c:
2062 * gio/gmountoperation.c:
2063 * gio/goutputstream.c:
2064 * gio/goutputstream.h:
2066 * gio/gsimpleasyncresult.c:
2067 * gio/gunixmounts.c:
2068 * gio/gunixmounts.h:
2070 * gio/inotify/inotify-helper.c:
2071 Fix gtk-doc warnings
2073 Patch from Ross Burton
2075 2007-11-06 Alexander Larsson <alexl@redhat.com>
2077 * gio/gfilenamecompleter.c:
2078 (g_filename_completer_get_completions):
2081 * gio/gunixvolume.c:
2082 Remove unused function
2084 Patches from Ross Burton
2086 2007-11-06 Alexander Larsson <alexl@redhat.com>
2091 Padding not needed for interfaces
2093 2007-11-06 Alexander Larsson <alexl@redhat.com>
2095 * gio/gfilemonitor.c:
2099 Make giotypes.h an internal file
2102 * gio/gbufferedinputstream.h:
2103 * gio/gbufferedoutputstream.h:
2104 * gio/gcancellable.h:
2105 * gio/gdatainputstream.h:
2106 * gio/gdataoutputstream.h:
2107 * gio/gdirectorymonitor.c:
2108 * gio/gdirectorymonitor.h:
2113 * gio/gfileattribute.h:
2114 * gio/gfileenumerator.h:
2119 * gio/gfilemonitor.c:
2120 * gio/gfilemonitor.h:
2121 * gio/gfilenamecompleter.c:
2122 * gio/gfilenamecompleter.h:
2123 * gio/gfilterinputstream.h:
2124 * gio/gfilteroutputstream.h:
2125 * gio/ginputstream.h:
2126 * gio/gmemoryinputstream.h:
2127 * gio/gmemoryoutputstream.h:
2128 * gio/gmountoperation.c:
2129 * gio/gmountoperation.h:
2130 * gio/gnativevolumemonitor.c:
2131 * gio/goutputstream.h:
2134 * gio/gsimpleasyncresult.c:
2135 * gio/gsimpleasyncresult.h:
2136 * gio/gsocketinputstream.h:
2137 * gio/gsocketoutputstream.h:
2138 * gio/gthemedicon.c:
2139 * gio/gthemedicon.h:
2143 * gio/gvolumemonitor.c:
2144 * gio/gvolumemonitor.h:
2145 Add padding in classes where it seems useful
2146 Don't include giotypes.h from public headers
2147 Move in Class definitions into c file where possible
2152 2007-11-06 Alexander Larsson <alexl@redhat.com>
2154 * docs/reference/gio/gio-docs.xml:
2155 Better structure for API docs
2157 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2160 * gio/gloadableicon.c:
2161 * gio/gsimpleasyncresult.c:
2162 * gio/gthemedicon.c:
2163 Add some more guards to public functions. Only files missing are now
2166 2007-11-06 Alexander Larsson <alexl@redhat.com>
2168 * docs/reference/gio/gio-docs.xml:
2169 Remove old files, add missing ones
2171 2007-11-06 Alexander Larsson <alexl@redhat.com>
2173 * docs/reference/gio/gio-sections.txt:
2176 Hide implementation classes
2178 * gio/gdriveprivate.h:
2179 * gio/gvolumeprivate.h:
2180 Remove non-existing function declarations
2182 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2185 Fix compilation warnings and add guards to the new functions.
2187 * gio/gasyncresult.c:
2189 Add guards to the public functions.
2192 Implement get_path().
2194 2007-11-06 Alexander Larsson <alexl@redhat.com>
2196 * gio/gfilenamecompleter.c:
2197 Make g_filename_completer_get_completions
2198 return char ** instead of GList for
2201 * docs/reference/gio/gio-docs.xml:
2202 * docs/reference/gio/gio-sections.txt:
2204 * gio/gasyncresult.c:
2205 * gio/gbufferedinputstream.c:
2206 * gio/gbufferedoutputstream.c:
2207 * gio/gcancellable.c:
2208 * gio/gcontenttype.c:
2209 * gio/gdatainputstream.c:
2210 * gio/gdataoutputstream.c:
2211 * gio/gdesktopappinfo.c:
2212 * gio/gdirectorymonitor.c:
2216 * gio/gfileattribute.c:
2217 * gio/gfileenumerator.c:
2220 * gio/gfileinputstream.c:
2221 * gio/gfilemonitor.c:
2222 * gio/gfilenamecompleter.c:
2223 * gio/gfilenamecompleter.h:
2224 * gio/gfileoutputstream.c:
2225 * gio/gfilterinputstream.c:
2227 * gio/ginputstream.c:
2229 * gio/gioscheduler.c:
2230 * gio/gloadableicon.c:
2231 * gio/glocaldirectorymonitor.c:
2233 * gio/glocalfileinputstream.c:
2234 * gio/glocalfilemonitor.c:
2235 * gio/glocalfileoutputstream.c:
2237 * gio/gmemoryinputstream.c:
2238 * gio/gmemoryoutputstream.c:
2239 * gio/gmountoperation.c:
2240 * gio/goutputstream.c:
2241 * gio/gpollfilemonitor.c:
2243 * gio/gsimpleasyncresult.c:
2244 * gio/gsocketinputstream.c:
2245 * gio/gsocketoutputstream.c:
2246 * gio/gthemedicon.c:
2247 * gio/gunionvolumemonitor.c:
2249 * gio/gunixmounts.c:
2250 * gio/gunixvolume.c:
2251 * gio/gunixvolumemonitor.c:
2255 * gio/gvolumemonitor.c:
2256 * gio/gwin32appinfo.c:
2257 Add (mostly stub) doc strings to public functions.
2258 Patch from Andrew Walton (awalton@gmail.com)
2260 2007-11-06 Alexander Larsson <alexl@redhat.com>
2262 * gio/gappinfo.[ch]:
2263 Added GAppLaunchContext object and pass that to launch.
2264 This allows simple implementation of both
2265 launch-on-screen and startup notification via a gtk+
2266 subclass of GAppLaunchContext
2268 * gio/gdesktopappinfo.c:
2269 Implement GAppLaunchContext API
2271 * gio/gwin32appinfo.c:
2274 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2276 * gio/gmountoperation.c:
2277 Add some guards to GMountOperation's public functions.
2279 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2283 * gio/gcancellable.c:
2284 * gio/gdirectorymonitor.c:
2286 * gio/gfileenumerator.c:
2287 * gio/gfilemonitor.c:,
2288 * gio/gfilenamecompleter.c:
2291 * gio/gioscheduler.c:
2295 * gio/gvolumemonitor.c:
2296 Add even more guards to various public functions.
2298 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2301 Add guards to the public functions of GAppInfo.
2303 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2305 * gio/gcontenttype.c:
2306 Add some more guards for public functions.
2308 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2310 * gio/fam/fam-module.c:
2311 * gio/fam/gfamdirectorymonitor.c:
2312 * gio/fam/gfamdirectorymonitor.h:
2313 * gio/fam/gfamfilemonitor.c:
2314 * gio/fam/gfamfilemonitor.h:
2315 * gio/inotify/ginotifydirectorymonitor.c:
2316 * gio/inotify/ginotifydirectorymonitor.h:
2317 * gio/inotify/ginotifyfilemonitor.c:
2318 * gio/inotify/ginotifyfilemonitor.h:
2319 Add proper copyright information and remove an unused variable
2320 in the GInotifyFileMonitor constructor.
2322 * gio/gcancellable.c:
2323 Add a guard for a public function and an assertion to prevent
2324 an undefined program state.
2326 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2328 * gio/gfileattribute.c:
2329 Don't run into an assertion if the given attribute value is NULL
2330 in g_file_attribute_value_get_*() but instead return a fallback
2331 value that makes sense in most situations. Passing them a attribute
2332 value with the wrong type will still run into an assertion.
2334 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2336 * gio/gfileattribute.c:
2338 Add even more guards to the public functions. Also fix the refcounting
2339 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2340 let g_file_info_list_attributes() filter the attributes by namespace
2341 instead of simply ignoring the namespace parameter.
2343 2007-11-03 Sven Herzberg <sven@imendio.com>
2345 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2346 (This makes gio work on MacOS X again)
2348 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2351 Build the gio subdirectory before the docs. Otherwise the build will
2354 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2355 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2356 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2357 Add guards to the public functions.
2359 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2361 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2362 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2363 to prevent a compiler warning.
2365 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2366 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2367 return something in the non-void function find_topdir_for().
2369 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2376 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2378 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2379 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2380 * gwin32appinfo.c (g_win32_app_info_launch):
2381 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2382 envp_for_startup_id, g_desktop_app_info_launch,
2383 g_desktop_app_info_launch_uris):
2385 Give an opaque 'startup_id' string instead of 'envp'.
2386 Support empty file lists for launching new windows.
2387 Fix infinite recursion bug when launching URIs.
2389 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2392 Add guard to the new g_file_get_uri_scheme() function.
2394 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2397 Convert a g_return_val_if_fail() to setting the GError instead as
2398 otherwise applications have to verify the parameter before otherwise
2399 and the parameter might come directly from the user.
2401 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2403 * gio/inotify/ginotify*.[ch]:
2404 Add missing copyright information.
2406 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2409 Add guards in the beginning of public functions to check for valid
2410 parameters and fix a bug in copy_stream_with_progress() that could've
2411 caused writing less bytes than reading.
2412 * gio/glocalfileinfo.c:
2413 Check for a NULL parameter and set the GError accordingly then.
2414 * gio/goutputstream.c:
2415 Fix the same bug as in gfile.c that could've caused writing less bytes
2416 than reading in g_output_stream_real_splice().
2418 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2421 Use the correct gvolumeprivate.h naming
2423 2007-11-01 Christian Kellner <gicmo@gnome.org>
2426 Remove leftover "$(daemon_sources)" entry.
2428 2007-11-01 Christian Kellner <gicmo@gnome.org>
2433 Add copyright information to source files.
2435 2007-11-01 Alexander Larsson <alexl@redhat.com>
2439 Add g_file_get_uri_scheme
2441 2007-11-01 Alexander Larsson <alexl@redhat.com>
2444 * gio/gdesktopappinfo.c:
2445 * gio/gwin32appinfo.c:
2446 Add g_app_info_get_default_for_uri_scheme.
2448 2007-11-01 Alexander Larsson <alexl@redhat.com>
2451 Correct filename for gdriveprivate.h
2453 2007-10-31 Alexander Larsson <alexl@redhat.com>
2456 Rename id:value to id:file
2459 * gio/glocalfileinfo.c:
2462 2007-10-31 Alexander Larsson <alexl@redhat.com>
2464 * gio/gunixvolume.c:
2466 Remove g_volume_get_platform_id, as thats not
2467 needed with the simpler union volume monitor
2469 2007-10-31 Alexander Larsson <alexl@redhat.com>
2472 * gio/guniondrive.[ch]: Removed.
2473 * gio/gunionvolume.[ch]: Removed.
2474 Remove GUnionDrive/Volume
2476 * gio/gunionvolumemonitor.c:
2477 Simplify union volume monitor, now we
2478 only have one native volume monitor and
2479 we use the actual volumes/drives from the
2480 child monitors instead of wrapping them
2482 * gio/gnativevolumemonitor.[ch]:
2483 Base class for native volume monitors.
2484 Includes priority and get_volume_for_mountpoint
2487 Add g_file_find_enclosing_volume
2490 Remove volume name fs attribute
2491 Add readonly fs attribute
2494 Implement readonly attribute
2495 remove volume name attribute
2496 Implement find_enclosing volume
2498 * gio/gunixmounts.c:
2499 Add a volume for "/".
2501 * gio/gunixvolume.[ch]:
2502 Set better name for /
2504 * gio/gunixvolumemonitor.[ch]:
2505 Derive from GNativeVolumeMonitor
2506 Implement get_volume_for_mountpoint
2509 GVolume typedef moved to gfile.h
2511 * gio/gvolumeprivate.h:
2512 Add g_volume_get_for_mount_path
2514 2007-10-31 Alexander Larsson <alexl@redhat.com>
2516 * gio/gunixmounts.[ch]:
2517 Add cache info to unix mount listers
2518 Make getmntent use threadsafe
2519 Add is_system_internal attribute for GUnixMount
2521 * gio/gunixvolume.c:
2522 (g_unix_volume_new):
2523 Use is_system_internal instead of own code
2525 * gio/glocaldirectorymonitor.c:
2526 * gio/gunixvolumemonitor.c:
2527 Update to new gunixmounts API
2532 2007-10-30 Alexander Larsson <alexl@redhat.com>
2535 Add volume name fsinfo attribute
2538 Read volume name info
2540 * gio/gunionvolumemonitor.c:
2541 Fix infinite loops when finalizing a union volume monitor
2543 2007-10-30 Alexander Larsson <alexl@redhat.com>
2545 * gio/goutputstream.[ch]:
2546 Add splice() with default implementation
2548 * gio/gsocketoutputstream.c:
2549 (g_socket_output_stream_write):
2550 Return error on cancellation correctly.
2552 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2554 * gio/glocalfile.c (g_local_file_trash):
2555 Do not leak a string.
2557 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2559 * gio/gfile.c (g_file_load_contents):
2560 Unref the stream after closing it.
2562 2007-10-25 Alexander Larsson <alexl@redhat.com>
2564 * gio/gioscheduler.h:
2567 2007-10-25 Alexander Larsson <alexl@redhat.com>
2571 Add g_file_has_uri_scheme and implement for local files
2573 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2575 * gio/gdesktopappinfo.c: do not leak a string.
2577 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2579 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2580 (g_local_directory_monitor_new):
2581 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2582 (g_local_file_monitor_new):
2583 Only look for the monitor type that should be used the first time
2584 and use g_qsort_with_data() instead of our own bubble sort
2587 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2590 * gio/fam/Makefile.am:
2591 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2592 * gio/fam/fam-helper.h:
2593 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2594 * gio/fam/gfamdirectorymonitor.c:
2595 * gio/fam/gfamdirectorymonitor.h:
2596 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2597 * gio/fam/gfamfilemonitor.h:
2598 * gio/glocaldirectorymonitor.c:
2599 * gio/glocaldirectorymonitor.h:
2600 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2601 * gio/glocalfilemonitor.h:
2602 * gio/inotify/Makefile.am:
2603 * gio/inotify/ginotifydirectorymonitor.c:
2604 * gio/inotify/ginotifydirectorymonitor.h:
2605 * gio/inotify/ginotifyfilemonitor.c:
2606 * gio/inotify/ginotifyfilemonitor.h:
2607 Implement the FAM and Inotify monitors as
2608 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2609 their own GIO module. GLocal(Directory|File)Monitor will use the
2610 monitor with the highest rank that is supported on that machine.
2612 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2615 Change GIO module dir to $(libdir)/gio/modules and change
2616 the log domain from GVFS to GIO. Also only export symbols starting
2617 with g_ in the resulting library.
2618 * gio/test-streams.c: (main):
2619 Set log handler for the GIO log domain.
2621 2007-10-22 Alexander Larsson <alexl@redhat.com>
2623 * gio/gfilenamecompleter.[ch]:
2624 Add g_filename_completer_set_dirs_only
2626 2007-10-22 Alexander Larsson <alexl@redhat.com>
2629 * gio/gurifuncs.[ch]:
2630 Add some simple URI helpers
2632 * gio/gfilenamecompleter.[ch]:
2633 Added object for filename (parse name actually) completion
2636 Handle ~ in parse names
2638 2007-10-17 Alexander Larsson <alexl@redhat.com>
2641 * gio/glocalfileinfo.c:
2642 Add and implement id:value attribute
2644 2007-10-17 Alexander Larsson <alexl@redhat.com>
2647 * gio/guniondrive.c:
2649 Add and implement g_drive_has_volumes
2651 2007-10-17 Alexander Larsson <alexl@redhat.com>
2654 * gio/glocalfileinfo.[ch]:
2655 Add unix:is_mountpoint and implement for local files
2657 2007-10-16 Alexander Larsson <alexl@redhat.com>
2659 * gio/gunionvolumemonitor.c:
2660 (g_union_volume_monitor_init):
2661 Fix up the unix type getting so that it works with gcc
2663 2007-10-12 Alexander Larsson <alexl@redhat.com>
2666 * gio/glocalfileinfo.c:
2667 Add thumbnail:failed to file info
2669 2007-10-12 Richard Hult <richard@imendio.com>
2671 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2672 optimizing away the get_type call (happens with some gcc versions,
2673 like the one shipped with OS X 10.4).
2675 2007-10-12 Alexander Larsson <alexl@redhat.com>
2677 * gio/glocalfileinfo.c:
2678 (_g_local_file_info_set_attribute):
2679 Fix build if not HAVE_XATTR
2680 Patch from Milosz Derezynski <internalerror@gmail.com>
2682 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2684 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2685 around for review, otherwise I would have asked you before
2688 2007-10-11 Alexander Larsson <alexl@redhat.com>
2691 Add thumbnail:path attribute
2693 * gio/glocalfileinfo.c:
2694 Implement thumbnail:path for local files
2696 2007-10-11 Alexander Larsson <alexl@redhat.com>
2698 * gio/glocalfileinfo.c:
2699 (_g_local_file_info_get):
2700 Avoid duplicate icon names
2702 2007-10-11 Alexander Larsson <alexl@redhat.com>
2704 * gio/gthemedicon.[ch]:
2705 Change g_themed_icon_get_names return type to const
2707 2007-10-10 Alexander Larsson <alexl@redhat.com>
2709 * gio/glocalfileinfo.c:
2710 Don't reference freed memory
2712 2007-10-10 Alexander Larsson <alexl@redhat.com>
2714 * gio/gfileattribute.c:
2717 * gio/glocalfileinfo.c:
2720 2007-10-10 Alexander Larsson <alexl@redhat.com>
2723 Check for NULL icons
2725 * gio/gfileattribute.c:
2726 Don't dup when getting objects (same as for string attributes)
2728 * gio/gicon.c (g_icon_equal):
2729 Safely handle NULLs in equal
2731 2007-10-10 Alexander Larsson <alexl@redhat.com>
2734 Fix c++ compilation issues
2735 Patch from Milosz Derezynski <internalerror@gmail.com>
2737 2007-10-10 Alexander Larsson <alexl@redhat.com>
2739 * programs/gio-monitor-dir.c:
2740 Don't crash if dir monitor not supported.
2742 2007-10-09 Alexander Larsson <alexl@redhat.com>
2745 Add missing G_END_DECLS
2747 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2749 * gio/gfile.c: (g_file_set_display_name),
2750 (g_file_query_settable_attributes),
2751 (g_file_query_writable_namespaces):
2752 Return NULL not FALSE on errors as the return type is a pointer.
2754 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2756 * gio/glocalfile.c: (g_local_file_monitor_file):
2757 Don't call monitor_file on the default interface vtable (which
2758 is NULL) but simply return NULL. The caller, GFile, will create a
2759 polling monitor if NULL is returned.
2761 2007-10-09 Alexander Larsson <alexl@redhat.com>
2765 * gio-unix-2.0.pc.in:
2766 Add gio-unix-2.0.pc if OS_UNIX
2769 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2771 2007-10-09 Alexander Larsson <alexl@redhat.com>
2773 * gio/gunixmounts.[ch]:
2774 Make unix mount monitoring API sane.
2775 Now its just a object with mounts_changed
2776 and mountpoints_changed signals.
2778 * gio/glocaldirectorymonitor.c:
2779 * gio/gunixvolumemonitor.c:
2780 Use new mount monitor api
2782 2007-10-09 Alexander Larsson <alexl@redhat.com>
2784 * gio/gunixmounts.[ch]:
2785 Move guess type into one call for mounts and one for mountpoints
2788 * gio/gunixvolume.c:
2791 2007-10-09 Alexander Larsson <alexl@redhat.com>
2793 * gio/gunixmounts.[ch]:
2794 Remove _ prefix in preparation to make this semi-public
2795 Hide implementation of structs
2797 * gio/glocaldirectorymonitor.c:
2799 * gio/gunixvolume.c:
2800 * gio/gunixvolumemonitor.c:
2801 Update for above API changes
2803 2007-10-08 Alexander Larsson <alexl@redhat.com>
2806 Better polling fallback. This also handles the case where we have
2807 a monitor_file implementation, but it fails.
2809 2007-10-08 Alexander Larsson <alexl@redhat.com>
2813 * gio/gunixmounts.c:
2814 * programs/gio-monitor-dir.c:
2815 * programs/gio-monitor-file.c:
2816 Added cancellable to file monitoring calls.
2817 These are really sync calls and need this.
2819 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2821 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2822 (g_local_vfs_class_init):
2823 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2824 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2826 2007-10-05 Alexander Larsson <alexl@redhat.com>
2828 * gio/gdirectorymonitorprivate.h:
2829 * gio/gfilemonitorprivate.h:
2830 * gio/gdirectorymonitor.h:
2831 * gio/gfilemonitor.h:
2832 Remove *private.h and move to the public API, so that
2833 we can do implementations outside gio (such as in gvfs)
2835 * gio/gdirectorymonitor.c:
2836 * gio/gfilemonitor.c:
2837 * gio/glocaldirectorymonitor.c:
2838 * gio/gpollfilemonitor.c:
2839 * gio/inotify/inotify-helper.c:
2840 * gio/fam/fam-helper.c:
2841 Update to the new header names
2843 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2845 * gio/gdirectorymonitor.c:
2846 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2849 2007-10-04 Alexander Larsson <alexl@redhat.com>
2851 * gio/glocalfileinfo.c (get_access_rights):
2852 Set CAN_TRASH when we can move the file.
2853 We should really also check for a parent trash dir.
2855 2007-10-04 Alexander Larsson <alexl@redhat.com>
2857 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2858 Add can_trash access attribute
2860 2007-10-04 Alexander Larsson <alexl@redhat.com>
2863 (g_local_file_trash):
2864 Create info file first. This is per-spec and allows
2865 us to actually trash directories.
2867 2007-10-02 Alexander Larsson <alexl@redhat.com>
2869 * gio/gdesktopappinfo.c:
2870 Implement the new mime support code.
2871 Always set app as handling mimetype when being set as default for it
2873 2007-10-01 Alexander Larsson <alexl@redhat.com>
2875 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2876 Fix up check for xattrs:
2878 2007-10-01 Alexander Larsson <alexl@redhat.com>
2881 (g_app_info_set_as_default_for_extension):
2882 (g_app_info_add_supports_type):
2883 (g_app_info_can_remove_supports_type):
2884 (g_app_info_remove_supports_type):
2885 Make these fail nicely if not implemented
2887 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2889 * gio/glocalfileoutputstream.c:
2890 * gio/glocalfileoutputstream.h:
2895 * programs/gio-save.c:
2896 Add a GFileCreateFlags argument to operations that can create
2899 2007-10-01 Alexander Larsson <alexl@redhat.com>
2901 * gio/gappinfo.[ch]:
2902 * gio/gdesktopappinfo.c:
2903 Add more (stubbed out) mime API needed for nautilus
2905 2007-10-01 Alexander Larsson <alexl@redhat.com>
2908 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2909 Add g_app_info_set_as_default_for_extension.
2911 * gio/gdesktopappinfo.c:
2912 Dummy for g_app_info_set_as_default_for_extension
2913 Support flags in g_app_info_create_from_commandline
2915 * gio/gwin32appinfo.c:
2917 Update for API changes
2919 * gio/gthemedicon.c:
2920 Properly NULL-terminate list of icon names
2922 2007-09-28 Alexander Larsson <alexl@redhat.com>
2924 * gio/gloadableicon.h:
2925 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2927 2007-09-28 Alexander Larsson <alexl@redhat.com>
2930 Install headers in $includedir/gio-standalone/
2932 * gio-2.0.pc.in: Added.
2933 * gio-standalone.pc.in: Removed.
2936 Renamed pkg-config file to match glib (for future move)
2937 Update to the new include dir
2940 Add more TODO comments
2942 2007-09-28 Alexander Larsson <alexl@redhat.com>
2944 * gio/gdesktopappinfo.[ch]:
2945 Expose new_from_filename
2946 Add getter for is_hidden and handle it better
2948 2007-09-28 Alexander Larsson <alexl@redhat.com>
2950 * gio/gfileinfo.[ch]:
2951 Rename g_file_size_format_for_display to
2952 g_format_file_size_for_display.
2953 Now it doesn't have the g_file prefix, so we
2954 can later move it to glib.
2956 2007-09-28 Alexander Larsson <alexl@redhat.com>
2958 * gio/gappinfo.[ch]:
2959 Add g_app_info_get_id and g_app_info_get_executable.
2960 Make all getters non-reffing
2961 Make g_app_info_launch take GFile arguments.
2962 Add must_support_uris argument to g_app_info_get_default_for_type.
2964 * gio/gwin32appinfo.c:
2965 Update to GAppInfo api changes
2967 * gio/gdesktopappinfo.c:
2968 Update to GAppInfo api changes
2969 Implement supports_xdg_startup_notify
2971 * gio/gfileicon.c (g_file_icon_get_file):
2972 Make getter non-reffing.
2977 2007-09-27 Alexander Larsson <alexl@redhat.com>
2979 * gio/gfileinfo.[ch]:
2980 Add g_file_size_format_for_display helper
2982 2007-09-27 Alexander Larsson <alexl@redhat.com>
2984 * gio/glocalfileinfo.c:
2985 Set UNIX_GID from gid, not from uid
2987 2007-09-27 Alexander Larsson <alexl@redhat.com>
2990 Add g_file_set_attributes_async
2992 2007-09-27 Alexander Larsson <alexl@redhat.com>
2994 * gio/glocalfile.c (g_local_file_set_display_name):
2995 Fix set_display_name to actually rename to the right place.
2996 Use lstat to look for existing files so we don't overwrite
2999 2007-09-26 Alexander Larsson <alexl@redhat.com>
3002 Add g_file_set_display_name_async()
3004 2007-09-26 Alexander Larsson <alexl@redhat.com>
3007 Add load_partial_contents async calls
3010 Make internal function static
3012 2007-09-26 Alexander Larsson <alexl@redhat.com>
3014 * gio/glocalfileinfo.c:
3015 Correctly detect broken symlinks
3017 2007-09-26 Alexander Larsson <alexl@redhat.com>
3019 * gio/gcancellable.c (g_cancellable_cancel):
3020 Allow cancel on NULL cancellable
3022 2007-09-25 Alexander Larsson <alexl@redhat.com>
3024 * gio/gsimpleasyncresult.c:
3025 Don't allocate g_error manually.
3026 Fixes g_slice/g_new mixup crash
3028 2007-09-25 Alexander Larsson <alexl@redhat.com>
3030 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3031 Actually set active_backend.
3032 This means the monitor will be cancelled correctly.
3034 2007-09-25 Alexander Larsson <alexl@redhat.com>
3036 * gio/gdirectorymonitor.c:
3037 Set timeout to NULL when destroying
3039 2007-09-25 Alexander Larsson <alexl@redhat.com>
3042 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3043 that is a better description of the error.
3045 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3047 * gio/gvfs.c: (g_vfs_get_local):
3048 Make the local vfs variable static. The same instance should
3051 2007-09-24 Alexander Larsson <alexl@redhat.com>
3053 * gio/glocalfileinfo.c:
3054 Pass in actual length read into sniffer, not the length
3057 2007-09-21 Alexander Larsson <alexl@redhat.com>
3059 * gio/gfileenumerator.c:
3062 * gio/gfileinputstream.c:
3063 * gio/gfileoutputstream.c:
3064 * gio/ginputstream.c:
3065 * gio/goutputstream.c:
3066 Don't crash if async callbacks are NULL
3068 2007-09-20 Alexander Larsson <alexl@redhat.com>
3071 Add async enumerate_children method and default
3074 2007-09-20 Alexander Larsson <alexl@redhat.com>
3077 Add g_file_contains_file & g_file_get_relative_path, since they
3078 were needed for nautilus.
3079 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3084 Implement new methods
3086 2007-09-17 Alexander Larsson <alexl@redhat.com>
3089 * gio/gfileinputstream.[ch]:
3090 * gio/gfileoutputstream.[ch]:
3092 * gio/glocalfileenumerator.[ch]:
3093 * gio/glocalfileinfo.[ch]:
3094 * gio/glocalfileinputstream.c:
3095 * gio/glocalfileoutputstream.c:
3096 * gio/gpollfilemonitor.c:
3097 * programs/gio-copy.c:
3098 * programs/gio-info.c:
3099 * programs/gio-move.c:
3100 Rename get_file_info to query_info() to make it clearer
3101 that these are not simple getters, but do i/o.
3103 2007-09-17 Alexander Larsson <alexl@redhat.com>
3105 * gio/gdatainputstream.[ch]:
3106 * gio/test-streams.c:
3107 Use _read_XXX instead of _get_XXX for the i/o calls
3110 2007-09-17 Alexander Larsson <alexl@redhat.com>
3113 Added needed stuff to TODO comment
3115 2007-09-17 Alexander Larsson <alexl@redhat.com>
3117 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3118 Don't error out removing the backup copy if it doesn't
3121 2007-09-14 Alexander Larsson <alexl@redhat.com>
3123 * programs/Makefile.am:
3124 * programs/gvfs-*.c:
3126 Renamed apps from gvfs-xxx to gio-xxx.
3128 2007-09-14 Alexander Larsson <alexl@redhat.com>
3131 * gio/gfileoutputstream.[ch]:
3132 * gio/glocalfileoutputstream.c:
3133 * programs/gvfs-save.c:
3134 g_file_output_stream_get_etag doesn't do i/o, so remove
3135 cancellation and error.
3137 2007-09-14 Alexander Larsson <alexl@redhat.com>
3140 Add new_etag output to replace_contents functions
3142 2007-09-14 Alexander Larsson <alexl@redhat.com>
3144 * gio/gfileoutputstream.[ch]:
3145 Add async get_file_info and default implementation
3147 2007-09-14 Alexander Larsson <alexl@redhat.com>
3149 * gio/gfileinputstream.c:
3150 Implement fallback wrapper for async get_file_info
3152 2007-09-14 Alexander Larsson <alexl@redhat.com>
3155 Add etag out argument to load_contents
3160 2007-09-14 Alexander Larsson <alexl@redhat.com>
3162 * gio/gcontenttype.c (looks_like_text):
3163 Whitespace like tab, cr and lf do not make the
3166 2007-09-14 Alexander Larsson <alexl@redhat.com>
3168 * gio/gfileinputstream.[ch]:
3169 Add async get_file_info.
3171 2007-09-13 Alexander Larsson <alexl@redhat.com>
3173 * gio/goutputstream.c (g_output_stream_write_all):
3174 Allow NULL for bytes_written
3176 2007-09-13 Alexander Larsson <alexl@redhat.com>
3178 * gio/gmemoryinputstream.[ch]:
3179 Add accessors for data
3181 2007-09-13 Alexander Larsson <alexl@redhat.com>
3183 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3184 Don't crash if length is NULL