1 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
5 * tests/live-g-file.txt:
6 New GIO testing module working over real data
8 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
10 * glocalfileoutputstream.c (g_local_file_output_stream_close):
11 Fallback to rename() if link() is not available
12 (when no support on target filesystem)
14 2008-02-06 Michael Natterer <mitch@imendio.com>
16 * gfileinfo.c (g_file_info_get_icon): replace
17 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
19 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
21 * gfile.c (g_file_create):
22 Documentation update of error codes
24 2008-02-06 Alexander Larsson <alexl@redhat.com>
27 Update to use both mimeapps.list and
28 defaults.list as discussed on xdg list.
30 2008-02-06 Benjamin Otte <otte@gnome.org>
33 * gfilenamecompleter.c:
34 Fix some typos in the documentation.
36 2008-02-06 Alexander Larsson <alexl@redhat.com>
38 * glocalfile.c (g_local_file_trash):
39 Don't succeed with trash if newly created
40 trash dir has the wrong owner. (#514696)
42 2008-02-05 Alexander Larsson <alexl@redhat.com>
44 * glocalfile.c (g_local_file_move):
45 Don't spew warnings when destination is not
48 2008-02-03 Hans Breuer <hans@breuer.org>
50 * makefile.msc : update
52 2008-02-01 Michael Natterer <mitch@imendio.com>
54 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
55 return value of xdg_mime_list_mime_parents() to a variable of the
58 2008-02-01 Alexander Larsson <alexl@redhat.com>
60 * gappinfo.c (g_app_info_launch_uris):
61 Actually call the launch_uris method, not
64 2008-02-01 Alexander Larsson <alexl@redhat.com>
66 * gdesktopappinfo.c (g_desktop_app_info_equal):
67 Ensure appinfos with no id but same pointer value
70 2008-02-01 Alexander Larsson <alexl@redhat.com>
72 * gappinfo.c (g_app_info_launch_default_for_uri):
75 2008-02-01 Alexander Larsson <alexl@redhat.com>
79 Add g_app_info_launch_default_for_uri utility
82 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
85 Doc fix for g_app_info_get_default_for_uri_scheme ()
88 2008-01-30 Alexander Larsson <alexl@redhat.com>
91 Add doc comment about uris vs GFiles to
95 Ensure uris passed to g_app_info_launch_uris()
96 are not roundtriped through GFile (as that
97 may be slightly destructive for e.g. mailto: links)
99 2008-01-30 Alexander Larsson <alexl@redhat.com>
101 * tests/data-input-stream.c:
102 * tests/data-output-stream.c:
103 C89 fixes from Jens Granseuer (#512849)
105 2008-01-30 Alexander Larsson <alexl@redhat.com>
108 Fix gamin/fam difference build issue. (#509419)
110 2008-01-29 Alexander Larsson <alexl@redhat.com>
114 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
116 2008-01-29 Alexander Larsson <alexl@redhat.com>
120 giomodule-priv.h include moved to .c file.
122 2008-01-29 Alexander Larsson <alexl@redhat.com>
124 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
125 Remove unused prio/name fields.
127 2008-01-29 Alexander Larsson <alexl@redhat.com>
129 * gcontenttype.c (looks_like_text):
130 Don't treat whitespace as control chars.
132 2008-01-29 Alexander Larsson <alexl@redhat.com>
135 Lazily create the desktop files for appinfos created
136 by g_app_info_create_from_commandline() when needed
137 for mime associations. This allows run-time use
138 of GAppInfo object without creating unnecessary
141 2008-01-29 Alexander Larsson <alexl@redhat.com>
144 Added new symbols to gio.symbols
146 2008-01-29 Alexander Larsson <alexl@redhat.com>
149 Add g_file_query_default_handler utility to easily look up
150 the GAppInfo that handles a file.
152 * gdesktopappinfo.[ch]:
154 Set up an extension point for g_app_info_get_default_for_uri_scheme()
157 Remove unused function
159 2008-01-29 Alexander Larsson <alexl@redhat.com>
162 Mention need to free returned value in
163 g_file_enumerator_next_files_finish docs.
164 Fix leak if g_file_enumerator_next_files_finish()
167 2008-01-29 Alexander Larsson <alexl@redhat.com>
170 (_g_unix_content_type_get_parents):
171 Use list_parents, not get_parents from xdgmime, because
172 the later doesn't use the cache.
174 * xdgmime/xdgmimecache.c:
175 (_xdg_mime_cache_list_mime_parents):
176 Don't list the same type as parent multiple times.
178 2008-01-28 Matthias Clasen <mclasen@redhat.com>
180 * === Released 2.15.4 ===
182 2008-01-28 Alexander Larsson <alexl@redhat.com>
185 Register local vfs with prio 0.
188 Remove old name and prio class members
190 2008-01-28 Matthias Clasen <mclasen@redhat.com>
192 * tests/g-file.c: Disable some tests that are failing in
193 the absence of a http backend.
195 2008-01-28 Alexander Larsson <alexl@redhat.com>
199 Add registration hooks for extension points.
200 Register the gio extension points.
202 * fam/gfamdirectorymonitor.c:
203 * fam/gfamfilemonitor.c:
204 * glocaldirectorymonitor.[ch]:
205 * glocalfilemonitor.[ch]:
206 * gnativevolumemonitor.h:
207 * gunionvolumemonitor.c:
208 * gunixvolumemonitor.c:
211 * inotify/ginotifydirectorymonitor.c:
212 * inotify/ginotifyfilemonitor.c:
213 Use the extension points registration instead
214 of g_type_children().
216 2008-01-28 Matthias Clasen <mclasen@redhat.com>
219 * gvolume.[hc]: Document new API.
221 * gfile.c (g_file_copy_async): Fix docs
223 2008-01-27 Matthias Clasen <mclasen@redhat.com>
225 * gbufferedinputstream.c:
227 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
230 2008-01-27 Matthias Clasen <mclasen@redhat.com>
232 * glocalfile.c: Avoid trivial differences in translatable strings.
234 2008-01-25 Matthias Clasen <mclasen@redhat.com>
236 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
237 build with gcc 3.4 (#509419)
239 2008-01-25 Matthias Clasen <mclasen@redhat.com>
241 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
242 (#509994, Murray Cumming)
244 2008-01-25 Matthias Clasen <mclasen@redhat.com>
246 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
247 * gioscheduler.c: Keep calling io jobs until they return FALSE;
248 this allows big jobs to be executed in chunks, instead of blocking
249 the main loop for a long time.
251 * gsimpleasyncresult.c:
252 * giofile.c: Adapt callers.
254 2008-01-25 Alexander Larsson <alexl@redhat.com>
257 Implement changes discussed on xdg list.
258 Now we can add supported mimetypes by just using defaults.list
259 We can also remove associations in defaults.list.
261 2008-01-25 Alexander Larsson <alexl@redhat.com>
264 Don't make local copy of desktop file
265 for mimetype changes if the file already
266 supports the new mimetype.
268 2008-01-25 Matthias Clasen <mclasen@redhat.com>
272 * gbufferedinputstream.c:
273 * glocalfile.c: String improvements. (#511966,
274 Theppitak Karoonboonyanan)
276 2008-01-24 Matthias Clasen <mclasen@redhat.com>
278 * gioscheduler.h: Expand docs a bit.
280 2008-01-24 Alexander Larsson <alexl@redhat.com>
283 Add g_drive_get_identifier and
284 g_drive_enumerate_identifiers
287 Add g_volume_get_identifier and
288 g_volume_enumerate_identifiers
294 Implement identifiers for unix backend
296 2008-01-24 Alexander Larsson <alexl@redhat.com>
301 Add g_file_copy_async() (#511580)
302 Based on patch from Carlos Garcia Campos
304 2008-01-23 Matthias Clasen <mclasen@redhat.com>
306 * gioscheduler.c: Some documentation additions.
308 2008-01-22 Alexander Larsson <alexl@redhat.com>
311 (g_desktop_app_info_new):
314 2008-01-22 Alexander Larsson <alexl@redhat.com>
317 (g_desktop_app_info_new_from_filename):
320 2008-01-22 Alexander Larsson <alexl@redhat.com>
322 * glocalfileinfo.c (get_thumbnail_attributes):
325 2008-01-22 Alexander Larsson <alexl@redhat.com>
328 (canonicalize_filename):
329 Canonicalize paths that start with more than
334 (test_g_file_new_for_path):
337 2008-01-22 Alexander Larsson <alexl@redhat.com>
340 Allow UTF-8 in file:// parse names.
343 * tests/data-input-stream.c:
344 * tests/data-output-stream.c:
345 * tests/g-file-info.c:
347 Added a bunch of tests from Tomas Bzatek
349 2008-01-21 Matthias Clasen <mclasen@redhat.com>
351 * === Released 2.15.3 ===
353 2008-01-21 Alexander Larsson <alexl@redhat.com>
355 * gfileinputstream.[ch]:
356 * gfileoutputstream.[ch]:
358 Remove duplicated GSeekable functions. (#509990)
359 Just use the g_seekable_xxx() calls instead.
361 2008-01-21 Matthias Clasen <mclasen@redhat.com>
364 * gvolumemanager.c: Whitespace cleanups.
366 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
367 Use the right mode when creating the file.
369 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
372 * gfileinputstream.c:
374 * goutputstream.c: Documentation: Fixed minor typos
375 and added more mentions of specific _finish() functions.
377 2008-01-21 Alexander Larsson <alexl@redhat.com>
379 * inotify/Makefile.am:
380 * inotify/inotify-helper.c:
381 * inotify/inotify-kernel.c:
382 * inotify/inotify-path.c:
383 * inotify/local_inotify.h: Removed.
384 * inotify/local_inotify_syscalls.h: Removed.
385 Removed the included copies of the inotify
386 headers. We now only use the <sys/inotify.h>
387 header which exists on modern systems.
388 This fixes problems on ARM and SH5 (#510448)
389 but is also generally much cleaner and future
390 safe. For instance, if other OSes add support
391 for inotify it should "just work".
393 2008-01-20 Matthias Clasen <mclasen@redhat.com>
395 * inotify/*.c: Coding style fixes.
396 * inotify/inotify-missing.c: Use g_timeout_add_seconds
397 for the 1/4 Hz timer.
399 2008-01-20 Matthias Clasen <mclasen@redhat.com>
403 * gmemoryinputstream.c:
404 * gmemoryoutputstream.c:
406 * gthemedicon.c: Documentation updates
408 2008-01-20 Murray Cumming <murrayc@murrayc.com>
410 * gfile.c: documentation: Fixed more minor
413 2008-01-18 Murray Cumming <murrayc@murrayc.com>
415 * gmount.c: (g_mount_remount): documentation:
416 Mention g_mount_remount_finish() instead of
417 g_mount_unmount_finish().
419 2008-01-18 Murray Cumming <murrayc@murrayc.com>
423 * gfile.c: Fixed some minor typos in the
426 2008-01-18 Murray Cumming <murrayc@murrayc.com>
428 * gio/gvolumemonitor.c:
429 (g_volume_monitor_get_connected_drives):
430 (g_volume_monitor_get_volumes):
431 (g_volume_monitor_get_mounts): Documentation:
432 Clarify the ownership of the regurn GLists.
434 2008-01-17 Alexander Larsson <alexl@redhat.com>
437 Add the async find_enclosing_mount version
438 to the header file too.
440 2008-01-17 Alexander Larsson <alexl@redhat.com>
443 Add async version of find_enclosing_mount
444 with default implementation.
446 2008-01-17 Alexander Larsson <alexl@redhat.com>
451 Allow calls to implementation of copy and write
452 even if the type of the file implementations is
453 different. This can be used to implement native
454 upload and download calls in a vfs.
458 Protect against the case where move is called
459 with one file not being local.
461 Make sure we call the progress callback once
462 in the native move operation so that the caller
463 knows how many bytes were copied.
465 2008-01-16 Murray Cumming <murrayc@murrayc.com>
468 * gdatainputstream.c:
470 * gfileoutputstream.c:
475 * gunixmounts.c: Corrected some typos in the documentation:
477 its -> it's (where appropriate).
479 2008-01-16 Alexander Larsson <alexl@redhat.com>
483 Add g_file_query_exists (#508771)
485 2008-01-15 Murray Cumming <murrayc@murrayc.com>
490 * gvolume.c: For async functions that have no non-async
491 version, document that the GAsyncReadyCallback may be NULL.
494 2008-01-15 Alexander Larsson <alexl@redhat.com>
496 * gmemoryinputstream.c:
497 * gmemoryoutputstream.c:
498 Don't do pointer arithmetic on void * (#508602)
499 Patch from Kazuki IWAMOTO
501 2008-01-14 Matthias Clasen <mclasen@redhat.com>
503 * === Released 2.15.2 ===
505 2008-01-14 Alexander Larsson <alexl@redhat.com>
507 * gfile.c (g_file_monitor_file):
508 Don't set error here, since we fallback to polling monitor.
510 2008-01-14 Alexander Larsson <alexl@redhat.com>
513 (g_file_monitor_directory):
514 (g_file_monitor_file):
515 Add GError to file monitor calls
517 * glocaldirectorymonitor.c:
518 * glocaldirectorymonitor.h:
520 * glocalfilemonitor.c:
521 * glocalfilemonitor.h:
523 Update for above change
525 2008-01-14 Alexander Larsson <alexl@redhat.com>
529 Handle root correctly in g_file_get_relative_path (#508719)
531 2008-01-14 Alexander Larsson <alexl@redhat.com>
534 Clean up docs and example for GAsyncResult (#508074)
536 2008-01-11 Murray Cumming <murrayc@murrayc.com>
538 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
539 and correct some spelling mistakes. Bug #508108.
541 2008-01-11 Matthias Clasen <mclasen@redhat.com>
543 * glocalfileinfo.c: Add a comment.
545 2008-01-10 Murray Cumming <murrayc@murrayc.com>
547 * gfileinfo.c: GFileInfo description: Mention
548 how to actually set attributes in a GFile and how to discover
549 which attributes are settable. Bug #508378.
551 2008-01-10 A. Walton <awalton@svn.gnome.org>
553 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
554 (g_app_info_get_default_for_type):
555 Check for NULL content types.
557 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
559 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
561 2008-01-09 Murray Cumming <murrayc@murrayc.com>
563 * gfile.c: *_async() functions: Several small corrections
564 to the documentation, mostly correcting copy/paste errors
565 and improving some sentences.
567 2008-01-09 Dan Winship <danw@gnome.org>
569 * glocalfile.c (get_unique_filename): x86_64 fix
571 2008-01-09 Alexander Larsson <alexl@redhat.com>
576 Add g_unix_mount_guess_should_display and use
577 for unix volume monitor backend.
578 This means we more or less show what the
579 gnome-vfs backend did.
580 Based on patch from Padraig O'Briain
582 2008-01-09 Alexander Larsson <alexl@redhat.com>
586 Add g_themed_icon_new_with_default_fallbacks
589 Use default fallbacks for icons
591 2008-01-09 Alexander Larsson <alexl@redhat.com>
594 * gmountoperation.[ch]:
595 Change the API a bit so that unhandled methods
596 get reported via the reply, rather than by
597 the signal emission return value. This is because
598 some handlers can't know this immediately without
599 doing I/O, and this is an async operation that
602 2008-01-09 Alexander Larsson <alexl@redhat.com>
605 * fam/gfamdirectorymonitor.c:
606 * fam/gfamfilemonitor.c:
607 Fix double free crash (#508224)
608 Patch from Joe Marcus Clarke
610 008-01-07 Matthias Clasen <mclasen@redhat.com>
612 * === Released 2.15.1 ===
614 2008-01-07 Alexander Larsson <alexl@redhat.com>
616 * gunixinputstream.c (g_unix_input_stream_skip_finish):
617 Fix warning (#507835)
619 2008-01-07 Alexander Larsson <alexl@redhat.com>
622 Pass --internal to glib-genmarshal
627 Use better types for signal arguments (#507822)
629 2008-01-07 Alexander Larsson <alexl@redhat.com>
632 Build test subdir after .
633 Remove gdirectorymonitor.[ch]
635 * gdirectorymonitor.[ch]:
639 Remove GDirectoryMonitor and make
640 GFileMonitor the baseclass for both file and
641 directory monitors. Lift the more generic
642 rate limiting code from GDirectoryMonitor
646 * fam/gfamdirectorymonitor.[ch]:
647 * inotify/ginotifydirectorymonitor.[ch]:
648 * inotify/inotify-helper.c:
649 * glocaldirectorymonitor.[ch]:
652 Update for the removed GDirectoryMonitor.
654 * gmemoryoutputstream.c:
655 Remove ununsed variable
657 2008-01-07 Alexander Larsson <alexl@redhat.com>
659 * gmemoryinputstream.c:
660 Translate error strings
663 * gmemoryoutputstream.[ch]:
664 New implementation that avoids using GByteArray
665 in implementation and API. (#506377)
667 2008-01-06 Matthias Clasen <mclasen@redhat.com>
669 * tests/*: Add a test for memory input streams.
671 * Makefile.am: Add tests to SUBDIRS.
673 2008-01-06 Matthias Clasen <mclasen@redhat.com>
675 * glocalfilemonitor.c:
676 * glocaldirectorymonitor.c: Mark property nicks and blurbs
679 2008-01-06 Matthias Clasen <mclasen@redhat.com>
681 * gdesktopappinfo.c: Fix a docs typo.
683 * gfileattribute.c: Add information about extended attributes
684 to the documentation. (#505058)
686 2008-01-04 Alexander Larsson <alexl@redhat.com>
690 Use the right type (uint) for the ask_password signal.
692 2008-01-04 Alexander Larsson <alexl@redhat.com>
697 Add g_app_info_supports_files()
698 Remove desktop arg from g_app_info_should_show().
700 * gdesktopappinfo.[ch]:
701 Implement g_app_info_supports_files() and new should_show()
702 Add g_desktop_app_info_set_desktop_env() to set the desktop
703 for should_show(). (This will be set by gtk+ later)
705 2008-01-04 Alexander Larsson <alexl@redhat.com>
708 * gmemoryinputstream.[ch]:
709 Improve API so that you can use multiple chunks
710 of memory and custom destroy functions. (#506374)
712 2008-01-03 Alexander Larsson <alexl@redhat.com>
715 Handle NULL attribute matchers safely, as we return this
716 for empty attribute matcher strings.
718 2008-01-03 Alexander Larsson <alexl@redhat.com>
720 * gunixmounts.c (g_unix_is_mount_path_system_internal):
721 Add /usr/local to list of internal mountpoints
723 2008-01-03 Alexander Larsson <alexl@redhat.com>
726 Check for HAVE_LCHOWN (#505887)
728 2008-01-03 Alexander Larsson <alexl@redhat.com>
732 Add define for selinux context attribute.
733 Fix missing : -> :: namespace separator change
734 Fix missing _ -> - name change for xattr-sys.
737 2008-01-03 Alexander Larsson <alexl@redhat.com>
740 Link to libglib and libgobject directly (#504879)
741 Patch from Sebastien Bacher
743 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
745 * gfile.c: Expanded the g_file_new_for_commandline_arg
746 description a bit, based on the code and the docs of the
747 other g_file_new_for_* functions.
749 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
751 * gfilemonitor.h: Fixed typo in docs.
753 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
755 Updates to GIO documentation. (#506395, Mikael Hermansson)
757 * gcontenttype.c: Describe memory management for return value of
758 g_content_types_get_registered(). Missing piece from #505815.
759 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
760 GVolume, GDrive, GMounts, which hopefully gives the user less
761 confusions when using this API. Following explainations from
762 Alexander Larsson on gtk-devel-list.
764 2007-12-30 Matthias Clasen <mclasen@redhat.com>
766 * gfileinfo.c: Expand the long description.
768 2007-12-30 Matthias Clasen <mclasen@redhat.com>
771 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
772 fix builds with --disable-visibility. (#500273, Christian Persch)
774 2007-12-30 Matthias Clasen <mclasen@redhat.com>
776 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
777 in the list of returned app infos.
779 2007-12-30 Matthias Clasen <mclasen@redhat.com>
781 * gappinfo.c: Fix a cross-reference
783 2007-12-30 Matthias Clasen <mclasen@redhat.com>
785 * gfileinputstream.c:
786 * gfileoutputstream.c:
792 * gfileinfo.c: Documentation updates.
794 2007-12-26 Matthias Clasen <mclasen@redhat.com>
796 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
799 2007-12-26 Matthias Clasen <mclasen@redhat.com>
801 * gcontenttype.c (g_content_types_get_registered): Don't return
802 freed memory (#505815, Mikael Hermansson)
804 2007-12-25 Paolo Borelli <pborelli@katamail.com>
806 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
807 used to detect statbuf->st_blocks. (#505042)
809 2007-12-24 Matthias Clasen <mclasen@redhat.com>
811 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
812 environment handling. (#504829, Cosimo Cecchi)
814 2007-12-22 Matthias Clasen <mclasen@redhat.com>
816 * gappinfo.c: Doc improvements
818 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
821 2007-12-20 Matthias Clasen <mclasen@redhat.com>
823 * === Released 2.15.0 ===
825 2007-12-20 Hans Breuer <hans@breuer.org>
827 * makefile.msc : don't build gdesktopappinfo.obj, it collides
828 with symbols gwin32appinfo.obj, added gmount.obj
829 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
831 2007-12-20 Alexander Larsson <alexl@redhat.com>
837 * gfilenamecompleter.c:
840 * gpollfilemonitor.c:
841 File attribute renames:
844 id::fs -> id::filesystem
846 2007-12-20 Alexander Larsson <alexl@redhat.com>
855 Add GMountUnmountFlags to all unmount and
857 Add g_mount_remount() call.
859 2007-12-20 Alexander Larsson <alexl@redhat.com>
861 * gvfs.c (get_default_vfs):
862 Fix unused variable warning
864 2007-12-19 Matthias Clasen <mclasen@redhat.com>
866 * pltcheck.sh: Update
868 2007-12-19 Matthias Clasen <mclasen@redhat.com>
870 * gunionvolumemonitor.c:
871 * gunixmount.c: Remove C99 comments
873 2007-12-19 Matthias Clasen <mclasen@redhat.com>
875 * gio.symbols: Add some missing symbols
877 2007-12-19 Alexander Larsson <alexl@redhat.com>
880 Make g_io_modules_load_all_in_directory not unuse
881 loaded modules so that users of it can do stuff
883 Init internal "module" types.
884 Initialize static prio and name for types so that
885 we don't have to load modules to get it.
887 * gnativevolumemonitor.h:
889 Move is_supported to parent class so that
890 non-native monitors can avoid being initialized
891 too. (For instance GDaemonVolumeMonitor if we're
892 not using GDaemonVfs.)
894 * glocaldirectorymonitor.[ch]:
895 * glocalfilemonitor.[ch]:
896 * gunionvolumemonitor.c:
897 * gunixvolumemonitor.c:
899 Find plugins using the static prio+name to
900 avoid unnecessarily loading the modules.
902 2007-12-19 Alexander Larsson <alexl@redhat.com>
907 2007-12-19 Alexander Larsson <alexl@redhat.com>
909 * gunionvolumemonitor.c:
910 Store the native type as GType, not class so that
911 we can unload it. But still avoid unnecessarily
914 2007-12-19 David Zeuthen <davidz@redhat.com>
916 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
917 add signals 'disconnected' and 'eject-button' on GDrive. Add
918 signal 'removed' on GVolume and 'unmounted' on GMount.
920 * gdrive.c: (g_drive_base_init):
922 * gfile.c: (g_file_mount_mountable),
923 (g_file_mount_enclosing_volume):
926 * gmount.c: (g_mount_base_init):
928 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
929 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
930 * gvolume.c: (g_volume_base_init), (g_volume_mount):
934 2007-12-17 Matthias Clasen <mclasen@redhat.com>
936 * *.c: Fix up includes in the section docs.
938 2007-12-17 Alexander Larsson <alexl@redhat.com>
940 * gnativevolumemonitor.h:
941 * gunionvolumemonitor.c:
942 * gunixvolumemonitor.c:
943 Add is_supported() to GNativeVolumeMonitorClass so
944 that we can avoid having to create an object to see
945 if the backend is supported at runtime.
946 Also add name member and an env var to pick a specific
947 volume monitor backend.
951 Add cancellable to _g_mount_get_for_mount_path()
953 * glocaldirectorymonitor.c:
954 * glocalfilemonitor.c:
955 Avoid loading and unloading modules while sorting.
957 2007-12-17 Matthias Clasen <mclasen@redhat.com>
960 * gunixmounts.[hc]: Namespace waste reduction, move some
961 g_get_unix_mount functions to the g_unix_mount namespace.
964 * gunixvolumemonitor.c:
966 * glocaldirectorymonitor.c: Update all callers.
968 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
970 2007-12-17 Alexander Larsson <alexl@redhat.com>
973 Add doc comments about what GFile operations are
974 guaranteed to not block.
976 2007-12-17 Alexander Larsson <alexl@redhat.com>
979 Add missing #ifdef fixing OSX build.
980 (#503334, patch from Richard Hult)
982 2007-12-14 David Zeuthen <davidz@redhat.com>
986 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
987 (g_mount_eject), (g_mount_eject_finish):
989 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
990 (get_volume_for_uuid), (get_mount_for_uuid),
991 (g_union_volume_monitor_class_init),
992 (get_default_native_type_with_exclude), (get_default_native_type),
993 (get_native_type), (update_native_type),
994 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
995 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
996 (g_unix_mount_can_eject), (eject_unmount_cb),
997 (eject_unmount_read_error), (eject_unmount_do),
998 (g_unix_mount_unmount), (g_unix_mount_eject),
999 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1000 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1001 (g_unix_mount_point_guess_can_eject):
1003 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1004 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1005 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1006 (g_unix_volume_mount), (g_unix_volume_eject),
1007 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1008 * gunixvolumemonitor.c: (get_volume_for_uuid),
1009 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1011 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1012 (g_volume_eject), (g_volume_eject_finish):
1014 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1015 (g_volume_monitor_get_mount_for_uuid):
1018 Provide eject() on both GMount and GVolume and utility functions
1019 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1020 ejected. Introduce the concept of UUID's and wire it into GVolume
1021 and GMount and provide API on GVolumeMonitor to find such
1022 instances. Also handle the case where an external
1023 GNativeVolumeMonitor fails to initialize. Lock around the
1024 _g_get_mount_for_mount_path() function such that volume monitor
1025 implementations won't have to do locking themselves.
1027 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1029 * gdesktopappinfo.c:
1035 * gvolume.h: Documentation updates
1037 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1040 * gfile.h: Doc updates
1042 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1045 * gdesktopappinfo.c: Use hash table iterators.
1047 2007-12-14 Alexander Larsson <alexl@redhat.com>
1050 * gfileattribute.[ch]:
1051 * gfileattribute-priv.h:
1052 Move GFileAttributeValue to a private header, as
1056 Make set_attribute take a type + a pointer instead
1057 of a GFileAttributeValue.
1060 Fix up for above changes.
1061 Add g_file_info_get_attribute_data to get
1062 all info in one call, g_file_info_get_attribute_status
1063 to get the status and g_file_info_get_attribute_as_string.
1067 * glocalfileinfo.[ch]:
1071 Make _guess_type static.
1073 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1076 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1077 made mkenums and friends use temporary files to avoid leaving
1078 empty generated files on failure (#503470).
1080 2007-12-14 Alexander Larsson <alexl@redhat.com>
1082 * gmountoperation.h:
1085 2007-12-14 Alexander Larsson <alexl@redhat.com>
1089 * gfileattribute.[ch]:
1092 * glocalfileoutputstream.c:
1093 * gmountoperation.[ch]:
1094 * goutputstream.[ch]:
1095 Clean up all flags enums to not have _FLAGS in them
1096 Make the names of some of the enums better.
1101 2007-12-14 Michael Natterer <mitch@imendio.com>
1103 * gio.symbols: fix g_io_scheduler symbol names.
1105 2007-12-14 Alexander Larsson <alexl@redhat.com>
1111 * gbufferedinputstream.h:
1112 * gbufferedoutputstream.h:
1115 * gdatainputstream.h:
1116 * gdataoutputstream.h:
1117 * gdesktopappinfo.h:
1118 * gdirectorymonitor.h:
1122 * gfileenumerator.h:
1125 * gfileinputstream.h:
1127 * gfilenamecompleter.h:
1128 * gfileoutputstream.h:
1129 * gfilterinputstream.h:
1130 * gfilteroutputstream.h:
1138 * gmemoryinputstream.h:
1139 * gmemoryoutputstream.h:
1141 * gmountoperation.h:
1144 * gsimpleasyncresult.h:
1146 * gunixinputstream.h:
1148 * gunixoutputstream.h:
1152 * inotify/Makefile.am:
1153 Only allow including <gio/gio.h> from apps
1155 2007-12-14 Alexander Larsson <alexl@redhat.com>
1157 * gioscheduler.[ch]:
1158 * gsimpleasyncresult.c:
1159 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1160 Split out the send_to_mainloop call into two versions instead
1161 of having the block argument.
1163 2007-12-13 Alexander Larsson <alexl@redhat.com>
1165 * gcancellable.[ch]:
1167 * gbufferedinputstream.c:
1168 * gfileenumerator.c:
1169 * gfileinputstream.c:
1170 * gfileoutputstream.c:
1174 g_push/pop_current_cancellable ->
1175 g_cancellable_push/pop_current
1177 2007-12-13 Alexander Larsson <alexl@redhat.com>
1181 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1183 2007-12-13 Alexander Larsson <alexl@redhat.com>
1185 * gmountoperation.h:
1186 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1188 2007-12-12 Alexander Larsson <alexl@redhat.com>
1191 Fix race condition when freeing proxy in
1192 g_io_job_send_to_mainloop().
1194 2007-12-12 Alexander Larsson <alexl@redhat.com>
1200 Make attribute namespace separator "::" instead of ":".
1201 Use - instead of _ as separator in attribute names.
1203 2007-12-12 Alexander Larsson <alexl@redhat.com>
1205 * gbufferedinputstream.h:
1206 * gbufferedoutputstream.h:
1207 * gdatainputstream.h:
1208 * gdataoutputstream.h:
1209 * gdirectorymonitor.h:
1210 * gfileenumerator.h:
1211 * gfileinputstream.h:
1213 * gfileoutputstream.h:
1214 * gfilterinputstream.h:
1215 * gfilteroutputstream.h:
1217 * glocalfileinputstream.h:
1218 * glocalfileoutputstream.h:
1219 * gmemoryinputstream.h:
1220 * gmemoryoutputstream.h:
1221 * gnativevolumemonitor.h:
1223 * gunixinputstream.h:
1224 * gunixoutputstream.h:
1227 s/parent/parent_instance/ in GObjects
1229 2007-12-12 Alexander Larsson <alexl@redhat.com>
1234 No need for padding for interfaces
1236 2007-12-12 Alexander Larsson <alexl@redhat.com>
1240 * gbufferedinputstream.c:
1241 * gbufferedoutputstream.c:
1244 * gdatainputstream.[ch]:
1245 * gdesktopappinfo.c:
1246 * gdirectorymonitor.c:
1248 * gfileattribute.[ch]:
1251 * gfileinputstream.h:
1252 * gfilemonitor.[ch]:
1253 * gfileoutputstream.[ch]:
1254 * gfilterinputstream.h:
1255 * gfilteroutputstream.h:
1258 * gloadableicon.[ch]:
1259 * gmemoryinputstream.c:
1260 * gmountoperation.c:
1262 Fix up a bunch of details in the docs.
1267 2007-12-11 David Zeuthen <davidz@redhat.com>
1269 Rework how volumes, drives and volume monitoring is
1270 done. Previosly the model was
1272 GDrive <1-1> GVolume
1274 where a GDrive instance represented a mount point and a GVolume
1275 instance represented a mounted file system. This patch changes it
1278 GDrive <1-N> GVolume <1-1> GMount
1280 where GMount now serves the purpose of the old GVolume and the new
1281 GVolume serves the purpose of the old GDrive. In addition the new
1282 GDrive interface is used to represent a collection of GVolume
1283 instances (typically partitions) and also contains utility to query
1284 the state of the physical drive the GDrive object represents (such
1285 as checking for media, polling the drive, ejecting the media etc.).
1287 Also implement mounting and unmounting in the Unix volume monitor
1288 backend. A subquent patch will introduce GDrive support for ejection
1292 * gdrive.c: (g_drive_is_media_check_automatic),
1293 (g_drive_is_media_removable), (g_drive_has_media),
1294 (g_drive_can_poll_for_media), (g_drive_eject),
1295 (g_drive_eject_finish), (g_drive_poll_for_media),
1296 (g_drive_poll_for_media_finish):
1298 * gfile.c: (g_file_find_enclosing_mount):
1301 * glocaldirectorymonitor.c:
1302 (g_local_directory_monitor_constructor), (mounts_changed):
1303 * glocalfile.c: (get_mount_info),
1304 (g_local_file_find_enclosing_mount),
1305 (g_local_file_file_iface_init):
1306 * gnativevolumemonitor.h:
1307 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1308 (get_connected_drives), (g_union_volume_monitor_class_init),
1309 (child_volume_added), (child_volume_removed),
1310 (child_volume_changed), (child_mount_added), (child_mount_removed),
1311 (child_mount_pre_unmount), (child_mount_changed),
1312 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1313 (g_union_volume_monitor_remove_monitor),
1314 (_g_mount_get_for_mount_path):
1315 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1316 (guess_system_internal), (_g_get_unix_mounts),
1317 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1318 (g_unix_mount_free), (g_unix_mount_compare),
1319 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1320 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1321 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1322 (type_to_icon), (g_unix_mount_guess_name),
1323 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1324 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1325 (_resolve_symlink), (_resolve_dev_root):
1327 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1328 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1329 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1330 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1331 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1332 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1333 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1334 (g_unix_volume_volume_iface_init):
1336 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1337 (get_mounts), (get_volumes), (get_connected_drives),
1338 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1339 (mountpoints_changed), (mounts_changed),
1340 (g_unix_volume_monitor_init),
1341 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1342 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1343 * gunixvolumemonitor.h:
1344 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1345 (g_volume_mount), (g_volume_mount_finish):
1347 * gvolumemonitor.c: (g_volume_monitor_class_init),
1348 (g_volume_monitor_get_connected_drives),
1349 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1352 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1354 * gmountoperation.h (GPasswordFlags): Close the gap
1356 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1358 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1360 * gdesktopappinfo.[hc]: Remove _-prefixes
1362 2007-12-10 Tor Lillqvist <tml@novell.com>
1364 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1367 2007-12-10 Alexander Larsson <alexl@redhat.com>
1369 * gfile.c (g_file_set_display_name):
1370 Don't hardcode '/' (#502727)
1372 2007-12-09 Hans Breuer <hans@breuer.org>
1374 * makefile.msc : follow lib naming convention
1375 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1376 for user and group name, tested with ../tests/gio-ls
1378 2007-12-09 A. Walton <awalton@svn.gnome.org>
1380 * gdesktopappinfo.c:
1386 * gfileenumerator.c:
1391 * gmemoryinputstream.c:
1392 * gmemoryoutputstream.c:
1394 * gsimpleasyncresult.c:
1395 More documentation cleanup and filling in missing information, bringing
1396 GIO to 99% symbol coverage.
1398 2007-12-08 Hans Breuer <hans@breuer.org>
1400 [gio compiles and links on win32, not sure how much already works]
1401 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1402 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1403 base on win32 API; prefer g_lstat() over lstat(); instead of
1404 localtime_r() use an all GLib implementation on win32;
1405 get_mount_info() still needs a win32 specifc implementation
1406 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1407 win32_get_file_user_info to get owner/group info without uid/gid
1408 * glocalfileinputstream.c : include <io.h> on win32
1409 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1410 definition, use g_win32_ftruncate() for G_OS_WIN32
1411 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1412 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1413 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1414 * makefile.msc : updated
1416 2007-12-07 Alexander Larsson <alexl@redhat.com>
1418 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1419 Avoid warning spew if error == NULL
1421 2007-12-07 Alexander Larsson <alexl@redhat.com>
1424 Update docs wrt etags
1426 2007-12-06 Alexander Larsson <alexl@redhat.com>
1429 Include sys/types.h for dev_t (#501919)
1431 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1435 Make abicheck and pltcheck pass.
1437 2007-12-05 Alexander Larsson <alexl@redhat.com>
1440 * giomodule-priv.h: Added.
1441 * glocaldirectorymonitor.c:
1442 * glocalfilemonitor.c:
1443 * gunionvolumemonitor.c:
1445 Actually add the declaration of _g_io_modules_ensure_loaded
1447 2007-12-05 Alexander Larsson <alexl@redhat.com>
1449 * gdatainputstream.c:
1454 * glocaldirectorymonitor.c:
1455 * glocalfilemonitor.c:
1456 * gunionvolumemonitor.c:
1458 Make g_io_modules_ensure_loaded a private function and
1459 don't pass in the dirname. This means we can do magic
1460 directory finding in the win32 version.
1461 Export the actual load-modules-in-directory code so that
1462 gvfs can reuse that.
1464 2007-12-05 Alexander Larsson <alexl@redhat.com>
1466 * gbufferedinputstream.c:
1467 * gbufferedoutputstream.c:
1470 * gfileenumerator.[ch]:
1471 * gfileinputstream.c:
1472 * gfileoutputstream.[ch]:
1473 * gfilterinputstream.c:
1474 * gfilteroutputstream.c:
1475 * ginputstream.[ch]:
1477 * glocalfileenumerator.c:
1478 * glocalfileinputstream.c:
1479 * glocalfileoutputstream.c:
1480 * gmemoryinputstream.c:
1481 * gmemoryoutputstream.c:
1482 * goutputstream.[ch]:
1485 * gunixinputstream.c:
1486 * gunixoutputstream.c:
1487 Rename all struct members named:
1488 read, write, close, truncate, or mount
1489 to foo_fn, as these are reserved names
1490 and could be defined as macros in libc.
1493 2007-12-04 Alexander Larsson <alexl@redhat.com>
1496 (g_output_stream_close):
1497 Only call flush if non-null.
1499 2007-11-30 Dan Winship <danw@gnome.org>
1501 * ginputstream.c (g_input_stream_set_pending): Make this take a
1502 GError and return a gboolean, and do the "outstanding operation"
1503 check (and the "stream is already closed" check) itself.
1504 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1506 * goutputstream.c (g_output_stream_set_pending)
1507 (g_output_stream_clear_pending): Likewise
1509 * gbufferedinputstream.c:
1510 * gfileinputstream.c:
1511 * gfileoutputstream.c: Update for that
1513 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1514 Like g_simple_async_report_error_in_idle, but takes a GError
1515 rather than building one.
1517 2007-11-30 Dan Winship <danw@gnome.org>
1519 * goutputstream.c: Don't cheat and unset the "pending" flag around
1520 inner calls. Instead, call the class method directly rather than
1521 the wrapper function that checks "pending"
1523 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1525 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1527 2007-12-03 Hans Breuer <hans@breuer.org>
1529 [start of port to win32/msvc]
1530 * gcancellable.c : HAVE_UNIST_H and _pipe()
1531 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1532 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1533 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1535 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1536 * glocalvfs.c : use HAVE_PWD_H
1537 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1538 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1539 * Makefile.am : added to EXTRA_DIST
1541 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1543 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1546 2007-12-03 Alexander Larsson <alexl@redhat.com>
1549 Handle OSX style xattrs API (#500506)
1551 2007-12-03 Alexander Larsson <alexl@redhat.com>
1555 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1557 2007-12-02 A. Walton <awalton@svn.gnome.org>
1561 Documentation accuracy fixes.
1563 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1565 * gioenumtypes.c.template: Fix typo.
1567 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1569 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1571 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1573 * gdirectorymonitor.c:
1574 * gfilemonitor.c: Add properties
1576 * gbufferedoutputstream.c: Don't mark buffer-size property
1579 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1581 * gbufferedoutputstream.c: Add auto-grow property.
1583 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1585 * *.c: Unify the capitalization of section headings.
1587 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1589 * gmountoperation.c: Add properties
1591 * gdatainputstream.c: Turn byte-order and newline-type into
1594 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1596 * gioenumtypes.[hc].template: Templates for enum registration
1598 * Makefile.am: Generate gioenumtypes.[hc]
1600 * gio.h: Include gioenumtypes.h
1602 * gfile.h: Add some explicit nicks.
1604 * gio.symbols: Add new symbols
1606 * pltcheck.sh: Adjust
1608 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1610 * *.c: Explain etags and link to the explanation
1612 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1614 * *.c: Explain I/O priority.
1616 * *.c: More coding style fixes.
1618 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1620 * gasyncresult.c: Add another paragraph to the intro,
1621 adjust coding style of example.
1623 2007-11-29 A. Walton <awalton@svn.gnome.org>
1626 Fixes unknown meaning in GAppLaunchContext docs.
1628 Clarify asynchronous ops.
1630 Fix entity tag docs.
1633 Provides missing gtk-doc section, fixes API docs slighly.
1634 * gsimpleasyncresult.c:
1635 Fill in missing info in docs.
1636 * gunixinputstream.c:
1637 * gunixoutputstream.c:
1638 Be more expressive in short description.
1640 Remove gtk-doc stubs for non-public API.
1642 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1644 * *.c: Coding style fixups
1646 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1648 * inotify/inotify-helper.c: Don't export the lock from libgio.
1650 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1653 * abicheck.sh: Fix copy-and-paste leftovers
1655 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1657 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1659 2007-11-28 Alexander Larsson <alexl@redhat.com>
1663 Removed unnecessary file
1665 * gdesktopappinfo.[ch]:
1668 * glocaldirectorymonitor.[ch]:
1670 * glocalfileenumerator.[ch]:
1671 * glocalfileinputstream.[ch]:
1672 * glocalfilemonitor.[ch]:
1673 * glocalfileoutputstream.[ch]:
1675 * gnativevolumemonitor.c:
1676 * gpollfilemonitor.[ch]:
1677 * gunionvolumemonitor.[ch]:
1680 * gunixvolumemonitor.[ch]:
1683 * inotify/ginotifydirectorymonitor.[ch]:
1684 * inotify/ginotifyfilemonitor.[ch]:
1685 * inotify/inotify-helper.c:
1686 Append _ to all internal functions
1690 Export symbols needed for modules
1692 2007-11-28 Alexander Larsson <alexl@redhat.com>
1695 * abicheck.sh: Added.
1696 * makegioalias.pl: Added.
1697 * pltcheck.sh: Added.
1698 * gio.symbols: Added.
1701 Initial work on adding symbol handling.
1704 Correct ifdef guard name
1707 * inotify/Makefile.am:
1708 * xdgmime/Makefile.am:
1709 Include toplevel Makefile.decl
1711 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1713 * gcontenttype.c: Move doc comments to the unix section.
1715 * *.[hc]: More trivial doc corrections.
1717 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1719 * gpollfilemonitor.c:
1723 * gdesktopappinfo.c:
1728 * gdatainputstream.c:
1729 * gdatainputstream.h:
1730 * gdataoutputstream.c:
1731 * gdataoutputstream.h:
1732 * gfileinfo.h: Doc cleanups
1734 2007-11-28 Andre Klapper <a9016009@gmx.de>
1736 * gdesktopappinfo.c: Fix a typo.
1738 2007-11-27 Andre Klapper <a9016009@gmx.de>
1740 * glocalfileoutputstream.c: Fix a typo.
1742 2007-11-27 Alexander Larsson <alexl@redhat.com>
1745 Don't include removed headers
1747 2007-11-27 Alexander Larsson <alexl@redhat.com>
1750 * gsocketinputstream.[ch]: Removed.
1751 * gsocketoutputstream.[ch]: Removed.
1752 * gunixinputstream.[ch]: Added.
1753 * gunixoutputstream.[ch]: Added.
1754 Renamed GSocket*Stream to GUnix*Stream and made
1755 it unix-only, since its not really only for sockets
1756 and it only works on unix (but is highly useful there).
1758 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1764 * gbufferedinputstream.c:
1765 * gbufferedinputstream.h:
1766 * gbufferedoutputstream.c:
1767 * gbufferedoutputstream.h:
1771 * gdatainputstream.c:
1772 * gdatainputstream.h:
1773 * gdataoutputstream.c:
1774 * gdataoutputstream.h:
1775 * gdirectorymonitor.c:
1776 * gdirectorymonitor.h:
1783 * gfileenumerator.c:
1784 * gfileenumerator.h:
1789 * gfileinputstream.c:
1790 * gfileinputstream.h:
1793 * gfilenamecompleter.c:
1794 * gfilenamecompleter.h:
1795 * gfileoutputstream.c:
1796 * gfileoutputstream.h:
1797 * gfilterinputstream.c:
1798 * gfilterinputstream.h:
1799 * gfilteroutputstream.c:
1800 * gfilteroutputstream.h:
1813 * glocalfileoutputstream.c:
1814 * gmemoryinputstream.c:
1815 * gmemoryinputstream.h:
1816 * gmemoryoutputstream.c:
1817 * gmemoryoutputstream.h:
1818 * gmountoperation.c:
1819 * gmountoperation.h:
1822 * gpollfilemonitor.c:
1825 * gsimpleasyncresult.c:
1826 * gsimpleasyncresult.h:
1827 * gsocketinputstream.c:
1828 * gsocketinputstream.h:
1829 * gsocketoutputstream.c:
1830 * gsocketoutputstream.h:
1837 * gunixvolumemonitor.c:
1846 Bumps documentation to 93% symbol coverage, touching most
1847 of the public files. Fixes broken function documentation prototypes.
1848 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1849 gtk-doc headers in private files.
1851 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1853 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1854 (g_buffered_input_stream_read_byte):
1855 * gbufferedinputstream.h:
1856 New functions for efficient access to buffer and simple single byte
1859 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1860 (g_data_input_stream_read_until):
1861 * gdatainputstream.h:
1862 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1863 read_until with multiple stop chars.
1865 2007-11-27 Alexander Larsson <alexl@redhat.com>
1869 * inotify/Makefile.am:
1870 Use the user-specified giomoduledir
1872 2007-11-27 Alexander Larsson <alexl@redhat.com>
1876 Add catch-all gio.h header
1877 Don't install gdummyfile.h
1879 2007-11-26 Alexander Larsson <alexl@redhat.com>
1881 * Makefile.am (gioinclude_HEADERS):
1882 Remove trailing whitespace
1884 2007-11-26 Alexander Larsson <alexl@redhat.com>
1886 Merge gio-standalone into glib
1888 2007-11-25 Christian Kellner <gicmo@gnome.org>
1890 * gio/goutputstream.c:
1891 Fix small mistake in the docs.
1893 2007-11-21 Christian Persch <chpe@gnome.org>
1895 * gio/glocalfile.c: (g_local_file_trash):
1896 Convert filenames to UTF-8 for GError.
1897 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1898 as per xdg base dir spec.
1900 2007-11-21 Christian Persch <chpe@gnome.org>
1902 * gio/gdesktopappinfo.c:
1903 Use that g_key_file_to_data cannot fail.
1905 Use stock defines for the key file group and key names.
1908 2007-11-21 Alexander Larsson <alexl@redhat.com>
1911 (copy_stream_with_progress):
1912 Make sure we do a final progress callback with
1913 the full total size.
1915 2007-11-21 Alexander Larsson <alexl@redhat.com>
1918 Export g_file_copy_attributes
1919 Remove padding as its not needed for interfaces
1921 2007-11-20 Alexander Larsson <alexl@redhat.com>
1926 Add G_IO_ERROR_WOULD_MERGE for
1927 copy/move dir on dir with overwrite.
1929 2007-11-20 Alexander Larsson <alexl@redhat.com>
1932 * gio/glocalfileinfo.c:
1933 Add COPY_NAME (this is an optional
1934 non-modified utf8 version of the name) that
1937 2007-11-20 Alexander Larsson <alexl@redhat.com>
1939 * gio/glocalfileenumerator.c:
1940 Report errors as GIOError, not GFileError
1942 2007-11-16 Alexander Larsson <alexl@redhat.com>
1944 * gio/glocalfileoutputstream.c:
1945 * gio/gwin32appinfo.c:
1946 Fix typos in strings.
1947 Patch from Luca Ferretti <elle.uca@libero.it>
1949 2007-11-15 Alexander Larsson <alexl@redhat.com>
1952 Post release version bump
1954 === gio-standalone 0.1.2 ===
1956 2007-11-15 Alexander Larsson <alexl@redhat.com>
1958 * docs/reference/gio/Makefile.am:
1959 Fix up distcheck by removing weird
1965 2007-11-14 Alexander Larsson <alexl@redhat.com>
1967 * gio/gdesktopappinfo.c:
1968 * gio/glocaldirectorymonitor.c:
1970 * gio/glocalfileinfo.c:
1971 * gio/inotify/inotify-sub.c:
1972 * programs/gio-cat.c:
1973 * programs/gio-copy.c:
1974 * programs/gio-info.c:
1975 * programs/gio-ls.c:
1976 * programs/gio-monitor-dir.c:
1977 * programs/gio-monitor-file.c:
1978 * programs/gio-mount.c:
1979 * programs/gio-move.c:
1980 * programs/gio-rm.c:
1981 * programs/gio-save.c:
1982 * programs/gio-trash.c:
1983 Leak fixes from Kjartan Maraas
1985 2007-11-14 Alexander Larsson <alexl@redhat.com>
1987 * gio/fam/fam-helper.c:
1989 * gio/glocalfileinfo.c:
1993 * gio/inotify/inotify-diag.c:
1994 * gio/inotify/inotify-kernel.c:
1995 Various code cleanups from Kjartan Maraas
1997 2007-11-14 Alexander Larsson <alexl@redhat.com>
1999 * gio/gioscheduler.c:
2001 Set up threadpool so that we cache 2 unused
2002 idle threads for at 15 secs. This means we
2003 will reuse thread-local data (like dbus connections)
2006 2007-11-14 Alexander Larsson <alexl@redhat.com>
2008 * gio/fam/fam-helper.c:
2009 * gio/fam/gfamdirectorymonitor.c:
2010 * gio/fam/gfamfilemonitor.c:
2012 * gio/gcontenttype.c:
2013 * gio/gdatainputstream.c:
2014 * gio/gdataoutputstream.c:
2018 * gio/gfileattribute.h:
2019 * gio/gfileenumerator.c:
2021 * gio/ginputstream.c:
2024 * gio/glocalfileinfo.c:
2025 * gio/goutputstream.c:
2026 * gio/gpollfilemonitor.c:
2027 * gio/gsimpleasyncresult.c:
2028 * gio/gunixmounts.c:
2029 * gio/gunixmounts.h:
2030 * gio/inotify/ginotifydirectorymonitor.c:
2031 * gio/inotify/ginotifyfilemonitor.c:
2032 * gio/inotify/inotify-diag.c:
2033 * gio/inotify/inotify-kernel.c:
2034 * gio/inotify/inotify-path.c:
2036 * gio/test-streams.c:
2037 * programs/gio-info.c:
2038 * programs/gio-monitor-dir.c:
2039 * programs/gio-monitor-file.c:
2040 Various code cleanups from Kjartan Maraas
2042 2007-11-13 Alexander Larsson <alexl@redhat.com>
2045 Handle the uri-scheme calls for dummy files
2047 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2049 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2050 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2051 to avoid clash with the C++ keyword.
2053 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2055 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2056 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2058 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2060 * gio/glocaldirectorymonitor.c:
2061 * gio/glocalfilemonitor.c:
2062 * gio/gunionvolumemonitor.c:
2063 Don't use g_once_init_*() for initializations that could fail and
2064 could leave the initialization variable set to 0 but use GOnce.
2065 This prevents a deadlock on the second call when trying to create
2066 a monitor and no monitor type is available. Thanks to Sven Herzberg
2069 2007-11-11 Sven Herzberg <sven@imendio.com>
2071 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2072 #ifdef (make it work on MacOS X again)
2074 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2076 Fixes Changelog for last two commits (sorry guys).
2078 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2080 * gio/gbufferedinputstream.c:
2081 * gio/gdatainputstream.c:
2083 * gio/gfileoutputstream.c:
2084 * gio/gfilterinputstream.c:
2085 * gio/glocalfileinputstream.c:
2088 More consistency fixes in g*stream.c files.
2089 Significant clean of gfile's documentation, filling in of
2090 asynchronous operations documentation.
2092 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2094 * gio/gasyncresult.c:
2095 * gio/gbufferedinputstream.c:
2096 * gio/gbufferedoutputstream.c:
2097 * gio/gcancellable.c:
2098 * gio/gcontenttype.c:
2099 * gio/gdatainputstream.c:
2100 * gio/gdataoutputstream.c:
2101 * gio/gdesktopappinfo.c:
2104 * gio/gfileattribute.c:
2105 * gio/gio/gfileenumerator.c:
2107 * gio/gfileinputstream.c:
2108 * gio/gfilemonitor.c:
2109 * gio/gfileoutputstream.c:
2110 * gio/ginputstream.c:
2112 * gio/gioscheduler.c:
2113 * gio/gloadableicon.c:
2114 * gio/glocalfileoutputstream.c:
2115 * gio/gmemoryoutputstream.c:
2116 * gio/gmountoperation.c:
2117 * gio/goutputstream.c:
2119 * gio/gsimpleasyncresult.c:
2120 * gio/gunionvolumemonitor.c:
2121 * gio/gunixmounts.c:
2122 * gio/gunixvolume.c:
2126 * gio/gvolumemonitor.c:
2127 Updated documentation stubs, working towards consistency and
2130 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2132 * gio/gmemoryoutputstream.c:
2133 * gio/gmemoryoutputstream.h:
2134 Change g_memory_output_stream_set_free_on_close() to
2135 g_memory_output_stream_set_free_data() as this makes more sense and
2136 is more consistent with GMemoryInputStream.
2138 2007-11-07 Alexander Larsson <alexl@redhat.com>
2145 Change how we find the default vfs so that
2146 we can handle a gvfs failing to init
2148 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2150 * gio/gbufferedoutputstream.c:
2151 * gio/gdatainputstream.c:
2152 * gio/gdataoutputstream.c:
2153 * gio/gfileinputstream.c:
2154 * gio/gfileoutputstream.c:
2155 * gio/gfilterinputstream.c:
2156 * gio/gfilteroutputstream.c:
2157 * gio/ginputstream.c:
2158 * gio/gmemoryinputstream.c:
2159 * gio/gmemoryoutputstream.c:
2160 * gio/goutputstream.c:
2161 * gio/gsimpleasyncresult.c:
2162 * gio/gsocketinputstream.c:
2163 * gio/gsocketoutputstream.c:
2164 Add guards to the remaining public functions, add a TODO for
2165 an unimplemented function and remove some useless guards.
2167 2007-11-07 Alexander Larsson <alexl@redhat.com>
2170 Autoconf checks for the various types of
2171 getpwuid_r and getgrgid_r
2173 * gio/glocalfileinfo.c:
2174 Use the autoconf checks from above
2176 2007-11-07 Alexander Larsson <alexl@redhat.com>
2179 (g_local_file_query_filesystem_info):
2180 Some fixes for the statvfs case
2182 2007-11-07 Alexander Larsson <alexl@redhat.com>
2185 (g_local_file_query_filesystem_info):
2186 Pick the "best" of statfs / statvfs for the system
2187 if both are availible.
2189 2007-11-07 Alexander Larsson <alexl@redhat.com>
2191 Solaris fixes from Halton.Huo@Sun.COM:
2198 * gio/glocalfileinfo.c:
2199 Fix for solaris definition of getpwuid_r
2201 * gio/test-streams.c:
2202 Use G_GNUC_PRETTY_FUNCTION
2204 2007-11-07 Alexander Larsson <alexl@redhat.com>
2206 * gio/gdesktopappinfo.c:
2207 (update_default_list):
2208 Remove double semicolon.
2209 Patch from Jens Granseuer
2211 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2213 * docs/reference/gio/gio-sections.txt:
2214 * gio/gbufferedinputstream.c:
2215 * gio/gbufferedinputstream.h:
2216 * gio/gdatainputstream.c:
2217 * gio/gfileenumerator.c:
2218 * gio/gioscheduler.c:
2219 * gio/gunionvolumemonitor.c:
2221 * programs/gio-save.c:
2222 Fix typo: availible -> available. Unfortuntely this breaks API
2223 and ABI as g_buffered_input_stream_get_available() was renamed.
2225 * gio/gunixmounts.c:
2226 * gio/gbufferedinputstream.c:
2227 Add guards for public functions.
2229 2007-11-06 Ross Burton <ross@openedhand.com>
2231 * docs/reference/gio/Makefile.am:
2232 Fix invalid += usage which automake 1.10 doesn't like.
2234 2007-11-06 Alexander Larsson <alexl@redhat.com>
2237 (g_app_launch_context_class_init):
2240 Patch from Ross Burton
2242 2007-11-06 Alexander Larsson <alexl@redhat.com>
2245 Post release version bump
2247 === gio-standalone 0.1.1 ===
2249 2007-11-06 Alexander Larsson <alexl@redhat.com>
2252 Bump version to 0.1.1
2254 * gio/gsimpleasyncresult.c:
2255 (g_simple_async_result_set_from_error):
2256 Remove bogus g_return_if_fail
2258 2007-11-06 Alexander Larsson <alexl@redhat.com>
2261 The name is gio-standalone
2264 Add top src/builddir to includedir
2266 2007-11-06 Alexander Larsson <alexl@redhat.com>
2268 * docs/reference/gio/gio-sections.txt:
2270 * gio/gbufferedinputstream.c:
2271 * gio/gbufferedoutputstream.c:
2272 * gio/gcancellable.c:
2273 * gio/gdatainputstream.h:
2274 * gio/gdataoutputstream.c:
2275 * gio/gdataoutputstream.h:
2276 * gio/gdirectorymonitor.c:
2278 * gio/gfileattribute.c:
2279 * gio/gfileattribute.h:
2280 * gio/gfileenumerator.c:
2281 * gio/gfileenumerator.h:
2284 * gio/gfileinputstream.h:
2285 * gio/gfilemonitor.c:
2286 * gio/gfileoutputstream.h:
2287 * gio/glocalfilemonitor.h:
2288 * gio/glocalfileoutputstream.h:
2289 * gio/gmemoryinputstream.c:
2290 * gio/gmemoryoutputstream.c:
2291 * gio/gmountoperation.c:
2292 * gio/goutputstream.c:
2293 * gio/goutputstream.h:
2295 * gio/gsimpleasyncresult.c:
2296 * gio/gunixmounts.c:
2297 * gio/gunixmounts.h:
2299 * gio/inotify/inotify-helper.c:
2300 Fix gtk-doc warnings
2302 Patch from Ross Burton
2304 2007-11-06 Alexander Larsson <alexl@redhat.com>
2306 * gio/gfilenamecompleter.c:
2307 (g_filename_completer_get_completions):
2310 * gio/gunixvolume.c:
2311 Remove unused function
2313 Patches from Ross Burton
2315 2007-11-06 Alexander Larsson <alexl@redhat.com>
2320 Padding not needed for interfaces
2322 2007-11-06 Alexander Larsson <alexl@redhat.com>
2324 * gio/gfilemonitor.c:
2328 Make giotypes.h an internal file
2331 * gio/gbufferedinputstream.h:
2332 * gio/gbufferedoutputstream.h:
2333 * gio/gcancellable.h:
2334 * gio/gdatainputstream.h:
2335 * gio/gdataoutputstream.h:
2336 * gio/gdirectorymonitor.c:
2337 * gio/gdirectorymonitor.h:
2342 * gio/gfileattribute.h:
2343 * gio/gfileenumerator.h:
2348 * gio/gfilemonitor.c:
2349 * gio/gfilemonitor.h:
2350 * gio/gfilenamecompleter.c:
2351 * gio/gfilenamecompleter.h:
2352 * gio/gfilterinputstream.h:
2353 * gio/gfilteroutputstream.h:
2354 * gio/ginputstream.h:
2355 * gio/gmemoryinputstream.h:
2356 * gio/gmemoryoutputstream.h:
2357 * gio/gmountoperation.c:
2358 * gio/gmountoperation.h:
2359 * gio/gnativevolumemonitor.c:
2360 * gio/goutputstream.h:
2363 * gio/gsimpleasyncresult.c:
2364 * gio/gsimpleasyncresult.h:
2365 * gio/gsocketinputstream.h:
2366 * gio/gsocketoutputstream.h:
2367 * gio/gthemedicon.c:
2368 * gio/gthemedicon.h:
2372 * gio/gvolumemonitor.c:
2373 * gio/gvolumemonitor.h:
2374 Add padding in classes where it seems useful
2375 Don't include giotypes.h from public headers
2376 Move in Class definitions into c file where possible
2381 2007-11-06 Alexander Larsson <alexl@redhat.com>
2383 * docs/reference/gio/gio-docs.xml:
2384 Better structure for API docs
2386 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2389 * gio/gloadableicon.c:
2390 * gio/gsimpleasyncresult.c:
2391 * gio/gthemedicon.c:
2392 Add some more guards to public functions. Only files missing are now
2395 2007-11-06 Alexander Larsson <alexl@redhat.com>
2397 * docs/reference/gio/gio-docs.xml:
2398 Remove old files, add missing ones
2400 2007-11-06 Alexander Larsson <alexl@redhat.com>
2402 * docs/reference/gio/gio-sections.txt:
2405 Hide implementation classes
2407 * gio/gdriveprivate.h:
2408 * gio/gvolumeprivate.h:
2409 Remove non-existing function declarations
2411 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2414 Fix compilation warnings and add guards to the new functions.
2416 * gio/gasyncresult.c:
2418 Add guards to the public functions.
2421 Implement get_path().
2423 2007-11-06 Alexander Larsson <alexl@redhat.com>
2425 * gio/gfilenamecompleter.c:
2426 Make g_filename_completer_get_completions
2427 return char ** instead of GList for
2430 * docs/reference/gio/gio-docs.xml:
2431 * docs/reference/gio/gio-sections.txt:
2433 * gio/gasyncresult.c:
2434 * gio/gbufferedinputstream.c:
2435 * gio/gbufferedoutputstream.c:
2436 * gio/gcancellable.c:
2437 * gio/gcontenttype.c:
2438 * gio/gdatainputstream.c:
2439 * gio/gdataoutputstream.c:
2440 * gio/gdesktopappinfo.c:
2441 * gio/gdirectorymonitor.c:
2445 * gio/gfileattribute.c:
2446 * gio/gfileenumerator.c:
2449 * gio/gfileinputstream.c:
2450 * gio/gfilemonitor.c:
2451 * gio/gfilenamecompleter.c:
2452 * gio/gfilenamecompleter.h:
2453 * gio/gfileoutputstream.c:
2454 * gio/gfilterinputstream.c:
2456 * gio/ginputstream.c:
2458 * gio/gioscheduler.c:
2459 * gio/gloadableicon.c:
2460 * gio/glocaldirectorymonitor.c:
2462 * gio/glocalfileinputstream.c:
2463 * gio/glocalfilemonitor.c:
2464 * gio/glocalfileoutputstream.c:
2466 * gio/gmemoryinputstream.c:
2467 * gio/gmemoryoutputstream.c:
2468 * gio/gmountoperation.c:
2469 * gio/goutputstream.c:
2470 * gio/gpollfilemonitor.c:
2472 * gio/gsimpleasyncresult.c:
2473 * gio/gsocketinputstream.c:
2474 * gio/gsocketoutputstream.c:
2475 * gio/gthemedicon.c:
2476 * gio/gunionvolumemonitor.c:
2478 * gio/gunixmounts.c:
2479 * gio/gunixvolume.c:
2480 * gio/gunixvolumemonitor.c:
2484 * gio/gvolumemonitor.c:
2485 * gio/gwin32appinfo.c:
2486 Add (mostly stub) doc strings to public functions.
2487 Patch from Andrew Walton (awalton@gmail.com)
2489 2007-11-06 Alexander Larsson <alexl@redhat.com>
2491 * gio/gappinfo.[ch]:
2492 Added GAppLaunchContext object and pass that to launch.
2493 This allows simple implementation of both
2494 launch-on-screen and startup notification via a gtk+
2495 subclass of GAppLaunchContext
2497 * gio/gdesktopappinfo.c:
2498 Implement GAppLaunchContext API
2500 * gio/gwin32appinfo.c:
2503 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2505 * gio/gmountoperation.c:
2506 Add some guards to GMountOperation's public functions.
2508 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2512 * gio/gcancellable.c:
2513 * gio/gdirectorymonitor.c:
2515 * gio/gfileenumerator.c:
2516 * gio/gfilemonitor.c:,
2517 * gio/gfilenamecompleter.c:
2520 * gio/gioscheduler.c:
2524 * gio/gvolumemonitor.c:
2525 Add even more guards to various public functions.
2527 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2530 Add guards to the public functions of GAppInfo.
2532 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2534 * gio/gcontenttype.c:
2535 Add some more guards for public functions.
2537 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2539 * gio/fam/fam-module.c:
2540 * gio/fam/gfamdirectorymonitor.c:
2541 * gio/fam/gfamdirectorymonitor.h:
2542 * gio/fam/gfamfilemonitor.c:
2543 * gio/fam/gfamfilemonitor.h:
2544 * gio/inotify/ginotifydirectorymonitor.c:
2545 * gio/inotify/ginotifydirectorymonitor.h:
2546 * gio/inotify/ginotifyfilemonitor.c:
2547 * gio/inotify/ginotifyfilemonitor.h:
2548 Add proper copyright information and remove an unused variable
2549 in the GInotifyFileMonitor constructor.
2551 * gio/gcancellable.c:
2552 Add a guard for a public function and an assertion to prevent
2553 an undefined program state.
2555 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2557 * gio/gfileattribute.c:
2558 Don't run into an assertion if the given attribute value is NULL
2559 in g_file_attribute_value_get_*() but instead return a fallback
2560 value that makes sense in most situations. Passing them a attribute
2561 value with the wrong type will still run into an assertion.
2563 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2565 * gio/gfileattribute.c:
2567 Add even more guards to the public functions. Also fix the refcounting
2568 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2569 let g_file_info_list_attributes() filter the attributes by namespace
2570 instead of simply ignoring the namespace parameter.
2572 2007-11-03 Sven Herzberg <sven@imendio.com>
2574 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2575 (This makes gio work on MacOS X again)
2577 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2580 Build the gio subdirectory before the docs. Otherwise the build will
2583 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2584 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2585 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2586 Add guards to the public functions.
2588 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2590 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2591 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2592 to prevent a compiler warning.
2594 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2595 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2596 return something in the non-void function find_topdir_for().
2598 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2605 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2607 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2608 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2609 * gwin32appinfo.c (g_win32_app_info_launch):
2610 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2611 envp_for_startup_id, g_desktop_app_info_launch,
2612 g_desktop_app_info_launch_uris):
2614 Give an opaque 'startup_id' string instead of 'envp'.
2615 Support empty file lists for launching new windows.
2616 Fix infinite recursion bug when launching URIs.
2618 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2621 Add guard to the new g_file_get_uri_scheme() function.
2623 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2626 Convert a g_return_val_if_fail() to setting the GError instead as
2627 otherwise applications have to verify the parameter before otherwise
2628 and the parameter might come directly from the user.
2630 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2632 * gio/inotify/ginotify*.[ch]:
2633 Add missing copyright information.
2635 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2638 Add guards in the beginning of public functions to check for valid
2639 parameters and fix a bug in copy_stream_with_progress() that could've
2640 caused writing less bytes than reading.
2641 * gio/glocalfileinfo.c:
2642 Check for a NULL parameter and set the GError accordingly then.
2643 * gio/goutputstream.c:
2644 Fix the same bug as in gfile.c that could've caused writing less bytes
2645 than reading in g_output_stream_real_splice().
2647 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2650 Use the correct gvolumeprivate.h naming
2652 2007-11-01 Christian Kellner <gicmo@gnome.org>
2655 Remove leftover "$(daemon_sources)" entry.
2657 2007-11-01 Christian Kellner <gicmo@gnome.org>
2662 Add copyright information to source files.
2664 2007-11-01 Alexander Larsson <alexl@redhat.com>
2668 Add g_file_get_uri_scheme
2670 2007-11-01 Alexander Larsson <alexl@redhat.com>
2673 * gio/gdesktopappinfo.c:
2674 * gio/gwin32appinfo.c:
2675 Add g_app_info_get_default_for_uri_scheme.
2677 2007-11-01 Alexander Larsson <alexl@redhat.com>
2680 Correct filename for gdriveprivate.h
2682 2007-10-31 Alexander Larsson <alexl@redhat.com>
2685 Rename id:value to id:file
2688 * gio/glocalfileinfo.c:
2691 2007-10-31 Alexander Larsson <alexl@redhat.com>
2693 * gio/gunixvolume.c:
2695 Remove g_volume_get_platform_id, as thats not
2696 needed with the simpler union volume monitor
2698 2007-10-31 Alexander Larsson <alexl@redhat.com>
2701 * gio/guniondrive.[ch]: Removed.
2702 * gio/gunionvolume.[ch]: Removed.
2703 Remove GUnionDrive/Volume
2705 * gio/gunionvolumemonitor.c:
2706 Simplify union volume monitor, now we
2707 only have one native volume monitor and
2708 we use the actual volumes/drives from the
2709 child monitors instead of wrapping them
2711 * gio/gnativevolumemonitor.[ch]:
2712 Base class for native volume monitors.
2713 Includes priority and get_volume_for_mountpoint
2716 Add g_file_find_enclosing_volume
2719 Remove volume name fs attribute
2720 Add readonly fs attribute
2723 Implement readonly attribute
2724 remove volume name attribute
2725 Implement find_enclosing volume
2727 * gio/gunixmounts.c:
2728 Add a volume for "/".
2730 * gio/gunixvolume.[ch]:
2731 Set better name for /
2733 * gio/gunixvolumemonitor.[ch]:
2734 Derive from GNativeVolumeMonitor
2735 Implement get_volume_for_mountpoint
2738 GVolume typedef moved to gfile.h
2740 * gio/gvolumeprivate.h:
2741 Add g_volume_get_for_mount_path
2743 2007-10-31 Alexander Larsson <alexl@redhat.com>
2745 * gio/gunixmounts.[ch]:
2746 Add cache info to unix mount listers
2747 Make getmntent use threadsafe
2748 Add is_system_internal attribute for GUnixMount
2750 * gio/gunixvolume.c:
2751 (g_unix_volume_new):
2752 Use is_system_internal instead of own code
2754 * gio/glocaldirectorymonitor.c:
2755 * gio/gunixvolumemonitor.c:
2756 Update to new gunixmounts API
2761 2007-10-30 Alexander Larsson <alexl@redhat.com>
2764 Add volume name fsinfo attribute
2767 Read volume name info
2769 * gio/gunionvolumemonitor.c:
2770 Fix infinite loops when finalizing a union volume monitor
2772 2007-10-30 Alexander Larsson <alexl@redhat.com>
2774 * gio/goutputstream.[ch]:
2775 Add splice() with default implementation
2777 * gio/gsocketoutputstream.c:
2778 (g_socket_output_stream_write):
2779 Return error on cancellation correctly.
2781 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2783 * gio/glocalfile.c (g_local_file_trash):
2784 Do not leak a string.
2786 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2788 * gio/gfile.c (g_file_load_contents):
2789 Unref the stream after closing it.
2791 2007-10-25 Alexander Larsson <alexl@redhat.com>
2793 * gio/gioscheduler.h:
2796 2007-10-25 Alexander Larsson <alexl@redhat.com>
2800 Add g_file_has_uri_scheme and implement for local files
2802 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2804 * gio/gdesktopappinfo.c: do not leak a string.
2806 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2808 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2809 (g_local_directory_monitor_new):
2810 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2811 (g_local_file_monitor_new):
2812 Only look for the monitor type that should be used the first time
2813 and use g_qsort_with_data() instead of our own bubble sort
2816 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2819 * gio/fam/Makefile.am:
2820 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2821 * gio/fam/fam-helper.h:
2822 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2823 * gio/fam/gfamdirectorymonitor.c:
2824 * gio/fam/gfamdirectorymonitor.h:
2825 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2826 * gio/fam/gfamfilemonitor.h:
2827 * gio/glocaldirectorymonitor.c:
2828 * gio/glocaldirectorymonitor.h:
2829 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2830 * gio/glocalfilemonitor.h:
2831 * gio/inotify/Makefile.am:
2832 * gio/inotify/ginotifydirectorymonitor.c:
2833 * gio/inotify/ginotifydirectorymonitor.h:
2834 * gio/inotify/ginotifyfilemonitor.c:
2835 * gio/inotify/ginotifyfilemonitor.h:
2836 Implement the FAM and Inotify monitors as
2837 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2838 their own GIO module. GLocal(Directory|File)Monitor will use the
2839 monitor with the highest rank that is supported on that machine.
2841 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2844 Change GIO module dir to $(libdir)/gio/modules and change
2845 the log domain from GVFS to GIO. Also only export symbols starting
2846 with g_ in the resulting library.
2847 * gio/test-streams.c: (main):
2848 Set log handler for the GIO log domain.
2850 2007-10-22 Alexander Larsson <alexl@redhat.com>
2852 * gio/gfilenamecompleter.[ch]:
2853 Add g_filename_completer_set_dirs_only
2855 2007-10-22 Alexander Larsson <alexl@redhat.com>
2858 * gio/gurifuncs.[ch]:
2859 Add some simple URI helpers
2861 * gio/gfilenamecompleter.[ch]:
2862 Added object for filename (parse name actually) completion
2865 Handle ~ in parse names
2867 2007-10-17 Alexander Larsson <alexl@redhat.com>
2870 * gio/glocalfileinfo.c:
2871 Add and implement id:value attribute
2873 2007-10-17 Alexander Larsson <alexl@redhat.com>
2876 * gio/guniondrive.c:
2878 Add and implement g_drive_has_volumes
2880 2007-10-17 Alexander Larsson <alexl@redhat.com>
2883 * gio/glocalfileinfo.[ch]:
2884 Add unix:is_mountpoint and implement for local files
2886 2007-10-16 Alexander Larsson <alexl@redhat.com>
2888 * gio/gunionvolumemonitor.c:
2889 (g_union_volume_monitor_init):
2890 Fix up the unix type getting so that it works with gcc
2892 2007-10-12 Alexander Larsson <alexl@redhat.com>
2895 * gio/glocalfileinfo.c:
2896 Add thumbnail:failed to file info
2898 2007-10-12 Richard Hult <richard@imendio.com>
2900 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2901 optimizing away the get_type call (happens with some gcc versions,
2902 like the one shipped with OS X 10.4).
2904 2007-10-12 Alexander Larsson <alexl@redhat.com>
2906 * gio/glocalfileinfo.c:
2907 (_g_local_file_info_set_attribute):
2908 Fix build if not HAVE_XATTR
2909 Patch from Milosz Derezynski <internalerror@gmail.com>
2911 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2913 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2914 around for review, otherwise I would have asked you before
2917 2007-10-11 Alexander Larsson <alexl@redhat.com>
2920 Add thumbnail:path attribute
2922 * gio/glocalfileinfo.c:
2923 Implement thumbnail:path for local files
2925 2007-10-11 Alexander Larsson <alexl@redhat.com>
2927 * gio/glocalfileinfo.c:
2928 (_g_local_file_info_get):
2929 Avoid duplicate icon names
2931 2007-10-11 Alexander Larsson <alexl@redhat.com>
2933 * gio/gthemedicon.[ch]:
2934 Change g_themed_icon_get_names return type to const
2936 2007-10-10 Alexander Larsson <alexl@redhat.com>
2938 * gio/glocalfileinfo.c:
2939 Don't reference freed memory
2941 2007-10-10 Alexander Larsson <alexl@redhat.com>
2943 * gio/gfileattribute.c:
2946 * gio/glocalfileinfo.c:
2949 2007-10-10 Alexander Larsson <alexl@redhat.com>
2952 Check for NULL icons
2954 * gio/gfileattribute.c:
2955 Don't dup when getting objects (same as for string attributes)
2957 * gio/gicon.c (g_icon_equal):
2958 Safely handle NULLs in equal
2960 2007-10-10 Alexander Larsson <alexl@redhat.com>
2963 Fix c++ compilation issues
2964 Patch from Milosz Derezynski <internalerror@gmail.com>
2966 2007-10-10 Alexander Larsson <alexl@redhat.com>
2968 * programs/gio-monitor-dir.c:
2969 Don't crash if dir monitor not supported.
2971 2007-10-09 Alexander Larsson <alexl@redhat.com>
2974 Add missing G_END_DECLS
2976 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2978 * gio/gfile.c: (g_file_set_display_name),
2979 (g_file_query_settable_attributes),
2980 (g_file_query_writable_namespaces):
2981 Return NULL not FALSE on errors as the return type is a pointer.
2983 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2985 * gio/glocalfile.c: (g_local_file_monitor_file):
2986 Don't call monitor_file on the default interface vtable (which
2987 is NULL) but simply return NULL. The caller, GFile, will create a
2988 polling monitor if NULL is returned.
2990 2007-10-09 Alexander Larsson <alexl@redhat.com>
2994 * gio-unix-2.0.pc.in:
2995 Add gio-unix-2.0.pc if OS_UNIX
2998 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3000 2007-10-09 Alexander Larsson <alexl@redhat.com>
3002 * gio/gunixmounts.[ch]:
3003 Make unix mount monitoring API sane.
3004 Now its just a object with mounts_changed
3005 and mountpoints_changed signals.
3007 * gio/glocaldirectorymonitor.c:
3008 * gio/gunixvolumemonitor.c:
3009 Use new mount monitor api
3011 2007-10-09 Alexander Larsson <alexl@redhat.com>
3013 * gio/gunixmounts.[ch]:
3014 Move guess type into one call for mounts and one for mountpoints
3017 * gio/gunixvolume.c:
3020 2007-10-09 Alexander Larsson <alexl@redhat.com>
3022 * gio/gunixmounts.[ch]:
3023 Remove _ prefix in preparation to make this semi-public
3024 Hide implementation of structs
3026 * gio/glocaldirectorymonitor.c:
3028 * gio/gunixvolume.c:
3029 * gio/gunixvolumemonitor.c:
3030 Update for above API changes
3032 2007-10-08 Alexander Larsson <alexl@redhat.com>
3035 Better polling fallback. This also handles the case where we have
3036 a monitor_file implementation, but it fails.
3038 2007-10-08 Alexander Larsson <alexl@redhat.com>
3042 * gio/gunixmounts.c:
3043 * programs/gio-monitor-dir.c:
3044 * programs/gio-monitor-file.c:
3045 Added cancellable to file monitoring calls.
3046 These are really sync calls and need this.
3048 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3050 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3051 (g_local_vfs_class_init):
3052 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3053 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3055 2007-10-05 Alexander Larsson <alexl@redhat.com>
3057 * gio/gdirectorymonitorprivate.h:
3058 * gio/gfilemonitorprivate.h:
3059 * gio/gdirectorymonitor.h:
3060 * gio/gfilemonitor.h:
3061 Remove *private.h and move to the public API, so that
3062 we can do implementations outside gio (such as in gvfs)
3064 * gio/gdirectorymonitor.c:
3065 * gio/gfilemonitor.c:
3066 * gio/glocaldirectorymonitor.c:
3067 * gio/gpollfilemonitor.c:
3068 * gio/inotify/inotify-helper.c:
3069 * gio/fam/fam-helper.c:
3070 Update to the new header names
3072 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3074 * gio/gdirectorymonitor.c:
3075 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3078 2007-10-04 Alexander Larsson <alexl@redhat.com>
3080 * gio/glocalfileinfo.c (get_access_rights):
3081 Set CAN_TRASH when we can move the file.
3082 We should really also check for a parent trash dir.
3084 2007-10-04 Alexander Larsson <alexl@redhat.com>
3086 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3087 Add can_trash access attribute
3089 2007-10-04 Alexander Larsson <alexl@redhat.com>
3092 (g_local_file_trash):
3093 Create info file first. This is per-spec and allows
3094 us to actually trash directories.
3096 2007-10-02 Alexander Larsson <alexl@redhat.com>
3098 * gio/gdesktopappinfo.c:
3099 Implement the new mime support code.
3100 Always set app as handling mimetype when being set as default for it
3102 2007-10-01 Alexander Larsson <alexl@redhat.com>
3104 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3105 Fix up check for xattrs:
3107 2007-10-01 Alexander Larsson <alexl@redhat.com>
3110 (g_app_info_set_as_default_for_extension):
3111 (g_app_info_add_supports_type):
3112 (g_app_info_can_remove_supports_type):
3113 (g_app_info_remove_supports_type):
3114 Make these fail nicely if not implemented
3116 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3118 * gio/glocalfileoutputstream.c:
3119 * gio/glocalfileoutputstream.h:
3124 * programs/gio-save.c:
3125 Add a GFileCreateFlags argument to operations that can create
3128 2007-10-01 Alexander Larsson <alexl@redhat.com>
3130 * gio/gappinfo.[ch]:
3131 * gio/gdesktopappinfo.c:
3132 Add more (stubbed out) mime API needed for nautilus
3134 2007-10-01 Alexander Larsson <alexl@redhat.com>
3137 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3138 Add g_app_info_set_as_default_for_extension.
3140 * gio/gdesktopappinfo.c:
3141 Dummy for g_app_info_set_as_default_for_extension
3142 Support flags in g_app_info_create_from_commandline
3144 * gio/gwin32appinfo.c:
3146 Update for API changes
3148 * gio/gthemedicon.c:
3149 Properly NULL-terminate list of icon names
3151 2007-09-28 Alexander Larsson <alexl@redhat.com>
3153 * gio/gloadableicon.h:
3154 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3156 2007-09-28 Alexander Larsson <alexl@redhat.com>
3159 Install headers in $includedir/gio-standalone/
3161 * gio-2.0.pc.in: Added.
3162 * gio-standalone.pc.in: Removed.
3165 Renamed pkg-config file to match glib (for future move)
3166 Update to the new include dir
3169 Add more TODO comments
3171 2007-09-28 Alexander Larsson <alexl@redhat.com>
3173 * gio/gdesktopappinfo.[ch]:
3174 Expose new_from_filename
3175 Add getter for is_hidden and handle it better
3177 2007-09-28 Alexander Larsson <alexl@redhat.com>
3179 * gio/gfileinfo.[ch]:
3180 Rename g_file_size_format_for_display to
3181 g_format_file_size_for_display.
3182 Now it doesn't have the g_file prefix, so we
3183 can later move it to glib.
3185 2007-09-28 Alexander Larsson <alexl@redhat.com>
3187 * gio/gappinfo.[ch]:
3188 Add g_app_info_get_id and g_app_info_get_executable.
3189 Make all getters non-reffing
3190 Make g_app_info_launch take GFile arguments.
3191 Add must_support_uris argument to g_app_info_get_default_for_type.
3193 * gio/gwin32appinfo.c:
3194 Update to GAppInfo api changes
3196 * gio/gdesktopappinfo.c:
3197 Update to GAppInfo api changes
3198 Implement supports_xdg_startup_notify
3200 * gio/gfileicon.c (g_file_icon_get_file):
3201 Make getter non-reffing.
3206 2007-09-27 Alexander Larsson <alexl@redhat.com>
3208 * gio/gfileinfo.[ch]:
3209 Add g_file_size_format_for_display helper
3211 2007-09-27 Alexander Larsson <alexl@redhat.com>
3213 * gio/glocalfileinfo.c:
3214 Set UNIX_GID from gid, not from uid
3216 2007-09-27 Alexander Larsson <alexl@redhat.com>
3219 Add g_file_set_attributes_async
3221 2007-09-27 Alexander Larsson <alexl@redhat.com>
3223 * gio/glocalfile.c (g_local_file_set_display_name):
3224 Fix set_display_name to actually rename to the right place.
3225 Use lstat to look for existing files so we don't overwrite
3228 2007-09-26 Alexander Larsson <alexl@redhat.com>
3231 Add g_file_set_display_name_async()
3233 2007-09-26 Alexander Larsson <alexl@redhat.com>
3236 Add load_partial_contents async calls
3239 Make internal function static
3241 2007-09-26 Alexander Larsson <alexl@redhat.com>
3243 * gio/glocalfileinfo.c:
3244 Correctly detect broken symlinks
3246 2007-09-26 Alexander Larsson <alexl@redhat.com>
3248 * gio/gcancellable.c (g_cancellable_cancel):
3249 Allow cancel on NULL cancellable
3251 2007-09-25 Alexander Larsson <alexl@redhat.com>
3253 * gio/gsimpleasyncresult.c:
3254 Don't allocate g_error manually.
3255 Fixes g_slice/g_new mixup crash
3257 2007-09-25 Alexander Larsson <alexl@redhat.com>
3259 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3260 Actually set active_backend.
3261 This means the monitor will be cancelled correctly.
3263 2007-09-25 Alexander Larsson <alexl@redhat.com>
3265 * gio/gdirectorymonitor.c:
3266 Set timeout to NULL when destroying
3268 2007-09-25 Alexander Larsson <alexl@redhat.com>
3271 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3272 that is a better description of the error.
3274 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3276 * gio/gvfs.c: (g_vfs_get_local):
3277 Make the local vfs variable static. The same instance should
3280 2007-09-24 Alexander Larsson <alexl@redhat.com>
3282 * gio/glocalfileinfo.c:
3283 Pass in actual length read into sniffer, not the length
3286 2007-09-21 Alexander Larsson <alexl@redhat.com>
3288 * gio/gfileenumerator.c:
3291 * gio/gfileinputstream.c:
3292 * gio/gfileoutputstream.c:
3293 * gio/ginputstream.c:
3294 * gio/goutputstream.c:
3295 Don't crash if async callbacks are NULL
3297 2007-09-20 Alexander Larsson <alexl@redhat.com>
3300 Add async enumerate_children method and default
3303 2007-09-20 Alexander Larsson <alexl@redhat.com>
3306 Add g_file_contains_file & g_file_get_relative_path, since they
3307 were needed for nautilus.
3308 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3313 Implement new methods
3315 2007-09-17 Alexander Larsson <alexl@redhat.com>
3318 * gio/gfileinputstream.[ch]:
3319 * gio/gfileoutputstream.[ch]:
3321 * gio/glocalfileenumerator.[ch]:
3322 * gio/glocalfileinfo.[ch]:
3323 * gio/glocalfileinputstream.c:
3324 * gio/glocalfileoutputstream.c:
3325 * gio/gpollfilemonitor.c:
3326 * programs/gio-copy.c:
3327 * programs/gio-info.c:
3328 * programs/gio-move.c:
3329 Rename get_file_info to query_info() to make it clearer
3330 that these are not simple getters, but do i/o.
3332 2007-09-17 Alexander Larsson <alexl@redhat.com>
3334 * gio/gdatainputstream.[ch]:
3335 * gio/test-streams.c:
3336 Use _read_XXX instead of _get_XXX for the i/o calls
3339 2007-09-17 Alexander Larsson <alexl@redhat.com>
3342 Added needed stuff to TODO comment
3344 2007-09-17 Alexander Larsson <alexl@redhat.com>
3346 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3347 Don't error out removing the backup copy if it doesn't
3350 2007-09-14 Alexander Larsson <alexl@redhat.com>
3352 * programs/Makefile.am:
3353 * programs/gvfs-*.c:
3355 Renamed apps from gvfs-xxx to gio-xxx.
3357 2007-09-14 Alexander Larsson <alexl@redhat.com>
3360 * gio/gfileoutputstream.[ch]:
3361 * gio/glocalfileoutputstream.c:
3362 * programs/gvfs-save.c:
3363 g_file_output_stream_get_etag doesn't do i/o, so remove
3364 cancellation and error.
3366 2007-09-14 Alexander Larsson <alexl@redhat.com>
3369 Add new_etag output to replace_contents functions
3371 2007-09-14 Alexander Larsson <alexl@redhat.com>
3373 * gio/gfileoutputstream.[ch]:
3374 Add async get_file_info and default implementation
3376 2007-09-14 Alexander Larsson <alexl@redhat.com>
3378 * gio/gfileinputstream.c:
3379 Implement fallback wrapper for async get_file_info
3381 2007-09-14 Alexander Larsson <alexl@redhat.com>
3384 Add etag out argument to load_contents
3389 2007-09-14 Alexander Larsson <alexl@redhat.com>
3391 * gio/gcontenttype.c (looks_like_text):
3392 Whitespace like tab, cr and lf do not make the
3395 2007-09-14 Alexander Larsson <alexl@redhat.com>
3397 * gio/gfileinputstream.[ch]:
3398 Add async get_file_info.
3400 2007-09-13 Alexander Larsson <alexl@redhat.com>
3402 * gio/goutputstream.c (g_output_stream_write_all):
3403 Allow NULL for bytes_written
3405 2007-09-13 Alexander Larsson <alexl@redhat.com>
3407 * gio/gmemoryinputstream.[ch]:
3408 Add accessors for data
3410 2007-09-13 Alexander Larsson <alexl@redhat.com>
3412 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3413 Don't crash if length is NULL