1 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
4 Remove trailing coma in GMountMountFlags struct
6 2008-02-18 Alexander Larsson <alexl@redhat.com>
10 * glocalfileoutputstream.c:
11 Use g_unlink/g_rename instead of unlink/rename;
12 do not pass raw filenames to g_set_error. (#517239)
13 Patch from Yevgen Muntyan.
15 2008-02-18 Alexander Larsson <alexl@redhat.com>
18 * glocalfileoutputstream.c:
19 Open files with O_BINARY on windows. (#517140)
21 2008-02-14 Alexander Larsson <alexl@redhat.com>
23 * glocalfileoutputstream.c:
24 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
26 2008-02-14 Alexander Larsson <alexl@redhat.com>
29 Copy permissions with file on copy (#514084)
30 This is what cp does and makes sure e.g. the
31 exec permissions are kept.
32 Its kinda weird in that it keeps the permission bits
33 the same while the uid and gid are different. However
34 the new uid is the user so its not a security issue,
35 and I've heard no complaints about cp on this issue.
37 2008-02-13 Ryan Lortie <desrt@desrt.ca>
39 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
41 2008-02-13 Alexander Larsson <alexl@redhat.com>
43 * inotify/inotify-path.c:
44 Define IN_ONLYDIR if not in header (#515346)
46 2008-02-12 Alexander Larsson <alexl@redhat.com>
48 * tests/live-g-file.c:
51 2008-02-11 Matthias Clasen <mclasen@redhat.com>
53 * === Released 2.15.5 ===
55 2008-02-11 Matthias Clasen <mclasen@redhat.com>
57 * gio.symbols: Add g_mount_mount_flags_get_type.
59 2008-02-11 Alexander Larsson <alexl@redhat.com>
62 (g_file_info_set_attribute_mask):
63 (g_file_attribute_matcher_matches_id):
64 Correctly handle NULL GAttributeMatcher meaning
65 matches nothing. (Fixes #513492)
67 2008-02-11 Alexander Larsson <alexl@redhat.com>
72 Added GMountMountFlags enum and added a flags
73 argument to all mount calls.
75 This is an API/ABI change for future extensibility,
76 as I think we will need at least an
77 inhibit-autorun flag (the panel needs this).
78 There are no flags defined yet though.
80 2008-02-11 Alexander Larsson <alexl@redhat.com>
83 Added new standard::description attribute.
84 Requested by Vincent, and useful for both
87 2008-02-11 Alexander Larsson <alexl@redhat.com>
92 2008-02-11 Matthias Clasen <mclasen@redhat.com>
94 * *.c: Documentation additions
96 2008-02-10 Matthias Clasen <mclasen@redhat.com>
98 * gappinfo.h: Formatting cleanup
99 * gappinfo.c: Fix up docs.
101 2008-02-09 Matthias Clasen <mclasen@redhat.com>
103 * gunixmounts.c: Consistently use getmntent_r() and fall
104 back to getmntent(). (#515492)
106 2008-02-09 Matthias Clasen <mclasen@redhat.com>
108 * gbufferedinputstream.c:
110 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
112 * tests/data-input-stream.c:
113 * tests/data-output-stream.c: Portability fixes.
115 2008-02-08 Alexander Larsson <alexl@redhat.com>
120 Add g_volume_should_automount.
123 2008-02-07 Tor Lillqvist <tml@novell.com>
125 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
126 Win32, too Unix-specific.
128 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
130 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
131 a local plt if the compiler doesn't support what we want. Bug #514702
133 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
135 reviewed by: <delete if not using a buddy>
138 * gunixinputstream.c:
139 * gunixoutputstream.c:
141 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
144 * tests/live-g-file.c:
145 * tests/live-g-file.txt:
146 New GIO testing module working over real data
148 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
150 * glocalfileoutputstream.c (g_local_file_output_stream_close):
151 Fallback to rename() if link() is not available
152 (when no support on target filesystem)
154 2008-02-06 Michael Natterer <mitch@imendio.com>
156 * gfileinfo.c (g_file_info_get_icon): replace
157 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
159 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
161 * gfile.c (g_file_create):
162 Documentation update of error codes
164 2008-02-06 Alexander Larsson <alexl@redhat.com>
167 Update to use both mimeapps.list and
168 defaults.list as discussed on xdg list.
170 2008-02-06 Benjamin Otte <otte@gnome.org>
173 * gfilenamecompleter.c:
174 Fix some typos in the documentation.
176 2008-02-06 Alexander Larsson <alexl@redhat.com>
178 * glocalfile.c (g_local_file_trash):
179 Don't succeed with trash if newly created
180 trash dir has the wrong owner. (#514696)
182 2008-02-05 Alexander Larsson <alexl@redhat.com>
184 * glocalfile.c (g_local_file_move):
185 Don't spew warnings when destination is not
188 2008-02-03 Hans Breuer <hans@breuer.org>
190 * makefile.msc : update
192 2008-02-01 Michael Natterer <mitch@imendio.com>
194 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
195 return value of xdg_mime_list_mime_parents() to a variable of the
198 2008-02-01 Alexander Larsson <alexl@redhat.com>
200 * gappinfo.c (g_app_info_launch_uris):
201 Actually call the launch_uris method, not
204 2008-02-01 Alexander Larsson <alexl@redhat.com>
206 * gdesktopappinfo.c (g_desktop_app_info_equal):
207 Ensure appinfos with no id but same pointer value
210 2008-02-01 Alexander Larsson <alexl@redhat.com>
212 * gappinfo.c (g_app_info_launch_default_for_uri):
215 2008-02-01 Alexander Larsson <alexl@redhat.com>
219 Add g_app_info_launch_default_for_uri utility
222 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
225 Doc fix for g_app_info_get_default_for_uri_scheme ()
228 2008-01-30 Alexander Larsson <alexl@redhat.com>
231 Add doc comment about uris vs GFiles to
235 Ensure uris passed to g_app_info_launch_uris()
236 are not roundtriped through GFile (as that
237 may be slightly destructive for e.g. mailto: links)
239 2008-01-30 Alexander Larsson <alexl@redhat.com>
241 * tests/data-input-stream.c:
242 * tests/data-output-stream.c:
243 C89 fixes from Jens Granseuer (#512849)
245 2008-01-30 Alexander Larsson <alexl@redhat.com>
248 Fix gamin/fam difference build issue. (#509419)
250 2008-01-29 Alexander Larsson <alexl@redhat.com>
254 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
256 2008-01-29 Alexander Larsson <alexl@redhat.com>
260 giomodule-priv.h include moved to .c file.
262 2008-01-29 Alexander Larsson <alexl@redhat.com>
264 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
265 Remove unused prio/name fields.
267 2008-01-29 Alexander Larsson <alexl@redhat.com>
269 * gcontenttype.c (looks_like_text):
270 Don't treat whitespace as control chars.
272 2008-01-29 Alexander Larsson <alexl@redhat.com>
275 Lazily create the desktop files for appinfos created
276 by g_app_info_create_from_commandline() when needed
277 for mime associations. This allows run-time use
278 of GAppInfo object without creating unnecessary
281 2008-01-29 Alexander Larsson <alexl@redhat.com>
284 Added new symbols to gio.symbols
286 2008-01-29 Alexander Larsson <alexl@redhat.com>
289 Add g_file_query_default_handler utility to easily look up
290 the GAppInfo that handles a file.
292 * gdesktopappinfo.[ch]:
294 Set up an extension point for g_app_info_get_default_for_uri_scheme()
297 Remove unused function
299 2008-01-29 Alexander Larsson <alexl@redhat.com>
302 Mention need to free returned value in
303 g_file_enumerator_next_files_finish docs.
304 Fix leak if g_file_enumerator_next_files_finish()
307 2008-01-29 Alexander Larsson <alexl@redhat.com>
310 (_g_unix_content_type_get_parents):
311 Use list_parents, not get_parents from xdgmime, because
312 the later doesn't use the cache.
314 * xdgmime/xdgmimecache.c:
315 (_xdg_mime_cache_list_mime_parents):
316 Don't list the same type as parent multiple times.
318 2008-01-28 Matthias Clasen <mclasen@redhat.com>
320 * === Released 2.15.4 ===
322 2008-01-28 Alexander Larsson <alexl@redhat.com>
325 Register local vfs with prio 0.
328 Remove old name and prio class members
330 2008-01-28 Matthias Clasen <mclasen@redhat.com>
332 * tests/g-file.c: Disable some tests that are failing in
333 the absence of a http backend.
335 2008-01-28 Alexander Larsson <alexl@redhat.com>
339 Add registration hooks for extension points.
340 Register the gio extension points.
342 * fam/gfamdirectorymonitor.c:
343 * fam/gfamfilemonitor.c:
344 * glocaldirectorymonitor.[ch]:
345 * glocalfilemonitor.[ch]:
346 * gnativevolumemonitor.h:
347 * gunionvolumemonitor.c:
348 * gunixvolumemonitor.c:
351 * inotify/ginotifydirectorymonitor.c:
352 * inotify/ginotifyfilemonitor.c:
353 Use the extension points registration instead
354 of g_type_children().
356 2008-01-28 Matthias Clasen <mclasen@redhat.com>
359 * gvolume.[hc]: Document new API.
361 * gfile.c (g_file_copy_async): Fix docs
363 2008-01-27 Matthias Clasen <mclasen@redhat.com>
365 * gbufferedinputstream.c:
367 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
370 2008-01-27 Matthias Clasen <mclasen@redhat.com>
372 * glocalfile.c: Avoid trivial differences in translatable strings.
374 2008-01-25 Matthias Clasen <mclasen@redhat.com>
376 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
377 build with gcc 3.4 (#509419)
379 2008-01-25 Matthias Clasen <mclasen@redhat.com>
381 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
382 (#509994, Murray Cumming)
384 2008-01-25 Matthias Clasen <mclasen@redhat.com>
386 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
387 * gioscheduler.c: Keep calling io jobs until they return FALSE;
388 this allows big jobs to be executed in chunks, instead of blocking
389 the main loop for a long time.
391 * gsimpleasyncresult.c:
392 * giofile.c: Adapt callers.
394 2008-01-25 Alexander Larsson <alexl@redhat.com>
397 Implement changes discussed on xdg list.
398 Now we can add supported mimetypes by just using defaults.list
399 We can also remove associations in defaults.list.
401 2008-01-25 Alexander Larsson <alexl@redhat.com>
404 Don't make local copy of desktop file
405 for mimetype changes if the file already
406 supports the new mimetype.
408 2008-01-25 Matthias Clasen <mclasen@redhat.com>
412 * gbufferedinputstream.c:
413 * glocalfile.c: String improvements. (#511966,
414 Theppitak Karoonboonyanan)
416 2008-01-24 Matthias Clasen <mclasen@redhat.com>
418 * gioscheduler.h: Expand docs a bit.
420 2008-01-24 Alexander Larsson <alexl@redhat.com>
423 Add g_drive_get_identifier and
424 g_drive_enumerate_identifiers
427 Add g_volume_get_identifier and
428 g_volume_enumerate_identifiers
434 Implement identifiers for unix backend
436 2008-01-24 Alexander Larsson <alexl@redhat.com>
441 Add g_file_copy_async() (#511580)
442 Based on patch from Carlos Garcia Campos
444 2008-01-23 Matthias Clasen <mclasen@redhat.com>
446 * gioscheduler.c: Some documentation additions.
448 2008-01-22 Alexander Larsson <alexl@redhat.com>
451 (g_desktop_app_info_new):
454 2008-01-22 Alexander Larsson <alexl@redhat.com>
457 (g_desktop_app_info_new_from_filename):
460 2008-01-22 Alexander Larsson <alexl@redhat.com>
462 * glocalfileinfo.c (get_thumbnail_attributes):
465 2008-01-22 Alexander Larsson <alexl@redhat.com>
468 (canonicalize_filename):
469 Canonicalize paths that start with more than
474 (test_g_file_new_for_path):
477 2008-01-22 Alexander Larsson <alexl@redhat.com>
480 Allow UTF-8 in file:// parse names.
483 * tests/data-input-stream.c:
484 * tests/data-output-stream.c:
485 * tests/g-file-info.c:
487 Added a bunch of tests from Tomas Bzatek
489 2008-01-21 Matthias Clasen <mclasen@redhat.com>
491 * === Released 2.15.3 ===
493 2008-01-21 Alexander Larsson <alexl@redhat.com>
495 * gfileinputstream.[ch]:
496 * gfileoutputstream.[ch]:
498 Remove duplicated GSeekable functions. (#509990)
499 Just use the g_seekable_xxx() calls instead.
501 2008-01-21 Matthias Clasen <mclasen@redhat.com>
504 * gvolumemanager.c: Whitespace cleanups.
506 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
507 Use the right mode when creating the file.
509 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
512 * gfileinputstream.c:
514 * goutputstream.c: Documentation: Fixed minor typos
515 and added more mentions of specific _finish() functions.
517 2008-01-21 Alexander Larsson <alexl@redhat.com>
519 * inotify/Makefile.am:
520 * inotify/inotify-helper.c:
521 * inotify/inotify-kernel.c:
522 * inotify/inotify-path.c:
523 * inotify/local_inotify.h: Removed.
524 * inotify/local_inotify_syscalls.h: Removed.
525 Removed the included copies of the inotify
526 headers. We now only use the <sys/inotify.h>
527 header which exists on modern systems.
528 This fixes problems on ARM and SH5 (#510448)
529 but is also generally much cleaner and future
530 safe. For instance, if other OSes add support
531 for inotify it should "just work".
533 2008-01-20 Matthias Clasen <mclasen@redhat.com>
535 * inotify/*.c: Coding style fixes.
536 * inotify/inotify-missing.c: Use g_timeout_add_seconds
537 for the 1/4 Hz timer.
539 2008-01-20 Matthias Clasen <mclasen@redhat.com>
543 * gmemoryinputstream.c:
544 * gmemoryoutputstream.c:
546 * gthemedicon.c: Documentation updates
548 2008-01-20 Murray Cumming <murrayc@murrayc.com>
550 * gfile.c: documentation: Fixed more minor
553 2008-01-18 Murray Cumming <murrayc@murrayc.com>
555 * gmount.c: (g_mount_remount): documentation:
556 Mention g_mount_remount_finish() instead of
557 g_mount_unmount_finish().
559 2008-01-18 Murray Cumming <murrayc@murrayc.com>
563 * gfile.c: Fixed some minor typos in the
566 2008-01-18 Murray Cumming <murrayc@murrayc.com>
568 * gio/gvolumemonitor.c:
569 (g_volume_monitor_get_connected_drives):
570 (g_volume_monitor_get_volumes):
571 (g_volume_monitor_get_mounts): Documentation:
572 Clarify the ownership of the regurn GLists.
574 2008-01-17 Alexander Larsson <alexl@redhat.com>
577 Add the async find_enclosing_mount version
578 to the header file too.
580 2008-01-17 Alexander Larsson <alexl@redhat.com>
583 Add async version of find_enclosing_mount
584 with default implementation.
586 2008-01-17 Alexander Larsson <alexl@redhat.com>
591 Allow calls to implementation of copy and write
592 even if the type of the file implementations is
593 different. This can be used to implement native
594 upload and download calls in a vfs.
598 Protect against the case where move is called
599 with one file not being local.
601 Make sure we call the progress callback once
602 in the native move operation so that the caller
603 knows how many bytes were copied.
605 2008-01-16 Murray Cumming <murrayc@murrayc.com>
608 * gdatainputstream.c:
610 * gfileoutputstream.c:
615 * gunixmounts.c: Corrected some typos in the documentation:
617 its -> it's (where appropriate).
619 2008-01-16 Alexander Larsson <alexl@redhat.com>
623 Add g_file_query_exists (#508771)
625 2008-01-15 Murray Cumming <murrayc@murrayc.com>
630 * gvolume.c: For async functions that have no non-async
631 version, document that the GAsyncReadyCallback may be NULL.
634 2008-01-15 Alexander Larsson <alexl@redhat.com>
636 * gmemoryinputstream.c:
637 * gmemoryoutputstream.c:
638 Don't do pointer arithmetic on void * (#508602)
639 Patch from Kazuki IWAMOTO
641 2008-01-14 Matthias Clasen <mclasen@redhat.com>
643 * === Released 2.15.2 ===
645 2008-01-14 Alexander Larsson <alexl@redhat.com>
647 * gfile.c (g_file_monitor_file):
648 Don't set error here, since we fallback to polling monitor.
650 2008-01-14 Alexander Larsson <alexl@redhat.com>
653 (g_file_monitor_directory):
654 (g_file_monitor_file):
655 Add GError to file monitor calls
657 * glocaldirectorymonitor.c:
658 * glocaldirectorymonitor.h:
660 * glocalfilemonitor.c:
661 * glocalfilemonitor.h:
663 Update for above change
665 2008-01-14 Alexander Larsson <alexl@redhat.com>
669 Handle root correctly in g_file_get_relative_path (#508719)
671 2008-01-14 Alexander Larsson <alexl@redhat.com>
674 Clean up docs and example for GAsyncResult (#508074)
676 2008-01-11 Murray Cumming <murrayc@murrayc.com>
678 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
679 and correct some spelling mistakes. Bug #508108.
681 2008-01-11 Matthias Clasen <mclasen@redhat.com>
683 * glocalfileinfo.c: Add a comment.
685 2008-01-10 Murray Cumming <murrayc@murrayc.com>
687 * gfileinfo.c: GFileInfo description: Mention
688 how to actually set attributes in a GFile and how to discover
689 which attributes are settable. Bug #508378.
691 2008-01-10 A. Walton <awalton@svn.gnome.org>
693 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
694 (g_app_info_get_default_for_type):
695 Check for NULL content types.
697 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
699 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
701 2008-01-09 Murray Cumming <murrayc@murrayc.com>
703 * gfile.c: *_async() functions: Several small corrections
704 to the documentation, mostly correcting copy/paste errors
705 and improving some sentences.
707 2008-01-09 Dan Winship <danw@gnome.org>
709 * glocalfile.c (get_unique_filename): x86_64 fix
711 2008-01-09 Alexander Larsson <alexl@redhat.com>
716 Add g_unix_mount_guess_should_display and use
717 for unix volume monitor backend.
718 This means we more or less show what the
719 gnome-vfs backend did.
720 Based on patch from Padraig O'Briain
722 2008-01-09 Alexander Larsson <alexl@redhat.com>
726 Add g_themed_icon_new_with_default_fallbacks
729 Use default fallbacks for icons
731 2008-01-09 Alexander Larsson <alexl@redhat.com>
734 * gmountoperation.[ch]:
735 Change the API a bit so that unhandled methods
736 get reported via the reply, rather than by
737 the signal emission return value. This is because
738 some handlers can't know this immediately without
739 doing I/O, and this is an async operation that
742 2008-01-09 Alexander Larsson <alexl@redhat.com>
745 * fam/gfamdirectorymonitor.c:
746 * fam/gfamfilemonitor.c:
747 Fix double free crash (#508224)
748 Patch from Joe Marcus Clarke
750 008-01-07 Matthias Clasen <mclasen@redhat.com>
752 * === Released 2.15.1 ===
754 2008-01-07 Alexander Larsson <alexl@redhat.com>
756 * gunixinputstream.c (g_unix_input_stream_skip_finish):
757 Fix warning (#507835)
759 2008-01-07 Alexander Larsson <alexl@redhat.com>
762 Pass --internal to glib-genmarshal
767 Use better types for signal arguments (#507822)
769 2008-01-07 Alexander Larsson <alexl@redhat.com>
772 Build test subdir after .
773 Remove gdirectorymonitor.[ch]
775 * gdirectorymonitor.[ch]:
779 Remove GDirectoryMonitor and make
780 GFileMonitor the baseclass for both file and
781 directory monitors. Lift the more generic
782 rate limiting code from GDirectoryMonitor
786 * fam/gfamdirectorymonitor.[ch]:
787 * inotify/ginotifydirectorymonitor.[ch]:
788 * inotify/inotify-helper.c:
789 * glocaldirectorymonitor.[ch]:
792 Update for the removed GDirectoryMonitor.
794 * gmemoryoutputstream.c:
795 Remove ununsed variable
797 2008-01-07 Alexander Larsson <alexl@redhat.com>
799 * gmemoryinputstream.c:
800 Translate error strings
803 * gmemoryoutputstream.[ch]:
804 New implementation that avoids using GByteArray
805 in implementation and API. (#506377)
807 2008-01-06 Matthias Clasen <mclasen@redhat.com>
809 * tests/*: Add a test for memory input streams.
811 * Makefile.am: Add tests to SUBDIRS.
813 2008-01-06 Matthias Clasen <mclasen@redhat.com>
815 * glocalfilemonitor.c:
816 * glocaldirectorymonitor.c: Mark property nicks and blurbs
819 2008-01-06 Matthias Clasen <mclasen@redhat.com>
821 * gdesktopappinfo.c: Fix a docs typo.
823 * gfileattribute.c: Add information about extended attributes
824 to the documentation. (#505058)
826 2008-01-04 Alexander Larsson <alexl@redhat.com>
830 Use the right type (uint) for the ask_password signal.
832 2008-01-04 Alexander Larsson <alexl@redhat.com>
837 Add g_app_info_supports_files()
838 Remove desktop arg from g_app_info_should_show().
840 * gdesktopappinfo.[ch]:
841 Implement g_app_info_supports_files() and new should_show()
842 Add g_desktop_app_info_set_desktop_env() to set the desktop
843 for should_show(). (This will be set by gtk+ later)
845 2008-01-04 Alexander Larsson <alexl@redhat.com>
848 * gmemoryinputstream.[ch]:
849 Improve API so that you can use multiple chunks
850 of memory and custom destroy functions. (#506374)
852 2008-01-03 Alexander Larsson <alexl@redhat.com>
855 Handle NULL attribute matchers safely, as we return this
856 for empty attribute matcher strings.
858 2008-01-03 Alexander Larsson <alexl@redhat.com>
860 * gunixmounts.c (g_unix_is_mount_path_system_internal):
861 Add /usr/local to list of internal mountpoints
863 2008-01-03 Alexander Larsson <alexl@redhat.com>
866 Check for HAVE_LCHOWN (#505887)
868 2008-01-03 Alexander Larsson <alexl@redhat.com>
872 Add define for selinux context attribute.
873 Fix missing : -> :: namespace separator change
874 Fix missing _ -> - name change for xattr-sys.
877 2008-01-03 Alexander Larsson <alexl@redhat.com>
880 Link to libglib and libgobject directly (#504879)
881 Patch from Sebastien Bacher
883 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
885 * gfile.c: Expanded the g_file_new_for_commandline_arg
886 description a bit, based on the code and the docs of the
887 other g_file_new_for_* functions.
889 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
891 * gfilemonitor.h: Fixed typo in docs.
893 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
895 Updates to GIO documentation. (#506395, Mikael Hermansson)
897 * gcontenttype.c: Describe memory management for return value of
898 g_content_types_get_registered(). Missing piece from #505815.
899 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
900 GVolume, GDrive, GMounts, which hopefully gives the user less
901 confusions when using this API. Following explainations from
902 Alexander Larsson on gtk-devel-list.
904 2007-12-30 Matthias Clasen <mclasen@redhat.com>
906 * gfileinfo.c: Expand the long description.
908 2007-12-30 Matthias Clasen <mclasen@redhat.com>
911 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
912 fix builds with --disable-visibility. (#500273, Christian Persch)
914 2007-12-30 Matthias Clasen <mclasen@redhat.com>
916 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
917 in the list of returned app infos.
919 2007-12-30 Matthias Clasen <mclasen@redhat.com>
921 * gappinfo.c: Fix a cross-reference
923 2007-12-30 Matthias Clasen <mclasen@redhat.com>
925 * gfileinputstream.c:
926 * gfileoutputstream.c:
932 * gfileinfo.c: Documentation updates.
934 2007-12-26 Matthias Clasen <mclasen@redhat.com>
936 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
939 2007-12-26 Matthias Clasen <mclasen@redhat.com>
941 * gcontenttype.c (g_content_types_get_registered): Don't return
942 freed memory (#505815, Mikael Hermansson)
944 2007-12-25 Paolo Borelli <pborelli@katamail.com>
946 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
947 used to detect statbuf->st_blocks. (#505042)
949 2007-12-24 Matthias Clasen <mclasen@redhat.com>
951 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
952 environment handling. (#504829, Cosimo Cecchi)
954 2007-12-22 Matthias Clasen <mclasen@redhat.com>
956 * gappinfo.c: Doc improvements
958 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
961 2007-12-20 Matthias Clasen <mclasen@redhat.com>
963 * === Released 2.15.0 ===
965 2007-12-20 Hans Breuer <hans@breuer.org>
967 * makefile.msc : don't build gdesktopappinfo.obj, it collides
968 with symbols gwin32appinfo.obj, added gmount.obj
969 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
971 2007-12-20 Alexander Larsson <alexl@redhat.com>
977 * gfilenamecompleter.c:
980 * gpollfilemonitor.c:
981 File attribute renames:
984 id::fs -> id::filesystem
986 2007-12-20 Alexander Larsson <alexl@redhat.com>
995 Add GMountUnmountFlags to all unmount and
997 Add g_mount_remount() call.
999 2007-12-20 Alexander Larsson <alexl@redhat.com>
1001 * gvfs.c (get_default_vfs):
1002 Fix unused variable warning
1004 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1006 * pltcheck.sh: Update
1008 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1010 * gunionvolumemonitor.c:
1011 * gunixmount.c: Remove C99 comments
1013 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1015 * gio.symbols: Add some missing symbols
1017 2007-12-19 Alexander Larsson <alexl@redhat.com>
1020 Make g_io_modules_load_all_in_directory not unuse
1021 loaded modules so that users of it can do stuff
1023 Init internal "module" types.
1024 Initialize static prio and name for types so that
1025 we don't have to load modules to get it.
1027 * gnativevolumemonitor.h:
1029 Move is_supported to parent class so that
1030 non-native monitors can avoid being initialized
1031 too. (For instance GDaemonVolumeMonitor if we're
1032 not using GDaemonVfs.)
1034 * glocaldirectorymonitor.[ch]:
1035 * glocalfilemonitor.[ch]:
1036 * gunionvolumemonitor.c:
1037 * gunixvolumemonitor.c:
1039 Find plugins using the static prio+name to
1040 avoid unnecessarily loading the modules.
1042 2007-12-19 Alexander Larsson <alexl@redhat.com>
1047 2007-12-19 Alexander Larsson <alexl@redhat.com>
1049 * gunionvolumemonitor.c:
1050 Store the native type as GType, not class so that
1051 we can unload it. But still avoid unnecessarily
1054 2007-12-19 David Zeuthen <davidz@redhat.com>
1056 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1057 add signals 'disconnected' and 'eject-button' on GDrive. Add
1058 signal 'removed' on GVolume and 'unmounted' on GMount.
1060 * gdrive.c: (g_drive_base_init):
1062 * gfile.c: (g_file_mount_mountable),
1063 (g_file_mount_enclosing_volume):
1066 * gmount.c: (g_mount_base_init):
1068 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1069 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1070 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1074 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1076 * *.c: Fix up includes in the section docs.
1078 2007-12-17 Alexander Larsson <alexl@redhat.com>
1080 * gnativevolumemonitor.h:
1081 * gunionvolumemonitor.c:
1082 * gunixvolumemonitor.c:
1083 Add is_supported() to GNativeVolumeMonitorClass so
1084 that we can avoid having to create an object to see
1085 if the backend is supported at runtime.
1086 Also add name member and an env var to pick a specific
1087 volume monitor backend.
1091 Add cancellable to _g_mount_get_for_mount_path()
1093 * glocaldirectorymonitor.c:
1094 * glocalfilemonitor.c:
1095 Avoid loading and unloading modules while sorting.
1097 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1100 * gunixmounts.[hc]: Namespace waste reduction, move some
1101 g_get_unix_mount functions to the g_unix_mount namespace.
1104 * gunixvolumemonitor.c:
1106 * glocaldirectorymonitor.c: Update all callers.
1108 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1110 2007-12-17 Alexander Larsson <alexl@redhat.com>
1113 Add doc comments about what GFile operations are
1114 guaranteed to not block.
1116 2007-12-17 Alexander Larsson <alexl@redhat.com>
1119 Add missing #ifdef fixing OSX build.
1120 (#503334, patch from Richard Hult)
1122 2007-12-14 David Zeuthen <davidz@redhat.com>
1126 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1127 (g_mount_eject), (g_mount_eject_finish):
1129 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1130 (get_volume_for_uuid), (get_mount_for_uuid),
1131 (g_union_volume_monitor_class_init),
1132 (get_default_native_type_with_exclude), (get_default_native_type),
1133 (get_native_type), (update_native_type),
1134 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1135 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1136 (g_unix_mount_can_eject), (eject_unmount_cb),
1137 (eject_unmount_read_error), (eject_unmount_do),
1138 (g_unix_mount_unmount), (g_unix_mount_eject),
1139 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1140 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1141 (g_unix_mount_point_guess_can_eject):
1143 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1144 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1145 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1146 (g_unix_volume_mount), (g_unix_volume_eject),
1147 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1148 * gunixvolumemonitor.c: (get_volume_for_uuid),
1149 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1151 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1152 (g_volume_eject), (g_volume_eject_finish):
1154 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1155 (g_volume_monitor_get_mount_for_uuid):
1158 Provide eject() on both GMount and GVolume and utility functions
1159 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1160 ejected. Introduce the concept of UUID's and wire it into GVolume
1161 and GMount and provide API on GVolumeMonitor to find such
1162 instances. Also handle the case where an external
1163 GNativeVolumeMonitor fails to initialize. Lock around the
1164 _g_get_mount_for_mount_path() function such that volume monitor
1165 implementations won't have to do locking themselves.
1167 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1169 * gdesktopappinfo.c:
1175 * gvolume.h: Documentation updates
1177 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1180 * gfile.h: Doc updates
1182 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1185 * gdesktopappinfo.c: Use hash table iterators.
1187 2007-12-14 Alexander Larsson <alexl@redhat.com>
1190 * gfileattribute.[ch]:
1191 * gfileattribute-priv.h:
1192 Move GFileAttributeValue to a private header, as
1196 Make set_attribute take a type + a pointer instead
1197 of a GFileAttributeValue.
1200 Fix up for above changes.
1201 Add g_file_info_get_attribute_data to get
1202 all info in one call, g_file_info_get_attribute_status
1203 to get the status and g_file_info_get_attribute_as_string.
1207 * glocalfileinfo.[ch]:
1211 Make _guess_type static.
1213 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1216 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1217 made mkenums and friends use temporary files to avoid leaving
1218 empty generated files on failure (#503470).
1220 2007-12-14 Alexander Larsson <alexl@redhat.com>
1222 * gmountoperation.h:
1225 2007-12-14 Alexander Larsson <alexl@redhat.com>
1229 * gfileattribute.[ch]:
1232 * glocalfileoutputstream.c:
1233 * gmountoperation.[ch]:
1234 * goutputstream.[ch]:
1235 Clean up all flags enums to not have _FLAGS in them
1236 Make the names of some of the enums better.
1241 2007-12-14 Michael Natterer <mitch@imendio.com>
1243 * gio.symbols: fix g_io_scheduler symbol names.
1245 2007-12-14 Alexander Larsson <alexl@redhat.com>
1251 * gbufferedinputstream.h:
1252 * gbufferedoutputstream.h:
1255 * gdatainputstream.h:
1256 * gdataoutputstream.h:
1257 * gdesktopappinfo.h:
1258 * gdirectorymonitor.h:
1262 * gfileenumerator.h:
1265 * gfileinputstream.h:
1267 * gfilenamecompleter.h:
1268 * gfileoutputstream.h:
1269 * gfilterinputstream.h:
1270 * gfilteroutputstream.h:
1278 * gmemoryinputstream.h:
1279 * gmemoryoutputstream.h:
1281 * gmountoperation.h:
1284 * gsimpleasyncresult.h:
1286 * gunixinputstream.h:
1288 * gunixoutputstream.h:
1292 * inotify/Makefile.am:
1293 Only allow including <gio/gio.h> from apps
1295 2007-12-14 Alexander Larsson <alexl@redhat.com>
1297 * gioscheduler.[ch]:
1298 * gsimpleasyncresult.c:
1299 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1300 Split out the send_to_mainloop call into two versions instead
1301 of having the block argument.
1303 2007-12-13 Alexander Larsson <alexl@redhat.com>
1305 * gcancellable.[ch]:
1307 * gbufferedinputstream.c:
1308 * gfileenumerator.c:
1309 * gfileinputstream.c:
1310 * gfileoutputstream.c:
1314 g_push/pop_current_cancellable ->
1315 g_cancellable_push/pop_current
1317 2007-12-13 Alexander Larsson <alexl@redhat.com>
1321 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1323 2007-12-13 Alexander Larsson <alexl@redhat.com>
1325 * gmountoperation.h:
1326 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1328 2007-12-12 Alexander Larsson <alexl@redhat.com>
1331 Fix race condition when freeing proxy in
1332 g_io_job_send_to_mainloop().
1334 2007-12-12 Alexander Larsson <alexl@redhat.com>
1340 Make attribute namespace separator "::" instead of ":".
1341 Use - instead of _ as separator in attribute names.
1343 2007-12-12 Alexander Larsson <alexl@redhat.com>
1345 * gbufferedinputstream.h:
1346 * gbufferedoutputstream.h:
1347 * gdatainputstream.h:
1348 * gdataoutputstream.h:
1349 * gdirectorymonitor.h:
1350 * gfileenumerator.h:
1351 * gfileinputstream.h:
1353 * gfileoutputstream.h:
1354 * gfilterinputstream.h:
1355 * gfilteroutputstream.h:
1357 * glocalfileinputstream.h:
1358 * glocalfileoutputstream.h:
1359 * gmemoryinputstream.h:
1360 * gmemoryoutputstream.h:
1361 * gnativevolumemonitor.h:
1363 * gunixinputstream.h:
1364 * gunixoutputstream.h:
1367 s/parent/parent_instance/ in GObjects
1369 2007-12-12 Alexander Larsson <alexl@redhat.com>
1374 No need for padding for interfaces
1376 2007-12-12 Alexander Larsson <alexl@redhat.com>
1380 * gbufferedinputstream.c:
1381 * gbufferedoutputstream.c:
1384 * gdatainputstream.[ch]:
1385 * gdesktopappinfo.c:
1386 * gdirectorymonitor.c:
1388 * gfileattribute.[ch]:
1391 * gfileinputstream.h:
1392 * gfilemonitor.[ch]:
1393 * gfileoutputstream.[ch]:
1394 * gfilterinputstream.h:
1395 * gfilteroutputstream.h:
1398 * gloadableicon.[ch]:
1399 * gmemoryinputstream.c:
1400 * gmountoperation.c:
1402 Fix up a bunch of details in the docs.
1407 2007-12-11 David Zeuthen <davidz@redhat.com>
1409 Rework how volumes, drives and volume monitoring is
1410 done. Previosly the model was
1412 GDrive <1-1> GVolume
1414 where a GDrive instance represented a mount point and a GVolume
1415 instance represented a mounted file system. This patch changes it
1418 GDrive <1-N> GVolume <1-1> GMount
1420 where GMount now serves the purpose of the old GVolume and the new
1421 GVolume serves the purpose of the old GDrive. In addition the new
1422 GDrive interface is used to represent a collection of GVolume
1423 instances (typically partitions) and also contains utility to query
1424 the state of the physical drive the GDrive object represents (such
1425 as checking for media, polling the drive, ejecting the media etc.).
1427 Also implement mounting and unmounting in the Unix volume monitor
1428 backend. A subquent patch will introduce GDrive support for ejection
1432 * gdrive.c: (g_drive_is_media_check_automatic),
1433 (g_drive_is_media_removable), (g_drive_has_media),
1434 (g_drive_can_poll_for_media), (g_drive_eject),
1435 (g_drive_eject_finish), (g_drive_poll_for_media),
1436 (g_drive_poll_for_media_finish):
1438 * gfile.c: (g_file_find_enclosing_mount):
1441 * glocaldirectorymonitor.c:
1442 (g_local_directory_monitor_constructor), (mounts_changed):
1443 * glocalfile.c: (get_mount_info),
1444 (g_local_file_find_enclosing_mount),
1445 (g_local_file_file_iface_init):
1446 * gnativevolumemonitor.h:
1447 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1448 (get_connected_drives), (g_union_volume_monitor_class_init),
1449 (child_volume_added), (child_volume_removed),
1450 (child_volume_changed), (child_mount_added), (child_mount_removed),
1451 (child_mount_pre_unmount), (child_mount_changed),
1452 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1453 (g_union_volume_monitor_remove_monitor),
1454 (_g_mount_get_for_mount_path):
1455 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1456 (guess_system_internal), (_g_get_unix_mounts),
1457 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1458 (g_unix_mount_free), (g_unix_mount_compare),
1459 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1460 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1461 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1462 (type_to_icon), (g_unix_mount_guess_name),
1463 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1464 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1465 (_resolve_symlink), (_resolve_dev_root):
1467 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1468 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1469 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1470 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1471 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1472 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1473 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1474 (g_unix_volume_volume_iface_init):
1476 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1477 (get_mounts), (get_volumes), (get_connected_drives),
1478 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1479 (mountpoints_changed), (mounts_changed),
1480 (g_unix_volume_monitor_init),
1481 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1482 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1483 * gunixvolumemonitor.h:
1484 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1485 (g_volume_mount), (g_volume_mount_finish):
1487 * gvolumemonitor.c: (g_volume_monitor_class_init),
1488 (g_volume_monitor_get_connected_drives),
1489 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1492 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1494 * gmountoperation.h (GPasswordFlags): Close the gap
1496 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1498 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1500 * gdesktopappinfo.[hc]: Remove _-prefixes
1502 2007-12-10 Tor Lillqvist <tml@novell.com>
1504 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1507 2007-12-10 Alexander Larsson <alexl@redhat.com>
1509 * gfile.c (g_file_set_display_name):
1510 Don't hardcode '/' (#502727)
1512 2007-12-09 Hans Breuer <hans@breuer.org>
1514 * makefile.msc : follow lib naming convention
1515 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1516 for user and group name, tested with ../tests/gio-ls
1518 2007-12-09 A. Walton <awalton@svn.gnome.org>
1520 * gdesktopappinfo.c:
1526 * gfileenumerator.c:
1531 * gmemoryinputstream.c:
1532 * gmemoryoutputstream.c:
1534 * gsimpleasyncresult.c:
1535 More documentation cleanup and filling in missing information, bringing
1536 GIO to 99% symbol coverage.
1538 2007-12-08 Hans Breuer <hans@breuer.org>
1540 [gio compiles and links on win32, not sure how much already works]
1541 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1542 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1543 base on win32 API; prefer g_lstat() over lstat(); instead of
1544 localtime_r() use an all GLib implementation on win32;
1545 get_mount_info() still needs a win32 specifc implementation
1546 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1547 win32_get_file_user_info to get owner/group info without uid/gid
1548 * glocalfileinputstream.c : include <io.h> on win32
1549 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1550 definition, use g_win32_ftruncate() for G_OS_WIN32
1551 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1552 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1553 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1554 * makefile.msc : updated
1556 2007-12-07 Alexander Larsson <alexl@redhat.com>
1558 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1559 Avoid warning spew if error == NULL
1561 2007-12-07 Alexander Larsson <alexl@redhat.com>
1564 Update docs wrt etags
1566 2007-12-06 Alexander Larsson <alexl@redhat.com>
1569 Include sys/types.h for dev_t (#501919)
1571 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1575 Make abicheck and pltcheck pass.
1577 2007-12-05 Alexander Larsson <alexl@redhat.com>
1580 * giomodule-priv.h: Added.
1581 * glocaldirectorymonitor.c:
1582 * glocalfilemonitor.c:
1583 * gunionvolumemonitor.c:
1585 Actually add the declaration of _g_io_modules_ensure_loaded
1587 2007-12-05 Alexander Larsson <alexl@redhat.com>
1589 * gdatainputstream.c:
1594 * glocaldirectorymonitor.c:
1595 * glocalfilemonitor.c:
1596 * gunionvolumemonitor.c:
1598 Make g_io_modules_ensure_loaded a private function and
1599 don't pass in the dirname. This means we can do magic
1600 directory finding in the win32 version.
1601 Export the actual load-modules-in-directory code so that
1602 gvfs can reuse that.
1604 2007-12-05 Alexander Larsson <alexl@redhat.com>
1606 * gbufferedinputstream.c:
1607 * gbufferedoutputstream.c:
1610 * gfileenumerator.[ch]:
1611 * gfileinputstream.c:
1612 * gfileoutputstream.[ch]:
1613 * gfilterinputstream.c:
1614 * gfilteroutputstream.c:
1615 * ginputstream.[ch]:
1617 * glocalfileenumerator.c:
1618 * glocalfileinputstream.c:
1619 * glocalfileoutputstream.c:
1620 * gmemoryinputstream.c:
1621 * gmemoryoutputstream.c:
1622 * goutputstream.[ch]:
1625 * gunixinputstream.c:
1626 * gunixoutputstream.c:
1627 Rename all struct members named:
1628 read, write, close, truncate, or mount
1629 to foo_fn, as these are reserved names
1630 and could be defined as macros in libc.
1633 2007-12-04 Alexander Larsson <alexl@redhat.com>
1636 (g_output_stream_close):
1637 Only call flush if non-null.
1639 2007-11-30 Dan Winship <danw@gnome.org>
1641 * ginputstream.c (g_input_stream_set_pending): Make this take a
1642 GError and return a gboolean, and do the "outstanding operation"
1643 check (and the "stream is already closed" check) itself.
1644 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1646 * goutputstream.c (g_output_stream_set_pending)
1647 (g_output_stream_clear_pending): Likewise
1649 * gbufferedinputstream.c:
1650 * gfileinputstream.c:
1651 * gfileoutputstream.c: Update for that
1653 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1654 Like g_simple_async_report_error_in_idle, but takes a GError
1655 rather than building one.
1657 2007-11-30 Dan Winship <danw@gnome.org>
1659 * goutputstream.c: Don't cheat and unset the "pending" flag around
1660 inner calls. Instead, call the class method directly rather than
1661 the wrapper function that checks "pending"
1663 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1665 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1667 2007-12-03 Hans Breuer <hans@breuer.org>
1669 [start of port to win32/msvc]
1670 * gcancellable.c : HAVE_UNIST_H and _pipe()
1671 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1672 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1673 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1675 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1676 * glocalvfs.c : use HAVE_PWD_H
1677 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1678 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1679 * Makefile.am : added to EXTRA_DIST
1681 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1683 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1686 2007-12-03 Alexander Larsson <alexl@redhat.com>
1689 Handle OSX style xattrs API (#500506)
1691 2007-12-03 Alexander Larsson <alexl@redhat.com>
1695 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1697 2007-12-02 A. Walton <awalton@svn.gnome.org>
1701 Documentation accuracy fixes.
1703 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1705 * gioenumtypes.c.template: Fix typo.
1707 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1709 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1711 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1713 * gdirectorymonitor.c:
1714 * gfilemonitor.c: Add properties
1716 * gbufferedoutputstream.c: Don't mark buffer-size property
1719 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1721 * gbufferedoutputstream.c: Add auto-grow property.
1723 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1725 * *.c: Unify the capitalization of section headings.
1727 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1729 * gmountoperation.c: Add properties
1731 * gdatainputstream.c: Turn byte-order and newline-type into
1734 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1736 * gioenumtypes.[hc].template: Templates for enum registration
1738 * Makefile.am: Generate gioenumtypes.[hc]
1740 * gio.h: Include gioenumtypes.h
1742 * gfile.h: Add some explicit nicks.
1744 * gio.symbols: Add new symbols
1746 * pltcheck.sh: Adjust
1748 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1750 * *.c: Explain etags and link to the explanation
1752 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1754 * *.c: Explain I/O priority.
1756 * *.c: More coding style fixes.
1758 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1760 * gasyncresult.c: Add another paragraph to the intro,
1761 adjust coding style of example.
1763 2007-11-29 A. Walton <awalton@svn.gnome.org>
1766 Fixes unknown meaning in GAppLaunchContext docs.
1768 Clarify asynchronous ops.
1770 Fix entity tag docs.
1773 Provides missing gtk-doc section, fixes API docs slighly.
1774 * gsimpleasyncresult.c:
1775 Fill in missing info in docs.
1776 * gunixinputstream.c:
1777 * gunixoutputstream.c:
1778 Be more expressive in short description.
1780 Remove gtk-doc stubs for non-public API.
1782 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1784 * *.c: Coding style fixups
1786 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1788 * inotify/inotify-helper.c: Don't export the lock from libgio.
1790 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1793 * abicheck.sh: Fix copy-and-paste leftovers
1795 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1797 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1799 2007-11-28 Alexander Larsson <alexl@redhat.com>
1803 Removed unnecessary file
1805 * gdesktopappinfo.[ch]:
1808 * glocaldirectorymonitor.[ch]:
1810 * glocalfileenumerator.[ch]:
1811 * glocalfileinputstream.[ch]:
1812 * glocalfilemonitor.[ch]:
1813 * glocalfileoutputstream.[ch]:
1815 * gnativevolumemonitor.c:
1816 * gpollfilemonitor.[ch]:
1817 * gunionvolumemonitor.[ch]:
1820 * gunixvolumemonitor.[ch]:
1823 * inotify/ginotifydirectorymonitor.[ch]:
1824 * inotify/ginotifyfilemonitor.[ch]:
1825 * inotify/inotify-helper.c:
1826 Append _ to all internal functions
1830 Export symbols needed for modules
1832 2007-11-28 Alexander Larsson <alexl@redhat.com>
1835 * abicheck.sh: Added.
1836 * makegioalias.pl: Added.
1837 * pltcheck.sh: Added.
1838 * gio.symbols: Added.
1841 Initial work on adding symbol handling.
1844 Correct ifdef guard name
1847 * inotify/Makefile.am:
1848 * xdgmime/Makefile.am:
1849 Include toplevel Makefile.decl
1851 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1853 * gcontenttype.c: Move doc comments to the unix section.
1855 * *.[hc]: More trivial doc corrections.
1857 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1859 * gpollfilemonitor.c:
1863 * gdesktopappinfo.c:
1868 * gdatainputstream.c:
1869 * gdatainputstream.h:
1870 * gdataoutputstream.c:
1871 * gdataoutputstream.h:
1872 * gfileinfo.h: Doc cleanups
1874 2007-11-28 Andre Klapper <a9016009@gmx.de>
1876 * gdesktopappinfo.c: Fix a typo.
1878 2007-11-27 Andre Klapper <a9016009@gmx.de>
1880 * glocalfileoutputstream.c: Fix a typo.
1882 2007-11-27 Alexander Larsson <alexl@redhat.com>
1885 Don't include removed headers
1887 2007-11-27 Alexander Larsson <alexl@redhat.com>
1890 * gsocketinputstream.[ch]: Removed.
1891 * gsocketoutputstream.[ch]: Removed.
1892 * gunixinputstream.[ch]: Added.
1893 * gunixoutputstream.[ch]: Added.
1894 Renamed GSocket*Stream to GUnix*Stream and made
1895 it unix-only, since its not really only for sockets
1896 and it only works on unix (but is highly useful there).
1898 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1904 * gbufferedinputstream.c:
1905 * gbufferedinputstream.h:
1906 * gbufferedoutputstream.c:
1907 * gbufferedoutputstream.h:
1911 * gdatainputstream.c:
1912 * gdatainputstream.h:
1913 * gdataoutputstream.c:
1914 * gdataoutputstream.h:
1915 * gdirectorymonitor.c:
1916 * gdirectorymonitor.h:
1923 * gfileenumerator.c:
1924 * gfileenumerator.h:
1929 * gfileinputstream.c:
1930 * gfileinputstream.h:
1933 * gfilenamecompleter.c:
1934 * gfilenamecompleter.h:
1935 * gfileoutputstream.c:
1936 * gfileoutputstream.h:
1937 * gfilterinputstream.c:
1938 * gfilterinputstream.h:
1939 * gfilteroutputstream.c:
1940 * gfilteroutputstream.h:
1953 * glocalfileoutputstream.c:
1954 * gmemoryinputstream.c:
1955 * gmemoryinputstream.h:
1956 * gmemoryoutputstream.c:
1957 * gmemoryoutputstream.h:
1958 * gmountoperation.c:
1959 * gmountoperation.h:
1962 * gpollfilemonitor.c:
1965 * gsimpleasyncresult.c:
1966 * gsimpleasyncresult.h:
1967 * gsocketinputstream.c:
1968 * gsocketinputstream.h:
1969 * gsocketoutputstream.c:
1970 * gsocketoutputstream.h:
1977 * gunixvolumemonitor.c:
1986 Bumps documentation to 93% symbol coverage, touching most
1987 of the public files. Fixes broken function documentation prototypes.
1988 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1989 gtk-doc headers in private files.
1991 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1993 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1994 (g_buffered_input_stream_read_byte):
1995 * gbufferedinputstream.h:
1996 New functions for efficient access to buffer and simple single byte
1999 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2000 (g_data_input_stream_read_until):
2001 * gdatainputstream.h:
2002 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2003 read_until with multiple stop chars.
2005 2007-11-27 Alexander Larsson <alexl@redhat.com>
2009 * inotify/Makefile.am:
2010 Use the user-specified giomoduledir
2012 2007-11-27 Alexander Larsson <alexl@redhat.com>
2016 Add catch-all gio.h header
2017 Don't install gdummyfile.h
2019 2007-11-26 Alexander Larsson <alexl@redhat.com>
2021 * Makefile.am (gioinclude_HEADERS):
2022 Remove trailing whitespace
2024 2007-11-26 Alexander Larsson <alexl@redhat.com>
2026 Merge gio-standalone into glib
2028 2007-11-25 Christian Kellner <gicmo@gnome.org>
2030 * gio/goutputstream.c:
2031 Fix small mistake in the docs.
2033 2007-11-21 Christian Persch <chpe@gnome.org>
2035 * gio/glocalfile.c: (g_local_file_trash):
2036 Convert filenames to UTF-8 for GError.
2037 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2038 as per xdg base dir spec.
2040 2007-11-21 Christian Persch <chpe@gnome.org>
2042 * gio/gdesktopappinfo.c:
2043 Use that g_key_file_to_data cannot fail.
2045 Use stock defines for the key file group and key names.
2048 2007-11-21 Alexander Larsson <alexl@redhat.com>
2051 (copy_stream_with_progress):
2052 Make sure we do a final progress callback with
2053 the full total size.
2055 2007-11-21 Alexander Larsson <alexl@redhat.com>
2058 Export g_file_copy_attributes
2059 Remove padding as its not needed for interfaces
2061 2007-11-20 Alexander Larsson <alexl@redhat.com>
2066 Add G_IO_ERROR_WOULD_MERGE for
2067 copy/move dir on dir with overwrite.
2069 2007-11-20 Alexander Larsson <alexl@redhat.com>
2072 * gio/glocalfileinfo.c:
2073 Add COPY_NAME (this is an optional
2074 non-modified utf8 version of the name) that
2077 2007-11-20 Alexander Larsson <alexl@redhat.com>
2079 * gio/glocalfileenumerator.c:
2080 Report errors as GIOError, not GFileError
2082 2007-11-16 Alexander Larsson <alexl@redhat.com>
2084 * gio/glocalfileoutputstream.c:
2085 * gio/gwin32appinfo.c:
2086 Fix typos in strings.
2087 Patch from Luca Ferretti <elle.uca@libero.it>
2089 2007-11-15 Alexander Larsson <alexl@redhat.com>
2092 Post release version bump
2094 === gio-standalone 0.1.2 ===
2096 2007-11-15 Alexander Larsson <alexl@redhat.com>
2098 * docs/reference/gio/Makefile.am:
2099 Fix up distcheck by removing weird
2105 2007-11-14 Alexander Larsson <alexl@redhat.com>
2107 * gio/gdesktopappinfo.c:
2108 * gio/glocaldirectorymonitor.c:
2110 * gio/glocalfileinfo.c:
2111 * gio/inotify/inotify-sub.c:
2112 * programs/gio-cat.c:
2113 * programs/gio-copy.c:
2114 * programs/gio-info.c:
2115 * programs/gio-ls.c:
2116 * programs/gio-monitor-dir.c:
2117 * programs/gio-monitor-file.c:
2118 * programs/gio-mount.c:
2119 * programs/gio-move.c:
2120 * programs/gio-rm.c:
2121 * programs/gio-save.c:
2122 * programs/gio-trash.c:
2123 Leak fixes from Kjartan Maraas
2125 2007-11-14 Alexander Larsson <alexl@redhat.com>
2127 * gio/fam/fam-helper.c:
2129 * gio/glocalfileinfo.c:
2133 * gio/inotify/inotify-diag.c:
2134 * gio/inotify/inotify-kernel.c:
2135 Various code cleanups from Kjartan Maraas
2137 2007-11-14 Alexander Larsson <alexl@redhat.com>
2139 * gio/gioscheduler.c:
2141 Set up threadpool so that we cache 2 unused
2142 idle threads for at 15 secs. This means we
2143 will reuse thread-local data (like dbus connections)
2146 2007-11-14 Alexander Larsson <alexl@redhat.com>
2148 * gio/fam/fam-helper.c:
2149 * gio/fam/gfamdirectorymonitor.c:
2150 * gio/fam/gfamfilemonitor.c:
2152 * gio/gcontenttype.c:
2153 * gio/gdatainputstream.c:
2154 * gio/gdataoutputstream.c:
2158 * gio/gfileattribute.h:
2159 * gio/gfileenumerator.c:
2161 * gio/ginputstream.c:
2164 * gio/glocalfileinfo.c:
2165 * gio/goutputstream.c:
2166 * gio/gpollfilemonitor.c:
2167 * gio/gsimpleasyncresult.c:
2168 * gio/gunixmounts.c:
2169 * gio/gunixmounts.h:
2170 * gio/inotify/ginotifydirectorymonitor.c:
2171 * gio/inotify/ginotifyfilemonitor.c:
2172 * gio/inotify/inotify-diag.c:
2173 * gio/inotify/inotify-kernel.c:
2174 * gio/inotify/inotify-path.c:
2176 * gio/test-streams.c:
2177 * programs/gio-info.c:
2178 * programs/gio-monitor-dir.c:
2179 * programs/gio-monitor-file.c:
2180 Various code cleanups from Kjartan Maraas
2182 2007-11-13 Alexander Larsson <alexl@redhat.com>
2185 Handle the uri-scheme calls for dummy files
2187 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2189 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2190 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2191 to avoid clash with the C++ keyword.
2193 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2195 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2196 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2198 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2200 * gio/glocaldirectorymonitor.c:
2201 * gio/glocalfilemonitor.c:
2202 * gio/gunionvolumemonitor.c:
2203 Don't use g_once_init_*() for initializations that could fail and
2204 could leave the initialization variable set to 0 but use GOnce.
2205 This prevents a deadlock on the second call when trying to create
2206 a monitor and no monitor type is available. Thanks to Sven Herzberg
2209 2007-11-11 Sven Herzberg <sven@imendio.com>
2211 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2212 #ifdef (make it work on MacOS X again)
2214 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2216 Fixes Changelog for last two commits (sorry guys).
2218 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2220 * gio/gbufferedinputstream.c:
2221 * gio/gdatainputstream.c:
2223 * gio/gfileoutputstream.c:
2224 * gio/gfilterinputstream.c:
2225 * gio/glocalfileinputstream.c:
2228 More consistency fixes in g*stream.c files.
2229 Significant clean of gfile's documentation, filling in of
2230 asynchronous operations documentation.
2232 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2234 * gio/gasyncresult.c:
2235 * gio/gbufferedinputstream.c:
2236 * gio/gbufferedoutputstream.c:
2237 * gio/gcancellable.c:
2238 * gio/gcontenttype.c:
2239 * gio/gdatainputstream.c:
2240 * gio/gdataoutputstream.c:
2241 * gio/gdesktopappinfo.c:
2244 * gio/gfileattribute.c:
2245 * gio/gio/gfileenumerator.c:
2247 * gio/gfileinputstream.c:
2248 * gio/gfilemonitor.c:
2249 * gio/gfileoutputstream.c:
2250 * gio/ginputstream.c:
2252 * gio/gioscheduler.c:
2253 * gio/gloadableicon.c:
2254 * gio/glocalfileoutputstream.c:
2255 * gio/gmemoryoutputstream.c:
2256 * gio/gmountoperation.c:
2257 * gio/goutputstream.c:
2259 * gio/gsimpleasyncresult.c:
2260 * gio/gunionvolumemonitor.c:
2261 * gio/gunixmounts.c:
2262 * gio/gunixvolume.c:
2266 * gio/gvolumemonitor.c:
2267 Updated documentation stubs, working towards consistency and
2270 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2272 * gio/gmemoryoutputstream.c:
2273 * gio/gmemoryoutputstream.h:
2274 Change g_memory_output_stream_set_free_on_close() to
2275 g_memory_output_stream_set_free_data() as this makes more sense and
2276 is more consistent with GMemoryInputStream.
2278 2007-11-07 Alexander Larsson <alexl@redhat.com>
2285 Change how we find the default vfs so that
2286 we can handle a gvfs failing to init
2288 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2290 * gio/gbufferedoutputstream.c:
2291 * gio/gdatainputstream.c:
2292 * gio/gdataoutputstream.c:
2293 * gio/gfileinputstream.c:
2294 * gio/gfileoutputstream.c:
2295 * gio/gfilterinputstream.c:
2296 * gio/gfilteroutputstream.c:
2297 * gio/ginputstream.c:
2298 * gio/gmemoryinputstream.c:
2299 * gio/gmemoryoutputstream.c:
2300 * gio/goutputstream.c:
2301 * gio/gsimpleasyncresult.c:
2302 * gio/gsocketinputstream.c:
2303 * gio/gsocketoutputstream.c:
2304 Add guards to the remaining public functions, add a TODO for
2305 an unimplemented function and remove some useless guards.
2307 2007-11-07 Alexander Larsson <alexl@redhat.com>
2310 Autoconf checks for the various types of
2311 getpwuid_r and getgrgid_r
2313 * gio/glocalfileinfo.c:
2314 Use the autoconf checks from above
2316 2007-11-07 Alexander Larsson <alexl@redhat.com>
2319 (g_local_file_query_filesystem_info):
2320 Some fixes for the statvfs case
2322 2007-11-07 Alexander Larsson <alexl@redhat.com>
2325 (g_local_file_query_filesystem_info):
2326 Pick the "best" of statfs / statvfs for the system
2327 if both are availible.
2329 2007-11-07 Alexander Larsson <alexl@redhat.com>
2331 Solaris fixes from Halton.Huo@Sun.COM:
2338 * gio/glocalfileinfo.c:
2339 Fix for solaris definition of getpwuid_r
2341 * gio/test-streams.c:
2342 Use G_GNUC_PRETTY_FUNCTION
2344 2007-11-07 Alexander Larsson <alexl@redhat.com>
2346 * gio/gdesktopappinfo.c:
2347 (update_default_list):
2348 Remove double semicolon.
2349 Patch from Jens Granseuer
2351 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2353 * docs/reference/gio/gio-sections.txt:
2354 * gio/gbufferedinputstream.c:
2355 * gio/gbufferedinputstream.h:
2356 * gio/gdatainputstream.c:
2357 * gio/gfileenumerator.c:
2358 * gio/gioscheduler.c:
2359 * gio/gunionvolumemonitor.c:
2361 * programs/gio-save.c:
2362 Fix typo: availible -> available. Unfortuntely this breaks API
2363 and ABI as g_buffered_input_stream_get_available() was renamed.
2365 * gio/gunixmounts.c:
2366 * gio/gbufferedinputstream.c:
2367 Add guards for public functions.
2369 2007-11-06 Ross Burton <ross@openedhand.com>
2371 * docs/reference/gio/Makefile.am:
2372 Fix invalid += usage which automake 1.10 doesn't like.
2374 2007-11-06 Alexander Larsson <alexl@redhat.com>
2377 (g_app_launch_context_class_init):
2380 Patch from Ross Burton
2382 2007-11-06 Alexander Larsson <alexl@redhat.com>
2385 Post release version bump
2387 === gio-standalone 0.1.1 ===
2389 2007-11-06 Alexander Larsson <alexl@redhat.com>
2392 Bump version to 0.1.1
2394 * gio/gsimpleasyncresult.c:
2395 (g_simple_async_result_set_from_error):
2396 Remove bogus g_return_if_fail
2398 2007-11-06 Alexander Larsson <alexl@redhat.com>
2401 The name is gio-standalone
2404 Add top src/builddir to includedir
2406 2007-11-06 Alexander Larsson <alexl@redhat.com>
2408 * docs/reference/gio/gio-sections.txt:
2410 * gio/gbufferedinputstream.c:
2411 * gio/gbufferedoutputstream.c:
2412 * gio/gcancellable.c:
2413 * gio/gdatainputstream.h:
2414 * gio/gdataoutputstream.c:
2415 * gio/gdataoutputstream.h:
2416 * gio/gdirectorymonitor.c:
2418 * gio/gfileattribute.c:
2419 * gio/gfileattribute.h:
2420 * gio/gfileenumerator.c:
2421 * gio/gfileenumerator.h:
2424 * gio/gfileinputstream.h:
2425 * gio/gfilemonitor.c:
2426 * gio/gfileoutputstream.h:
2427 * gio/glocalfilemonitor.h:
2428 * gio/glocalfileoutputstream.h:
2429 * gio/gmemoryinputstream.c:
2430 * gio/gmemoryoutputstream.c:
2431 * gio/gmountoperation.c:
2432 * gio/goutputstream.c:
2433 * gio/goutputstream.h:
2435 * gio/gsimpleasyncresult.c:
2436 * gio/gunixmounts.c:
2437 * gio/gunixmounts.h:
2439 * gio/inotify/inotify-helper.c:
2440 Fix gtk-doc warnings
2442 Patch from Ross Burton
2444 2007-11-06 Alexander Larsson <alexl@redhat.com>
2446 * gio/gfilenamecompleter.c:
2447 (g_filename_completer_get_completions):
2450 * gio/gunixvolume.c:
2451 Remove unused function
2453 Patches from Ross Burton
2455 2007-11-06 Alexander Larsson <alexl@redhat.com>
2460 Padding not needed for interfaces
2462 2007-11-06 Alexander Larsson <alexl@redhat.com>
2464 * gio/gfilemonitor.c:
2468 Make giotypes.h an internal file
2471 * gio/gbufferedinputstream.h:
2472 * gio/gbufferedoutputstream.h:
2473 * gio/gcancellable.h:
2474 * gio/gdatainputstream.h:
2475 * gio/gdataoutputstream.h:
2476 * gio/gdirectorymonitor.c:
2477 * gio/gdirectorymonitor.h:
2482 * gio/gfileattribute.h:
2483 * gio/gfileenumerator.h:
2488 * gio/gfilemonitor.c:
2489 * gio/gfilemonitor.h:
2490 * gio/gfilenamecompleter.c:
2491 * gio/gfilenamecompleter.h:
2492 * gio/gfilterinputstream.h:
2493 * gio/gfilteroutputstream.h:
2494 * gio/ginputstream.h:
2495 * gio/gmemoryinputstream.h:
2496 * gio/gmemoryoutputstream.h:
2497 * gio/gmountoperation.c:
2498 * gio/gmountoperation.h:
2499 * gio/gnativevolumemonitor.c:
2500 * gio/goutputstream.h:
2503 * gio/gsimpleasyncresult.c:
2504 * gio/gsimpleasyncresult.h:
2505 * gio/gsocketinputstream.h:
2506 * gio/gsocketoutputstream.h:
2507 * gio/gthemedicon.c:
2508 * gio/gthemedicon.h:
2512 * gio/gvolumemonitor.c:
2513 * gio/gvolumemonitor.h:
2514 Add padding in classes where it seems useful
2515 Don't include giotypes.h from public headers
2516 Move in Class definitions into c file where possible
2521 2007-11-06 Alexander Larsson <alexl@redhat.com>
2523 * docs/reference/gio/gio-docs.xml:
2524 Better structure for API docs
2526 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2529 * gio/gloadableicon.c:
2530 * gio/gsimpleasyncresult.c:
2531 * gio/gthemedicon.c:
2532 Add some more guards to public functions. Only files missing are now
2535 2007-11-06 Alexander Larsson <alexl@redhat.com>
2537 * docs/reference/gio/gio-docs.xml:
2538 Remove old files, add missing ones
2540 2007-11-06 Alexander Larsson <alexl@redhat.com>
2542 * docs/reference/gio/gio-sections.txt:
2545 Hide implementation classes
2547 * gio/gdriveprivate.h:
2548 * gio/gvolumeprivate.h:
2549 Remove non-existing function declarations
2551 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2554 Fix compilation warnings and add guards to the new functions.
2556 * gio/gasyncresult.c:
2558 Add guards to the public functions.
2561 Implement get_path().
2563 2007-11-06 Alexander Larsson <alexl@redhat.com>
2565 * gio/gfilenamecompleter.c:
2566 Make g_filename_completer_get_completions
2567 return char ** instead of GList for
2570 * docs/reference/gio/gio-docs.xml:
2571 * docs/reference/gio/gio-sections.txt:
2573 * gio/gasyncresult.c:
2574 * gio/gbufferedinputstream.c:
2575 * gio/gbufferedoutputstream.c:
2576 * gio/gcancellable.c:
2577 * gio/gcontenttype.c:
2578 * gio/gdatainputstream.c:
2579 * gio/gdataoutputstream.c:
2580 * gio/gdesktopappinfo.c:
2581 * gio/gdirectorymonitor.c:
2585 * gio/gfileattribute.c:
2586 * gio/gfileenumerator.c:
2589 * gio/gfileinputstream.c:
2590 * gio/gfilemonitor.c:
2591 * gio/gfilenamecompleter.c:
2592 * gio/gfilenamecompleter.h:
2593 * gio/gfileoutputstream.c:
2594 * gio/gfilterinputstream.c:
2596 * gio/ginputstream.c:
2598 * gio/gioscheduler.c:
2599 * gio/gloadableicon.c:
2600 * gio/glocaldirectorymonitor.c:
2602 * gio/glocalfileinputstream.c:
2603 * gio/glocalfilemonitor.c:
2604 * gio/glocalfileoutputstream.c:
2606 * gio/gmemoryinputstream.c:
2607 * gio/gmemoryoutputstream.c:
2608 * gio/gmountoperation.c:
2609 * gio/goutputstream.c:
2610 * gio/gpollfilemonitor.c:
2612 * gio/gsimpleasyncresult.c:
2613 * gio/gsocketinputstream.c:
2614 * gio/gsocketoutputstream.c:
2615 * gio/gthemedicon.c:
2616 * gio/gunionvolumemonitor.c:
2618 * gio/gunixmounts.c:
2619 * gio/gunixvolume.c:
2620 * gio/gunixvolumemonitor.c:
2624 * gio/gvolumemonitor.c:
2625 * gio/gwin32appinfo.c:
2626 Add (mostly stub) doc strings to public functions.
2627 Patch from Andrew Walton (awalton@gmail.com)
2629 2007-11-06 Alexander Larsson <alexl@redhat.com>
2631 * gio/gappinfo.[ch]:
2632 Added GAppLaunchContext object and pass that to launch.
2633 This allows simple implementation of both
2634 launch-on-screen and startup notification via a gtk+
2635 subclass of GAppLaunchContext
2637 * gio/gdesktopappinfo.c:
2638 Implement GAppLaunchContext API
2640 * gio/gwin32appinfo.c:
2643 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2645 * gio/gmountoperation.c:
2646 Add some guards to GMountOperation's public functions.
2648 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2652 * gio/gcancellable.c:
2653 * gio/gdirectorymonitor.c:
2655 * gio/gfileenumerator.c:
2656 * gio/gfilemonitor.c:,
2657 * gio/gfilenamecompleter.c:
2660 * gio/gioscheduler.c:
2664 * gio/gvolumemonitor.c:
2665 Add even more guards to various public functions.
2667 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2670 Add guards to the public functions of GAppInfo.
2672 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2674 * gio/gcontenttype.c:
2675 Add some more guards for public functions.
2677 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2679 * gio/fam/fam-module.c:
2680 * gio/fam/gfamdirectorymonitor.c:
2681 * gio/fam/gfamdirectorymonitor.h:
2682 * gio/fam/gfamfilemonitor.c:
2683 * gio/fam/gfamfilemonitor.h:
2684 * gio/inotify/ginotifydirectorymonitor.c:
2685 * gio/inotify/ginotifydirectorymonitor.h:
2686 * gio/inotify/ginotifyfilemonitor.c:
2687 * gio/inotify/ginotifyfilemonitor.h:
2688 Add proper copyright information and remove an unused variable
2689 in the GInotifyFileMonitor constructor.
2691 * gio/gcancellable.c:
2692 Add a guard for a public function and an assertion to prevent
2693 an undefined program state.
2695 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2697 * gio/gfileattribute.c:
2698 Don't run into an assertion if the given attribute value is NULL
2699 in g_file_attribute_value_get_*() but instead return a fallback
2700 value that makes sense in most situations. Passing them a attribute
2701 value with the wrong type will still run into an assertion.
2703 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2705 * gio/gfileattribute.c:
2707 Add even more guards to the public functions. Also fix the refcounting
2708 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2709 let g_file_info_list_attributes() filter the attributes by namespace
2710 instead of simply ignoring the namespace parameter.
2712 2007-11-03 Sven Herzberg <sven@imendio.com>
2714 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2715 (This makes gio work on MacOS X again)
2717 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2720 Build the gio subdirectory before the docs. Otherwise the build will
2723 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2724 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2725 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2726 Add guards to the public functions.
2728 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2730 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2731 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2732 to prevent a compiler warning.
2734 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2735 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2736 return something in the non-void function find_topdir_for().
2738 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2745 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2747 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2748 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2749 * gwin32appinfo.c (g_win32_app_info_launch):
2750 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2751 envp_for_startup_id, g_desktop_app_info_launch,
2752 g_desktop_app_info_launch_uris):
2754 Give an opaque 'startup_id' string instead of 'envp'.
2755 Support empty file lists for launching new windows.
2756 Fix infinite recursion bug when launching URIs.
2758 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2761 Add guard to the new g_file_get_uri_scheme() function.
2763 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2766 Convert a g_return_val_if_fail() to setting the GError instead as
2767 otherwise applications have to verify the parameter before otherwise
2768 and the parameter might come directly from the user.
2770 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2772 * gio/inotify/ginotify*.[ch]:
2773 Add missing copyright information.
2775 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2778 Add guards in the beginning of public functions to check for valid
2779 parameters and fix a bug in copy_stream_with_progress() that could've
2780 caused writing less bytes than reading.
2781 * gio/glocalfileinfo.c:
2782 Check for a NULL parameter and set the GError accordingly then.
2783 * gio/goutputstream.c:
2784 Fix the same bug as in gfile.c that could've caused writing less bytes
2785 than reading in g_output_stream_real_splice().
2787 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2790 Use the correct gvolumeprivate.h naming
2792 2007-11-01 Christian Kellner <gicmo@gnome.org>
2795 Remove leftover "$(daemon_sources)" entry.
2797 2007-11-01 Christian Kellner <gicmo@gnome.org>
2802 Add copyright information to source files.
2804 2007-11-01 Alexander Larsson <alexl@redhat.com>
2808 Add g_file_get_uri_scheme
2810 2007-11-01 Alexander Larsson <alexl@redhat.com>
2813 * gio/gdesktopappinfo.c:
2814 * gio/gwin32appinfo.c:
2815 Add g_app_info_get_default_for_uri_scheme.
2817 2007-11-01 Alexander Larsson <alexl@redhat.com>
2820 Correct filename for gdriveprivate.h
2822 2007-10-31 Alexander Larsson <alexl@redhat.com>
2825 Rename id:value to id:file
2828 * gio/glocalfileinfo.c:
2831 2007-10-31 Alexander Larsson <alexl@redhat.com>
2833 * gio/gunixvolume.c:
2835 Remove g_volume_get_platform_id, as thats not
2836 needed with the simpler union volume monitor
2838 2007-10-31 Alexander Larsson <alexl@redhat.com>
2841 * gio/guniondrive.[ch]: Removed.
2842 * gio/gunionvolume.[ch]: Removed.
2843 Remove GUnionDrive/Volume
2845 * gio/gunionvolumemonitor.c:
2846 Simplify union volume monitor, now we
2847 only have one native volume monitor and
2848 we use the actual volumes/drives from the
2849 child monitors instead of wrapping them
2851 * gio/gnativevolumemonitor.[ch]:
2852 Base class for native volume monitors.
2853 Includes priority and get_volume_for_mountpoint
2856 Add g_file_find_enclosing_volume
2859 Remove volume name fs attribute
2860 Add readonly fs attribute
2863 Implement readonly attribute
2864 remove volume name attribute
2865 Implement find_enclosing volume
2867 * gio/gunixmounts.c:
2868 Add a volume for "/".
2870 * gio/gunixvolume.[ch]:
2871 Set better name for /
2873 * gio/gunixvolumemonitor.[ch]:
2874 Derive from GNativeVolumeMonitor
2875 Implement get_volume_for_mountpoint
2878 GVolume typedef moved to gfile.h
2880 * gio/gvolumeprivate.h:
2881 Add g_volume_get_for_mount_path
2883 2007-10-31 Alexander Larsson <alexl@redhat.com>
2885 * gio/gunixmounts.[ch]:
2886 Add cache info to unix mount listers
2887 Make getmntent use threadsafe
2888 Add is_system_internal attribute for GUnixMount
2890 * gio/gunixvolume.c:
2891 (g_unix_volume_new):
2892 Use is_system_internal instead of own code
2894 * gio/glocaldirectorymonitor.c:
2895 * gio/gunixvolumemonitor.c:
2896 Update to new gunixmounts API
2901 2007-10-30 Alexander Larsson <alexl@redhat.com>
2904 Add volume name fsinfo attribute
2907 Read volume name info
2909 * gio/gunionvolumemonitor.c:
2910 Fix infinite loops when finalizing a union volume monitor
2912 2007-10-30 Alexander Larsson <alexl@redhat.com>
2914 * gio/goutputstream.[ch]:
2915 Add splice() with default implementation
2917 * gio/gsocketoutputstream.c:
2918 (g_socket_output_stream_write):
2919 Return error on cancellation correctly.
2921 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2923 * gio/glocalfile.c (g_local_file_trash):
2924 Do not leak a string.
2926 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2928 * gio/gfile.c (g_file_load_contents):
2929 Unref the stream after closing it.
2931 2007-10-25 Alexander Larsson <alexl@redhat.com>
2933 * gio/gioscheduler.h:
2936 2007-10-25 Alexander Larsson <alexl@redhat.com>
2940 Add g_file_has_uri_scheme and implement for local files
2942 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2944 * gio/gdesktopappinfo.c: do not leak a string.
2946 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2948 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2949 (g_local_directory_monitor_new):
2950 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2951 (g_local_file_monitor_new):
2952 Only look for the monitor type that should be used the first time
2953 and use g_qsort_with_data() instead of our own bubble sort
2956 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2959 * gio/fam/Makefile.am:
2960 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2961 * gio/fam/fam-helper.h:
2962 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2963 * gio/fam/gfamdirectorymonitor.c:
2964 * gio/fam/gfamdirectorymonitor.h:
2965 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2966 * gio/fam/gfamfilemonitor.h:
2967 * gio/glocaldirectorymonitor.c:
2968 * gio/glocaldirectorymonitor.h:
2969 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2970 * gio/glocalfilemonitor.h:
2971 * gio/inotify/Makefile.am:
2972 * gio/inotify/ginotifydirectorymonitor.c:
2973 * gio/inotify/ginotifydirectorymonitor.h:
2974 * gio/inotify/ginotifyfilemonitor.c:
2975 * gio/inotify/ginotifyfilemonitor.h:
2976 Implement the FAM and Inotify monitors as
2977 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2978 their own GIO module. GLocal(Directory|File)Monitor will use the
2979 monitor with the highest rank that is supported on that machine.
2981 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2984 Change GIO module dir to $(libdir)/gio/modules and change
2985 the log domain from GVFS to GIO. Also only export symbols starting
2986 with g_ in the resulting library.
2987 * gio/test-streams.c: (main):
2988 Set log handler for the GIO log domain.
2990 2007-10-22 Alexander Larsson <alexl@redhat.com>
2992 * gio/gfilenamecompleter.[ch]:
2993 Add g_filename_completer_set_dirs_only
2995 2007-10-22 Alexander Larsson <alexl@redhat.com>
2998 * gio/gurifuncs.[ch]:
2999 Add some simple URI helpers
3001 * gio/gfilenamecompleter.[ch]:
3002 Added object for filename (parse name actually) completion
3005 Handle ~ in parse names
3007 2007-10-17 Alexander Larsson <alexl@redhat.com>
3010 * gio/glocalfileinfo.c:
3011 Add and implement id:value attribute
3013 2007-10-17 Alexander Larsson <alexl@redhat.com>
3016 * gio/guniondrive.c:
3018 Add and implement g_drive_has_volumes
3020 2007-10-17 Alexander Larsson <alexl@redhat.com>
3023 * gio/glocalfileinfo.[ch]:
3024 Add unix:is_mountpoint and implement for local files
3026 2007-10-16 Alexander Larsson <alexl@redhat.com>
3028 * gio/gunionvolumemonitor.c:
3029 (g_union_volume_monitor_init):
3030 Fix up the unix type getting so that it works with gcc
3032 2007-10-12 Alexander Larsson <alexl@redhat.com>
3035 * gio/glocalfileinfo.c:
3036 Add thumbnail:failed to file info
3038 2007-10-12 Richard Hult <richard@imendio.com>
3040 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3041 optimizing away the get_type call (happens with some gcc versions,
3042 like the one shipped with OS X 10.4).
3044 2007-10-12 Alexander Larsson <alexl@redhat.com>
3046 * gio/glocalfileinfo.c:
3047 (_g_local_file_info_set_attribute):
3048 Fix build if not HAVE_XATTR
3049 Patch from Milosz Derezynski <internalerror@gmail.com>
3051 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3053 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3054 around for review, otherwise I would have asked you before
3057 2007-10-11 Alexander Larsson <alexl@redhat.com>
3060 Add thumbnail:path attribute
3062 * gio/glocalfileinfo.c:
3063 Implement thumbnail:path for local files
3065 2007-10-11 Alexander Larsson <alexl@redhat.com>
3067 * gio/glocalfileinfo.c:
3068 (_g_local_file_info_get):
3069 Avoid duplicate icon names
3071 2007-10-11 Alexander Larsson <alexl@redhat.com>
3073 * gio/gthemedicon.[ch]:
3074 Change g_themed_icon_get_names return type to const
3076 2007-10-10 Alexander Larsson <alexl@redhat.com>
3078 * gio/glocalfileinfo.c:
3079 Don't reference freed memory
3081 2007-10-10 Alexander Larsson <alexl@redhat.com>
3083 * gio/gfileattribute.c:
3086 * gio/glocalfileinfo.c:
3089 2007-10-10 Alexander Larsson <alexl@redhat.com>
3092 Check for NULL icons
3094 * gio/gfileattribute.c:
3095 Don't dup when getting objects (same as for string attributes)
3097 * gio/gicon.c (g_icon_equal):
3098 Safely handle NULLs in equal
3100 2007-10-10 Alexander Larsson <alexl@redhat.com>
3103 Fix c++ compilation issues
3104 Patch from Milosz Derezynski <internalerror@gmail.com>
3106 2007-10-10 Alexander Larsson <alexl@redhat.com>
3108 * programs/gio-monitor-dir.c:
3109 Don't crash if dir monitor not supported.
3111 2007-10-09 Alexander Larsson <alexl@redhat.com>
3114 Add missing G_END_DECLS
3116 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3118 * gio/gfile.c: (g_file_set_display_name),
3119 (g_file_query_settable_attributes),
3120 (g_file_query_writable_namespaces):
3121 Return NULL not FALSE on errors as the return type is a pointer.
3123 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3125 * gio/glocalfile.c: (g_local_file_monitor_file):
3126 Don't call monitor_file on the default interface vtable (which
3127 is NULL) but simply return NULL. The caller, GFile, will create a
3128 polling monitor if NULL is returned.
3130 2007-10-09 Alexander Larsson <alexl@redhat.com>
3134 * gio-unix-2.0.pc.in:
3135 Add gio-unix-2.0.pc if OS_UNIX
3138 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3140 2007-10-09 Alexander Larsson <alexl@redhat.com>
3142 * gio/gunixmounts.[ch]:
3143 Make unix mount monitoring API sane.
3144 Now its just a object with mounts_changed
3145 and mountpoints_changed signals.
3147 * gio/glocaldirectorymonitor.c:
3148 * gio/gunixvolumemonitor.c:
3149 Use new mount monitor api
3151 2007-10-09 Alexander Larsson <alexl@redhat.com>
3153 * gio/gunixmounts.[ch]:
3154 Move guess type into one call for mounts and one for mountpoints
3157 * gio/gunixvolume.c:
3160 2007-10-09 Alexander Larsson <alexl@redhat.com>
3162 * gio/gunixmounts.[ch]:
3163 Remove _ prefix in preparation to make this semi-public
3164 Hide implementation of structs
3166 * gio/glocaldirectorymonitor.c:
3168 * gio/gunixvolume.c:
3169 * gio/gunixvolumemonitor.c:
3170 Update for above API changes
3172 2007-10-08 Alexander Larsson <alexl@redhat.com>
3175 Better polling fallback. This also handles the case where we have
3176 a monitor_file implementation, but it fails.
3178 2007-10-08 Alexander Larsson <alexl@redhat.com>
3182 * gio/gunixmounts.c:
3183 * programs/gio-monitor-dir.c:
3184 * programs/gio-monitor-file.c:
3185 Added cancellable to file monitoring calls.
3186 These are really sync calls and need this.
3188 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3190 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3191 (g_local_vfs_class_init):
3192 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3193 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3195 2007-10-05 Alexander Larsson <alexl@redhat.com>
3197 * gio/gdirectorymonitorprivate.h:
3198 * gio/gfilemonitorprivate.h:
3199 * gio/gdirectorymonitor.h:
3200 * gio/gfilemonitor.h:
3201 Remove *private.h and move to the public API, so that
3202 we can do implementations outside gio (such as in gvfs)
3204 * gio/gdirectorymonitor.c:
3205 * gio/gfilemonitor.c:
3206 * gio/glocaldirectorymonitor.c:
3207 * gio/gpollfilemonitor.c:
3208 * gio/inotify/inotify-helper.c:
3209 * gio/fam/fam-helper.c:
3210 Update to the new header names
3212 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3214 * gio/gdirectorymonitor.c:
3215 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3218 2007-10-04 Alexander Larsson <alexl@redhat.com>
3220 * gio/glocalfileinfo.c (get_access_rights):
3221 Set CAN_TRASH when we can move the file.
3222 We should really also check for a parent trash dir.
3224 2007-10-04 Alexander Larsson <alexl@redhat.com>
3226 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3227 Add can_trash access attribute
3229 2007-10-04 Alexander Larsson <alexl@redhat.com>
3232 (g_local_file_trash):
3233 Create info file first. This is per-spec and allows
3234 us to actually trash directories.
3236 2007-10-02 Alexander Larsson <alexl@redhat.com>
3238 * gio/gdesktopappinfo.c:
3239 Implement the new mime support code.
3240 Always set app as handling mimetype when being set as default for it
3242 2007-10-01 Alexander Larsson <alexl@redhat.com>
3244 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3245 Fix up check for xattrs:
3247 2007-10-01 Alexander Larsson <alexl@redhat.com>
3250 (g_app_info_set_as_default_for_extension):
3251 (g_app_info_add_supports_type):
3252 (g_app_info_can_remove_supports_type):
3253 (g_app_info_remove_supports_type):
3254 Make these fail nicely if not implemented
3256 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3258 * gio/glocalfileoutputstream.c:
3259 * gio/glocalfileoutputstream.h:
3264 * programs/gio-save.c:
3265 Add a GFileCreateFlags argument to operations that can create
3268 2007-10-01 Alexander Larsson <alexl@redhat.com>
3270 * gio/gappinfo.[ch]:
3271 * gio/gdesktopappinfo.c:
3272 Add more (stubbed out) mime API needed for nautilus
3274 2007-10-01 Alexander Larsson <alexl@redhat.com>
3277 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3278 Add g_app_info_set_as_default_for_extension.
3280 * gio/gdesktopappinfo.c:
3281 Dummy for g_app_info_set_as_default_for_extension
3282 Support flags in g_app_info_create_from_commandline
3284 * gio/gwin32appinfo.c:
3286 Update for API changes
3288 * gio/gthemedicon.c:
3289 Properly NULL-terminate list of icon names
3291 2007-09-28 Alexander Larsson <alexl@redhat.com>
3293 * gio/gloadableicon.h:
3294 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3296 2007-09-28 Alexander Larsson <alexl@redhat.com>
3299 Install headers in $includedir/gio-standalone/
3301 * gio-2.0.pc.in: Added.
3302 * gio-standalone.pc.in: Removed.
3305 Renamed pkg-config file to match glib (for future move)
3306 Update to the new include dir
3309 Add more TODO comments
3311 2007-09-28 Alexander Larsson <alexl@redhat.com>
3313 * gio/gdesktopappinfo.[ch]:
3314 Expose new_from_filename
3315 Add getter for is_hidden and handle it better
3317 2007-09-28 Alexander Larsson <alexl@redhat.com>
3319 * gio/gfileinfo.[ch]:
3320 Rename g_file_size_format_for_display to
3321 g_format_file_size_for_display.
3322 Now it doesn't have the g_file prefix, so we
3323 can later move it to glib.
3325 2007-09-28 Alexander Larsson <alexl@redhat.com>
3327 * gio/gappinfo.[ch]:
3328 Add g_app_info_get_id and g_app_info_get_executable.
3329 Make all getters non-reffing
3330 Make g_app_info_launch take GFile arguments.
3331 Add must_support_uris argument to g_app_info_get_default_for_type.
3333 * gio/gwin32appinfo.c:
3334 Update to GAppInfo api changes
3336 * gio/gdesktopappinfo.c:
3337 Update to GAppInfo api changes
3338 Implement supports_xdg_startup_notify
3340 * gio/gfileicon.c (g_file_icon_get_file):
3341 Make getter non-reffing.
3346 2007-09-27 Alexander Larsson <alexl@redhat.com>
3348 * gio/gfileinfo.[ch]:
3349 Add g_file_size_format_for_display helper
3351 2007-09-27 Alexander Larsson <alexl@redhat.com>
3353 * gio/glocalfileinfo.c:
3354 Set UNIX_GID from gid, not from uid
3356 2007-09-27 Alexander Larsson <alexl@redhat.com>
3359 Add g_file_set_attributes_async
3361 2007-09-27 Alexander Larsson <alexl@redhat.com>
3363 * gio/glocalfile.c (g_local_file_set_display_name):
3364 Fix set_display_name to actually rename to the right place.
3365 Use lstat to look for existing files so we don't overwrite
3368 2007-09-26 Alexander Larsson <alexl@redhat.com>
3371 Add g_file_set_display_name_async()
3373 2007-09-26 Alexander Larsson <alexl@redhat.com>
3376 Add load_partial_contents async calls
3379 Make internal function static
3381 2007-09-26 Alexander Larsson <alexl@redhat.com>
3383 * gio/glocalfileinfo.c:
3384 Correctly detect broken symlinks
3386 2007-09-26 Alexander Larsson <alexl@redhat.com>
3388 * gio/gcancellable.c (g_cancellable_cancel):
3389 Allow cancel on NULL cancellable
3391 2007-09-25 Alexander Larsson <alexl@redhat.com>
3393 * gio/gsimpleasyncresult.c:
3394 Don't allocate g_error manually.
3395 Fixes g_slice/g_new mixup crash
3397 2007-09-25 Alexander Larsson <alexl@redhat.com>
3399 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3400 Actually set active_backend.
3401 This means the monitor will be cancelled correctly.
3403 2007-09-25 Alexander Larsson <alexl@redhat.com>
3405 * gio/gdirectorymonitor.c:
3406 Set timeout to NULL when destroying
3408 2007-09-25 Alexander Larsson <alexl@redhat.com>
3411 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3412 that is a better description of the error.
3414 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3416 * gio/gvfs.c: (g_vfs_get_local):
3417 Make the local vfs variable static. The same instance should
3420 2007-09-24 Alexander Larsson <alexl@redhat.com>
3422 * gio/glocalfileinfo.c:
3423 Pass in actual length read into sniffer, not the length
3426 2007-09-21 Alexander Larsson <alexl@redhat.com>
3428 * gio/gfileenumerator.c:
3431 * gio/gfileinputstream.c:
3432 * gio/gfileoutputstream.c:
3433 * gio/ginputstream.c:
3434 * gio/goutputstream.c:
3435 Don't crash if async callbacks are NULL
3437 2007-09-20 Alexander Larsson <alexl@redhat.com>
3440 Add async enumerate_children method and default
3443 2007-09-20 Alexander Larsson <alexl@redhat.com>
3446 Add g_file_contains_file & g_file_get_relative_path, since they
3447 were needed for nautilus.
3448 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3453 Implement new methods
3455 2007-09-17 Alexander Larsson <alexl@redhat.com>
3458 * gio/gfileinputstream.[ch]:
3459 * gio/gfileoutputstream.[ch]:
3461 * gio/glocalfileenumerator.[ch]:
3462 * gio/glocalfileinfo.[ch]:
3463 * gio/glocalfileinputstream.c:
3464 * gio/glocalfileoutputstream.c:
3465 * gio/gpollfilemonitor.c:
3466 * programs/gio-copy.c:
3467 * programs/gio-info.c:
3468 * programs/gio-move.c:
3469 Rename get_file_info to query_info() to make it clearer
3470 that these are not simple getters, but do i/o.
3472 2007-09-17 Alexander Larsson <alexl@redhat.com>
3474 * gio/gdatainputstream.[ch]:
3475 * gio/test-streams.c:
3476 Use _read_XXX instead of _get_XXX for the i/o calls
3479 2007-09-17 Alexander Larsson <alexl@redhat.com>
3482 Added needed stuff to TODO comment
3484 2007-09-17 Alexander Larsson <alexl@redhat.com>
3486 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3487 Don't error out removing the backup copy if it doesn't
3490 2007-09-14 Alexander Larsson <alexl@redhat.com>
3492 * programs/Makefile.am:
3493 * programs/gvfs-*.c:
3495 Renamed apps from gvfs-xxx to gio-xxx.
3497 2007-09-14 Alexander Larsson <alexl@redhat.com>
3500 * gio/gfileoutputstream.[ch]:
3501 * gio/glocalfileoutputstream.c:
3502 * programs/gvfs-save.c:
3503 g_file_output_stream_get_etag doesn't do i/o, so remove
3504 cancellation and error.
3506 2007-09-14 Alexander Larsson <alexl@redhat.com>
3509 Add new_etag output to replace_contents functions
3511 2007-09-14 Alexander Larsson <alexl@redhat.com>
3513 * gio/gfileoutputstream.[ch]:
3514 Add async get_file_info and default implementation
3516 2007-09-14 Alexander Larsson <alexl@redhat.com>
3518 * gio/gfileinputstream.c:
3519 Implement fallback wrapper for async get_file_info
3521 2007-09-14 Alexander Larsson <alexl@redhat.com>
3524 Add etag out argument to load_contents
3529 2007-09-14 Alexander Larsson <alexl@redhat.com>
3531 * gio/gcontenttype.c (looks_like_text):
3532 Whitespace like tab, cr and lf do not make the
3535 2007-09-14 Alexander Larsson <alexl@redhat.com>
3537 * gio/gfileinputstream.[ch]:
3538 Add async get_file_info.
3540 2007-09-13 Alexander Larsson <alexl@redhat.com>
3542 * gio/goutputstream.c (g_output_stream_write_all):
3543 Allow NULL for bytes_written
3545 2007-09-13 Alexander Larsson <alexl@redhat.com>
3547 * gio/gmemoryinputstream.[ch]:
3548 Add accessors for data
3550 2007-09-13 Alexander Larsson <alexl@redhat.com>
3552 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3553 Don't crash if length is NULL