1 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
3 reviewed by: <delete if not using a buddy>
9 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
12 * tests/live-g-file.c:
13 * tests/live-g-file.txt:
14 New GIO testing module working over real data
16 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
18 * glocalfileoutputstream.c (g_local_file_output_stream_close):
19 Fallback to rename() if link() is not available
20 (when no support on target filesystem)
22 2008-02-06 Michael Natterer <mitch@imendio.com>
24 * gfileinfo.c (g_file_info_get_icon): replace
25 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
27 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
29 * gfile.c (g_file_create):
30 Documentation update of error codes
32 2008-02-06 Alexander Larsson <alexl@redhat.com>
35 Update to use both mimeapps.list and
36 defaults.list as discussed on xdg list.
38 2008-02-06 Benjamin Otte <otte@gnome.org>
41 * gfilenamecompleter.c:
42 Fix some typos in the documentation.
44 2008-02-06 Alexander Larsson <alexl@redhat.com>
46 * glocalfile.c (g_local_file_trash):
47 Don't succeed with trash if newly created
48 trash dir has the wrong owner. (#514696)
50 2008-02-05 Alexander Larsson <alexl@redhat.com>
52 * glocalfile.c (g_local_file_move):
53 Don't spew warnings when destination is not
56 2008-02-03 Hans Breuer <hans@breuer.org>
58 * makefile.msc : update
60 2008-02-01 Michael Natterer <mitch@imendio.com>
62 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
63 return value of xdg_mime_list_mime_parents() to a variable of the
66 2008-02-01 Alexander Larsson <alexl@redhat.com>
68 * gappinfo.c (g_app_info_launch_uris):
69 Actually call the launch_uris method, not
72 2008-02-01 Alexander Larsson <alexl@redhat.com>
74 * gdesktopappinfo.c (g_desktop_app_info_equal):
75 Ensure appinfos with no id but same pointer value
78 2008-02-01 Alexander Larsson <alexl@redhat.com>
80 * gappinfo.c (g_app_info_launch_default_for_uri):
83 2008-02-01 Alexander Larsson <alexl@redhat.com>
87 Add g_app_info_launch_default_for_uri utility
90 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
93 Doc fix for g_app_info_get_default_for_uri_scheme ()
96 2008-01-30 Alexander Larsson <alexl@redhat.com>
99 Add doc comment about uris vs GFiles to
103 Ensure uris passed to g_app_info_launch_uris()
104 are not roundtriped through GFile (as that
105 may be slightly destructive for e.g. mailto: links)
107 2008-01-30 Alexander Larsson <alexl@redhat.com>
109 * tests/data-input-stream.c:
110 * tests/data-output-stream.c:
111 C89 fixes from Jens Granseuer (#512849)
113 2008-01-30 Alexander Larsson <alexl@redhat.com>
116 Fix gamin/fam difference build issue. (#509419)
118 2008-01-29 Alexander Larsson <alexl@redhat.com>
122 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
124 2008-01-29 Alexander Larsson <alexl@redhat.com>
128 giomodule-priv.h include moved to .c file.
130 2008-01-29 Alexander Larsson <alexl@redhat.com>
132 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
133 Remove unused prio/name fields.
135 2008-01-29 Alexander Larsson <alexl@redhat.com>
137 * gcontenttype.c (looks_like_text):
138 Don't treat whitespace as control chars.
140 2008-01-29 Alexander Larsson <alexl@redhat.com>
143 Lazily create the desktop files for appinfos created
144 by g_app_info_create_from_commandline() when needed
145 for mime associations. This allows run-time use
146 of GAppInfo object without creating unnecessary
149 2008-01-29 Alexander Larsson <alexl@redhat.com>
152 Added new symbols to gio.symbols
154 2008-01-29 Alexander Larsson <alexl@redhat.com>
157 Add g_file_query_default_handler utility to easily look up
158 the GAppInfo that handles a file.
160 * gdesktopappinfo.[ch]:
162 Set up an extension point for g_app_info_get_default_for_uri_scheme()
165 Remove unused function
167 2008-01-29 Alexander Larsson <alexl@redhat.com>
170 Mention need to free returned value in
171 g_file_enumerator_next_files_finish docs.
172 Fix leak if g_file_enumerator_next_files_finish()
175 2008-01-29 Alexander Larsson <alexl@redhat.com>
178 (_g_unix_content_type_get_parents):
179 Use list_parents, not get_parents from xdgmime, because
180 the later doesn't use the cache.
182 * xdgmime/xdgmimecache.c:
183 (_xdg_mime_cache_list_mime_parents):
184 Don't list the same type as parent multiple times.
186 2008-01-28 Matthias Clasen <mclasen@redhat.com>
188 * === Released 2.15.4 ===
190 2008-01-28 Alexander Larsson <alexl@redhat.com>
193 Register local vfs with prio 0.
196 Remove old name and prio class members
198 2008-01-28 Matthias Clasen <mclasen@redhat.com>
200 * tests/g-file.c: Disable some tests that are failing in
201 the absence of a http backend.
203 2008-01-28 Alexander Larsson <alexl@redhat.com>
207 Add registration hooks for extension points.
208 Register the gio extension points.
210 * fam/gfamdirectorymonitor.c:
211 * fam/gfamfilemonitor.c:
212 * glocaldirectorymonitor.[ch]:
213 * glocalfilemonitor.[ch]:
214 * gnativevolumemonitor.h:
215 * gunionvolumemonitor.c:
216 * gunixvolumemonitor.c:
219 * inotify/ginotifydirectorymonitor.c:
220 * inotify/ginotifyfilemonitor.c:
221 Use the extension points registration instead
222 of g_type_children().
224 2008-01-28 Matthias Clasen <mclasen@redhat.com>
227 * gvolume.[hc]: Document new API.
229 * gfile.c (g_file_copy_async): Fix docs
231 2008-01-27 Matthias Clasen <mclasen@redhat.com>
233 * gbufferedinputstream.c:
235 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
238 2008-01-27 Matthias Clasen <mclasen@redhat.com>
240 * glocalfile.c: Avoid trivial differences in translatable strings.
242 2008-01-25 Matthias Clasen <mclasen@redhat.com>
244 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
245 build with gcc 3.4 (#509419)
247 2008-01-25 Matthias Clasen <mclasen@redhat.com>
249 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
250 (#509994, Murray Cumming)
252 2008-01-25 Matthias Clasen <mclasen@redhat.com>
254 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
255 * gioscheduler.c: Keep calling io jobs until they return FALSE;
256 this allows big jobs to be executed in chunks, instead of blocking
257 the main loop for a long time.
259 * gsimpleasyncresult.c:
260 * giofile.c: Adapt callers.
262 2008-01-25 Alexander Larsson <alexl@redhat.com>
265 Implement changes discussed on xdg list.
266 Now we can add supported mimetypes by just using defaults.list
267 We can also remove associations in defaults.list.
269 2008-01-25 Alexander Larsson <alexl@redhat.com>
272 Don't make local copy of desktop file
273 for mimetype changes if the file already
274 supports the new mimetype.
276 2008-01-25 Matthias Clasen <mclasen@redhat.com>
280 * gbufferedinputstream.c:
281 * glocalfile.c: String improvements. (#511966,
282 Theppitak Karoonboonyanan)
284 2008-01-24 Matthias Clasen <mclasen@redhat.com>
286 * gioscheduler.h: Expand docs a bit.
288 2008-01-24 Alexander Larsson <alexl@redhat.com>
291 Add g_drive_get_identifier and
292 g_drive_enumerate_identifiers
295 Add g_volume_get_identifier and
296 g_volume_enumerate_identifiers
302 Implement identifiers for unix backend
304 2008-01-24 Alexander Larsson <alexl@redhat.com>
309 Add g_file_copy_async() (#511580)
310 Based on patch from Carlos Garcia Campos
312 2008-01-23 Matthias Clasen <mclasen@redhat.com>
314 * gioscheduler.c: Some documentation additions.
316 2008-01-22 Alexander Larsson <alexl@redhat.com>
319 (g_desktop_app_info_new):
322 2008-01-22 Alexander Larsson <alexl@redhat.com>
325 (g_desktop_app_info_new_from_filename):
328 2008-01-22 Alexander Larsson <alexl@redhat.com>
330 * glocalfileinfo.c (get_thumbnail_attributes):
333 2008-01-22 Alexander Larsson <alexl@redhat.com>
336 (canonicalize_filename):
337 Canonicalize paths that start with more than
342 (test_g_file_new_for_path):
345 2008-01-22 Alexander Larsson <alexl@redhat.com>
348 Allow UTF-8 in file:// parse names.
351 * tests/data-input-stream.c:
352 * tests/data-output-stream.c:
353 * tests/g-file-info.c:
355 Added a bunch of tests from Tomas Bzatek
357 2008-01-21 Matthias Clasen <mclasen@redhat.com>
359 * === Released 2.15.3 ===
361 2008-01-21 Alexander Larsson <alexl@redhat.com>
363 * gfileinputstream.[ch]:
364 * gfileoutputstream.[ch]:
366 Remove duplicated GSeekable functions. (#509990)
367 Just use the g_seekable_xxx() calls instead.
369 2008-01-21 Matthias Clasen <mclasen@redhat.com>
372 * gvolumemanager.c: Whitespace cleanups.
374 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
375 Use the right mode when creating the file.
377 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
380 * gfileinputstream.c:
382 * goutputstream.c: Documentation: Fixed minor typos
383 and added more mentions of specific _finish() functions.
385 2008-01-21 Alexander Larsson <alexl@redhat.com>
387 * inotify/Makefile.am:
388 * inotify/inotify-helper.c:
389 * inotify/inotify-kernel.c:
390 * inotify/inotify-path.c:
391 * inotify/local_inotify.h: Removed.
392 * inotify/local_inotify_syscalls.h: Removed.
393 Removed the included copies of the inotify
394 headers. We now only use the <sys/inotify.h>
395 header which exists on modern systems.
396 This fixes problems on ARM and SH5 (#510448)
397 but is also generally much cleaner and future
398 safe. For instance, if other OSes add support
399 for inotify it should "just work".
401 2008-01-20 Matthias Clasen <mclasen@redhat.com>
403 * inotify/*.c: Coding style fixes.
404 * inotify/inotify-missing.c: Use g_timeout_add_seconds
405 for the 1/4 Hz timer.
407 2008-01-20 Matthias Clasen <mclasen@redhat.com>
411 * gmemoryinputstream.c:
412 * gmemoryoutputstream.c:
414 * gthemedicon.c: Documentation updates
416 2008-01-20 Murray Cumming <murrayc@murrayc.com>
418 * gfile.c: documentation: Fixed more minor
421 2008-01-18 Murray Cumming <murrayc@murrayc.com>
423 * gmount.c: (g_mount_remount): documentation:
424 Mention g_mount_remount_finish() instead of
425 g_mount_unmount_finish().
427 2008-01-18 Murray Cumming <murrayc@murrayc.com>
431 * gfile.c: Fixed some minor typos in the
434 2008-01-18 Murray Cumming <murrayc@murrayc.com>
436 * gio/gvolumemonitor.c:
437 (g_volume_monitor_get_connected_drives):
438 (g_volume_monitor_get_volumes):
439 (g_volume_monitor_get_mounts): Documentation:
440 Clarify the ownership of the regurn GLists.
442 2008-01-17 Alexander Larsson <alexl@redhat.com>
445 Add the async find_enclosing_mount version
446 to the header file too.
448 2008-01-17 Alexander Larsson <alexl@redhat.com>
451 Add async version of find_enclosing_mount
452 with default implementation.
454 2008-01-17 Alexander Larsson <alexl@redhat.com>
459 Allow calls to implementation of copy and write
460 even if the type of the file implementations is
461 different. This can be used to implement native
462 upload and download calls in a vfs.
466 Protect against the case where move is called
467 with one file not being local.
469 Make sure we call the progress callback once
470 in the native move operation so that the caller
471 knows how many bytes were copied.
473 2008-01-16 Murray Cumming <murrayc@murrayc.com>
476 * gdatainputstream.c:
478 * gfileoutputstream.c:
483 * gunixmounts.c: Corrected some typos in the documentation:
485 its -> it's (where appropriate).
487 2008-01-16 Alexander Larsson <alexl@redhat.com>
491 Add g_file_query_exists (#508771)
493 2008-01-15 Murray Cumming <murrayc@murrayc.com>
498 * gvolume.c: For async functions that have no non-async
499 version, document that the GAsyncReadyCallback may be NULL.
502 2008-01-15 Alexander Larsson <alexl@redhat.com>
504 * gmemoryinputstream.c:
505 * gmemoryoutputstream.c:
506 Don't do pointer arithmetic on void * (#508602)
507 Patch from Kazuki IWAMOTO
509 2008-01-14 Matthias Clasen <mclasen@redhat.com>
511 * === Released 2.15.2 ===
513 2008-01-14 Alexander Larsson <alexl@redhat.com>
515 * gfile.c (g_file_monitor_file):
516 Don't set error here, since we fallback to polling monitor.
518 2008-01-14 Alexander Larsson <alexl@redhat.com>
521 (g_file_monitor_directory):
522 (g_file_monitor_file):
523 Add GError to file monitor calls
525 * glocaldirectorymonitor.c:
526 * glocaldirectorymonitor.h:
528 * glocalfilemonitor.c:
529 * glocalfilemonitor.h:
531 Update for above change
533 2008-01-14 Alexander Larsson <alexl@redhat.com>
537 Handle root correctly in g_file_get_relative_path (#508719)
539 2008-01-14 Alexander Larsson <alexl@redhat.com>
542 Clean up docs and example for GAsyncResult (#508074)
544 2008-01-11 Murray Cumming <murrayc@murrayc.com>
546 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
547 and correct some spelling mistakes. Bug #508108.
549 2008-01-11 Matthias Clasen <mclasen@redhat.com>
551 * glocalfileinfo.c: Add a comment.
553 2008-01-10 Murray Cumming <murrayc@murrayc.com>
555 * gfileinfo.c: GFileInfo description: Mention
556 how to actually set attributes in a GFile and how to discover
557 which attributes are settable. Bug #508378.
559 2008-01-10 A. Walton <awalton@svn.gnome.org>
561 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
562 (g_app_info_get_default_for_type):
563 Check for NULL content types.
565 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
567 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
569 2008-01-09 Murray Cumming <murrayc@murrayc.com>
571 * gfile.c: *_async() functions: Several small corrections
572 to the documentation, mostly correcting copy/paste errors
573 and improving some sentences.
575 2008-01-09 Dan Winship <danw@gnome.org>
577 * glocalfile.c (get_unique_filename): x86_64 fix
579 2008-01-09 Alexander Larsson <alexl@redhat.com>
584 Add g_unix_mount_guess_should_display and use
585 for unix volume monitor backend.
586 This means we more or less show what the
587 gnome-vfs backend did.
588 Based on patch from Padraig O'Briain
590 2008-01-09 Alexander Larsson <alexl@redhat.com>
594 Add g_themed_icon_new_with_default_fallbacks
597 Use default fallbacks for icons
599 2008-01-09 Alexander Larsson <alexl@redhat.com>
602 * gmountoperation.[ch]:
603 Change the API a bit so that unhandled methods
604 get reported via the reply, rather than by
605 the signal emission return value. This is because
606 some handlers can't know this immediately without
607 doing I/O, and this is an async operation that
610 2008-01-09 Alexander Larsson <alexl@redhat.com>
613 * fam/gfamdirectorymonitor.c:
614 * fam/gfamfilemonitor.c:
615 Fix double free crash (#508224)
616 Patch from Joe Marcus Clarke
618 008-01-07 Matthias Clasen <mclasen@redhat.com>
620 * === Released 2.15.1 ===
622 2008-01-07 Alexander Larsson <alexl@redhat.com>
624 * gunixinputstream.c (g_unix_input_stream_skip_finish):
625 Fix warning (#507835)
627 2008-01-07 Alexander Larsson <alexl@redhat.com>
630 Pass --internal to glib-genmarshal
635 Use better types for signal arguments (#507822)
637 2008-01-07 Alexander Larsson <alexl@redhat.com>
640 Build test subdir after .
641 Remove gdirectorymonitor.[ch]
643 * gdirectorymonitor.[ch]:
647 Remove GDirectoryMonitor and make
648 GFileMonitor the baseclass for both file and
649 directory monitors. Lift the more generic
650 rate limiting code from GDirectoryMonitor
654 * fam/gfamdirectorymonitor.[ch]:
655 * inotify/ginotifydirectorymonitor.[ch]:
656 * inotify/inotify-helper.c:
657 * glocaldirectorymonitor.[ch]:
660 Update for the removed GDirectoryMonitor.
662 * gmemoryoutputstream.c:
663 Remove ununsed variable
665 2008-01-07 Alexander Larsson <alexl@redhat.com>
667 * gmemoryinputstream.c:
668 Translate error strings
671 * gmemoryoutputstream.[ch]:
672 New implementation that avoids using GByteArray
673 in implementation and API. (#506377)
675 2008-01-06 Matthias Clasen <mclasen@redhat.com>
677 * tests/*: Add a test for memory input streams.
679 * Makefile.am: Add tests to SUBDIRS.
681 2008-01-06 Matthias Clasen <mclasen@redhat.com>
683 * glocalfilemonitor.c:
684 * glocaldirectorymonitor.c: Mark property nicks and blurbs
687 2008-01-06 Matthias Clasen <mclasen@redhat.com>
689 * gdesktopappinfo.c: Fix a docs typo.
691 * gfileattribute.c: Add information about extended attributes
692 to the documentation. (#505058)
694 2008-01-04 Alexander Larsson <alexl@redhat.com>
698 Use the right type (uint) for the ask_password signal.
700 2008-01-04 Alexander Larsson <alexl@redhat.com>
705 Add g_app_info_supports_files()
706 Remove desktop arg from g_app_info_should_show().
708 * gdesktopappinfo.[ch]:
709 Implement g_app_info_supports_files() and new should_show()
710 Add g_desktop_app_info_set_desktop_env() to set the desktop
711 for should_show(). (This will be set by gtk+ later)
713 2008-01-04 Alexander Larsson <alexl@redhat.com>
716 * gmemoryinputstream.[ch]:
717 Improve API so that you can use multiple chunks
718 of memory and custom destroy functions. (#506374)
720 2008-01-03 Alexander Larsson <alexl@redhat.com>
723 Handle NULL attribute matchers safely, as we return this
724 for empty attribute matcher strings.
726 2008-01-03 Alexander Larsson <alexl@redhat.com>
728 * gunixmounts.c (g_unix_is_mount_path_system_internal):
729 Add /usr/local to list of internal mountpoints
731 2008-01-03 Alexander Larsson <alexl@redhat.com>
734 Check for HAVE_LCHOWN (#505887)
736 2008-01-03 Alexander Larsson <alexl@redhat.com>
740 Add define for selinux context attribute.
741 Fix missing : -> :: namespace separator change
742 Fix missing _ -> - name change for xattr-sys.
745 2008-01-03 Alexander Larsson <alexl@redhat.com>
748 Link to libglib and libgobject directly (#504879)
749 Patch from Sebastien Bacher
751 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
753 * gfile.c: Expanded the g_file_new_for_commandline_arg
754 description a bit, based on the code and the docs of the
755 other g_file_new_for_* functions.
757 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
759 * gfilemonitor.h: Fixed typo in docs.
761 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
763 Updates to GIO documentation. (#506395, Mikael Hermansson)
765 * gcontenttype.c: Describe memory management for return value of
766 g_content_types_get_registered(). Missing piece from #505815.
767 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
768 GVolume, GDrive, GMounts, which hopefully gives the user less
769 confusions when using this API. Following explainations from
770 Alexander Larsson on gtk-devel-list.
772 2007-12-30 Matthias Clasen <mclasen@redhat.com>
774 * gfileinfo.c: Expand the long description.
776 2007-12-30 Matthias Clasen <mclasen@redhat.com>
779 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
780 fix builds with --disable-visibility. (#500273, Christian Persch)
782 2007-12-30 Matthias Clasen <mclasen@redhat.com>
784 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
785 in the list of returned app infos.
787 2007-12-30 Matthias Clasen <mclasen@redhat.com>
789 * gappinfo.c: Fix a cross-reference
791 2007-12-30 Matthias Clasen <mclasen@redhat.com>
793 * gfileinputstream.c:
794 * gfileoutputstream.c:
800 * gfileinfo.c: Documentation updates.
802 2007-12-26 Matthias Clasen <mclasen@redhat.com>
804 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
807 2007-12-26 Matthias Clasen <mclasen@redhat.com>
809 * gcontenttype.c (g_content_types_get_registered): Don't return
810 freed memory (#505815, Mikael Hermansson)
812 2007-12-25 Paolo Borelli <pborelli@katamail.com>
814 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
815 used to detect statbuf->st_blocks. (#505042)
817 2007-12-24 Matthias Clasen <mclasen@redhat.com>
819 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
820 environment handling. (#504829, Cosimo Cecchi)
822 2007-12-22 Matthias Clasen <mclasen@redhat.com>
824 * gappinfo.c: Doc improvements
826 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
829 2007-12-20 Matthias Clasen <mclasen@redhat.com>
831 * === Released 2.15.0 ===
833 2007-12-20 Hans Breuer <hans@breuer.org>
835 * makefile.msc : don't build gdesktopappinfo.obj, it collides
836 with symbols gwin32appinfo.obj, added gmount.obj
837 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
839 2007-12-20 Alexander Larsson <alexl@redhat.com>
845 * gfilenamecompleter.c:
848 * gpollfilemonitor.c:
849 File attribute renames:
852 id::fs -> id::filesystem
854 2007-12-20 Alexander Larsson <alexl@redhat.com>
863 Add GMountUnmountFlags to all unmount and
865 Add g_mount_remount() call.
867 2007-12-20 Alexander Larsson <alexl@redhat.com>
869 * gvfs.c (get_default_vfs):
870 Fix unused variable warning
872 2007-12-19 Matthias Clasen <mclasen@redhat.com>
874 * pltcheck.sh: Update
876 2007-12-19 Matthias Clasen <mclasen@redhat.com>
878 * gunionvolumemonitor.c:
879 * gunixmount.c: Remove C99 comments
881 2007-12-19 Matthias Clasen <mclasen@redhat.com>
883 * gio.symbols: Add some missing symbols
885 2007-12-19 Alexander Larsson <alexl@redhat.com>
888 Make g_io_modules_load_all_in_directory not unuse
889 loaded modules so that users of it can do stuff
891 Init internal "module" types.
892 Initialize static prio and name for types so that
893 we don't have to load modules to get it.
895 * gnativevolumemonitor.h:
897 Move is_supported to parent class so that
898 non-native monitors can avoid being initialized
899 too. (For instance GDaemonVolumeMonitor if we're
900 not using GDaemonVfs.)
902 * glocaldirectorymonitor.[ch]:
903 * glocalfilemonitor.[ch]:
904 * gunionvolumemonitor.c:
905 * gunixvolumemonitor.c:
907 Find plugins using the static prio+name to
908 avoid unnecessarily loading the modules.
910 2007-12-19 Alexander Larsson <alexl@redhat.com>
915 2007-12-19 Alexander Larsson <alexl@redhat.com>
917 * gunionvolumemonitor.c:
918 Store the native type as GType, not class so that
919 we can unload it. But still avoid unnecessarily
922 2007-12-19 David Zeuthen <davidz@redhat.com>
924 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
925 add signals 'disconnected' and 'eject-button' on GDrive. Add
926 signal 'removed' on GVolume and 'unmounted' on GMount.
928 * gdrive.c: (g_drive_base_init):
930 * gfile.c: (g_file_mount_mountable),
931 (g_file_mount_enclosing_volume):
934 * gmount.c: (g_mount_base_init):
936 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
937 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
938 * gvolume.c: (g_volume_base_init), (g_volume_mount):
942 2007-12-17 Matthias Clasen <mclasen@redhat.com>
944 * *.c: Fix up includes in the section docs.
946 2007-12-17 Alexander Larsson <alexl@redhat.com>
948 * gnativevolumemonitor.h:
949 * gunionvolumemonitor.c:
950 * gunixvolumemonitor.c:
951 Add is_supported() to GNativeVolumeMonitorClass so
952 that we can avoid having to create an object to see
953 if the backend is supported at runtime.
954 Also add name member and an env var to pick a specific
955 volume monitor backend.
959 Add cancellable to _g_mount_get_for_mount_path()
961 * glocaldirectorymonitor.c:
962 * glocalfilemonitor.c:
963 Avoid loading and unloading modules while sorting.
965 2007-12-17 Matthias Clasen <mclasen@redhat.com>
968 * gunixmounts.[hc]: Namespace waste reduction, move some
969 g_get_unix_mount functions to the g_unix_mount namespace.
972 * gunixvolumemonitor.c:
974 * glocaldirectorymonitor.c: Update all callers.
976 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
978 2007-12-17 Alexander Larsson <alexl@redhat.com>
981 Add doc comments about what GFile operations are
982 guaranteed to not block.
984 2007-12-17 Alexander Larsson <alexl@redhat.com>
987 Add missing #ifdef fixing OSX build.
988 (#503334, patch from Richard Hult)
990 2007-12-14 David Zeuthen <davidz@redhat.com>
994 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
995 (g_mount_eject), (g_mount_eject_finish):
997 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
998 (get_volume_for_uuid), (get_mount_for_uuid),
999 (g_union_volume_monitor_class_init),
1000 (get_default_native_type_with_exclude), (get_default_native_type),
1001 (get_native_type), (update_native_type),
1002 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1003 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1004 (g_unix_mount_can_eject), (eject_unmount_cb),
1005 (eject_unmount_read_error), (eject_unmount_do),
1006 (g_unix_mount_unmount), (g_unix_mount_eject),
1007 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1008 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1009 (g_unix_mount_point_guess_can_eject):
1011 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1012 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1013 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1014 (g_unix_volume_mount), (g_unix_volume_eject),
1015 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1016 * gunixvolumemonitor.c: (get_volume_for_uuid),
1017 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1019 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1020 (g_volume_eject), (g_volume_eject_finish):
1022 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1023 (g_volume_monitor_get_mount_for_uuid):
1026 Provide eject() on both GMount and GVolume and utility functions
1027 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1028 ejected. Introduce the concept of UUID's and wire it into GVolume
1029 and GMount and provide API on GVolumeMonitor to find such
1030 instances. Also handle the case where an external
1031 GNativeVolumeMonitor fails to initialize. Lock around the
1032 _g_get_mount_for_mount_path() function such that volume monitor
1033 implementations won't have to do locking themselves.
1035 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1037 * gdesktopappinfo.c:
1043 * gvolume.h: Documentation updates
1045 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1048 * gfile.h: Doc updates
1050 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1053 * gdesktopappinfo.c: Use hash table iterators.
1055 2007-12-14 Alexander Larsson <alexl@redhat.com>
1058 * gfileattribute.[ch]:
1059 * gfileattribute-priv.h:
1060 Move GFileAttributeValue to a private header, as
1064 Make set_attribute take a type + a pointer instead
1065 of a GFileAttributeValue.
1068 Fix up for above changes.
1069 Add g_file_info_get_attribute_data to get
1070 all info in one call, g_file_info_get_attribute_status
1071 to get the status and g_file_info_get_attribute_as_string.
1075 * glocalfileinfo.[ch]:
1079 Make _guess_type static.
1081 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1084 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1085 made mkenums and friends use temporary files to avoid leaving
1086 empty generated files on failure (#503470).
1088 2007-12-14 Alexander Larsson <alexl@redhat.com>
1090 * gmountoperation.h:
1093 2007-12-14 Alexander Larsson <alexl@redhat.com>
1097 * gfileattribute.[ch]:
1100 * glocalfileoutputstream.c:
1101 * gmountoperation.[ch]:
1102 * goutputstream.[ch]:
1103 Clean up all flags enums to not have _FLAGS in them
1104 Make the names of some of the enums better.
1109 2007-12-14 Michael Natterer <mitch@imendio.com>
1111 * gio.symbols: fix g_io_scheduler symbol names.
1113 2007-12-14 Alexander Larsson <alexl@redhat.com>
1119 * gbufferedinputstream.h:
1120 * gbufferedoutputstream.h:
1123 * gdatainputstream.h:
1124 * gdataoutputstream.h:
1125 * gdesktopappinfo.h:
1126 * gdirectorymonitor.h:
1130 * gfileenumerator.h:
1133 * gfileinputstream.h:
1135 * gfilenamecompleter.h:
1136 * gfileoutputstream.h:
1137 * gfilterinputstream.h:
1138 * gfilteroutputstream.h:
1146 * gmemoryinputstream.h:
1147 * gmemoryoutputstream.h:
1149 * gmountoperation.h:
1152 * gsimpleasyncresult.h:
1154 * gunixinputstream.h:
1156 * gunixoutputstream.h:
1160 * inotify/Makefile.am:
1161 Only allow including <gio/gio.h> from apps
1163 2007-12-14 Alexander Larsson <alexl@redhat.com>
1165 * gioscheduler.[ch]:
1166 * gsimpleasyncresult.c:
1167 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1168 Split out the send_to_mainloop call into two versions instead
1169 of having the block argument.
1171 2007-12-13 Alexander Larsson <alexl@redhat.com>
1173 * gcancellable.[ch]:
1175 * gbufferedinputstream.c:
1176 * gfileenumerator.c:
1177 * gfileinputstream.c:
1178 * gfileoutputstream.c:
1182 g_push/pop_current_cancellable ->
1183 g_cancellable_push/pop_current
1185 2007-12-13 Alexander Larsson <alexl@redhat.com>
1189 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1191 2007-12-13 Alexander Larsson <alexl@redhat.com>
1193 * gmountoperation.h:
1194 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1196 2007-12-12 Alexander Larsson <alexl@redhat.com>
1199 Fix race condition when freeing proxy in
1200 g_io_job_send_to_mainloop().
1202 2007-12-12 Alexander Larsson <alexl@redhat.com>
1208 Make attribute namespace separator "::" instead of ":".
1209 Use - instead of _ as separator in attribute names.
1211 2007-12-12 Alexander Larsson <alexl@redhat.com>
1213 * gbufferedinputstream.h:
1214 * gbufferedoutputstream.h:
1215 * gdatainputstream.h:
1216 * gdataoutputstream.h:
1217 * gdirectorymonitor.h:
1218 * gfileenumerator.h:
1219 * gfileinputstream.h:
1221 * gfileoutputstream.h:
1222 * gfilterinputstream.h:
1223 * gfilteroutputstream.h:
1225 * glocalfileinputstream.h:
1226 * glocalfileoutputstream.h:
1227 * gmemoryinputstream.h:
1228 * gmemoryoutputstream.h:
1229 * gnativevolumemonitor.h:
1231 * gunixinputstream.h:
1232 * gunixoutputstream.h:
1235 s/parent/parent_instance/ in GObjects
1237 2007-12-12 Alexander Larsson <alexl@redhat.com>
1242 No need for padding for interfaces
1244 2007-12-12 Alexander Larsson <alexl@redhat.com>
1248 * gbufferedinputstream.c:
1249 * gbufferedoutputstream.c:
1252 * gdatainputstream.[ch]:
1253 * gdesktopappinfo.c:
1254 * gdirectorymonitor.c:
1256 * gfileattribute.[ch]:
1259 * gfileinputstream.h:
1260 * gfilemonitor.[ch]:
1261 * gfileoutputstream.[ch]:
1262 * gfilterinputstream.h:
1263 * gfilteroutputstream.h:
1266 * gloadableicon.[ch]:
1267 * gmemoryinputstream.c:
1268 * gmountoperation.c:
1270 Fix up a bunch of details in the docs.
1275 2007-12-11 David Zeuthen <davidz@redhat.com>
1277 Rework how volumes, drives and volume monitoring is
1278 done. Previosly the model was
1280 GDrive <1-1> GVolume
1282 where a GDrive instance represented a mount point and a GVolume
1283 instance represented a mounted file system. This patch changes it
1286 GDrive <1-N> GVolume <1-1> GMount
1288 where GMount now serves the purpose of the old GVolume and the new
1289 GVolume serves the purpose of the old GDrive. In addition the new
1290 GDrive interface is used to represent a collection of GVolume
1291 instances (typically partitions) and also contains utility to query
1292 the state of the physical drive the GDrive object represents (such
1293 as checking for media, polling the drive, ejecting the media etc.).
1295 Also implement mounting and unmounting in the Unix volume monitor
1296 backend. A subquent patch will introduce GDrive support for ejection
1300 * gdrive.c: (g_drive_is_media_check_automatic),
1301 (g_drive_is_media_removable), (g_drive_has_media),
1302 (g_drive_can_poll_for_media), (g_drive_eject),
1303 (g_drive_eject_finish), (g_drive_poll_for_media),
1304 (g_drive_poll_for_media_finish):
1306 * gfile.c: (g_file_find_enclosing_mount):
1309 * glocaldirectorymonitor.c:
1310 (g_local_directory_monitor_constructor), (mounts_changed):
1311 * glocalfile.c: (get_mount_info),
1312 (g_local_file_find_enclosing_mount),
1313 (g_local_file_file_iface_init):
1314 * gnativevolumemonitor.h:
1315 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1316 (get_connected_drives), (g_union_volume_monitor_class_init),
1317 (child_volume_added), (child_volume_removed),
1318 (child_volume_changed), (child_mount_added), (child_mount_removed),
1319 (child_mount_pre_unmount), (child_mount_changed),
1320 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1321 (g_union_volume_monitor_remove_monitor),
1322 (_g_mount_get_for_mount_path):
1323 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1324 (guess_system_internal), (_g_get_unix_mounts),
1325 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1326 (g_unix_mount_free), (g_unix_mount_compare),
1327 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1328 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1329 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1330 (type_to_icon), (g_unix_mount_guess_name),
1331 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1332 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1333 (_resolve_symlink), (_resolve_dev_root):
1335 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1336 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1337 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1338 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1339 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1340 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1341 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1342 (g_unix_volume_volume_iface_init):
1344 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1345 (get_mounts), (get_volumes), (get_connected_drives),
1346 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1347 (mountpoints_changed), (mounts_changed),
1348 (g_unix_volume_monitor_init),
1349 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1350 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1351 * gunixvolumemonitor.h:
1352 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1353 (g_volume_mount), (g_volume_mount_finish):
1355 * gvolumemonitor.c: (g_volume_monitor_class_init),
1356 (g_volume_monitor_get_connected_drives),
1357 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1360 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1362 * gmountoperation.h (GPasswordFlags): Close the gap
1364 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1366 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1368 * gdesktopappinfo.[hc]: Remove _-prefixes
1370 2007-12-10 Tor Lillqvist <tml@novell.com>
1372 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1375 2007-12-10 Alexander Larsson <alexl@redhat.com>
1377 * gfile.c (g_file_set_display_name):
1378 Don't hardcode '/' (#502727)
1380 2007-12-09 Hans Breuer <hans@breuer.org>
1382 * makefile.msc : follow lib naming convention
1383 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1384 for user and group name, tested with ../tests/gio-ls
1386 2007-12-09 A. Walton <awalton@svn.gnome.org>
1388 * gdesktopappinfo.c:
1394 * gfileenumerator.c:
1399 * gmemoryinputstream.c:
1400 * gmemoryoutputstream.c:
1402 * gsimpleasyncresult.c:
1403 More documentation cleanup and filling in missing information, bringing
1404 GIO to 99% symbol coverage.
1406 2007-12-08 Hans Breuer <hans@breuer.org>
1408 [gio compiles and links on win32, not sure how much already works]
1409 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1410 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1411 base on win32 API; prefer g_lstat() over lstat(); instead of
1412 localtime_r() use an all GLib implementation on win32;
1413 get_mount_info() still needs a win32 specifc implementation
1414 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1415 win32_get_file_user_info to get owner/group info without uid/gid
1416 * glocalfileinputstream.c : include <io.h> on win32
1417 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1418 definition, use g_win32_ftruncate() for G_OS_WIN32
1419 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1420 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1421 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1422 * makefile.msc : updated
1424 2007-12-07 Alexander Larsson <alexl@redhat.com>
1426 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1427 Avoid warning spew if error == NULL
1429 2007-12-07 Alexander Larsson <alexl@redhat.com>
1432 Update docs wrt etags
1434 2007-12-06 Alexander Larsson <alexl@redhat.com>
1437 Include sys/types.h for dev_t (#501919)
1439 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1443 Make abicheck and pltcheck pass.
1445 2007-12-05 Alexander Larsson <alexl@redhat.com>
1448 * giomodule-priv.h: Added.
1449 * glocaldirectorymonitor.c:
1450 * glocalfilemonitor.c:
1451 * gunionvolumemonitor.c:
1453 Actually add the declaration of _g_io_modules_ensure_loaded
1455 2007-12-05 Alexander Larsson <alexl@redhat.com>
1457 * gdatainputstream.c:
1462 * glocaldirectorymonitor.c:
1463 * glocalfilemonitor.c:
1464 * gunionvolumemonitor.c:
1466 Make g_io_modules_ensure_loaded a private function and
1467 don't pass in the dirname. This means we can do magic
1468 directory finding in the win32 version.
1469 Export the actual load-modules-in-directory code so that
1470 gvfs can reuse that.
1472 2007-12-05 Alexander Larsson <alexl@redhat.com>
1474 * gbufferedinputstream.c:
1475 * gbufferedoutputstream.c:
1478 * gfileenumerator.[ch]:
1479 * gfileinputstream.c:
1480 * gfileoutputstream.[ch]:
1481 * gfilterinputstream.c:
1482 * gfilteroutputstream.c:
1483 * ginputstream.[ch]:
1485 * glocalfileenumerator.c:
1486 * glocalfileinputstream.c:
1487 * glocalfileoutputstream.c:
1488 * gmemoryinputstream.c:
1489 * gmemoryoutputstream.c:
1490 * goutputstream.[ch]:
1493 * gunixinputstream.c:
1494 * gunixoutputstream.c:
1495 Rename all struct members named:
1496 read, write, close, truncate, or mount
1497 to foo_fn, as these are reserved names
1498 and could be defined as macros in libc.
1501 2007-12-04 Alexander Larsson <alexl@redhat.com>
1504 (g_output_stream_close):
1505 Only call flush if non-null.
1507 2007-11-30 Dan Winship <danw@gnome.org>
1509 * ginputstream.c (g_input_stream_set_pending): Make this take a
1510 GError and return a gboolean, and do the "outstanding operation"
1511 check (and the "stream is already closed" check) itself.
1512 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1514 * goutputstream.c (g_output_stream_set_pending)
1515 (g_output_stream_clear_pending): Likewise
1517 * gbufferedinputstream.c:
1518 * gfileinputstream.c:
1519 * gfileoutputstream.c: Update for that
1521 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1522 Like g_simple_async_report_error_in_idle, but takes a GError
1523 rather than building one.
1525 2007-11-30 Dan Winship <danw@gnome.org>
1527 * goutputstream.c: Don't cheat and unset the "pending" flag around
1528 inner calls. Instead, call the class method directly rather than
1529 the wrapper function that checks "pending"
1531 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1533 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1535 2007-12-03 Hans Breuer <hans@breuer.org>
1537 [start of port to win32/msvc]
1538 * gcancellable.c : HAVE_UNIST_H and _pipe()
1539 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1540 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1541 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1543 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1544 * glocalvfs.c : use HAVE_PWD_H
1545 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1546 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1547 * Makefile.am : added to EXTRA_DIST
1549 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1551 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1554 2007-12-03 Alexander Larsson <alexl@redhat.com>
1557 Handle OSX style xattrs API (#500506)
1559 2007-12-03 Alexander Larsson <alexl@redhat.com>
1563 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1565 2007-12-02 A. Walton <awalton@svn.gnome.org>
1569 Documentation accuracy fixes.
1571 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1573 * gioenumtypes.c.template: Fix typo.
1575 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1577 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1579 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1581 * gdirectorymonitor.c:
1582 * gfilemonitor.c: Add properties
1584 * gbufferedoutputstream.c: Don't mark buffer-size property
1587 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1589 * gbufferedoutputstream.c: Add auto-grow property.
1591 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1593 * *.c: Unify the capitalization of section headings.
1595 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1597 * gmountoperation.c: Add properties
1599 * gdatainputstream.c: Turn byte-order and newline-type into
1602 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1604 * gioenumtypes.[hc].template: Templates for enum registration
1606 * Makefile.am: Generate gioenumtypes.[hc]
1608 * gio.h: Include gioenumtypes.h
1610 * gfile.h: Add some explicit nicks.
1612 * gio.symbols: Add new symbols
1614 * pltcheck.sh: Adjust
1616 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1618 * *.c: Explain etags and link to the explanation
1620 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1622 * *.c: Explain I/O priority.
1624 * *.c: More coding style fixes.
1626 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1628 * gasyncresult.c: Add another paragraph to the intro,
1629 adjust coding style of example.
1631 2007-11-29 A. Walton <awalton@svn.gnome.org>
1634 Fixes unknown meaning in GAppLaunchContext docs.
1636 Clarify asynchronous ops.
1638 Fix entity tag docs.
1641 Provides missing gtk-doc section, fixes API docs slighly.
1642 * gsimpleasyncresult.c:
1643 Fill in missing info in docs.
1644 * gunixinputstream.c:
1645 * gunixoutputstream.c:
1646 Be more expressive in short description.
1648 Remove gtk-doc stubs for non-public API.
1650 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1652 * *.c: Coding style fixups
1654 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1656 * inotify/inotify-helper.c: Don't export the lock from libgio.
1658 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1661 * abicheck.sh: Fix copy-and-paste leftovers
1663 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1665 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1667 2007-11-28 Alexander Larsson <alexl@redhat.com>
1671 Removed unnecessary file
1673 * gdesktopappinfo.[ch]:
1676 * glocaldirectorymonitor.[ch]:
1678 * glocalfileenumerator.[ch]:
1679 * glocalfileinputstream.[ch]:
1680 * glocalfilemonitor.[ch]:
1681 * glocalfileoutputstream.[ch]:
1683 * gnativevolumemonitor.c:
1684 * gpollfilemonitor.[ch]:
1685 * gunionvolumemonitor.[ch]:
1688 * gunixvolumemonitor.[ch]:
1691 * inotify/ginotifydirectorymonitor.[ch]:
1692 * inotify/ginotifyfilemonitor.[ch]:
1693 * inotify/inotify-helper.c:
1694 Append _ to all internal functions
1698 Export symbols needed for modules
1700 2007-11-28 Alexander Larsson <alexl@redhat.com>
1703 * abicheck.sh: Added.
1704 * makegioalias.pl: Added.
1705 * pltcheck.sh: Added.
1706 * gio.symbols: Added.
1709 Initial work on adding symbol handling.
1712 Correct ifdef guard name
1715 * inotify/Makefile.am:
1716 * xdgmime/Makefile.am:
1717 Include toplevel Makefile.decl
1719 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1721 * gcontenttype.c: Move doc comments to the unix section.
1723 * *.[hc]: More trivial doc corrections.
1725 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1727 * gpollfilemonitor.c:
1731 * gdesktopappinfo.c:
1736 * gdatainputstream.c:
1737 * gdatainputstream.h:
1738 * gdataoutputstream.c:
1739 * gdataoutputstream.h:
1740 * gfileinfo.h: Doc cleanups
1742 2007-11-28 Andre Klapper <a9016009@gmx.de>
1744 * gdesktopappinfo.c: Fix a typo.
1746 2007-11-27 Andre Klapper <a9016009@gmx.de>
1748 * glocalfileoutputstream.c: Fix a typo.
1750 2007-11-27 Alexander Larsson <alexl@redhat.com>
1753 Don't include removed headers
1755 2007-11-27 Alexander Larsson <alexl@redhat.com>
1758 * gsocketinputstream.[ch]: Removed.
1759 * gsocketoutputstream.[ch]: Removed.
1760 * gunixinputstream.[ch]: Added.
1761 * gunixoutputstream.[ch]: Added.
1762 Renamed GSocket*Stream to GUnix*Stream and made
1763 it unix-only, since its not really only for sockets
1764 and it only works on unix (but is highly useful there).
1766 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1772 * gbufferedinputstream.c:
1773 * gbufferedinputstream.h:
1774 * gbufferedoutputstream.c:
1775 * gbufferedoutputstream.h:
1779 * gdatainputstream.c:
1780 * gdatainputstream.h:
1781 * gdataoutputstream.c:
1782 * gdataoutputstream.h:
1783 * gdirectorymonitor.c:
1784 * gdirectorymonitor.h:
1791 * gfileenumerator.c:
1792 * gfileenumerator.h:
1797 * gfileinputstream.c:
1798 * gfileinputstream.h:
1801 * gfilenamecompleter.c:
1802 * gfilenamecompleter.h:
1803 * gfileoutputstream.c:
1804 * gfileoutputstream.h:
1805 * gfilterinputstream.c:
1806 * gfilterinputstream.h:
1807 * gfilteroutputstream.c:
1808 * gfilteroutputstream.h:
1821 * glocalfileoutputstream.c:
1822 * gmemoryinputstream.c:
1823 * gmemoryinputstream.h:
1824 * gmemoryoutputstream.c:
1825 * gmemoryoutputstream.h:
1826 * gmountoperation.c:
1827 * gmountoperation.h:
1830 * gpollfilemonitor.c:
1833 * gsimpleasyncresult.c:
1834 * gsimpleasyncresult.h:
1835 * gsocketinputstream.c:
1836 * gsocketinputstream.h:
1837 * gsocketoutputstream.c:
1838 * gsocketoutputstream.h:
1845 * gunixvolumemonitor.c:
1854 Bumps documentation to 93% symbol coverage, touching most
1855 of the public files. Fixes broken function documentation prototypes.
1856 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1857 gtk-doc headers in private files.
1859 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1861 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1862 (g_buffered_input_stream_read_byte):
1863 * gbufferedinputstream.h:
1864 New functions for efficient access to buffer and simple single byte
1867 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1868 (g_data_input_stream_read_until):
1869 * gdatainputstream.h:
1870 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1871 read_until with multiple stop chars.
1873 2007-11-27 Alexander Larsson <alexl@redhat.com>
1877 * inotify/Makefile.am:
1878 Use the user-specified giomoduledir
1880 2007-11-27 Alexander Larsson <alexl@redhat.com>
1884 Add catch-all gio.h header
1885 Don't install gdummyfile.h
1887 2007-11-26 Alexander Larsson <alexl@redhat.com>
1889 * Makefile.am (gioinclude_HEADERS):
1890 Remove trailing whitespace
1892 2007-11-26 Alexander Larsson <alexl@redhat.com>
1894 Merge gio-standalone into glib
1896 2007-11-25 Christian Kellner <gicmo@gnome.org>
1898 * gio/goutputstream.c:
1899 Fix small mistake in the docs.
1901 2007-11-21 Christian Persch <chpe@gnome.org>
1903 * gio/glocalfile.c: (g_local_file_trash):
1904 Convert filenames to UTF-8 for GError.
1905 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1906 as per xdg base dir spec.
1908 2007-11-21 Christian Persch <chpe@gnome.org>
1910 * gio/gdesktopappinfo.c:
1911 Use that g_key_file_to_data cannot fail.
1913 Use stock defines for the key file group and key names.
1916 2007-11-21 Alexander Larsson <alexl@redhat.com>
1919 (copy_stream_with_progress):
1920 Make sure we do a final progress callback with
1921 the full total size.
1923 2007-11-21 Alexander Larsson <alexl@redhat.com>
1926 Export g_file_copy_attributes
1927 Remove padding as its not needed for interfaces
1929 2007-11-20 Alexander Larsson <alexl@redhat.com>
1934 Add G_IO_ERROR_WOULD_MERGE for
1935 copy/move dir on dir with overwrite.
1937 2007-11-20 Alexander Larsson <alexl@redhat.com>
1940 * gio/glocalfileinfo.c:
1941 Add COPY_NAME (this is an optional
1942 non-modified utf8 version of the name) that
1945 2007-11-20 Alexander Larsson <alexl@redhat.com>
1947 * gio/glocalfileenumerator.c:
1948 Report errors as GIOError, not GFileError
1950 2007-11-16 Alexander Larsson <alexl@redhat.com>
1952 * gio/glocalfileoutputstream.c:
1953 * gio/gwin32appinfo.c:
1954 Fix typos in strings.
1955 Patch from Luca Ferretti <elle.uca@libero.it>
1957 2007-11-15 Alexander Larsson <alexl@redhat.com>
1960 Post release version bump
1962 === gio-standalone 0.1.2 ===
1964 2007-11-15 Alexander Larsson <alexl@redhat.com>
1966 * docs/reference/gio/Makefile.am:
1967 Fix up distcheck by removing weird
1973 2007-11-14 Alexander Larsson <alexl@redhat.com>
1975 * gio/gdesktopappinfo.c:
1976 * gio/glocaldirectorymonitor.c:
1978 * gio/glocalfileinfo.c:
1979 * gio/inotify/inotify-sub.c:
1980 * programs/gio-cat.c:
1981 * programs/gio-copy.c:
1982 * programs/gio-info.c:
1983 * programs/gio-ls.c:
1984 * programs/gio-monitor-dir.c:
1985 * programs/gio-monitor-file.c:
1986 * programs/gio-mount.c:
1987 * programs/gio-move.c:
1988 * programs/gio-rm.c:
1989 * programs/gio-save.c:
1990 * programs/gio-trash.c:
1991 Leak fixes from Kjartan Maraas
1993 2007-11-14 Alexander Larsson <alexl@redhat.com>
1995 * gio/fam/fam-helper.c:
1997 * gio/glocalfileinfo.c:
2001 * gio/inotify/inotify-diag.c:
2002 * gio/inotify/inotify-kernel.c:
2003 Various code cleanups from Kjartan Maraas
2005 2007-11-14 Alexander Larsson <alexl@redhat.com>
2007 * gio/gioscheduler.c:
2009 Set up threadpool so that we cache 2 unused
2010 idle threads for at 15 secs. This means we
2011 will reuse thread-local data (like dbus connections)
2014 2007-11-14 Alexander Larsson <alexl@redhat.com>
2016 * gio/fam/fam-helper.c:
2017 * gio/fam/gfamdirectorymonitor.c:
2018 * gio/fam/gfamfilemonitor.c:
2020 * gio/gcontenttype.c:
2021 * gio/gdatainputstream.c:
2022 * gio/gdataoutputstream.c:
2026 * gio/gfileattribute.h:
2027 * gio/gfileenumerator.c:
2029 * gio/ginputstream.c:
2032 * gio/glocalfileinfo.c:
2033 * gio/goutputstream.c:
2034 * gio/gpollfilemonitor.c:
2035 * gio/gsimpleasyncresult.c:
2036 * gio/gunixmounts.c:
2037 * gio/gunixmounts.h:
2038 * gio/inotify/ginotifydirectorymonitor.c:
2039 * gio/inotify/ginotifyfilemonitor.c:
2040 * gio/inotify/inotify-diag.c:
2041 * gio/inotify/inotify-kernel.c:
2042 * gio/inotify/inotify-path.c:
2044 * gio/test-streams.c:
2045 * programs/gio-info.c:
2046 * programs/gio-monitor-dir.c:
2047 * programs/gio-monitor-file.c:
2048 Various code cleanups from Kjartan Maraas
2050 2007-11-13 Alexander Larsson <alexl@redhat.com>
2053 Handle the uri-scheme calls for dummy files
2055 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2057 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2058 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2059 to avoid clash with the C++ keyword.
2061 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2063 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2064 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2066 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2068 * gio/glocaldirectorymonitor.c:
2069 * gio/glocalfilemonitor.c:
2070 * gio/gunionvolumemonitor.c:
2071 Don't use g_once_init_*() for initializations that could fail and
2072 could leave the initialization variable set to 0 but use GOnce.
2073 This prevents a deadlock on the second call when trying to create
2074 a monitor and no monitor type is available. Thanks to Sven Herzberg
2077 2007-11-11 Sven Herzberg <sven@imendio.com>
2079 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2080 #ifdef (make it work on MacOS X again)
2082 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2084 Fixes Changelog for last two commits (sorry guys).
2086 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2088 * gio/gbufferedinputstream.c:
2089 * gio/gdatainputstream.c:
2091 * gio/gfileoutputstream.c:
2092 * gio/gfilterinputstream.c:
2093 * gio/glocalfileinputstream.c:
2096 More consistency fixes in g*stream.c files.
2097 Significant clean of gfile's documentation, filling in of
2098 asynchronous operations documentation.
2100 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2102 * gio/gasyncresult.c:
2103 * gio/gbufferedinputstream.c:
2104 * gio/gbufferedoutputstream.c:
2105 * gio/gcancellable.c:
2106 * gio/gcontenttype.c:
2107 * gio/gdatainputstream.c:
2108 * gio/gdataoutputstream.c:
2109 * gio/gdesktopappinfo.c:
2112 * gio/gfileattribute.c:
2113 * gio/gio/gfileenumerator.c:
2115 * gio/gfileinputstream.c:
2116 * gio/gfilemonitor.c:
2117 * gio/gfileoutputstream.c:
2118 * gio/ginputstream.c:
2120 * gio/gioscheduler.c:
2121 * gio/gloadableicon.c:
2122 * gio/glocalfileoutputstream.c:
2123 * gio/gmemoryoutputstream.c:
2124 * gio/gmountoperation.c:
2125 * gio/goutputstream.c:
2127 * gio/gsimpleasyncresult.c:
2128 * gio/gunionvolumemonitor.c:
2129 * gio/gunixmounts.c:
2130 * gio/gunixvolume.c:
2134 * gio/gvolumemonitor.c:
2135 Updated documentation stubs, working towards consistency and
2138 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2140 * gio/gmemoryoutputstream.c:
2141 * gio/gmemoryoutputstream.h:
2142 Change g_memory_output_stream_set_free_on_close() to
2143 g_memory_output_stream_set_free_data() as this makes more sense and
2144 is more consistent with GMemoryInputStream.
2146 2007-11-07 Alexander Larsson <alexl@redhat.com>
2153 Change how we find the default vfs so that
2154 we can handle a gvfs failing to init
2156 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2158 * gio/gbufferedoutputstream.c:
2159 * gio/gdatainputstream.c:
2160 * gio/gdataoutputstream.c:
2161 * gio/gfileinputstream.c:
2162 * gio/gfileoutputstream.c:
2163 * gio/gfilterinputstream.c:
2164 * gio/gfilteroutputstream.c:
2165 * gio/ginputstream.c:
2166 * gio/gmemoryinputstream.c:
2167 * gio/gmemoryoutputstream.c:
2168 * gio/goutputstream.c:
2169 * gio/gsimpleasyncresult.c:
2170 * gio/gsocketinputstream.c:
2171 * gio/gsocketoutputstream.c:
2172 Add guards to the remaining public functions, add a TODO for
2173 an unimplemented function and remove some useless guards.
2175 2007-11-07 Alexander Larsson <alexl@redhat.com>
2178 Autoconf checks for the various types of
2179 getpwuid_r and getgrgid_r
2181 * gio/glocalfileinfo.c:
2182 Use the autoconf checks from above
2184 2007-11-07 Alexander Larsson <alexl@redhat.com>
2187 (g_local_file_query_filesystem_info):
2188 Some fixes for the statvfs case
2190 2007-11-07 Alexander Larsson <alexl@redhat.com>
2193 (g_local_file_query_filesystem_info):
2194 Pick the "best" of statfs / statvfs for the system
2195 if both are availible.
2197 2007-11-07 Alexander Larsson <alexl@redhat.com>
2199 Solaris fixes from Halton.Huo@Sun.COM:
2206 * gio/glocalfileinfo.c:
2207 Fix for solaris definition of getpwuid_r
2209 * gio/test-streams.c:
2210 Use G_GNUC_PRETTY_FUNCTION
2212 2007-11-07 Alexander Larsson <alexl@redhat.com>
2214 * gio/gdesktopappinfo.c:
2215 (update_default_list):
2216 Remove double semicolon.
2217 Patch from Jens Granseuer
2219 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2221 * docs/reference/gio/gio-sections.txt:
2222 * gio/gbufferedinputstream.c:
2223 * gio/gbufferedinputstream.h:
2224 * gio/gdatainputstream.c:
2225 * gio/gfileenumerator.c:
2226 * gio/gioscheduler.c:
2227 * gio/gunionvolumemonitor.c:
2229 * programs/gio-save.c:
2230 Fix typo: availible -> available. Unfortuntely this breaks API
2231 and ABI as g_buffered_input_stream_get_available() was renamed.
2233 * gio/gunixmounts.c:
2234 * gio/gbufferedinputstream.c:
2235 Add guards for public functions.
2237 2007-11-06 Ross Burton <ross@openedhand.com>
2239 * docs/reference/gio/Makefile.am:
2240 Fix invalid += usage which automake 1.10 doesn't like.
2242 2007-11-06 Alexander Larsson <alexl@redhat.com>
2245 (g_app_launch_context_class_init):
2248 Patch from Ross Burton
2250 2007-11-06 Alexander Larsson <alexl@redhat.com>
2253 Post release version bump
2255 === gio-standalone 0.1.1 ===
2257 2007-11-06 Alexander Larsson <alexl@redhat.com>
2260 Bump version to 0.1.1
2262 * gio/gsimpleasyncresult.c:
2263 (g_simple_async_result_set_from_error):
2264 Remove bogus g_return_if_fail
2266 2007-11-06 Alexander Larsson <alexl@redhat.com>
2269 The name is gio-standalone
2272 Add top src/builddir to includedir
2274 2007-11-06 Alexander Larsson <alexl@redhat.com>
2276 * docs/reference/gio/gio-sections.txt:
2278 * gio/gbufferedinputstream.c:
2279 * gio/gbufferedoutputstream.c:
2280 * gio/gcancellable.c:
2281 * gio/gdatainputstream.h:
2282 * gio/gdataoutputstream.c:
2283 * gio/gdataoutputstream.h:
2284 * gio/gdirectorymonitor.c:
2286 * gio/gfileattribute.c:
2287 * gio/gfileattribute.h:
2288 * gio/gfileenumerator.c:
2289 * gio/gfileenumerator.h:
2292 * gio/gfileinputstream.h:
2293 * gio/gfilemonitor.c:
2294 * gio/gfileoutputstream.h:
2295 * gio/glocalfilemonitor.h:
2296 * gio/glocalfileoutputstream.h:
2297 * gio/gmemoryinputstream.c:
2298 * gio/gmemoryoutputstream.c:
2299 * gio/gmountoperation.c:
2300 * gio/goutputstream.c:
2301 * gio/goutputstream.h:
2303 * gio/gsimpleasyncresult.c:
2304 * gio/gunixmounts.c:
2305 * gio/gunixmounts.h:
2307 * gio/inotify/inotify-helper.c:
2308 Fix gtk-doc warnings
2310 Patch from Ross Burton
2312 2007-11-06 Alexander Larsson <alexl@redhat.com>
2314 * gio/gfilenamecompleter.c:
2315 (g_filename_completer_get_completions):
2318 * gio/gunixvolume.c:
2319 Remove unused function
2321 Patches from Ross Burton
2323 2007-11-06 Alexander Larsson <alexl@redhat.com>
2328 Padding not needed for interfaces
2330 2007-11-06 Alexander Larsson <alexl@redhat.com>
2332 * gio/gfilemonitor.c:
2336 Make giotypes.h an internal file
2339 * gio/gbufferedinputstream.h:
2340 * gio/gbufferedoutputstream.h:
2341 * gio/gcancellable.h:
2342 * gio/gdatainputstream.h:
2343 * gio/gdataoutputstream.h:
2344 * gio/gdirectorymonitor.c:
2345 * gio/gdirectorymonitor.h:
2350 * gio/gfileattribute.h:
2351 * gio/gfileenumerator.h:
2356 * gio/gfilemonitor.c:
2357 * gio/gfilemonitor.h:
2358 * gio/gfilenamecompleter.c:
2359 * gio/gfilenamecompleter.h:
2360 * gio/gfilterinputstream.h:
2361 * gio/gfilteroutputstream.h:
2362 * gio/ginputstream.h:
2363 * gio/gmemoryinputstream.h:
2364 * gio/gmemoryoutputstream.h:
2365 * gio/gmountoperation.c:
2366 * gio/gmountoperation.h:
2367 * gio/gnativevolumemonitor.c:
2368 * gio/goutputstream.h:
2371 * gio/gsimpleasyncresult.c:
2372 * gio/gsimpleasyncresult.h:
2373 * gio/gsocketinputstream.h:
2374 * gio/gsocketoutputstream.h:
2375 * gio/gthemedicon.c:
2376 * gio/gthemedicon.h:
2380 * gio/gvolumemonitor.c:
2381 * gio/gvolumemonitor.h:
2382 Add padding in classes where it seems useful
2383 Don't include giotypes.h from public headers
2384 Move in Class definitions into c file where possible
2389 2007-11-06 Alexander Larsson <alexl@redhat.com>
2391 * docs/reference/gio/gio-docs.xml:
2392 Better structure for API docs
2394 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2397 * gio/gloadableicon.c:
2398 * gio/gsimpleasyncresult.c:
2399 * gio/gthemedicon.c:
2400 Add some more guards to public functions. Only files missing are now
2403 2007-11-06 Alexander Larsson <alexl@redhat.com>
2405 * docs/reference/gio/gio-docs.xml:
2406 Remove old files, add missing ones
2408 2007-11-06 Alexander Larsson <alexl@redhat.com>
2410 * docs/reference/gio/gio-sections.txt:
2413 Hide implementation classes
2415 * gio/gdriveprivate.h:
2416 * gio/gvolumeprivate.h:
2417 Remove non-existing function declarations
2419 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2422 Fix compilation warnings and add guards to the new functions.
2424 * gio/gasyncresult.c:
2426 Add guards to the public functions.
2429 Implement get_path().
2431 2007-11-06 Alexander Larsson <alexl@redhat.com>
2433 * gio/gfilenamecompleter.c:
2434 Make g_filename_completer_get_completions
2435 return char ** instead of GList for
2438 * docs/reference/gio/gio-docs.xml:
2439 * docs/reference/gio/gio-sections.txt:
2441 * gio/gasyncresult.c:
2442 * gio/gbufferedinputstream.c:
2443 * gio/gbufferedoutputstream.c:
2444 * gio/gcancellable.c:
2445 * gio/gcontenttype.c:
2446 * gio/gdatainputstream.c:
2447 * gio/gdataoutputstream.c:
2448 * gio/gdesktopappinfo.c:
2449 * gio/gdirectorymonitor.c:
2453 * gio/gfileattribute.c:
2454 * gio/gfileenumerator.c:
2457 * gio/gfileinputstream.c:
2458 * gio/gfilemonitor.c:
2459 * gio/gfilenamecompleter.c:
2460 * gio/gfilenamecompleter.h:
2461 * gio/gfileoutputstream.c:
2462 * gio/gfilterinputstream.c:
2464 * gio/ginputstream.c:
2466 * gio/gioscheduler.c:
2467 * gio/gloadableicon.c:
2468 * gio/glocaldirectorymonitor.c:
2470 * gio/glocalfileinputstream.c:
2471 * gio/glocalfilemonitor.c:
2472 * gio/glocalfileoutputstream.c:
2474 * gio/gmemoryinputstream.c:
2475 * gio/gmemoryoutputstream.c:
2476 * gio/gmountoperation.c:
2477 * gio/goutputstream.c:
2478 * gio/gpollfilemonitor.c:
2480 * gio/gsimpleasyncresult.c:
2481 * gio/gsocketinputstream.c:
2482 * gio/gsocketoutputstream.c:
2483 * gio/gthemedicon.c:
2484 * gio/gunionvolumemonitor.c:
2486 * gio/gunixmounts.c:
2487 * gio/gunixvolume.c:
2488 * gio/gunixvolumemonitor.c:
2492 * gio/gvolumemonitor.c:
2493 * gio/gwin32appinfo.c:
2494 Add (mostly stub) doc strings to public functions.
2495 Patch from Andrew Walton (awalton@gmail.com)
2497 2007-11-06 Alexander Larsson <alexl@redhat.com>
2499 * gio/gappinfo.[ch]:
2500 Added GAppLaunchContext object and pass that to launch.
2501 This allows simple implementation of both
2502 launch-on-screen and startup notification via a gtk+
2503 subclass of GAppLaunchContext
2505 * gio/gdesktopappinfo.c:
2506 Implement GAppLaunchContext API
2508 * gio/gwin32appinfo.c:
2511 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2513 * gio/gmountoperation.c:
2514 Add some guards to GMountOperation's public functions.
2516 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2520 * gio/gcancellable.c:
2521 * gio/gdirectorymonitor.c:
2523 * gio/gfileenumerator.c:
2524 * gio/gfilemonitor.c:,
2525 * gio/gfilenamecompleter.c:
2528 * gio/gioscheduler.c:
2532 * gio/gvolumemonitor.c:
2533 Add even more guards to various public functions.
2535 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2538 Add guards to the public functions of GAppInfo.
2540 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2542 * gio/gcontenttype.c:
2543 Add some more guards for public functions.
2545 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2547 * gio/fam/fam-module.c:
2548 * gio/fam/gfamdirectorymonitor.c:
2549 * gio/fam/gfamdirectorymonitor.h:
2550 * gio/fam/gfamfilemonitor.c:
2551 * gio/fam/gfamfilemonitor.h:
2552 * gio/inotify/ginotifydirectorymonitor.c:
2553 * gio/inotify/ginotifydirectorymonitor.h:
2554 * gio/inotify/ginotifyfilemonitor.c:
2555 * gio/inotify/ginotifyfilemonitor.h:
2556 Add proper copyright information and remove an unused variable
2557 in the GInotifyFileMonitor constructor.
2559 * gio/gcancellable.c:
2560 Add a guard for a public function and an assertion to prevent
2561 an undefined program state.
2563 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2565 * gio/gfileattribute.c:
2566 Don't run into an assertion if the given attribute value is NULL
2567 in g_file_attribute_value_get_*() but instead return a fallback
2568 value that makes sense in most situations. Passing them a attribute
2569 value with the wrong type will still run into an assertion.
2571 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2573 * gio/gfileattribute.c:
2575 Add even more guards to the public functions. Also fix the refcounting
2576 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2577 let g_file_info_list_attributes() filter the attributes by namespace
2578 instead of simply ignoring the namespace parameter.
2580 2007-11-03 Sven Herzberg <sven@imendio.com>
2582 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2583 (This makes gio work on MacOS X again)
2585 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2588 Build the gio subdirectory before the docs. Otherwise the build will
2591 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2592 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2593 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2594 Add guards to the public functions.
2596 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2598 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2599 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2600 to prevent a compiler warning.
2602 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2603 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2604 return something in the non-void function find_topdir_for().
2606 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2613 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2615 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2616 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2617 * gwin32appinfo.c (g_win32_app_info_launch):
2618 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2619 envp_for_startup_id, g_desktop_app_info_launch,
2620 g_desktop_app_info_launch_uris):
2622 Give an opaque 'startup_id' string instead of 'envp'.
2623 Support empty file lists for launching new windows.
2624 Fix infinite recursion bug when launching URIs.
2626 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2629 Add guard to the new g_file_get_uri_scheme() function.
2631 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2634 Convert a g_return_val_if_fail() to setting the GError instead as
2635 otherwise applications have to verify the parameter before otherwise
2636 and the parameter might come directly from the user.
2638 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2640 * gio/inotify/ginotify*.[ch]:
2641 Add missing copyright information.
2643 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2646 Add guards in the beginning of public functions to check for valid
2647 parameters and fix a bug in copy_stream_with_progress() that could've
2648 caused writing less bytes than reading.
2649 * gio/glocalfileinfo.c:
2650 Check for a NULL parameter and set the GError accordingly then.
2651 * gio/goutputstream.c:
2652 Fix the same bug as in gfile.c that could've caused writing less bytes
2653 than reading in g_output_stream_real_splice().
2655 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2658 Use the correct gvolumeprivate.h naming
2660 2007-11-01 Christian Kellner <gicmo@gnome.org>
2663 Remove leftover "$(daemon_sources)" entry.
2665 2007-11-01 Christian Kellner <gicmo@gnome.org>
2670 Add copyright information to source files.
2672 2007-11-01 Alexander Larsson <alexl@redhat.com>
2676 Add g_file_get_uri_scheme
2678 2007-11-01 Alexander Larsson <alexl@redhat.com>
2681 * gio/gdesktopappinfo.c:
2682 * gio/gwin32appinfo.c:
2683 Add g_app_info_get_default_for_uri_scheme.
2685 2007-11-01 Alexander Larsson <alexl@redhat.com>
2688 Correct filename for gdriveprivate.h
2690 2007-10-31 Alexander Larsson <alexl@redhat.com>
2693 Rename id:value to id:file
2696 * gio/glocalfileinfo.c:
2699 2007-10-31 Alexander Larsson <alexl@redhat.com>
2701 * gio/gunixvolume.c:
2703 Remove g_volume_get_platform_id, as thats not
2704 needed with the simpler union volume monitor
2706 2007-10-31 Alexander Larsson <alexl@redhat.com>
2709 * gio/guniondrive.[ch]: Removed.
2710 * gio/gunionvolume.[ch]: Removed.
2711 Remove GUnionDrive/Volume
2713 * gio/gunionvolumemonitor.c:
2714 Simplify union volume monitor, now we
2715 only have one native volume monitor and
2716 we use the actual volumes/drives from the
2717 child monitors instead of wrapping them
2719 * gio/gnativevolumemonitor.[ch]:
2720 Base class for native volume monitors.
2721 Includes priority and get_volume_for_mountpoint
2724 Add g_file_find_enclosing_volume
2727 Remove volume name fs attribute
2728 Add readonly fs attribute
2731 Implement readonly attribute
2732 remove volume name attribute
2733 Implement find_enclosing volume
2735 * gio/gunixmounts.c:
2736 Add a volume for "/".
2738 * gio/gunixvolume.[ch]:
2739 Set better name for /
2741 * gio/gunixvolumemonitor.[ch]:
2742 Derive from GNativeVolumeMonitor
2743 Implement get_volume_for_mountpoint
2746 GVolume typedef moved to gfile.h
2748 * gio/gvolumeprivate.h:
2749 Add g_volume_get_for_mount_path
2751 2007-10-31 Alexander Larsson <alexl@redhat.com>
2753 * gio/gunixmounts.[ch]:
2754 Add cache info to unix mount listers
2755 Make getmntent use threadsafe
2756 Add is_system_internal attribute for GUnixMount
2758 * gio/gunixvolume.c:
2759 (g_unix_volume_new):
2760 Use is_system_internal instead of own code
2762 * gio/glocaldirectorymonitor.c:
2763 * gio/gunixvolumemonitor.c:
2764 Update to new gunixmounts API
2769 2007-10-30 Alexander Larsson <alexl@redhat.com>
2772 Add volume name fsinfo attribute
2775 Read volume name info
2777 * gio/gunionvolumemonitor.c:
2778 Fix infinite loops when finalizing a union volume monitor
2780 2007-10-30 Alexander Larsson <alexl@redhat.com>
2782 * gio/goutputstream.[ch]:
2783 Add splice() with default implementation
2785 * gio/gsocketoutputstream.c:
2786 (g_socket_output_stream_write):
2787 Return error on cancellation correctly.
2789 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2791 * gio/glocalfile.c (g_local_file_trash):
2792 Do not leak a string.
2794 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2796 * gio/gfile.c (g_file_load_contents):
2797 Unref the stream after closing it.
2799 2007-10-25 Alexander Larsson <alexl@redhat.com>
2801 * gio/gioscheduler.h:
2804 2007-10-25 Alexander Larsson <alexl@redhat.com>
2808 Add g_file_has_uri_scheme and implement for local files
2810 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2812 * gio/gdesktopappinfo.c: do not leak a string.
2814 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2816 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2817 (g_local_directory_monitor_new):
2818 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2819 (g_local_file_monitor_new):
2820 Only look for the monitor type that should be used the first time
2821 and use g_qsort_with_data() instead of our own bubble sort
2824 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2827 * gio/fam/Makefile.am:
2828 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2829 * gio/fam/fam-helper.h:
2830 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2831 * gio/fam/gfamdirectorymonitor.c:
2832 * gio/fam/gfamdirectorymonitor.h:
2833 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2834 * gio/fam/gfamfilemonitor.h:
2835 * gio/glocaldirectorymonitor.c:
2836 * gio/glocaldirectorymonitor.h:
2837 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2838 * gio/glocalfilemonitor.h:
2839 * gio/inotify/Makefile.am:
2840 * gio/inotify/ginotifydirectorymonitor.c:
2841 * gio/inotify/ginotifydirectorymonitor.h:
2842 * gio/inotify/ginotifyfilemonitor.c:
2843 * gio/inotify/ginotifyfilemonitor.h:
2844 Implement the FAM and Inotify monitors as
2845 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2846 their own GIO module. GLocal(Directory|File)Monitor will use the
2847 monitor with the highest rank that is supported on that machine.
2849 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2852 Change GIO module dir to $(libdir)/gio/modules and change
2853 the log domain from GVFS to GIO. Also only export symbols starting
2854 with g_ in the resulting library.
2855 * gio/test-streams.c: (main):
2856 Set log handler for the GIO log domain.
2858 2007-10-22 Alexander Larsson <alexl@redhat.com>
2860 * gio/gfilenamecompleter.[ch]:
2861 Add g_filename_completer_set_dirs_only
2863 2007-10-22 Alexander Larsson <alexl@redhat.com>
2866 * gio/gurifuncs.[ch]:
2867 Add some simple URI helpers
2869 * gio/gfilenamecompleter.[ch]:
2870 Added object for filename (parse name actually) completion
2873 Handle ~ in parse names
2875 2007-10-17 Alexander Larsson <alexl@redhat.com>
2878 * gio/glocalfileinfo.c:
2879 Add and implement id:value attribute
2881 2007-10-17 Alexander Larsson <alexl@redhat.com>
2884 * gio/guniondrive.c:
2886 Add and implement g_drive_has_volumes
2888 2007-10-17 Alexander Larsson <alexl@redhat.com>
2891 * gio/glocalfileinfo.[ch]:
2892 Add unix:is_mountpoint and implement for local files
2894 2007-10-16 Alexander Larsson <alexl@redhat.com>
2896 * gio/gunionvolumemonitor.c:
2897 (g_union_volume_monitor_init):
2898 Fix up the unix type getting so that it works with gcc
2900 2007-10-12 Alexander Larsson <alexl@redhat.com>
2903 * gio/glocalfileinfo.c:
2904 Add thumbnail:failed to file info
2906 2007-10-12 Richard Hult <richard@imendio.com>
2908 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2909 optimizing away the get_type call (happens with some gcc versions,
2910 like the one shipped with OS X 10.4).
2912 2007-10-12 Alexander Larsson <alexl@redhat.com>
2914 * gio/glocalfileinfo.c:
2915 (_g_local_file_info_set_attribute):
2916 Fix build if not HAVE_XATTR
2917 Patch from Milosz Derezynski <internalerror@gmail.com>
2919 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2921 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2922 around for review, otherwise I would have asked you before
2925 2007-10-11 Alexander Larsson <alexl@redhat.com>
2928 Add thumbnail:path attribute
2930 * gio/glocalfileinfo.c:
2931 Implement thumbnail:path for local files
2933 2007-10-11 Alexander Larsson <alexl@redhat.com>
2935 * gio/glocalfileinfo.c:
2936 (_g_local_file_info_get):
2937 Avoid duplicate icon names
2939 2007-10-11 Alexander Larsson <alexl@redhat.com>
2941 * gio/gthemedicon.[ch]:
2942 Change g_themed_icon_get_names return type to const
2944 2007-10-10 Alexander Larsson <alexl@redhat.com>
2946 * gio/glocalfileinfo.c:
2947 Don't reference freed memory
2949 2007-10-10 Alexander Larsson <alexl@redhat.com>
2951 * gio/gfileattribute.c:
2954 * gio/glocalfileinfo.c:
2957 2007-10-10 Alexander Larsson <alexl@redhat.com>
2960 Check for NULL icons
2962 * gio/gfileattribute.c:
2963 Don't dup when getting objects (same as for string attributes)
2965 * gio/gicon.c (g_icon_equal):
2966 Safely handle NULLs in equal
2968 2007-10-10 Alexander Larsson <alexl@redhat.com>
2971 Fix c++ compilation issues
2972 Patch from Milosz Derezynski <internalerror@gmail.com>
2974 2007-10-10 Alexander Larsson <alexl@redhat.com>
2976 * programs/gio-monitor-dir.c:
2977 Don't crash if dir monitor not supported.
2979 2007-10-09 Alexander Larsson <alexl@redhat.com>
2982 Add missing G_END_DECLS
2984 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2986 * gio/gfile.c: (g_file_set_display_name),
2987 (g_file_query_settable_attributes),
2988 (g_file_query_writable_namespaces):
2989 Return NULL not FALSE on errors as the return type is a pointer.
2991 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2993 * gio/glocalfile.c: (g_local_file_monitor_file):
2994 Don't call monitor_file on the default interface vtable (which
2995 is NULL) but simply return NULL. The caller, GFile, will create a
2996 polling monitor if NULL is returned.
2998 2007-10-09 Alexander Larsson <alexl@redhat.com>
3002 * gio-unix-2.0.pc.in:
3003 Add gio-unix-2.0.pc if OS_UNIX
3006 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3008 2007-10-09 Alexander Larsson <alexl@redhat.com>
3010 * gio/gunixmounts.[ch]:
3011 Make unix mount monitoring API sane.
3012 Now its just a object with mounts_changed
3013 and mountpoints_changed signals.
3015 * gio/glocaldirectorymonitor.c:
3016 * gio/gunixvolumemonitor.c:
3017 Use new mount monitor api
3019 2007-10-09 Alexander Larsson <alexl@redhat.com>
3021 * gio/gunixmounts.[ch]:
3022 Move guess type into one call for mounts and one for mountpoints
3025 * gio/gunixvolume.c:
3028 2007-10-09 Alexander Larsson <alexl@redhat.com>
3030 * gio/gunixmounts.[ch]:
3031 Remove _ prefix in preparation to make this semi-public
3032 Hide implementation of structs
3034 * gio/glocaldirectorymonitor.c:
3036 * gio/gunixvolume.c:
3037 * gio/gunixvolumemonitor.c:
3038 Update for above API changes
3040 2007-10-08 Alexander Larsson <alexl@redhat.com>
3043 Better polling fallback. This also handles the case where we have
3044 a monitor_file implementation, but it fails.
3046 2007-10-08 Alexander Larsson <alexl@redhat.com>
3050 * gio/gunixmounts.c:
3051 * programs/gio-monitor-dir.c:
3052 * programs/gio-monitor-file.c:
3053 Added cancellable to file monitoring calls.
3054 These are really sync calls and need this.
3056 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3058 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3059 (g_local_vfs_class_init):
3060 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3061 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3063 2007-10-05 Alexander Larsson <alexl@redhat.com>
3065 * gio/gdirectorymonitorprivate.h:
3066 * gio/gfilemonitorprivate.h:
3067 * gio/gdirectorymonitor.h:
3068 * gio/gfilemonitor.h:
3069 Remove *private.h and move to the public API, so that
3070 we can do implementations outside gio (such as in gvfs)
3072 * gio/gdirectorymonitor.c:
3073 * gio/gfilemonitor.c:
3074 * gio/glocaldirectorymonitor.c:
3075 * gio/gpollfilemonitor.c:
3076 * gio/inotify/inotify-helper.c:
3077 * gio/fam/fam-helper.c:
3078 Update to the new header names
3080 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3082 * gio/gdirectorymonitor.c:
3083 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3086 2007-10-04 Alexander Larsson <alexl@redhat.com>
3088 * gio/glocalfileinfo.c (get_access_rights):
3089 Set CAN_TRASH when we can move the file.
3090 We should really also check for a parent trash dir.
3092 2007-10-04 Alexander Larsson <alexl@redhat.com>
3094 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3095 Add can_trash access attribute
3097 2007-10-04 Alexander Larsson <alexl@redhat.com>
3100 (g_local_file_trash):
3101 Create info file first. This is per-spec and allows
3102 us to actually trash directories.
3104 2007-10-02 Alexander Larsson <alexl@redhat.com>
3106 * gio/gdesktopappinfo.c:
3107 Implement the new mime support code.
3108 Always set app as handling mimetype when being set as default for it
3110 2007-10-01 Alexander Larsson <alexl@redhat.com>
3112 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3113 Fix up check for xattrs:
3115 2007-10-01 Alexander Larsson <alexl@redhat.com>
3118 (g_app_info_set_as_default_for_extension):
3119 (g_app_info_add_supports_type):
3120 (g_app_info_can_remove_supports_type):
3121 (g_app_info_remove_supports_type):
3122 Make these fail nicely if not implemented
3124 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3126 * gio/glocalfileoutputstream.c:
3127 * gio/glocalfileoutputstream.h:
3132 * programs/gio-save.c:
3133 Add a GFileCreateFlags argument to operations that can create
3136 2007-10-01 Alexander Larsson <alexl@redhat.com>
3138 * gio/gappinfo.[ch]:
3139 * gio/gdesktopappinfo.c:
3140 Add more (stubbed out) mime API needed for nautilus
3142 2007-10-01 Alexander Larsson <alexl@redhat.com>
3145 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3146 Add g_app_info_set_as_default_for_extension.
3148 * gio/gdesktopappinfo.c:
3149 Dummy for g_app_info_set_as_default_for_extension
3150 Support flags in g_app_info_create_from_commandline
3152 * gio/gwin32appinfo.c:
3154 Update for API changes
3156 * gio/gthemedicon.c:
3157 Properly NULL-terminate list of icon names
3159 2007-09-28 Alexander Larsson <alexl@redhat.com>
3161 * gio/gloadableicon.h:
3162 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3164 2007-09-28 Alexander Larsson <alexl@redhat.com>
3167 Install headers in $includedir/gio-standalone/
3169 * gio-2.0.pc.in: Added.
3170 * gio-standalone.pc.in: Removed.
3173 Renamed pkg-config file to match glib (for future move)
3174 Update to the new include dir
3177 Add more TODO comments
3179 2007-09-28 Alexander Larsson <alexl@redhat.com>
3181 * gio/gdesktopappinfo.[ch]:
3182 Expose new_from_filename
3183 Add getter for is_hidden and handle it better
3185 2007-09-28 Alexander Larsson <alexl@redhat.com>
3187 * gio/gfileinfo.[ch]:
3188 Rename g_file_size_format_for_display to
3189 g_format_file_size_for_display.
3190 Now it doesn't have the g_file prefix, so we
3191 can later move it to glib.
3193 2007-09-28 Alexander Larsson <alexl@redhat.com>
3195 * gio/gappinfo.[ch]:
3196 Add g_app_info_get_id and g_app_info_get_executable.
3197 Make all getters non-reffing
3198 Make g_app_info_launch take GFile arguments.
3199 Add must_support_uris argument to g_app_info_get_default_for_type.
3201 * gio/gwin32appinfo.c:
3202 Update to GAppInfo api changes
3204 * gio/gdesktopappinfo.c:
3205 Update to GAppInfo api changes
3206 Implement supports_xdg_startup_notify
3208 * gio/gfileicon.c (g_file_icon_get_file):
3209 Make getter non-reffing.
3214 2007-09-27 Alexander Larsson <alexl@redhat.com>
3216 * gio/gfileinfo.[ch]:
3217 Add g_file_size_format_for_display helper
3219 2007-09-27 Alexander Larsson <alexl@redhat.com>
3221 * gio/glocalfileinfo.c:
3222 Set UNIX_GID from gid, not from uid
3224 2007-09-27 Alexander Larsson <alexl@redhat.com>
3227 Add g_file_set_attributes_async
3229 2007-09-27 Alexander Larsson <alexl@redhat.com>
3231 * gio/glocalfile.c (g_local_file_set_display_name):
3232 Fix set_display_name to actually rename to the right place.
3233 Use lstat to look for existing files so we don't overwrite
3236 2007-09-26 Alexander Larsson <alexl@redhat.com>
3239 Add g_file_set_display_name_async()
3241 2007-09-26 Alexander Larsson <alexl@redhat.com>
3244 Add load_partial_contents async calls
3247 Make internal function static
3249 2007-09-26 Alexander Larsson <alexl@redhat.com>
3251 * gio/glocalfileinfo.c:
3252 Correctly detect broken symlinks
3254 2007-09-26 Alexander Larsson <alexl@redhat.com>
3256 * gio/gcancellable.c (g_cancellable_cancel):
3257 Allow cancel on NULL cancellable
3259 2007-09-25 Alexander Larsson <alexl@redhat.com>
3261 * gio/gsimpleasyncresult.c:
3262 Don't allocate g_error manually.
3263 Fixes g_slice/g_new mixup crash
3265 2007-09-25 Alexander Larsson <alexl@redhat.com>
3267 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3268 Actually set active_backend.
3269 This means the monitor will be cancelled correctly.
3271 2007-09-25 Alexander Larsson <alexl@redhat.com>
3273 * gio/gdirectorymonitor.c:
3274 Set timeout to NULL when destroying
3276 2007-09-25 Alexander Larsson <alexl@redhat.com>
3279 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3280 that is a better description of the error.
3282 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3284 * gio/gvfs.c: (g_vfs_get_local):
3285 Make the local vfs variable static. The same instance should
3288 2007-09-24 Alexander Larsson <alexl@redhat.com>
3290 * gio/glocalfileinfo.c:
3291 Pass in actual length read into sniffer, not the length
3294 2007-09-21 Alexander Larsson <alexl@redhat.com>
3296 * gio/gfileenumerator.c:
3299 * gio/gfileinputstream.c:
3300 * gio/gfileoutputstream.c:
3301 * gio/ginputstream.c:
3302 * gio/goutputstream.c:
3303 Don't crash if async callbacks are NULL
3305 2007-09-20 Alexander Larsson <alexl@redhat.com>
3308 Add async enumerate_children method and default
3311 2007-09-20 Alexander Larsson <alexl@redhat.com>
3314 Add g_file_contains_file & g_file_get_relative_path, since they
3315 were needed for nautilus.
3316 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3321 Implement new methods
3323 2007-09-17 Alexander Larsson <alexl@redhat.com>
3326 * gio/gfileinputstream.[ch]:
3327 * gio/gfileoutputstream.[ch]:
3329 * gio/glocalfileenumerator.[ch]:
3330 * gio/glocalfileinfo.[ch]:
3331 * gio/glocalfileinputstream.c:
3332 * gio/glocalfileoutputstream.c:
3333 * gio/gpollfilemonitor.c:
3334 * programs/gio-copy.c:
3335 * programs/gio-info.c:
3336 * programs/gio-move.c:
3337 Rename get_file_info to query_info() to make it clearer
3338 that these are not simple getters, but do i/o.
3340 2007-09-17 Alexander Larsson <alexl@redhat.com>
3342 * gio/gdatainputstream.[ch]:
3343 * gio/test-streams.c:
3344 Use _read_XXX instead of _get_XXX for the i/o calls
3347 2007-09-17 Alexander Larsson <alexl@redhat.com>
3350 Added needed stuff to TODO comment
3352 2007-09-17 Alexander Larsson <alexl@redhat.com>
3354 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3355 Don't error out removing the backup copy if it doesn't
3358 2007-09-14 Alexander Larsson <alexl@redhat.com>
3360 * programs/Makefile.am:
3361 * programs/gvfs-*.c:
3363 Renamed apps from gvfs-xxx to gio-xxx.
3365 2007-09-14 Alexander Larsson <alexl@redhat.com>
3368 * gio/gfileoutputstream.[ch]:
3369 * gio/glocalfileoutputstream.c:
3370 * programs/gvfs-save.c:
3371 g_file_output_stream_get_etag doesn't do i/o, so remove
3372 cancellation and error.
3374 2007-09-14 Alexander Larsson <alexl@redhat.com>
3377 Add new_etag output to replace_contents functions
3379 2007-09-14 Alexander Larsson <alexl@redhat.com>
3381 * gio/gfileoutputstream.[ch]:
3382 Add async get_file_info and default implementation
3384 2007-09-14 Alexander Larsson <alexl@redhat.com>
3386 * gio/gfileinputstream.c:
3387 Implement fallback wrapper for async get_file_info
3389 2007-09-14 Alexander Larsson <alexl@redhat.com>
3392 Add etag out argument to load_contents
3397 2007-09-14 Alexander Larsson <alexl@redhat.com>
3399 * gio/gcontenttype.c (looks_like_text):
3400 Whitespace like tab, cr and lf do not make the
3403 2007-09-14 Alexander Larsson <alexl@redhat.com>
3405 * gio/gfileinputstream.[ch]:
3406 Add async get_file_info.
3408 2007-09-13 Alexander Larsson <alexl@redhat.com>
3410 * gio/goutputstream.c (g_output_stream_write_all):
3411 Allow NULL for bytes_written
3413 2007-09-13 Alexander Larsson <alexl@redhat.com>
3415 * gio/gmemoryinputstream.[ch]:
3416 Add accessors for data
3418 2007-09-13 Alexander Larsson <alexl@redhat.com>
3420 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3421 Don't crash if length is NULL