1 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
3 * glocalfileoutputstream.c (g_local_file_output_stream_close):
4 Fallback to rename() if link() is not available
5 (when no support on target filesystem)
7 2008-02-06 Michael Natterer <mitch@imendio.com>
9 * gfileinfo.c (g_file_info_get_icon): replace
10 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
12 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
14 * gfile.c (g_file_create):
15 Documentation update of error codes
17 2008-02-06 Alexander Larsson <alexl@redhat.com>
20 Update to use both mimeapps.list and
21 defaults.list as discussed on xdg list.
23 2008-02-06 Benjamin Otte <otte@gnome.org>
26 * gfilenamecompleter.c:
27 Fix some typos in the documentation.
29 2008-02-06 Alexander Larsson <alexl@redhat.com>
31 * glocalfile.c (g_local_file_trash):
32 Don't succeed with trash if newly created
33 trash dir has the wrong owner. (#514696)
35 2008-02-05 Alexander Larsson <alexl@redhat.com>
37 * glocalfile.c (g_local_file_move):
38 Don't spew warnings when destination is not
41 2008-02-03 Hans Breuer <hans@breuer.org>
43 * makefile.msc : update
45 2008-02-01 Michael Natterer <mitch@imendio.com>
47 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
48 return value of xdg_mime_list_mime_parents() to a variable of the
51 2008-02-01 Alexander Larsson <alexl@redhat.com>
53 * gappinfo.c (g_app_info_launch_uris):
54 Actually call the launch_uris method, not
57 2008-02-01 Alexander Larsson <alexl@redhat.com>
59 * gdesktopappinfo.c (g_desktop_app_info_equal):
60 Ensure appinfos with no id but same pointer value
63 2008-02-01 Alexander Larsson <alexl@redhat.com>
65 * gappinfo.c (g_app_info_launch_default_for_uri):
68 2008-02-01 Alexander Larsson <alexl@redhat.com>
72 Add g_app_info_launch_default_for_uri utility
75 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
78 Doc fix for g_app_info_get_default_for_uri_scheme ()
81 2008-01-30 Alexander Larsson <alexl@redhat.com>
84 Add doc comment about uris vs GFiles to
88 Ensure uris passed to g_app_info_launch_uris()
89 are not roundtriped through GFile (as that
90 may be slightly destructive for e.g. mailto: links)
92 2008-01-30 Alexander Larsson <alexl@redhat.com>
94 * tests/data-input-stream.c:
95 * tests/data-output-stream.c:
96 C89 fixes from Jens Granseuer (#512849)
98 2008-01-30 Alexander Larsson <alexl@redhat.com>
101 Fix gamin/fam difference build issue. (#509419)
103 2008-01-29 Alexander Larsson <alexl@redhat.com>
107 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
109 2008-01-29 Alexander Larsson <alexl@redhat.com>
113 giomodule-priv.h include moved to .c file.
115 2008-01-29 Alexander Larsson <alexl@redhat.com>
117 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
118 Remove unused prio/name fields.
120 2008-01-29 Alexander Larsson <alexl@redhat.com>
122 * gcontenttype.c (looks_like_text):
123 Don't treat whitespace as control chars.
125 2008-01-29 Alexander Larsson <alexl@redhat.com>
128 Lazily create the desktop files for appinfos created
129 by g_app_info_create_from_commandline() when needed
130 for mime associations. This allows run-time use
131 of GAppInfo object without creating unnecessary
134 2008-01-29 Alexander Larsson <alexl@redhat.com>
137 Added new symbols to gio.symbols
139 2008-01-29 Alexander Larsson <alexl@redhat.com>
142 Add g_file_query_default_handler utility to easily look up
143 the GAppInfo that handles a file.
145 * gdesktopappinfo.[ch]:
147 Set up an extension point for g_app_info_get_default_for_uri_scheme()
150 Remove unused function
152 2008-01-29 Alexander Larsson <alexl@redhat.com>
155 Mention need to free returned value in
156 g_file_enumerator_next_files_finish docs.
157 Fix leak if g_file_enumerator_next_files_finish()
160 2008-01-29 Alexander Larsson <alexl@redhat.com>
163 (_g_unix_content_type_get_parents):
164 Use list_parents, not get_parents from xdgmime, because
165 the later doesn't use the cache.
167 * xdgmime/xdgmimecache.c:
168 (_xdg_mime_cache_list_mime_parents):
169 Don't list the same type as parent multiple times.
171 2008-01-28 Matthias Clasen <mclasen@redhat.com>
173 * === Released 2.15.4 ===
175 2008-01-28 Alexander Larsson <alexl@redhat.com>
178 Register local vfs with prio 0.
181 Remove old name and prio class members
183 2008-01-28 Matthias Clasen <mclasen@redhat.com>
185 * tests/g-file.c: Disable some tests that are failing in
186 the absence of a http backend.
188 2008-01-28 Alexander Larsson <alexl@redhat.com>
192 Add registration hooks for extension points.
193 Register the gio extension points.
195 * fam/gfamdirectorymonitor.c:
196 * fam/gfamfilemonitor.c:
197 * glocaldirectorymonitor.[ch]:
198 * glocalfilemonitor.[ch]:
199 * gnativevolumemonitor.h:
200 * gunionvolumemonitor.c:
201 * gunixvolumemonitor.c:
204 * inotify/ginotifydirectorymonitor.c:
205 * inotify/ginotifyfilemonitor.c:
206 Use the extension points registration instead
207 of g_type_children().
209 2008-01-28 Matthias Clasen <mclasen@redhat.com>
212 * gvolume.[hc]: Document new API.
214 * gfile.c (g_file_copy_async): Fix docs
216 2008-01-27 Matthias Clasen <mclasen@redhat.com>
218 * gbufferedinputstream.c:
220 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
223 2008-01-27 Matthias Clasen <mclasen@redhat.com>
225 * glocalfile.c: Avoid trivial differences in translatable strings.
227 2008-01-25 Matthias Clasen <mclasen@redhat.com>
229 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
230 build with gcc 3.4 (#509419)
232 2008-01-25 Matthias Clasen <mclasen@redhat.com>
234 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
235 (#509994, Murray Cumming)
237 2008-01-25 Matthias Clasen <mclasen@redhat.com>
239 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
240 * gioscheduler.c: Keep calling io jobs until they return FALSE;
241 this allows big jobs to be executed in chunks, instead of blocking
242 the main loop for a long time.
244 * gsimpleasyncresult.c:
245 * giofile.c: Adapt callers.
247 2008-01-25 Alexander Larsson <alexl@redhat.com>
250 Implement changes discussed on xdg list.
251 Now we can add supported mimetypes by just using defaults.list
252 We can also remove associations in defaults.list.
254 2008-01-25 Alexander Larsson <alexl@redhat.com>
257 Don't make local copy of desktop file
258 for mimetype changes if the file already
259 supports the new mimetype.
261 2008-01-25 Matthias Clasen <mclasen@redhat.com>
265 * gbufferedinputstream.c:
266 * glocalfile.c: String improvements. (#511966,
267 Theppitak Karoonboonyanan)
269 2008-01-24 Matthias Clasen <mclasen@redhat.com>
271 * gioscheduler.h: Expand docs a bit.
273 2008-01-24 Alexander Larsson <alexl@redhat.com>
276 Add g_drive_get_identifier and
277 g_drive_enumerate_identifiers
280 Add g_volume_get_identifier and
281 g_volume_enumerate_identifiers
287 Implement identifiers for unix backend
289 2008-01-24 Alexander Larsson <alexl@redhat.com>
294 Add g_file_copy_async() (#511580)
295 Based on patch from Carlos Garcia Campos
297 2008-01-23 Matthias Clasen <mclasen@redhat.com>
299 * gioscheduler.c: Some documentation additions.
301 2008-01-22 Alexander Larsson <alexl@redhat.com>
304 (g_desktop_app_info_new):
307 2008-01-22 Alexander Larsson <alexl@redhat.com>
310 (g_desktop_app_info_new_from_filename):
313 2008-01-22 Alexander Larsson <alexl@redhat.com>
315 * glocalfileinfo.c (get_thumbnail_attributes):
318 2008-01-22 Alexander Larsson <alexl@redhat.com>
321 (canonicalize_filename):
322 Canonicalize paths that start with more than
327 (test_g_file_new_for_path):
330 2008-01-22 Alexander Larsson <alexl@redhat.com>
333 Allow UTF-8 in file:// parse names.
336 * tests/data-input-stream.c:
337 * tests/data-output-stream.c:
338 * tests/g-file-info.c:
340 Added a bunch of tests from Tomas Bzatek
342 2008-01-21 Matthias Clasen <mclasen@redhat.com>
344 * === Released 2.15.3 ===
346 2008-01-21 Alexander Larsson <alexl@redhat.com>
348 * gfileinputstream.[ch]:
349 * gfileoutputstream.[ch]:
351 Remove duplicated GSeekable functions. (#509990)
352 Just use the g_seekable_xxx() calls instead.
354 2008-01-21 Matthias Clasen <mclasen@redhat.com>
357 * gvolumemanager.c: Whitespace cleanups.
359 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
360 Use the right mode when creating the file.
362 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
365 * gfileinputstream.c:
367 * goutputstream.c: Documentation: Fixed minor typos
368 and added more mentions of specific _finish() functions.
370 2008-01-21 Alexander Larsson <alexl@redhat.com>
372 * inotify/Makefile.am:
373 * inotify/inotify-helper.c:
374 * inotify/inotify-kernel.c:
375 * inotify/inotify-path.c:
376 * inotify/local_inotify.h: Removed.
377 * inotify/local_inotify_syscalls.h: Removed.
378 Removed the included copies of the inotify
379 headers. We now only use the <sys/inotify.h>
380 header which exists on modern systems.
381 This fixes problems on ARM and SH5 (#510448)
382 but is also generally much cleaner and future
383 safe. For instance, if other OSes add support
384 for inotify it should "just work".
386 2008-01-20 Matthias Clasen <mclasen@redhat.com>
388 * inotify/*.c: Coding style fixes.
389 * inotify/inotify-missing.c: Use g_timeout_add_seconds
390 for the 1/4 Hz timer.
392 2008-01-20 Matthias Clasen <mclasen@redhat.com>
396 * gmemoryinputstream.c:
397 * gmemoryoutputstream.c:
399 * gthemedicon.c: Documentation updates
401 2008-01-20 Murray Cumming <murrayc@murrayc.com>
403 * gfile.c: documentation: Fixed more minor
406 2008-01-18 Murray Cumming <murrayc@murrayc.com>
408 * gmount.c: (g_mount_remount): documentation:
409 Mention g_mount_remount_finish() instead of
410 g_mount_unmount_finish().
412 2008-01-18 Murray Cumming <murrayc@murrayc.com>
416 * gfile.c: Fixed some minor typos in the
419 2008-01-18 Murray Cumming <murrayc@murrayc.com>
421 * gio/gvolumemonitor.c:
422 (g_volume_monitor_get_connected_drives):
423 (g_volume_monitor_get_volumes):
424 (g_volume_monitor_get_mounts): Documentation:
425 Clarify the ownership of the regurn GLists.
427 2008-01-17 Alexander Larsson <alexl@redhat.com>
430 Add the async find_enclosing_mount version
431 to the header file too.
433 2008-01-17 Alexander Larsson <alexl@redhat.com>
436 Add async version of find_enclosing_mount
437 with default implementation.
439 2008-01-17 Alexander Larsson <alexl@redhat.com>
444 Allow calls to implementation of copy and write
445 even if the type of the file implementations is
446 different. This can be used to implement native
447 upload and download calls in a vfs.
451 Protect against the case where move is called
452 with one file not being local.
454 Make sure we call the progress callback once
455 in the native move operation so that the caller
456 knows how many bytes were copied.
458 2008-01-16 Murray Cumming <murrayc@murrayc.com>
461 * gdatainputstream.c:
463 * gfileoutputstream.c:
468 * gunixmounts.c: Corrected some typos in the documentation:
470 its -> it's (where appropriate).
472 2008-01-16 Alexander Larsson <alexl@redhat.com>
476 Add g_file_query_exists (#508771)
478 2008-01-15 Murray Cumming <murrayc@murrayc.com>
483 * gvolume.c: For async functions that have no non-async
484 version, document that the GAsyncReadyCallback may be NULL.
487 2008-01-15 Alexander Larsson <alexl@redhat.com>
489 * gmemoryinputstream.c:
490 * gmemoryoutputstream.c:
491 Don't do pointer arithmetic on void * (#508602)
492 Patch from Kazuki IWAMOTO
494 2008-01-14 Matthias Clasen <mclasen@redhat.com>
496 * === Released 2.15.2 ===
498 2008-01-14 Alexander Larsson <alexl@redhat.com>
500 * gfile.c (g_file_monitor_file):
501 Don't set error here, since we fallback to polling monitor.
503 2008-01-14 Alexander Larsson <alexl@redhat.com>
506 (g_file_monitor_directory):
507 (g_file_monitor_file):
508 Add GError to file monitor calls
510 * glocaldirectorymonitor.c:
511 * glocaldirectorymonitor.h:
513 * glocalfilemonitor.c:
514 * glocalfilemonitor.h:
516 Update for above change
518 2008-01-14 Alexander Larsson <alexl@redhat.com>
522 Handle root correctly in g_file_get_relative_path (#508719)
524 2008-01-14 Alexander Larsson <alexl@redhat.com>
527 Clean up docs and example for GAsyncResult (#508074)
529 2008-01-11 Murray Cumming <murrayc@murrayc.com>
531 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
532 and correct some spelling mistakes. Bug #508108.
534 2008-01-11 Matthias Clasen <mclasen@redhat.com>
536 * glocalfileinfo.c: Add a comment.
538 2008-01-10 Murray Cumming <murrayc@murrayc.com>
540 * gfileinfo.c: GFileInfo description: Mention
541 how to actually set attributes in a GFile and how to discover
542 which attributes are settable. Bug #508378.
544 2008-01-10 A. Walton <awalton@svn.gnome.org>
546 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
547 (g_app_info_get_default_for_type):
548 Check for NULL content types.
550 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
552 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
554 2008-01-09 Murray Cumming <murrayc@murrayc.com>
556 * gfile.c: *_async() functions: Several small corrections
557 to the documentation, mostly correcting copy/paste errors
558 and improving some sentences.
560 2008-01-09 Dan Winship <danw@gnome.org>
562 * glocalfile.c (get_unique_filename): x86_64 fix
564 2008-01-09 Alexander Larsson <alexl@redhat.com>
569 Add g_unix_mount_guess_should_display and use
570 for unix volume monitor backend.
571 This means we more or less show what the
572 gnome-vfs backend did.
573 Based on patch from Padraig O'Briain
575 2008-01-09 Alexander Larsson <alexl@redhat.com>
579 Add g_themed_icon_new_with_default_fallbacks
582 Use default fallbacks for icons
584 2008-01-09 Alexander Larsson <alexl@redhat.com>
587 * gmountoperation.[ch]:
588 Change the API a bit so that unhandled methods
589 get reported via the reply, rather than by
590 the signal emission return value. This is because
591 some handlers can't know this immediately without
592 doing I/O, and this is an async operation that
595 2008-01-09 Alexander Larsson <alexl@redhat.com>
598 * fam/gfamdirectorymonitor.c:
599 * fam/gfamfilemonitor.c:
600 Fix double free crash (#508224)
601 Patch from Joe Marcus Clarke
603 008-01-07 Matthias Clasen <mclasen@redhat.com>
605 * === Released 2.15.1 ===
607 2008-01-07 Alexander Larsson <alexl@redhat.com>
609 * gunixinputstream.c (g_unix_input_stream_skip_finish):
610 Fix warning (#507835)
612 2008-01-07 Alexander Larsson <alexl@redhat.com>
615 Pass --internal to glib-genmarshal
620 Use better types for signal arguments (#507822)
622 2008-01-07 Alexander Larsson <alexl@redhat.com>
625 Build test subdir after .
626 Remove gdirectorymonitor.[ch]
628 * gdirectorymonitor.[ch]:
632 Remove GDirectoryMonitor and make
633 GFileMonitor the baseclass for both file and
634 directory monitors. Lift the more generic
635 rate limiting code from GDirectoryMonitor
639 * fam/gfamdirectorymonitor.[ch]:
640 * inotify/ginotifydirectorymonitor.[ch]:
641 * inotify/inotify-helper.c:
642 * glocaldirectorymonitor.[ch]:
645 Update for the removed GDirectoryMonitor.
647 * gmemoryoutputstream.c:
648 Remove ununsed variable
650 2008-01-07 Alexander Larsson <alexl@redhat.com>
652 * gmemoryinputstream.c:
653 Translate error strings
656 * gmemoryoutputstream.[ch]:
657 New implementation that avoids using GByteArray
658 in implementation and API. (#506377)
660 2008-01-06 Matthias Clasen <mclasen@redhat.com>
662 * tests/*: Add a test for memory input streams.
664 * Makefile.am: Add tests to SUBDIRS.
666 2008-01-06 Matthias Clasen <mclasen@redhat.com>
668 * glocalfilemonitor.c:
669 * glocaldirectorymonitor.c: Mark property nicks and blurbs
672 2008-01-06 Matthias Clasen <mclasen@redhat.com>
674 * gdesktopappinfo.c: Fix a docs typo.
676 * gfileattribute.c: Add information about extended attributes
677 to the documentation. (#505058)
679 2008-01-04 Alexander Larsson <alexl@redhat.com>
683 Use the right type (uint) for the ask_password signal.
685 2008-01-04 Alexander Larsson <alexl@redhat.com>
690 Add g_app_info_supports_files()
691 Remove desktop arg from g_app_info_should_show().
693 * gdesktopappinfo.[ch]:
694 Implement g_app_info_supports_files() and new should_show()
695 Add g_desktop_app_info_set_desktop_env() to set the desktop
696 for should_show(). (This will be set by gtk+ later)
698 2008-01-04 Alexander Larsson <alexl@redhat.com>
701 * gmemoryinputstream.[ch]:
702 Improve API so that you can use multiple chunks
703 of memory and custom destroy functions. (#506374)
705 2008-01-03 Alexander Larsson <alexl@redhat.com>
708 Handle NULL attribute matchers safely, as we return this
709 for empty attribute matcher strings.
711 2008-01-03 Alexander Larsson <alexl@redhat.com>
713 * gunixmounts.c (g_unix_is_mount_path_system_internal):
714 Add /usr/local to list of internal mountpoints
716 2008-01-03 Alexander Larsson <alexl@redhat.com>
719 Check for HAVE_LCHOWN (#505887)
721 2008-01-03 Alexander Larsson <alexl@redhat.com>
725 Add define for selinux context attribute.
726 Fix missing : -> :: namespace separator change
727 Fix missing _ -> - name change for xattr-sys.
730 2008-01-03 Alexander Larsson <alexl@redhat.com>
733 Link to libglib and libgobject directly (#504879)
734 Patch from Sebastien Bacher
736 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
738 * gfile.c: Expanded the g_file_new_for_commandline_arg
739 description a bit, based on the code and the docs of the
740 other g_file_new_for_* functions.
742 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
744 * gfilemonitor.h: Fixed typo in docs.
746 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
748 Updates to GIO documentation. (#506395, Mikael Hermansson)
750 * gcontenttype.c: Describe memory management for return value of
751 g_content_types_get_registered(). Missing piece from #505815.
752 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
753 GVolume, GDrive, GMounts, which hopefully gives the user less
754 confusions when using this API. Following explainations from
755 Alexander Larsson on gtk-devel-list.
757 2007-12-30 Matthias Clasen <mclasen@redhat.com>
759 * gfileinfo.c: Expand the long description.
761 2007-12-30 Matthias Clasen <mclasen@redhat.com>
764 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
765 fix builds with --disable-visibility. (#500273, Christian Persch)
767 2007-12-30 Matthias Clasen <mclasen@redhat.com>
769 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
770 in the list of returned app infos.
772 2007-12-30 Matthias Clasen <mclasen@redhat.com>
774 * gappinfo.c: Fix a cross-reference
776 2007-12-30 Matthias Clasen <mclasen@redhat.com>
778 * gfileinputstream.c:
779 * gfileoutputstream.c:
785 * gfileinfo.c: Documentation updates.
787 2007-12-26 Matthias Clasen <mclasen@redhat.com>
789 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
792 2007-12-26 Matthias Clasen <mclasen@redhat.com>
794 * gcontenttype.c (g_content_types_get_registered): Don't return
795 freed memory (#505815, Mikael Hermansson)
797 2007-12-25 Paolo Borelli <pborelli@katamail.com>
799 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
800 used to detect statbuf->st_blocks. (#505042)
802 2007-12-24 Matthias Clasen <mclasen@redhat.com>
804 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
805 environment handling. (#504829, Cosimo Cecchi)
807 2007-12-22 Matthias Clasen <mclasen@redhat.com>
809 * gappinfo.c: Doc improvements
811 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
814 2007-12-20 Matthias Clasen <mclasen@redhat.com>
816 * === Released 2.15.0 ===
818 2007-12-20 Hans Breuer <hans@breuer.org>
820 * makefile.msc : don't build gdesktopappinfo.obj, it collides
821 with symbols gwin32appinfo.obj, added gmount.obj
822 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
824 2007-12-20 Alexander Larsson <alexl@redhat.com>
830 * gfilenamecompleter.c:
833 * gpollfilemonitor.c:
834 File attribute renames:
837 id::fs -> id::filesystem
839 2007-12-20 Alexander Larsson <alexl@redhat.com>
848 Add GMountUnmountFlags to all unmount and
850 Add g_mount_remount() call.
852 2007-12-20 Alexander Larsson <alexl@redhat.com>
854 * gvfs.c (get_default_vfs):
855 Fix unused variable warning
857 2007-12-19 Matthias Clasen <mclasen@redhat.com>
859 * pltcheck.sh: Update
861 2007-12-19 Matthias Clasen <mclasen@redhat.com>
863 * gunionvolumemonitor.c:
864 * gunixmount.c: Remove C99 comments
866 2007-12-19 Matthias Clasen <mclasen@redhat.com>
868 * gio.symbols: Add some missing symbols
870 2007-12-19 Alexander Larsson <alexl@redhat.com>
873 Make g_io_modules_load_all_in_directory not unuse
874 loaded modules so that users of it can do stuff
876 Init internal "module" types.
877 Initialize static prio and name for types so that
878 we don't have to load modules to get it.
880 * gnativevolumemonitor.h:
882 Move is_supported to parent class so that
883 non-native monitors can avoid being initialized
884 too. (For instance GDaemonVolumeMonitor if we're
885 not using GDaemonVfs.)
887 * glocaldirectorymonitor.[ch]:
888 * glocalfilemonitor.[ch]:
889 * gunionvolumemonitor.c:
890 * gunixvolumemonitor.c:
892 Find plugins using the static prio+name to
893 avoid unnecessarily loading the modules.
895 2007-12-19 Alexander Larsson <alexl@redhat.com>
900 2007-12-19 Alexander Larsson <alexl@redhat.com>
902 * gunionvolumemonitor.c:
903 Store the native type as GType, not class so that
904 we can unload it. But still avoid unnecessarily
907 2007-12-19 David Zeuthen <davidz@redhat.com>
909 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
910 add signals 'disconnected' and 'eject-button' on GDrive. Add
911 signal 'removed' on GVolume and 'unmounted' on GMount.
913 * gdrive.c: (g_drive_base_init):
915 * gfile.c: (g_file_mount_mountable),
916 (g_file_mount_enclosing_volume):
919 * gmount.c: (g_mount_base_init):
921 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
922 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
923 * gvolume.c: (g_volume_base_init), (g_volume_mount):
927 2007-12-17 Matthias Clasen <mclasen@redhat.com>
929 * *.c: Fix up includes in the section docs.
931 2007-12-17 Alexander Larsson <alexl@redhat.com>
933 * gnativevolumemonitor.h:
934 * gunionvolumemonitor.c:
935 * gunixvolumemonitor.c:
936 Add is_supported() to GNativeVolumeMonitorClass so
937 that we can avoid having to create an object to see
938 if the backend is supported at runtime.
939 Also add name member and an env var to pick a specific
940 volume monitor backend.
944 Add cancellable to _g_mount_get_for_mount_path()
946 * glocaldirectorymonitor.c:
947 * glocalfilemonitor.c:
948 Avoid loading and unloading modules while sorting.
950 2007-12-17 Matthias Clasen <mclasen@redhat.com>
953 * gunixmounts.[hc]: Namespace waste reduction, move some
954 g_get_unix_mount functions to the g_unix_mount namespace.
957 * gunixvolumemonitor.c:
959 * glocaldirectorymonitor.c: Update all callers.
961 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
963 2007-12-17 Alexander Larsson <alexl@redhat.com>
966 Add doc comments about what GFile operations are
967 guaranteed to not block.
969 2007-12-17 Alexander Larsson <alexl@redhat.com>
972 Add missing #ifdef fixing OSX build.
973 (#503334, patch from Richard Hult)
975 2007-12-14 David Zeuthen <davidz@redhat.com>
979 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
980 (g_mount_eject), (g_mount_eject_finish):
982 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
983 (get_volume_for_uuid), (get_mount_for_uuid),
984 (g_union_volume_monitor_class_init),
985 (get_default_native_type_with_exclude), (get_default_native_type),
986 (get_native_type), (update_native_type),
987 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
988 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
989 (g_unix_mount_can_eject), (eject_unmount_cb),
990 (eject_unmount_read_error), (eject_unmount_do),
991 (g_unix_mount_unmount), (g_unix_mount_eject),
992 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
993 * gunixmounts.c: (g_unix_mount_guess_can_eject),
994 (g_unix_mount_point_guess_can_eject):
996 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
997 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
998 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
999 (g_unix_volume_mount), (g_unix_volume_eject),
1000 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1001 * gunixvolumemonitor.c: (get_volume_for_uuid),
1002 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1004 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1005 (g_volume_eject), (g_volume_eject_finish):
1007 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1008 (g_volume_monitor_get_mount_for_uuid):
1011 Provide eject() on both GMount and GVolume and utility functions
1012 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1013 ejected. Introduce the concept of UUID's and wire it into GVolume
1014 and GMount and provide API on GVolumeMonitor to find such
1015 instances. Also handle the case where an external
1016 GNativeVolumeMonitor fails to initialize. Lock around the
1017 _g_get_mount_for_mount_path() function such that volume monitor
1018 implementations won't have to do locking themselves.
1020 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1022 * gdesktopappinfo.c:
1028 * gvolume.h: Documentation updates
1030 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1033 * gfile.h: Doc updates
1035 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1038 * gdesktopappinfo.c: Use hash table iterators.
1040 2007-12-14 Alexander Larsson <alexl@redhat.com>
1043 * gfileattribute.[ch]:
1044 * gfileattribute-priv.h:
1045 Move GFileAttributeValue to a private header, as
1049 Make set_attribute take a type + a pointer instead
1050 of a GFileAttributeValue.
1053 Fix up for above changes.
1054 Add g_file_info_get_attribute_data to get
1055 all info in one call, g_file_info_get_attribute_status
1056 to get the status and g_file_info_get_attribute_as_string.
1060 * glocalfileinfo.[ch]:
1064 Make _guess_type static.
1066 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1069 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1070 made mkenums and friends use temporary files to avoid leaving
1071 empty generated files on failure (#503470).
1073 2007-12-14 Alexander Larsson <alexl@redhat.com>
1075 * gmountoperation.h:
1078 2007-12-14 Alexander Larsson <alexl@redhat.com>
1082 * gfileattribute.[ch]:
1085 * glocalfileoutputstream.c:
1086 * gmountoperation.[ch]:
1087 * goutputstream.[ch]:
1088 Clean up all flags enums to not have _FLAGS in them
1089 Make the names of some of the enums better.
1094 2007-12-14 Michael Natterer <mitch@imendio.com>
1096 * gio.symbols: fix g_io_scheduler symbol names.
1098 2007-12-14 Alexander Larsson <alexl@redhat.com>
1104 * gbufferedinputstream.h:
1105 * gbufferedoutputstream.h:
1108 * gdatainputstream.h:
1109 * gdataoutputstream.h:
1110 * gdesktopappinfo.h:
1111 * gdirectorymonitor.h:
1115 * gfileenumerator.h:
1118 * gfileinputstream.h:
1120 * gfilenamecompleter.h:
1121 * gfileoutputstream.h:
1122 * gfilterinputstream.h:
1123 * gfilteroutputstream.h:
1131 * gmemoryinputstream.h:
1132 * gmemoryoutputstream.h:
1134 * gmountoperation.h:
1137 * gsimpleasyncresult.h:
1139 * gunixinputstream.h:
1141 * gunixoutputstream.h:
1145 * inotify/Makefile.am:
1146 Only allow including <gio/gio.h> from apps
1148 2007-12-14 Alexander Larsson <alexl@redhat.com>
1150 * gioscheduler.[ch]:
1151 * gsimpleasyncresult.c:
1152 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1153 Split out the send_to_mainloop call into two versions instead
1154 of having the block argument.
1156 2007-12-13 Alexander Larsson <alexl@redhat.com>
1158 * gcancellable.[ch]:
1160 * gbufferedinputstream.c:
1161 * gfileenumerator.c:
1162 * gfileinputstream.c:
1163 * gfileoutputstream.c:
1167 g_push/pop_current_cancellable ->
1168 g_cancellable_push/pop_current
1170 2007-12-13 Alexander Larsson <alexl@redhat.com>
1174 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1176 2007-12-13 Alexander Larsson <alexl@redhat.com>
1178 * gmountoperation.h:
1179 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1181 2007-12-12 Alexander Larsson <alexl@redhat.com>
1184 Fix race condition when freeing proxy in
1185 g_io_job_send_to_mainloop().
1187 2007-12-12 Alexander Larsson <alexl@redhat.com>
1193 Make attribute namespace separator "::" instead of ":".
1194 Use - instead of _ as separator in attribute names.
1196 2007-12-12 Alexander Larsson <alexl@redhat.com>
1198 * gbufferedinputstream.h:
1199 * gbufferedoutputstream.h:
1200 * gdatainputstream.h:
1201 * gdataoutputstream.h:
1202 * gdirectorymonitor.h:
1203 * gfileenumerator.h:
1204 * gfileinputstream.h:
1206 * gfileoutputstream.h:
1207 * gfilterinputstream.h:
1208 * gfilteroutputstream.h:
1210 * glocalfileinputstream.h:
1211 * glocalfileoutputstream.h:
1212 * gmemoryinputstream.h:
1213 * gmemoryoutputstream.h:
1214 * gnativevolumemonitor.h:
1216 * gunixinputstream.h:
1217 * gunixoutputstream.h:
1220 s/parent/parent_instance/ in GObjects
1222 2007-12-12 Alexander Larsson <alexl@redhat.com>
1227 No need for padding for interfaces
1229 2007-12-12 Alexander Larsson <alexl@redhat.com>
1233 * gbufferedinputstream.c:
1234 * gbufferedoutputstream.c:
1237 * gdatainputstream.[ch]:
1238 * gdesktopappinfo.c:
1239 * gdirectorymonitor.c:
1241 * gfileattribute.[ch]:
1244 * gfileinputstream.h:
1245 * gfilemonitor.[ch]:
1246 * gfileoutputstream.[ch]:
1247 * gfilterinputstream.h:
1248 * gfilteroutputstream.h:
1251 * gloadableicon.[ch]:
1252 * gmemoryinputstream.c:
1253 * gmountoperation.c:
1255 Fix up a bunch of details in the docs.
1260 2007-12-11 David Zeuthen <davidz@redhat.com>
1262 Rework how volumes, drives and volume monitoring is
1263 done. Previosly the model was
1265 GDrive <1-1> GVolume
1267 where a GDrive instance represented a mount point and a GVolume
1268 instance represented a mounted file system. This patch changes it
1271 GDrive <1-N> GVolume <1-1> GMount
1273 where GMount now serves the purpose of the old GVolume and the new
1274 GVolume serves the purpose of the old GDrive. In addition the new
1275 GDrive interface is used to represent a collection of GVolume
1276 instances (typically partitions) and also contains utility to query
1277 the state of the physical drive the GDrive object represents (such
1278 as checking for media, polling the drive, ejecting the media etc.).
1280 Also implement mounting and unmounting in the Unix volume monitor
1281 backend. A subquent patch will introduce GDrive support for ejection
1285 * gdrive.c: (g_drive_is_media_check_automatic),
1286 (g_drive_is_media_removable), (g_drive_has_media),
1287 (g_drive_can_poll_for_media), (g_drive_eject),
1288 (g_drive_eject_finish), (g_drive_poll_for_media),
1289 (g_drive_poll_for_media_finish):
1291 * gfile.c: (g_file_find_enclosing_mount):
1294 * glocaldirectorymonitor.c:
1295 (g_local_directory_monitor_constructor), (mounts_changed):
1296 * glocalfile.c: (get_mount_info),
1297 (g_local_file_find_enclosing_mount),
1298 (g_local_file_file_iface_init):
1299 * gnativevolumemonitor.h:
1300 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1301 (get_connected_drives), (g_union_volume_monitor_class_init),
1302 (child_volume_added), (child_volume_removed),
1303 (child_volume_changed), (child_mount_added), (child_mount_removed),
1304 (child_mount_pre_unmount), (child_mount_changed),
1305 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1306 (g_union_volume_monitor_remove_monitor),
1307 (_g_mount_get_for_mount_path):
1308 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1309 (guess_system_internal), (_g_get_unix_mounts),
1310 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1311 (g_unix_mount_free), (g_unix_mount_compare),
1312 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1313 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1314 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1315 (type_to_icon), (g_unix_mount_guess_name),
1316 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1317 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1318 (_resolve_symlink), (_resolve_dev_root):
1320 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1321 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1322 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1323 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1324 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1325 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1326 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1327 (g_unix_volume_volume_iface_init):
1329 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1330 (get_mounts), (get_volumes), (get_connected_drives),
1331 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1332 (mountpoints_changed), (mounts_changed),
1333 (g_unix_volume_monitor_init),
1334 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1335 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1336 * gunixvolumemonitor.h:
1337 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1338 (g_volume_mount), (g_volume_mount_finish):
1340 * gvolumemonitor.c: (g_volume_monitor_class_init),
1341 (g_volume_monitor_get_connected_drives),
1342 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1345 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1347 * gmountoperation.h (GPasswordFlags): Close the gap
1349 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1351 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1353 * gdesktopappinfo.[hc]: Remove _-prefixes
1355 2007-12-10 Tor Lillqvist <tml@novell.com>
1357 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1360 2007-12-10 Alexander Larsson <alexl@redhat.com>
1362 * gfile.c (g_file_set_display_name):
1363 Don't hardcode '/' (#502727)
1365 2007-12-09 Hans Breuer <hans@breuer.org>
1367 * makefile.msc : follow lib naming convention
1368 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1369 for user and group name, tested with ../tests/gio-ls
1371 2007-12-09 A. Walton <awalton@svn.gnome.org>
1373 * gdesktopappinfo.c:
1379 * gfileenumerator.c:
1384 * gmemoryinputstream.c:
1385 * gmemoryoutputstream.c:
1387 * gsimpleasyncresult.c:
1388 More documentation cleanup and filling in missing information, bringing
1389 GIO to 99% symbol coverage.
1391 2007-12-08 Hans Breuer <hans@breuer.org>
1393 [gio compiles and links on win32, not sure how much already works]
1394 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1395 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1396 base on win32 API; prefer g_lstat() over lstat(); instead of
1397 localtime_r() use an all GLib implementation on win32;
1398 get_mount_info() still needs a win32 specifc implementation
1399 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1400 win32_get_file_user_info to get owner/group info without uid/gid
1401 * glocalfileinputstream.c : include <io.h> on win32
1402 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1403 definition, use g_win32_ftruncate() for G_OS_WIN32
1404 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1405 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1406 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1407 * makefile.msc : updated
1409 2007-12-07 Alexander Larsson <alexl@redhat.com>
1411 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1412 Avoid warning spew if error == NULL
1414 2007-12-07 Alexander Larsson <alexl@redhat.com>
1417 Update docs wrt etags
1419 2007-12-06 Alexander Larsson <alexl@redhat.com>
1422 Include sys/types.h for dev_t (#501919)
1424 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1428 Make abicheck and pltcheck pass.
1430 2007-12-05 Alexander Larsson <alexl@redhat.com>
1433 * giomodule-priv.h: Added.
1434 * glocaldirectorymonitor.c:
1435 * glocalfilemonitor.c:
1436 * gunionvolumemonitor.c:
1438 Actually add the declaration of _g_io_modules_ensure_loaded
1440 2007-12-05 Alexander Larsson <alexl@redhat.com>
1442 * gdatainputstream.c:
1447 * glocaldirectorymonitor.c:
1448 * glocalfilemonitor.c:
1449 * gunionvolumemonitor.c:
1451 Make g_io_modules_ensure_loaded a private function and
1452 don't pass in the dirname. This means we can do magic
1453 directory finding in the win32 version.
1454 Export the actual load-modules-in-directory code so that
1455 gvfs can reuse that.
1457 2007-12-05 Alexander Larsson <alexl@redhat.com>
1459 * gbufferedinputstream.c:
1460 * gbufferedoutputstream.c:
1463 * gfileenumerator.[ch]:
1464 * gfileinputstream.c:
1465 * gfileoutputstream.[ch]:
1466 * gfilterinputstream.c:
1467 * gfilteroutputstream.c:
1468 * ginputstream.[ch]:
1470 * glocalfileenumerator.c:
1471 * glocalfileinputstream.c:
1472 * glocalfileoutputstream.c:
1473 * gmemoryinputstream.c:
1474 * gmemoryoutputstream.c:
1475 * goutputstream.[ch]:
1478 * gunixinputstream.c:
1479 * gunixoutputstream.c:
1480 Rename all struct members named:
1481 read, write, close, truncate, or mount
1482 to foo_fn, as these are reserved names
1483 and could be defined as macros in libc.
1486 2007-12-04 Alexander Larsson <alexl@redhat.com>
1489 (g_output_stream_close):
1490 Only call flush if non-null.
1492 2007-11-30 Dan Winship <danw@gnome.org>
1494 * ginputstream.c (g_input_stream_set_pending): Make this take a
1495 GError and return a gboolean, and do the "outstanding operation"
1496 check (and the "stream is already closed" check) itself.
1497 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1499 * goutputstream.c (g_output_stream_set_pending)
1500 (g_output_stream_clear_pending): Likewise
1502 * gbufferedinputstream.c:
1503 * gfileinputstream.c:
1504 * gfileoutputstream.c: Update for that
1506 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1507 Like g_simple_async_report_error_in_idle, but takes a GError
1508 rather than building one.
1510 2007-11-30 Dan Winship <danw@gnome.org>
1512 * goutputstream.c: Don't cheat and unset the "pending" flag around
1513 inner calls. Instead, call the class method directly rather than
1514 the wrapper function that checks "pending"
1516 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1518 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1520 2007-12-03 Hans Breuer <hans@breuer.org>
1522 [start of port to win32/msvc]
1523 * gcancellable.c : HAVE_UNIST_H and _pipe()
1524 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1525 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1526 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1528 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1529 * glocalvfs.c : use HAVE_PWD_H
1530 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1531 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1532 * Makefile.am : added to EXTRA_DIST
1534 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1536 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1539 2007-12-03 Alexander Larsson <alexl@redhat.com>
1542 Handle OSX style xattrs API (#500506)
1544 2007-12-03 Alexander Larsson <alexl@redhat.com>
1548 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1550 2007-12-02 A. Walton <awalton@svn.gnome.org>
1554 Documentation accuracy fixes.
1556 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1558 * gioenumtypes.c.template: Fix typo.
1560 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1562 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1564 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1566 * gdirectorymonitor.c:
1567 * gfilemonitor.c: Add properties
1569 * gbufferedoutputstream.c: Don't mark buffer-size property
1572 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1574 * gbufferedoutputstream.c: Add auto-grow property.
1576 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1578 * *.c: Unify the capitalization of section headings.
1580 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1582 * gmountoperation.c: Add properties
1584 * gdatainputstream.c: Turn byte-order and newline-type into
1587 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1589 * gioenumtypes.[hc].template: Templates for enum registration
1591 * Makefile.am: Generate gioenumtypes.[hc]
1593 * gio.h: Include gioenumtypes.h
1595 * gfile.h: Add some explicit nicks.
1597 * gio.symbols: Add new symbols
1599 * pltcheck.sh: Adjust
1601 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1603 * *.c: Explain etags and link to the explanation
1605 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1607 * *.c: Explain I/O priority.
1609 * *.c: More coding style fixes.
1611 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1613 * gasyncresult.c: Add another paragraph to the intro,
1614 adjust coding style of example.
1616 2007-11-29 A. Walton <awalton@svn.gnome.org>
1619 Fixes unknown meaning in GAppLaunchContext docs.
1621 Clarify asynchronous ops.
1623 Fix entity tag docs.
1626 Provides missing gtk-doc section, fixes API docs slighly.
1627 * gsimpleasyncresult.c:
1628 Fill in missing info in docs.
1629 * gunixinputstream.c:
1630 * gunixoutputstream.c:
1631 Be more expressive in short description.
1633 Remove gtk-doc stubs for non-public API.
1635 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1637 * *.c: Coding style fixups
1639 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1641 * inotify/inotify-helper.c: Don't export the lock from libgio.
1643 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1646 * abicheck.sh: Fix copy-and-paste leftovers
1648 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1650 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1652 2007-11-28 Alexander Larsson <alexl@redhat.com>
1656 Removed unnecessary file
1658 * gdesktopappinfo.[ch]:
1661 * glocaldirectorymonitor.[ch]:
1663 * glocalfileenumerator.[ch]:
1664 * glocalfileinputstream.[ch]:
1665 * glocalfilemonitor.[ch]:
1666 * glocalfileoutputstream.[ch]:
1668 * gnativevolumemonitor.c:
1669 * gpollfilemonitor.[ch]:
1670 * gunionvolumemonitor.[ch]:
1673 * gunixvolumemonitor.[ch]:
1676 * inotify/ginotifydirectorymonitor.[ch]:
1677 * inotify/ginotifyfilemonitor.[ch]:
1678 * inotify/inotify-helper.c:
1679 Append _ to all internal functions
1683 Export symbols needed for modules
1685 2007-11-28 Alexander Larsson <alexl@redhat.com>
1688 * abicheck.sh: Added.
1689 * makegioalias.pl: Added.
1690 * pltcheck.sh: Added.
1691 * gio.symbols: Added.
1694 Initial work on adding symbol handling.
1697 Correct ifdef guard name
1700 * inotify/Makefile.am:
1701 * xdgmime/Makefile.am:
1702 Include toplevel Makefile.decl
1704 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1706 * gcontenttype.c: Move doc comments to the unix section.
1708 * *.[hc]: More trivial doc corrections.
1710 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1712 * gpollfilemonitor.c:
1716 * gdesktopappinfo.c:
1721 * gdatainputstream.c:
1722 * gdatainputstream.h:
1723 * gdataoutputstream.c:
1724 * gdataoutputstream.h:
1725 * gfileinfo.h: Doc cleanups
1727 2007-11-28 Andre Klapper <a9016009@gmx.de>
1729 * gdesktopappinfo.c: Fix a typo.
1731 2007-11-27 Andre Klapper <a9016009@gmx.de>
1733 * glocalfileoutputstream.c: Fix a typo.
1735 2007-11-27 Alexander Larsson <alexl@redhat.com>
1738 Don't include removed headers
1740 2007-11-27 Alexander Larsson <alexl@redhat.com>
1743 * gsocketinputstream.[ch]: Removed.
1744 * gsocketoutputstream.[ch]: Removed.
1745 * gunixinputstream.[ch]: Added.
1746 * gunixoutputstream.[ch]: Added.
1747 Renamed GSocket*Stream to GUnix*Stream and made
1748 it unix-only, since its not really only for sockets
1749 and it only works on unix (but is highly useful there).
1751 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1757 * gbufferedinputstream.c:
1758 * gbufferedinputstream.h:
1759 * gbufferedoutputstream.c:
1760 * gbufferedoutputstream.h:
1764 * gdatainputstream.c:
1765 * gdatainputstream.h:
1766 * gdataoutputstream.c:
1767 * gdataoutputstream.h:
1768 * gdirectorymonitor.c:
1769 * gdirectorymonitor.h:
1776 * gfileenumerator.c:
1777 * gfileenumerator.h:
1782 * gfileinputstream.c:
1783 * gfileinputstream.h:
1786 * gfilenamecompleter.c:
1787 * gfilenamecompleter.h:
1788 * gfileoutputstream.c:
1789 * gfileoutputstream.h:
1790 * gfilterinputstream.c:
1791 * gfilterinputstream.h:
1792 * gfilteroutputstream.c:
1793 * gfilteroutputstream.h:
1806 * glocalfileoutputstream.c:
1807 * gmemoryinputstream.c:
1808 * gmemoryinputstream.h:
1809 * gmemoryoutputstream.c:
1810 * gmemoryoutputstream.h:
1811 * gmountoperation.c:
1812 * gmountoperation.h:
1815 * gpollfilemonitor.c:
1818 * gsimpleasyncresult.c:
1819 * gsimpleasyncresult.h:
1820 * gsocketinputstream.c:
1821 * gsocketinputstream.h:
1822 * gsocketoutputstream.c:
1823 * gsocketoutputstream.h:
1830 * gunixvolumemonitor.c:
1839 Bumps documentation to 93% symbol coverage, touching most
1840 of the public files. Fixes broken function documentation prototypes.
1841 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1842 gtk-doc headers in private files.
1844 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1846 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1847 (g_buffered_input_stream_read_byte):
1848 * gbufferedinputstream.h:
1849 New functions for efficient access to buffer and simple single byte
1852 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1853 (g_data_input_stream_read_until):
1854 * gdatainputstream.h:
1855 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1856 read_until with multiple stop chars.
1858 2007-11-27 Alexander Larsson <alexl@redhat.com>
1862 * inotify/Makefile.am:
1863 Use the user-specified giomoduledir
1865 2007-11-27 Alexander Larsson <alexl@redhat.com>
1869 Add catch-all gio.h header
1870 Don't install gdummyfile.h
1872 2007-11-26 Alexander Larsson <alexl@redhat.com>
1874 * Makefile.am (gioinclude_HEADERS):
1875 Remove trailing whitespace
1877 2007-11-26 Alexander Larsson <alexl@redhat.com>
1879 Merge gio-standalone into glib
1881 2007-11-25 Christian Kellner <gicmo@gnome.org>
1883 * gio/goutputstream.c:
1884 Fix small mistake in the docs.
1886 2007-11-21 Christian Persch <chpe@gnome.org>
1888 * gio/glocalfile.c: (g_local_file_trash):
1889 Convert filenames to UTF-8 for GError.
1890 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1891 as per xdg base dir spec.
1893 2007-11-21 Christian Persch <chpe@gnome.org>
1895 * gio/gdesktopappinfo.c:
1896 Use that g_key_file_to_data cannot fail.
1898 Use stock defines for the key file group and key names.
1901 2007-11-21 Alexander Larsson <alexl@redhat.com>
1904 (copy_stream_with_progress):
1905 Make sure we do a final progress callback with
1906 the full total size.
1908 2007-11-21 Alexander Larsson <alexl@redhat.com>
1911 Export g_file_copy_attributes
1912 Remove padding as its not needed for interfaces
1914 2007-11-20 Alexander Larsson <alexl@redhat.com>
1919 Add G_IO_ERROR_WOULD_MERGE for
1920 copy/move dir on dir with overwrite.
1922 2007-11-20 Alexander Larsson <alexl@redhat.com>
1925 * gio/glocalfileinfo.c:
1926 Add COPY_NAME (this is an optional
1927 non-modified utf8 version of the name) that
1930 2007-11-20 Alexander Larsson <alexl@redhat.com>
1932 * gio/glocalfileenumerator.c:
1933 Report errors as GIOError, not GFileError
1935 2007-11-16 Alexander Larsson <alexl@redhat.com>
1937 * gio/glocalfileoutputstream.c:
1938 * gio/gwin32appinfo.c:
1939 Fix typos in strings.
1940 Patch from Luca Ferretti <elle.uca@libero.it>
1942 2007-11-15 Alexander Larsson <alexl@redhat.com>
1945 Post release version bump
1947 === gio-standalone 0.1.2 ===
1949 2007-11-15 Alexander Larsson <alexl@redhat.com>
1951 * docs/reference/gio/Makefile.am:
1952 Fix up distcheck by removing weird
1958 2007-11-14 Alexander Larsson <alexl@redhat.com>
1960 * gio/gdesktopappinfo.c:
1961 * gio/glocaldirectorymonitor.c:
1963 * gio/glocalfileinfo.c:
1964 * gio/inotify/inotify-sub.c:
1965 * programs/gio-cat.c:
1966 * programs/gio-copy.c:
1967 * programs/gio-info.c:
1968 * programs/gio-ls.c:
1969 * programs/gio-monitor-dir.c:
1970 * programs/gio-monitor-file.c:
1971 * programs/gio-mount.c:
1972 * programs/gio-move.c:
1973 * programs/gio-rm.c:
1974 * programs/gio-save.c:
1975 * programs/gio-trash.c:
1976 Leak fixes from Kjartan Maraas
1978 2007-11-14 Alexander Larsson <alexl@redhat.com>
1980 * gio/fam/fam-helper.c:
1982 * gio/glocalfileinfo.c:
1986 * gio/inotify/inotify-diag.c:
1987 * gio/inotify/inotify-kernel.c:
1988 Various code cleanups from Kjartan Maraas
1990 2007-11-14 Alexander Larsson <alexl@redhat.com>
1992 * gio/gioscheduler.c:
1994 Set up threadpool so that we cache 2 unused
1995 idle threads for at 15 secs. This means we
1996 will reuse thread-local data (like dbus connections)
1999 2007-11-14 Alexander Larsson <alexl@redhat.com>
2001 * gio/fam/fam-helper.c:
2002 * gio/fam/gfamdirectorymonitor.c:
2003 * gio/fam/gfamfilemonitor.c:
2005 * gio/gcontenttype.c:
2006 * gio/gdatainputstream.c:
2007 * gio/gdataoutputstream.c:
2011 * gio/gfileattribute.h:
2012 * gio/gfileenumerator.c:
2014 * gio/ginputstream.c:
2017 * gio/glocalfileinfo.c:
2018 * gio/goutputstream.c:
2019 * gio/gpollfilemonitor.c:
2020 * gio/gsimpleasyncresult.c:
2021 * gio/gunixmounts.c:
2022 * gio/gunixmounts.h:
2023 * gio/inotify/ginotifydirectorymonitor.c:
2024 * gio/inotify/ginotifyfilemonitor.c:
2025 * gio/inotify/inotify-diag.c:
2026 * gio/inotify/inotify-kernel.c:
2027 * gio/inotify/inotify-path.c:
2029 * gio/test-streams.c:
2030 * programs/gio-info.c:
2031 * programs/gio-monitor-dir.c:
2032 * programs/gio-monitor-file.c:
2033 Various code cleanups from Kjartan Maraas
2035 2007-11-13 Alexander Larsson <alexl@redhat.com>
2038 Handle the uri-scheme calls for dummy files
2040 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2042 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2043 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2044 to avoid clash with the C++ keyword.
2046 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2048 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2049 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2051 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2053 * gio/glocaldirectorymonitor.c:
2054 * gio/glocalfilemonitor.c:
2055 * gio/gunionvolumemonitor.c:
2056 Don't use g_once_init_*() for initializations that could fail and
2057 could leave the initialization variable set to 0 but use GOnce.
2058 This prevents a deadlock on the second call when trying to create
2059 a monitor and no monitor type is available. Thanks to Sven Herzberg
2062 2007-11-11 Sven Herzberg <sven@imendio.com>
2064 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2065 #ifdef (make it work on MacOS X again)
2067 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2069 Fixes Changelog for last two commits (sorry guys).
2071 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2073 * gio/gbufferedinputstream.c:
2074 * gio/gdatainputstream.c:
2076 * gio/gfileoutputstream.c:
2077 * gio/gfilterinputstream.c:
2078 * gio/glocalfileinputstream.c:
2081 More consistency fixes in g*stream.c files.
2082 Significant clean of gfile's documentation, filling in of
2083 asynchronous operations documentation.
2085 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2087 * gio/gasyncresult.c:
2088 * gio/gbufferedinputstream.c:
2089 * gio/gbufferedoutputstream.c:
2090 * gio/gcancellable.c:
2091 * gio/gcontenttype.c:
2092 * gio/gdatainputstream.c:
2093 * gio/gdataoutputstream.c:
2094 * gio/gdesktopappinfo.c:
2097 * gio/gfileattribute.c:
2098 * gio/gio/gfileenumerator.c:
2100 * gio/gfileinputstream.c:
2101 * gio/gfilemonitor.c:
2102 * gio/gfileoutputstream.c:
2103 * gio/ginputstream.c:
2105 * gio/gioscheduler.c:
2106 * gio/gloadableicon.c:
2107 * gio/glocalfileoutputstream.c:
2108 * gio/gmemoryoutputstream.c:
2109 * gio/gmountoperation.c:
2110 * gio/goutputstream.c:
2112 * gio/gsimpleasyncresult.c:
2113 * gio/gunionvolumemonitor.c:
2114 * gio/gunixmounts.c:
2115 * gio/gunixvolume.c:
2119 * gio/gvolumemonitor.c:
2120 Updated documentation stubs, working towards consistency and
2123 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2125 * gio/gmemoryoutputstream.c:
2126 * gio/gmemoryoutputstream.h:
2127 Change g_memory_output_stream_set_free_on_close() to
2128 g_memory_output_stream_set_free_data() as this makes more sense and
2129 is more consistent with GMemoryInputStream.
2131 2007-11-07 Alexander Larsson <alexl@redhat.com>
2138 Change how we find the default vfs so that
2139 we can handle a gvfs failing to init
2141 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2143 * gio/gbufferedoutputstream.c:
2144 * gio/gdatainputstream.c:
2145 * gio/gdataoutputstream.c:
2146 * gio/gfileinputstream.c:
2147 * gio/gfileoutputstream.c:
2148 * gio/gfilterinputstream.c:
2149 * gio/gfilteroutputstream.c:
2150 * gio/ginputstream.c:
2151 * gio/gmemoryinputstream.c:
2152 * gio/gmemoryoutputstream.c:
2153 * gio/goutputstream.c:
2154 * gio/gsimpleasyncresult.c:
2155 * gio/gsocketinputstream.c:
2156 * gio/gsocketoutputstream.c:
2157 Add guards to the remaining public functions, add a TODO for
2158 an unimplemented function and remove some useless guards.
2160 2007-11-07 Alexander Larsson <alexl@redhat.com>
2163 Autoconf checks for the various types of
2164 getpwuid_r and getgrgid_r
2166 * gio/glocalfileinfo.c:
2167 Use the autoconf checks from above
2169 2007-11-07 Alexander Larsson <alexl@redhat.com>
2172 (g_local_file_query_filesystem_info):
2173 Some fixes for the statvfs case
2175 2007-11-07 Alexander Larsson <alexl@redhat.com>
2178 (g_local_file_query_filesystem_info):
2179 Pick the "best" of statfs / statvfs for the system
2180 if both are availible.
2182 2007-11-07 Alexander Larsson <alexl@redhat.com>
2184 Solaris fixes from Halton.Huo@Sun.COM:
2191 * gio/glocalfileinfo.c:
2192 Fix for solaris definition of getpwuid_r
2194 * gio/test-streams.c:
2195 Use G_GNUC_PRETTY_FUNCTION
2197 2007-11-07 Alexander Larsson <alexl@redhat.com>
2199 * gio/gdesktopappinfo.c:
2200 (update_default_list):
2201 Remove double semicolon.
2202 Patch from Jens Granseuer
2204 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2206 * docs/reference/gio/gio-sections.txt:
2207 * gio/gbufferedinputstream.c:
2208 * gio/gbufferedinputstream.h:
2209 * gio/gdatainputstream.c:
2210 * gio/gfileenumerator.c:
2211 * gio/gioscheduler.c:
2212 * gio/gunionvolumemonitor.c:
2214 * programs/gio-save.c:
2215 Fix typo: availible -> available. Unfortuntely this breaks API
2216 and ABI as g_buffered_input_stream_get_available() was renamed.
2218 * gio/gunixmounts.c:
2219 * gio/gbufferedinputstream.c:
2220 Add guards for public functions.
2222 2007-11-06 Ross Burton <ross@openedhand.com>
2224 * docs/reference/gio/Makefile.am:
2225 Fix invalid += usage which automake 1.10 doesn't like.
2227 2007-11-06 Alexander Larsson <alexl@redhat.com>
2230 (g_app_launch_context_class_init):
2233 Patch from Ross Burton
2235 2007-11-06 Alexander Larsson <alexl@redhat.com>
2238 Post release version bump
2240 === gio-standalone 0.1.1 ===
2242 2007-11-06 Alexander Larsson <alexl@redhat.com>
2245 Bump version to 0.1.1
2247 * gio/gsimpleasyncresult.c:
2248 (g_simple_async_result_set_from_error):
2249 Remove bogus g_return_if_fail
2251 2007-11-06 Alexander Larsson <alexl@redhat.com>
2254 The name is gio-standalone
2257 Add top src/builddir to includedir
2259 2007-11-06 Alexander Larsson <alexl@redhat.com>
2261 * docs/reference/gio/gio-sections.txt:
2263 * gio/gbufferedinputstream.c:
2264 * gio/gbufferedoutputstream.c:
2265 * gio/gcancellable.c:
2266 * gio/gdatainputstream.h:
2267 * gio/gdataoutputstream.c:
2268 * gio/gdataoutputstream.h:
2269 * gio/gdirectorymonitor.c:
2271 * gio/gfileattribute.c:
2272 * gio/gfileattribute.h:
2273 * gio/gfileenumerator.c:
2274 * gio/gfileenumerator.h:
2277 * gio/gfileinputstream.h:
2278 * gio/gfilemonitor.c:
2279 * gio/gfileoutputstream.h:
2280 * gio/glocalfilemonitor.h:
2281 * gio/glocalfileoutputstream.h:
2282 * gio/gmemoryinputstream.c:
2283 * gio/gmemoryoutputstream.c:
2284 * gio/gmountoperation.c:
2285 * gio/goutputstream.c:
2286 * gio/goutputstream.h:
2288 * gio/gsimpleasyncresult.c:
2289 * gio/gunixmounts.c:
2290 * gio/gunixmounts.h:
2292 * gio/inotify/inotify-helper.c:
2293 Fix gtk-doc warnings
2295 Patch from Ross Burton
2297 2007-11-06 Alexander Larsson <alexl@redhat.com>
2299 * gio/gfilenamecompleter.c:
2300 (g_filename_completer_get_completions):
2303 * gio/gunixvolume.c:
2304 Remove unused function
2306 Patches from Ross Burton
2308 2007-11-06 Alexander Larsson <alexl@redhat.com>
2313 Padding not needed for interfaces
2315 2007-11-06 Alexander Larsson <alexl@redhat.com>
2317 * gio/gfilemonitor.c:
2321 Make giotypes.h an internal file
2324 * gio/gbufferedinputstream.h:
2325 * gio/gbufferedoutputstream.h:
2326 * gio/gcancellable.h:
2327 * gio/gdatainputstream.h:
2328 * gio/gdataoutputstream.h:
2329 * gio/gdirectorymonitor.c:
2330 * gio/gdirectorymonitor.h:
2335 * gio/gfileattribute.h:
2336 * gio/gfileenumerator.h:
2341 * gio/gfilemonitor.c:
2342 * gio/gfilemonitor.h:
2343 * gio/gfilenamecompleter.c:
2344 * gio/gfilenamecompleter.h:
2345 * gio/gfilterinputstream.h:
2346 * gio/gfilteroutputstream.h:
2347 * gio/ginputstream.h:
2348 * gio/gmemoryinputstream.h:
2349 * gio/gmemoryoutputstream.h:
2350 * gio/gmountoperation.c:
2351 * gio/gmountoperation.h:
2352 * gio/gnativevolumemonitor.c:
2353 * gio/goutputstream.h:
2356 * gio/gsimpleasyncresult.c:
2357 * gio/gsimpleasyncresult.h:
2358 * gio/gsocketinputstream.h:
2359 * gio/gsocketoutputstream.h:
2360 * gio/gthemedicon.c:
2361 * gio/gthemedicon.h:
2365 * gio/gvolumemonitor.c:
2366 * gio/gvolumemonitor.h:
2367 Add padding in classes where it seems useful
2368 Don't include giotypes.h from public headers
2369 Move in Class definitions into c file where possible
2374 2007-11-06 Alexander Larsson <alexl@redhat.com>
2376 * docs/reference/gio/gio-docs.xml:
2377 Better structure for API docs
2379 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2382 * gio/gloadableicon.c:
2383 * gio/gsimpleasyncresult.c:
2384 * gio/gthemedicon.c:
2385 Add some more guards to public functions. Only files missing are now
2388 2007-11-06 Alexander Larsson <alexl@redhat.com>
2390 * docs/reference/gio/gio-docs.xml:
2391 Remove old files, add missing ones
2393 2007-11-06 Alexander Larsson <alexl@redhat.com>
2395 * docs/reference/gio/gio-sections.txt:
2398 Hide implementation classes
2400 * gio/gdriveprivate.h:
2401 * gio/gvolumeprivate.h:
2402 Remove non-existing function declarations
2404 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2407 Fix compilation warnings and add guards to the new functions.
2409 * gio/gasyncresult.c:
2411 Add guards to the public functions.
2414 Implement get_path().
2416 2007-11-06 Alexander Larsson <alexl@redhat.com>
2418 * gio/gfilenamecompleter.c:
2419 Make g_filename_completer_get_completions
2420 return char ** instead of GList for
2423 * docs/reference/gio/gio-docs.xml:
2424 * docs/reference/gio/gio-sections.txt:
2426 * gio/gasyncresult.c:
2427 * gio/gbufferedinputstream.c:
2428 * gio/gbufferedoutputstream.c:
2429 * gio/gcancellable.c:
2430 * gio/gcontenttype.c:
2431 * gio/gdatainputstream.c:
2432 * gio/gdataoutputstream.c:
2433 * gio/gdesktopappinfo.c:
2434 * gio/gdirectorymonitor.c:
2438 * gio/gfileattribute.c:
2439 * gio/gfileenumerator.c:
2442 * gio/gfileinputstream.c:
2443 * gio/gfilemonitor.c:
2444 * gio/gfilenamecompleter.c:
2445 * gio/gfilenamecompleter.h:
2446 * gio/gfileoutputstream.c:
2447 * gio/gfilterinputstream.c:
2449 * gio/ginputstream.c:
2451 * gio/gioscheduler.c:
2452 * gio/gloadableicon.c:
2453 * gio/glocaldirectorymonitor.c:
2455 * gio/glocalfileinputstream.c:
2456 * gio/glocalfilemonitor.c:
2457 * gio/glocalfileoutputstream.c:
2459 * gio/gmemoryinputstream.c:
2460 * gio/gmemoryoutputstream.c:
2461 * gio/gmountoperation.c:
2462 * gio/goutputstream.c:
2463 * gio/gpollfilemonitor.c:
2465 * gio/gsimpleasyncresult.c:
2466 * gio/gsocketinputstream.c:
2467 * gio/gsocketoutputstream.c:
2468 * gio/gthemedicon.c:
2469 * gio/gunionvolumemonitor.c:
2471 * gio/gunixmounts.c:
2472 * gio/gunixvolume.c:
2473 * gio/gunixvolumemonitor.c:
2477 * gio/gvolumemonitor.c:
2478 * gio/gwin32appinfo.c:
2479 Add (mostly stub) doc strings to public functions.
2480 Patch from Andrew Walton (awalton@gmail.com)
2482 2007-11-06 Alexander Larsson <alexl@redhat.com>
2484 * gio/gappinfo.[ch]:
2485 Added GAppLaunchContext object and pass that to launch.
2486 This allows simple implementation of both
2487 launch-on-screen and startup notification via a gtk+
2488 subclass of GAppLaunchContext
2490 * gio/gdesktopappinfo.c:
2491 Implement GAppLaunchContext API
2493 * gio/gwin32appinfo.c:
2496 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2498 * gio/gmountoperation.c:
2499 Add some guards to GMountOperation's public functions.
2501 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2505 * gio/gcancellable.c:
2506 * gio/gdirectorymonitor.c:
2508 * gio/gfileenumerator.c:
2509 * gio/gfilemonitor.c:,
2510 * gio/gfilenamecompleter.c:
2513 * gio/gioscheduler.c:
2517 * gio/gvolumemonitor.c:
2518 Add even more guards to various public functions.
2520 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2523 Add guards to the public functions of GAppInfo.
2525 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2527 * gio/gcontenttype.c:
2528 Add some more guards for public functions.
2530 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2532 * gio/fam/fam-module.c:
2533 * gio/fam/gfamdirectorymonitor.c:
2534 * gio/fam/gfamdirectorymonitor.h:
2535 * gio/fam/gfamfilemonitor.c:
2536 * gio/fam/gfamfilemonitor.h:
2537 * gio/inotify/ginotifydirectorymonitor.c:
2538 * gio/inotify/ginotifydirectorymonitor.h:
2539 * gio/inotify/ginotifyfilemonitor.c:
2540 * gio/inotify/ginotifyfilemonitor.h:
2541 Add proper copyright information and remove an unused variable
2542 in the GInotifyFileMonitor constructor.
2544 * gio/gcancellable.c:
2545 Add a guard for a public function and an assertion to prevent
2546 an undefined program state.
2548 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2550 * gio/gfileattribute.c:
2551 Don't run into an assertion if the given attribute value is NULL
2552 in g_file_attribute_value_get_*() but instead return a fallback
2553 value that makes sense in most situations. Passing them a attribute
2554 value with the wrong type will still run into an assertion.
2556 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2558 * gio/gfileattribute.c:
2560 Add even more guards to the public functions. Also fix the refcounting
2561 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2562 let g_file_info_list_attributes() filter the attributes by namespace
2563 instead of simply ignoring the namespace parameter.
2565 2007-11-03 Sven Herzberg <sven@imendio.com>
2567 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2568 (This makes gio work on MacOS X again)
2570 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2573 Build the gio subdirectory before the docs. Otherwise the build will
2576 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2577 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2578 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2579 Add guards to the public functions.
2581 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2583 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2584 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2585 to prevent a compiler warning.
2587 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2588 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2589 return something in the non-void function find_topdir_for().
2591 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2598 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2600 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2601 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2602 * gwin32appinfo.c (g_win32_app_info_launch):
2603 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2604 envp_for_startup_id, g_desktop_app_info_launch,
2605 g_desktop_app_info_launch_uris):
2607 Give an opaque 'startup_id' string instead of 'envp'.
2608 Support empty file lists for launching new windows.
2609 Fix infinite recursion bug when launching URIs.
2611 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2614 Add guard to the new g_file_get_uri_scheme() function.
2616 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2619 Convert a g_return_val_if_fail() to setting the GError instead as
2620 otherwise applications have to verify the parameter before otherwise
2621 and the parameter might come directly from the user.
2623 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2625 * gio/inotify/ginotify*.[ch]:
2626 Add missing copyright information.
2628 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2631 Add guards in the beginning of public functions to check for valid
2632 parameters and fix a bug in copy_stream_with_progress() that could've
2633 caused writing less bytes than reading.
2634 * gio/glocalfileinfo.c:
2635 Check for a NULL parameter and set the GError accordingly then.
2636 * gio/goutputstream.c:
2637 Fix the same bug as in gfile.c that could've caused writing less bytes
2638 than reading in g_output_stream_real_splice().
2640 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2643 Use the correct gvolumeprivate.h naming
2645 2007-11-01 Christian Kellner <gicmo@gnome.org>
2648 Remove leftover "$(daemon_sources)" entry.
2650 2007-11-01 Christian Kellner <gicmo@gnome.org>
2655 Add copyright information to source files.
2657 2007-11-01 Alexander Larsson <alexl@redhat.com>
2661 Add g_file_get_uri_scheme
2663 2007-11-01 Alexander Larsson <alexl@redhat.com>
2666 * gio/gdesktopappinfo.c:
2667 * gio/gwin32appinfo.c:
2668 Add g_app_info_get_default_for_uri_scheme.
2670 2007-11-01 Alexander Larsson <alexl@redhat.com>
2673 Correct filename for gdriveprivate.h
2675 2007-10-31 Alexander Larsson <alexl@redhat.com>
2678 Rename id:value to id:file
2681 * gio/glocalfileinfo.c:
2684 2007-10-31 Alexander Larsson <alexl@redhat.com>
2686 * gio/gunixvolume.c:
2688 Remove g_volume_get_platform_id, as thats not
2689 needed with the simpler union volume monitor
2691 2007-10-31 Alexander Larsson <alexl@redhat.com>
2694 * gio/guniondrive.[ch]: Removed.
2695 * gio/gunionvolume.[ch]: Removed.
2696 Remove GUnionDrive/Volume
2698 * gio/gunionvolumemonitor.c:
2699 Simplify union volume monitor, now we
2700 only have one native volume monitor and
2701 we use the actual volumes/drives from the
2702 child monitors instead of wrapping them
2704 * gio/gnativevolumemonitor.[ch]:
2705 Base class for native volume monitors.
2706 Includes priority and get_volume_for_mountpoint
2709 Add g_file_find_enclosing_volume
2712 Remove volume name fs attribute
2713 Add readonly fs attribute
2716 Implement readonly attribute
2717 remove volume name attribute
2718 Implement find_enclosing volume
2720 * gio/gunixmounts.c:
2721 Add a volume for "/".
2723 * gio/gunixvolume.[ch]:
2724 Set better name for /
2726 * gio/gunixvolumemonitor.[ch]:
2727 Derive from GNativeVolumeMonitor
2728 Implement get_volume_for_mountpoint
2731 GVolume typedef moved to gfile.h
2733 * gio/gvolumeprivate.h:
2734 Add g_volume_get_for_mount_path
2736 2007-10-31 Alexander Larsson <alexl@redhat.com>
2738 * gio/gunixmounts.[ch]:
2739 Add cache info to unix mount listers
2740 Make getmntent use threadsafe
2741 Add is_system_internal attribute for GUnixMount
2743 * gio/gunixvolume.c:
2744 (g_unix_volume_new):
2745 Use is_system_internal instead of own code
2747 * gio/glocaldirectorymonitor.c:
2748 * gio/gunixvolumemonitor.c:
2749 Update to new gunixmounts API
2754 2007-10-30 Alexander Larsson <alexl@redhat.com>
2757 Add volume name fsinfo attribute
2760 Read volume name info
2762 * gio/gunionvolumemonitor.c:
2763 Fix infinite loops when finalizing a union volume monitor
2765 2007-10-30 Alexander Larsson <alexl@redhat.com>
2767 * gio/goutputstream.[ch]:
2768 Add splice() with default implementation
2770 * gio/gsocketoutputstream.c:
2771 (g_socket_output_stream_write):
2772 Return error on cancellation correctly.
2774 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2776 * gio/glocalfile.c (g_local_file_trash):
2777 Do not leak a string.
2779 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2781 * gio/gfile.c (g_file_load_contents):
2782 Unref the stream after closing it.
2784 2007-10-25 Alexander Larsson <alexl@redhat.com>
2786 * gio/gioscheduler.h:
2789 2007-10-25 Alexander Larsson <alexl@redhat.com>
2793 Add g_file_has_uri_scheme and implement for local files
2795 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2797 * gio/gdesktopappinfo.c: do not leak a string.
2799 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2801 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2802 (g_local_directory_monitor_new):
2803 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2804 (g_local_file_monitor_new):
2805 Only look for the monitor type that should be used the first time
2806 and use g_qsort_with_data() instead of our own bubble sort
2809 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2812 * gio/fam/Makefile.am:
2813 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2814 * gio/fam/fam-helper.h:
2815 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2816 * gio/fam/gfamdirectorymonitor.c:
2817 * gio/fam/gfamdirectorymonitor.h:
2818 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2819 * gio/fam/gfamfilemonitor.h:
2820 * gio/glocaldirectorymonitor.c:
2821 * gio/glocaldirectorymonitor.h:
2822 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2823 * gio/glocalfilemonitor.h:
2824 * gio/inotify/Makefile.am:
2825 * gio/inotify/ginotifydirectorymonitor.c:
2826 * gio/inotify/ginotifydirectorymonitor.h:
2827 * gio/inotify/ginotifyfilemonitor.c:
2828 * gio/inotify/ginotifyfilemonitor.h:
2829 Implement the FAM and Inotify monitors as
2830 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2831 their own GIO module. GLocal(Directory|File)Monitor will use the
2832 monitor with the highest rank that is supported on that machine.
2834 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2837 Change GIO module dir to $(libdir)/gio/modules and change
2838 the log domain from GVFS to GIO. Also only export symbols starting
2839 with g_ in the resulting library.
2840 * gio/test-streams.c: (main):
2841 Set log handler for the GIO log domain.
2843 2007-10-22 Alexander Larsson <alexl@redhat.com>
2845 * gio/gfilenamecompleter.[ch]:
2846 Add g_filename_completer_set_dirs_only
2848 2007-10-22 Alexander Larsson <alexl@redhat.com>
2851 * gio/gurifuncs.[ch]:
2852 Add some simple URI helpers
2854 * gio/gfilenamecompleter.[ch]:
2855 Added object for filename (parse name actually) completion
2858 Handle ~ in parse names
2860 2007-10-17 Alexander Larsson <alexl@redhat.com>
2863 * gio/glocalfileinfo.c:
2864 Add and implement id:value attribute
2866 2007-10-17 Alexander Larsson <alexl@redhat.com>
2869 * gio/guniondrive.c:
2871 Add and implement g_drive_has_volumes
2873 2007-10-17 Alexander Larsson <alexl@redhat.com>
2876 * gio/glocalfileinfo.[ch]:
2877 Add unix:is_mountpoint and implement for local files
2879 2007-10-16 Alexander Larsson <alexl@redhat.com>
2881 * gio/gunionvolumemonitor.c:
2882 (g_union_volume_monitor_init):
2883 Fix up the unix type getting so that it works with gcc
2885 2007-10-12 Alexander Larsson <alexl@redhat.com>
2888 * gio/glocalfileinfo.c:
2889 Add thumbnail:failed to file info
2891 2007-10-12 Richard Hult <richard@imendio.com>
2893 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2894 optimizing away the get_type call (happens with some gcc versions,
2895 like the one shipped with OS X 10.4).
2897 2007-10-12 Alexander Larsson <alexl@redhat.com>
2899 * gio/glocalfileinfo.c:
2900 (_g_local_file_info_set_attribute):
2901 Fix build if not HAVE_XATTR
2902 Patch from Milosz Derezynski <internalerror@gmail.com>
2904 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2906 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2907 around for review, otherwise I would have asked you before
2910 2007-10-11 Alexander Larsson <alexl@redhat.com>
2913 Add thumbnail:path attribute
2915 * gio/glocalfileinfo.c:
2916 Implement thumbnail:path for local files
2918 2007-10-11 Alexander Larsson <alexl@redhat.com>
2920 * gio/glocalfileinfo.c:
2921 (_g_local_file_info_get):
2922 Avoid duplicate icon names
2924 2007-10-11 Alexander Larsson <alexl@redhat.com>
2926 * gio/gthemedicon.[ch]:
2927 Change g_themed_icon_get_names return type to const
2929 2007-10-10 Alexander Larsson <alexl@redhat.com>
2931 * gio/glocalfileinfo.c:
2932 Don't reference freed memory
2934 2007-10-10 Alexander Larsson <alexl@redhat.com>
2936 * gio/gfileattribute.c:
2939 * gio/glocalfileinfo.c:
2942 2007-10-10 Alexander Larsson <alexl@redhat.com>
2945 Check for NULL icons
2947 * gio/gfileattribute.c:
2948 Don't dup when getting objects (same as for string attributes)
2950 * gio/gicon.c (g_icon_equal):
2951 Safely handle NULLs in equal
2953 2007-10-10 Alexander Larsson <alexl@redhat.com>
2956 Fix c++ compilation issues
2957 Patch from Milosz Derezynski <internalerror@gmail.com>
2959 2007-10-10 Alexander Larsson <alexl@redhat.com>
2961 * programs/gio-monitor-dir.c:
2962 Don't crash if dir monitor not supported.
2964 2007-10-09 Alexander Larsson <alexl@redhat.com>
2967 Add missing G_END_DECLS
2969 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2971 * gio/gfile.c: (g_file_set_display_name),
2972 (g_file_query_settable_attributes),
2973 (g_file_query_writable_namespaces):
2974 Return NULL not FALSE on errors as the return type is a pointer.
2976 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2978 * gio/glocalfile.c: (g_local_file_monitor_file):
2979 Don't call monitor_file on the default interface vtable (which
2980 is NULL) but simply return NULL. The caller, GFile, will create a
2981 polling monitor if NULL is returned.
2983 2007-10-09 Alexander Larsson <alexl@redhat.com>
2987 * gio-unix-2.0.pc.in:
2988 Add gio-unix-2.0.pc if OS_UNIX
2991 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2993 2007-10-09 Alexander Larsson <alexl@redhat.com>
2995 * gio/gunixmounts.[ch]:
2996 Make unix mount monitoring API sane.
2997 Now its just a object with mounts_changed
2998 and mountpoints_changed signals.
3000 * gio/glocaldirectorymonitor.c:
3001 * gio/gunixvolumemonitor.c:
3002 Use new mount monitor api
3004 2007-10-09 Alexander Larsson <alexl@redhat.com>
3006 * gio/gunixmounts.[ch]:
3007 Move guess type into one call for mounts and one for mountpoints
3010 * gio/gunixvolume.c:
3013 2007-10-09 Alexander Larsson <alexl@redhat.com>
3015 * gio/gunixmounts.[ch]:
3016 Remove _ prefix in preparation to make this semi-public
3017 Hide implementation of structs
3019 * gio/glocaldirectorymonitor.c:
3021 * gio/gunixvolume.c:
3022 * gio/gunixvolumemonitor.c:
3023 Update for above API changes
3025 2007-10-08 Alexander Larsson <alexl@redhat.com>
3028 Better polling fallback. This also handles the case where we have
3029 a monitor_file implementation, but it fails.
3031 2007-10-08 Alexander Larsson <alexl@redhat.com>
3035 * gio/gunixmounts.c:
3036 * programs/gio-monitor-dir.c:
3037 * programs/gio-monitor-file.c:
3038 Added cancellable to file monitoring calls.
3039 These are really sync calls and need this.
3041 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3043 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3044 (g_local_vfs_class_init):
3045 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3046 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3048 2007-10-05 Alexander Larsson <alexl@redhat.com>
3050 * gio/gdirectorymonitorprivate.h:
3051 * gio/gfilemonitorprivate.h:
3052 * gio/gdirectorymonitor.h:
3053 * gio/gfilemonitor.h:
3054 Remove *private.h and move to the public API, so that
3055 we can do implementations outside gio (such as in gvfs)
3057 * gio/gdirectorymonitor.c:
3058 * gio/gfilemonitor.c:
3059 * gio/glocaldirectorymonitor.c:
3060 * gio/gpollfilemonitor.c:
3061 * gio/inotify/inotify-helper.c:
3062 * gio/fam/fam-helper.c:
3063 Update to the new header names
3065 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3067 * gio/gdirectorymonitor.c:
3068 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3071 2007-10-04 Alexander Larsson <alexl@redhat.com>
3073 * gio/glocalfileinfo.c (get_access_rights):
3074 Set CAN_TRASH when we can move the file.
3075 We should really also check for a parent trash dir.
3077 2007-10-04 Alexander Larsson <alexl@redhat.com>
3079 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3080 Add can_trash access attribute
3082 2007-10-04 Alexander Larsson <alexl@redhat.com>
3085 (g_local_file_trash):
3086 Create info file first. This is per-spec and allows
3087 us to actually trash directories.
3089 2007-10-02 Alexander Larsson <alexl@redhat.com>
3091 * gio/gdesktopappinfo.c:
3092 Implement the new mime support code.
3093 Always set app as handling mimetype when being set as default for it
3095 2007-10-01 Alexander Larsson <alexl@redhat.com>
3097 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3098 Fix up check for xattrs:
3100 2007-10-01 Alexander Larsson <alexl@redhat.com>
3103 (g_app_info_set_as_default_for_extension):
3104 (g_app_info_add_supports_type):
3105 (g_app_info_can_remove_supports_type):
3106 (g_app_info_remove_supports_type):
3107 Make these fail nicely if not implemented
3109 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3111 * gio/glocalfileoutputstream.c:
3112 * gio/glocalfileoutputstream.h:
3117 * programs/gio-save.c:
3118 Add a GFileCreateFlags argument to operations that can create
3121 2007-10-01 Alexander Larsson <alexl@redhat.com>
3123 * gio/gappinfo.[ch]:
3124 * gio/gdesktopappinfo.c:
3125 Add more (stubbed out) mime API needed for nautilus
3127 2007-10-01 Alexander Larsson <alexl@redhat.com>
3130 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3131 Add g_app_info_set_as_default_for_extension.
3133 * gio/gdesktopappinfo.c:
3134 Dummy for g_app_info_set_as_default_for_extension
3135 Support flags in g_app_info_create_from_commandline
3137 * gio/gwin32appinfo.c:
3139 Update for API changes
3141 * gio/gthemedicon.c:
3142 Properly NULL-terminate list of icon names
3144 2007-09-28 Alexander Larsson <alexl@redhat.com>
3146 * gio/gloadableicon.h:
3147 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3149 2007-09-28 Alexander Larsson <alexl@redhat.com>
3152 Install headers in $includedir/gio-standalone/
3154 * gio-2.0.pc.in: Added.
3155 * gio-standalone.pc.in: Removed.
3158 Renamed pkg-config file to match glib (for future move)
3159 Update to the new include dir
3162 Add more TODO comments
3164 2007-09-28 Alexander Larsson <alexl@redhat.com>
3166 * gio/gdesktopappinfo.[ch]:
3167 Expose new_from_filename
3168 Add getter for is_hidden and handle it better
3170 2007-09-28 Alexander Larsson <alexl@redhat.com>
3172 * gio/gfileinfo.[ch]:
3173 Rename g_file_size_format_for_display to
3174 g_format_file_size_for_display.
3175 Now it doesn't have the g_file prefix, so we
3176 can later move it to glib.
3178 2007-09-28 Alexander Larsson <alexl@redhat.com>
3180 * gio/gappinfo.[ch]:
3181 Add g_app_info_get_id and g_app_info_get_executable.
3182 Make all getters non-reffing
3183 Make g_app_info_launch take GFile arguments.
3184 Add must_support_uris argument to g_app_info_get_default_for_type.
3186 * gio/gwin32appinfo.c:
3187 Update to GAppInfo api changes
3189 * gio/gdesktopappinfo.c:
3190 Update to GAppInfo api changes
3191 Implement supports_xdg_startup_notify
3193 * gio/gfileicon.c (g_file_icon_get_file):
3194 Make getter non-reffing.
3199 2007-09-27 Alexander Larsson <alexl@redhat.com>
3201 * gio/gfileinfo.[ch]:
3202 Add g_file_size_format_for_display helper
3204 2007-09-27 Alexander Larsson <alexl@redhat.com>
3206 * gio/glocalfileinfo.c:
3207 Set UNIX_GID from gid, not from uid
3209 2007-09-27 Alexander Larsson <alexl@redhat.com>
3212 Add g_file_set_attributes_async
3214 2007-09-27 Alexander Larsson <alexl@redhat.com>
3216 * gio/glocalfile.c (g_local_file_set_display_name):
3217 Fix set_display_name to actually rename to the right place.
3218 Use lstat to look for existing files so we don't overwrite
3221 2007-09-26 Alexander Larsson <alexl@redhat.com>
3224 Add g_file_set_display_name_async()
3226 2007-09-26 Alexander Larsson <alexl@redhat.com>
3229 Add load_partial_contents async calls
3232 Make internal function static
3234 2007-09-26 Alexander Larsson <alexl@redhat.com>
3236 * gio/glocalfileinfo.c:
3237 Correctly detect broken symlinks
3239 2007-09-26 Alexander Larsson <alexl@redhat.com>
3241 * gio/gcancellable.c (g_cancellable_cancel):
3242 Allow cancel on NULL cancellable
3244 2007-09-25 Alexander Larsson <alexl@redhat.com>
3246 * gio/gsimpleasyncresult.c:
3247 Don't allocate g_error manually.
3248 Fixes g_slice/g_new mixup crash
3250 2007-09-25 Alexander Larsson <alexl@redhat.com>
3252 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3253 Actually set active_backend.
3254 This means the monitor will be cancelled correctly.
3256 2007-09-25 Alexander Larsson <alexl@redhat.com>
3258 * gio/gdirectorymonitor.c:
3259 Set timeout to NULL when destroying
3261 2007-09-25 Alexander Larsson <alexl@redhat.com>
3264 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3265 that is a better description of the error.
3267 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3269 * gio/gvfs.c: (g_vfs_get_local):
3270 Make the local vfs variable static. The same instance should
3273 2007-09-24 Alexander Larsson <alexl@redhat.com>
3275 * gio/glocalfileinfo.c:
3276 Pass in actual length read into sniffer, not the length
3279 2007-09-21 Alexander Larsson <alexl@redhat.com>
3281 * gio/gfileenumerator.c:
3284 * gio/gfileinputstream.c:
3285 * gio/gfileoutputstream.c:
3286 * gio/ginputstream.c:
3287 * gio/goutputstream.c:
3288 Don't crash if async callbacks are NULL
3290 2007-09-20 Alexander Larsson <alexl@redhat.com>
3293 Add async enumerate_children method and default
3296 2007-09-20 Alexander Larsson <alexl@redhat.com>
3299 Add g_file_contains_file & g_file_get_relative_path, since they
3300 were needed for nautilus.
3301 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3306 Implement new methods
3308 2007-09-17 Alexander Larsson <alexl@redhat.com>
3311 * gio/gfileinputstream.[ch]:
3312 * gio/gfileoutputstream.[ch]:
3314 * gio/glocalfileenumerator.[ch]:
3315 * gio/glocalfileinfo.[ch]:
3316 * gio/glocalfileinputstream.c:
3317 * gio/glocalfileoutputstream.c:
3318 * gio/gpollfilemonitor.c:
3319 * programs/gio-copy.c:
3320 * programs/gio-info.c:
3321 * programs/gio-move.c:
3322 Rename get_file_info to query_info() to make it clearer
3323 that these are not simple getters, but do i/o.
3325 2007-09-17 Alexander Larsson <alexl@redhat.com>
3327 * gio/gdatainputstream.[ch]:
3328 * gio/test-streams.c:
3329 Use _read_XXX instead of _get_XXX for the i/o calls
3332 2007-09-17 Alexander Larsson <alexl@redhat.com>
3335 Added needed stuff to TODO comment
3337 2007-09-17 Alexander Larsson <alexl@redhat.com>
3339 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3340 Don't error out removing the backup copy if it doesn't
3343 2007-09-14 Alexander Larsson <alexl@redhat.com>
3345 * programs/Makefile.am:
3346 * programs/gvfs-*.c:
3348 Renamed apps from gvfs-xxx to gio-xxx.
3350 2007-09-14 Alexander Larsson <alexl@redhat.com>
3353 * gio/gfileoutputstream.[ch]:
3354 * gio/glocalfileoutputstream.c:
3355 * programs/gvfs-save.c:
3356 g_file_output_stream_get_etag doesn't do i/o, so remove
3357 cancellation and error.
3359 2007-09-14 Alexander Larsson <alexl@redhat.com>
3362 Add new_etag output to replace_contents functions
3364 2007-09-14 Alexander Larsson <alexl@redhat.com>
3366 * gio/gfileoutputstream.[ch]:
3367 Add async get_file_info and default implementation
3369 2007-09-14 Alexander Larsson <alexl@redhat.com>
3371 * gio/gfileinputstream.c:
3372 Implement fallback wrapper for async get_file_info
3374 2007-09-14 Alexander Larsson <alexl@redhat.com>
3377 Add etag out argument to load_contents
3382 2007-09-14 Alexander Larsson <alexl@redhat.com>
3384 * gio/gcontenttype.c (looks_like_text):
3385 Whitespace like tab, cr and lf do not make the
3388 2007-09-14 Alexander Larsson <alexl@redhat.com>
3390 * gio/gfileinputstream.[ch]:
3391 Add async get_file_info.
3393 2007-09-13 Alexander Larsson <alexl@redhat.com>
3395 * gio/goutputstream.c (g_output_stream_write_all):
3396 Allow NULL for bytes_written
3398 2007-09-13 Alexander Larsson <alexl@redhat.com>
3400 * gio/gmemoryinputstream.[ch]:
3401 Add accessors for data
3403 2007-09-13 Alexander Larsson <alexl@redhat.com>
3405 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3406 Don't crash if length is NULL