1 2008-02-21 Alexander Larsson <alexl@redhat.com>
4 Add more documentation about how GFiles work (from #517086)
6 2008-02-21 Alexander Larsson <alexl@redhat.com>
10 Add new g_file_has_prefix that does the same as g_file_contains_file.
11 Deprecate g_file_contains_file and add a macro that converts
12 it to g_file_has_prefix.
13 The reason for this change is that the contains_file() name seems to
14 imply that this does more work than what it does, but its really only
15 a name match (from #517086)
20 Update to match the above change.
22 2008-02-20 Benjamin Otte <otte@gnome.org>
24 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
25 (g_file_eject_mountable):
26 even more cases of not returning in error path
28 2008-02-20 Benjamin Otte <otte@gnome.org>
30 * gfile.c: (g_file_mount_mountable):
31 return from function in error path.
33 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
36 Remove trailing coma in GMountMountFlags struct
38 2008-02-18 Alexander Larsson <alexl@redhat.com>
42 * glocalfileoutputstream.c:
43 Use g_unlink/g_rename instead of unlink/rename;
44 do not pass raw filenames to g_set_error. (#517239)
45 Patch from Yevgen Muntyan.
47 2008-02-18 Alexander Larsson <alexl@redhat.com>
50 * glocalfileoutputstream.c:
51 Open files with O_BINARY on windows. (#517140)
53 2008-02-14 Alexander Larsson <alexl@redhat.com>
55 * glocalfileoutputstream.c:
56 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
58 2008-02-14 Alexander Larsson <alexl@redhat.com>
61 Copy permissions with file on copy (#514084)
62 This is what cp does and makes sure e.g. the
63 exec permissions are kept.
64 Its kinda weird in that it keeps the permission bits
65 the same while the uid and gid are different. However
66 the new uid is the user so its not a security issue,
67 and I've heard no complaints about cp on this issue.
69 2008-02-13 Ryan Lortie <desrt@desrt.ca>
71 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
73 2008-02-13 Alexander Larsson <alexl@redhat.com>
75 * inotify/inotify-path.c:
76 Define IN_ONLYDIR if not in header (#515346)
78 2008-02-12 Alexander Larsson <alexl@redhat.com>
80 * tests/live-g-file.c:
83 2008-02-11 Matthias Clasen <mclasen@redhat.com>
85 * === Released 2.15.5 ===
87 2008-02-11 Matthias Clasen <mclasen@redhat.com>
89 * gio.symbols: Add g_mount_mount_flags_get_type.
91 2008-02-11 Alexander Larsson <alexl@redhat.com>
94 (g_file_info_set_attribute_mask):
95 (g_file_attribute_matcher_matches_id):
96 Correctly handle NULL GAttributeMatcher meaning
97 matches nothing. (Fixes #513492)
99 2008-02-11 Alexander Larsson <alexl@redhat.com>
104 Added GMountMountFlags enum and added a flags
105 argument to all mount calls.
107 This is an API/ABI change for future extensibility,
108 as I think we will need at least an
109 inhibit-autorun flag (the panel needs this).
110 There are no flags defined yet though.
112 2008-02-11 Alexander Larsson <alexl@redhat.com>
115 Added new standard::description attribute.
116 Requested by Vincent, and useful for both
119 2008-02-11 Alexander Larsson <alexl@redhat.com>
124 2008-02-11 Matthias Clasen <mclasen@redhat.com>
126 * *.c: Documentation additions
128 2008-02-10 Matthias Clasen <mclasen@redhat.com>
130 * gappinfo.h: Formatting cleanup
131 * gappinfo.c: Fix up docs.
133 2008-02-09 Matthias Clasen <mclasen@redhat.com>
135 * gunixmounts.c: Consistently use getmntent_r() and fall
136 back to getmntent(). (#515492)
138 2008-02-09 Matthias Clasen <mclasen@redhat.com>
140 * gbufferedinputstream.c:
142 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
144 * tests/data-input-stream.c:
145 * tests/data-output-stream.c: Portability fixes.
147 2008-02-08 Alexander Larsson <alexl@redhat.com>
152 Add g_volume_should_automount.
155 2008-02-07 Tor Lillqvist <tml@novell.com>
157 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
158 Win32, too Unix-specific.
160 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
162 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
163 a local plt if the compiler doesn't support what we want. Bug #514702
165 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
167 reviewed by: <delete if not using a buddy>
170 * gunixinputstream.c:
171 * gunixoutputstream.c:
173 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
176 * tests/live-g-file.c:
177 * tests/live-g-file.txt:
178 New GIO testing module working over real data
180 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
182 * glocalfileoutputstream.c (g_local_file_output_stream_close):
183 Fallback to rename() if link() is not available
184 (when no support on target filesystem)
186 2008-02-06 Michael Natterer <mitch@imendio.com>
188 * gfileinfo.c (g_file_info_get_icon): replace
189 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
191 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
193 * gfile.c (g_file_create):
194 Documentation update of error codes
196 2008-02-06 Alexander Larsson <alexl@redhat.com>
199 Update to use both mimeapps.list and
200 defaults.list as discussed on xdg list.
202 2008-02-06 Benjamin Otte <otte@gnome.org>
205 * gfilenamecompleter.c:
206 Fix some typos in the documentation.
208 2008-02-06 Alexander Larsson <alexl@redhat.com>
210 * glocalfile.c (g_local_file_trash):
211 Don't succeed with trash if newly created
212 trash dir has the wrong owner. (#514696)
214 2008-02-05 Alexander Larsson <alexl@redhat.com>
216 * glocalfile.c (g_local_file_move):
217 Don't spew warnings when destination is not
220 2008-02-03 Hans Breuer <hans@breuer.org>
222 * makefile.msc : update
224 2008-02-01 Michael Natterer <mitch@imendio.com>
226 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
227 return value of xdg_mime_list_mime_parents() to a variable of the
230 2008-02-01 Alexander Larsson <alexl@redhat.com>
232 * gappinfo.c (g_app_info_launch_uris):
233 Actually call the launch_uris method, not
236 2008-02-01 Alexander Larsson <alexl@redhat.com>
238 * gdesktopappinfo.c (g_desktop_app_info_equal):
239 Ensure appinfos with no id but same pointer value
242 2008-02-01 Alexander Larsson <alexl@redhat.com>
244 * gappinfo.c (g_app_info_launch_default_for_uri):
247 2008-02-01 Alexander Larsson <alexl@redhat.com>
251 Add g_app_info_launch_default_for_uri utility
254 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
257 Doc fix for g_app_info_get_default_for_uri_scheme ()
260 2008-01-30 Alexander Larsson <alexl@redhat.com>
263 Add doc comment about uris vs GFiles to
267 Ensure uris passed to g_app_info_launch_uris()
268 are not roundtriped through GFile (as that
269 may be slightly destructive for e.g. mailto: links)
271 2008-01-30 Alexander Larsson <alexl@redhat.com>
273 * tests/data-input-stream.c:
274 * tests/data-output-stream.c:
275 C89 fixes from Jens Granseuer (#512849)
277 2008-01-30 Alexander Larsson <alexl@redhat.com>
280 Fix gamin/fam difference build issue. (#509419)
282 2008-01-29 Alexander Larsson <alexl@redhat.com>
286 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
288 2008-01-29 Alexander Larsson <alexl@redhat.com>
292 giomodule-priv.h include moved to .c file.
294 2008-01-29 Alexander Larsson <alexl@redhat.com>
296 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
297 Remove unused prio/name fields.
299 2008-01-29 Alexander Larsson <alexl@redhat.com>
301 * gcontenttype.c (looks_like_text):
302 Don't treat whitespace as control chars.
304 2008-01-29 Alexander Larsson <alexl@redhat.com>
307 Lazily create the desktop files for appinfos created
308 by g_app_info_create_from_commandline() when needed
309 for mime associations. This allows run-time use
310 of GAppInfo object without creating unnecessary
313 2008-01-29 Alexander Larsson <alexl@redhat.com>
316 Added new symbols to gio.symbols
318 2008-01-29 Alexander Larsson <alexl@redhat.com>
321 Add g_file_query_default_handler utility to easily look up
322 the GAppInfo that handles a file.
324 * gdesktopappinfo.[ch]:
326 Set up an extension point for g_app_info_get_default_for_uri_scheme()
329 Remove unused function
331 2008-01-29 Alexander Larsson <alexl@redhat.com>
334 Mention need to free returned value in
335 g_file_enumerator_next_files_finish docs.
336 Fix leak if g_file_enumerator_next_files_finish()
339 2008-01-29 Alexander Larsson <alexl@redhat.com>
342 (_g_unix_content_type_get_parents):
343 Use list_parents, not get_parents from xdgmime, because
344 the later doesn't use the cache.
346 * xdgmime/xdgmimecache.c:
347 (_xdg_mime_cache_list_mime_parents):
348 Don't list the same type as parent multiple times.
350 2008-01-28 Matthias Clasen <mclasen@redhat.com>
352 * === Released 2.15.4 ===
354 2008-01-28 Alexander Larsson <alexl@redhat.com>
357 Register local vfs with prio 0.
360 Remove old name and prio class members
362 2008-01-28 Matthias Clasen <mclasen@redhat.com>
364 * tests/g-file.c: Disable some tests that are failing in
365 the absence of a http backend.
367 2008-01-28 Alexander Larsson <alexl@redhat.com>
371 Add registration hooks for extension points.
372 Register the gio extension points.
374 * fam/gfamdirectorymonitor.c:
375 * fam/gfamfilemonitor.c:
376 * glocaldirectorymonitor.[ch]:
377 * glocalfilemonitor.[ch]:
378 * gnativevolumemonitor.h:
379 * gunionvolumemonitor.c:
380 * gunixvolumemonitor.c:
383 * inotify/ginotifydirectorymonitor.c:
384 * inotify/ginotifyfilemonitor.c:
385 Use the extension points registration instead
386 of g_type_children().
388 2008-01-28 Matthias Clasen <mclasen@redhat.com>
391 * gvolume.[hc]: Document new API.
393 * gfile.c (g_file_copy_async): Fix docs
395 2008-01-27 Matthias Clasen <mclasen@redhat.com>
397 * gbufferedinputstream.c:
399 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
402 2008-01-27 Matthias Clasen <mclasen@redhat.com>
404 * glocalfile.c: Avoid trivial differences in translatable strings.
406 2008-01-25 Matthias Clasen <mclasen@redhat.com>
408 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
409 build with gcc 3.4 (#509419)
411 2008-01-25 Matthias Clasen <mclasen@redhat.com>
413 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
414 (#509994, Murray Cumming)
416 2008-01-25 Matthias Clasen <mclasen@redhat.com>
418 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
419 * gioscheduler.c: Keep calling io jobs until they return FALSE;
420 this allows big jobs to be executed in chunks, instead of blocking
421 the main loop for a long time.
423 * gsimpleasyncresult.c:
424 * giofile.c: Adapt callers.
426 2008-01-25 Alexander Larsson <alexl@redhat.com>
429 Implement changes discussed on xdg list.
430 Now we can add supported mimetypes by just using defaults.list
431 We can also remove associations in defaults.list.
433 2008-01-25 Alexander Larsson <alexl@redhat.com>
436 Don't make local copy of desktop file
437 for mimetype changes if the file already
438 supports the new mimetype.
440 2008-01-25 Matthias Clasen <mclasen@redhat.com>
444 * gbufferedinputstream.c:
445 * glocalfile.c: String improvements. (#511966,
446 Theppitak Karoonboonyanan)
448 2008-01-24 Matthias Clasen <mclasen@redhat.com>
450 * gioscheduler.h: Expand docs a bit.
452 2008-01-24 Alexander Larsson <alexl@redhat.com>
455 Add g_drive_get_identifier and
456 g_drive_enumerate_identifiers
459 Add g_volume_get_identifier and
460 g_volume_enumerate_identifiers
466 Implement identifiers for unix backend
468 2008-01-24 Alexander Larsson <alexl@redhat.com>
473 Add g_file_copy_async() (#511580)
474 Based on patch from Carlos Garcia Campos
476 2008-01-23 Matthias Clasen <mclasen@redhat.com>
478 * gioscheduler.c: Some documentation additions.
480 2008-01-22 Alexander Larsson <alexl@redhat.com>
483 (g_desktop_app_info_new):
486 2008-01-22 Alexander Larsson <alexl@redhat.com>
489 (g_desktop_app_info_new_from_filename):
492 2008-01-22 Alexander Larsson <alexl@redhat.com>
494 * glocalfileinfo.c (get_thumbnail_attributes):
497 2008-01-22 Alexander Larsson <alexl@redhat.com>
500 (canonicalize_filename):
501 Canonicalize paths that start with more than
506 (test_g_file_new_for_path):
509 2008-01-22 Alexander Larsson <alexl@redhat.com>
512 Allow UTF-8 in file:// parse names.
515 * tests/data-input-stream.c:
516 * tests/data-output-stream.c:
517 * tests/g-file-info.c:
519 Added a bunch of tests from Tomas Bzatek
521 2008-01-21 Matthias Clasen <mclasen@redhat.com>
523 * === Released 2.15.3 ===
525 2008-01-21 Alexander Larsson <alexl@redhat.com>
527 * gfileinputstream.[ch]:
528 * gfileoutputstream.[ch]:
530 Remove duplicated GSeekable functions. (#509990)
531 Just use the g_seekable_xxx() calls instead.
533 2008-01-21 Matthias Clasen <mclasen@redhat.com>
536 * gvolumemanager.c: Whitespace cleanups.
538 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
539 Use the right mode when creating the file.
541 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
544 * gfileinputstream.c:
546 * goutputstream.c: Documentation: Fixed minor typos
547 and added more mentions of specific _finish() functions.
549 2008-01-21 Alexander Larsson <alexl@redhat.com>
551 * inotify/Makefile.am:
552 * inotify/inotify-helper.c:
553 * inotify/inotify-kernel.c:
554 * inotify/inotify-path.c:
555 * inotify/local_inotify.h: Removed.
556 * inotify/local_inotify_syscalls.h: Removed.
557 Removed the included copies of the inotify
558 headers. We now only use the <sys/inotify.h>
559 header which exists on modern systems.
560 This fixes problems on ARM and SH5 (#510448)
561 but is also generally much cleaner and future
562 safe. For instance, if other OSes add support
563 for inotify it should "just work".
565 2008-01-20 Matthias Clasen <mclasen@redhat.com>
567 * inotify/*.c: Coding style fixes.
568 * inotify/inotify-missing.c: Use g_timeout_add_seconds
569 for the 1/4 Hz timer.
571 2008-01-20 Matthias Clasen <mclasen@redhat.com>
575 * gmemoryinputstream.c:
576 * gmemoryoutputstream.c:
578 * gthemedicon.c: Documentation updates
580 2008-01-20 Murray Cumming <murrayc@murrayc.com>
582 * gfile.c: documentation: Fixed more minor
585 2008-01-18 Murray Cumming <murrayc@murrayc.com>
587 * gmount.c: (g_mount_remount): documentation:
588 Mention g_mount_remount_finish() instead of
589 g_mount_unmount_finish().
591 2008-01-18 Murray Cumming <murrayc@murrayc.com>
595 * gfile.c: Fixed some minor typos in the
598 2008-01-18 Murray Cumming <murrayc@murrayc.com>
600 * gio/gvolumemonitor.c:
601 (g_volume_monitor_get_connected_drives):
602 (g_volume_monitor_get_volumes):
603 (g_volume_monitor_get_mounts): Documentation:
604 Clarify the ownership of the regurn GLists.
606 2008-01-17 Alexander Larsson <alexl@redhat.com>
609 Add the async find_enclosing_mount version
610 to the header file too.
612 2008-01-17 Alexander Larsson <alexl@redhat.com>
615 Add async version of find_enclosing_mount
616 with default implementation.
618 2008-01-17 Alexander Larsson <alexl@redhat.com>
623 Allow calls to implementation of copy and write
624 even if the type of the file implementations is
625 different. This can be used to implement native
626 upload and download calls in a vfs.
630 Protect against the case where move is called
631 with one file not being local.
633 Make sure we call the progress callback once
634 in the native move operation so that the caller
635 knows how many bytes were copied.
637 2008-01-16 Murray Cumming <murrayc@murrayc.com>
640 * gdatainputstream.c:
642 * gfileoutputstream.c:
647 * gunixmounts.c: Corrected some typos in the documentation:
649 its -> it's (where appropriate).
651 2008-01-16 Alexander Larsson <alexl@redhat.com>
655 Add g_file_query_exists (#508771)
657 2008-01-15 Murray Cumming <murrayc@murrayc.com>
662 * gvolume.c: For async functions that have no non-async
663 version, document that the GAsyncReadyCallback may be NULL.
666 2008-01-15 Alexander Larsson <alexl@redhat.com>
668 * gmemoryinputstream.c:
669 * gmemoryoutputstream.c:
670 Don't do pointer arithmetic on void * (#508602)
671 Patch from Kazuki IWAMOTO
673 2008-01-14 Matthias Clasen <mclasen@redhat.com>
675 * === Released 2.15.2 ===
677 2008-01-14 Alexander Larsson <alexl@redhat.com>
679 * gfile.c (g_file_monitor_file):
680 Don't set error here, since we fallback to polling monitor.
682 2008-01-14 Alexander Larsson <alexl@redhat.com>
685 (g_file_monitor_directory):
686 (g_file_monitor_file):
687 Add GError to file monitor calls
689 * glocaldirectorymonitor.c:
690 * glocaldirectorymonitor.h:
692 * glocalfilemonitor.c:
693 * glocalfilemonitor.h:
695 Update for above change
697 2008-01-14 Alexander Larsson <alexl@redhat.com>
701 Handle root correctly in g_file_get_relative_path (#508719)
703 2008-01-14 Alexander Larsson <alexl@redhat.com>
706 Clean up docs and example for GAsyncResult (#508074)
708 2008-01-11 Murray Cumming <murrayc@murrayc.com>
710 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
711 and correct some spelling mistakes. Bug #508108.
713 2008-01-11 Matthias Clasen <mclasen@redhat.com>
715 * glocalfileinfo.c: Add a comment.
717 2008-01-10 Murray Cumming <murrayc@murrayc.com>
719 * gfileinfo.c: GFileInfo description: Mention
720 how to actually set attributes in a GFile and how to discover
721 which attributes are settable. Bug #508378.
723 2008-01-10 A. Walton <awalton@svn.gnome.org>
725 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
726 (g_app_info_get_default_for_type):
727 Check for NULL content types.
729 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
731 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
733 2008-01-09 Murray Cumming <murrayc@murrayc.com>
735 * gfile.c: *_async() functions: Several small corrections
736 to the documentation, mostly correcting copy/paste errors
737 and improving some sentences.
739 2008-01-09 Dan Winship <danw@gnome.org>
741 * glocalfile.c (get_unique_filename): x86_64 fix
743 2008-01-09 Alexander Larsson <alexl@redhat.com>
748 Add g_unix_mount_guess_should_display and use
749 for unix volume monitor backend.
750 This means we more or less show what the
751 gnome-vfs backend did.
752 Based on patch from Padraig O'Briain
754 2008-01-09 Alexander Larsson <alexl@redhat.com>
758 Add g_themed_icon_new_with_default_fallbacks
761 Use default fallbacks for icons
763 2008-01-09 Alexander Larsson <alexl@redhat.com>
766 * gmountoperation.[ch]:
767 Change the API a bit so that unhandled methods
768 get reported via the reply, rather than by
769 the signal emission return value. This is because
770 some handlers can't know this immediately without
771 doing I/O, and this is an async operation that
774 2008-01-09 Alexander Larsson <alexl@redhat.com>
777 * fam/gfamdirectorymonitor.c:
778 * fam/gfamfilemonitor.c:
779 Fix double free crash (#508224)
780 Patch from Joe Marcus Clarke
782 008-01-07 Matthias Clasen <mclasen@redhat.com>
784 * === Released 2.15.1 ===
786 2008-01-07 Alexander Larsson <alexl@redhat.com>
788 * gunixinputstream.c (g_unix_input_stream_skip_finish):
789 Fix warning (#507835)
791 2008-01-07 Alexander Larsson <alexl@redhat.com>
794 Pass --internal to glib-genmarshal
799 Use better types for signal arguments (#507822)
801 2008-01-07 Alexander Larsson <alexl@redhat.com>
804 Build test subdir after .
805 Remove gdirectorymonitor.[ch]
807 * gdirectorymonitor.[ch]:
811 Remove GDirectoryMonitor and make
812 GFileMonitor the baseclass for both file and
813 directory monitors. Lift the more generic
814 rate limiting code from GDirectoryMonitor
818 * fam/gfamdirectorymonitor.[ch]:
819 * inotify/ginotifydirectorymonitor.[ch]:
820 * inotify/inotify-helper.c:
821 * glocaldirectorymonitor.[ch]:
824 Update for the removed GDirectoryMonitor.
826 * gmemoryoutputstream.c:
827 Remove ununsed variable
829 2008-01-07 Alexander Larsson <alexl@redhat.com>
831 * gmemoryinputstream.c:
832 Translate error strings
835 * gmemoryoutputstream.[ch]:
836 New implementation that avoids using GByteArray
837 in implementation and API. (#506377)
839 2008-01-06 Matthias Clasen <mclasen@redhat.com>
841 * tests/*: Add a test for memory input streams.
843 * Makefile.am: Add tests to SUBDIRS.
845 2008-01-06 Matthias Clasen <mclasen@redhat.com>
847 * glocalfilemonitor.c:
848 * glocaldirectorymonitor.c: Mark property nicks and blurbs
851 2008-01-06 Matthias Clasen <mclasen@redhat.com>
853 * gdesktopappinfo.c: Fix a docs typo.
855 * gfileattribute.c: Add information about extended attributes
856 to the documentation. (#505058)
858 2008-01-04 Alexander Larsson <alexl@redhat.com>
862 Use the right type (uint) for the ask_password signal.
864 2008-01-04 Alexander Larsson <alexl@redhat.com>
869 Add g_app_info_supports_files()
870 Remove desktop arg from g_app_info_should_show().
872 * gdesktopappinfo.[ch]:
873 Implement g_app_info_supports_files() and new should_show()
874 Add g_desktop_app_info_set_desktop_env() to set the desktop
875 for should_show(). (This will be set by gtk+ later)
877 2008-01-04 Alexander Larsson <alexl@redhat.com>
880 * gmemoryinputstream.[ch]:
881 Improve API so that you can use multiple chunks
882 of memory and custom destroy functions. (#506374)
884 2008-01-03 Alexander Larsson <alexl@redhat.com>
887 Handle NULL attribute matchers safely, as we return this
888 for empty attribute matcher strings.
890 2008-01-03 Alexander Larsson <alexl@redhat.com>
892 * gunixmounts.c (g_unix_is_mount_path_system_internal):
893 Add /usr/local to list of internal mountpoints
895 2008-01-03 Alexander Larsson <alexl@redhat.com>
898 Check for HAVE_LCHOWN (#505887)
900 2008-01-03 Alexander Larsson <alexl@redhat.com>
904 Add define for selinux context attribute.
905 Fix missing : -> :: namespace separator change
906 Fix missing _ -> - name change for xattr-sys.
909 2008-01-03 Alexander Larsson <alexl@redhat.com>
912 Link to libglib and libgobject directly (#504879)
913 Patch from Sebastien Bacher
915 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
917 * gfile.c: Expanded the g_file_new_for_commandline_arg
918 description a bit, based on the code and the docs of the
919 other g_file_new_for_* functions.
921 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
923 * gfilemonitor.h: Fixed typo in docs.
925 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
927 Updates to GIO documentation. (#506395, Mikael Hermansson)
929 * gcontenttype.c: Describe memory management for return value of
930 g_content_types_get_registered(). Missing piece from #505815.
931 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
932 GVolume, GDrive, GMounts, which hopefully gives the user less
933 confusions when using this API. Following explainations from
934 Alexander Larsson on gtk-devel-list.
936 2007-12-30 Matthias Clasen <mclasen@redhat.com>
938 * gfileinfo.c: Expand the long description.
940 2007-12-30 Matthias Clasen <mclasen@redhat.com>
943 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
944 fix builds with --disable-visibility. (#500273, Christian Persch)
946 2007-12-30 Matthias Clasen <mclasen@redhat.com>
948 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
949 in the list of returned app infos.
951 2007-12-30 Matthias Clasen <mclasen@redhat.com>
953 * gappinfo.c: Fix a cross-reference
955 2007-12-30 Matthias Clasen <mclasen@redhat.com>
957 * gfileinputstream.c:
958 * gfileoutputstream.c:
964 * gfileinfo.c: Documentation updates.
966 2007-12-26 Matthias Clasen <mclasen@redhat.com>
968 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
971 2007-12-26 Matthias Clasen <mclasen@redhat.com>
973 * gcontenttype.c (g_content_types_get_registered): Don't return
974 freed memory (#505815, Mikael Hermansson)
976 2007-12-25 Paolo Borelli <pborelli@katamail.com>
978 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
979 used to detect statbuf->st_blocks. (#505042)
981 2007-12-24 Matthias Clasen <mclasen@redhat.com>
983 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
984 environment handling. (#504829, Cosimo Cecchi)
986 2007-12-22 Matthias Clasen <mclasen@redhat.com>
988 * gappinfo.c: Doc improvements
990 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
993 2007-12-20 Matthias Clasen <mclasen@redhat.com>
995 * === Released 2.15.0 ===
997 2007-12-20 Hans Breuer <hans@breuer.org>
999 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1000 with symbols gwin32appinfo.obj, added gmount.obj
1001 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1003 2007-12-20 Alexander Larsson <alexl@redhat.com>
1009 * gfilenamecompleter.c:
1012 * gpollfilemonitor.c:
1013 File attribute renames:
1015 fs:: -> filesystem::
1016 id::fs -> id::filesystem
1018 2007-12-20 Alexander Larsson <alexl@redhat.com>
1027 Add GMountUnmountFlags to all unmount and
1029 Add g_mount_remount() call.
1031 2007-12-20 Alexander Larsson <alexl@redhat.com>
1033 * gvfs.c (get_default_vfs):
1034 Fix unused variable warning
1036 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1038 * pltcheck.sh: Update
1040 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1042 * gunionvolumemonitor.c:
1043 * gunixmount.c: Remove C99 comments
1045 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1047 * gio.symbols: Add some missing symbols
1049 2007-12-19 Alexander Larsson <alexl@redhat.com>
1052 Make g_io_modules_load_all_in_directory not unuse
1053 loaded modules so that users of it can do stuff
1055 Init internal "module" types.
1056 Initialize static prio and name for types so that
1057 we don't have to load modules to get it.
1059 * gnativevolumemonitor.h:
1061 Move is_supported to parent class so that
1062 non-native monitors can avoid being initialized
1063 too. (For instance GDaemonVolumeMonitor if we're
1064 not using GDaemonVfs.)
1066 * glocaldirectorymonitor.[ch]:
1067 * glocalfilemonitor.[ch]:
1068 * gunionvolumemonitor.c:
1069 * gunixvolumemonitor.c:
1071 Find plugins using the static prio+name to
1072 avoid unnecessarily loading the modules.
1074 2007-12-19 Alexander Larsson <alexl@redhat.com>
1079 2007-12-19 Alexander Larsson <alexl@redhat.com>
1081 * gunionvolumemonitor.c:
1082 Store the native type as GType, not class so that
1083 we can unload it. But still avoid unnecessarily
1086 2007-12-19 David Zeuthen <davidz@redhat.com>
1088 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1089 add signals 'disconnected' and 'eject-button' on GDrive. Add
1090 signal 'removed' on GVolume and 'unmounted' on GMount.
1092 * gdrive.c: (g_drive_base_init):
1094 * gfile.c: (g_file_mount_mountable),
1095 (g_file_mount_enclosing_volume):
1098 * gmount.c: (g_mount_base_init):
1100 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1101 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1102 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1106 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1108 * *.c: Fix up includes in the section docs.
1110 2007-12-17 Alexander Larsson <alexl@redhat.com>
1112 * gnativevolumemonitor.h:
1113 * gunionvolumemonitor.c:
1114 * gunixvolumemonitor.c:
1115 Add is_supported() to GNativeVolumeMonitorClass so
1116 that we can avoid having to create an object to see
1117 if the backend is supported at runtime.
1118 Also add name member and an env var to pick a specific
1119 volume monitor backend.
1123 Add cancellable to _g_mount_get_for_mount_path()
1125 * glocaldirectorymonitor.c:
1126 * glocalfilemonitor.c:
1127 Avoid loading and unloading modules while sorting.
1129 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1132 * gunixmounts.[hc]: Namespace waste reduction, move some
1133 g_get_unix_mount functions to the g_unix_mount namespace.
1136 * gunixvolumemonitor.c:
1138 * glocaldirectorymonitor.c: Update all callers.
1140 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1142 2007-12-17 Alexander Larsson <alexl@redhat.com>
1145 Add doc comments about what GFile operations are
1146 guaranteed to not block.
1148 2007-12-17 Alexander Larsson <alexl@redhat.com>
1151 Add missing #ifdef fixing OSX build.
1152 (#503334, patch from Richard Hult)
1154 2007-12-14 David Zeuthen <davidz@redhat.com>
1158 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1159 (g_mount_eject), (g_mount_eject_finish):
1161 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1162 (get_volume_for_uuid), (get_mount_for_uuid),
1163 (g_union_volume_monitor_class_init),
1164 (get_default_native_type_with_exclude), (get_default_native_type),
1165 (get_native_type), (update_native_type),
1166 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1167 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1168 (g_unix_mount_can_eject), (eject_unmount_cb),
1169 (eject_unmount_read_error), (eject_unmount_do),
1170 (g_unix_mount_unmount), (g_unix_mount_eject),
1171 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1172 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1173 (g_unix_mount_point_guess_can_eject):
1175 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1176 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1177 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1178 (g_unix_volume_mount), (g_unix_volume_eject),
1179 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1180 * gunixvolumemonitor.c: (get_volume_for_uuid),
1181 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1183 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1184 (g_volume_eject), (g_volume_eject_finish):
1186 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1187 (g_volume_monitor_get_mount_for_uuid):
1190 Provide eject() on both GMount and GVolume and utility functions
1191 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1192 ejected. Introduce the concept of UUID's and wire it into GVolume
1193 and GMount and provide API on GVolumeMonitor to find such
1194 instances. Also handle the case where an external
1195 GNativeVolumeMonitor fails to initialize. Lock around the
1196 _g_get_mount_for_mount_path() function such that volume monitor
1197 implementations won't have to do locking themselves.
1199 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1201 * gdesktopappinfo.c:
1207 * gvolume.h: Documentation updates
1209 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1212 * gfile.h: Doc updates
1214 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1217 * gdesktopappinfo.c: Use hash table iterators.
1219 2007-12-14 Alexander Larsson <alexl@redhat.com>
1222 * gfileattribute.[ch]:
1223 * gfileattribute-priv.h:
1224 Move GFileAttributeValue to a private header, as
1228 Make set_attribute take a type + a pointer instead
1229 of a GFileAttributeValue.
1232 Fix up for above changes.
1233 Add g_file_info_get_attribute_data to get
1234 all info in one call, g_file_info_get_attribute_status
1235 to get the status and g_file_info_get_attribute_as_string.
1239 * glocalfileinfo.[ch]:
1243 Make _guess_type static.
1245 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1248 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1249 made mkenums and friends use temporary files to avoid leaving
1250 empty generated files on failure (#503470).
1252 2007-12-14 Alexander Larsson <alexl@redhat.com>
1254 * gmountoperation.h:
1257 2007-12-14 Alexander Larsson <alexl@redhat.com>
1261 * gfileattribute.[ch]:
1264 * glocalfileoutputstream.c:
1265 * gmountoperation.[ch]:
1266 * goutputstream.[ch]:
1267 Clean up all flags enums to not have _FLAGS in them
1268 Make the names of some of the enums better.
1273 2007-12-14 Michael Natterer <mitch@imendio.com>
1275 * gio.symbols: fix g_io_scheduler symbol names.
1277 2007-12-14 Alexander Larsson <alexl@redhat.com>
1283 * gbufferedinputstream.h:
1284 * gbufferedoutputstream.h:
1287 * gdatainputstream.h:
1288 * gdataoutputstream.h:
1289 * gdesktopappinfo.h:
1290 * gdirectorymonitor.h:
1294 * gfileenumerator.h:
1297 * gfileinputstream.h:
1299 * gfilenamecompleter.h:
1300 * gfileoutputstream.h:
1301 * gfilterinputstream.h:
1302 * gfilteroutputstream.h:
1310 * gmemoryinputstream.h:
1311 * gmemoryoutputstream.h:
1313 * gmountoperation.h:
1316 * gsimpleasyncresult.h:
1318 * gunixinputstream.h:
1320 * gunixoutputstream.h:
1324 * inotify/Makefile.am:
1325 Only allow including <gio/gio.h> from apps
1327 2007-12-14 Alexander Larsson <alexl@redhat.com>
1329 * gioscheduler.[ch]:
1330 * gsimpleasyncresult.c:
1331 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1332 Split out the send_to_mainloop call into two versions instead
1333 of having the block argument.
1335 2007-12-13 Alexander Larsson <alexl@redhat.com>
1337 * gcancellable.[ch]:
1339 * gbufferedinputstream.c:
1340 * gfileenumerator.c:
1341 * gfileinputstream.c:
1342 * gfileoutputstream.c:
1346 g_push/pop_current_cancellable ->
1347 g_cancellable_push/pop_current
1349 2007-12-13 Alexander Larsson <alexl@redhat.com>
1353 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1355 2007-12-13 Alexander Larsson <alexl@redhat.com>
1357 * gmountoperation.h:
1358 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1360 2007-12-12 Alexander Larsson <alexl@redhat.com>
1363 Fix race condition when freeing proxy in
1364 g_io_job_send_to_mainloop().
1366 2007-12-12 Alexander Larsson <alexl@redhat.com>
1372 Make attribute namespace separator "::" instead of ":".
1373 Use - instead of _ as separator in attribute names.
1375 2007-12-12 Alexander Larsson <alexl@redhat.com>
1377 * gbufferedinputstream.h:
1378 * gbufferedoutputstream.h:
1379 * gdatainputstream.h:
1380 * gdataoutputstream.h:
1381 * gdirectorymonitor.h:
1382 * gfileenumerator.h:
1383 * gfileinputstream.h:
1385 * gfileoutputstream.h:
1386 * gfilterinputstream.h:
1387 * gfilteroutputstream.h:
1389 * glocalfileinputstream.h:
1390 * glocalfileoutputstream.h:
1391 * gmemoryinputstream.h:
1392 * gmemoryoutputstream.h:
1393 * gnativevolumemonitor.h:
1395 * gunixinputstream.h:
1396 * gunixoutputstream.h:
1399 s/parent/parent_instance/ in GObjects
1401 2007-12-12 Alexander Larsson <alexl@redhat.com>
1406 No need for padding for interfaces
1408 2007-12-12 Alexander Larsson <alexl@redhat.com>
1412 * gbufferedinputstream.c:
1413 * gbufferedoutputstream.c:
1416 * gdatainputstream.[ch]:
1417 * gdesktopappinfo.c:
1418 * gdirectorymonitor.c:
1420 * gfileattribute.[ch]:
1423 * gfileinputstream.h:
1424 * gfilemonitor.[ch]:
1425 * gfileoutputstream.[ch]:
1426 * gfilterinputstream.h:
1427 * gfilteroutputstream.h:
1430 * gloadableicon.[ch]:
1431 * gmemoryinputstream.c:
1432 * gmountoperation.c:
1434 Fix up a bunch of details in the docs.
1439 2007-12-11 David Zeuthen <davidz@redhat.com>
1441 Rework how volumes, drives and volume monitoring is
1442 done. Previosly the model was
1444 GDrive <1-1> GVolume
1446 where a GDrive instance represented a mount point and a GVolume
1447 instance represented a mounted file system. This patch changes it
1450 GDrive <1-N> GVolume <1-1> GMount
1452 where GMount now serves the purpose of the old GVolume and the new
1453 GVolume serves the purpose of the old GDrive. In addition the new
1454 GDrive interface is used to represent a collection of GVolume
1455 instances (typically partitions) and also contains utility to query
1456 the state of the physical drive the GDrive object represents (such
1457 as checking for media, polling the drive, ejecting the media etc.).
1459 Also implement mounting and unmounting in the Unix volume monitor
1460 backend. A subquent patch will introduce GDrive support for ejection
1464 * gdrive.c: (g_drive_is_media_check_automatic),
1465 (g_drive_is_media_removable), (g_drive_has_media),
1466 (g_drive_can_poll_for_media), (g_drive_eject),
1467 (g_drive_eject_finish), (g_drive_poll_for_media),
1468 (g_drive_poll_for_media_finish):
1470 * gfile.c: (g_file_find_enclosing_mount):
1473 * glocaldirectorymonitor.c:
1474 (g_local_directory_monitor_constructor), (mounts_changed):
1475 * glocalfile.c: (get_mount_info),
1476 (g_local_file_find_enclosing_mount),
1477 (g_local_file_file_iface_init):
1478 * gnativevolumemonitor.h:
1479 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1480 (get_connected_drives), (g_union_volume_monitor_class_init),
1481 (child_volume_added), (child_volume_removed),
1482 (child_volume_changed), (child_mount_added), (child_mount_removed),
1483 (child_mount_pre_unmount), (child_mount_changed),
1484 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1485 (g_union_volume_monitor_remove_monitor),
1486 (_g_mount_get_for_mount_path):
1487 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1488 (guess_system_internal), (_g_get_unix_mounts),
1489 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1490 (g_unix_mount_free), (g_unix_mount_compare),
1491 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1492 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1493 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1494 (type_to_icon), (g_unix_mount_guess_name),
1495 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1496 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1497 (_resolve_symlink), (_resolve_dev_root):
1499 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1500 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1501 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1502 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1503 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1504 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1505 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1506 (g_unix_volume_volume_iface_init):
1508 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1509 (get_mounts), (get_volumes), (get_connected_drives),
1510 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1511 (mountpoints_changed), (mounts_changed),
1512 (g_unix_volume_monitor_init),
1513 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1514 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1515 * gunixvolumemonitor.h:
1516 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1517 (g_volume_mount), (g_volume_mount_finish):
1519 * gvolumemonitor.c: (g_volume_monitor_class_init),
1520 (g_volume_monitor_get_connected_drives),
1521 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1524 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1526 * gmountoperation.h (GPasswordFlags): Close the gap
1528 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1530 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1532 * gdesktopappinfo.[hc]: Remove _-prefixes
1534 2007-12-10 Tor Lillqvist <tml@novell.com>
1536 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1539 2007-12-10 Alexander Larsson <alexl@redhat.com>
1541 * gfile.c (g_file_set_display_name):
1542 Don't hardcode '/' (#502727)
1544 2007-12-09 Hans Breuer <hans@breuer.org>
1546 * makefile.msc : follow lib naming convention
1547 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1548 for user and group name, tested with ../tests/gio-ls
1550 2007-12-09 A. Walton <awalton@svn.gnome.org>
1552 * gdesktopappinfo.c:
1558 * gfileenumerator.c:
1563 * gmemoryinputstream.c:
1564 * gmemoryoutputstream.c:
1566 * gsimpleasyncresult.c:
1567 More documentation cleanup and filling in missing information, bringing
1568 GIO to 99% symbol coverage.
1570 2007-12-08 Hans Breuer <hans@breuer.org>
1572 [gio compiles and links on win32, not sure how much already works]
1573 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1574 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1575 base on win32 API; prefer g_lstat() over lstat(); instead of
1576 localtime_r() use an all GLib implementation on win32;
1577 get_mount_info() still needs a win32 specifc implementation
1578 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1579 win32_get_file_user_info to get owner/group info without uid/gid
1580 * glocalfileinputstream.c : include <io.h> on win32
1581 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1582 definition, use g_win32_ftruncate() for G_OS_WIN32
1583 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1584 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1585 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1586 * makefile.msc : updated
1588 2007-12-07 Alexander Larsson <alexl@redhat.com>
1590 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1591 Avoid warning spew if error == NULL
1593 2007-12-07 Alexander Larsson <alexl@redhat.com>
1596 Update docs wrt etags
1598 2007-12-06 Alexander Larsson <alexl@redhat.com>
1601 Include sys/types.h for dev_t (#501919)
1603 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1607 Make abicheck and pltcheck pass.
1609 2007-12-05 Alexander Larsson <alexl@redhat.com>
1612 * giomodule-priv.h: Added.
1613 * glocaldirectorymonitor.c:
1614 * glocalfilemonitor.c:
1615 * gunionvolumemonitor.c:
1617 Actually add the declaration of _g_io_modules_ensure_loaded
1619 2007-12-05 Alexander Larsson <alexl@redhat.com>
1621 * gdatainputstream.c:
1626 * glocaldirectorymonitor.c:
1627 * glocalfilemonitor.c:
1628 * gunionvolumemonitor.c:
1630 Make g_io_modules_ensure_loaded a private function and
1631 don't pass in the dirname. This means we can do magic
1632 directory finding in the win32 version.
1633 Export the actual load-modules-in-directory code so that
1634 gvfs can reuse that.
1636 2007-12-05 Alexander Larsson <alexl@redhat.com>
1638 * gbufferedinputstream.c:
1639 * gbufferedoutputstream.c:
1642 * gfileenumerator.[ch]:
1643 * gfileinputstream.c:
1644 * gfileoutputstream.[ch]:
1645 * gfilterinputstream.c:
1646 * gfilteroutputstream.c:
1647 * ginputstream.[ch]:
1649 * glocalfileenumerator.c:
1650 * glocalfileinputstream.c:
1651 * glocalfileoutputstream.c:
1652 * gmemoryinputstream.c:
1653 * gmemoryoutputstream.c:
1654 * goutputstream.[ch]:
1657 * gunixinputstream.c:
1658 * gunixoutputstream.c:
1659 Rename all struct members named:
1660 read, write, close, truncate, or mount
1661 to foo_fn, as these are reserved names
1662 and could be defined as macros in libc.
1665 2007-12-04 Alexander Larsson <alexl@redhat.com>
1668 (g_output_stream_close):
1669 Only call flush if non-null.
1671 2007-11-30 Dan Winship <danw@gnome.org>
1673 * ginputstream.c (g_input_stream_set_pending): Make this take a
1674 GError and return a gboolean, and do the "outstanding operation"
1675 check (and the "stream is already closed" check) itself.
1676 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1678 * goutputstream.c (g_output_stream_set_pending)
1679 (g_output_stream_clear_pending): Likewise
1681 * gbufferedinputstream.c:
1682 * gfileinputstream.c:
1683 * gfileoutputstream.c: Update for that
1685 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1686 Like g_simple_async_report_error_in_idle, but takes a GError
1687 rather than building one.
1689 2007-11-30 Dan Winship <danw@gnome.org>
1691 * goutputstream.c: Don't cheat and unset the "pending" flag around
1692 inner calls. Instead, call the class method directly rather than
1693 the wrapper function that checks "pending"
1695 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1697 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1699 2007-12-03 Hans Breuer <hans@breuer.org>
1701 [start of port to win32/msvc]
1702 * gcancellable.c : HAVE_UNIST_H and _pipe()
1703 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1704 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1705 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1707 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1708 * glocalvfs.c : use HAVE_PWD_H
1709 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1710 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1711 * Makefile.am : added to EXTRA_DIST
1713 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1715 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1718 2007-12-03 Alexander Larsson <alexl@redhat.com>
1721 Handle OSX style xattrs API (#500506)
1723 2007-12-03 Alexander Larsson <alexl@redhat.com>
1727 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1729 2007-12-02 A. Walton <awalton@svn.gnome.org>
1733 Documentation accuracy fixes.
1735 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1737 * gioenumtypes.c.template: Fix typo.
1739 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1741 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1743 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1745 * gdirectorymonitor.c:
1746 * gfilemonitor.c: Add properties
1748 * gbufferedoutputstream.c: Don't mark buffer-size property
1751 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1753 * gbufferedoutputstream.c: Add auto-grow property.
1755 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1757 * *.c: Unify the capitalization of section headings.
1759 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1761 * gmountoperation.c: Add properties
1763 * gdatainputstream.c: Turn byte-order and newline-type into
1766 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1768 * gioenumtypes.[hc].template: Templates for enum registration
1770 * Makefile.am: Generate gioenumtypes.[hc]
1772 * gio.h: Include gioenumtypes.h
1774 * gfile.h: Add some explicit nicks.
1776 * gio.symbols: Add new symbols
1778 * pltcheck.sh: Adjust
1780 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1782 * *.c: Explain etags and link to the explanation
1784 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1786 * *.c: Explain I/O priority.
1788 * *.c: More coding style fixes.
1790 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1792 * gasyncresult.c: Add another paragraph to the intro,
1793 adjust coding style of example.
1795 2007-11-29 A. Walton <awalton@svn.gnome.org>
1798 Fixes unknown meaning in GAppLaunchContext docs.
1800 Clarify asynchronous ops.
1802 Fix entity tag docs.
1805 Provides missing gtk-doc section, fixes API docs slighly.
1806 * gsimpleasyncresult.c:
1807 Fill in missing info in docs.
1808 * gunixinputstream.c:
1809 * gunixoutputstream.c:
1810 Be more expressive in short description.
1812 Remove gtk-doc stubs for non-public API.
1814 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1816 * *.c: Coding style fixups
1818 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1820 * inotify/inotify-helper.c: Don't export the lock from libgio.
1822 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1825 * abicheck.sh: Fix copy-and-paste leftovers
1827 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1829 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1831 2007-11-28 Alexander Larsson <alexl@redhat.com>
1835 Removed unnecessary file
1837 * gdesktopappinfo.[ch]:
1840 * glocaldirectorymonitor.[ch]:
1842 * glocalfileenumerator.[ch]:
1843 * glocalfileinputstream.[ch]:
1844 * glocalfilemonitor.[ch]:
1845 * glocalfileoutputstream.[ch]:
1847 * gnativevolumemonitor.c:
1848 * gpollfilemonitor.[ch]:
1849 * gunionvolumemonitor.[ch]:
1852 * gunixvolumemonitor.[ch]:
1855 * inotify/ginotifydirectorymonitor.[ch]:
1856 * inotify/ginotifyfilemonitor.[ch]:
1857 * inotify/inotify-helper.c:
1858 Append _ to all internal functions
1862 Export symbols needed for modules
1864 2007-11-28 Alexander Larsson <alexl@redhat.com>
1867 * abicheck.sh: Added.
1868 * makegioalias.pl: Added.
1869 * pltcheck.sh: Added.
1870 * gio.symbols: Added.
1873 Initial work on adding symbol handling.
1876 Correct ifdef guard name
1879 * inotify/Makefile.am:
1880 * xdgmime/Makefile.am:
1881 Include toplevel Makefile.decl
1883 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1885 * gcontenttype.c: Move doc comments to the unix section.
1887 * *.[hc]: More trivial doc corrections.
1889 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1891 * gpollfilemonitor.c:
1895 * gdesktopappinfo.c:
1900 * gdatainputstream.c:
1901 * gdatainputstream.h:
1902 * gdataoutputstream.c:
1903 * gdataoutputstream.h:
1904 * gfileinfo.h: Doc cleanups
1906 2007-11-28 Andre Klapper <a9016009@gmx.de>
1908 * gdesktopappinfo.c: Fix a typo.
1910 2007-11-27 Andre Klapper <a9016009@gmx.de>
1912 * glocalfileoutputstream.c: Fix a typo.
1914 2007-11-27 Alexander Larsson <alexl@redhat.com>
1917 Don't include removed headers
1919 2007-11-27 Alexander Larsson <alexl@redhat.com>
1922 * gsocketinputstream.[ch]: Removed.
1923 * gsocketoutputstream.[ch]: Removed.
1924 * gunixinputstream.[ch]: Added.
1925 * gunixoutputstream.[ch]: Added.
1926 Renamed GSocket*Stream to GUnix*Stream and made
1927 it unix-only, since its not really only for sockets
1928 and it only works on unix (but is highly useful there).
1930 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1936 * gbufferedinputstream.c:
1937 * gbufferedinputstream.h:
1938 * gbufferedoutputstream.c:
1939 * gbufferedoutputstream.h:
1943 * gdatainputstream.c:
1944 * gdatainputstream.h:
1945 * gdataoutputstream.c:
1946 * gdataoutputstream.h:
1947 * gdirectorymonitor.c:
1948 * gdirectorymonitor.h:
1955 * gfileenumerator.c:
1956 * gfileenumerator.h:
1961 * gfileinputstream.c:
1962 * gfileinputstream.h:
1965 * gfilenamecompleter.c:
1966 * gfilenamecompleter.h:
1967 * gfileoutputstream.c:
1968 * gfileoutputstream.h:
1969 * gfilterinputstream.c:
1970 * gfilterinputstream.h:
1971 * gfilteroutputstream.c:
1972 * gfilteroutputstream.h:
1985 * glocalfileoutputstream.c:
1986 * gmemoryinputstream.c:
1987 * gmemoryinputstream.h:
1988 * gmemoryoutputstream.c:
1989 * gmemoryoutputstream.h:
1990 * gmountoperation.c:
1991 * gmountoperation.h:
1994 * gpollfilemonitor.c:
1997 * gsimpleasyncresult.c:
1998 * gsimpleasyncresult.h:
1999 * gsocketinputstream.c:
2000 * gsocketinputstream.h:
2001 * gsocketoutputstream.c:
2002 * gsocketoutputstream.h:
2009 * gunixvolumemonitor.c:
2018 Bumps documentation to 93% symbol coverage, touching most
2019 of the public files. Fixes broken function documentation prototypes.
2020 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2021 gtk-doc headers in private files.
2023 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2025 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2026 (g_buffered_input_stream_read_byte):
2027 * gbufferedinputstream.h:
2028 New functions for efficient access to buffer and simple single byte
2031 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2032 (g_data_input_stream_read_until):
2033 * gdatainputstream.h:
2034 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2035 read_until with multiple stop chars.
2037 2007-11-27 Alexander Larsson <alexl@redhat.com>
2041 * inotify/Makefile.am:
2042 Use the user-specified giomoduledir
2044 2007-11-27 Alexander Larsson <alexl@redhat.com>
2048 Add catch-all gio.h header
2049 Don't install gdummyfile.h
2051 2007-11-26 Alexander Larsson <alexl@redhat.com>
2053 * Makefile.am (gioinclude_HEADERS):
2054 Remove trailing whitespace
2056 2007-11-26 Alexander Larsson <alexl@redhat.com>
2058 Merge gio-standalone into glib
2060 2007-11-25 Christian Kellner <gicmo@gnome.org>
2062 * gio/goutputstream.c:
2063 Fix small mistake in the docs.
2065 2007-11-21 Christian Persch <chpe@gnome.org>
2067 * gio/glocalfile.c: (g_local_file_trash):
2068 Convert filenames to UTF-8 for GError.
2069 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2070 as per xdg base dir spec.
2072 2007-11-21 Christian Persch <chpe@gnome.org>
2074 * gio/gdesktopappinfo.c:
2075 Use that g_key_file_to_data cannot fail.
2077 Use stock defines for the key file group and key names.
2080 2007-11-21 Alexander Larsson <alexl@redhat.com>
2083 (copy_stream_with_progress):
2084 Make sure we do a final progress callback with
2085 the full total size.
2087 2007-11-21 Alexander Larsson <alexl@redhat.com>
2090 Export g_file_copy_attributes
2091 Remove padding as its not needed for interfaces
2093 2007-11-20 Alexander Larsson <alexl@redhat.com>
2098 Add G_IO_ERROR_WOULD_MERGE for
2099 copy/move dir on dir with overwrite.
2101 2007-11-20 Alexander Larsson <alexl@redhat.com>
2104 * gio/glocalfileinfo.c:
2105 Add COPY_NAME (this is an optional
2106 non-modified utf8 version of the name) that
2109 2007-11-20 Alexander Larsson <alexl@redhat.com>
2111 * gio/glocalfileenumerator.c:
2112 Report errors as GIOError, not GFileError
2114 2007-11-16 Alexander Larsson <alexl@redhat.com>
2116 * gio/glocalfileoutputstream.c:
2117 * gio/gwin32appinfo.c:
2118 Fix typos in strings.
2119 Patch from Luca Ferretti <elle.uca@libero.it>
2121 2007-11-15 Alexander Larsson <alexl@redhat.com>
2124 Post release version bump
2126 === gio-standalone 0.1.2 ===
2128 2007-11-15 Alexander Larsson <alexl@redhat.com>
2130 * docs/reference/gio/Makefile.am:
2131 Fix up distcheck by removing weird
2137 2007-11-14 Alexander Larsson <alexl@redhat.com>
2139 * gio/gdesktopappinfo.c:
2140 * gio/glocaldirectorymonitor.c:
2142 * gio/glocalfileinfo.c:
2143 * gio/inotify/inotify-sub.c:
2144 * programs/gio-cat.c:
2145 * programs/gio-copy.c:
2146 * programs/gio-info.c:
2147 * programs/gio-ls.c:
2148 * programs/gio-monitor-dir.c:
2149 * programs/gio-monitor-file.c:
2150 * programs/gio-mount.c:
2151 * programs/gio-move.c:
2152 * programs/gio-rm.c:
2153 * programs/gio-save.c:
2154 * programs/gio-trash.c:
2155 Leak fixes from Kjartan Maraas
2157 2007-11-14 Alexander Larsson <alexl@redhat.com>
2159 * gio/fam/fam-helper.c:
2161 * gio/glocalfileinfo.c:
2165 * gio/inotify/inotify-diag.c:
2166 * gio/inotify/inotify-kernel.c:
2167 Various code cleanups from Kjartan Maraas
2169 2007-11-14 Alexander Larsson <alexl@redhat.com>
2171 * gio/gioscheduler.c:
2173 Set up threadpool so that we cache 2 unused
2174 idle threads for at 15 secs. This means we
2175 will reuse thread-local data (like dbus connections)
2178 2007-11-14 Alexander Larsson <alexl@redhat.com>
2180 * gio/fam/fam-helper.c:
2181 * gio/fam/gfamdirectorymonitor.c:
2182 * gio/fam/gfamfilemonitor.c:
2184 * gio/gcontenttype.c:
2185 * gio/gdatainputstream.c:
2186 * gio/gdataoutputstream.c:
2190 * gio/gfileattribute.h:
2191 * gio/gfileenumerator.c:
2193 * gio/ginputstream.c:
2196 * gio/glocalfileinfo.c:
2197 * gio/goutputstream.c:
2198 * gio/gpollfilemonitor.c:
2199 * gio/gsimpleasyncresult.c:
2200 * gio/gunixmounts.c:
2201 * gio/gunixmounts.h:
2202 * gio/inotify/ginotifydirectorymonitor.c:
2203 * gio/inotify/ginotifyfilemonitor.c:
2204 * gio/inotify/inotify-diag.c:
2205 * gio/inotify/inotify-kernel.c:
2206 * gio/inotify/inotify-path.c:
2208 * gio/test-streams.c:
2209 * programs/gio-info.c:
2210 * programs/gio-monitor-dir.c:
2211 * programs/gio-monitor-file.c:
2212 Various code cleanups from Kjartan Maraas
2214 2007-11-13 Alexander Larsson <alexl@redhat.com>
2217 Handle the uri-scheme calls for dummy files
2219 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2221 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2222 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2223 to avoid clash with the C++ keyword.
2225 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2227 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2228 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2230 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2232 * gio/glocaldirectorymonitor.c:
2233 * gio/glocalfilemonitor.c:
2234 * gio/gunionvolumemonitor.c:
2235 Don't use g_once_init_*() for initializations that could fail and
2236 could leave the initialization variable set to 0 but use GOnce.
2237 This prevents a deadlock on the second call when trying to create
2238 a monitor and no monitor type is available. Thanks to Sven Herzberg
2241 2007-11-11 Sven Herzberg <sven@imendio.com>
2243 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2244 #ifdef (make it work on MacOS X again)
2246 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2248 Fixes Changelog for last two commits (sorry guys).
2250 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2252 * gio/gbufferedinputstream.c:
2253 * gio/gdatainputstream.c:
2255 * gio/gfileoutputstream.c:
2256 * gio/gfilterinputstream.c:
2257 * gio/glocalfileinputstream.c:
2260 More consistency fixes in g*stream.c files.
2261 Significant clean of gfile's documentation, filling in of
2262 asynchronous operations documentation.
2264 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2266 * gio/gasyncresult.c:
2267 * gio/gbufferedinputstream.c:
2268 * gio/gbufferedoutputstream.c:
2269 * gio/gcancellable.c:
2270 * gio/gcontenttype.c:
2271 * gio/gdatainputstream.c:
2272 * gio/gdataoutputstream.c:
2273 * gio/gdesktopappinfo.c:
2276 * gio/gfileattribute.c:
2277 * gio/gio/gfileenumerator.c:
2279 * gio/gfileinputstream.c:
2280 * gio/gfilemonitor.c:
2281 * gio/gfileoutputstream.c:
2282 * gio/ginputstream.c:
2284 * gio/gioscheduler.c:
2285 * gio/gloadableicon.c:
2286 * gio/glocalfileoutputstream.c:
2287 * gio/gmemoryoutputstream.c:
2288 * gio/gmountoperation.c:
2289 * gio/goutputstream.c:
2291 * gio/gsimpleasyncresult.c:
2292 * gio/gunionvolumemonitor.c:
2293 * gio/gunixmounts.c:
2294 * gio/gunixvolume.c:
2298 * gio/gvolumemonitor.c:
2299 Updated documentation stubs, working towards consistency and
2302 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2304 * gio/gmemoryoutputstream.c:
2305 * gio/gmemoryoutputstream.h:
2306 Change g_memory_output_stream_set_free_on_close() to
2307 g_memory_output_stream_set_free_data() as this makes more sense and
2308 is more consistent with GMemoryInputStream.
2310 2007-11-07 Alexander Larsson <alexl@redhat.com>
2317 Change how we find the default vfs so that
2318 we can handle a gvfs failing to init
2320 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2322 * gio/gbufferedoutputstream.c:
2323 * gio/gdatainputstream.c:
2324 * gio/gdataoutputstream.c:
2325 * gio/gfileinputstream.c:
2326 * gio/gfileoutputstream.c:
2327 * gio/gfilterinputstream.c:
2328 * gio/gfilteroutputstream.c:
2329 * gio/ginputstream.c:
2330 * gio/gmemoryinputstream.c:
2331 * gio/gmemoryoutputstream.c:
2332 * gio/goutputstream.c:
2333 * gio/gsimpleasyncresult.c:
2334 * gio/gsocketinputstream.c:
2335 * gio/gsocketoutputstream.c:
2336 Add guards to the remaining public functions, add a TODO for
2337 an unimplemented function and remove some useless guards.
2339 2007-11-07 Alexander Larsson <alexl@redhat.com>
2342 Autoconf checks for the various types of
2343 getpwuid_r and getgrgid_r
2345 * gio/glocalfileinfo.c:
2346 Use the autoconf checks from above
2348 2007-11-07 Alexander Larsson <alexl@redhat.com>
2351 (g_local_file_query_filesystem_info):
2352 Some fixes for the statvfs case
2354 2007-11-07 Alexander Larsson <alexl@redhat.com>
2357 (g_local_file_query_filesystem_info):
2358 Pick the "best" of statfs / statvfs for the system
2359 if both are availible.
2361 2007-11-07 Alexander Larsson <alexl@redhat.com>
2363 Solaris fixes from Halton.Huo@Sun.COM:
2370 * gio/glocalfileinfo.c:
2371 Fix for solaris definition of getpwuid_r
2373 * gio/test-streams.c:
2374 Use G_GNUC_PRETTY_FUNCTION
2376 2007-11-07 Alexander Larsson <alexl@redhat.com>
2378 * gio/gdesktopappinfo.c:
2379 (update_default_list):
2380 Remove double semicolon.
2381 Patch from Jens Granseuer
2383 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2385 * docs/reference/gio/gio-sections.txt:
2386 * gio/gbufferedinputstream.c:
2387 * gio/gbufferedinputstream.h:
2388 * gio/gdatainputstream.c:
2389 * gio/gfileenumerator.c:
2390 * gio/gioscheduler.c:
2391 * gio/gunionvolumemonitor.c:
2393 * programs/gio-save.c:
2394 Fix typo: availible -> available. Unfortuntely this breaks API
2395 and ABI as g_buffered_input_stream_get_available() was renamed.
2397 * gio/gunixmounts.c:
2398 * gio/gbufferedinputstream.c:
2399 Add guards for public functions.
2401 2007-11-06 Ross Burton <ross@openedhand.com>
2403 * docs/reference/gio/Makefile.am:
2404 Fix invalid += usage which automake 1.10 doesn't like.
2406 2007-11-06 Alexander Larsson <alexl@redhat.com>
2409 (g_app_launch_context_class_init):
2412 Patch from Ross Burton
2414 2007-11-06 Alexander Larsson <alexl@redhat.com>
2417 Post release version bump
2419 === gio-standalone 0.1.1 ===
2421 2007-11-06 Alexander Larsson <alexl@redhat.com>
2424 Bump version to 0.1.1
2426 * gio/gsimpleasyncresult.c:
2427 (g_simple_async_result_set_from_error):
2428 Remove bogus g_return_if_fail
2430 2007-11-06 Alexander Larsson <alexl@redhat.com>
2433 The name is gio-standalone
2436 Add top src/builddir to includedir
2438 2007-11-06 Alexander Larsson <alexl@redhat.com>
2440 * docs/reference/gio/gio-sections.txt:
2442 * gio/gbufferedinputstream.c:
2443 * gio/gbufferedoutputstream.c:
2444 * gio/gcancellable.c:
2445 * gio/gdatainputstream.h:
2446 * gio/gdataoutputstream.c:
2447 * gio/gdataoutputstream.h:
2448 * gio/gdirectorymonitor.c:
2450 * gio/gfileattribute.c:
2451 * gio/gfileattribute.h:
2452 * gio/gfileenumerator.c:
2453 * gio/gfileenumerator.h:
2456 * gio/gfileinputstream.h:
2457 * gio/gfilemonitor.c:
2458 * gio/gfileoutputstream.h:
2459 * gio/glocalfilemonitor.h:
2460 * gio/glocalfileoutputstream.h:
2461 * gio/gmemoryinputstream.c:
2462 * gio/gmemoryoutputstream.c:
2463 * gio/gmountoperation.c:
2464 * gio/goutputstream.c:
2465 * gio/goutputstream.h:
2467 * gio/gsimpleasyncresult.c:
2468 * gio/gunixmounts.c:
2469 * gio/gunixmounts.h:
2471 * gio/inotify/inotify-helper.c:
2472 Fix gtk-doc warnings
2474 Patch from Ross Burton
2476 2007-11-06 Alexander Larsson <alexl@redhat.com>
2478 * gio/gfilenamecompleter.c:
2479 (g_filename_completer_get_completions):
2482 * gio/gunixvolume.c:
2483 Remove unused function
2485 Patches from Ross Burton
2487 2007-11-06 Alexander Larsson <alexl@redhat.com>
2492 Padding not needed for interfaces
2494 2007-11-06 Alexander Larsson <alexl@redhat.com>
2496 * gio/gfilemonitor.c:
2500 Make giotypes.h an internal file
2503 * gio/gbufferedinputstream.h:
2504 * gio/gbufferedoutputstream.h:
2505 * gio/gcancellable.h:
2506 * gio/gdatainputstream.h:
2507 * gio/gdataoutputstream.h:
2508 * gio/gdirectorymonitor.c:
2509 * gio/gdirectorymonitor.h:
2514 * gio/gfileattribute.h:
2515 * gio/gfileenumerator.h:
2520 * gio/gfilemonitor.c:
2521 * gio/gfilemonitor.h:
2522 * gio/gfilenamecompleter.c:
2523 * gio/gfilenamecompleter.h:
2524 * gio/gfilterinputstream.h:
2525 * gio/gfilteroutputstream.h:
2526 * gio/ginputstream.h:
2527 * gio/gmemoryinputstream.h:
2528 * gio/gmemoryoutputstream.h:
2529 * gio/gmountoperation.c:
2530 * gio/gmountoperation.h:
2531 * gio/gnativevolumemonitor.c:
2532 * gio/goutputstream.h:
2535 * gio/gsimpleasyncresult.c:
2536 * gio/gsimpleasyncresult.h:
2537 * gio/gsocketinputstream.h:
2538 * gio/gsocketoutputstream.h:
2539 * gio/gthemedicon.c:
2540 * gio/gthemedicon.h:
2544 * gio/gvolumemonitor.c:
2545 * gio/gvolumemonitor.h:
2546 Add padding in classes where it seems useful
2547 Don't include giotypes.h from public headers
2548 Move in Class definitions into c file where possible
2553 2007-11-06 Alexander Larsson <alexl@redhat.com>
2555 * docs/reference/gio/gio-docs.xml:
2556 Better structure for API docs
2558 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2561 * gio/gloadableicon.c:
2562 * gio/gsimpleasyncresult.c:
2563 * gio/gthemedicon.c:
2564 Add some more guards to public functions. Only files missing are now
2567 2007-11-06 Alexander Larsson <alexl@redhat.com>
2569 * docs/reference/gio/gio-docs.xml:
2570 Remove old files, add missing ones
2572 2007-11-06 Alexander Larsson <alexl@redhat.com>
2574 * docs/reference/gio/gio-sections.txt:
2577 Hide implementation classes
2579 * gio/gdriveprivate.h:
2580 * gio/gvolumeprivate.h:
2581 Remove non-existing function declarations
2583 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2586 Fix compilation warnings and add guards to the new functions.
2588 * gio/gasyncresult.c:
2590 Add guards to the public functions.
2593 Implement get_path().
2595 2007-11-06 Alexander Larsson <alexl@redhat.com>
2597 * gio/gfilenamecompleter.c:
2598 Make g_filename_completer_get_completions
2599 return char ** instead of GList for
2602 * docs/reference/gio/gio-docs.xml:
2603 * docs/reference/gio/gio-sections.txt:
2605 * gio/gasyncresult.c:
2606 * gio/gbufferedinputstream.c:
2607 * gio/gbufferedoutputstream.c:
2608 * gio/gcancellable.c:
2609 * gio/gcontenttype.c:
2610 * gio/gdatainputstream.c:
2611 * gio/gdataoutputstream.c:
2612 * gio/gdesktopappinfo.c:
2613 * gio/gdirectorymonitor.c:
2617 * gio/gfileattribute.c:
2618 * gio/gfileenumerator.c:
2621 * gio/gfileinputstream.c:
2622 * gio/gfilemonitor.c:
2623 * gio/gfilenamecompleter.c:
2624 * gio/gfilenamecompleter.h:
2625 * gio/gfileoutputstream.c:
2626 * gio/gfilterinputstream.c:
2628 * gio/ginputstream.c:
2630 * gio/gioscheduler.c:
2631 * gio/gloadableicon.c:
2632 * gio/glocaldirectorymonitor.c:
2634 * gio/glocalfileinputstream.c:
2635 * gio/glocalfilemonitor.c:
2636 * gio/glocalfileoutputstream.c:
2638 * gio/gmemoryinputstream.c:
2639 * gio/gmemoryoutputstream.c:
2640 * gio/gmountoperation.c:
2641 * gio/goutputstream.c:
2642 * gio/gpollfilemonitor.c:
2644 * gio/gsimpleasyncresult.c:
2645 * gio/gsocketinputstream.c:
2646 * gio/gsocketoutputstream.c:
2647 * gio/gthemedicon.c:
2648 * gio/gunionvolumemonitor.c:
2650 * gio/gunixmounts.c:
2651 * gio/gunixvolume.c:
2652 * gio/gunixvolumemonitor.c:
2656 * gio/gvolumemonitor.c:
2657 * gio/gwin32appinfo.c:
2658 Add (mostly stub) doc strings to public functions.
2659 Patch from Andrew Walton (awalton@gmail.com)
2661 2007-11-06 Alexander Larsson <alexl@redhat.com>
2663 * gio/gappinfo.[ch]:
2664 Added GAppLaunchContext object and pass that to launch.
2665 This allows simple implementation of both
2666 launch-on-screen and startup notification via a gtk+
2667 subclass of GAppLaunchContext
2669 * gio/gdesktopappinfo.c:
2670 Implement GAppLaunchContext API
2672 * gio/gwin32appinfo.c:
2675 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2677 * gio/gmountoperation.c:
2678 Add some guards to GMountOperation's public functions.
2680 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2684 * gio/gcancellable.c:
2685 * gio/gdirectorymonitor.c:
2687 * gio/gfileenumerator.c:
2688 * gio/gfilemonitor.c:,
2689 * gio/gfilenamecompleter.c:
2692 * gio/gioscheduler.c:
2696 * gio/gvolumemonitor.c:
2697 Add even more guards to various public functions.
2699 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2702 Add guards to the public functions of GAppInfo.
2704 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2706 * gio/gcontenttype.c:
2707 Add some more guards for public functions.
2709 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2711 * gio/fam/fam-module.c:
2712 * gio/fam/gfamdirectorymonitor.c:
2713 * gio/fam/gfamdirectorymonitor.h:
2714 * gio/fam/gfamfilemonitor.c:
2715 * gio/fam/gfamfilemonitor.h:
2716 * gio/inotify/ginotifydirectorymonitor.c:
2717 * gio/inotify/ginotifydirectorymonitor.h:
2718 * gio/inotify/ginotifyfilemonitor.c:
2719 * gio/inotify/ginotifyfilemonitor.h:
2720 Add proper copyright information and remove an unused variable
2721 in the GInotifyFileMonitor constructor.
2723 * gio/gcancellable.c:
2724 Add a guard for a public function and an assertion to prevent
2725 an undefined program state.
2727 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2729 * gio/gfileattribute.c:
2730 Don't run into an assertion if the given attribute value is NULL
2731 in g_file_attribute_value_get_*() but instead return a fallback
2732 value that makes sense in most situations. Passing them a attribute
2733 value with the wrong type will still run into an assertion.
2735 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2737 * gio/gfileattribute.c:
2739 Add even more guards to the public functions. Also fix the refcounting
2740 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2741 let g_file_info_list_attributes() filter the attributes by namespace
2742 instead of simply ignoring the namespace parameter.
2744 2007-11-03 Sven Herzberg <sven@imendio.com>
2746 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2747 (This makes gio work on MacOS X again)
2749 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2752 Build the gio subdirectory before the docs. Otherwise the build will
2755 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2756 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2757 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2758 Add guards to the public functions.
2760 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2762 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2763 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2764 to prevent a compiler warning.
2766 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2767 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2768 return something in the non-void function find_topdir_for().
2770 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2777 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2779 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2780 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2781 * gwin32appinfo.c (g_win32_app_info_launch):
2782 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2783 envp_for_startup_id, g_desktop_app_info_launch,
2784 g_desktop_app_info_launch_uris):
2786 Give an opaque 'startup_id' string instead of 'envp'.
2787 Support empty file lists for launching new windows.
2788 Fix infinite recursion bug when launching URIs.
2790 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2793 Add guard to the new g_file_get_uri_scheme() function.
2795 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2798 Convert a g_return_val_if_fail() to setting the GError instead as
2799 otherwise applications have to verify the parameter before otherwise
2800 and the parameter might come directly from the user.
2802 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2804 * gio/inotify/ginotify*.[ch]:
2805 Add missing copyright information.
2807 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2810 Add guards in the beginning of public functions to check for valid
2811 parameters and fix a bug in copy_stream_with_progress() that could've
2812 caused writing less bytes than reading.
2813 * gio/glocalfileinfo.c:
2814 Check for a NULL parameter and set the GError accordingly then.
2815 * gio/goutputstream.c:
2816 Fix the same bug as in gfile.c that could've caused writing less bytes
2817 than reading in g_output_stream_real_splice().
2819 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2822 Use the correct gvolumeprivate.h naming
2824 2007-11-01 Christian Kellner <gicmo@gnome.org>
2827 Remove leftover "$(daemon_sources)" entry.
2829 2007-11-01 Christian Kellner <gicmo@gnome.org>
2834 Add copyright information to source files.
2836 2007-11-01 Alexander Larsson <alexl@redhat.com>
2840 Add g_file_get_uri_scheme
2842 2007-11-01 Alexander Larsson <alexl@redhat.com>
2845 * gio/gdesktopappinfo.c:
2846 * gio/gwin32appinfo.c:
2847 Add g_app_info_get_default_for_uri_scheme.
2849 2007-11-01 Alexander Larsson <alexl@redhat.com>
2852 Correct filename for gdriveprivate.h
2854 2007-10-31 Alexander Larsson <alexl@redhat.com>
2857 Rename id:value to id:file
2860 * gio/glocalfileinfo.c:
2863 2007-10-31 Alexander Larsson <alexl@redhat.com>
2865 * gio/gunixvolume.c:
2867 Remove g_volume_get_platform_id, as thats not
2868 needed with the simpler union volume monitor
2870 2007-10-31 Alexander Larsson <alexl@redhat.com>
2873 * gio/guniondrive.[ch]: Removed.
2874 * gio/gunionvolume.[ch]: Removed.
2875 Remove GUnionDrive/Volume
2877 * gio/gunionvolumemonitor.c:
2878 Simplify union volume monitor, now we
2879 only have one native volume monitor and
2880 we use the actual volumes/drives from the
2881 child monitors instead of wrapping them
2883 * gio/gnativevolumemonitor.[ch]:
2884 Base class for native volume monitors.
2885 Includes priority and get_volume_for_mountpoint
2888 Add g_file_find_enclosing_volume
2891 Remove volume name fs attribute
2892 Add readonly fs attribute
2895 Implement readonly attribute
2896 remove volume name attribute
2897 Implement find_enclosing volume
2899 * gio/gunixmounts.c:
2900 Add a volume for "/".
2902 * gio/gunixvolume.[ch]:
2903 Set better name for /
2905 * gio/gunixvolumemonitor.[ch]:
2906 Derive from GNativeVolumeMonitor
2907 Implement get_volume_for_mountpoint
2910 GVolume typedef moved to gfile.h
2912 * gio/gvolumeprivate.h:
2913 Add g_volume_get_for_mount_path
2915 2007-10-31 Alexander Larsson <alexl@redhat.com>
2917 * gio/gunixmounts.[ch]:
2918 Add cache info to unix mount listers
2919 Make getmntent use threadsafe
2920 Add is_system_internal attribute for GUnixMount
2922 * gio/gunixvolume.c:
2923 (g_unix_volume_new):
2924 Use is_system_internal instead of own code
2926 * gio/glocaldirectorymonitor.c:
2927 * gio/gunixvolumemonitor.c:
2928 Update to new gunixmounts API
2933 2007-10-30 Alexander Larsson <alexl@redhat.com>
2936 Add volume name fsinfo attribute
2939 Read volume name info
2941 * gio/gunionvolumemonitor.c:
2942 Fix infinite loops when finalizing a union volume monitor
2944 2007-10-30 Alexander Larsson <alexl@redhat.com>
2946 * gio/goutputstream.[ch]:
2947 Add splice() with default implementation
2949 * gio/gsocketoutputstream.c:
2950 (g_socket_output_stream_write):
2951 Return error on cancellation correctly.
2953 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2955 * gio/glocalfile.c (g_local_file_trash):
2956 Do not leak a string.
2958 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2960 * gio/gfile.c (g_file_load_contents):
2961 Unref the stream after closing it.
2963 2007-10-25 Alexander Larsson <alexl@redhat.com>
2965 * gio/gioscheduler.h:
2968 2007-10-25 Alexander Larsson <alexl@redhat.com>
2972 Add g_file_has_uri_scheme and implement for local files
2974 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2976 * gio/gdesktopappinfo.c: do not leak a string.
2978 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2980 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2981 (g_local_directory_monitor_new):
2982 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2983 (g_local_file_monitor_new):
2984 Only look for the monitor type that should be used the first time
2985 and use g_qsort_with_data() instead of our own bubble sort
2988 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2991 * gio/fam/Makefile.am:
2992 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2993 * gio/fam/fam-helper.h:
2994 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2995 * gio/fam/gfamdirectorymonitor.c:
2996 * gio/fam/gfamdirectorymonitor.h:
2997 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2998 * gio/fam/gfamfilemonitor.h:
2999 * gio/glocaldirectorymonitor.c:
3000 * gio/glocaldirectorymonitor.h:
3001 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3002 * gio/glocalfilemonitor.h:
3003 * gio/inotify/Makefile.am:
3004 * gio/inotify/ginotifydirectorymonitor.c:
3005 * gio/inotify/ginotifydirectorymonitor.h:
3006 * gio/inotify/ginotifyfilemonitor.c:
3007 * gio/inotify/ginotifyfilemonitor.h:
3008 Implement the FAM and Inotify monitors as
3009 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3010 their own GIO module. GLocal(Directory|File)Monitor will use the
3011 monitor with the highest rank that is supported on that machine.
3013 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3016 Change GIO module dir to $(libdir)/gio/modules and change
3017 the log domain from GVFS to GIO. Also only export symbols starting
3018 with g_ in the resulting library.
3019 * gio/test-streams.c: (main):
3020 Set log handler for the GIO log domain.
3022 2007-10-22 Alexander Larsson <alexl@redhat.com>
3024 * gio/gfilenamecompleter.[ch]:
3025 Add g_filename_completer_set_dirs_only
3027 2007-10-22 Alexander Larsson <alexl@redhat.com>
3030 * gio/gurifuncs.[ch]:
3031 Add some simple URI helpers
3033 * gio/gfilenamecompleter.[ch]:
3034 Added object for filename (parse name actually) completion
3037 Handle ~ in parse names
3039 2007-10-17 Alexander Larsson <alexl@redhat.com>
3042 * gio/glocalfileinfo.c:
3043 Add and implement id:value attribute
3045 2007-10-17 Alexander Larsson <alexl@redhat.com>
3048 * gio/guniondrive.c:
3050 Add and implement g_drive_has_volumes
3052 2007-10-17 Alexander Larsson <alexl@redhat.com>
3055 * gio/glocalfileinfo.[ch]:
3056 Add unix:is_mountpoint and implement for local files
3058 2007-10-16 Alexander Larsson <alexl@redhat.com>
3060 * gio/gunionvolumemonitor.c:
3061 (g_union_volume_monitor_init):
3062 Fix up the unix type getting so that it works with gcc
3064 2007-10-12 Alexander Larsson <alexl@redhat.com>
3067 * gio/glocalfileinfo.c:
3068 Add thumbnail:failed to file info
3070 2007-10-12 Richard Hult <richard@imendio.com>
3072 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3073 optimizing away the get_type call (happens with some gcc versions,
3074 like the one shipped with OS X 10.4).
3076 2007-10-12 Alexander Larsson <alexl@redhat.com>
3078 * gio/glocalfileinfo.c:
3079 (_g_local_file_info_set_attribute):
3080 Fix build if not HAVE_XATTR
3081 Patch from Milosz Derezynski <internalerror@gmail.com>
3083 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3085 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3086 around for review, otherwise I would have asked you before
3089 2007-10-11 Alexander Larsson <alexl@redhat.com>
3092 Add thumbnail:path attribute
3094 * gio/glocalfileinfo.c:
3095 Implement thumbnail:path for local files
3097 2007-10-11 Alexander Larsson <alexl@redhat.com>
3099 * gio/glocalfileinfo.c:
3100 (_g_local_file_info_get):
3101 Avoid duplicate icon names
3103 2007-10-11 Alexander Larsson <alexl@redhat.com>
3105 * gio/gthemedicon.[ch]:
3106 Change g_themed_icon_get_names return type to const
3108 2007-10-10 Alexander Larsson <alexl@redhat.com>
3110 * gio/glocalfileinfo.c:
3111 Don't reference freed memory
3113 2007-10-10 Alexander Larsson <alexl@redhat.com>
3115 * gio/gfileattribute.c:
3118 * gio/glocalfileinfo.c:
3121 2007-10-10 Alexander Larsson <alexl@redhat.com>
3124 Check for NULL icons
3126 * gio/gfileattribute.c:
3127 Don't dup when getting objects (same as for string attributes)
3129 * gio/gicon.c (g_icon_equal):
3130 Safely handle NULLs in equal
3132 2007-10-10 Alexander Larsson <alexl@redhat.com>
3135 Fix c++ compilation issues
3136 Patch from Milosz Derezynski <internalerror@gmail.com>
3138 2007-10-10 Alexander Larsson <alexl@redhat.com>
3140 * programs/gio-monitor-dir.c:
3141 Don't crash if dir monitor not supported.
3143 2007-10-09 Alexander Larsson <alexl@redhat.com>
3146 Add missing G_END_DECLS
3148 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3150 * gio/gfile.c: (g_file_set_display_name),
3151 (g_file_query_settable_attributes),
3152 (g_file_query_writable_namespaces):
3153 Return NULL not FALSE on errors as the return type is a pointer.
3155 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3157 * gio/glocalfile.c: (g_local_file_monitor_file):
3158 Don't call monitor_file on the default interface vtable (which
3159 is NULL) but simply return NULL. The caller, GFile, will create a
3160 polling monitor if NULL is returned.
3162 2007-10-09 Alexander Larsson <alexl@redhat.com>
3166 * gio-unix-2.0.pc.in:
3167 Add gio-unix-2.0.pc if OS_UNIX
3170 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3172 2007-10-09 Alexander Larsson <alexl@redhat.com>
3174 * gio/gunixmounts.[ch]:
3175 Make unix mount monitoring API sane.
3176 Now its just a object with mounts_changed
3177 and mountpoints_changed signals.
3179 * gio/glocaldirectorymonitor.c:
3180 * gio/gunixvolumemonitor.c:
3181 Use new mount monitor api
3183 2007-10-09 Alexander Larsson <alexl@redhat.com>
3185 * gio/gunixmounts.[ch]:
3186 Move guess type into one call for mounts and one for mountpoints
3189 * gio/gunixvolume.c:
3192 2007-10-09 Alexander Larsson <alexl@redhat.com>
3194 * gio/gunixmounts.[ch]:
3195 Remove _ prefix in preparation to make this semi-public
3196 Hide implementation of structs
3198 * gio/glocaldirectorymonitor.c:
3200 * gio/gunixvolume.c:
3201 * gio/gunixvolumemonitor.c:
3202 Update for above API changes
3204 2007-10-08 Alexander Larsson <alexl@redhat.com>
3207 Better polling fallback. This also handles the case where we have
3208 a monitor_file implementation, but it fails.
3210 2007-10-08 Alexander Larsson <alexl@redhat.com>
3214 * gio/gunixmounts.c:
3215 * programs/gio-monitor-dir.c:
3216 * programs/gio-monitor-file.c:
3217 Added cancellable to file monitoring calls.
3218 These are really sync calls and need this.
3220 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3222 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3223 (g_local_vfs_class_init):
3224 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3225 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3227 2007-10-05 Alexander Larsson <alexl@redhat.com>
3229 * gio/gdirectorymonitorprivate.h:
3230 * gio/gfilemonitorprivate.h:
3231 * gio/gdirectorymonitor.h:
3232 * gio/gfilemonitor.h:
3233 Remove *private.h and move to the public API, so that
3234 we can do implementations outside gio (such as in gvfs)
3236 * gio/gdirectorymonitor.c:
3237 * gio/gfilemonitor.c:
3238 * gio/glocaldirectorymonitor.c:
3239 * gio/gpollfilemonitor.c:
3240 * gio/inotify/inotify-helper.c:
3241 * gio/fam/fam-helper.c:
3242 Update to the new header names
3244 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3246 * gio/gdirectorymonitor.c:
3247 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3250 2007-10-04 Alexander Larsson <alexl@redhat.com>
3252 * gio/glocalfileinfo.c (get_access_rights):
3253 Set CAN_TRASH when we can move the file.
3254 We should really also check for a parent trash dir.
3256 2007-10-04 Alexander Larsson <alexl@redhat.com>
3258 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3259 Add can_trash access attribute
3261 2007-10-04 Alexander Larsson <alexl@redhat.com>
3264 (g_local_file_trash):
3265 Create info file first. This is per-spec and allows
3266 us to actually trash directories.
3268 2007-10-02 Alexander Larsson <alexl@redhat.com>
3270 * gio/gdesktopappinfo.c:
3271 Implement the new mime support code.
3272 Always set app as handling mimetype when being set as default for it
3274 2007-10-01 Alexander Larsson <alexl@redhat.com>
3276 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3277 Fix up check for xattrs:
3279 2007-10-01 Alexander Larsson <alexl@redhat.com>
3282 (g_app_info_set_as_default_for_extension):
3283 (g_app_info_add_supports_type):
3284 (g_app_info_can_remove_supports_type):
3285 (g_app_info_remove_supports_type):
3286 Make these fail nicely if not implemented
3288 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3290 * gio/glocalfileoutputstream.c:
3291 * gio/glocalfileoutputstream.h:
3296 * programs/gio-save.c:
3297 Add a GFileCreateFlags argument to operations that can create
3300 2007-10-01 Alexander Larsson <alexl@redhat.com>
3302 * gio/gappinfo.[ch]:
3303 * gio/gdesktopappinfo.c:
3304 Add more (stubbed out) mime API needed for nautilus
3306 2007-10-01 Alexander Larsson <alexl@redhat.com>
3309 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3310 Add g_app_info_set_as_default_for_extension.
3312 * gio/gdesktopappinfo.c:
3313 Dummy for g_app_info_set_as_default_for_extension
3314 Support flags in g_app_info_create_from_commandline
3316 * gio/gwin32appinfo.c:
3318 Update for API changes
3320 * gio/gthemedicon.c:
3321 Properly NULL-terminate list of icon names
3323 2007-09-28 Alexander Larsson <alexl@redhat.com>
3325 * gio/gloadableicon.h:
3326 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3328 2007-09-28 Alexander Larsson <alexl@redhat.com>
3331 Install headers in $includedir/gio-standalone/
3333 * gio-2.0.pc.in: Added.
3334 * gio-standalone.pc.in: Removed.
3337 Renamed pkg-config file to match glib (for future move)
3338 Update to the new include dir
3341 Add more TODO comments
3343 2007-09-28 Alexander Larsson <alexl@redhat.com>
3345 * gio/gdesktopappinfo.[ch]:
3346 Expose new_from_filename
3347 Add getter for is_hidden and handle it better
3349 2007-09-28 Alexander Larsson <alexl@redhat.com>
3351 * gio/gfileinfo.[ch]:
3352 Rename g_file_size_format_for_display to
3353 g_format_file_size_for_display.
3354 Now it doesn't have the g_file prefix, so we
3355 can later move it to glib.
3357 2007-09-28 Alexander Larsson <alexl@redhat.com>
3359 * gio/gappinfo.[ch]:
3360 Add g_app_info_get_id and g_app_info_get_executable.
3361 Make all getters non-reffing
3362 Make g_app_info_launch take GFile arguments.
3363 Add must_support_uris argument to g_app_info_get_default_for_type.
3365 * gio/gwin32appinfo.c:
3366 Update to GAppInfo api changes
3368 * gio/gdesktopappinfo.c:
3369 Update to GAppInfo api changes
3370 Implement supports_xdg_startup_notify
3372 * gio/gfileicon.c (g_file_icon_get_file):
3373 Make getter non-reffing.
3378 2007-09-27 Alexander Larsson <alexl@redhat.com>
3380 * gio/gfileinfo.[ch]:
3381 Add g_file_size_format_for_display helper
3383 2007-09-27 Alexander Larsson <alexl@redhat.com>
3385 * gio/glocalfileinfo.c:
3386 Set UNIX_GID from gid, not from uid
3388 2007-09-27 Alexander Larsson <alexl@redhat.com>
3391 Add g_file_set_attributes_async
3393 2007-09-27 Alexander Larsson <alexl@redhat.com>
3395 * gio/glocalfile.c (g_local_file_set_display_name):
3396 Fix set_display_name to actually rename to the right place.
3397 Use lstat to look for existing files so we don't overwrite
3400 2007-09-26 Alexander Larsson <alexl@redhat.com>
3403 Add g_file_set_display_name_async()
3405 2007-09-26 Alexander Larsson <alexl@redhat.com>
3408 Add load_partial_contents async calls
3411 Make internal function static
3413 2007-09-26 Alexander Larsson <alexl@redhat.com>
3415 * gio/glocalfileinfo.c:
3416 Correctly detect broken symlinks
3418 2007-09-26 Alexander Larsson <alexl@redhat.com>
3420 * gio/gcancellable.c (g_cancellable_cancel):
3421 Allow cancel on NULL cancellable
3423 2007-09-25 Alexander Larsson <alexl@redhat.com>
3425 * gio/gsimpleasyncresult.c:
3426 Don't allocate g_error manually.
3427 Fixes g_slice/g_new mixup crash
3429 2007-09-25 Alexander Larsson <alexl@redhat.com>
3431 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3432 Actually set active_backend.
3433 This means the monitor will be cancelled correctly.
3435 2007-09-25 Alexander Larsson <alexl@redhat.com>
3437 * gio/gdirectorymonitor.c:
3438 Set timeout to NULL when destroying
3440 2007-09-25 Alexander Larsson <alexl@redhat.com>
3443 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3444 that is a better description of the error.
3446 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3448 * gio/gvfs.c: (g_vfs_get_local):
3449 Make the local vfs variable static. The same instance should
3452 2007-09-24 Alexander Larsson <alexl@redhat.com>
3454 * gio/glocalfileinfo.c:
3455 Pass in actual length read into sniffer, not the length
3458 2007-09-21 Alexander Larsson <alexl@redhat.com>
3460 * gio/gfileenumerator.c:
3463 * gio/gfileinputstream.c:
3464 * gio/gfileoutputstream.c:
3465 * gio/ginputstream.c:
3466 * gio/goutputstream.c:
3467 Don't crash if async callbacks are NULL
3469 2007-09-20 Alexander Larsson <alexl@redhat.com>
3472 Add async enumerate_children method and default
3475 2007-09-20 Alexander Larsson <alexl@redhat.com>
3478 Add g_file_contains_file & g_file_get_relative_path, since they
3479 were needed for nautilus.
3480 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3485 Implement new methods
3487 2007-09-17 Alexander Larsson <alexl@redhat.com>
3490 * gio/gfileinputstream.[ch]:
3491 * gio/gfileoutputstream.[ch]:
3493 * gio/glocalfileenumerator.[ch]:
3494 * gio/glocalfileinfo.[ch]:
3495 * gio/glocalfileinputstream.c:
3496 * gio/glocalfileoutputstream.c:
3497 * gio/gpollfilemonitor.c:
3498 * programs/gio-copy.c:
3499 * programs/gio-info.c:
3500 * programs/gio-move.c:
3501 Rename get_file_info to query_info() to make it clearer
3502 that these are not simple getters, but do i/o.
3504 2007-09-17 Alexander Larsson <alexl@redhat.com>
3506 * gio/gdatainputstream.[ch]:
3507 * gio/test-streams.c:
3508 Use _read_XXX instead of _get_XXX for the i/o calls
3511 2007-09-17 Alexander Larsson <alexl@redhat.com>
3514 Added needed stuff to TODO comment
3516 2007-09-17 Alexander Larsson <alexl@redhat.com>
3518 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3519 Don't error out removing the backup copy if it doesn't
3522 2007-09-14 Alexander Larsson <alexl@redhat.com>
3524 * programs/Makefile.am:
3525 * programs/gvfs-*.c:
3527 Renamed apps from gvfs-xxx to gio-xxx.
3529 2007-09-14 Alexander Larsson <alexl@redhat.com>
3532 * gio/gfileoutputstream.[ch]:
3533 * gio/glocalfileoutputstream.c:
3534 * programs/gvfs-save.c:
3535 g_file_output_stream_get_etag doesn't do i/o, so remove
3536 cancellation and error.
3538 2007-09-14 Alexander Larsson <alexl@redhat.com>
3541 Add new_etag output to replace_contents functions
3543 2007-09-14 Alexander Larsson <alexl@redhat.com>
3545 * gio/gfileoutputstream.[ch]:
3546 Add async get_file_info and default implementation
3548 2007-09-14 Alexander Larsson <alexl@redhat.com>
3550 * gio/gfileinputstream.c:
3551 Implement fallback wrapper for async get_file_info
3553 2007-09-14 Alexander Larsson <alexl@redhat.com>
3556 Add etag out argument to load_contents
3561 2007-09-14 Alexander Larsson <alexl@redhat.com>
3563 * gio/gcontenttype.c (looks_like_text):
3564 Whitespace like tab, cr and lf do not make the
3567 2007-09-14 Alexander Larsson <alexl@redhat.com>
3569 * gio/gfileinputstream.[ch]:
3570 Add async get_file_info.
3572 2007-09-13 Alexander Larsson <alexl@redhat.com>
3574 * gio/goutputstream.c (g_output_stream_write_all):
3575 Allow NULL for bytes_written
3577 2007-09-13 Alexander Larsson <alexl@redhat.com>
3579 * gio/gmemoryinputstream.[ch]:
3580 Add accessors for data
3582 2007-09-13 Alexander Larsson <alexl@redhat.com>
3584 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3585 Don't crash if length is NULL