1 2008-01-28 Matthias Clasen <mclasen@redhat.com>
3 * tests/g-file.c: Disable some tests that are failing in
4 the absence of a http backend.
6 2008-01-28 Alexander Larsson <alexl@redhat.com>
10 Add registration hooks for extension points.
11 Register the gio extension points.
13 * fam/gfamdirectorymonitor.c:
14 * fam/gfamfilemonitor.c:
15 * glocaldirectorymonitor.[ch]:
16 * glocalfilemonitor.[ch]:
17 * gnativevolumemonitor.h:
18 * gunionvolumemonitor.c:
19 * gunixvolumemonitor.c:
22 * inotify/ginotifydirectorymonitor.c:
23 * inotify/ginotifyfilemonitor.c:
24 Use the extension points registration instead
27 2008-01-28 Matthias Clasen <mclasen@redhat.com>
30 * gvolume.[hc]: Document new API.
32 * gfile.c (g_file_copy_async): Fix docs
34 2008-01-27 Matthias Clasen <mclasen@redhat.com>
36 * gbufferedinputstream.c:
38 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
41 2008-01-27 Matthias Clasen <mclasen@redhat.com>
43 * glocalfile.c: Avoid trivial differences in translatable strings.
45 2008-01-25 Matthias Clasen <mclasen@redhat.com>
47 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
48 build with gcc 3.4 (#509419)
50 2008-01-25 Matthias Clasen <mclasen@redhat.com>
52 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
53 (#509994, Murray Cumming)
55 2008-01-25 Matthias Clasen <mclasen@redhat.com>
57 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
58 * gioscheduler.c: Keep calling io jobs until they return FALSE;
59 this allows big jobs to be executed in chunks, instead of blocking
60 the main loop for a long time.
62 * gsimpleasyncresult.c:
63 * giofile.c: Adapt callers.
65 2008-01-25 Alexander Larsson <alexl@redhat.com>
68 Implement changes discussed on xdg list.
69 Now we can add supported mimetypes by just using defaults.list
70 We can also remove associations in defaults.list.
72 2008-01-25 Alexander Larsson <alexl@redhat.com>
75 Don't make local copy of desktop file
76 for mimetype changes if the file already
77 supports the new mimetype.
79 2008-01-25 Matthias Clasen <mclasen@redhat.com>
83 * gbufferedinputstream.c:
84 * glocalfile.c: String improvements. (#511966,
85 Theppitak Karoonboonyanan)
87 2008-01-24 Matthias Clasen <mclasen@redhat.com>
89 * gioscheduler.h: Expand docs a bit.
91 2008-01-24 Alexander Larsson <alexl@redhat.com>
94 Add g_drive_get_identifier and
95 g_drive_enumerate_identifiers
98 Add g_volume_get_identifier and
99 g_volume_enumerate_identifiers
105 Implement identifiers for unix backend
107 2008-01-24 Alexander Larsson <alexl@redhat.com>
112 Add g_file_copy_async() (#511580)
113 Based on patch from Carlos Garcia Campos
115 2008-01-23 Matthias Clasen <mclasen@redhat.com>
117 * gioscheduler.c: Some documentation additions.
119 2008-01-22 Alexander Larsson <alexl@redhat.com>
122 (g_desktop_app_info_new):
125 2008-01-22 Alexander Larsson <alexl@redhat.com>
128 (g_desktop_app_info_new_from_filename):
131 2008-01-22 Alexander Larsson <alexl@redhat.com>
133 * glocalfileinfo.c (get_thumbnail_attributes):
136 2008-01-22 Alexander Larsson <alexl@redhat.com>
139 (canonicalize_filename):
140 Canonicalize paths that start with more than
145 (test_g_file_new_for_path):
148 2008-01-22 Alexander Larsson <alexl@redhat.com>
151 Allow UTF-8 in file:// parse names.
154 * tests/data-input-stream.c:
155 * tests/data-output-stream.c:
156 * tests/g-file-info.c:
158 Added a bunch of tests from Tomas Bzatek
160 2008-01-21 Matthias Clasen <mclasen@redhat.com>
162 * === Released 2.15.3 ===
164 2008-01-21 Alexander Larsson <alexl@redhat.com>
166 * gfileinputstream.[ch]:
167 * gfileoutputstream.[ch]:
169 Remove duplicated GSeekable functions. (#509990)
170 Just use the g_seekable_xxx() calls instead.
172 2008-01-21 Matthias Clasen <mclasen@redhat.com>
175 * gvolumemanager.c: Whitespace cleanups.
177 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
178 Use the right mode when creating the file.
180 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
183 * gfileinputstream.c:
185 * goutputstream.c: Documentation: Fixed minor typos
186 and added more mentions of specific _finish() functions.
188 2008-01-21 Alexander Larsson <alexl@redhat.com>
190 * inotify/Makefile.am:
191 * inotify/inotify-helper.c:
192 * inotify/inotify-kernel.c:
193 * inotify/inotify-path.c:
194 * inotify/local_inotify.h: Removed.
195 * inotify/local_inotify_syscalls.h: Removed.
196 Removed the included copies of the inotify
197 headers. We now only use the <sys/inotify.h>
198 header which exists on modern systems.
199 This fixes problems on ARM and SH5 (#510448)
200 but is also generally much cleaner and future
201 safe. For instance, if other OSes add support
202 for inotify it should "just work".
204 2008-01-20 Matthias Clasen <mclasen@redhat.com>
206 * inotify/*.c: Coding style fixes.
207 * inotify/inotify-missing.c: Use g_timeout_add_seconds
208 for the 1/4 Hz timer.
210 2008-01-20 Matthias Clasen <mclasen@redhat.com>
214 * gmemoryinputstream.c:
215 * gmemoryoutputstream.c:
217 * gthemedicon.c: Documentation updates
219 2008-01-20 Murray Cumming <murrayc@murrayc.com>
221 * gfile.c: documentation: Fixed more minor
224 2008-01-18 Murray Cumming <murrayc@murrayc.com>
226 * gmount.c: (g_mount_remount): documentation:
227 Mention g_mount_remount_finish() instead of
228 g_mount_unmount_finish().
230 2008-01-18 Murray Cumming <murrayc@murrayc.com>
234 * gfile.c: Fixed some minor typos in the
237 2008-01-18 Murray Cumming <murrayc@murrayc.com>
239 * gio/gvolumemonitor.c:
240 (g_volume_monitor_get_connected_drives):
241 (g_volume_monitor_get_volumes):
242 (g_volume_monitor_get_mounts): Documentation:
243 Clarify the ownership of the regurn GLists.
245 2008-01-17 Alexander Larsson <alexl@redhat.com>
248 Add the async find_enclosing_mount version
249 to the header file too.
251 2008-01-17 Alexander Larsson <alexl@redhat.com>
254 Add async version of find_enclosing_mount
255 with default implementation.
257 2008-01-17 Alexander Larsson <alexl@redhat.com>
262 Allow calls to implementation of copy and write
263 even if the type of the file implementations is
264 different. This can be used to implement native
265 upload and download calls in a vfs.
269 Protect against the case where move is called
270 with one file not being local.
272 Make sure we call the progress callback once
273 in the native move operation so that the caller
274 knows how many bytes were copied.
276 2008-01-16 Murray Cumming <murrayc@murrayc.com>
279 * gdatainputstream.c:
281 * gfileoutputstream.c:
286 * gunixmounts.c: Corrected some typos in the documentation:
288 its -> it's (where appropriate).
290 2008-01-16 Alexander Larsson <alexl@redhat.com>
294 Add g_file_query_exists (#508771)
296 2008-01-15 Murray Cumming <murrayc@murrayc.com>
301 * gvolume.c: For async functions that have no non-async
302 version, document that the GAsyncReadyCallback may be NULL.
305 2008-01-15 Alexander Larsson <alexl@redhat.com>
307 * gmemoryinputstream.c:
308 * gmemoryoutputstream.c:
309 Don't do pointer arithmetic on void * (#508602)
310 Patch from Kazuki IWAMOTO
312 2008-01-14 Matthias Clasen <mclasen@redhat.com>
314 * === Released 2.15.2 ===
316 2008-01-14 Alexander Larsson <alexl@redhat.com>
318 * gfile.c (g_file_monitor_file):
319 Don't set error here, since we fallback to polling monitor.
321 2008-01-14 Alexander Larsson <alexl@redhat.com>
324 (g_file_monitor_directory):
325 (g_file_monitor_file):
326 Add GError to file monitor calls
328 * glocaldirectorymonitor.c:
329 * glocaldirectorymonitor.h:
331 * glocalfilemonitor.c:
332 * glocalfilemonitor.h:
334 Update for above change
336 2008-01-14 Alexander Larsson <alexl@redhat.com>
340 Handle root correctly in g_file_get_relative_path (#508719)
342 2008-01-14 Alexander Larsson <alexl@redhat.com>
345 Clean up docs and example for GAsyncResult (#508074)
347 2008-01-11 Murray Cumming <murrayc@murrayc.com>
349 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
350 and correct some spelling mistakes. Bug #508108.
352 2008-01-11 Matthias Clasen <mclasen@redhat.com>
354 * glocalfileinfo.c: Add a comment.
356 2008-01-10 Murray Cumming <murrayc@murrayc.com>
358 * gfileinfo.c: GFileInfo description: Mention
359 how to actually set attributes in a GFile and how to discover
360 which attributes are settable. Bug #508378.
362 2008-01-10 A. Walton <awalton@svn.gnome.org>
364 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
365 (g_app_info_get_default_for_type):
366 Check for NULL content types.
368 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
370 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
372 2008-01-09 Murray Cumming <murrayc@murrayc.com>
374 * gfile.c: *_async() functions: Several small corrections
375 to the documentation, mostly correcting copy/paste errors
376 and improving some sentences.
378 2008-01-09 Dan Winship <danw@gnome.org>
380 * glocalfile.c (get_unique_filename): x86_64 fix
382 2008-01-09 Alexander Larsson <alexl@redhat.com>
387 Add g_unix_mount_guess_should_display and use
388 for unix volume monitor backend.
389 This means we more or less show what the
390 gnome-vfs backend did.
391 Based on patch from Padraig O'Briain
393 2008-01-09 Alexander Larsson <alexl@redhat.com>
397 Add g_themed_icon_new_with_default_fallbacks
400 Use default fallbacks for icons
402 2008-01-09 Alexander Larsson <alexl@redhat.com>
405 * gmountoperation.[ch]:
406 Change the API a bit so that unhandled methods
407 get reported via the reply, rather than by
408 the signal emission return value. This is because
409 some handlers can't know this immediately without
410 doing I/O, and this is an async operation that
413 2008-01-09 Alexander Larsson <alexl@redhat.com>
416 * fam/gfamdirectorymonitor.c:
417 * fam/gfamfilemonitor.c:
418 Fix double free crash (#508224)
419 Patch from Joe Marcus Clarke
421 008-01-07 Matthias Clasen <mclasen@redhat.com>
423 * === Released 2.15.1 ===
425 2008-01-07 Alexander Larsson <alexl@redhat.com>
427 * gunixinputstream.c (g_unix_input_stream_skip_finish):
428 Fix warning (#507835)
430 2008-01-07 Alexander Larsson <alexl@redhat.com>
433 Pass --internal to glib-genmarshal
438 Use better types for signal arguments (#507822)
440 2008-01-07 Alexander Larsson <alexl@redhat.com>
443 Build test subdir after .
444 Remove gdirectorymonitor.[ch]
446 * gdirectorymonitor.[ch]:
450 Remove GDirectoryMonitor and make
451 GFileMonitor the baseclass for both file and
452 directory monitors. Lift the more generic
453 rate limiting code from GDirectoryMonitor
457 * fam/gfamdirectorymonitor.[ch]:
458 * inotify/ginotifydirectorymonitor.[ch]:
459 * inotify/inotify-helper.c:
460 * glocaldirectorymonitor.[ch]:
463 Update for the removed GDirectoryMonitor.
465 * gmemoryoutputstream.c:
466 Remove ununsed variable
468 2008-01-07 Alexander Larsson <alexl@redhat.com>
470 * gmemoryinputstream.c:
471 Translate error strings
474 * gmemoryoutputstream.[ch]:
475 New implementation that avoids using GByteArray
476 in implementation and API. (#506377)
478 2008-01-06 Matthias Clasen <mclasen@redhat.com>
480 * tests/*: Add a test for memory input streams.
482 * Makefile.am: Add tests to SUBDIRS.
484 2008-01-06 Matthias Clasen <mclasen@redhat.com>
486 * glocalfilemonitor.c:
487 * glocaldirectorymonitor.c: Mark property nicks and blurbs
490 2008-01-06 Matthias Clasen <mclasen@redhat.com>
492 * gdesktopappinfo.c: Fix a docs typo.
494 * gfileattribute.c: Add information about extended attributes
495 to the documentation. (#505058)
497 2008-01-04 Alexander Larsson <alexl@redhat.com>
501 Use the right type (uint) for the ask_password signal.
503 2008-01-04 Alexander Larsson <alexl@redhat.com>
508 Add g_app_info_supports_files()
509 Remove desktop arg from g_app_info_should_show().
511 * gdesktopappinfo.[ch]:
512 Implement g_app_info_supports_files() and new should_show()
513 Add g_desktop_app_info_set_desktop_env() to set the desktop
514 for should_show(). (This will be set by gtk+ later)
516 2008-01-04 Alexander Larsson <alexl@redhat.com>
519 * gmemoryinputstream.[ch]:
520 Improve API so that you can use multiple chunks
521 of memory and custom destroy functions. (#506374)
523 2008-01-03 Alexander Larsson <alexl@redhat.com>
526 Handle NULL attribute matchers safely, as we return this
527 for empty attribute matcher strings.
529 2008-01-03 Alexander Larsson <alexl@redhat.com>
531 * gunixmounts.c (g_unix_is_mount_path_system_internal):
532 Add /usr/local to list of internal mountpoints
534 2008-01-03 Alexander Larsson <alexl@redhat.com>
537 Check for HAVE_LCHOWN (#505887)
539 2008-01-03 Alexander Larsson <alexl@redhat.com>
543 Add define for selinux context attribute.
544 Fix missing : -> :: namespace separator change
545 Fix missing _ -> - name change for xattr-sys.
548 2008-01-03 Alexander Larsson <alexl@redhat.com>
551 Link to libglib and libgobject directly (#504879)
552 Patch from Sebastien Bacher
554 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
556 * gfile.c: Expanded the g_file_new_for_commandline_arg
557 description a bit, based on the code and the docs of the
558 other g_file_new_for_* functions.
560 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
562 * gfilemonitor.h: Fixed typo in docs.
564 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
566 Updates to GIO documentation. (#506395, Mikael Hermansson)
568 * gcontenttype.c: Describe memory management for return value of
569 g_content_types_get_registered(). Missing piece from #505815.
570 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
571 GVolume, GDrive, GMounts, which hopefully gives the user less
572 confusions when using this API. Following explainations from
573 Alexander Larsson on gtk-devel-list.
575 2007-12-30 Matthias Clasen <mclasen@redhat.com>
577 * gfileinfo.c: Expand the long description.
579 2007-12-30 Matthias Clasen <mclasen@redhat.com>
582 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
583 fix builds with --disable-visibility. (#500273, Christian Persch)
585 2007-12-30 Matthias Clasen <mclasen@redhat.com>
587 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
588 in the list of returned app infos.
590 2007-12-30 Matthias Clasen <mclasen@redhat.com>
592 * gappinfo.c: Fix a cross-reference
594 2007-12-30 Matthias Clasen <mclasen@redhat.com>
596 * gfileinputstream.c:
597 * gfileoutputstream.c:
603 * gfileinfo.c: Documentation updates.
605 2007-12-26 Matthias Clasen <mclasen@redhat.com>
607 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
610 2007-12-26 Matthias Clasen <mclasen@redhat.com>
612 * gcontenttype.c (g_content_types_get_registered): Don't return
613 freed memory (#505815, Mikael Hermansson)
615 2007-12-25 Paolo Borelli <pborelli@katamail.com>
617 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
618 used to detect statbuf->st_blocks. (#505042)
620 2007-12-24 Matthias Clasen <mclasen@redhat.com>
622 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
623 environment handling. (#504829, Cosimo Cecchi)
625 2007-12-22 Matthias Clasen <mclasen@redhat.com>
627 * gappinfo.c: Doc improvements
629 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
632 2007-12-20 Matthias Clasen <mclasen@redhat.com>
634 * === Released 2.15.0 ===
636 2007-12-20 Hans Breuer <hans@breuer.org>
638 * makefile.msc : don't build gdesktopappinfo.obj, it collides
639 with symbols gwin32appinfo.obj, added gmount.obj
640 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
642 2007-12-20 Alexander Larsson <alexl@redhat.com>
648 * gfilenamecompleter.c:
651 * gpollfilemonitor.c:
652 File attribute renames:
655 id::fs -> id::filesystem
657 2007-12-20 Alexander Larsson <alexl@redhat.com>
666 Add GMountUnmountFlags to all unmount and
668 Add g_mount_remount() call.
670 2007-12-20 Alexander Larsson <alexl@redhat.com>
672 * gvfs.c (get_default_vfs):
673 Fix unused variable warning
675 2007-12-19 Matthias Clasen <mclasen@redhat.com>
677 * pltcheck.sh: Update
679 2007-12-19 Matthias Clasen <mclasen@redhat.com>
681 * gunionvolumemonitor.c:
682 * gunixmount.c: Remove C99 comments
684 2007-12-19 Matthias Clasen <mclasen@redhat.com>
686 * gio.symbols: Add some missing symbols
688 2007-12-19 Alexander Larsson <alexl@redhat.com>
691 Make g_io_modules_load_all_in_directory not unuse
692 loaded modules so that users of it can do stuff
694 Init internal "module" types.
695 Initialize static prio and name for types so that
696 we don't have to load modules to get it.
698 * gnativevolumemonitor.h:
700 Move is_supported to parent class so that
701 non-native monitors can avoid being initialized
702 too. (For instance GDaemonVolumeMonitor if we're
703 not using GDaemonVfs.)
705 * glocaldirectorymonitor.[ch]:
706 * glocalfilemonitor.[ch]:
707 * gunionvolumemonitor.c:
708 * gunixvolumemonitor.c:
710 Find plugins using the static prio+name to
711 avoid unnecessarily loading the modules.
713 2007-12-19 Alexander Larsson <alexl@redhat.com>
718 2007-12-19 Alexander Larsson <alexl@redhat.com>
720 * gunionvolumemonitor.c:
721 Store the native type as GType, not class so that
722 we can unload it. But still avoid unnecessarily
725 2007-12-19 David Zeuthen <davidz@redhat.com>
727 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
728 add signals 'disconnected' and 'eject-button' on GDrive. Add
729 signal 'removed' on GVolume and 'unmounted' on GMount.
731 * gdrive.c: (g_drive_base_init):
733 * gfile.c: (g_file_mount_mountable),
734 (g_file_mount_enclosing_volume):
737 * gmount.c: (g_mount_base_init):
739 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
740 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
741 * gvolume.c: (g_volume_base_init), (g_volume_mount):
745 2007-12-17 Matthias Clasen <mclasen@redhat.com>
747 * *.c: Fix up includes in the section docs.
749 2007-12-17 Alexander Larsson <alexl@redhat.com>
751 * gnativevolumemonitor.h:
752 * gunionvolumemonitor.c:
753 * gunixvolumemonitor.c:
754 Add is_supported() to GNativeVolumeMonitorClass so
755 that we can avoid having to create an object to see
756 if the backend is supported at runtime.
757 Also add name member and an env var to pick a specific
758 volume monitor backend.
762 Add cancellable to _g_mount_get_for_mount_path()
764 * glocaldirectorymonitor.c:
765 * glocalfilemonitor.c:
766 Avoid loading and unloading modules while sorting.
768 2007-12-17 Matthias Clasen <mclasen@redhat.com>
771 * gunixmounts.[hc]: Namespace waste reduction, move some
772 g_get_unix_mount functions to the g_unix_mount namespace.
775 * gunixvolumemonitor.c:
777 * glocaldirectorymonitor.c: Update all callers.
779 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
781 2007-12-17 Alexander Larsson <alexl@redhat.com>
784 Add doc comments about what GFile operations are
785 guaranteed to not block.
787 2007-12-17 Alexander Larsson <alexl@redhat.com>
790 Add missing #ifdef fixing OSX build.
791 (#503334, patch from Richard Hult)
793 2007-12-14 David Zeuthen <davidz@redhat.com>
797 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
798 (g_mount_eject), (g_mount_eject_finish):
800 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
801 (get_volume_for_uuid), (get_mount_for_uuid),
802 (g_union_volume_monitor_class_init),
803 (get_default_native_type_with_exclude), (get_default_native_type),
804 (get_native_type), (update_native_type),
805 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
806 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
807 (g_unix_mount_can_eject), (eject_unmount_cb),
808 (eject_unmount_read_error), (eject_unmount_do),
809 (g_unix_mount_unmount), (g_unix_mount_eject),
810 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
811 * gunixmounts.c: (g_unix_mount_guess_can_eject),
812 (g_unix_mount_point_guess_can_eject):
814 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
815 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
816 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
817 (g_unix_volume_mount), (g_unix_volume_eject),
818 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
819 * gunixvolumemonitor.c: (get_volume_for_uuid),
820 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
822 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
823 (g_volume_eject), (g_volume_eject_finish):
825 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
826 (g_volume_monitor_get_mount_for_uuid):
829 Provide eject() on both GMount and GVolume and utility functions
830 to guess whether a GUnixMountPoint or GUnixMountEntry should be
831 ejected. Introduce the concept of UUID's and wire it into GVolume
832 and GMount and provide API on GVolumeMonitor to find such
833 instances. Also handle the case where an external
834 GNativeVolumeMonitor fails to initialize. Lock around the
835 _g_get_mount_for_mount_path() function such that volume monitor
836 implementations won't have to do locking themselves.
838 2007-12-17 Matthias Clasen <mclasen@redhat.com>
846 * gvolume.h: Documentation updates
848 2007-12-14 Matthias Clasen <mclasen@redhat.com>
851 * gfile.h: Doc updates
853 2007-12-14 Matthias Clasen <mclasen@redhat.com>
856 * gdesktopappinfo.c: Use hash table iterators.
858 2007-12-14 Alexander Larsson <alexl@redhat.com>
861 * gfileattribute.[ch]:
862 * gfileattribute-priv.h:
863 Move GFileAttributeValue to a private header, as
867 Make set_attribute take a type + a pointer instead
868 of a GFileAttributeValue.
871 Fix up for above changes.
872 Add g_file_info_get_attribute_data to get
873 all info in one call, g_file_info_get_attribute_status
874 to get the status and g_file_info_get_attribute_as_string.
878 * glocalfileinfo.[ch]:
882 Make _guess_type static.
884 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
887 * inotify/Makefile.am: Fixed build when srcdir != builddir,
888 made mkenums and friends use temporary files to avoid leaving
889 empty generated files on failure (#503470).
891 2007-12-14 Alexander Larsson <alexl@redhat.com>
896 2007-12-14 Alexander Larsson <alexl@redhat.com>
900 * gfileattribute.[ch]:
903 * glocalfileoutputstream.c:
904 * gmountoperation.[ch]:
905 * goutputstream.[ch]:
906 Clean up all flags enums to not have _FLAGS in them
907 Make the names of some of the enums better.
912 2007-12-14 Michael Natterer <mitch@imendio.com>
914 * gio.symbols: fix g_io_scheduler symbol names.
916 2007-12-14 Alexander Larsson <alexl@redhat.com>
922 * gbufferedinputstream.h:
923 * gbufferedoutputstream.h:
926 * gdatainputstream.h:
927 * gdataoutputstream.h:
929 * gdirectorymonitor.h:
936 * gfileinputstream.h:
938 * gfilenamecompleter.h:
939 * gfileoutputstream.h:
940 * gfilterinputstream.h:
941 * gfilteroutputstream.h:
949 * gmemoryinputstream.h:
950 * gmemoryoutputstream.h:
955 * gsimpleasyncresult.h:
957 * gunixinputstream.h:
959 * gunixoutputstream.h:
963 * inotify/Makefile.am:
964 Only allow including <gio/gio.h> from apps
966 2007-12-14 Alexander Larsson <alexl@redhat.com>
969 * gsimpleasyncresult.c:
970 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
971 Split out the send_to_mainloop call into two versions instead
972 of having the block argument.
974 2007-12-13 Alexander Larsson <alexl@redhat.com>
978 * gbufferedinputstream.c:
980 * gfileinputstream.c:
981 * gfileoutputstream.c:
985 g_push/pop_current_cancellable ->
986 g_cancellable_push/pop_current
988 2007-12-13 Alexander Larsson <alexl@redhat.com>
992 Rename g_mount_for_location to g_file_mount_enclosing_volume.
994 2007-12-13 Alexander Larsson <alexl@redhat.com>
997 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
999 2007-12-12 Alexander Larsson <alexl@redhat.com>
1002 Fix race condition when freeing proxy in
1003 g_io_job_send_to_mainloop().
1005 2007-12-12 Alexander Larsson <alexl@redhat.com>
1011 Make attribute namespace separator "::" instead of ":".
1012 Use - instead of _ as separator in attribute names.
1014 2007-12-12 Alexander Larsson <alexl@redhat.com>
1016 * gbufferedinputstream.h:
1017 * gbufferedoutputstream.h:
1018 * gdatainputstream.h:
1019 * gdataoutputstream.h:
1020 * gdirectorymonitor.h:
1021 * gfileenumerator.h:
1022 * gfileinputstream.h:
1024 * gfileoutputstream.h:
1025 * gfilterinputstream.h:
1026 * gfilteroutputstream.h:
1028 * glocalfileinputstream.h:
1029 * glocalfileoutputstream.h:
1030 * gmemoryinputstream.h:
1031 * gmemoryoutputstream.h:
1032 * gnativevolumemonitor.h:
1034 * gunixinputstream.h:
1035 * gunixoutputstream.h:
1038 s/parent/parent_instance/ in GObjects
1040 2007-12-12 Alexander Larsson <alexl@redhat.com>
1045 No need for padding for interfaces
1047 2007-12-12 Alexander Larsson <alexl@redhat.com>
1051 * gbufferedinputstream.c:
1052 * gbufferedoutputstream.c:
1055 * gdatainputstream.[ch]:
1056 * gdesktopappinfo.c:
1057 * gdirectorymonitor.c:
1059 * gfileattribute.[ch]:
1062 * gfileinputstream.h:
1063 * gfilemonitor.[ch]:
1064 * gfileoutputstream.[ch]:
1065 * gfilterinputstream.h:
1066 * gfilteroutputstream.h:
1069 * gloadableicon.[ch]:
1070 * gmemoryinputstream.c:
1071 * gmountoperation.c:
1073 Fix up a bunch of details in the docs.
1078 2007-12-11 David Zeuthen <davidz@redhat.com>
1080 Rework how volumes, drives and volume monitoring is
1081 done. Previosly the model was
1083 GDrive <1-1> GVolume
1085 where a GDrive instance represented a mount point and a GVolume
1086 instance represented a mounted file system. This patch changes it
1089 GDrive <1-N> GVolume <1-1> GMount
1091 where GMount now serves the purpose of the old GVolume and the new
1092 GVolume serves the purpose of the old GDrive. In addition the new
1093 GDrive interface is used to represent a collection of GVolume
1094 instances (typically partitions) and also contains utility to query
1095 the state of the physical drive the GDrive object represents (such
1096 as checking for media, polling the drive, ejecting the media etc.).
1098 Also implement mounting and unmounting in the Unix volume monitor
1099 backend. A subquent patch will introduce GDrive support for ejection
1103 * gdrive.c: (g_drive_is_media_check_automatic),
1104 (g_drive_is_media_removable), (g_drive_has_media),
1105 (g_drive_can_poll_for_media), (g_drive_eject),
1106 (g_drive_eject_finish), (g_drive_poll_for_media),
1107 (g_drive_poll_for_media_finish):
1109 * gfile.c: (g_file_find_enclosing_mount):
1112 * glocaldirectorymonitor.c:
1113 (g_local_directory_monitor_constructor), (mounts_changed):
1114 * glocalfile.c: (get_mount_info),
1115 (g_local_file_find_enclosing_mount),
1116 (g_local_file_file_iface_init):
1117 * gnativevolumemonitor.h:
1118 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1119 (get_connected_drives), (g_union_volume_monitor_class_init),
1120 (child_volume_added), (child_volume_removed),
1121 (child_volume_changed), (child_mount_added), (child_mount_removed),
1122 (child_mount_pre_unmount), (child_mount_changed),
1123 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1124 (g_union_volume_monitor_remove_monitor),
1125 (_g_mount_get_for_mount_path):
1126 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1127 (guess_system_internal), (_g_get_unix_mounts),
1128 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1129 (g_unix_mount_free), (g_unix_mount_compare),
1130 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1131 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1132 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1133 (type_to_icon), (g_unix_mount_guess_name),
1134 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1135 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1136 (_resolve_symlink), (_resolve_dev_root):
1138 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1139 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1140 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1141 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1142 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1143 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1144 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1145 (g_unix_volume_volume_iface_init):
1147 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1148 (get_mounts), (get_volumes), (get_connected_drives),
1149 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1150 (mountpoints_changed), (mounts_changed),
1151 (g_unix_volume_monitor_init),
1152 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1153 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1154 * gunixvolumemonitor.h:
1155 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1156 (g_volume_mount), (g_volume_mount_finish):
1158 * gvolumemonitor.c: (g_volume_monitor_class_init),
1159 (g_volume_monitor_get_connected_drives),
1160 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1163 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1165 * gmountoperation.h (GPasswordFlags): Close the gap
1167 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1169 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1171 * gdesktopappinfo.[hc]: Remove _-prefixes
1173 2007-12-10 Tor Lillqvist <tml@novell.com>
1175 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1178 2007-12-10 Alexander Larsson <alexl@redhat.com>
1180 * gfile.c (g_file_set_display_name):
1181 Don't hardcode '/' (#502727)
1183 2007-12-09 Hans Breuer <hans@breuer.org>
1185 * makefile.msc : follow lib naming convention
1186 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1187 for user and group name, tested with ../tests/gio-ls
1189 2007-12-09 A. Walton <awalton@svn.gnome.org>
1191 * gdesktopappinfo.c:
1197 * gfileenumerator.c:
1202 * gmemoryinputstream.c:
1203 * gmemoryoutputstream.c:
1205 * gsimpleasyncresult.c:
1206 More documentation cleanup and filling in missing information, bringing
1207 GIO to 99% symbol coverage.
1209 2007-12-08 Hans Breuer <hans@breuer.org>
1211 [gio compiles and links on win32, not sure how much already works]
1212 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1213 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1214 base on win32 API; prefer g_lstat() over lstat(); instead of
1215 localtime_r() use an all GLib implementation on win32;
1216 get_mount_info() still needs a win32 specifc implementation
1217 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1218 win32_get_file_user_info to get owner/group info without uid/gid
1219 * glocalfileinputstream.c : include <io.h> on win32
1220 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1221 definition, use g_win32_ftruncate() for G_OS_WIN32
1222 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1223 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1224 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1225 * makefile.msc : updated
1227 2007-12-07 Alexander Larsson <alexl@redhat.com>
1229 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1230 Avoid warning spew if error == NULL
1232 2007-12-07 Alexander Larsson <alexl@redhat.com>
1235 Update docs wrt etags
1237 2007-12-06 Alexander Larsson <alexl@redhat.com>
1240 Include sys/types.h for dev_t (#501919)
1242 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1246 Make abicheck and pltcheck pass.
1248 2007-12-05 Alexander Larsson <alexl@redhat.com>
1251 * giomodule-priv.h: Added.
1252 * glocaldirectorymonitor.c:
1253 * glocalfilemonitor.c:
1254 * gunionvolumemonitor.c:
1256 Actually add the declaration of _g_io_modules_ensure_loaded
1258 2007-12-05 Alexander Larsson <alexl@redhat.com>
1260 * gdatainputstream.c:
1265 * glocaldirectorymonitor.c:
1266 * glocalfilemonitor.c:
1267 * gunionvolumemonitor.c:
1269 Make g_io_modules_ensure_loaded a private function and
1270 don't pass in the dirname. This means we can do magic
1271 directory finding in the win32 version.
1272 Export the actual load-modules-in-directory code so that
1273 gvfs can reuse that.
1275 2007-12-05 Alexander Larsson <alexl@redhat.com>
1277 * gbufferedinputstream.c:
1278 * gbufferedoutputstream.c:
1281 * gfileenumerator.[ch]:
1282 * gfileinputstream.c:
1283 * gfileoutputstream.[ch]:
1284 * gfilterinputstream.c:
1285 * gfilteroutputstream.c:
1286 * ginputstream.[ch]:
1288 * glocalfileenumerator.c:
1289 * glocalfileinputstream.c:
1290 * glocalfileoutputstream.c:
1291 * gmemoryinputstream.c:
1292 * gmemoryoutputstream.c:
1293 * goutputstream.[ch]:
1296 * gunixinputstream.c:
1297 * gunixoutputstream.c:
1298 Rename all struct members named:
1299 read, write, close, truncate, or mount
1300 to foo_fn, as these are reserved names
1301 and could be defined as macros in libc.
1304 2007-12-04 Alexander Larsson <alexl@redhat.com>
1307 (g_output_stream_close):
1308 Only call flush if non-null.
1310 2007-11-30 Dan Winship <danw@gnome.org>
1312 * ginputstream.c (g_input_stream_set_pending): Make this take a
1313 GError and return a gboolean, and do the "outstanding operation"
1314 check (and the "stream is already closed" check) itself.
1315 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1317 * goutputstream.c (g_output_stream_set_pending)
1318 (g_output_stream_clear_pending): Likewise
1320 * gbufferedinputstream.c:
1321 * gfileinputstream.c:
1322 * gfileoutputstream.c: Update for that
1324 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1325 Like g_simple_async_report_error_in_idle, but takes a GError
1326 rather than building one.
1328 2007-11-30 Dan Winship <danw@gnome.org>
1330 * goutputstream.c: Don't cheat and unset the "pending" flag around
1331 inner calls. Instead, call the class method directly rather than
1332 the wrapper function that checks "pending"
1334 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1336 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1338 2007-12-03 Hans Breuer <hans@breuer.org>
1340 [start of port to win32/msvc]
1341 * gcancellable.c : HAVE_UNIST_H and _pipe()
1342 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1343 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1344 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1346 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1347 * glocalvfs.c : use HAVE_PWD_H
1348 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1349 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1350 * Makefile.am : added to EXTRA_DIST
1352 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1354 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1357 2007-12-03 Alexander Larsson <alexl@redhat.com>
1360 Handle OSX style xattrs API (#500506)
1362 2007-12-03 Alexander Larsson <alexl@redhat.com>
1366 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1368 2007-12-02 A. Walton <awalton@svn.gnome.org>
1372 Documentation accuracy fixes.
1374 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1376 * gioenumtypes.c.template: Fix typo.
1378 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1380 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1382 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1384 * gdirectorymonitor.c:
1385 * gfilemonitor.c: Add properties
1387 * gbufferedoutputstream.c: Don't mark buffer-size property
1390 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1392 * gbufferedoutputstream.c: Add auto-grow property.
1394 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1396 * *.c: Unify the capitalization of section headings.
1398 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1400 * gmountoperation.c: Add properties
1402 * gdatainputstream.c: Turn byte-order and newline-type into
1405 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1407 * gioenumtypes.[hc].template: Templates for enum registration
1409 * Makefile.am: Generate gioenumtypes.[hc]
1411 * gio.h: Include gioenumtypes.h
1413 * gfile.h: Add some explicit nicks.
1415 * gio.symbols: Add new symbols
1417 * pltcheck.sh: Adjust
1419 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1421 * *.c: Explain etags and link to the explanation
1423 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1425 * *.c: Explain I/O priority.
1427 * *.c: More coding style fixes.
1429 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1431 * gasyncresult.c: Add another paragraph to the intro,
1432 adjust coding style of example.
1434 2007-11-29 A. Walton <awalton@svn.gnome.org>
1437 Fixes unknown meaning in GAppLaunchContext docs.
1439 Clarify asynchronous ops.
1441 Fix entity tag docs.
1444 Provides missing gtk-doc section, fixes API docs slighly.
1445 * gsimpleasyncresult.c:
1446 Fill in missing info in docs.
1447 * gunixinputstream.c:
1448 * gunixoutputstream.c:
1449 Be more expressive in short description.
1451 Remove gtk-doc stubs for non-public API.
1453 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1455 * *.c: Coding style fixups
1457 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1459 * inotify/inotify-helper.c: Don't export the lock from libgio.
1461 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1464 * abicheck.sh: Fix copy-and-paste leftovers
1466 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1468 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1470 2007-11-28 Alexander Larsson <alexl@redhat.com>
1474 Removed unnecessary file
1476 * gdesktopappinfo.[ch]:
1479 * glocaldirectorymonitor.[ch]:
1481 * glocalfileenumerator.[ch]:
1482 * glocalfileinputstream.[ch]:
1483 * glocalfilemonitor.[ch]:
1484 * glocalfileoutputstream.[ch]:
1486 * gnativevolumemonitor.c:
1487 * gpollfilemonitor.[ch]:
1488 * gunionvolumemonitor.[ch]:
1491 * gunixvolumemonitor.[ch]:
1494 * inotify/ginotifydirectorymonitor.[ch]:
1495 * inotify/ginotifyfilemonitor.[ch]:
1496 * inotify/inotify-helper.c:
1497 Append _ to all internal functions
1501 Export symbols needed for modules
1503 2007-11-28 Alexander Larsson <alexl@redhat.com>
1506 * abicheck.sh: Added.
1507 * makegioalias.pl: Added.
1508 * pltcheck.sh: Added.
1509 * gio.symbols: Added.
1512 Initial work on adding symbol handling.
1515 Correct ifdef guard name
1518 * inotify/Makefile.am:
1519 * xdgmime/Makefile.am:
1520 Include toplevel Makefile.decl
1522 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1524 * gcontenttype.c: Move doc comments to the unix section.
1526 * *.[hc]: More trivial doc corrections.
1528 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1530 * gpollfilemonitor.c:
1534 * gdesktopappinfo.c:
1539 * gdatainputstream.c:
1540 * gdatainputstream.h:
1541 * gdataoutputstream.c:
1542 * gdataoutputstream.h:
1543 * gfileinfo.h: Doc cleanups
1545 2007-11-28 Andre Klapper <a9016009@gmx.de>
1547 * gdesktopappinfo.c: Fix a typo.
1549 2007-11-27 Andre Klapper <a9016009@gmx.de>
1551 * glocalfileoutputstream.c: Fix a typo.
1553 2007-11-27 Alexander Larsson <alexl@redhat.com>
1556 Don't include removed headers
1558 2007-11-27 Alexander Larsson <alexl@redhat.com>
1561 * gsocketinputstream.[ch]: Removed.
1562 * gsocketoutputstream.[ch]: Removed.
1563 * gunixinputstream.[ch]: Added.
1564 * gunixoutputstream.[ch]: Added.
1565 Renamed GSocket*Stream to GUnix*Stream and made
1566 it unix-only, since its not really only for sockets
1567 and it only works on unix (but is highly useful there).
1569 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1575 * gbufferedinputstream.c:
1576 * gbufferedinputstream.h:
1577 * gbufferedoutputstream.c:
1578 * gbufferedoutputstream.h:
1582 * gdatainputstream.c:
1583 * gdatainputstream.h:
1584 * gdataoutputstream.c:
1585 * gdataoutputstream.h:
1586 * gdirectorymonitor.c:
1587 * gdirectorymonitor.h:
1594 * gfileenumerator.c:
1595 * gfileenumerator.h:
1600 * gfileinputstream.c:
1601 * gfileinputstream.h:
1604 * gfilenamecompleter.c:
1605 * gfilenamecompleter.h:
1606 * gfileoutputstream.c:
1607 * gfileoutputstream.h:
1608 * gfilterinputstream.c:
1609 * gfilterinputstream.h:
1610 * gfilteroutputstream.c:
1611 * gfilteroutputstream.h:
1624 * glocalfileoutputstream.c:
1625 * gmemoryinputstream.c:
1626 * gmemoryinputstream.h:
1627 * gmemoryoutputstream.c:
1628 * gmemoryoutputstream.h:
1629 * gmountoperation.c:
1630 * gmountoperation.h:
1633 * gpollfilemonitor.c:
1636 * gsimpleasyncresult.c:
1637 * gsimpleasyncresult.h:
1638 * gsocketinputstream.c:
1639 * gsocketinputstream.h:
1640 * gsocketoutputstream.c:
1641 * gsocketoutputstream.h:
1648 * gunixvolumemonitor.c:
1657 Bumps documentation to 93% symbol coverage, touching most
1658 of the public files. Fixes broken function documentation prototypes.
1659 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1660 gtk-doc headers in private files.
1662 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1664 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1665 (g_buffered_input_stream_read_byte):
1666 * gbufferedinputstream.h:
1667 New functions for efficient access to buffer and simple single byte
1670 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1671 (g_data_input_stream_read_until):
1672 * gdatainputstream.h:
1673 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1674 read_until with multiple stop chars.
1676 2007-11-27 Alexander Larsson <alexl@redhat.com>
1680 * inotify/Makefile.am:
1681 Use the user-specified giomoduledir
1683 2007-11-27 Alexander Larsson <alexl@redhat.com>
1687 Add catch-all gio.h header
1688 Don't install gdummyfile.h
1690 2007-11-26 Alexander Larsson <alexl@redhat.com>
1692 * Makefile.am (gioinclude_HEADERS):
1693 Remove trailing whitespace
1695 2007-11-26 Alexander Larsson <alexl@redhat.com>
1697 Merge gio-standalone into glib
1699 2007-11-25 Christian Kellner <gicmo@gnome.org>
1701 * gio/goutputstream.c:
1702 Fix small mistake in the docs.
1704 2007-11-21 Christian Persch <chpe@gnome.org>
1706 * gio/glocalfile.c: (g_local_file_trash):
1707 Convert filenames to UTF-8 for GError.
1708 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1709 as per xdg base dir spec.
1711 2007-11-21 Christian Persch <chpe@gnome.org>
1713 * gio/gdesktopappinfo.c:
1714 Use that g_key_file_to_data cannot fail.
1716 Use stock defines for the key file group and key names.
1719 2007-11-21 Alexander Larsson <alexl@redhat.com>
1722 (copy_stream_with_progress):
1723 Make sure we do a final progress callback with
1724 the full total size.
1726 2007-11-21 Alexander Larsson <alexl@redhat.com>
1729 Export g_file_copy_attributes
1730 Remove padding as its not needed for interfaces
1732 2007-11-20 Alexander Larsson <alexl@redhat.com>
1737 Add G_IO_ERROR_WOULD_MERGE for
1738 copy/move dir on dir with overwrite.
1740 2007-11-20 Alexander Larsson <alexl@redhat.com>
1743 * gio/glocalfileinfo.c:
1744 Add COPY_NAME (this is an optional
1745 non-modified utf8 version of the name) that
1748 2007-11-20 Alexander Larsson <alexl@redhat.com>
1750 * gio/glocalfileenumerator.c:
1751 Report errors as GIOError, not GFileError
1753 2007-11-16 Alexander Larsson <alexl@redhat.com>
1755 * gio/glocalfileoutputstream.c:
1756 * gio/gwin32appinfo.c:
1757 Fix typos in strings.
1758 Patch from Luca Ferretti <elle.uca@libero.it>
1760 2007-11-15 Alexander Larsson <alexl@redhat.com>
1763 Post release version bump
1765 === gio-standalone 0.1.2 ===
1767 2007-11-15 Alexander Larsson <alexl@redhat.com>
1769 * docs/reference/gio/Makefile.am:
1770 Fix up distcheck by removing weird
1776 2007-11-14 Alexander Larsson <alexl@redhat.com>
1778 * gio/gdesktopappinfo.c:
1779 * gio/glocaldirectorymonitor.c:
1781 * gio/glocalfileinfo.c:
1782 * gio/inotify/inotify-sub.c:
1783 * programs/gio-cat.c:
1784 * programs/gio-copy.c:
1785 * programs/gio-info.c:
1786 * programs/gio-ls.c:
1787 * programs/gio-monitor-dir.c:
1788 * programs/gio-monitor-file.c:
1789 * programs/gio-mount.c:
1790 * programs/gio-move.c:
1791 * programs/gio-rm.c:
1792 * programs/gio-save.c:
1793 * programs/gio-trash.c:
1794 Leak fixes from Kjartan Maraas
1796 2007-11-14 Alexander Larsson <alexl@redhat.com>
1798 * gio/fam/fam-helper.c:
1800 * gio/glocalfileinfo.c:
1804 * gio/inotify/inotify-diag.c:
1805 * gio/inotify/inotify-kernel.c:
1806 Various code cleanups from Kjartan Maraas
1808 2007-11-14 Alexander Larsson <alexl@redhat.com>
1810 * gio/gioscheduler.c:
1812 Set up threadpool so that we cache 2 unused
1813 idle threads for at 15 secs. This means we
1814 will reuse thread-local data (like dbus connections)
1817 2007-11-14 Alexander Larsson <alexl@redhat.com>
1819 * gio/fam/fam-helper.c:
1820 * gio/fam/gfamdirectorymonitor.c:
1821 * gio/fam/gfamfilemonitor.c:
1823 * gio/gcontenttype.c:
1824 * gio/gdatainputstream.c:
1825 * gio/gdataoutputstream.c:
1829 * gio/gfileattribute.h:
1830 * gio/gfileenumerator.c:
1832 * gio/ginputstream.c:
1835 * gio/glocalfileinfo.c:
1836 * gio/goutputstream.c:
1837 * gio/gpollfilemonitor.c:
1838 * gio/gsimpleasyncresult.c:
1839 * gio/gunixmounts.c:
1840 * gio/gunixmounts.h:
1841 * gio/inotify/ginotifydirectorymonitor.c:
1842 * gio/inotify/ginotifyfilemonitor.c:
1843 * gio/inotify/inotify-diag.c:
1844 * gio/inotify/inotify-kernel.c:
1845 * gio/inotify/inotify-path.c:
1847 * gio/test-streams.c:
1848 * programs/gio-info.c:
1849 * programs/gio-monitor-dir.c:
1850 * programs/gio-monitor-file.c:
1851 Various code cleanups from Kjartan Maraas
1853 2007-11-13 Alexander Larsson <alexl@redhat.com>
1856 Handle the uri-scheme calls for dummy files
1858 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1860 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1861 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1862 to avoid clash with the C++ keyword.
1864 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1866 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1867 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1869 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1871 * gio/glocaldirectorymonitor.c:
1872 * gio/glocalfilemonitor.c:
1873 * gio/gunionvolumemonitor.c:
1874 Don't use g_once_init_*() for initializations that could fail and
1875 could leave the initialization variable set to 0 but use GOnce.
1876 This prevents a deadlock on the second call when trying to create
1877 a monitor and no monitor type is available. Thanks to Sven Herzberg
1880 2007-11-11 Sven Herzberg <sven@imendio.com>
1882 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1883 #ifdef (make it work on MacOS X again)
1885 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1887 Fixes Changelog for last two commits (sorry guys).
1889 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1891 * gio/gbufferedinputstream.c:
1892 * gio/gdatainputstream.c:
1894 * gio/gfileoutputstream.c:
1895 * gio/gfilterinputstream.c:
1896 * gio/glocalfileinputstream.c:
1899 More consistency fixes in g*stream.c files.
1900 Significant clean of gfile's documentation, filling in of
1901 asynchronous operations documentation.
1903 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1905 * gio/gasyncresult.c:
1906 * gio/gbufferedinputstream.c:
1907 * gio/gbufferedoutputstream.c:
1908 * gio/gcancellable.c:
1909 * gio/gcontenttype.c:
1910 * gio/gdatainputstream.c:
1911 * gio/gdataoutputstream.c:
1912 * gio/gdesktopappinfo.c:
1915 * gio/gfileattribute.c:
1916 * gio/gio/gfileenumerator.c:
1918 * gio/gfileinputstream.c:
1919 * gio/gfilemonitor.c:
1920 * gio/gfileoutputstream.c:
1921 * gio/ginputstream.c:
1923 * gio/gioscheduler.c:
1924 * gio/gloadableicon.c:
1925 * gio/glocalfileoutputstream.c:
1926 * gio/gmemoryoutputstream.c:
1927 * gio/gmountoperation.c:
1928 * gio/goutputstream.c:
1930 * gio/gsimpleasyncresult.c:
1931 * gio/gunionvolumemonitor.c:
1932 * gio/gunixmounts.c:
1933 * gio/gunixvolume.c:
1937 * gio/gvolumemonitor.c:
1938 Updated documentation stubs, working towards consistency and
1941 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1943 * gio/gmemoryoutputstream.c:
1944 * gio/gmemoryoutputstream.h:
1945 Change g_memory_output_stream_set_free_on_close() to
1946 g_memory_output_stream_set_free_data() as this makes more sense and
1947 is more consistent with GMemoryInputStream.
1949 2007-11-07 Alexander Larsson <alexl@redhat.com>
1956 Change how we find the default vfs so that
1957 we can handle a gvfs failing to init
1959 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1961 * gio/gbufferedoutputstream.c:
1962 * gio/gdatainputstream.c:
1963 * gio/gdataoutputstream.c:
1964 * gio/gfileinputstream.c:
1965 * gio/gfileoutputstream.c:
1966 * gio/gfilterinputstream.c:
1967 * gio/gfilteroutputstream.c:
1968 * gio/ginputstream.c:
1969 * gio/gmemoryinputstream.c:
1970 * gio/gmemoryoutputstream.c:
1971 * gio/goutputstream.c:
1972 * gio/gsimpleasyncresult.c:
1973 * gio/gsocketinputstream.c:
1974 * gio/gsocketoutputstream.c:
1975 Add guards to the remaining public functions, add a TODO for
1976 an unimplemented function and remove some useless guards.
1978 2007-11-07 Alexander Larsson <alexl@redhat.com>
1981 Autoconf checks for the various types of
1982 getpwuid_r and getgrgid_r
1984 * gio/glocalfileinfo.c:
1985 Use the autoconf checks from above
1987 2007-11-07 Alexander Larsson <alexl@redhat.com>
1990 (g_local_file_query_filesystem_info):
1991 Some fixes for the statvfs case
1993 2007-11-07 Alexander Larsson <alexl@redhat.com>
1996 (g_local_file_query_filesystem_info):
1997 Pick the "best" of statfs / statvfs for the system
1998 if both are availible.
2000 2007-11-07 Alexander Larsson <alexl@redhat.com>
2002 Solaris fixes from Halton.Huo@Sun.COM:
2009 * gio/glocalfileinfo.c:
2010 Fix for solaris definition of getpwuid_r
2012 * gio/test-streams.c:
2013 Use G_GNUC_PRETTY_FUNCTION
2015 2007-11-07 Alexander Larsson <alexl@redhat.com>
2017 * gio/gdesktopappinfo.c:
2018 (update_default_list):
2019 Remove double semicolon.
2020 Patch from Jens Granseuer
2022 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2024 * docs/reference/gio/gio-sections.txt:
2025 * gio/gbufferedinputstream.c:
2026 * gio/gbufferedinputstream.h:
2027 * gio/gdatainputstream.c:
2028 * gio/gfileenumerator.c:
2029 * gio/gioscheduler.c:
2030 * gio/gunionvolumemonitor.c:
2032 * programs/gio-save.c:
2033 Fix typo: availible -> available. Unfortuntely this breaks API
2034 and ABI as g_buffered_input_stream_get_available() was renamed.
2036 * gio/gunixmounts.c:
2037 * gio/gbufferedinputstream.c:
2038 Add guards for public functions.
2040 2007-11-06 Ross Burton <ross@openedhand.com>
2042 * docs/reference/gio/Makefile.am:
2043 Fix invalid += usage which automake 1.10 doesn't like.
2045 2007-11-06 Alexander Larsson <alexl@redhat.com>
2048 (g_app_launch_context_class_init):
2051 Patch from Ross Burton
2053 2007-11-06 Alexander Larsson <alexl@redhat.com>
2056 Post release version bump
2058 === gio-standalone 0.1.1 ===
2060 2007-11-06 Alexander Larsson <alexl@redhat.com>
2063 Bump version to 0.1.1
2065 * gio/gsimpleasyncresult.c:
2066 (g_simple_async_result_set_from_error):
2067 Remove bogus g_return_if_fail
2069 2007-11-06 Alexander Larsson <alexl@redhat.com>
2072 The name is gio-standalone
2075 Add top src/builddir to includedir
2077 2007-11-06 Alexander Larsson <alexl@redhat.com>
2079 * docs/reference/gio/gio-sections.txt:
2081 * gio/gbufferedinputstream.c:
2082 * gio/gbufferedoutputstream.c:
2083 * gio/gcancellable.c:
2084 * gio/gdatainputstream.h:
2085 * gio/gdataoutputstream.c:
2086 * gio/gdataoutputstream.h:
2087 * gio/gdirectorymonitor.c:
2089 * gio/gfileattribute.c:
2090 * gio/gfileattribute.h:
2091 * gio/gfileenumerator.c:
2092 * gio/gfileenumerator.h:
2095 * gio/gfileinputstream.h:
2096 * gio/gfilemonitor.c:
2097 * gio/gfileoutputstream.h:
2098 * gio/glocalfilemonitor.h:
2099 * gio/glocalfileoutputstream.h:
2100 * gio/gmemoryinputstream.c:
2101 * gio/gmemoryoutputstream.c:
2102 * gio/gmountoperation.c:
2103 * gio/goutputstream.c:
2104 * gio/goutputstream.h:
2106 * gio/gsimpleasyncresult.c:
2107 * gio/gunixmounts.c:
2108 * gio/gunixmounts.h:
2110 * gio/inotify/inotify-helper.c:
2111 Fix gtk-doc warnings
2113 Patch from Ross Burton
2115 2007-11-06 Alexander Larsson <alexl@redhat.com>
2117 * gio/gfilenamecompleter.c:
2118 (g_filename_completer_get_completions):
2121 * gio/gunixvolume.c:
2122 Remove unused function
2124 Patches from Ross Burton
2126 2007-11-06 Alexander Larsson <alexl@redhat.com>
2131 Padding not needed for interfaces
2133 2007-11-06 Alexander Larsson <alexl@redhat.com>
2135 * gio/gfilemonitor.c:
2139 Make giotypes.h an internal file
2142 * gio/gbufferedinputstream.h:
2143 * gio/gbufferedoutputstream.h:
2144 * gio/gcancellable.h:
2145 * gio/gdatainputstream.h:
2146 * gio/gdataoutputstream.h:
2147 * gio/gdirectorymonitor.c:
2148 * gio/gdirectorymonitor.h:
2153 * gio/gfileattribute.h:
2154 * gio/gfileenumerator.h:
2159 * gio/gfilemonitor.c:
2160 * gio/gfilemonitor.h:
2161 * gio/gfilenamecompleter.c:
2162 * gio/gfilenamecompleter.h:
2163 * gio/gfilterinputstream.h:
2164 * gio/gfilteroutputstream.h:
2165 * gio/ginputstream.h:
2166 * gio/gmemoryinputstream.h:
2167 * gio/gmemoryoutputstream.h:
2168 * gio/gmountoperation.c:
2169 * gio/gmountoperation.h:
2170 * gio/gnativevolumemonitor.c:
2171 * gio/goutputstream.h:
2174 * gio/gsimpleasyncresult.c:
2175 * gio/gsimpleasyncresult.h:
2176 * gio/gsocketinputstream.h:
2177 * gio/gsocketoutputstream.h:
2178 * gio/gthemedicon.c:
2179 * gio/gthemedicon.h:
2183 * gio/gvolumemonitor.c:
2184 * gio/gvolumemonitor.h:
2185 Add padding in classes where it seems useful
2186 Don't include giotypes.h from public headers
2187 Move in Class definitions into c file where possible
2192 2007-11-06 Alexander Larsson <alexl@redhat.com>
2194 * docs/reference/gio/gio-docs.xml:
2195 Better structure for API docs
2197 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2200 * gio/gloadableicon.c:
2201 * gio/gsimpleasyncresult.c:
2202 * gio/gthemedicon.c:
2203 Add some more guards to public functions. Only files missing are now
2206 2007-11-06 Alexander Larsson <alexl@redhat.com>
2208 * docs/reference/gio/gio-docs.xml:
2209 Remove old files, add missing ones
2211 2007-11-06 Alexander Larsson <alexl@redhat.com>
2213 * docs/reference/gio/gio-sections.txt:
2216 Hide implementation classes
2218 * gio/gdriveprivate.h:
2219 * gio/gvolumeprivate.h:
2220 Remove non-existing function declarations
2222 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2225 Fix compilation warnings and add guards to the new functions.
2227 * gio/gasyncresult.c:
2229 Add guards to the public functions.
2232 Implement get_path().
2234 2007-11-06 Alexander Larsson <alexl@redhat.com>
2236 * gio/gfilenamecompleter.c:
2237 Make g_filename_completer_get_completions
2238 return char ** instead of GList for
2241 * docs/reference/gio/gio-docs.xml:
2242 * docs/reference/gio/gio-sections.txt:
2244 * gio/gasyncresult.c:
2245 * gio/gbufferedinputstream.c:
2246 * gio/gbufferedoutputstream.c:
2247 * gio/gcancellable.c:
2248 * gio/gcontenttype.c:
2249 * gio/gdatainputstream.c:
2250 * gio/gdataoutputstream.c:
2251 * gio/gdesktopappinfo.c:
2252 * gio/gdirectorymonitor.c:
2256 * gio/gfileattribute.c:
2257 * gio/gfileenumerator.c:
2260 * gio/gfileinputstream.c:
2261 * gio/gfilemonitor.c:
2262 * gio/gfilenamecompleter.c:
2263 * gio/gfilenamecompleter.h:
2264 * gio/gfileoutputstream.c:
2265 * gio/gfilterinputstream.c:
2267 * gio/ginputstream.c:
2269 * gio/gioscheduler.c:
2270 * gio/gloadableicon.c:
2271 * gio/glocaldirectorymonitor.c:
2273 * gio/glocalfileinputstream.c:
2274 * gio/glocalfilemonitor.c:
2275 * gio/glocalfileoutputstream.c:
2277 * gio/gmemoryinputstream.c:
2278 * gio/gmemoryoutputstream.c:
2279 * gio/gmountoperation.c:
2280 * gio/goutputstream.c:
2281 * gio/gpollfilemonitor.c:
2283 * gio/gsimpleasyncresult.c:
2284 * gio/gsocketinputstream.c:
2285 * gio/gsocketoutputstream.c:
2286 * gio/gthemedicon.c:
2287 * gio/gunionvolumemonitor.c:
2289 * gio/gunixmounts.c:
2290 * gio/gunixvolume.c:
2291 * gio/gunixvolumemonitor.c:
2295 * gio/gvolumemonitor.c:
2296 * gio/gwin32appinfo.c:
2297 Add (mostly stub) doc strings to public functions.
2298 Patch from Andrew Walton (awalton@gmail.com)
2300 2007-11-06 Alexander Larsson <alexl@redhat.com>
2302 * gio/gappinfo.[ch]:
2303 Added GAppLaunchContext object and pass that to launch.
2304 This allows simple implementation of both
2305 launch-on-screen and startup notification via a gtk+
2306 subclass of GAppLaunchContext
2308 * gio/gdesktopappinfo.c:
2309 Implement GAppLaunchContext API
2311 * gio/gwin32appinfo.c:
2314 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2316 * gio/gmountoperation.c:
2317 Add some guards to GMountOperation's public functions.
2319 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2323 * gio/gcancellable.c:
2324 * gio/gdirectorymonitor.c:
2326 * gio/gfileenumerator.c:
2327 * gio/gfilemonitor.c:,
2328 * gio/gfilenamecompleter.c:
2331 * gio/gioscheduler.c:
2335 * gio/gvolumemonitor.c:
2336 Add even more guards to various public functions.
2338 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2341 Add guards to the public functions of GAppInfo.
2343 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2345 * gio/gcontenttype.c:
2346 Add some more guards for public functions.
2348 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2350 * gio/fam/fam-module.c:
2351 * gio/fam/gfamdirectorymonitor.c:
2352 * gio/fam/gfamdirectorymonitor.h:
2353 * gio/fam/gfamfilemonitor.c:
2354 * gio/fam/gfamfilemonitor.h:
2355 * gio/inotify/ginotifydirectorymonitor.c:
2356 * gio/inotify/ginotifydirectorymonitor.h:
2357 * gio/inotify/ginotifyfilemonitor.c:
2358 * gio/inotify/ginotifyfilemonitor.h:
2359 Add proper copyright information and remove an unused variable
2360 in the GInotifyFileMonitor constructor.
2362 * gio/gcancellable.c:
2363 Add a guard for a public function and an assertion to prevent
2364 an undefined program state.
2366 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2368 * gio/gfileattribute.c:
2369 Don't run into an assertion if the given attribute value is NULL
2370 in g_file_attribute_value_get_*() but instead return a fallback
2371 value that makes sense in most situations. Passing them a attribute
2372 value with the wrong type will still run into an assertion.
2374 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2376 * gio/gfileattribute.c:
2378 Add even more guards to the public functions. Also fix the refcounting
2379 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2380 let g_file_info_list_attributes() filter the attributes by namespace
2381 instead of simply ignoring the namespace parameter.
2383 2007-11-03 Sven Herzberg <sven@imendio.com>
2385 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2386 (This makes gio work on MacOS X again)
2388 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2391 Build the gio subdirectory before the docs. Otherwise the build will
2394 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2395 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2396 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2397 Add guards to the public functions.
2399 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2401 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2402 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2403 to prevent a compiler warning.
2405 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2406 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2407 return something in the non-void function find_topdir_for().
2409 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2416 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2418 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2419 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2420 * gwin32appinfo.c (g_win32_app_info_launch):
2421 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2422 envp_for_startup_id, g_desktop_app_info_launch,
2423 g_desktop_app_info_launch_uris):
2425 Give an opaque 'startup_id' string instead of 'envp'.
2426 Support empty file lists for launching new windows.
2427 Fix infinite recursion bug when launching URIs.
2429 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2432 Add guard to the new g_file_get_uri_scheme() function.
2434 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2437 Convert a g_return_val_if_fail() to setting the GError instead as
2438 otherwise applications have to verify the parameter before otherwise
2439 and the parameter might come directly from the user.
2441 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2443 * gio/inotify/ginotify*.[ch]:
2444 Add missing copyright information.
2446 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2449 Add guards in the beginning of public functions to check for valid
2450 parameters and fix a bug in copy_stream_with_progress() that could've
2451 caused writing less bytes than reading.
2452 * gio/glocalfileinfo.c:
2453 Check for a NULL parameter and set the GError accordingly then.
2454 * gio/goutputstream.c:
2455 Fix the same bug as in gfile.c that could've caused writing less bytes
2456 than reading in g_output_stream_real_splice().
2458 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2461 Use the correct gvolumeprivate.h naming
2463 2007-11-01 Christian Kellner <gicmo@gnome.org>
2466 Remove leftover "$(daemon_sources)" entry.
2468 2007-11-01 Christian Kellner <gicmo@gnome.org>
2473 Add copyright information to source files.
2475 2007-11-01 Alexander Larsson <alexl@redhat.com>
2479 Add g_file_get_uri_scheme
2481 2007-11-01 Alexander Larsson <alexl@redhat.com>
2484 * gio/gdesktopappinfo.c:
2485 * gio/gwin32appinfo.c:
2486 Add g_app_info_get_default_for_uri_scheme.
2488 2007-11-01 Alexander Larsson <alexl@redhat.com>
2491 Correct filename for gdriveprivate.h
2493 2007-10-31 Alexander Larsson <alexl@redhat.com>
2496 Rename id:value to id:file
2499 * gio/glocalfileinfo.c:
2502 2007-10-31 Alexander Larsson <alexl@redhat.com>
2504 * gio/gunixvolume.c:
2506 Remove g_volume_get_platform_id, as thats not
2507 needed with the simpler union volume monitor
2509 2007-10-31 Alexander Larsson <alexl@redhat.com>
2512 * gio/guniondrive.[ch]: Removed.
2513 * gio/gunionvolume.[ch]: Removed.
2514 Remove GUnionDrive/Volume
2516 * gio/gunionvolumemonitor.c:
2517 Simplify union volume monitor, now we
2518 only have one native volume monitor and
2519 we use the actual volumes/drives from the
2520 child monitors instead of wrapping them
2522 * gio/gnativevolumemonitor.[ch]:
2523 Base class for native volume monitors.
2524 Includes priority and get_volume_for_mountpoint
2527 Add g_file_find_enclosing_volume
2530 Remove volume name fs attribute
2531 Add readonly fs attribute
2534 Implement readonly attribute
2535 remove volume name attribute
2536 Implement find_enclosing volume
2538 * gio/gunixmounts.c:
2539 Add a volume for "/".
2541 * gio/gunixvolume.[ch]:
2542 Set better name for /
2544 * gio/gunixvolumemonitor.[ch]:
2545 Derive from GNativeVolumeMonitor
2546 Implement get_volume_for_mountpoint
2549 GVolume typedef moved to gfile.h
2551 * gio/gvolumeprivate.h:
2552 Add g_volume_get_for_mount_path
2554 2007-10-31 Alexander Larsson <alexl@redhat.com>
2556 * gio/gunixmounts.[ch]:
2557 Add cache info to unix mount listers
2558 Make getmntent use threadsafe
2559 Add is_system_internal attribute for GUnixMount
2561 * gio/gunixvolume.c:
2562 (g_unix_volume_new):
2563 Use is_system_internal instead of own code
2565 * gio/glocaldirectorymonitor.c:
2566 * gio/gunixvolumemonitor.c:
2567 Update to new gunixmounts API
2572 2007-10-30 Alexander Larsson <alexl@redhat.com>
2575 Add volume name fsinfo attribute
2578 Read volume name info
2580 * gio/gunionvolumemonitor.c:
2581 Fix infinite loops when finalizing a union volume monitor
2583 2007-10-30 Alexander Larsson <alexl@redhat.com>
2585 * gio/goutputstream.[ch]:
2586 Add splice() with default implementation
2588 * gio/gsocketoutputstream.c:
2589 (g_socket_output_stream_write):
2590 Return error on cancellation correctly.
2592 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2594 * gio/glocalfile.c (g_local_file_trash):
2595 Do not leak a string.
2597 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2599 * gio/gfile.c (g_file_load_contents):
2600 Unref the stream after closing it.
2602 2007-10-25 Alexander Larsson <alexl@redhat.com>
2604 * gio/gioscheduler.h:
2607 2007-10-25 Alexander Larsson <alexl@redhat.com>
2611 Add g_file_has_uri_scheme and implement for local files
2613 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2615 * gio/gdesktopappinfo.c: do not leak a string.
2617 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2619 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2620 (g_local_directory_monitor_new):
2621 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2622 (g_local_file_monitor_new):
2623 Only look for the monitor type that should be used the first time
2624 and use g_qsort_with_data() instead of our own bubble sort
2627 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2630 * gio/fam/Makefile.am:
2631 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2632 * gio/fam/fam-helper.h:
2633 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2634 * gio/fam/gfamdirectorymonitor.c:
2635 * gio/fam/gfamdirectorymonitor.h:
2636 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2637 * gio/fam/gfamfilemonitor.h:
2638 * gio/glocaldirectorymonitor.c:
2639 * gio/glocaldirectorymonitor.h:
2640 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2641 * gio/glocalfilemonitor.h:
2642 * gio/inotify/Makefile.am:
2643 * gio/inotify/ginotifydirectorymonitor.c:
2644 * gio/inotify/ginotifydirectorymonitor.h:
2645 * gio/inotify/ginotifyfilemonitor.c:
2646 * gio/inotify/ginotifyfilemonitor.h:
2647 Implement the FAM and Inotify monitors as
2648 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2649 their own GIO module. GLocal(Directory|File)Monitor will use the
2650 monitor with the highest rank that is supported on that machine.
2652 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2655 Change GIO module dir to $(libdir)/gio/modules and change
2656 the log domain from GVFS to GIO. Also only export symbols starting
2657 with g_ in the resulting library.
2658 * gio/test-streams.c: (main):
2659 Set log handler for the GIO log domain.
2661 2007-10-22 Alexander Larsson <alexl@redhat.com>
2663 * gio/gfilenamecompleter.[ch]:
2664 Add g_filename_completer_set_dirs_only
2666 2007-10-22 Alexander Larsson <alexl@redhat.com>
2669 * gio/gurifuncs.[ch]:
2670 Add some simple URI helpers
2672 * gio/gfilenamecompleter.[ch]:
2673 Added object for filename (parse name actually) completion
2676 Handle ~ in parse names
2678 2007-10-17 Alexander Larsson <alexl@redhat.com>
2681 * gio/glocalfileinfo.c:
2682 Add and implement id:value attribute
2684 2007-10-17 Alexander Larsson <alexl@redhat.com>
2687 * gio/guniondrive.c:
2689 Add and implement g_drive_has_volumes
2691 2007-10-17 Alexander Larsson <alexl@redhat.com>
2694 * gio/glocalfileinfo.[ch]:
2695 Add unix:is_mountpoint and implement for local files
2697 2007-10-16 Alexander Larsson <alexl@redhat.com>
2699 * gio/gunionvolumemonitor.c:
2700 (g_union_volume_monitor_init):
2701 Fix up the unix type getting so that it works with gcc
2703 2007-10-12 Alexander Larsson <alexl@redhat.com>
2706 * gio/glocalfileinfo.c:
2707 Add thumbnail:failed to file info
2709 2007-10-12 Richard Hult <richard@imendio.com>
2711 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2712 optimizing away the get_type call (happens with some gcc versions,
2713 like the one shipped with OS X 10.4).
2715 2007-10-12 Alexander Larsson <alexl@redhat.com>
2717 * gio/glocalfileinfo.c:
2718 (_g_local_file_info_set_attribute):
2719 Fix build if not HAVE_XATTR
2720 Patch from Milosz Derezynski <internalerror@gmail.com>
2722 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2724 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2725 around for review, otherwise I would have asked you before
2728 2007-10-11 Alexander Larsson <alexl@redhat.com>
2731 Add thumbnail:path attribute
2733 * gio/glocalfileinfo.c:
2734 Implement thumbnail:path for local files
2736 2007-10-11 Alexander Larsson <alexl@redhat.com>
2738 * gio/glocalfileinfo.c:
2739 (_g_local_file_info_get):
2740 Avoid duplicate icon names
2742 2007-10-11 Alexander Larsson <alexl@redhat.com>
2744 * gio/gthemedicon.[ch]:
2745 Change g_themed_icon_get_names return type to const
2747 2007-10-10 Alexander Larsson <alexl@redhat.com>
2749 * gio/glocalfileinfo.c:
2750 Don't reference freed memory
2752 2007-10-10 Alexander Larsson <alexl@redhat.com>
2754 * gio/gfileattribute.c:
2757 * gio/glocalfileinfo.c:
2760 2007-10-10 Alexander Larsson <alexl@redhat.com>
2763 Check for NULL icons
2765 * gio/gfileattribute.c:
2766 Don't dup when getting objects (same as for string attributes)
2768 * gio/gicon.c (g_icon_equal):
2769 Safely handle NULLs in equal
2771 2007-10-10 Alexander Larsson <alexl@redhat.com>
2774 Fix c++ compilation issues
2775 Patch from Milosz Derezynski <internalerror@gmail.com>
2777 2007-10-10 Alexander Larsson <alexl@redhat.com>
2779 * programs/gio-monitor-dir.c:
2780 Don't crash if dir monitor not supported.
2782 2007-10-09 Alexander Larsson <alexl@redhat.com>
2785 Add missing G_END_DECLS
2787 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2789 * gio/gfile.c: (g_file_set_display_name),
2790 (g_file_query_settable_attributes),
2791 (g_file_query_writable_namespaces):
2792 Return NULL not FALSE on errors as the return type is a pointer.
2794 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2796 * gio/glocalfile.c: (g_local_file_monitor_file):
2797 Don't call monitor_file on the default interface vtable (which
2798 is NULL) but simply return NULL. The caller, GFile, will create a
2799 polling monitor if NULL is returned.
2801 2007-10-09 Alexander Larsson <alexl@redhat.com>
2805 * gio-unix-2.0.pc.in:
2806 Add gio-unix-2.0.pc if OS_UNIX
2809 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2811 2007-10-09 Alexander Larsson <alexl@redhat.com>
2813 * gio/gunixmounts.[ch]:
2814 Make unix mount monitoring API sane.
2815 Now its just a object with mounts_changed
2816 and mountpoints_changed signals.
2818 * gio/glocaldirectorymonitor.c:
2819 * gio/gunixvolumemonitor.c:
2820 Use new mount monitor api
2822 2007-10-09 Alexander Larsson <alexl@redhat.com>
2824 * gio/gunixmounts.[ch]:
2825 Move guess type into one call for mounts and one for mountpoints
2828 * gio/gunixvolume.c:
2831 2007-10-09 Alexander Larsson <alexl@redhat.com>
2833 * gio/gunixmounts.[ch]:
2834 Remove _ prefix in preparation to make this semi-public
2835 Hide implementation of structs
2837 * gio/glocaldirectorymonitor.c:
2839 * gio/gunixvolume.c:
2840 * gio/gunixvolumemonitor.c:
2841 Update for above API changes
2843 2007-10-08 Alexander Larsson <alexl@redhat.com>
2846 Better polling fallback. This also handles the case where we have
2847 a monitor_file implementation, but it fails.
2849 2007-10-08 Alexander Larsson <alexl@redhat.com>
2853 * gio/gunixmounts.c:
2854 * programs/gio-monitor-dir.c:
2855 * programs/gio-monitor-file.c:
2856 Added cancellable to file monitoring calls.
2857 These are really sync calls and need this.
2859 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2861 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2862 (g_local_vfs_class_init):
2863 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2864 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2866 2007-10-05 Alexander Larsson <alexl@redhat.com>
2868 * gio/gdirectorymonitorprivate.h:
2869 * gio/gfilemonitorprivate.h:
2870 * gio/gdirectorymonitor.h:
2871 * gio/gfilemonitor.h:
2872 Remove *private.h and move to the public API, so that
2873 we can do implementations outside gio (such as in gvfs)
2875 * gio/gdirectorymonitor.c:
2876 * gio/gfilemonitor.c:
2877 * gio/glocaldirectorymonitor.c:
2878 * gio/gpollfilemonitor.c:
2879 * gio/inotify/inotify-helper.c:
2880 * gio/fam/fam-helper.c:
2881 Update to the new header names
2883 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2885 * gio/gdirectorymonitor.c:
2886 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2889 2007-10-04 Alexander Larsson <alexl@redhat.com>
2891 * gio/glocalfileinfo.c (get_access_rights):
2892 Set CAN_TRASH when we can move the file.
2893 We should really also check for a parent trash dir.
2895 2007-10-04 Alexander Larsson <alexl@redhat.com>
2897 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2898 Add can_trash access attribute
2900 2007-10-04 Alexander Larsson <alexl@redhat.com>
2903 (g_local_file_trash):
2904 Create info file first. This is per-spec and allows
2905 us to actually trash directories.
2907 2007-10-02 Alexander Larsson <alexl@redhat.com>
2909 * gio/gdesktopappinfo.c:
2910 Implement the new mime support code.
2911 Always set app as handling mimetype when being set as default for it
2913 2007-10-01 Alexander Larsson <alexl@redhat.com>
2915 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2916 Fix up check for xattrs:
2918 2007-10-01 Alexander Larsson <alexl@redhat.com>
2921 (g_app_info_set_as_default_for_extension):
2922 (g_app_info_add_supports_type):
2923 (g_app_info_can_remove_supports_type):
2924 (g_app_info_remove_supports_type):
2925 Make these fail nicely if not implemented
2927 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2929 * gio/glocalfileoutputstream.c:
2930 * gio/glocalfileoutputstream.h:
2935 * programs/gio-save.c:
2936 Add a GFileCreateFlags argument to operations that can create
2939 2007-10-01 Alexander Larsson <alexl@redhat.com>
2941 * gio/gappinfo.[ch]:
2942 * gio/gdesktopappinfo.c:
2943 Add more (stubbed out) mime API needed for nautilus
2945 2007-10-01 Alexander Larsson <alexl@redhat.com>
2948 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2949 Add g_app_info_set_as_default_for_extension.
2951 * gio/gdesktopappinfo.c:
2952 Dummy for g_app_info_set_as_default_for_extension
2953 Support flags in g_app_info_create_from_commandline
2955 * gio/gwin32appinfo.c:
2957 Update for API changes
2959 * gio/gthemedicon.c:
2960 Properly NULL-terminate list of icon names
2962 2007-09-28 Alexander Larsson <alexl@redhat.com>
2964 * gio/gloadableicon.h:
2965 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2967 2007-09-28 Alexander Larsson <alexl@redhat.com>
2970 Install headers in $includedir/gio-standalone/
2972 * gio-2.0.pc.in: Added.
2973 * gio-standalone.pc.in: Removed.
2976 Renamed pkg-config file to match glib (for future move)
2977 Update to the new include dir
2980 Add more TODO comments
2982 2007-09-28 Alexander Larsson <alexl@redhat.com>
2984 * gio/gdesktopappinfo.[ch]:
2985 Expose new_from_filename
2986 Add getter for is_hidden and handle it better
2988 2007-09-28 Alexander Larsson <alexl@redhat.com>
2990 * gio/gfileinfo.[ch]:
2991 Rename g_file_size_format_for_display to
2992 g_format_file_size_for_display.
2993 Now it doesn't have the g_file prefix, so we
2994 can later move it to glib.
2996 2007-09-28 Alexander Larsson <alexl@redhat.com>
2998 * gio/gappinfo.[ch]:
2999 Add g_app_info_get_id and g_app_info_get_executable.
3000 Make all getters non-reffing
3001 Make g_app_info_launch take GFile arguments.
3002 Add must_support_uris argument to g_app_info_get_default_for_type.
3004 * gio/gwin32appinfo.c:
3005 Update to GAppInfo api changes
3007 * gio/gdesktopappinfo.c:
3008 Update to GAppInfo api changes
3009 Implement supports_xdg_startup_notify
3011 * gio/gfileicon.c (g_file_icon_get_file):
3012 Make getter non-reffing.
3017 2007-09-27 Alexander Larsson <alexl@redhat.com>
3019 * gio/gfileinfo.[ch]:
3020 Add g_file_size_format_for_display helper
3022 2007-09-27 Alexander Larsson <alexl@redhat.com>
3024 * gio/glocalfileinfo.c:
3025 Set UNIX_GID from gid, not from uid
3027 2007-09-27 Alexander Larsson <alexl@redhat.com>
3030 Add g_file_set_attributes_async
3032 2007-09-27 Alexander Larsson <alexl@redhat.com>
3034 * gio/glocalfile.c (g_local_file_set_display_name):
3035 Fix set_display_name to actually rename to the right place.
3036 Use lstat to look for existing files so we don't overwrite
3039 2007-09-26 Alexander Larsson <alexl@redhat.com>
3042 Add g_file_set_display_name_async()
3044 2007-09-26 Alexander Larsson <alexl@redhat.com>
3047 Add load_partial_contents async calls
3050 Make internal function static
3052 2007-09-26 Alexander Larsson <alexl@redhat.com>
3054 * gio/glocalfileinfo.c:
3055 Correctly detect broken symlinks
3057 2007-09-26 Alexander Larsson <alexl@redhat.com>
3059 * gio/gcancellable.c (g_cancellable_cancel):
3060 Allow cancel on NULL cancellable
3062 2007-09-25 Alexander Larsson <alexl@redhat.com>
3064 * gio/gsimpleasyncresult.c:
3065 Don't allocate g_error manually.
3066 Fixes g_slice/g_new mixup crash
3068 2007-09-25 Alexander Larsson <alexl@redhat.com>
3070 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3071 Actually set active_backend.
3072 This means the monitor will be cancelled correctly.
3074 2007-09-25 Alexander Larsson <alexl@redhat.com>
3076 * gio/gdirectorymonitor.c:
3077 Set timeout to NULL when destroying
3079 2007-09-25 Alexander Larsson <alexl@redhat.com>
3082 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3083 that is a better description of the error.
3085 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3087 * gio/gvfs.c: (g_vfs_get_local):
3088 Make the local vfs variable static. The same instance should
3091 2007-09-24 Alexander Larsson <alexl@redhat.com>
3093 * gio/glocalfileinfo.c:
3094 Pass in actual length read into sniffer, not the length
3097 2007-09-21 Alexander Larsson <alexl@redhat.com>
3099 * gio/gfileenumerator.c:
3102 * gio/gfileinputstream.c:
3103 * gio/gfileoutputstream.c:
3104 * gio/ginputstream.c:
3105 * gio/goutputstream.c:
3106 Don't crash if async callbacks are NULL
3108 2007-09-20 Alexander Larsson <alexl@redhat.com>
3111 Add async enumerate_children method and default
3114 2007-09-20 Alexander Larsson <alexl@redhat.com>
3117 Add g_file_contains_file & g_file_get_relative_path, since they
3118 were needed for nautilus.
3119 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3124 Implement new methods
3126 2007-09-17 Alexander Larsson <alexl@redhat.com>
3129 * gio/gfileinputstream.[ch]:
3130 * gio/gfileoutputstream.[ch]:
3132 * gio/glocalfileenumerator.[ch]:
3133 * gio/glocalfileinfo.[ch]:
3134 * gio/glocalfileinputstream.c:
3135 * gio/glocalfileoutputstream.c:
3136 * gio/gpollfilemonitor.c:
3137 * programs/gio-copy.c:
3138 * programs/gio-info.c:
3139 * programs/gio-move.c:
3140 Rename get_file_info to query_info() to make it clearer
3141 that these are not simple getters, but do i/o.
3143 2007-09-17 Alexander Larsson <alexl@redhat.com>
3145 * gio/gdatainputstream.[ch]:
3146 * gio/test-streams.c:
3147 Use _read_XXX instead of _get_XXX for the i/o calls
3150 2007-09-17 Alexander Larsson <alexl@redhat.com>
3153 Added needed stuff to TODO comment
3155 2007-09-17 Alexander Larsson <alexl@redhat.com>
3157 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3158 Don't error out removing the backup copy if it doesn't
3161 2007-09-14 Alexander Larsson <alexl@redhat.com>
3163 * programs/Makefile.am:
3164 * programs/gvfs-*.c:
3166 Renamed apps from gvfs-xxx to gio-xxx.
3168 2007-09-14 Alexander Larsson <alexl@redhat.com>
3171 * gio/gfileoutputstream.[ch]:
3172 * gio/glocalfileoutputstream.c:
3173 * programs/gvfs-save.c:
3174 g_file_output_stream_get_etag doesn't do i/o, so remove
3175 cancellation and error.
3177 2007-09-14 Alexander Larsson <alexl@redhat.com>
3180 Add new_etag output to replace_contents functions
3182 2007-09-14 Alexander Larsson <alexl@redhat.com>
3184 * gio/gfileoutputstream.[ch]:
3185 Add async get_file_info and default implementation
3187 2007-09-14 Alexander Larsson <alexl@redhat.com>
3189 * gio/gfileinputstream.c:
3190 Implement fallback wrapper for async get_file_info
3192 2007-09-14 Alexander Larsson <alexl@redhat.com>
3195 Add etag out argument to load_contents
3200 2007-09-14 Alexander Larsson <alexl@redhat.com>
3202 * gio/gcontenttype.c (looks_like_text):
3203 Whitespace like tab, cr and lf do not make the
3206 2007-09-14 Alexander Larsson <alexl@redhat.com>
3208 * gio/gfileinputstream.[ch]:
3209 Add async get_file_info.
3211 2007-09-13 Alexander Larsson <alexl@redhat.com>
3213 * gio/goutputstream.c (g_output_stream_write_all):
3214 Allow NULL for bytes_written
3216 2007-09-13 Alexander Larsson <alexl@redhat.com>
3218 * gio/gmemoryinputstream.[ch]:
3219 Add accessors for data
3221 2007-09-13 Alexander Larsson <alexl@redhat.com>
3223 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3224 Don't crash if length is NULL