1 2008-01-28 Matthias Clasen <mclasen@redhat.com>
3 * gfile.c (g_file_copy_async): Fix docs
5 2008-01-27 Matthias Clasen <mclasen@redhat.com>
7 * gbufferedinputstream.c:
9 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
12 2008-01-27 Matthias Clasen <mclasen@redhat.com>
14 * glocalfile.c: Avoid trivial differences in translatable strings.
16 2008-01-25 Matthias Clasen <mclasen@redhat.com>
18 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
19 build with gcc 3.4 (#509419)
21 2008-01-25 Matthias Clasen <mclasen@redhat.com>
23 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
24 (#509994, Murray Cumming)
26 2008-01-25 Matthias Clasen <mclasen@redhat.com>
28 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
29 * gioscheduler.c: Keep calling io jobs until they return FALSE;
30 this allows big jobs to be executed in chunks, instead of blocking
31 the main loop for a long time.
33 * gsimpleasyncresult.c:
34 * giofile.c: Adapt callers.
36 2008-01-25 Alexander Larsson <alexl@redhat.com>
39 Implement changes discussed on xdg list.
40 Now we can add supported mimetypes by just using defaults.list
41 We can also remove associations in defaults.list.
43 2008-01-25 Alexander Larsson <alexl@redhat.com>
46 Don't make local copy of desktop file
47 for mimetype changes if the file already
48 supports the new mimetype.
50 2008-01-25 Matthias Clasen <mclasen@redhat.com>
54 * gbufferedinputstream.c:
55 * glocalfile.c: String improvements. (#511966,
56 Theppitak Karoonboonyanan)
58 2008-01-24 Matthias Clasen <mclasen@redhat.com>
60 * gioscheduler.h: Expand docs a bit.
62 2008-01-24 Alexander Larsson <alexl@redhat.com>
65 Add g_drive_get_identifier and
66 g_drive_enumerate_identifiers
69 Add g_volume_get_identifier and
70 g_volume_enumerate_identifiers
76 Implement identifiers for unix backend
78 2008-01-24 Alexander Larsson <alexl@redhat.com>
83 Add g_file_copy_async() (#511580)
84 Based on patch from Carlos Garcia Campos
86 2008-01-23 Matthias Clasen <mclasen@redhat.com>
88 * gioscheduler.c: Some documentation additions.
90 2008-01-22 Alexander Larsson <alexl@redhat.com>
93 (g_desktop_app_info_new):
96 2008-01-22 Alexander Larsson <alexl@redhat.com>
99 (g_desktop_app_info_new_from_filename):
102 2008-01-22 Alexander Larsson <alexl@redhat.com>
104 * glocalfileinfo.c (get_thumbnail_attributes):
107 2008-01-22 Alexander Larsson <alexl@redhat.com>
110 (canonicalize_filename):
111 Canonicalize paths that start with more than
116 (test_g_file_new_for_path):
119 2008-01-22 Alexander Larsson <alexl@redhat.com>
122 Allow UTF-8 in file:// parse names.
125 * tests/data-input-stream.c:
126 * tests/data-output-stream.c:
127 * tests/g-file-info.c:
129 Added a bunch of tests from Tomas Bzatek
131 2008-01-21 Matthias Clasen <mclasen@redhat.com>
133 * === Released 2.15.3 ===
135 2008-01-21 Alexander Larsson <alexl@redhat.com>
137 * gfileinputstream.[ch]:
138 * gfileoutputstream.[ch]:
140 Remove duplicated GSeekable functions. (#509990)
141 Just use the g_seekable_xxx() calls instead.
143 2008-01-21 Matthias Clasen <mclasen@redhat.com>
146 * gvolumemanager.c: Whitespace cleanups.
148 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
149 Use the right mode when creating the file.
151 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
154 * gfileinputstream.c:
156 * goutputstream.c: Documentation: Fixed minor typos
157 and added more mentions of specific _finish() functions.
159 2008-01-21 Alexander Larsson <alexl@redhat.com>
161 * inotify/Makefile.am:
162 * inotify/inotify-helper.c:
163 * inotify/inotify-kernel.c:
164 * inotify/inotify-path.c:
165 * inotify/local_inotify.h: Removed.
166 * inotify/local_inotify_syscalls.h: Removed.
167 Removed the included copies of the inotify
168 headers. We now only use the <sys/inotify.h>
169 header which exists on modern systems.
170 This fixes problems on ARM and SH5 (#510448)
171 but is also generally much cleaner and future
172 safe. For instance, if other OSes add support
173 for inotify it should "just work".
175 2008-01-20 Matthias Clasen <mclasen@redhat.com>
177 * inotify/*.c: Coding style fixes.
178 * inotify/inotify-missing.c: Use g_timeout_add_seconds
179 for the 1/4 Hz timer.
181 2008-01-20 Matthias Clasen <mclasen@redhat.com>
185 * gmemoryinputstream.c:
186 * gmemoryoutputstream.c:
188 * gthemedicon.c: Documentation updates
190 2008-01-20 Murray Cumming <murrayc@murrayc.com>
192 * gfile.c: documentation: Fixed more minor
195 2008-01-18 Murray Cumming <murrayc@murrayc.com>
197 * gmount.c: (g_mount_remount): documentation:
198 Mention g_mount_remount_finish() instead of
199 g_mount_unmount_finish().
201 2008-01-18 Murray Cumming <murrayc@murrayc.com>
205 * gfile.c: Fixed some minor typos in the
208 2008-01-18 Murray Cumming <murrayc@murrayc.com>
210 * gio/gvolumemonitor.c:
211 (g_volume_monitor_get_connected_drives):
212 (g_volume_monitor_get_volumes):
213 (g_volume_monitor_get_mounts): Documentation:
214 Clarify the ownership of the regurn GLists.
216 2008-01-17 Alexander Larsson <alexl@redhat.com>
219 Add the async find_enclosing_mount version
220 to the header file too.
222 2008-01-17 Alexander Larsson <alexl@redhat.com>
225 Add async version of find_enclosing_mount
226 with default implementation.
228 2008-01-17 Alexander Larsson <alexl@redhat.com>
233 Allow calls to implementation of copy and write
234 even if the type of the file implementations is
235 different. This can be used to implement native
236 upload and download calls in a vfs.
240 Protect against the case where move is called
241 with one file not being local.
243 Make sure we call the progress callback once
244 in the native move operation so that the caller
245 knows how many bytes were copied.
247 2008-01-16 Murray Cumming <murrayc@murrayc.com>
250 * gdatainputstream.c:
252 * gfileoutputstream.c:
257 * gunixmounts.c: Corrected some typos in the documentation:
259 its -> it's (where appropriate).
261 2008-01-16 Alexander Larsson <alexl@redhat.com>
265 Add g_file_query_exists (#508771)
267 2008-01-15 Murray Cumming <murrayc@murrayc.com>
272 * gvolume.c: For async functions that have no non-async
273 version, document that the GAsyncReadyCallback may be NULL.
276 2008-01-15 Alexander Larsson <alexl@redhat.com>
278 * gmemoryinputstream.c:
279 * gmemoryoutputstream.c:
280 Don't do pointer arithmetic on void * (#508602)
281 Patch from Kazuki IWAMOTO
283 2008-01-14 Matthias Clasen <mclasen@redhat.com>
285 * === Released 2.15.2 ===
287 2008-01-14 Alexander Larsson <alexl@redhat.com>
289 * gfile.c (g_file_monitor_file):
290 Don't set error here, since we fallback to polling monitor.
292 2008-01-14 Alexander Larsson <alexl@redhat.com>
295 (g_file_monitor_directory):
296 (g_file_monitor_file):
297 Add GError to file monitor calls
299 * glocaldirectorymonitor.c:
300 * glocaldirectorymonitor.h:
302 * glocalfilemonitor.c:
303 * glocalfilemonitor.h:
305 Update for above change
307 2008-01-14 Alexander Larsson <alexl@redhat.com>
311 Handle root correctly in g_file_get_relative_path (#508719)
313 2008-01-14 Alexander Larsson <alexl@redhat.com>
316 Clean up docs and example for GAsyncResult (#508074)
318 2008-01-11 Murray Cumming <murrayc@murrayc.com>
320 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
321 and correct some spelling mistakes. Bug #508108.
323 2008-01-11 Matthias Clasen <mclasen@redhat.com>
325 * glocalfileinfo.c: Add a comment.
327 2008-01-10 Murray Cumming <murrayc@murrayc.com>
329 * gfileinfo.c: GFileInfo description: Mention
330 how to actually set attributes in a GFile and how to discover
331 which attributes are settable. Bug #508378.
333 2008-01-10 A. Walton <awalton@svn.gnome.org>
335 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
336 (g_app_info_get_default_for_type):
337 Check for NULL content types.
339 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
341 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
343 2008-01-09 Murray Cumming <murrayc@murrayc.com>
345 * gfile.c: *_async() functions: Several small corrections
346 to the documentation, mostly correcting copy/paste errors
347 and improving some sentences.
349 2008-01-09 Dan Winship <danw@gnome.org>
351 * glocalfile.c (get_unique_filename): x86_64 fix
353 2008-01-09 Alexander Larsson <alexl@redhat.com>
358 Add g_unix_mount_guess_should_display and use
359 for unix volume monitor backend.
360 This means we more or less show what the
361 gnome-vfs backend did.
362 Based on patch from Padraig O'Briain
364 2008-01-09 Alexander Larsson <alexl@redhat.com>
368 Add g_themed_icon_new_with_default_fallbacks
371 Use default fallbacks for icons
373 2008-01-09 Alexander Larsson <alexl@redhat.com>
376 * gmountoperation.[ch]:
377 Change the API a bit so that unhandled methods
378 get reported via the reply, rather than by
379 the signal emission return value. This is because
380 some handlers can't know this immediately without
381 doing I/O, and this is an async operation that
384 2008-01-09 Alexander Larsson <alexl@redhat.com>
387 * fam/gfamdirectorymonitor.c:
388 * fam/gfamfilemonitor.c:
389 Fix double free crash (#508224)
390 Patch from Joe Marcus Clarke
392 008-01-07 Matthias Clasen <mclasen@redhat.com>
394 * === Released 2.15.1 ===
396 2008-01-07 Alexander Larsson <alexl@redhat.com>
398 * gunixinputstream.c (g_unix_input_stream_skip_finish):
399 Fix warning (#507835)
401 2008-01-07 Alexander Larsson <alexl@redhat.com>
404 Pass --internal to glib-genmarshal
409 Use better types for signal arguments (#507822)
411 2008-01-07 Alexander Larsson <alexl@redhat.com>
414 Build test subdir after .
415 Remove gdirectorymonitor.[ch]
417 * gdirectorymonitor.[ch]:
421 Remove GDirectoryMonitor and make
422 GFileMonitor the baseclass for both file and
423 directory monitors. Lift the more generic
424 rate limiting code from GDirectoryMonitor
428 * fam/gfamdirectorymonitor.[ch]:
429 * inotify/ginotifydirectorymonitor.[ch]:
430 * inotify/inotify-helper.c:
431 * glocaldirectorymonitor.[ch]:
434 Update for the removed GDirectoryMonitor.
436 * gmemoryoutputstream.c:
437 Remove ununsed variable
439 2008-01-07 Alexander Larsson <alexl@redhat.com>
441 * gmemoryinputstream.c:
442 Translate error strings
445 * gmemoryoutputstream.[ch]:
446 New implementation that avoids using GByteArray
447 in implementation and API. (#506377)
449 2008-01-06 Matthias Clasen <mclasen@redhat.com>
451 * tests/*: Add a test for memory input streams.
453 * Makefile.am: Add tests to SUBDIRS.
455 2008-01-06 Matthias Clasen <mclasen@redhat.com>
457 * glocalfilemonitor.c:
458 * glocaldirectorymonitor.c: Mark property nicks and blurbs
461 2008-01-06 Matthias Clasen <mclasen@redhat.com>
463 * gdesktopappinfo.c: Fix a docs typo.
465 * gfileattribute.c: Add information about extended attributes
466 to the documentation. (#505058)
468 2008-01-04 Alexander Larsson <alexl@redhat.com>
472 Use the right type (uint) for the ask_password signal.
474 2008-01-04 Alexander Larsson <alexl@redhat.com>
479 Add g_app_info_supports_files()
480 Remove desktop arg from g_app_info_should_show().
482 * gdesktopappinfo.[ch]:
483 Implement g_app_info_supports_files() and new should_show()
484 Add g_desktop_app_info_set_desktop_env() to set the desktop
485 for should_show(). (This will be set by gtk+ later)
487 2008-01-04 Alexander Larsson <alexl@redhat.com>
490 * gmemoryinputstream.[ch]:
491 Improve API so that you can use multiple chunks
492 of memory and custom destroy functions. (#506374)
494 2008-01-03 Alexander Larsson <alexl@redhat.com>
497 Handle NULL attribute matchers safely, as we return this
498 for empty attribute matcher strings.
500 2008-01-03 Alexander Larsson <alexl@redhat.com>
502 * gunixmounts.c (g_unix_is_mount_path_system_internal):
503 Add /usr/local to list of internal mountpoints
505 2008-01-03 Alexander Larsson <alexl@redhat.com>
508 Check for HAVE_LCHOWN (#505887)
510 2008-01-03 Alexander Larsson <alexl@redhat.com>
514 Add define for selinux context attribute.
515 Fix missing : -> :: namespace separator change
516 Fix missing _ -> - name change for xattr-sys.
519 2008-01-03 Alexander Larsson <alexl@redhat.com>
522 Link to libglib and libgobject directly (#504879)
523 Patch from Sebastien Bacher
525 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
527 * gfile.c: Expanded the g_file_new_for_commandline_arg
528 description a bit, based on the code and the docs of the
529 other g_file_new_for_* functions.
531 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
533 * gfilemonitor.h: Fixed typo in docs.
535 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
537 Updates to GIO documentation. (#506395, Mikael Hermansson)
539 * gcontenttype.c: Describe memory management for return value of
540 g_content_types_get_registered(). Missing piece from #505815.
541 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
542 GVolume, GDrive, GMounts, which hopefully gives the user less
543 confusions when using this API. Following explainations from
544 Alexander Larsson on gtk-devel-list.
546 2007-12-30 Matthias Clasen <mclasen@redhat.com>
548 * gfileinfo.c: Expand the long description.
550 2007-12-30 Matthias Clasen <mclasen@redhat.com>
553 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
554 fix builds with --disable-visibility. (#500273, Christian Persch)
556 2007-12-30 Matthias Clasen <mclasen@redhat.com>
558 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
559 in the list of returned app infos.
561 2007-12-30 Matthias Clasen <mclasen@redhat.com>
563 * gappinfo.c: Fix a cross-reference
565 2007-12-30 Matthias Clasen <mclasen@redhat.com>
567 * gfileinputstream.c:
568 * gfileoutputstream.c:
574 * gfileinfo.c: Documentation updates.
576 2007-12-26 Matthias Clasen <mclasen@redhat.com>
578 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
581 2007-12-26 Matthias Clasen <mclasen@redhat.com>
583 * gcontenttype.c (g_content_types_get_registered): Don't return
584 freed memory (#505815, Mikael Hermansson)
586 2007-12-25 Paolo Borelli <pborelli@katamail.com>
588 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
589 used to detect statbuf->st_blocks. (#505042)
591 2007-12-24 Matthias Clasen <mclasen@redhat.com>
593 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
594 environment handling. (#504829, Cosimo Cecchi)
596 2007-12-22 Matthias Clasen <mclasen@redhat.com>
598 * gappinfo.c: Doc improvements
600 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
603 2007-12-20 Matthias Clasen <mclasen@redhat.com>
605 * === Released 2.15.0 ===
607 2007-12-20 Hans Breuer <hans@breuer.org>
609 * makefile.msc : don't build gdesktopappinfo.obj, it collides
610 with symbols gwin32appinfo.obj, added gmount.obj
611 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
613 2007-12-20 Alexander Larsson <alexl@redhat.com>
619 * gfilenamecompleter.c:
622 * gpollfilemonitor.c:
623 File attribute renames:
626 id::fs -> id::filesystem
628 2007-12-20 Alexander Larsson <alexl@redhat.com>
637 Add GMountUnmountFlags to all unmount and
639 Add g_mount_remount() call.
641 2007-12-20 Alexander Larsson <alexl@redhat.com>
643 * gvfs.c (get_default_vfs):
644 Fix unused variable warning
646 2007-12-19 Matthias Clasen <mclasen@redhat.com>
648 * pltcheck.sh: Update
650 2007-12-19 Matthias Clasen <mclasen@redhat.com>
652 * gunionvolumemonitor.c:
653 * gunixmount.c: Remove C99 comments
655 2007-12-19 Matthias Clasen <mclasen@redhat.com>
657 * gio.symbols: Add some missing symbols
659 2007-12-19 Alexander Larsson <alexl@redhat.com>
662 Make g_io_modules_load_all_in_directory not unuse
663 loaded modules so that users of it can do stuff
665 Init internal "module" types.
666 Initialize static prio and name for types so that
667 we don't have to load modules to get it.
669 * gnativevolumemonitor.h:
671 Move is_supported to parent class so that
672 non-native monitors can avoid being initialized
673 too. (For instance GDaemonVolumeMonitor if we're
674 not using GDaemonVfs.)
676 * glocaldirectorymonitor.[ch]:
677 * glocalfilemonitor.[ch]:
678 * gunionvolumemonitor.c:
679 * gunixvolumemonitor.c:
681 Find plugins using the static prio+name to
682 avoid unnecessarily loading the modules.
684 2007-12-19 Alexander Larsson <alexl@redhat.com>
689 2007-12-19 Alexander Larsson <alexl@redhat.com>
691 * gunionvolumemonitor.c:
692 Store the native type as GType, not class so that
693 we can unload it. But still avoid unnecessarily
696 2007-12-19 David Zeuthen <davidz@redhat.com>
698 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
699 add signals 'disconnected' and 'eject-button' on GDrive. Add
700 signal 'removed' on GVolume and 'unmounted' on GMount.
702 * gdrive.c: (g_drive_base_init):
704 * gfile.c: (g_file_mount_mountable),
705 (g_file_mount_enclosing_volume):
708 * gmount.c: (g_mount_base_init):
710 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
711 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
712 * gvolume.c: (g_volume_base_init), (g_volume_mount):
716 2007-12-17 Matthias Clasen <mclasen@redhat.com>
718 * *.c: Fix up includes in the section docs.
720 2007-12-17 Alexander Larsson <alexl@redhat.com>
722 * gnativevolumemonitor.h:
723 * gunionvolumemonitor.c:
724 * gunixvolumemonitor.c:
725 Add is_supported() to GNativeVolumeMonitorClass so
726 that we can avoid having to create an object to see
727 if the backend is supported at runtime.
728 Also add name member and an env var to pick a specific
729 volume monitor backend.
733 Add cancellable to _g_mount_get_for_mount_path()
735 * glocaldirectorymonitor.c:
736 * glocalfilemonitor.c:
737 Avoid loading and unloading modules while sorting.
739 2007-12-17 Matthias Clasen <mclasen@redhat.com>
742 * gunixmounts.[hc]: Namespace waste reduction, move some
743 g_get_unix_mount functions to the g_unix_mount namespace.
746 * gunixvolumemonitor.c:
748 * glocaldirectorymonitor.c: Update all callers.
750 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
752 2007-12-17 Alexander Larsson <alexl@redhat.com>
755 Add doc comments about what GFile operations are
756 guaranteed to not block.
758 2007-12-17 Alexander Larsson <alexl@redhat.com>
761 Add missing #ifdef fixing OSX build.
762 (#503334, patch from Richard Hult)
764 2007-12-14 David Zeuthen <davidz@redhat.com>
768 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
769 (g_mount_eject), (g_mount_eject_finish):
771 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
772 (get_volume_for_uuid), (get_mount_for_uuid),
773 (g_union_volume_monitor_class_init),
774 (get_default_native_type_with_exclude), (get_default_native_type),
775 (get_native_type), (update_native_type),
776 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
777 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
778 (g_unix_mount_can_eject), (eject_unmount_cb),
779 (eject_unmount_read_error), (eject_unmount_do),
780 (g_unix_mount_unmount), (g_unix_mount_eject),
781 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
782 * gunixmounts.c: (g_unix_mount_guess_can_eject),
783 (g_unix_mount_point_guess_can_eject):
785 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
786 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
787 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
788 (g_unix_volume_mount), (g_unix_volume_eject),
789 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
790 * gunixvolumemonitor.c: (get_volume_for_uuid),
791 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
793 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
794 (g_volume_eject), (g_volume_eject_finish):
796 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
797 (g_volume_monitor_get_mount_for_uuid):
800 Provide eject() on both GMount and GVolume and utility functions
801 to guess whether a GUnixMountPoint or GUnixMountEntry should be
802 ejected. Introduce the concept of UUID's and wire it into GVolume
803 and GMount and provide API on GVolumeMonitor to find such
804 instances. Also handle the case where an external
805 GNativeVolumeMonitor fails to initialize. Lock around the
806 _g_get_mount_for_mount_path() function such that volume monitor
807 implementations won't have to do locking themselves.
809 2007-12-17 Matthias Clasen <mclasen@redhat.com>
817 * gvolume.h: Documentation updates
819 2007-12-14 Matthias Clasen <mclasen@redhat.com>
822 * gfile.h: Doc updates
824 2007-12-14 Matthias Clasen <mclasen@redhat.com>
827 * gdesktopappinfo.c: Use hash table iterators.
829 2007-12-14 Alexander Larsson <alexl@redhat.com>
832 * gfileattribute.[ch]:
833 * gfileattribute-priv.h:
834 Move GFileAttributeValue to a private header, as
838 Make set_attribute take a type + a pointer instead
839 of a GFileAttributeValue.
842 Fix up for above changes.
843 Add g_file_info_get_attribute_data to get
844 all info in one call, g_file_info_get_attribute_status
845 to get the status and g_file_info_get_attribute_as_string.
849 * glocalfileinfo.[ch]:
853 Make _guess_type static.
855 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
858 * inotify/Makefile.am: Fixed build when srcdir != builddir,
859 made mkenums and friends use temporary files to avoid leaving
860 empty generated files on failure (#503470).
862 2007-12-14 Alexander Larsson <alexl@redhat.com>
867 2007-12-14 Alexander Larsson <alexl@redhat.com>
871 * gfileattribute.[ch]:
874 * glocalfileoutputstream.c:
875 * gmountoperation.[ch]:
876 * goutputstream.[ch]:
877 Clean up all flags enums to not have _FLAGS in them
878 Make the names of some of the enums better.
883 2007-12-14 Michael Natterer <mitch@imendio.com>
885 * gio.symbols: fix g_io_scheduler symbol names.
887 2007-12-14 Alexander Larsson <alexl@redhat.com>
893 * gbufferedinputstream.h:
894 * gbufferedoutputstream.h:
897 * gdatainputstream.h:
898 * gdataoutputstream.h:
900 * gdirectorymonitor.h:
907 * gfileinputstream.h:
909 * gfilenamecompleter.h:
910 * gfileoutputstream.h:
911 * gfilterinputstream.h:
912 * gfilteroutputstream.h:
920 * gmemoryinputstream.h:
921 * gmemoryoutputstream.h:
926 * gsimpleasyncresult.h:
928 * gunixinputstream.h:
930 * gunixoutputstream.h:
934 * inotify/Makefile.am:
935 Only allow including <gio/gio.h> from apps
937 2007-12-14 Alexander Larsson <alexl@redhat.com>
940 * gsimpleasyncresult.c:
941 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
942 Split out the send_to_mainloop call into two versions instead
943 of having the block argument.
945 2007-12-13 Alexander Larsson <alexl@redhat.com>
949 * gbufferedinputstream.c:
951 * gfileinputstream.c:
952 * gfileoutputstream.c:
956 g_push/pop_current_cancellable ->
957 g_cancellable_push/pop_current
959 2007-12-13 Alexander Larsson <alexl@redhat.com>
963 Rename g_mount_for_location to g_file_mount_enclosing_volume.
965 2007-12-13 Alexander Larsson <alexl@redhat.com>
968 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
970 2007-12-12 Alexander Larsson <alexl@redhat.com>
973 Fix race condition when freeing proxy in
974 g_io_job_send_to_mainloop().
976 2007-12-12 Alexander Larsson <alexl@redhat.com>
982 Make attribute namespace separator "::" instead of ":".
983 Use - instead of _ as separator in attribute names.
985 2007-12-12 Alexander Larsson <alexl@redhat.com>
987 * gbufferedinputstream.h:
988 * gbufferedoutputstream.h:
989 * gdatainputstream.h:
990 * gdataoutputstream.h:
991 * gdirectorymonitor.h:
993 * gfileinputstream.h:
995 * gfileoutputstream.h:
996 * gfilterinputstream.h:
997 * gfilteroutputstream.h:
999 * glocalfileinputstream.h:
1000 * glocalfileoutputstream.h:
1001 * gmemoryinputstream.h:
1002 * gmemoryoutputstream.h:
1003 * gnativevolumemonitor.h:
1005 * gunixinputstream.h:
1006 * gunixoutputstream.h:
1009 s/parent/parent_instance/ in GObjects
1011 2007-12-12 Alexander Larsson <alexl@redhat.com>
1016 No need for padding for interfaces
1018 2007-12-12 Alexander Larsson <alexl@redhat.com>
1022 * gbufferedinputstream.c:
1023 * gbufferedoutputstream.c:
1026 * gdatainputstream.[ch]:
1027 * gdesktopappinfo.c:
1028 * gdirectorymonitor.c:
1030 * gfileattribute.[ch]:
1033 * gfileinputstream.h:
1034 * gfilemonitor.[ch]:
1035 * gfileoutputstream.[ch]:
1036 * gfilterinputstream.h:
1037 * gfilteroutputstream.h:
1040 * gloadableicon.[ch]:
1041 * gmemoryinputstream.c:
1042 * gmountoperation.c:
1044 Fix up a bunch of details in the docs.
1049 2007-12-11 David Zeuthen <davidz@redhat.com>
1051 Rework how volumes, drives and volume monitoring is
1052 done. Previosly the model was
1054 GDrive <1-1> GVolume
1056 where a GDrive instance represented a mount point and a GVolume
1057 instance represented a mounted file system. This patch changes it
1060 GDrive <1-N> GVolume <1-1> GMount
1062 where GMount now serves the purpose of the old GVolume and the new
1063 GVolume serves the purpose of the old GDrive. In addition the new
1064 GDrive interface is used to represent a collection of GVolume
1065 instances (typically partitions) and also contains utility to query
1066 the state of the physical drive the GDrive object represents (such
1067 as checking for media, polling the drive, ejecting the media etc.).
1069 Also implement mounting and unmounting in the Unix volume monitor
1070 backend. A subquent patch will introduce GDrive support for ejection
1074 * gdrive.c: (g_drive_is_media_check_automatic),
1075 (g_drive_is_media_removable), (g_drive_has_media),
1076 (g_drive_can_poll_for_media), (g_drive_eject),
1077 (g_drive_eject_finish), (g_drive_poll_for_media),
1078 (g_drive_poll_for_media_finish):
1080 * gfile.c: (g_file_find_enclosing_mount):
1083 * glocaldirectorymonitor.c:
1084 (g_local_directory_monitor_constructor), (mounts_changed):
1085 * glocalfile.c: (get_mount_info),
1086 (g_local_file_find_enclosing_mount),
1087 (g_local_file_file_iface_init):
1088 * gnativevolumemonitor.h:
1089 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1090 (get_connected_drives), (g_union_volume_monitor_class_init),
1091 (child_volume_added), (child_volume_removed),
1092 (child_volume_changed), (child_mount_added), (child_mount_removed),
1093 (child_mount_pre_unmount), (child_mount_changed),
1094 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1095 (g_union_volume_monitor_remove_monitor),
1096 (_g_mount_get_for_mount_path):
1097 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1098 (guess_system_internal), (_g_get_unix_mounts),
1099 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1100 (g_unix_mount_free), (g_unix_mount_compare),
1101 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1102 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1103 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1104 (type_to_icon), (g_unix_mount_guess_name),
1105 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1106 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1107 (_resolve_symlink), (_resolve_dev_root):
1109 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1110 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1111 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1112 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1113 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1114 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1115 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1116 (g_unix_volume_volume_iface_init):
1118 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1119 (get_mounts), (get_volumes), (get_connected_drives),
1120 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1121 (mountpoints_changed), (mounts_changed),
1122 (g_unix_volume_monitor_init),
1123 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1124 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1125 * gunixvolumemonitor.h:
1126 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1127 (g_volume_mount), (g_volume_mount_finish):
1129 * gvolumemonitor.c: (g_volume_monitor_class_init),
1130 (g_volume_monitor_get_connected_drives),
1131 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1134 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1136 * gmountoperation.h (GPasswordFlags): Close the gap
1138 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1140 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1142 * gdesktopappinfo.[hc]: Remove _-prefixes
1144 2007-12-10 Tor Lillqvist <tml@novell.com>
1146 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1149 2007-12-10 Alexander Larsson <alexl@redhat.com>
1151 * gfile.c (g_file_set_display_name):
1152 Don't hardcode '/' (#502727)
1154 2007-12-09 Hans Breuer <hans@breuer.org>
1156 * makefile.msc : follow lib naming convention
1157 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1158 for user and group name, tested with ../tests/gio-ls
1160 2007-12-09 A. Walton <awalton@svn.gnome.org>
1162 * gdesktopappinfo.c:
1168 * gfileenumerator.c:
1173 * gmemoryinputstream.c:
1174 * gmemoryoutputstream.c:
1176 * gsimpleasyncresult.c:
1177 More documentation cleanup and filling in missing information, bringing
1178 GIO to 99% symbol coverage.
1180 2007-12-08 Hans Breuer <hans@breuer.org>
1182 [gio compiles and links on win32, not sure how much already works]
1183 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1184 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1185 base on win32 API; prefer g_lstat() over lstat(); instead of
1186 localtime_r() use an all GLib implementation on win32;
1187 get_mount_info() still needs a win32 specifc implementation
1188 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1189 win32_get_file_user_info to get owner/group info without uid/gid
1190 * glocalfileinputstream.c : include <io.h> on win32
1191 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1192 definition, use g_win32_ftruncate() for G_OS_WIN32
1193 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1194 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1195 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1196 * makefile.msc : updated
1198 2007-12-07 Alexander Larsson <alexl@redhat.com>
1200 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1201 Avoid warning spew if error == NULL
1203 2007-12-07 Alexander Larsson <alexl@redhat.com>
1206 Update docs wrt etags
1208 2007-12-06 Alexander Larsson <alexl@redhat.com>
1211 Include sys/types.h for dev_t (#501919)
1213 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1217 Make abicheck and pltcheck pass.
1219 2007-12-05 Alexander Larsson <alexl@redhat.com>
1222 * giomodule-priv.h: Added.
1223 * glocaldirectorymonitor.c:
1224 * glocalfilemonitor.c:
1225 * gunionvolumemonitor.c:
1227 Actually add the declaration of _g_io_modules_ensure_loaded
1229 2007-12-05 Alexander Larsson <alexl@redhat.com>
1231 * gdatainputstream.c:
1236 * glocaldirectorymonitor.c:
1237 * glocalfilemonitor.c:
1238 * gunionvolumemonitor.c:
1240 Make g_io_modules_ensure_loaded a private function and
1241 don't pass in the dirname. This means we can do magic
1242 directory finding in the win32 version.
1243 Export the actual load-modules-in-directory code so that
1244 gvfs can reuse that.
1246 2007-12-05 Alexander Larsson <alexl@redhat.com>
1248 * gbufferedinputstream.c:
1249 * gbufferedoutputstream.c:
1252 * gfileenumerator.[ch]:
1253 * gfileinputstream.c:
1254 * gfileoutputstream.[ch]:
1255 * gfilterinputstream.c:
1256 * gfilteroutputstream.c:
1257 * ginputstream.[ch]:
1259 * glocalfileenumerator.c:
1260 * glocalfileinputstream.c:
1261 * glocalfileoutputstream.c:
1262 * gmemoryinputstream.c:
1263 * gmemoryoutputstream.c:
1264 * goutputstream.[ch]:
1267 * gunixinputstream.c:
1268 * gunixoutputstream.c:
1269 Rename all struct members named:
1270 read, write, close, truncate, or mount
1271 to foo_fn, as these are reserved names
1272 and could be defined as macros in libc.
1275 2007-12-04 Alexander Larsson <alexl@redhat.com>
1278 (g_output_stream_close):
1279 Only call flush if non-null.
1281 2007-11-30 Dan Winship <danw@gnome.org>
1283 * ginputstream.c (g_input_stream_set_pending): Make this take a
1284 GError and return a gboolean, and do the "outstanding operation"
1285 check (and the "stream is already closed" check) itself.
1286 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1288 * goutputstream.c (g_output_stream_set_pending)
1289 (g_output_stream_clear_pending): Likewise
1291 * gbufferedinputstream.c:
1292 * gfileinputstream.c:
1293 * gfileoutputstream.c: Update for that
1295 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1296 Like g_simple_async_report_error_in_idle, but takes a GError
1297 rather than building one.
1299 2007-11-30 Dan Winship <danw@gnome.org>
1301 * goutputstream.c: Don't cheat and unset the "pending" flag around
1302 inner calls. Instead, call the class method directly rather than
1303 the wrapper function that checks "pending"
1305 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1307 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1309 2007-12-03 Hans Breuer <hans@breuer.org>
1311 [start of port to win32/msvc]
1312 * gcancellable.c : HAVE_UNIST_H and _pipe()
1313 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1314 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1315 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1317 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1318 * glocalvfs.c : use HAVE_PWD_H
1319 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1320 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1321 * Makefile.am : added to EXTRA_DIST
1323 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1325 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1328 2007-12-03 Alexander Larsson <alexl@redhat.com>
1331 Handle OSX style xattrs API (#500506)
1333 2007-12-03 Alexander Larsson <alexl@redhat.com>
1337 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1339 2007-12-02 A. Walton <awalton@svn.gnome.org>
1343 Documentation accuracy fixes.
1345 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1347 * gioenumtypes.c.template: Fix typo.
1349 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1351 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1353 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1355 * gdirectorymonitor.c:
1356 * gfilemonitor.c: Add properties
1358 * gbufferedoutputstream.c: Don't mark buffer-size property
1361 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1363 * gbufferedoutputstream.c: Add auto-grow property.
1365 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1367 * *.c: Unify the capitalization of section headings.
1369 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1371 * gmountoperation.c: Add properties
1373 * gdatainputstream.c: Turn byte-order and newline-type into
1376 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1378 * gioenumtypes.[hc].template: Templates for enum registration
1380 * Makefile.am: Generate gioenumtypes.[hc]
1382 * gio.h: Include gioenumtypes.h
1384 * gfile.h: Add some explicit nicks.
1386 * gio.symbols: Add new symbols
1388 * pltcheck.sh: Adjust
1390 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1392 * *.c: Explain etags and link to the explanation
1394 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1396 * *.c: Explain I/O priority.
1398 * *.c: More coding style fixes.
1400 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1402 * gasyncresult.c: Add another paragraph to the intro,
1403 adjust coding style of example.
1405 2007-11-29 A. Walton <awalton@svn.gnome.org>
1408 Fixes unknown meaning in GAppLaunchContext docs.
1410 Clarify asynchronous ops.
1412 Fix entity tag docs.
1415 Provides missing gtk-doc section, fixes API docs slighly.
1416 * gsimpleasyncresult.c:
1417 Fill in missing info in docs.
1418 * gunixinputstream.c:
1419 * gunixoutputstream.c:
1420 Be more expressive in short description.
1422 Remove gtk-doc stubs for non-public API.
1424 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1426 * *.c: Coding style fixups
1428 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1430 * inotify/inotify-helper.c: Don't export the lock from libgio.
1432 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1435 * abicheck.sh: Fix copy-and-paste leftovers
1437 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1439 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1441 2007-11-28 Alexander Larsson <alexl@redhat.com>
1445 Removed unnecessary file
1447 * gdesktopappinfo.[ch]:
1450 * glocaldirectorymonitor.[ch]:
1452 * glocalfileenumerator.[ch]:
1453 * glocalfileinputstream.[ch]:
1454 * glocalfilemonitor.[ch]:
1455 * glocalfileoutputstream.[ch]:
1457 * gnativevolumemonitor.c:
1458 * gpollfilemonitor.[ch]:
1459 * gunionvolumemonitor.[ch]:
1462 * gunixvolumemonitor.[ch]:
1465 * inotify/ginotifydirectorymonitor.[ch]:
1466 * inotify/ginotifyfilemonitor.[ch]:
1467 * inotify/inotify-helper.c:
1468 Append _ to all internal functions
1472 Export symbols needed for modules
1474 2007-11-28 Alexander Larsson <alexl@redhat.com>
1477 * abicheck.sh: Added.
1478 * makegioalias.pl: Added.
1479 * pltcheck.sh: Added.
1480 * gio.symbols: Added.
1483 Initial work on adding symbol handling.
1486 Correct ifdef guard name
1489 * inotify/Makefile.am:
1490 * xdgmime/Makefile.am:
1491 Include toplevel Makefile.decl
1493 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1495 * gcontenttype.c: Move doc comments to the unix section.
1497 * *.[hc]: More trivial doc corrections.
1499 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1501 * gpollfilemonitor.c:
1505 * gdesktopappinfo.c:
1510 * gdatainputstream.c:
1511 * gdatainputstream.h:
1512 * gdataoutputstream.c:
1513 * gdataoutputstream.h:
1514 * gfileinfo.h: Doc cleanups
1516 2007-11-28 Andre Klapper <a9016009@gmx.de>
1518 * gdesktopappinfo.c: Fix a typo.
1520 2007-11-27 Andre Klapper <a9016009@gmx.de>
1522 * glocalfileoutputstream.c: Fix a typo.
1524 2007-11-27 Alexander Larsson <alexl@redhat.com>
1527 Don't include removed headers
1529 2007-11-27 Alexander Larsson <alexl@redhat.com>
1532 * gsocketinputstream.[ch]: Removed.
1533 * gsocketoutputstream.[ch]: Removed.
1534 * gunixinputstream.[ch]: Added.
1535 * gunixoutputstream.[ch]: Added.
1536 Renamed GSocket*Stream to GUnix*Stream and made
1537 it unix-only, since its not really only for sockets
1538 and it only works on unix (but is highly useful there).
1540 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1546 * gbufferedinputstream.c:
1547 * gbufferedinputstream.h:
1548 * gbufferedoutputstream.c:
1549 * gbufferedoutputstream.h:
1553 * gdatainputstream.c:
1554 * gdatainputstream.h:
1555 * gdataoutputstream.c:
1556 * gdataoutputstream.h:
1557 * gdirectorymonitor.c:
1558 * gdirectorymonitor.h:
1565 * gfileenumerator.c:
1566 * gfileenumerator.h:
1571 * gfileinputstream.c:
1572 * gfileinputstream.h:
1575 * gfilenamecompleter.c:
1576 * gfilenamecompleter.h:
1577 * gfileoutputstream.c:
1578 * gfileoutputstream.h:
1579 * gfilterinputstream.c:
1580 * gfilterinputstream.h:
1581 * gfilteroutputstream.c:
1582 * gfilteroutputstream.h:
1595 * glocalfileoutputstream.c:
1596 * gmemoryinputstream.c:
1597 * gmemoryinputstream.h:
1598 * gmemoryoutputstream.c:
1599 * gmemoryoutputstream.h:
1600 * gmountoperation.c:
1601 * gmountoperation.h:
1604 * gpollfilemonitor.c:
1607 * gsimpleasyncresult.c:
1608 * gsimpleasyncresult.h:
1609 * gsocketinputstream.c:
1610 * gsocketinputstream.h:
1611 * gsocketoutputstream.c:
1612 * gsocketoutputstream.h:
1619 * gunixvolumemonitor.c:
1628 Bumps documentation to 93% symbol coverage, touching most
1629 of the public files. Fixes broken function documentation prototypes.
1630 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1631 gtk-doc headers in private files.
1633 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1635 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1636 (g_buffered_input_stream_read_byte):
1637 * gbufferedinputstream.h:
1638 New functions for efficient access to buffer and simple single byte
1641 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1642 (g_data_input_stream_read_until):
1643 * gdatainputstream.h:
1644 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1645 read_until with multiple stop chars.
1647 2007-11-27 Alexander Larsson <alexl@redhat.com>
1651 * inotify/Makefile.am:
1652 Use the user-specified giomoduledir
1654 2007-11-27 Alexander Larsson <alexl@redhat.com>
1658 Add catch-all gio.h header
1659 Don't install gdummyfile.h
1661 2007-11-26 Alexander Larsson <alexl@redhat.com>
1663 * Makefile.am (gioinclude_HEADERS):
1664 Remove trailing whitespace
1666 2007-11-26 Alexander Larsson <alexl@redhat.com>
1668 Merge gio-standalone into glib
1670 2007-11-25 Christian Kellner <gicmo@gnome.org>
1672 * gio/goutputstream.c:
1673 Fix small mistake in the docs.
1675 2007-11-21 Christian Persch <chpe@gnome.org>
1677 * gio/glocalfile.c: (g_local_file_trash):
1678 Convert filenames to UTF-8 for GError.
1679 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1680 as per xdg base dir spec.
1682 2007-11-21 Christian Persch <chpe@gnome.org>
1684 * gio/gdesktopappinfo.c:
1685 Use that g_key_file_to_data cannot fail.
1687 Use stock defines for the key file group and key names.
1690 2007-11-21 Alexander Larsson <alexl@redhat.com>
1693 (copy_stream_with_progress):
1694 Make sure we do a final progress callback with
1695 the full total size.
1697 2007-11-21 Alexander Larsson <alexl@redhat.com>
1700 Export g_file_copy_attributes
1701 Remove padding as its not needed for interfaces
1703 2007-11-20 Alexander Larsson <alexl@redhat.com>
1708 Add G_IO_ERROR_WOULD_MERGE for
1709 copy/move dir on dir with overwrite.
1711 2007-11-20 Alexander Larsson <alexl@redhat.com>
1714 * gio/glocalfileinfo.c:
1715 Add COPY_NAME (this is an optional
1716 non-modified utf8 version of the name) that
1719 2007-11-20 Alexander Larsson <alexl@redhat.com>
1721 * gio/glocalfileenumerator.c:
1722 Report errors as GIOError, not GFileError
1724 2007-11-16 Alexander Larsson <alexl@redhat.com>
1726 * gio/glocalfileoutputstream.c:
1727 * gio/gwin32appinfo.c:
1728 Fix typos in strings.
1729 Patch from Luca Ferretti <elle.uca@libero.it>
1731 2007-11-15 Alexander Larsson <alexl@redhat.com>
1734 Post release version bump
1736 === gio-standalone 0.1.2 ===
1738 2007-11-15 Alexander Larsson <alexl@redhat.com>
1740 * docs/reference/gio/Makefile.am:
1741 Fix up distcheck by removing weird
1747 2007-11-14 Alexander Larsson <alexl@redhat.com>
1749 * gio/gdesktopappinfo.c:
1750 * gio/glocaldirectorymonitor.c:
1752 * gio/glocalfileinfo.c:
1753 * gio/inotify/inotify-sub.c:
1754 * programs/gio-cat.c:
1755 * programs/gio-copy.c:
1756 * programs/gio-info.c:
1757 * programs/gio-ls.c:
1758 * programs/gio-monitor-dir.c:
1759 * programs/gio-monitor-file.c:
1760 * programs/gio-mount.c:
1761 * programs/gio-move.c:
1762 * programs/gio-rm.c:
1763 * programs/gio-save.c:
1764 * programs/gio-trash.c:
1765 Leak fixes from Kjartan Maraas
1767 2007-11-14 Alexander Larsson <alexl@redhat.com>
1769 * gio/fam/fam-helper.c:
1771 * gio/glocalfileinfo.c:
1775 * gio/inotify/inotify-diag.c:
1776 * gio/inotify/inotify-kernel.c:
1777 Various code cleanups from Kjartan Maraas
1779 2007-11-14 Alexander Larsson <alexl@redhat.com>
1781 * gio/gioscheduler.c:
1783 Set up threadpool so that we cache 2 unused
1784 idle threads for at 15 secs. This means we
1785 will reuse thread-local data (like dbus connections)
1788 2007-11-14 Alexander Larsson <alexl@redhat.com>
1790 * gio/fam/fam-helper.c:
1791 * gio/fam/gfamdirectorymonitor.c:
1792 * gio/fam/gfamfilemonitor.c:
1794 * gio/gcontenttype.c:
1795 * gio/gdatainputstream.c:
1796 * gio/gdataoutputstream.c:
1800 * gio/gfileattribute.h:
1801 * gio/gfileenumerator.c:
1803 * gio/ginputstream.c:
1806 * gio/glocalfileinfo.c:
1807 * gio/goutputstream.c:
1808 * gio/gpollfilemonitor.c:
1809 * gio/gsimpleasyncresult.c:
1810 * gio/gunixmounts.c:
1811 * gio/gunixmounts.h:
1812 * gio/inotify/ginotifydirectorymonitor.c:
1813 * gio/inotify/ginotifyfilemonitor.c:
1814 * gio/inotify/inotify-diag.c:
1815 * gio/inotify/inotify-kernel.c:
1816 * gio/inotify/inotify-path.c:
1818 * gio/test-streams.c:
1819 * programs/gio-info.c:
1820 * programs/gio-monitor-dir.c:
1821 * programs/gio-monitor-file.c:
1822 Various code cleanups from Kjartan Maraas
1824 2007-11-13 Alexander Larsson <alexl@redhat.com>
1827 Handle the uri-scheme calls for dummy files
1829 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1831 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1832 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1833 to avoid clash with the C++ keyword.
1835 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1837 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1838 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1840 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1842 * gio/glocaldirectorymonitor.c:
1843 * gio/glocalfilemonitor.c:
1844 * gio/gunionvolumemonitor.c:
1845 Don't use g_once_init_*() for initializations that could fail and
1846 could leave the initialization variable set to 0 but use GOnce.
1847 This prevents a deadlock on the second call when trying to create
1848 a monitor and no monitor type is available. Thanks to Sven Herzberg
1851 2007-11-11 Sven Herzberg <sven@imendio.com>
1853 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1854 #ifdef (make it work on MacOS X again)
1856 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1858 Fixes Changelog for last two commits (sorry guys).
1860 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1862 * gio/gbufferedinputstream.c:
1863 * gio/gdatainputstream.c:
1865 * gio/gfileoutputstream.c:
1866 * gio/gfilterinputstream.c:
1867 * gio/glocalfileinputstream.c:
1870 More consistency fixes in g*stream.c files.
1871 Significant clean of gfile's documentation, filling in of
1872 asynchronous operations documentation.
1874 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1876 * gio/gasyncresult.c:
1877 * gio/gbufferedinputstream.c:
1878 * gio/gbufferedoutputstream.c:
1879 * gio/gcancellable.c:
1880 * gio/gcontenttype.c:
1881 * gio/gdatainputstream.c:
1882 * gio/gdataoutputstream.c:
1883 * gio/gdesktopappinfo.c:
1886 * gio/gfileattribute.c:
1887 * gio/gio/gfileenumerator.c:
1889 * gio/gfileinputstream.c:
1890 * gio/gfilemonitor.c:
1891 * gio/gfileoutputstream.c:
1892 * gio/ginputstream.c:
1894 * gio/gioscheduler.c:
1895 * gio/gloadableicon.c:
1896 * gio/glocalfileoutputstream.c:
1897 * gio/gmemoryoutputstream.c:
1898 * gio/gmountoperation.c:
1899 * gio/goutputstream.c:
1901 * gio/gsimpleasyncresult.c:
1902 * gio/gunionvolumemonitor.c:
1903 * gio/gunixmounts.c:
1904 * gio/gunixvolume.c:
1908 * gio/gvolumemonitor.c:
1909 Updated documentation stubs, working towards consistency and
1912 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1914 * gio/gmemoryoutputstream.c:
1915 * gio/gmemoryoutputstream.h:
1916 Change g_memory_output_stream_set_free_on_close() to
1917 g_memory_output_stream_set_free_data() as this makes more sense and
1918 is more consistent with GMemoryInputStream.
1920 2007-11-07 Alexander Larsson <alexl@redhat.com>
1927 Change how we find the default vfs so that
1928 we can handle a gvfs failing to init
1930 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1932 * gio/gbufferedoutputstream.c:
1933 * gio/gdatainputstream.c:
1934 * gio/gdataoutputstream.c:
1935 * gio/gfileinputstream.c:
1936 * gio/gfileoutputstream.c:
1937 * gio/gfilterinputstream.c:
1938 * gio/gfilteroutputstream.c:
1939 * gio/ginputstream.c:
1940 * gio/gmemoryinputstream.c:
1941 * gio/gmemoryoutputstream.c:
1942 * gio/goutputstream.c:
1943 * gio/gsimpleasyncresult.c:
1944 * gio/gsocketinputstream.c:
1945 * gio/gsocketoutputstream.c:
1946 Add guards to the remaining public functions, add a TODO for
1947 an unimplemented function and remove some useless guards.
1949 2007-11-07 Alexander Larsson <alexl@redhat.com>
1952 Autoconf checks for the various types of
1953 getpwuid_r and getgrgid_r
1955 * gio/glocalfileinfo.c:
1956 Use the autoconf checks from above
1958 2007-11-07 Alexander Larsson <alexl@redhat.com>
1961 (g_local_file_query_filesystem_info):
1962 Some fixes for the statvfs case
1964 2007-11-07 Alexander Larsson <alexl@redhat.com>
1967 (g_local_file_query_filesystem_info):
1968 Pick the "best" of statfs / statvfs for the system
1969 if both are availible.
1971 2007-11-07 Alexander Larsson <alexl@redhat.com>
1973 Solaris fixes from Halton.Huo@Sun.COM:
1980 * gio/glocalfileinfo.c:
1981 Fix for solaris definition of getpwuid_r
1983 * gio/test-streams.c:
1984 Use G_GNUC_PRETTY_FUNCTION
1986 2007-11-07 Alexander Larsson <alexl@redhat.com>
1988 * gio/gdesktopappinfo.c:
1989 (update_default_list):
1990 Remove double semicolon.
1991 Patch from Jens Granseuer
1993 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1995 * docs/reference/gio/gio-sections.txt:
1996 * gio/gbufferedinputstream.c:
1997 * gio/gbufferedinputstream.h:
1998 * gio/gdatainputstream.c:
1999 * gio/gfileenumerator.c:
2000 * gio/gioscheduler.c:
2001 * gio/gunionvolumemonitor.c:
2003 * programs/gio-save.c:
2004 Fix typo: availible -> available. Unfortuntely this breaks API
2005 and ABI as g_buffered_input_stream_get_available() was renamed.
2007 * gio/gunixmounts.c:
2008 * gio/gbufferedinputstream.c:
2009 Add guards for public functions.
2011 2007-11-06 Ross Burton <ross@openedhand.com>
2013 * docs/reference/gio/Makefile.am:
2014 Fix invalid += usage which automake 1.10 doesn't like.
2016 2007-11-06 Alexander Larsson <alexl@redhat.com>
2019 (g_app_launch_context_class_init):
2022 Patch from Ross Burton
2024 2007-11-06 Alexander Larsson <alexl@redhat.com>
2027 Post release version bump
2029 === gio-standalone 0.1.1 ===
2031 2007-11-06 Alexander Larsson <alexl@redhat.com>
2034 Bump version to 0.1.1
2036 * gio/gsimpleasyncresult.c:
2037 (g_simple_async_result_set_from_error):
2038 Remove bogus g_return_if_fail
2040 2007-11-06 Alexander Larsson <alexl@redhat.com>
2043 The name is gio-standalone
2046 Add top src/builddir to includedir
2048 2007-11-06 Alexander Larsson <alexl@redhat.com>
2050 * docs/reference/gio/gio-sections.txt:
2052 * gio/gbufferedinputstream.c:
2053 * gio/gbufferedoutputstream.c:
2054 * gio/gcancellable.c:
2055 * gio/gdatainputstream.h:
2056 * gio/gdataoutputstream.c:
2057 * gio/gdataoutputstream.h:
2058 * gio/gdirectorymonitor.c:
2060 * gio/gfileattribute.c:
2061 * gio/gfileattribute.h:
2062 * gio/gfileenumerator.c:
2063 * gio/gfileenumerator.h:
2066 * gio/gfileinputstream.h:
2067 * gio/gfilemonitor.c:
2068 * gio/gfileoutputstream.h:
2069 * gio/glocalfilemonitor.h:
2070 * gio/glocalfileoutputstream.h:
2071 * gio/gmemoryinputstream.c:
2072 * gio/gmemoryoutputstream.c:
2073 * gio/gmountoperation.c:
2074 * gio/goutputstream.c:
2075 * gio/goutputstream.h:
2077 * gio/gsimpleasyncresult.c:
2078 * gio/gunixmounts.c:
2079 * gio/gunixmounts.h:
2081 * gio/inotify/inotify-helper.c:
2082 Fix gtk-doc warnings
2084 Patch from Ross Burton
2086 2007-11-06 Alexander Larsson <alexl@redhat.com>
2088 * gio/gfilenamecompleter.c:
2089 (g_filename_completer_get_completions):
2092 * gio/gunixvolume.c:
2093 Remove unused function
2095 Patches from Ross Burton
2097 2007-11-06 Alexander Larsson <alexl@redhat.com>
2102 Padding not needed for interfaces
2104 2007-11-06 Alexander Larsson <alexl@redhat.com>
2106 * gio/gfilemonitor.c:
2110 Make giotypes.h an internal file
2113 * gio/gbufferedinputstream.h:
2114 * gio/gbufferedoutputstream.h:
2115 * gio/gcancellable.h:
2116 * gio/gdatainputstream.h:
2117 * gio/gdataoutputstream.h:
2118 * gio/gdirectorymonitor.c:
2119 * gio/gdirectorymonitor.h:
2124 * gio/gfileattribute.h:
2125 * gio/gfileenumerator.h:
2130 * gio/gfilemonitor.c:
2131 * gio/gfilemonitor.h:
2132 * gio/gfilenamecompleter.c:
2133 * gio/gfilenamecompleter.h:
2134 * gio/gfilterinputstream.h:
2135 * gio/gfilteroutputstream.h:
2136 * gio/ginputstream.h:
2137 * gio/gmemoryinputstream.h:
2138 * gio/gmemoryoutputstream.h:
2139 * gio/gmountoperation.c:
2140 * gio/gmountoperation.h:
2141 * gio/gnativevolumemonitor.c:
2142 * gio/goutputstream.h:
2145 * gio/gsimpleasyncresult.c:
2146 * gio/gsimpleasyncresult.h:
2147 * gio/gsocketinputstream.h:
2148 * gio/gsocketoutputstream.h:
2149 * gio/gthemedicon.c:
2150 * gio/gthemedicon.h:
2154 * gio/gvolumemonitor.c:
2155 * gio/gvolumemonitor.h:
2156 Add padding in classes where it seems useful
2157 Don't include giotypes.h from public headers
2158 Move in Class definitions into c file where possible
2163 2007-11-06 Alexander Larsson <alexl@redhat.com>
2165 * docs/reference/gio/gio-docs.xml:
2166 Better structure for API docs
2168 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2171 * gio/gloadableicon.c:
2172 * gio/gsimpleasyncresult.c:
2173 * gio/gthemedicon.c:
2174 Add some more guards to public functions. Only files missing are now
2177 2007-11-06 Alexander Larsson <alexl@redhat.com>
2179 * docs/reference/gio/gio-docs.xml:
2180 Remove old files, add missing ones
2182 2007-11-06 Alexander Larsson <alexl@redhat.com>
2184 * docs/reference/gio/gio-sections.txt:
2187 Hide implementation classes
2189 * gio/gdriveprivate.h:
2190 * gio/gvolumeprivate.h:
2191 Remove non-existing function declarations
2193 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2196 Fix compilation warnings and add guards to the new functions.
2198 * gio/gasyncresult.c:
2200 Add guards to the public functions.
2203 Implement get_path().
2205 2007-11-06 Alexander Larsson <alexl@redhat.com>
2207 * gio/gfilenamecompleter.c:
2208 Make g_filename_completer_get_completions
2209 return char ** instead of GList for
2212 * docs/reference/gio/gio-docs.xml:
2213 * docs/reference/gio/gio-sections.txt:
2215 * gio/gasyncresult.c:
2216 * gio/gbufferedinputstream.c:
2217 * gio/gbufferedoutputstream.c:
2218 * gio/gcancellable.c:
2219 * gio/gcontenttype.c:
2220 * gio/gdatainputstream.c:
2221 * gio/gdataoutputstream.c:
2222 * gio/gdesktopappinfo.c:
2223 * gio/gdirectorymonitor.c:
2227 * gio/gfileattribute.c:
2228 * gio/gfileenumerator.c:
2231 * gio/gfileinputstream.c:
2232 * gio/gfilemonitor.c:
2233 * gio/gfilenamecompleter.c:
2234 * gio/gfilenamecompleter.h:
2235 * gio/gfileoutputstream.c:
2236 * gio/gfilterinputstream.c:
2238 * gio/ginputstream.c:
2240 * gio/gioscheduler.c:
2241 * gio/gloadableicon.c:
2242 * gio/glocaldirectorymonitor.c:
2244 * gio/glocalfileinputstream.c:
2245 * gio/glocalfilemonitor.c:
2246 * gio/glocalfileoutputstream.c:
2248 * gio/gmemoryinputstream.c:
2249 * gio/gmemoryoutputstream.c:
2250 * gio/gmountoperation.c:
2251 * gio/goutputstream.c:
2252 * gio/gpollfilemonitor.c:
2254 * gio/gsimpleasyncresult.c:
2255 * gio/gsocketinputstream.c:
2256 * gio/gsocketoutputstream.c:
2257 * gio/gthemedicon.c:
2258 * gio/gunionvolumemonitor.c:
2260 * gio/gunixmounts.c:
2261 * gio/gunixvolume.c:
2262 * gio/gunixvolumemonitor.c:
2266 * gio/gvolumemonitor.c:
2267 * gio/gwin32appinfo.c:
2268 Add (mostly stub) doc strings to public functions.
2269 Patch from Andrew Walton (awalton@gmail.com)
2271 2007-11-06 Alexander Larsson <alexl@redhat.com>
2273 * gio/gappinfo.[ch]:
2274 Added GAppLaunchContext object and pass that to launch.
2275 This allows simple implementation of both
2276 launch-on-screen and startup notification via a gtk+
2277 subclass of GAppLaunchContext
2279 * gio/gdesktopappinfo.c:
2280 Implement GAppLaunchContext API
2282 * gio/gwin32appinfo.c:
2285 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2287 * gio/gmountoperation.c:
2288 Add some guards to GMountOperation's public functions.
2290 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2294 * gio/gcancellable.c:
2295 * gio/gdirectorymonitor.c:
2297 * gio/gfileenumerator.c:
2298 * gio/gfilemonitor.c:,
2299 * gio/gfilenamecompleter.c:
2302 * gio/gioscheduler.c:
2306 * gio/gvolumemonitor.c:
2307 Add even more guards to various public functions.
2309 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2312 Add guards to the public functions of GAppInfo.
2314 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2316 * gio/gcontenttype.c:
2317 Add some more guards for public functions.
2319 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2321 * gio/fam/fam-module.c:
2322 * gio/fam/gfamdirectorymonitor.c:
2323 * gio/fam/gfamdirectorymonitor.h:
2324 * gio/fam/gfamfilemonitor.c:
2325 * gio/fam/gfamfilemonitor.h:
2326 * gio/inotify/ginotifydirectorymonitor.c:
2327 * gio/inotify/ginotifydirectorymonitor.h:
2328 * gio/inotify/ginotifyfilemonitor.c:
2329 * gio/inotify/ginotifyfilemonitor.h:
2330 Add proper copyright information and remove an unused variable
2331 in the GInotifyFileMonitor constructor.
2333 * gio/gcancellable.c:
2334 Add a guard for a public function and an assertion to prevent
2335 an undefined program state.
2337 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2339 * gio/gfileattribute.c:
2340 Don't run into an assertion if the given attribute value is NULL
2341 in g_file_attribute_value_get_*() but instead return a fallback
2342 value that makes sense in most situations. Passing them a attribute
2343 value with the wrong type will still run into an assertion.
2345 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2347 * gio/gfileattribute.c:
2349 Add even more guards to the public functions. Also fix the refcounting
2350 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2351 let g_file_info_list_attributes() filter the attributes by namespace
2352 instead of simply ignoring the namespace parameter.
2354 2007-11-03 Sven Herzberg <sven@imendio.com>
2356 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2357 (This makes gio work on MacOS X again)
2359 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2362 Build the gio subdirectory before the docs. Otherwise the build will
2365 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2366 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2367 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2368 Add guards to the public functions.
2370 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2372 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2373 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2374 to prevent a compiler warning.
2376 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2377 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2378 return something in the non-void function find_topdir_for().
2380 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2387 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2389 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2390 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2391 * gwin32appinfo.c (g_win32_app_info_launch):
2392 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2393 envp_for_startup_id, g_desktop_app_info_launch,
2394 g_desktop_app_info_launch_uris):
2396 Give an opaque 'startup_id' string instead of 'envp'.
2397 Support empty file lists for launching new windows.
2398 Fix infinite recursion bug when launching URIs.
2400 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2403 Add guard to the new g_file_get_uri_scheme() function.
2405 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2408 Convert a g_return_val_if_fail() to setting the GError instead as
2409 otherwise applications have to verify the parameter before otherwise
2410 and the parameter might come directly from the user.
2412 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2414 * gio/inotify/ginotify*.[ch]:
2415 Add missing copyright information.
2417 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2420 Add guards in the beginning of public functions to check for valid
2421 parameters and fix a bug in copy_stream_with_progress() that could've
2422 caused writing less bytes than reading.
2423 * gio/glocalfileinfo.c:
2424 Check for a NULL parameter and set the GError accordingly then.
2425 * gio/goutputstream.c:
2426 Fix the same bug as in gfile.c that could've caused writing less bytes
2427 than reading in g_output_stream_real_splice().
2429 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2432 Use the correct gvolumeprivate.h naming
2434 2007-11-01 Christian Kellner <gicmo@gnome.org>
2437 Remove leftover "$(daemon_sources)" entry.
2439 2007-11-01 Christian Kellner <gicmo@gnome.org>
2444 Add copyright information to source files.
2446 2007-11-01 Alexander Larsson <alexl@redhat.com>
2450 Add g_file_get_uri_scheme
2452 2007-11-01 Alexander Larsson <alexl@redhat.com>
2455 * gio/gdesktopappinfo.c:
2456 * gio/gwin32appinfo.c:
2457 Add g_app_info_get_default_for_uri_scheme.
2459 2007-11-01 Alexander Larsson <alexl@redhat.com>
2462 Correct filename for gdriveprivate.h
2464 2007-10-31 Alexander Larsson <alexl@redhat.com>
2467 Rename id:value to id:file
2470 * gio/glocalfileinfo.c:
2473 2007-10-31 Alexander Larsson <alexl@redhat.com>
2475 * gio/gunixvolume.c:
2477 Remove g_volume_get_platform_id, as thats not
2478 needed with the simpler union volume monitor
2480 2007-10-31 Alexander Larsson <alexl@redhat.com>
2483 * gio/guniondrive.[ch]: Removed.
2484 * gio/gunionvolume.[ch]: Removed.
2485 Remove GUnionDrive/Volume
2487 * gio/gunionvolumemonitor.c:
2488 Simplify union volume monitor, now we
2489 only have one native volume monitor and
2490 we use the actual volumes/drives from the
2491 child monitors instead of wrapping them
2493 * gio/gnativevolumemonitor.[ch]:
2494 Base class for native volume monitors.
2495 Includes priority and get_volume_for_mountpoint
2498 Add g_file_find_enclosing_volume
2501 Remove volume name fs attribute
2502 Add readonly fs attribute
2505 Implement readonly attribute
2506 remove volume name attribute
2507 Implement find_enclosing volume
2509 * gio/gunixmounts.c:
2510 Add a volume for "/".
2512 * gio/gunixvolume.[ch]:
2513 Set better name for /
2515 * gio/gunixvolumemonitor.[ch]:
2516 Derive from GNativeVolumeMonitor
2517 Implement get_volume_for_mountpoint
2520 GVolume typedef moved to gfile.h
2522 * gio/gvolumeprivate.h:
2523 Add g_volume_get_for_mount_path
2525 2007-10-31 Alexander Larsson <alexl@redhat.com>
2527 * gio/gunixmounts.[ch]:
2528 Add cache info to unix mount listers
2529 Make getmntent use threadsafe
2530 Add is_system_internal attribute for GUnixMount
2532 * gio/gunixvolume.c:
2533 (g_unix_volume_new):
2534 Use is_system_internal instead of own code
2536 * gio/glocaldirectorymonitor.c:
2537 * gio/gunixvolumemonitor.c:
2538 Update to new gunixmounts API
2543 2007-10-30 Alexander Larsson <alexl@redhat.com>
2546 Add volume name fsinfo attribute
2549 Read volume name info
2551 * gio/gunionvolumemonitor.c:
2552 Fix infinite loops when finalizing a union volume monitor
2554 2007-10-30 Alexander Larsson <alexl@redhat.com>
2556 * gio/goutputstream.[ch]:
2557 Add splice() with default implementation
2559 * gio/gsocketoutputstream.c:
2560 (g_socket_output_stream_write):
2561 Return error on cancellation correctly.
2563 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2565 * gio/glocalfile.c (g_local_file_trash):
2566 Do not leak a string.
2568 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2570 * gio/gfile.c (g_file_load_contents):
2571 Unref the stream after closing it.
2573 2007-10-25 Alexander Larsson <alexl@redhat.com>
2575 * gio/gioscheduler.h:
2578 2007-10-25 Alexander Larsson <alexl@redhat.com>
2582 Add g_file_has_uri_scheme and implement for local files
2584 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2586 * gio/gdesktopappinfo.c: do not leak a string.
2588 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2590 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2591 (g_local_directory_monitor_new):
2592 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2593 (g_local_file_monitor_new):
2594 Only look for the monitor type that should be used the first time
2595 and use g_qsort_with_data() instead of our own bubble sort
2598 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2601 * gio/fam/Makefile.am:
2602 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2603 * gio/fam/fam-helper.h:
2604 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2605 * gio/fam/gfamdirectorymonitor.c:
2606 * gio/fam/gfamdirectorymonitor.h:
2607 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2608 * gio/fam/gfamfilemonitor.h:
2609 * gio/glocaldirectorymonitor.c:
2610 * gio/glocaldirectorymonitor.h:
2611 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2612 * gio/glocalfilemonitor.h:
2613 * gio/inotify/Makefile.am:
2614 * gio/inotify/ginotifydirectorymonitor.c:
2615 * gio/inotify/ginotifydirectorymonitor.h:
2616 * gio/inotify/ginotifyfilemonitor.c:
2617 * gio/inotify/ginotifyfilemonitor.h:
2618 Implement the FAM and Inotify monitors as
2619 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2620 their own GIO module. GLocal(Directory|File)Monitor will use the
2621 monitor with the highest rank that is supported on that machine.
2623 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2626 Change GIO module dir to $(libdir)/gio/modules and change
2627 the log domain from GVFS to GIO. Also only export symbols starting
2628 with g_ in the resulting library.
2629 * gio/test-streams.c: (main):
2630 Set log handler for the GIO log domain.
2632 2007-10-22 Alexander Larsson <alexl@redhat.com>
2634 * gio/gfilenamecompleter.[ch]:
2635 Add g_filename_completer_set_dirs_only
2637 2007-10-22 Alexander Larsson <alexl@redhat.com>
2640 * gio/gurifuncs.[ch]:
2641 Add some simple URI helpers
2643 * gio/gfilenamecompleter.[ch]:
2644 Added object for filename (parse name actually) completion
2647 Handle ~ in parse names
2649 2007-10-17 Alexander Larsson <alexl@redhat.com>
2652 * gio/glocalfileinfo.c:
2653 Add and implement id:value attribute
2655 2007-10-17 Alexander Larsson <alexl@redhat.com>
2658 * gio/guniondrive.c:
2660 Add and implement g_drive_has_volumes
2662 2007-10-17 Alexander Larsson <alexl@redhat.com>
2665 * gio/glocalfileinfo.[ch]:
2666 Add unix:is_mountpoint and implement for local files
2668 2007-10-16 Alexander Larsson <alexl@redhat.com>
2670 * gio/gunionvolumemonitor.c:
2671 (g_union_volume_monitor_init):
2672 Fix up the unix type getting so that it works with gcc
2674 2007-10-12 Alexander Larsson <alexl@redhat.com>
2677 * gio/glocalfileinfo.c:
2678 Add thumbnail:failed to file info
2680 2007-10-12 Richard Hult <richard@imendio.com>
2682 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2683 optimizing away the get_type call (happens with some gcc versions,
2684 like the one shipped with OS X 10.4).
2686 2007-10-12 Alexander Larsson <alexl@redhat.com>
2688 * gio/glocalfileinfo.c:
2689 (_g_local_file_info_set_attribute):
2690 Fix build if not HAVE_XATTR
2691 Patch from Milosz Derezynski <internalerror@gmail.com>
2693 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2695 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2696 around for review, otherwise I would have asked you before
2699 2007-10-11 Alexander Larsson <alexl@redhat.com>
2702 Add thumbnail:path attribute
2704 * gio/glocalfileinfo.c:
2705 Implement thumbnail:path for local files
2707 2007-10-11 Alexander Larsson <alexl@redhat.com>
2709 * gio/glocalfileinfo.c:
2710 (_g_local_file_info_get):
2711 Avoid duplicate icon names
2713 2007-10-11 Alexander Larsson <alexl@redhat.com>
2715 * gio/gthemedicon.[ch]:
2716 Change g_themed_icon_get_names return type to const
2718 2007-10-10 Alexander Larsson <alexl@redhat.com>
2720 * gio/glocalfileinfo.c:
2721 Don't reference freed memory
2723 2007-10-10 Alexander Larsson <alexl@redhat.com>
2725 * gio/gfileattribute.c:
2728 * gio/glocalfileinfo.c:
2731 2007-10-10 Alexander Larsson <alexl@redhat.com>
2734 Check for NULL icons
2736 * gio/gfileattribute.c:
2737 Don't dup when getting objects (same as for string attributes)
2739 * gio/gicon.c (g_icon_equal):
2740 Safely handle NULLs in equal
2742 2007-10-10 Alexander Larsson <alexl@redhat.com>
2745 Fix c++ compilation issues
2746 Patch from Milosz Derezynski <internalerror@gmail.com>
2748 2007-10-10 Alexander Larsson <alexl@redhat.com>
2750 * programs/gio-monitor-dir.c:
2751 Don't crash if dir monitor not supported.
2753 2007-10-09 Alexander Larsson <alexl@redhat.com>
2756 Add missing G_END_DECLS
2758 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2760 * gio/gfile.c: (g_file_set_display_name),
2761 (g_file_query_settable_attributes),
2762 (g_file_query_writable_namespaces):
2763 Return NULL not FALSE on errors as the return type is a pointer.
2765 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2767 * gio/glocalfile.c: (g_local_file_monitor_file):
2768 Don't call monitor_file on the default interface vtable (which
2769 is NULL) but simply return NULL. The caller, GFile, will create a
2770 polling monitor if NULL is returned.
2772 2007-10-09 Alexander Larsson <alexl@redhat.com>
2776 * gio-unix-2.0.pc.in:
2777 Add gio-unix-2.0.pc if OS_UNIX
2780 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2782 2007-10-09 Alexander Larsson <alexl@redhat.com>
2784 * gio/gunixmounts.[ch]:
2785 Make unix mount monitoring API sane.
2786 Now its just a object with mounts_changed
2787 and mountpoints_changed signals.
2789 * gio/glocaldirectorymonitor.c:
2790 * gio/gunixvolumemonitor.c:
2791 Use new mount monitor api
2793 2007-10-09 Alexander Larsson <alexl@redhat.com>
2795 * gio/gunixmounts.[ch]:
2796 Move guess type into one call for mounts and one for mountpoints
2799 * gio/gunixvolume.c:
2802 2007-10-09 Alexander Larsson <alexl@redhat.com>
2804 * gio/gunixmounts.[ch]:
2805 Remove _ prefix in preparation to make this semi-public
2806 Hide implementation of structs
2808 * gio/glocaldirectorymonitor.c:
2810 * gio/gunixvolume.c:
2811 * gio/gunixvolumemonitor.c:
2812 Update for above API changes
2814 2007-10-08 Alexander Larsson <alexl@redhat.com>
2817 Better polling fallback. This also handles the case where we have
2818 a monitor_file implementation, but it fails.
2820 2007-10-08 Alexander Larsson <alexl@redhat.com>
2824 * gio/gunixmounts.c:
2825 * programs/gio-monitor-dir.c:
2826 * programs/gio-monitor-file.c:
2827 Added cancellable to file monitoring calls.
2828 These are really sync calls and need this.
2830 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2832 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2833 (g_local_vfs_class_init):
2834 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2835 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2837 2007-10-05 Alexander Larsson <alexl@redhat.com>
2839 * gio/gdirectorymonitorprivate.h:
2840 * gio/gfilemonitorprivate.h:
2841 * gio/gdirectorymonitor.h:
2842 * gio/gfilemonitor.h:
2843 Remove *private.h and move to the public API, so that
2844 we can do implementations outside gio (such as in gvfs)
2846 * gio/gdirectorymonitor.c:
2847 * gio/gfilemonitor.c:
2848 * gio/glocaldirectorymonitor.c:
2849 * gio/gpollfilemonitor.c:
2850 * gio/inotify/inotify-helper.c:
2851 * gio/fam/fam-helper.c:
2852 Update to the new header names
2854 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2856 * gio/gdirectorymonitor.c:
2857 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2860 2007-10-04 Alexander Larsson <alexl@redhat.com>
2862 * gio/glocalfileinfo.c (get_access_rights):
2863 Set CAN_TRASH when we can move the file.
2864 We should really also check for a parent trash dir.
2866 2007-10-04 Alexander Larsson <alexl@redhat.com>
2868 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2869 Add can_trash access attribute
2871 2007-10-04 Alexander Larsson <alexl@redhat.com>
2874 (g_local_file_trash):
2875 Create info file first. This is per-spec and allows
2876 us to actually trash directories.
2878 2007-10-02 Alexander Larsson <alexl@redhat.com>
2880 * gio/gdesktopappinfo.c:
2881 Implement the new mime support code.
2882 Always set app as handling mimetype when being set as default for it
2884 2007-10-01 Alexander Larsson <alexl@redhat.com>
2886 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2887 Fix up check for xattrs:
2889 2007-10-01 Alexander Larsson <alexl@redhat.com>
2892 (g_app_info_set_as_default_for_extension):
2893 (g_app_info_add_supports_type):
2894 (g_app_info_can_remove_supports_type):
2895 (g_app_info_remove_supports_type):
2896 Make these fail nicely if not implemented
2898 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2900 * gio/glocalfileoutputstream.c:
2901 * gio/glocalfileoutputstream.h:
2906 * programs/gio-save.c:
2907 Add a GFileCreateFlags argument to operations that can create
2910 2007-10-01 Alexander Larsson <alexl@redhat.com>
2912 * gio/gappinfo.[ch]:
2913 * gio/gdesktopappinfo.c:
2914 Add more (stubbed out) mime API needed for nautilus
2916 2007-10-01 Alexander Larsson <alexl@redhat.com>
2919 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2920 Add g_app_info_set_as_default_for_extension.
2922 * gio/gdesktopappinfo.c:
2923 Dummy for g_app_info_set_as_default_for_extension
2924 Support flags in g_app_info_create_from_commandline
2926 * gio/gwin32appinfo.c:
2928 Update for API changes
2930 * gio/gthemedicon.c:
2931 Properly NULL-terminate list of icon names
2933 2007-09-28 Alexander Larsson <alexl@redhat.com>
2935 * gio/gloadableicon.h:
2936 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2938 2007-09-28 Alexander Larsson <alexl@redhat.com>
2941 Install headers in $includedir/gio-standalone/
2943 * gio-2.0.pc.in: Added.
2944 * gio-standalone.pc.in: Removed.
2947 Renamed pkg-config file to match glib (for future move)
2948 Update to the new include dir
2951 Add more TODO comments
2953 2007-09-28 Alexander Larsson <alexl@redhat.com>
2955 * gio/gdesktopappinfo.[ch]:
2956 Expose new_from_filename
2957 Add getter for is_hidden and handle it better
2959 2007-09-28 Alexander Larsson <alexl@redhat.com>
2961 * gio/gfileinfo.[ch]:
2962 Rename g_file_size_format_for_display to
2963 g_format_file_size_for_display.
2964 Now it doesn't have the g_file prefix, so we
2965 can later move it to glib.
2967 2007-09-28 Alexander Larsson <alexl@redhat.com>
2969 * gio/gappinfo.[ch]:
2970 Add g_app_info_get_id and g_app_info_get_executable.
2971 Make all getters non-reffing
2972 Make g_app_info_launch take GFile arguments.
2973 Add must_support_uris argument to g_app_info_get_default_for_type.
2975 * gio/gwin32appinfo.c:
2976 Update to GAppInfo api changes
2978 * gio/gdesktopappinfo.c:
2979 Update to GAppInfo api changes
2980 Implement supports_xdg_startup_notify
2982 * gio/gfileicon.c (g_file_icon_get_file):
2983 Make getter non-reffing.
2988 2007-09-27 Alexander Larsson <alexl@redhat.com>
2990 * gio/gfileinfo.[ch]:
2991 Add g_file_size_format_for_display helper
2993 2007-09-27 Alexander Larsson <alexl@redhat.com>
2995 * gio/glocalfileinfo.c:
2996 Set UNIX_GID from gid, not from uid
2998 2007-09-27 Alexander Larsson <alexl@redhat.com>
3001 Add g_file_set_attributes_async
3003 2007-09-27 Alexander Larsson <alexl@redhat.com>
3005 * gio/glocalfile.c (g_local_file_set_display_name):
3006 Fix set_display_name to actually rename to the right place.
3007 Use lstat to look for existing files so we don't overwrite
3010 2007-09-26 Alexander Larsson <alexl@redhat.com>
3013 Add g_file_set_display_name_async()
3015 2007-09-26 Alexander Larsson <alexl@redhat.com>
3018 Add load_partial_contents async calls
3021 Make internal function static
3023 2007-09-26 Alexander Larsson <alexl@redhat.com>
3025 * gio/glocalfileinfo.c:
3026 Correctly detect broken symlinks
3028 2007-09-26 Alexander Larsson <alexl@redhat.com>
3030 * gio/gcancellable.c (g_cancellable_cancel):
3031 Allow cancel on NULL cancellable
3033 2007-09-25 Alexander Larsson <alexl@redhat.com>
3035 * gio/gsimpleasyncresult.c:
3036 Don't allocate g_error manually.
3037 Fixes g_slice/g_new mixup crash
3039 2007-09-25 Alexander Larsson <alexl@redhat.com>
3041 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3042 Actually set active_backend.
3043 This means the monitor will be cancelled correctly.
3045 2007-09-25 Alexander Larsson <alexl@redhat.com>
3047 * gio/gdirectorymonitor.c:
3048 Set timeout to NULL when destroying
3050 2007-09-25 Alexander Larsson <alexl@redhat.com>
3053 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3054 that is a better description of the error.
3056 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3058 * gio/gvfs.c: (g_vfs_get_local):
3059 Make the local vfs variable static. The same instance should
3062 2007-09-24 Alexander Larsson <alexl@redhat.com>
3064 * gio/glocalfileinfo.c:
3065 Pass in actual length read into sniffer, not the length
3068 2007-09-21 Alexander Larsson <alexl@redhat.com>
3070 * gio/gfileenumerator.c:
3073 * gio/gfileinputstream.c:
3074 * gio/gfileoutputstream.c:
3075 * gio/ginputstream.c:
3076 * gio/goutputstream.c:
3077 Don't crash if async callbacks are NULL
3079 2007-09-20 Alexander Larsson <alexl@redhat.com>
3082 Add async enumerate_children method and default
3085 2007-09-20 Alexander Larsson <alexl@redhat.com>
3088 Add g_file_contains_file & g_file_get_relative_path, since they
3089 were needed for nautilus.
3090 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3095 Implement new methods
3097 2007-09-17 Alexander Larsson <alexl@redhat.com>
3100 * gio/gfileinputstream.[ch]:
3101 * gio/gfileoutputstream.[ch]:
3103 * gio/glocalfileenumerator.[ch]:
3104 * gio/glocalfileinfo.[ch]:
3105 * gio/glocalfileinputstream.c:
3106 * gio/glocalfileoutputstream.c:
3107 * gio/gpollfilemonitor.c:
3108 * programs/gio-copy.c:
3109 * programs/gio-info.c:
3110 * programs/gio-move.c:
3111 Rename get_file_info to query_info() to make it clearer
3112 that these are not simple getters, but do i/o.
3114 2007-09-17 Alexander Larsson <alexl@redhat.com>
3116 * gio/gdatainputstream.[ch]:
3117 * gio/test-streams.c:
3118 Use _read_XXX instead of _get_XXX for the i/o calls
3121 2007-09-17 Alexander Larsson <alexl@redhat.com>
3124 Added needed stuff to TODO comment
3126 2007-09-17 Alexander Larsson <alexl@redhat.com>
3128 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3129 Don't error out removing the backup copy if it doesn't
3132 2007-09-14 Alexander Larsson <alexl@redhat.com>
3134 * programs/Makefile.am:
3135 * programs/gvfs-*.c:
3137 Renamed apps from gvfs-xxx to gio-xxx.
3139 2007-09-14 Alexander Larsson <alexl@redhat.com>
3142 * gio/gfileoutputstream.[ch]:
3143 * gio/glocalfileoutputstream.c:
3144 * programs/gvfs-save.c:
3145 g_file_output_stream_get_etag doesn't do i/o, so remove
3146 cancellation and error.
3148 2007-09-14 Alexander Larsson <alexl@redhat.com>
3151 Add new_etag output to replace_contents functions
3153 2007-09-14 Alexander Larsson <alexl@redhat.com>
3155 * gio/gfileoutputstream.[ch]:
3156 Add async get_file_info and default implementation
3158 2007-09-14 Alexander Larsson <alexl@redhat.com>
3160 * gio/gfileinputstream.c:
3161 Implement fallback wrapper for async get_file_info
3163 2007-09-14 Alexander Larsson <alexl@redhat.com>
3166 Add etag out argument to load_contents
3171 2007-09-14 Alexander Larsson <alexl@redhat.com>
3173 * gio/gcontenttype.c (looks_like_text):
3174 Whitespace like tab, cr and lf do not make the
3177 2007-09-14 Alexander Larsson <alexl@redhat.com>
3179 * gio/gfileinputstream.[ch]:
3180 Add async get_file_info.
3182 2007-09-13 Alexander Larsson <alexl@redhat.com>
3184 * gio/goutputstream.c (g_output_stream_write_all):
3185 Allow NULL for bytes_written
3187 2007-09-13 Alexander Larsson <alexl@redhat.com>
3189 * gio/gmemoryinputstream.[ch]:
3190 Add accessors for data
3192 2007-09-13 Alexander Larsson <alexl@redhat.com>
3194 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3195 Don't crash if length is NULL