1 2008-02-21 Alexander Larsson <alexl@redhat.com>
6 2008-02-21 Alexander Larsson <alexl@redhat.com>
9 Add more documentation about how GFiles work (from #517086)
11 2008-02-21 Alexander Larsson <alexl@redhat.com>
15 Add new g_file_has_prefix that does the same as g_file_contains_file.
16 Deprecate g_file_contains_file and add a macro that converts
17 it to g_file_has_prefix.
18 The reason for this change is that the contains_file() name seems to
19 imply that this does more work than what it does, but its really only
20 a name match (from #517086)
25 Update to match the above change.
27 2008-02-20 Benjamin Otte <otte@gnome.org>
29 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
30 (g_file_eject_mountable):
31 even more cases of not returning in error path
33 2008-02-20 Benjamin Otte <otte@gnome.org>
35 * gfile.c: (g_file_mount_mountable):
36 return from function in error path.
38 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
41 Remove trailing coma in GMountMountFlags struct
43 2008-02-18 Alexander Larsson <alexl@redhat.com>
47 * glocalfileoutputstream.c:
48 Use g_unlink/g_rename instead of unlink/rename;
49 do not pass raw filenames to g_set_error. (#517239)
50 Patch from Yevgen Muntyan.
52 2008-02-18 Alexander Larsson <alexl@redhat.com>
55 * glocalfileoutputstream.c:
56 Open files with O_BINARY on windows. (#517140)
58 2008-02-14 Alexander Larsson <alexl@redhat.com>
60 * glocalfileoutputstream.c:
61 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
63 2008-02-14 Alexander Larsson <alexl@redhat.com>
66 Copy permissions with file on copy (#514084)
67 This is what cp does and makes sure e.g. the
68 exec permissions are kept.
69 Its kinda weird in that it keeps the permission bits
70 the same while the uid and gid are different. However
71 the new uid is the user so its not a security issue,
72 and I've heard no complaints about cp on this issue.
74 2008-02-13 Ryan Lortie <desrt@desrt.ca>
76 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
78 2008-02-13 Alexander Larsson <alexl@redhat.com>
80 * inotify/inotify-path.c:
81 Define IN_ONLYDIR if not in header (#515346)
83 2008-02-12 Alexander Larsson <alexl@redhat.com>
85 * tests/live-g-file.c:
88 2008-02-11 Matthias Clasen <mclasen@redhat.com>
90 * === Released 2.15.5 ===
92 2008-02-11 Matthias Clasen <mclasen@redhat.com>
94 * gio.symbols: Add g_mount_mount_flags_get_type.
96 2008-02-11 Alexander Larsson <alexl@redhat.com>
99 (g_file_info_set_attribute_mask):
100 (g_file_attribute_matcher_matches_id):
101 Correctly handle NULL GAttributeMatcher meaning
102 matches nothing. (Fixes #513492)
104 2008-02-11 Alexander Larsson <alexl@redhat.com>
109 Added GMountMountFlags enum and added a flags
110 argument to all mount calls.
112 This is an API/ABI change for future extensibility,
113 as I think we will need at least an
114 inhibit-autorun flag (the panel needs this).
115 There are no flags defined yet though.
117 2008-02-11 Alexander Larsson <alexl@redhat.com>
120 Added new standard::description attribute.
121 Requested by Vincent, and useful for both
124 2008-02-11 Alexander Larsson <alexl@redhat.com>
129 2008-02-11 Matthias Clasen <mclasen@redhat.com>
131 * *.c: Documentation additions
133 2008-02-10 Matthias Clasen <mclasen@redhat.com>
135 * gappinfo.h: Formatting cleanup
136 * gappinfo.c: Fix up docs.
138 2008-02-09 Matthias Clasen <mclasen@redhat.com>
140 * gunixmounts.c: Consistently use getmntent_r() and fall
141 back to getmntent(). (#515492)
143 2008-02-09 Matthias Clasen <mclasen@redhat.com>
145 * gbufferedinputstream.c:
147 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
149 * tests/data-input-stream.c:
150 * tests/data-output-stream.c: Portability fixes.
152 2008-02-08 Alexander Larsson <alexl@redhat.com>
157 Add g_volume_should_automount.
160 2008-02-07 Tor Lillqvist <tml@novell.com>
162 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
163 Win32, too Unix-specific.
165 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
167 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
168 a local plt if the compiler doesn't support what we want. Bug #514702
170 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
172 reviewed by: <delete if not using a buddy>
175 * gunixinputstream.c:
176 * gunixoutputstream.c:
178 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
181 * tests/live-g-file.c:
182 * tests/live-g-file.txt:
183 New GIO testing module working over real data
185 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
187 * glocalfileoutputstream.c (g_local_file_output_stream_close):
188 Fallback to rename() if link() is not available
189 (when no support on target filesystem)
191 2008-02-06 Michael Natterer <mitch@imendio.com>
193 * gfileinfo.c (g_file_info_get_icon): replace
194 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
196 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
198 * gfile.c (g_file_create):
199 Documentation update of error codes
201 2008-02-06 Alexander Larsson <alexl@redhat.com>
204 Update to use both mimeapps.list and
205 defaults.list as discussed on xdg list.
207 2008-02-06 Benjamin Otte <otte@gnome.org>
210 * gfilenamecompleter.c:
211 Fix some typos in the documentation.
213 2008-02-06 Alexander Larsson <alexl@redhat.com>
215 * glocalfile.c (g_local_file_trash):
216 Don't succeed with trash if newly created
217 trash dir has the wrong owner. (#514696)
219 2008-02-05 Alexander Larsson <alexl@redhat.com>
221 * glocalfile.c (g_local_file_move):
222 Don't spew warnings when destination is not
225 2008-02-03 Hans Breuer <hans@breuer.org>
227 * makefile.msc : update
229 2008-02-01 Michael Natterer <mitch@imendio.com>
231 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
232 return value of xdg_mime_list_mime_parents() to a variable of the
235 2008-02-01 Alexander Larsson <alexl@redhat.com>
237 * gappinfo.c (g_app_info_launch_uris):
238 Actually call the launch_uris method, not
241 2008-02-01 Alexander Larsson <alexl@redhat.com>
243 * gdesktopappinfo.c (g_desktop_app_info_equal):
244 Ensure appinfos with no id but same pointer value
247 2008-02-01 Alexander Larsson <alexl@redhat.com>
249 * gappinfo.c (g_app_info_launch_default_for_uri):
252 2008-02-01 Alexander Larsson <alexl@redhat.com>
256 Add g_app_info_launch_default_for_uri utility
259 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
262 Doc fix for g_app_info_get_default_for_uri_scheme ()
265 2008-01-30 Alexander Larsson <alexl@redhat.com>
268 Add doc comment about uris vs GFiles to
272 Ensure uris passed to g_app_info_launch_uris()
273 are not roundtriped through GFile (as that
274 may be slightly destructive for e.g. mailto: links)
276 2008-01-30 Alexander Larsson <alexl@redhat.com>
278 * tests/data-input-stream.c:
279 * tests/data-output-stream.c:
280 C89 fixes from Jens Granseuer (#512849)
282 2008-01-30 Alexander Larsson <alexl@redhat.com>
285 Fix gamin/fam difference build issue. (#509419)
287 2008-01-29 Alexander Larsson <alexl@redhat.com>
291 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
293 2008-01-29 Alexander Larsson <alexl@redhat.com>
297 giomodule-priv.h include moved to .c file.
299 2008-01-29 Alexander Larsson <alexl@redhat.com>
301 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
302 Remove unused prio/name fields.
304 2008-01-29 Alexander Larsson <alexl@redhat.com>
306 * gcontenttype.c (looks_like_text):
307 Don't treat whitespace as control chars.
309 2008-01-29 Alexander Larsson <alexl@redhat.com>
312 Lazily create the desktop files for appinfos created
313 by g_app_info_create_from_commandline() when needed
314 for mime associations. This allows run-time use
315 of GAppInfo object without creating unnecessary
318 2008-01-29 Alexander Larsson <alexl@redhat.com>
321 Added new symbols to gio.symbols
323 2008-01-29 Alexander Larsson <alexl@redhat.com>
326 Add g_file_query_default_handler utility to easily look up
327 the GAppInfo that handles a file.
329 * gdesktopappinfo.[ch]:
331 Set up an extension point for g_app_info_get_default_for_uri_scheme()
334 Remove unused function
336 2008-01-29 Alexander Larsson <alexl@redhat.com>
339 Mention need to free returned value in
340 g_file_enumerator_next_files_finish docs.
341 Fix leak if g_file_enumerator_next_files_finish()
344 2008-01-29 Alexander Larsson <alexl@redhat.com>
347 (_g_unix_content_type_get_parents):
348 Use list_parents, not get_parents from xdgmime, because
349 the later doesn't use the cache.
351 * xdgmime/xdgmimecache.c:
352 (_xdg_mime_cache_list_mime_parents):
353 Don't list the same type as parent multiple times.
355 2008-01-28 Matthias Clasen <mclasen@redhat.com>
357 * === Released 2.15.4 ===
359 2008-01-28 Alexander Larsson <alexl@redhat.com>
362 Register local vfs with prio 0.
365 Remove old name and prio class members
367 2008-01-28 Matthias Clasen <mclasen@redhat.com>
369 * tests/g-file.c: Disable some tests that are failing in
370 the absence of a http backend.
372 2008-01-28 Alexander Larsson <alexl@redhat.com>
376 Add registration hooks for extension points.
377 Register the gio extension points.
379 * fam/gfamdirectorymonitor.c:
380 * fam/gfamfilemonitor.c:
381 * glocaldirectorymonitor.[ch]:
382 * glocalfilemonitor.[ch]:
383 * gnativevolumemonitor.h:
384 * gunionvolumemonitor.c:
385 * gunixvolumemonitor.c:
388 * inotify/ginotifydirectorymonitor.c:
389 * inotify/ginotifyfilemonitor.c:
390 Use the extension points registration instead
391 of g_type_children().
393 2008-01-28 Matthias Clasen <mclasen@redhat.com>
396 * gvolume.[hc]: Document new API.
398 * gfile.c (g_file_copy_async): Fix docs
400 2008-01-27 Matthias Clasen <mclasen@redhat.com>
402 * gbufferedinputstream.c:
404 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
407 2008-01-27 Matthias Clasen <mclasen@redhat.com>
409 * glocalfile.c: Avoid trivial differences in translatable strings.
411 2008-01-25 Matthias Clasen <mclasen@redhat.com>
413 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
414 build with gcc 3.4 (#509419)
416 2008-01-25 Matthias Clasen <mclasen@redhat.com>
418 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
419 (#509994, Murray Cumming)
421 2008-01-25 Matthias Clasen <mclasen@redhat.com>
423 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
424 * gioscheduler.c: Keep calling io jobs until they return FALSE;
425 this allows big jobs to be executed in chunks, instead of blocking
426 the main loop for a long time.
428 * gsimpleasyncresult.c:
429 * giofile.c: Adapt callers.
431 2008-01-25 Alexander Larsson <alexl@redhat.com>
434 Implement changes discussed on xdg list.
435 Now we can add supported mimetypes by just using defaults.list
436 We can also remove associations in defaults.list.
438 2008-01-25 Alexander Larsson <alexl@redhat.com>
441 Don't make local copy of desktop file
442 for mimetype changes if the file already
443 supports the new mimetype.
445 2008-01-25 Matthias Clasen <mclasen@redhat.com>
449 * gbufferedinputstream.c:
450 * glocalfile.c: String improvements. (#511966,
451 Theppitak Karoonboonyanan)
453 2008-01-24 Matthias Clasen <mclasen@redhat.com>
455 * gioscheduler.h: Expand docs a bit.
457 2008-01-24 Alexander Larsson <alexl@redhat.com>
460 Add g_drive_get_identifier and
461 g_drive_enumerate_identifiers
464 Add g_volume_get_identifier and
465 g_volume_enumerate_identifiers
471 Implement identifiers for unix backend
473 2008-01-24 Alexander Larsson <alexl@redhat.com>
478 Add g_file_copy_async() (#511580)
479 Based on patch from Carlos Garcia Campos
481 2008-01-23 Matthias Clasen <mclasen@redhat.com>
483 * gioscheduler.c: Some documentation additions.
485 2008-01-22 Alexander Larsson <alexl@redhat.com>
488 (g_desktop_app_info_new):
491 2008-01-22 Alexander Larsson <alexl@redhat.com>
494 (g_desktop_app_info_new_from_filename):
497 2008-01-22 Alexander Larsson <alexl@redhat.com>
499 * glocalfileinfo.c (get_thumbnail_attributes):
502 2008-01-22 Alexander Larsson <alexl@redhat.com>
505 (canonicalize_filename):
506 Canonicalize paths that start with more than
511 (test_g_file_new_for_path):
514 2008-01-22 Alexander Larsson <alexl@redhat.com>
517 Allow UTF-8 in file:// parse names.
520 * tests/data-input-stream.c:
521 * tests/data-output-stream.c:
522 * tests/g-file-info.c:
524 Added a bunch of tests from Tomas Bzatek
526 2008-01-21 Matthias Clasen <mclasen@redhat.com>
528 * === Released 2.15.3 ===
530 2008-01-21 Alexander Larsson <alexl@redhat.com>
532 * gfileinputstream.[ch]:
533 * gfileoutputstream.[ch]:
535 Remove duplicated GSeekable functions. (#509990)
536 Just use the g_seekable_xxx() calls instead.
538 2008-01-21 Matthias Clasen <mclasen@redhat.com>
541 * gvolumemanager.c: Whitespace cleanups.
543 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
544 Use the right mode when creating the file.
546 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
549 * gfileinputstream.c:
551 * goutputstream.c: Documentation: Fixed minor typos
552 and added more mentions of specific _finish() functions.
554 2008-01-21 Alexander Larsson <alexl@redhat.com>
556 * inotify/Makefile.am:
557 * inotify/inotify-helper.c:
558 * inotify/inotify-kernel.c:
559 * inotify/inotify-path.c:
560 * inotify/local_inotify.h: Removed.
561 * inotify/local_inotify_syscalls.h: Removed.
562 Removed the included copies of the inotify
563 headers. We now only use the <sys/inotify.h>
564 header which exists on modern systems.
565 This fixes problems on ARM and SH5 (#510448)
566 but is also generally much cleaner and future
567 safe. For instance, if other OSes add support
568 for inotify it should "just work".
570 2008-01-20 Matthias Clasen <mclasen@redhat.com>
572 * inotify/*.c: Coding style fixes.
573 * inotify/inotify-missing.c: Use g_timeout_add_seconds
574 for the 1/4 Hz timer.
576 2008-01-20 Matthias Clasen <mclasen@redhat.com>
580 * gmemoryinputstream.c:
581 * gmemoryoutputstream.c:
583 * gthemedicon.c: Documentation updates
585 2008-01-20 Murray Cumming <murrayc@murrayc.com>
587 * gfile.c: documentation: Fixed more minor
590 2008-01-18 Murray Cumming <murrayc@murrayc.com>
592 * gmount.c: (g_mount_remount): documentation:
593 Mention g_mount_remount_finish() instead of
594 g_mount_unmount_finish().
596 2008-01-18 Murray Cumming <murrayc@murrayc.com>
600 * gfile.c: Fixed some minor typos in the
603 2008-01-18 Murray Cumming <murrayc@murrayc.com>
605 * gio/gvolumemonitor.c:
606 (g_volume_monitor_get_connected_drives):
607 (g_volume_monitor_get_volumes):
608 (g_volume_monitor_get_mounts): Documentation:
609 Clarify the ownership of the regurn GLists.
611 2008-01-17 Alexander Larsson <alexl@redhat.com>
614 Add the async find_enclosing_mount version
615 to the header file too.
617 2008-01-17 Alexander Larsson <alexl@redhat.com>
620 Add async version of find_enclosing_mount
621 with default implementation.
623 2008-01-17 Alexander Larsson <alexl@redhat.com>
628 Allow calls to implementation of copy and write
629 even if the type of the file implementations is
630 different. This can be used to implement native
631 upload and download calls in a vfs.
635 Protect against the case where move is called
636 with one file not being local.
638 Make sure we call the progress callback once
639 in the native move operation so that the caller
640 knows how many bytes were copied.
642 2008-01-16 Murray Cumming <murrayc@murrayc.com>
645 * gdatainputstream.c:
647 * gfileoutputstream.c:
652 * gunixmounts.c: Corrected some typos in the documentation:
654 its -> it's (where appropriate).
656 2008-01-16 Alexander Larsson <alexl@redhat.com>
660 Add g_file_query_exists (#508771)
662 2008-01-15 Murray Cumming <murrayc@murrayc.com>
667 * gvolume.c: For async functions that have no non-async
668 version, document that the GAsyncReadyCallback may be NULL.
671 2008-01-15 Alexander Larsson <alexl@redhat.com>
673 * gmemoryinputstream.c:
674 * gmemoryoutputstream.c:
675 Don't do pointer arithmetic on void * (#508602)
676 Patch from Kazuki IWAMOTO
678 2008-01-14 Matthias Clasen <mclasen@redhat.com>
680 * === Released 2.15.2 ===
682 2008-01-14 Alexander Larsson <alexl@redhat.com>
684 * gfile.c (g_file_monitor_file):
685 Don't set error here, since we fallback to polling monitor.
687 2008-01-14 Alexander Larsson <alexl@redhat.com>
690 (g_file_monitor_directory):
691 (g_file_monitor_file):
692 Add GError to file monitor calls
694 * glocaldirectorymonitor.c:
695 * glocaldirectorymonitor.h:
697 * glocalfilemonitor.c:
698 * glocalfilemonitor.h:
700 Update for above change
702 2008-01-14 Alexander Larsson <alexl@redhat.com>
706 Handle root correctly in g_file_get_relative_path (#508719)
708 2008-01-14 Alexander Larsson <alexl@redhat.com>
711 Clean up docs and example for GAsyncResult (#508074)
713 2008-01-11 Murray Cumming <murrayc@murrayc.com>
715 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
716 and correct some spelling mistakes. Bug #508108.
718 2008-01-11 Matthias Clasen <mclasen@redhat.com>
720 * glocalfileinfo.c: Add a comment.
722 2008-01-10 Murray Cumming <murrayc@murrayc.com>
724 * gfileinfo.c: GFileInfo description: Mention
725 how to actually set attributes in a GFile and how to discover
726 which attributes are settable. Bug #508378.
728 2008-01-10 A. Walton <awalton@svn.gnome.org>
730 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
731 (g_app_info_get_default_for_type):
732 Check for NULL content types.
734 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
736 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
738 2008-01-09 Murray Cumming <murrayc@murrayc.com>
740 * gfile.c: *_async() functions: Several small corrections
741 to the documentation, mostly correcting copy/paste errors
742 and improving some sentences.
744 2008-01-09 Dan Winship <danw@gnome.org>
746 * glocalfile.c (get_unique_filename): x86_64 fix
748 2008-01-09 Alexander Larsson <alexl@redhat.com>
753 Add g_unix_mount_guess_should_display and use
754 for unix volume monitor backend.
755 This means we more or less show what the
756 gnome-vfs backend did.
757 Based on patch from Padraig O'Briain
759 2008-01-09 Alexander Larsson <alexl@redhat.com>
763 Add g_themed_icon_new_with_default_fallbacks
766 Use default fallbacks for icons
768 2008-01-09 Alexander Larsson <alexl@redhat.com>
771 * gmountoperation.[ch]:
772 Change the API a bit so that unhandled methods
773 get reported via the reply, rather than by
774 the signal emission return value. This is because
775 some handlers can't know this immediately without
776 doing I/O, and this is an async operation that
779 2008-01-09 Alexander Larsson <alexl@redhat.com>
782 * fam/gfamdirectorymonitor.c:
783 * fam/gfamfilemonitor.c:
784 Fix double free crash (#508224)
785 Patch from Joe Marcus Clarke
787 008-01-07 Matthias Clasen <mclasen@redhat.com>
789 * === Released 2.15.1 ===
791 2008-01-07 Alexander Larsson <alexl@redhat.com>
793 * gunixinputstream.c (g_unix_input_stream_skip_finish):
794 Fix warning (#507835)
796 2008-01-07 Alexander Larsson <alexl@redhat.com>
799 Pass --internal to glib-genmarshal
804 Use better types for signal arguments (#507822)
806 2008-01-07 Alexander Larsson <alexl@redhat.com>
809 Build test subdir after .
810 Remove gdirectorymonitor.[ch]
812 * gdirectorymonitor.[ch]:
816 Remove GDirectoryMonitor and make
817 GFileMonitor the baseclass for both file and
818 directory monitors. Lift the more generic
819 rate limiting code from GDirectoryMonitor
823 * fam/gfamdirectorymonitor.[ch]:
824 * inotify/ginotifydirectorymonitor.[ch]:
825 * inotify/inotify-helper.c:
826 * glocaldirectorymonitor.[ch]:
829 Update for the removed GDirectoryMonitor.
831 * gmemoryoutputstream.c:
832 Remove ununsed variable
834 2008-01-07 Alexander Larsson <alexl@redhat.com>
836 * gmemoryinputstream.c:
837 Translate error strings
840 * gmemoryoutputstream.[ch]:
841 New implementation that avoids using GByteArray
842 in implementation and API. (#506377)
844 2008-01-06 Matthias Clasen <mclasen@redhat.com>
846 * tests/*: Add a test for memory input streams.
848 * Makefile.am: Add tests to SUBDIRS.
850 2008-01-06 Matthias Clasen <mclasen@redhat.com>
852 * glocalfilemonitor.c:
853 * glocaldirectorymonitor.c: Mark property nicks and blurbs
856 2008-01-06 Matthias Clasen <mclasen@redhat.com>
858 * gdesktopappinfo.c: Fix a docs typo.
860 * gfileattribute.c: Add information about extended attributes
861 to the documentation. (#505058)
863 2008-01-04 Alexander Larsson <alexl@redhat.com>
867 Use the right type (uint) for the ask_password signal.
869 2008-01-04 Alexander Larsson <alexl@redhat.com>
874 Add g_app_info_supports_files()
875 Remove desktop arg from g_app_info_should_show().
877 * gdesktopappinfo.[ch]:
878 Implement g_app_info_supports_files() and new should_show()
879 Add g_desktop_app_info_set_desktop_env() to set the desktop
880 for should_show(). (This will be set by gtk+ later)
882 2008-01-04 Alexander Larsson <alexl@redhat.com>
885 * gmemoryinputstream.[ch]:
886 Improve API so that you can use multiple chunks
887 of memory and custom destroy functions. (#506374)
889 2008-01-03 Alexander Larsson <alexl@redhat.com>
892 Handle NULL attribute matchers safely, as we return this
893 for empty attribute matcher strings.
895 2008-01-03 Alexander Larsson <alexl@redhat.com>
897 * gunixmounts.c (g_unix_is_mount_path_system_internal):
898 Add /usr/local to list of internal mountpoints
900 2008-01-03 Alexander Larsson <alexl@redhat.com>
903 Check for HAVE_LCHOWN (#505887)
905 2008-01-03 Alexander Larsson <alexl@redhat.com>
909 Add define for selinux context attribute.
910 Fix missing : -> :: namespace separator change
911 Fix missing _ -> - name change for xattr-sys.
914 2008-01-03 Alexander Larsson <alexl@redhat.com>
917 Link to libglib and libgobject directly (#504879)
918 Patch from Sebastien Bacher
920 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
922 * gfile.c: Expanded the g_file_new_for_commandline_arg
923 description a bit, based on the code and the docs of the
924 other g_file_new_for_* functions.
926 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
928 * gfilemonitor.h: Fixed typo in docs.
930 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
932 Updates to GIO documentation. (#506395, Mikael Hermansson)
934 * gcontenttype.c: Describe memory management for return value of
935 g_content_types_get_registered(). Missing piece from #505815.
936 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
937 GVolume, GDrive, GMounts, which hopefully gives the user less
938 confusions when using this API. Following explainations from
939 Alexander Larsson on gtk-devel-list.
941 2007-12-30 Matthias Clasen <mclasen@redhat.com>
943 * gfileinfo.c: Expand the long description.
945 2007-12-30 Matthias Clasen <mclasen@redhat.com>
948 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
949 fix builds with --disable-visibility. (#500273, Christian Persch)
951 2007-12-30 Matthias Clasen <mclasen@redhat.com>
953 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
954 in the list of returned app infos.
956 2007-12-30 Matthias Clasen <mclasen@redhat.com>
958 * gappinfo.c: Fix a cross-reference
960 2007-12-30 Matthias Clasen <mclasen@redhat.com>
962 * gfileinputstream.c:
963 * gfileoutputstream.c:
969 * gfileinfo.c: Documentation updates.
971 2007-12-26 Matthias Clasen <mclasen@redhat.com>
973 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
976 2007-12-26 Matthias Clasen <mclasen@redhat.com>
978 * gcontenttype.c (g_content_types_get_registered): Don't return
979 freed memory (#505815, Mikael Hermansson)
981 2007-12-25 Paolo Borelli <pborelli@katamail.com>
983 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
984 used to detect statbuf->st_blocks. (#505042)
986 2007-12-24 Matthias Clasen <mclasen@redhat.com>
988 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
989 environment handling. (#504829, Cosimo Cecchi)
991 2007-12-22 Matthias Clasen <mclasen@redhat.com>
993 * gappinfo.c: Doc improvements
995 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
998 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1000 * === Released 2.15.0 ===
1002 2007-12-20 Hans Breuer <hans@breuer.org>
1004 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1005 with symbols gwin32appinfo.obj, added gmount.obj
1006 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1008 2007-12-20 Alexander Larsson <alexl@redhat.com>
1014 * gfilenamecompleter.c:
1017 * gpollfilemonitor.c:
1018 File attribute renames:
1020 fs:: -> filesystem::
1021 id::fs -> id::filesystem
1023 2007-12-20 Alexander Larsson <alexl@redhat.com>
1032 Add GMountUnmountFlags to all unmount and
1034 Add g_mount_remount() call.
1036 2007-12-20 Alexander Larsson <alexl@redhat.com>
1038 * gvfs.c (get_default_vfs):
1039 Fix unused variable warning
1041 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1043 * pltcheck.sh: Update
1045 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1047 * gunionvolumemonitor.c:
1048 * gunixmount.c: Remove C99 comments
1050 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1052 * gio.symbols: Add some missing symbols
1054 2007-12-19 Alexander Larsson <alexl@redhat.com>
1057 Make g_io_modules_load_all_in_directory not unuse
1058 loaded modules so that users of it can do stuff
1060 Init internal "module" types.
1061 Initialize static prio and name for types so that
1062 we don't have to load modules to get it.
1064 * gnativevolumemonitor.h:
1066 Move is_supported to parent class so that
1067 non-native monitors can avoid being initialized
1068 too. (For instance GDaemonVolumeMonitor if we're
1069 not using GDaemonVfs.)
1071 * glocaldirectorymonitor.[ch]:
1072 * glocalfilemonitor.[ch]:
1073 * gunionvolumemonitor.c:
1074 * gunixvolumemonitor.c:
1076 Find plugins using the static prio+name to
1077 avoid unnecessarily loading the modules.
1079 2007-12-19 Alexander Larsson <alexl@redhat.com>
1084 2007-12-19 Alexander Larsson <alexl@redhat.com>
1086 * gunionvolumemonitor.c:
1087 Store the native type as GType, not class so that
1088 we can unload it. But still avoid unnecessarily
1091 2007-12-19 David Zeuthen <davidz@redhat.com>
1093 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1094 add signals 'disconnected' and 'eject-button' on GDrive. Add
1095 signal 'removed' on GVolume and 'unmounted' on GMount.
1097 * gdrive.c: (g_drive_base_init):
1099 * gfile.c: (g_file_mount_mountable),
1100 (g_file_mount_enclosing_volume):
1103 * gmount.c: (g_mount_base_init):
1105 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1106 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1107 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1111 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1113 * *.c: Fix up includes in the section docs.
1115 2007-12-17 Alexander Larsson <alexl@redhat.com>
1117 * gnativevolumemonitor.h:
1118 * gunionvolumemonitor.c:
1119 * gunixvolumemonitor.c:
1120 Add is_supported() to GNativeVolumeMonitorClass so
1121 that we can avoid having to create an object to see
1122 if the backend is supported at runtime.
1123 Also add name member and an env var to pick a specific
1124 volume monitor backend.
1128 Add cancellable to _g_mount_get_for_mount_path()
1130 * glocaldirectorymonitor.c:
1131 * glocalfilemonitor.c:
1132 Avoid loading and unloading modules while sorting.
1134 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1137 * gunixmounts.[hc]: Namespace waste reduction, move some
1138 g_get_unix_mount functions to the g_unix_mount namespace.
1141 * gunixvolumemonitor.c:
1143 * glocaldirectorymonitor.c: Update all callers.
1145 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1147 2007-12-17 Alexander Larsson <alexl@redhat.com>
1150 Add doc comments about what GFile operations are
1151 guaranteed to not block.
1153 2007-12-17 Alexander Larsson <alexl@redhat.com>
1156 Add missing #ifdef fixing OSX build.
1157 (#503334, patch from Richard Hult)
1159 2007-12-14 David Zeuthen <davidz@redhat.com>
1163 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1164 (g_mount_eject), (g_mount_eject_finish):
1166 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1167 (get_volume_for_uuid), (get_mount_for_uuid),
1168 (g_union_volume_monitor_class_init),
1169 (get_default_native_type_with_exclude), (get_default_native_type),
1170 (get_native_type), (update_native_type),
1171 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1172 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1173 (g_unix_mount_can_eject), (eject_unmount_cb),
1174 (eject_unmount_read_error), (eject_unmount_do),
1175 (g_unix_mount_unmount), (g_unix_mount_eject),
1176 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1177 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1178 (g_unix_mount_point_guess_can_eject):
1180 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1181 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1182 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1183 (g_unix_volume_mount), (g_unix_volume_eject),
1184 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1185 * gunixvolumemonitor.c: (get_volume_for_uuid),
1186 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1188 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1189 (g_volume_eject), (g_volume_eject_finish):
1191 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1192 (g_volume_monitor_get_mount_for_uuid):
1195 Provide eject() on both GMount and GVolume and utility functions
1196 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1197 ejected. Introduce the concept of UUID's and wire it into GVolume
1198 and GMount and provide API on GVolumeMonitor to find such
1199 instances. Also handle the case where an external
1200 GNativeVolumeMonitor fails to initialize. Lock around the
1201 _g_get_mount_for_mount_path() function such that volume monitor
1202 implementations won't have to do locking themselves.
1204 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1206 * gdesktopappinfo.c:
1212 * gvolume.h: Documentation updates
1214 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1217 * gfile.h: Doc updates
1219 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1222 * gdesktopappinfo.c: Use hash table iterators.
1224 2007-12-14 Alexander Larsson <alexl@redhat.com>
1227 * gfileattribute.[ch]:
1228 * gfileattribute-priv.h:
1229 Move GFileAttributeValue to a private header, as
1233 Make set_attribute take a type + a pointer instead
1234 of a GFileAttributeValue.
1237 Fix up for above changes.
1238 Add g_file_info_get_attribute_data to get
1239 all info in one call, g_file_info_get_attribute_status
1240 to get the status and g_file_info_get_attribute_as_string.
1244 * glocalfileinfo.[ch]:
1248 Make _guess_type static.
1250 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1253 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1254 made mkenums and friends use temporary files to avoid leaving
1255 empty generated files on failure (#503470).
1257 2007-12-14 Alexander Larsson <alexl@redhat.com>
1259 * gmountoperation.h:
1262 2007-12-14 Alexander Larsson <alexl@redhat.com>
1266 * gfileattribute.[ch]:
1269 * glocalfileoutputstream.c:
1270 * gmountoperation.[ch]:
1271 * goutputstream.[ch]:
1272 Clean up all flags enums to not have _FLAGS in them
1273 Make the names of some of the enums better.
1278 2007-12-14 Michael Natterer <mitch@imendio.com>
1280 * gio.symbols: fix g_io_scheduler symbol names.
1282 2007-12-14 Alexander Larsson <alexl@redhat.com>
1288 * gbufferedinputstream.h:
1289 * gbufferedoutputstream.h:
1292 * gdatainputstream.h:
1293 * gdataoutputstream.h:
1294 * gdesktopappinfo.h:
1295 * gdirectorymonitor.h:
1299 * gfileenumerator.h:
1302 * gfileinputstream.h:
1304 * gfilenamecompleter.h:
1305 * gfileoutputstream.h:
1306 * gfilterinputstream.h:
1307 * gfilteroutputstream.h:
1315 * gmemoryinputstream.h:
1316 * gmemoryoutputstream.h:
1318 * gmountoperation.h:
1321 * gsimpleasyncresult.h:
1323 * gunixinputstream.h:
1325 * gunixoutputstream.h:
1329 * inotify/Makefile.am:
1330 Only allow including <gio/gio.h> from apps
1332 2007-12-14 Alexander Larsson <alexl@redhat.com>
1334 * gioscheduler.[ch]:
1335 * gsimpleasyncresult.c:
1336 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1337 Split out the send_to_mainloop call into two versions instead
1338 of having the block argument.
1340 2007-12-13 Alexander Larsson <alexl@redhat.com>
1342 * gcancellable.[ch]:
1344 * gbufferedinputstream.c:
1345 * gfileenumerator.c:
1346 * gfileinputstream.c:
1347 * gfileoutputstream.c:
1351 g_push/pop_current_cancellable ->
1352 g_cancellable_push/pop_current
1354 2007-12-13 Alexander Larsson <alexl@redhat.com>
1358 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1360 2007-12-13 Alexander Larsson <alexl@redhat.com>
1362 * gmountoperation.h:
1363 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1365 2007-12-12 Alexander Larsson <alexl@redhat.com>
1368 Fix race condition when freeing proxy in
1369 g_io_job_send_to_mainloop().
1371 2007-12-12 Alexander Larsson <alexl@redhat.com>
1377 Make attribute namespace separator "::" instead of ":".
1378 Use - instead of _ as separator in attribute names.
1380 2007-12-12 Alexander Larsson <alexl@redhat.com>
1382 * gbufferedinputstream.h:
1383 * gbufferedoutputstream.h:
1384 * gdatainputstream.h:
1385 * gdataoutputstream.h:
1386 * gdirectorymonitor.h:
1387 * gfileenumerator.h:
1388 * gfileinputstream.h:
1390 * gfileoutputstream.h:
1391 * gfilterinputstream.h:
1392 * gfilteroutputstream.h:
1394 * glocalfileinputstream.h:
1395 * glocalfileoutputstream.h:
1396 * gmemoryinputstream.h:
1397 * gmemoryoutputstream.h:
1398 * gnativevolumemonitor.h:
1400 * gunixinputstream.h:
1401 * gunixoutputstream.h:
1404 s/parent/parent_instance/ in GObjects
1406 2007-12-12 Alexander Larsson <alexl@redhat.com>
1411 No need for padding for interfaces
1413 2007-12-12 Alexander Larsson <alexl@redhat.com>
1417 * gbufferedinputstream.c:
1418 * gbufferedoutputstream.c:
1421 * gdatainputstream.[ch]:
1422 * gdesktopappinfo.c:
1423 * gdirectorymonitor.c:
1425 * gfileattribute.[ch]:
1428 * gfileinputstream.h:
1429 * gfilemonitor.[ch]:
1430 * gfileoutputstream.[ch]:
1431 * gfilterinputstream.h:
1432 * gfilteroutputstream.h:
1435 * gloadableicon.[ch]:
1436 * gmemoryinputstream.c:
1437 * gmountoperation.c:
1439 Fix up a bunch of details in the docs.
1444 2007-12-11 David Zeuthen <davidz@redhat.com>
1446 Rework how volumes, drives and volume monitoring is
1447 done. Previosly the model was
1449 GDrive <1-1> GVolume
1451 where a GDrive instance represented a mount point and a GVolume
1452 instance represented a mounted file system. This patch changes it
1455 GDrive <1-N> GVolume <1-1> GMount
1457 where GMount now serves the purpose of the old GVolume and the new
1458 GVolume serves the purpose of the old GDrive. In addition the new
1459 GDrive interface is used to represent a collection of GVolume
1460 instances (typically partitions) and also contains utility to query
1461 the state of the physical drive the GDrive object represents (such
1462 as checking for media, polling the drive, ejecting the media etc.).
1464 Also implement mounting and unmounting in the Unix volume monitor
1465 backend. A subquent patch will introduce GDrive support for ejection
1469 * gdrive.c: (g_drive_is_media_check_automatic),
1470 (g_drive_is_media_removable), (g_drive_has_media),
1471 (g_drive_can_poll_for_media), (g_drive_eject),
1472 (g_drive_eject_finish), (g_drive_poll_for_media),
1473 (g_drive_poll_for_media_finish):
1475 * gfile.c: (g_file_find_enclosing_mount):
1478 * glocaldirectorymonitor.c:
1479 (g_local_directory_monitor_constructor), (mounts_changed):
1480 * glocalfile.c: (get_mount_info),
1481 (g_local_file_find_enclosing_mount),
1482 (g_local_file_file_iface_init):
1483 * gnativevolumemonitor.h:
1484 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1485 (get_connected_drives), (g_union_volume_monitor_class_init),
1486 (child_volume_added), (child_volume_removed),
1487 (child_volume_changed), (child_mount_added), (child_mount_removed),
1488 (child_mount_pre_unmount), (child_mount_changed),
1489 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1490 (g_union_volume_monitor_remove_monitor),
1491 (_g_mount_get_for_mount_path):
1492 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1493 (guess_system_internal), (_g_get_unix_mounts),
1494 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1495 (g_unix_mount_free), (g_unix_mount_compare),
1496 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1497 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1498 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1499 (type_to_icon), (g_unix_mount_guess_name),
1500 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1501 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1502 (_resolve_symlink), (_resolve_dev_root):
1504 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1505 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1506 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1507 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1508 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1509 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1510 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1511 (g_unix_volume_volume_iface_init):
1513 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1514 (get_mounts), (get_volumes), (get_connected_drives),
1515 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1516 (mountpoints_changed), (mounts_changed),
1517 (g_unix_volume_monitor_init),
1518 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1519 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1520 * gunixvolumemonitor.h:
1521 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1522 (g_volume_mount), (g_volume_mount_finish):
1524 * gvolumemonitor.c: (g_volume_monitor_class_init),
1525 (g_volume_monitor_get_connected_drives),
1526 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1529 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1531 * gmountoperation.h (GPasswordFlags): Close the gap
1533 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1535 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1537 * gdesktopappinfo.[hc]: Remove _-prefixes
1539 2007-12-10 Tor Lillqvist <tml@novell.com>
1541 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1544 2007-12-10 Alexander Larsson <alexl@redhat.com>
1546 * gfile.c (g_file_set_display_name):
1547 Don't hardcode '/' (#502727)
1549 2007-12-09 Hans Breuer <hans@breuer.org>
1551 * makefile.msc : follow lib naming convention
1552 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1553 for user and group name, tested with ../tests/gio-ls
1555 2007-12-09 A. Walton <awalton@svn.gnome.org>
1557 * gdesktopappinfo.c:
1563 * gfileenumerator.c:
1568 * gmemoryinputstream.c:
1569 * gmemoryoutputstream.c:
1571 * gsimpleasyncresult.c:
1572 More documentation cleanup and filling in missing information, bringing
1573 GIO to 99% symbol coverage.
1575 2007-12-08 Hans Breuer <hans@breuer.org>
1577 [gio compiles and links on win32, not sure how much already works]
1578 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1579 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1580 base on win32 API; prefer g_lstat() over lstat(); instead of
1581 localtime_r() use an all GLib implementation on win32;
1582 get_mount_info() still needs a win32 specifc implementation
1583 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1584 win32_get_file_user_info to get owner/group info without uid/gid
1585 * glocalfileinputstream.c : include <io.h> on win32
1586 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1587 definition, use g_win32_ftruncate() for G_OS_WIN32
1588 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1589 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1590 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1591 * makefile.msc : updated
1593 2007-12-07 Alexander Larsson <alexl@redhat.com>
1595 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1596 Avoid warning spew if error == NULL
1598 2007-12-07 Alexander Larsson <alexl@redhat.com>
1601 Update docs wrt etags
1603 2007-12-06 Alexander Larsson <alexl@redhat.com>
1606 Include sys/types.h for dev_t (#501919)
1608 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1612 Make abicheck and pltcheck pass.
1614 2007-12-05 Alexander Larsson <alexl@redhat.com>
1617 * giomodule-priv.h: Added.
1618 * glocaldirectorymonitor.c:
1619 * glocalfilemonitor.c:
1620 * gunionvolumemonitor.c:
1622 Actually add the declaration of _g_io_modules_ensure_loaded
1624 2007-12-05 Alexander Larsson <alexl@redhat.com>
1626 * gdatainputstream.c:
1631 * glocaldirectorymonitor.c:
1632 * glocalfilemonitor.c:
1633 * gunionvolumemonitor.c:
1635 Make g_io_modules_ensure_loaded a private function and
1636 don't pass in the dirname. This means we can do magic
1637 directory finding in the win32 version.
1638 Export the actual load-modules-in-directory code so that
1639 gvfs can reuse that.
1641 2007-12-05 Alexander Larsson <alexl@redhat.com>
1643 * gbufferedinputstream.c:
1644 * gbufferedoutputstream.c:
1647 * gfileenumerator.[ch]:
1648 * gfileinputstream.c:
1649 * gfileoutputstream.[ch]:
1650 * gfilterinputstream.c:
1651 * gfilteroutputstream.c:
1652 * ginputstream.[ch]:
1654 * glocalfileenumerator.c:
1655 * glocalfileinputstream.c:
1656 * glocalfileoutputstream.c:
1657 * gmemoryinputstream.c:
1658 * gmemoryoutputstream.c:
1659 * goutputstream.[ch]:
1662 * gunixinputstream.c:
1663 * gunixoutputstream.c:
1664 Rename all struct members named:
1665 read, write, close, truncate, or mount
1666 to foo_fn, as these are reserved names
1667 and could be defined as macros in libc.
1670 2007-12-04 Alexander Larsson <alexl@redhat.com>
1673 (g_output_stream_close):
1674 Only call flush if non-null.
1676 2007-11-30 Dan Winship <danw@gnome.org>
1678 * ginputstream.c (g_input_stream_set_pending): Make this take a
1679 GError and return a gboolean, and do the "outstanding operation"
1680 check (and the "stream is already closed" check) itself.
1681 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1683 * goutputstream.c (g_output_stream_set_pending)
1684 (g_output_stream_clear_pending): Likewise
1686 * gbufferedinputstream.c:
1687 * gfileinputstream.c:
1688 * gfileoutputstream.c: Update for that
1690 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1691 Like g_simple_async_report_error_in_idle, but takes a GError
1692 rather than building one.
1694 2007-11-30 Dan Winship <danw@gnome.org>
1696 * goutputstream.c: Don't cheat and unset the "pending" flag around
1697 inner calls. Instead, call the class method directly rather than
1698 the wrapper function that checks "pending"
1700 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1702 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1704 2007-12-03 Hans Breuer <hans@breuer.org>
1706 [start of port to win32/msvc]
1707 * gcancellable.c : HAVE_UNIST_H and _pipe()
1708 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1709 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1710 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1712 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1713 * glocalvfs.c : use HAVE_PWD_H
1714 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1715 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1716 * Makefile.am : added to EXTRA_DIST
1718 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1720 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1723 2007-12-03 Alexander Larsson <alexl@redhat.com>
1726 Handle OSX style xattrs API (#500506)
1728 2007-12-03 Alexander Larsson <alexl@redhat.com>
1732 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1734 2007-12-02 A. Walton <awalton@svn.gnome.org>
1738 Documentation accuracy fixes.
1740 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1742 * gioenumtypes.c.template: Fix typo.
1744 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1746 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1748 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1750 * gdirectorymonitor.c:
1751 * gfilemonitor.c: Add properties
1753 * gbufferedoutputstream.c: Don't mark buffer-size property
1756 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1758 * gbufferedoutputstream.c: Add auto-grow property.
1760 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1762 * *.c: Unify the capitalization of section headings.
1764 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1766 * gmountoperation.c: Add properties
1768 * gdatainputstream.c: Turn byte-order and newline-type into
1771 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1773 * gioenumtypes.[hc].template: Templates for enum registration
1775 * Makefile.am: Generate gioenumtypes.[hc]
1777 * gio.h: Include gioenumtypes.h
1779 * gfile.h: Add some explicit nicks.
1781 * gio.symbols: Add new symbols
1783 * pltcheck.sh: Adjust
1785 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1787 * *.c: Explain etags and link to the explanation
1789 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1791 * *.c: Explain I/O priority.
1793 * *.c: More coding style fixes.
1795 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1797 * gasyncresult.c: Add another paragraph to the intro,
1798 adjust coding style of example.
1800 2007-11-29 A. Walton <awalton@svn.gnome.org>
1803 Fixes unknown meaning in GAppLaunchContext docs.
1805 Clarify asynchronous ops.
1807 Fix entity tag docs.
1810 Provides missing gtk-doc section, fixes API docs slighly.
1811 * gsimpleasyncresult.c:
1812 Fill in missing info in docs.
1813 * gunixinputstream.c:
1814 * gunixoutputstream.c:
1815 Be more expressive in short description.
1817 Remove gtk-doc stubs for non-public API.
1819 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1821 * *.c: Coding style fixups
1823 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1825 * inotify/inotify-helper.c: Don't export the lock from libgio.
1827 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1830 * abicheck.sh: Fix copy-and-paste leftovers
1832 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1834 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1836 2007-11-28 Alexander Larsson <alexl@redhat.com>
1840 Removed unnecessary file
1842 * gdesktopappinfo.[ch]:
1845 * glocaldirectorymonitor.[ch]:
1847 * glocalfileenumerator.[ch]:
1848 * glocalfileinputstream.[ch]:
1849 * glocalfilemonitor.[ch]:
1850 * glocalfileoutputstream.[ch]:
1852 * gnativevolumemonitor.c:
1853 * gpollfilemonitor.[ch]:
1854 * gunionvolumemonitor.[ch]:
1857 * gunixvolumemonitor.[ch]:
1860 * inotify/ginotifydirectorymonitor.[ch]:
1861 * inotify/ginotifyfilemonitor.[ch]:
1862 * inotify/inotify-helper.c:
1863 Append _ to all internal functions
1867 Export symbols needed for modules
1869 2007-11-28 Alexander Larsson <alexl@redhat.com>
1872 * abicheck.sh: Added.
1873 * makegioalias.pl: Added.
1874 * pltcheck.sh: Added.
1875 * gio.symbols: Added.
1878 Initial work on adding symbol handling.
1881 Correct ifdef guard name
1884 * inotify/Makefile.am:
1885 * xdgmime/Makefile.am:
1886 Include toplevel Makefile.decl
1888 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1890 * gcontenttype.c: Move doc comments to the unix section.
1892 * *.[hc]: More trivial doc corrections.
1894 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1896 * gpollfilemonitor.c:
1900 * gdesktopappinfo.c:
1905 * gdatainputstream.c:
1906 * gdatainputstream.h:
1907 * gdataoutputstream.c:
1908 * gdataoutputstream.h:
1909 * gfileinfo.h: Doc cleanups
1911 2007-11-28 Andre Klapper <a9016009@gmx.de>
1913 * gdesktopappinfo.c: Fix a typo.
1915 2007-11-27 Andre Klapper <a9016009@gmx.de>
1917 * glocalfileoutputstream.c: Fix a typo.
1919 2007-11-27 Alexander Larsson <alexl@redhat.com>
1922 Don't include removed headers
1924 2007-11-27 Alexander Larsson <alexl@redhat.com>
1927 * gsocketinputstream.[ch]: Removed.
1928 * gsocketoutputstream.[ch]: Removed.
1929 * gunixinputstream.[ch]: Added.
1930 * gunixoutputstream.[ch]: Added.
1931 Renamed GSocket*Stream to GUnix*Stream and made
1932 it unix-only, since its not really only for sockets
1933 and it only works on unix (but is highly useful there).
1935 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1941 * gbufferedinputstream.c:
1942 * gbufferedinputstream.h:
1943 * gbufferedoutputstream.c:
1944 * gbufferedoutputstream.h:
1948 * gdatainputstream.c:
1949 * gdatainputstream.h:
1950 * gdataoutputstream.c:
1951 * gdataoutputstream.h:
1952 * gdirectorymonitor.c:
1953 * gdirectorymonitor.h:
1960 * gfileenumerator.c:
1961 * gfileenumerator.h:
1966 * gfileinputstream.c:
1967 * gfileinputstream.h:
1970 * gfilenamecompleter.c:
1971 * gfilenamecompleter.h:
1972 * gfileoutputstream.c:
1973 * gfileoutputstream.h:
1974 * gfilterinputstream.c:
1975 * gfilterinputstream.h:
1976 * gfilteroutputstream.c:
1977 * gfilteroutputstream.h:
1990 * glocalfileoutputstream.c:
1991 * gmemoryinputstream.c:
1992 * gmemoryinputstream.h:
1993 * gmemoryoutputstream.c:
1994 * gmemoryoutputstream.h:
1995 * gmountoperation.c:
1996 * gmountoperation.h:
1999 * gpollfilemonitor.c:
2002 * gsimpleasyncresult.c:
2003 * gsimpleasyncresult.h:
2004 * gsocketinputstream.c:
2005 * gsocketinputstream.h:
2006 * gsocketoutputstream.c:
2007 * gsocketoutputstream.h:
2014 * gunixvolumemonitor.c:
2023 Bumps documentation to 93% symbol coverage, touching most
2024 of the public files. Fixes broken function documentation prototypes.
2025 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2026 gtk-doc headers in private files.
2028 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2030 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2031 (g_buffered_input_stream_read_byte):
2032 * gbufferedinputstream.h:
2033 New functions for efficient access to buffer and simple single byte
2036 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2037 (g_data_input_stream_read_until):
2038 * gdatainputstream.h:
2039 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2040 read_until with multiple stop chars.
2042 2007-11-27 Alexander Larsson <alexl@redhat.com>
2046 * inotify/Makefile.am:
2047 Use the user-specified giomoduledir
2049 2007-11-27 Alexander Larsson <alexl@redhat.com>
2053 Add catch-all gio.h header
2054 Don't install gdummyfile.h
2056 2007-11-26 Alexander Larsson <alexl@redhat.com>
2058 * Makefile.am (gioinclude_HEADERS):
2059 Remove trailing whitespace
2061 2007-11-26 Alexander Larsson <alexl@redhat.com>
2063 Merge gio-standalone into glib
2065 2007-11-25 Christian Kellner <gicmo@gnome.org>
2067 * gio/goutputstream.c:
2068 Fix small mistake in the docs.
2070 2007-11-21 Christian Persch <chpe@gnome.org>
2072 * gio/glocalfile.c: (g_local_file_trash):
2073 Convert filenames to UTF-8 for GError.
2074 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2075 as per xdg base dir spec.
2077 2007-11-21 Christian Persch <chpe@gnome.org>
2079 * gio/gdesktopappinfo.c:
2080 Use that g_key_file_to_data cannot fail.
2082 Use stock defines for the key file group and key names.
2085 2007-11-21 Alexander Larsson <alexl@redhat.com>
2088 (copy_stream_with_progress):
2089 Make sure we do a final progress callback with
2090 the full total size.
2092 2007-11-21 Alexander Larsson <alexl@redhat.com>
2095 Export g_file_copy_attributes
2096 Remove padding as its not needed for interfaces
2098 2007-11-20 Alexander Larsson <alexl@redhat.com>
2103 Add G_IO_ERROR_WOULD_MERGE for
2104 copy/move dir on dir with overwrite.
2106 2007-11-20 Alexander Larsson <alexl@redhat.com>
2109 * gio/glocalfileinfo.c:
2110 Add COPY_NAME (this is an optional
2111 non-modified utf8 version of the name) that
2114 2007-11-20 Alexander Larsson <alexl@redhat.com>
2116 * gio/glocalfileenumerator.c:
2117 Report errors as GIOError, not GFileError
2119 2007-11-16 Alexander Larsson <alexl@redhat.com>
2121 * gio/glocalfileoutputstream.c:
2122 * gio/gwin32appinfo.c:
2123 Fix typos in strings.
2124 Patch from Luca Ferretti <elle.uca@libero.it>
2126 2007-11-15 Alexander Larsson <alexl@redhat.com>
2129 Post release version bump
2131 === gio-standalone 0.1.2 ===
2133 2007-11-15 Alexander Larsson <alexl@redhat.com>
2135 * docs/reference/gio/Makefile.am:
2136 Fix up distcheck by removing weird
2142 2007-11-14 Alexander Larsson <alexl@redhat.com>
2144 * gio/gdesktopappinfo.c:
2145 * gio/glocaldirectorymonitor.c:
2147 * gio/glocalfileinfo.c:
2148 * gio/inotify/inotify-sub.c:
2149 * programs/gio-cat.c:
2150 * programs/gio-copy.c:
2151 * programs/gio-info.c:
2152 * programs/gio-ls.c:
2153 * programs/gio-monitor-dir.c:
2154 * programs/gio-monitor-file.c:
2155 * programs/gio-mount.c:
2156 * programs/gio-move.c:
2157 * programs/gio-rm.c:
2158 * programs/gio-save.c:
2159 * programs/gio-trash.c:
2160 Leak fixes from Kjartan Maraas
2162 2007-11-14 Alexander Larsson <alexl@redhat.com>
2164 * gio/fam/fam-helper.c:
2166 * gio/glocalfileinfo.c:
2170 * gio/inotify/inotify-diag.c:
2171 * gio/inotify/inotify-kernel.c:
2172 Various code cleanups from Kjartan Maraas
2174 2007-11-14 Alexander Larsson <alexl@redhat.com>
2176 * gio/gioscheduler.c:
2178 Set up threadpool so that we cache 2 unused
2179 idle threads for at 15 secs. This means we
2180 will reuse thread-local data (like dbus connections)
2183 2007-11-14 Alexander Larsson <alexl@redhat.com>
2185 * gio/fam/fam-helper.c:
2186 * gio/fam/gfamdirectorymonitor.c:
2187 * gio/fam/gfamfilemonitor.c:
2189 * gio/gcontenttype.c:
2190 * gio/gdatainputstream.c:
2191 * gio/gdataoutputstream.c:
2195 * gio/gfileattribute.h:
2196 * gio/gfileenumerator.c:
2198 * gio/ginputstream.c:
2201 * gio/glocalfileinfo.c:
2202 * gio/goutputstream.c:
2203 * gio/gpollfilemonitor.c:
2204 * gio/gsimpleasyncresult.c:
2205 * gio/gunixmounts.c:
2206 * gio/gunixmounts.h:
2207 * gio/inotify/ginotifydirectorymonitor.c:
2208 * gio/inotify/ginotifyfilemonitor.c:
2209 * gio/inotify/inotify-diag.c:
2210 * gio/inotify/inotify-kernel.c:
2211 * gio/inotify/inotify-path.c:
2213 * gio/test-streams.c:
2214 * programs/gio-info.c:
2215 * programs/gio-monitor-dir.c:
2216 * programs/gio-monitor-file.c:
2217 Various code cleanups from Kjartan Maraas
2219 2007-11-13 Alexander Larsson <alexl@redhat.com>
2222 Handle the uri-scheme calls for dummy files
2224 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2226 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2227 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2228 to avoid clash with the C++ keyword.
2230 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2232 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2233 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2235 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2237 * gio/glocaldirectorymonitor.c:
2238 * gio/glocalfilemonitor.c:
2239 * gio/gunionvolumemonitor.c:
2240 Don't use g_once_init_*() for initializations that could fail and
2241 could leave the initialization variable set to 0 but use GOnce.
2242 This prevents a deadlock on the second call when trying to create
2243 a monitor and no monitor type is available. Thanks to Sven Herzberg
2246 2007-11-11 Sven Herzberg <sven@imendio.com>
2248 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2249 #ifdef (make it work on MacOS X again)
2251 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2253 Fixes Changelog for last two commits (sorry guys).
2255 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2257 * gio/gbufferedinputstream.c:
2258 * gio/gdatainputstream.c:
2260 * gio/gfileoutputstream.c:
2261 * gio/gfilterinputstream.c:
2262 * gio/glocalfileinputstream.c:
2265 More consistency fixes in g*stream.c files.
2266 Significant clean of gfile's documentation, filling in of
2267 asynchronous operations documentation.
2269 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2271 * gio/gasyncresult.c:
2272 * gio/gbufferedinputstream.c:
2273 * gio/gbufferedoutputstream.c:
2274 * gio/gcancellable.c:
2275 * gio/gcontenttype.c:
2276 * gio/gdatainputstream.c:
2277 * gio/gdataoutputstream.c:
2278 * gio/gdesktopappinfo.c:
2281 * gio/gfileattribute.c:
2282 * gio/gio/gfileenumerator.c:
2284 * gio/gfileinputstream.c:
2285 * gio/gfilemonitor.c:
2286 * gio/gfileoutputstream.c:
2287 * gio/ginputstream.c:
2289 * gio/gioscheduler.c:
2290 * gio/gloadableicon.c:
2291 * gio/glocalfileoutputstream.c:
2292 * gio/gmemoryoutputstream.c:
2293 * gio/gmountoperation.c:
2294 * gio/goutputstream.c:
2296 * gio/gsimpleasyncresult.c:
2297 * gio/gunionvolumemonitor.c:
2298 * gio/gunixmounts.c:
2299 * gio/gunixvolume.c:
2303 * gio/gvolumemonitor.c:
2304 Updated documentation stubs, working towards consistency and
2307 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2309 * gio/gmemoryoutputstream.c:
2310 * gio/gmemoryoutputstream.h:
2311 Change g_memory_output_stream_set_free_on_close() to
2312 g_memory_output_stream_set_free_data() as this makes more sense and
2313 is more consistent with GMemoryInputStream.
2315 2007-11-07 Alexander Larsson <alexl@redhat.com>
2322 Change how we find the default vfs so that
2323 we can handle a gvfs failing to init
2325 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2327 * gio/gbufferedoutputstream.c:
2328 * gio/gdatainputstream.c:
2329 * gio/gdataoutputstream.c:
2330 * gio/gfileinputstream.c:
2331 * gio/gfileoutputstream.c:
2332 * gio/gfilterinputstream.c:
2333 * gio/gfilteroutputstream.c:
2334 * gio/ginputstream.c:
2335 * gio/gmemoryinputstream.c:
2336 * gio/gmemoryoutputstream.c:
2337 * gio/goutputstream.c:
2338 * gio/gsimpleasyncresult.c:
2339 * gio/gsocketinputstream.c:
2340 * gio/gsocketoutputstream.c:
2341 Add guards to the remaining public functions, add a TODO for
2342 an unimplemented function and remove some useless guards.
2344 2007-11-07 Alexander Larsson <alexl@redhat.com>
2347 Autoconf checks for the various types of
2348 getpwuid_r and getgrgid_r
2350 * gio/glocalfileinfo.c:
2351 Use the autoconf checks from above
2353 2007-11-07 Alexander Larsson <alexl@redhat.com>
2356 (g_local_file_query_filesystem_info):
2357 Some fixes for the statvfs case
2359 2007-11-07 Alexander Larsson <alexl@redhat.com>
2362 (g_local_file_query_filesystem_info):
2363 Pick the "best" of statfs / statvfs for the system
2364 if both are availible.
2366 2007-11-07 Alexander Larsson <alexl@redhat.com>
2368 Solaris fixes from Halton.Huo@Sun.COM:
2375 * gio/glocalfileinfo.c:
2376 Fix for solaris definition of getpwuid_r
2378 * gio/test-streams.c:
2379 Use G_GNUC_PRETTY_FUNCTION
2381 2007-11-07 Alexander Larsson <alexl@redhat.com>
2383 * gio/gdesktopappinfo.c:
2384 (update_default_list):
2385 Remove double semicolon.
2386 Patch from Jens Granseuer
2388 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2390 * docs/reference/gio/gio-sections.txt:
2391 * gio/gbufferedinputstream.c:
2392 * gio/gbufferedinputstream.h:
2393 * gio/gdatainputstream.c:
2394 * gio/gfileenumerator.c:
2395 * gio/gioscheduler.c:
2396 * gio/gunionvolumemonitor.c:
2398 * programs/gio-save.c:
2399 Fix typo: availible -> available. Unfortuntely this breaks API
2400 and ABI as g_buffered_input_stream_get_available() was renamed.
2402 * gio/gunixmounts.c:
2403 * gio/gbufferedinputstream.c:
2404 Add guards for public functions.
2406 2007-11-06 Ross Burton <ross@openedhand.com>
2408 * docs/reference/gio/Makefile.am:
2409 Fix invalid += usage which automake 1.10 doesn't like.
2411 2007-11-06 Alexander Larsson <alexl@redhat.com>
2414 (g_app_launch_context_class_init):
2417 Patch from Ross Burton
2419 2007-11-06 Alexander Larsson <alexl@redhat.com>
2422 Post release version bump
2424 === gio-standalone 0.1.1 ===
2426 2007-11-06 Alexander Larsson <alexl@redhat.com>
2429 Bump version to 0.1.1
2431 * gio/gsimpleasyncresult.c:
2432 (g_simple_async_result_set_from_error):
2433 Remove bogus g_return_if_fail
2435 2007-11-06 Alexander Larsson <alexl@redhat.com>
2438 The name is gio-standalone
2441 Add top src/builddir to includedir
2443 2007-11-06 Alexander Larsson <alexl@redhat.com>
2445 * docs/reference/gio/gio-sections.txt:
2447 * gio/gbufferedinputstream.c:
2448 * gio/gbufferedoutputstream.c:
2449 * gio/gcancellable.c:
2450 * gio/gdatainputstream.h:
2451 * gio/gdataoutputstream.c:
2452 * gio/gdataoutputstream.h:
2453 * gio/gdirectorymonitor.c:
2455 * gio/gfileattribute.c:
2456 * gio/gfileattribute.h:
2457 * gio/gfileenumerator.c:
2458 * gio/gfileenumerator.h:
2461 * gio/gfileinputstream.h:
2462 * gio/gfilemonitor.c:
2463 * gio/gfileoutputstream.h:
2464 * gio/glocalfilemonitor.h:
2465 * gio/glocalfileoutputstream.h:
2466 * gio/gmemoryinputstream.c:
2467 * gio/gmemoryoutputstream.c:
2468 * gio/gmountoperation.c:
2469 * gio/goutputstream.c:
2470 * gio/goutputstream.h:
2472 * gio/gsimpleasyncresult.c:
2473 * gio/gunixmounts.c:
2474 * gio/gunixmounts.h:
2476 * gio/inotify/inotify-helper.c:
2477 Fix gtk-doc warnings
2479 Patch from Ross Burton
2481 2007-11-06 Alexander Larsson <alexl@redhat.com>
2483 * gio/gfilenamecompleter.c:
2484 (g_filename_completer_get_completions):
2487 * gio/gunixvolume.c:
2488 Remove unused function
2490 Patches from Ross Burton
2492 2007-11-06 Alexander Larsson <alexl@redhat.com>
2497 Padding not needed for interfaces
2499 2007-11-06 Alexander Larsson <alexl@redhat.com>
2501 * gio/gfilemonitor.c:
2505 Make giotypes.h an internal file
2508 * gio/gbufferedinputstream.h:
2509 * gio/gbufferedoutputstream.h:
2510 * gio/gcancellable.h:
2511 * gio/gdatainputstream.h:
2512 * gio/gdataoutputstream.h:
2513 * gio/gdirectorymonitor.c:
2514 * gio/gdirectorymonitor.h:
2519 * gio/gfileattribute.h:
2520 * gio/gfileenumerator.h:
2525 * gio/gfilemonitor.c:
2526 * gio/gfilemonitor.h:
2527 * gio/gfilenamecompleter.c:
2528 * gio/gfilenamecompleter.h:
2529 * gio/gfilterinputstream.h:
2530 * gio/gfilteroutputstream.h:
2531 * gio/ginputstream.h:
2532 * gio/gmemoryinputstream.h:
2533 * gio/gmemoryoutputstream.h:
2534 * gio/gmountoperation.c:
2535 * gio/gmountoperation.h:
2536 * gio/gnativevolumemonitor.c:
2537 * gio/goutputstream.h:
2540 * gio/gsimpleasyncresult.c:
2541 * gio/gsimpleasyncresult.h:
2542 * gio/gsocketinputstream.h:
2543 * gio/gsocketoutputstream.h:
2544 * gio/gthemedicon.c:
2545 * gio/gthemedicon.h:
2549 * gio/gvolumemonitor.c:
2550 * gio/gvolumemonitor.h:
2551 Add padding in classes where it seems useful
2552 Don't include giotypes.h from public headers
2553 Move in Class definitions into c file where possible
2558 2007-11-06 Alexander Larsson <alexl@redhat.com>
2560 * docs/reference/gio/gio-docs.xml:
2561 Better structure for API docs
2563 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2566 * gio/gloadableicon.c:
2567 * gio/gsimpleasyncresult.c:
2568 * gio/gthemedicon.c:
2569 Add some more guards to public functions. Only files missing are now
2572 2007-11-06 Alexander Larsson <alexl@redhat.com>
2574 * docs/reference/gio/gio-docs.xml:
2575 Remove old files, add missing ones
2577 2007-11-06 Alexander Larsson <alexl@redhat.com>
2579 * docs/reference/gio/gio-sections.txt:
2582 Hide implementation classes
2584 * gio/gdriveprivate.h:
2585 * gio/gvolumeprivate.h:
2586 Remove non-existing function declarations
2588 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2591 Fix compilation warnings and add guards to the new functions.
2593 * gio/gasyncresult.c:
2595 Add guards to the public functions.
2598 Implement get_path().
2600 2007-11-06 Alexander Larsson <alexl@redhat.com>
2602 * gio/gfilenamecompleter.c:
2603 Make g_filename_completer_get_completions
2604 return char ** instead of GList for
2607 * docs/reference/gio/gio-docs.xml:
2608 * docs/reference/gio/gio-sections.txt:
2610 * gio/gasyncresult.c:
2611 * gio/gbufferedinputstream.c:
2612 * gio/gbufferedoutputstream.c:
2613 * gio/gcancellable.c:
2614 * gio/gcontenttype.c:
2615 * gio/gdatainputstream.c:
2616 * gio/gdataoutputstream.c:
2617 * gio/gdesktopappinfo.c:
2618 * gio/gdirectorymonitor.c:
2622 * gio/gfileattribute.c:
2623 * gio/gfileenumerator.c:
2626 * gio/gfileinputstream.c:
2627 * gio/gfilemonitor.c:
2628 * gio/gfilenamecompleter.c:
2629 * gio/gfilenamecompleter.h:
2630 * gio/gfileoutputstream.c:
2631 * gio/gfilterinputstream.c:
2633 * gio/ginputstream.c:
2635 * gio/gioscheduler.c:
2636 * gio/gloadableicon.c:
2637 * gio/glocaldirectorymonitor.c:
2639 * gio/glocalfileinputstream.c:
2640 * gio/glocalfilemonitor.c:
2641 * gio/glocalfileoutputstream.c:
2643 * gio/gmemoryinputstream.c:
2644 * gio/gmemoryoutputstream.c:
2645 * gio/gmountoperation.c:
2646 * gio/goutputstream.c:
2647 * gio/gpollfilemonitor.c:
2649 * gio/gsimpleasyncresult.c:
2650 * gio/gsocketinputstream.c:
2651 * gio/gsocketoutputstream.c:
2652 * gio/gthemedicon.c:
2653 * gio/gunionvolumemonitor.c:
2655 * gio/gunixmounts.c:
2656 * gio/gunixvolume.c:
2657 * gio/gunixvolumemonitor.c:
2661 * gio/gvolumemonitor.c:
2662 * gio/gwin32appinfo.c:
2663 Add (mostly stub) doc strings to public functions.
2664 Patch from Andrew Walton (awalton@gmail.com)
2666 2007-11-06 Alexander Larsson <alexl@redhat.com>
2668 * gio/gappinfo.[ch]:
2669 Added GAppLaunchContext object and pass that to launch.
2670 This allows simple implementation of both
2671 launch-on-screen and startup notification via a gtk+
2672 subclass of GAppLaunchContext
2674 * gio/gdesktopappinfo.c:
2675 Implement GAppLaunchContext API
2677 * gio/gwin32appinfo.c:
2680 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2682 * gio/gmountoperation.c:
2683 Add some guards to GMountOperation's public functions.
2685 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2689 * gio/gcancellable.c:
2690 * gio/gdirectorymonitor.c:
2692 * gio/gfileenumerator.c:
2693 * gio/gfilemonitor.c:,
2694 * gio/gfilenamecompleter.c:
2697 * gio/gioscheduler.c:
2701 * gio/gvolumemonitor.c:
2702 Add even more guards to various public functions.
2704 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2707 Add guards to the public functions of GAppInfo.
2709 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2711 * gio/gcontenttype.c:
2712 Add some more guards for public functions.
2714 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2716 * gio/fam/fam-module.c:
2717 * gio/fam/gfamdirectorymonitor.c:
2718 * gio/fam/gfamdirectorymonitor.h:
2719 * gio/fam/gfamfilemonitor.c:
2720 * gio/fam/gfamfilemonitor.h:
2721 * gio/inotify/ginotifydirectorymonitor.c:
2722 * gio/inotify/ginotifydirectorymonitor.h:
2723 * gio/inotify/ginotifyfilemonitor.c:
2724 * gio/inotify/ginotifyfilemonitor.h:
2725 Add proper copyright information and remove an unused variable
2726 in the GInotifyFileMonitor constructor.
2728 * gio/gcancellable.c:
2729 Add a guard for a public function and an assertion to prevent
2730 an undefined program state.
2732 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2734 * gio/gfileattribute.c:
2735 Don't run into an assertion if the given attribute value is NULL
2736 in g_file_attribute_value_get_*() but instead return a fallback
2737 value that makes sense in most situations. Passing them a attribute
2738 value with the wrong type will still run into an assertion.
2740 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2742 * gio/gfileattribute.c:
2744 Add even more guards to the public functions. Also fix the refcounting
2745 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2746 let g_file_info_list_attributes() filter the attributes by namespace
2747 instead of simply ignoring the namespace parameter.
2749 2007-11-03 Sven Herzberg <sven@imendio.com>
2751 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2752 (This makes gio work on MacOS X again)
2754 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2757 Build the gio subdirectory before the docs. Otherwise the build will
2760 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2761 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2762 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2763 Add guards to the public functions.
2765 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2767 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2768 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2769 to prevent a compiler warning.
2771 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2772 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2773 return something in the non-void function find_topdir_for().
2775 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2782 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2784 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2785 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2786 * gwin32appinfo.c (g_win32_app_info_launch):
2787 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2788 envp_for_startup_id, g_desktop_app_info_launch,
2789 g_desktop_app_info_launch_uris):
2791 Give an opaque 'startup_id' string instead of 'envp'.
2792 Support empty file lists for launching new windows.
2793 Fix infinite recursion bug when launching URIs.
2795 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2798 Add guard to the new g_file_get_uri_scheme() function.
2800 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2803 Convert a g_return_val_if_fail() to setting the GError instead as
2804 otherwise applications have to verify the parameter before otherwise
2805 and the parameter might come directly from the user.
2807 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2809 * gio/inotify/ginotify*.[ch]:
2810 Add missing copyright information.
2812 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2815 Add guards in the beginning of public functions to check for valid
2816 parameters and fix a bug in copy_stream_with_progress() that could've
2817 caused writing less bytes than reading.
2818 * gio/glocalfileinfo.c:
2819 Check for a NULL parameter and set the GError accordingly then.
2820 * gio/goutputstream.c:
2821 Fix the same bug as in gfile.c that could've caused writing less bytes
2822 than reading in g_output_stream_real_splice().
2824 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2827 Use the correct gvolumeprivate.h naming
2829 2007-11-01 Christian Kellner <gicmo@gnome.org>
2832 Remove leftover "$(daemon_sources)" entry.
2834 2007-11-01 Christian Kellner <gicmo@gnome.org>
2839 Add copyright information to source files.
2841 2007-11-01 Alexander Larsson <alexl@redhat.com>
2845 Add g_file_get_uri_scheme
2847 2007-11-01 Alexander Larsson <alexl@redhat.com>
2850 * gio/gdesktopappinfo.c:
2851 * gio/gwin32appinfo.c:
2852 Add g_app_info_get_default_for_uri_scheme.
2854 2007-11-01 Alexander Larsson <alexl@redhat.com>
2857 Correct filename for gdriveprivate.h
2859 2007-10-31 Alexander Larsson <alexl@redhat.com>
2862 Rename id:value to id:file
2865 * gio/glocalfileinfo.c:
2868 2007-10-31 Alexander Larsson <alexl@redhat.com>
2870 * gio/gunixvolume.c:
2872 Remove g_volume_get_platform_id, as thats not
2873 needed with the simpler union volume monitor
2875 2007-10-31 Alexander Larsson <alexl@redhat.com>
2878 * gio/guniondrive.[ch]: Removed.
2879 * gio/gunionvolume.[ch]: Removed.
2880 Remove GUnionDrive/Volume
2882 * gio/gunionvolumemonitor.c:
2883 Simplify union volume monitor, now we
2884 only have one native volume monitor and
2885 we use the actual volumes/drives from the
2886 child monitors instead of wrapping them
2888 * gio/gnativevolumemonitor.[ch]:
2889 Base class for native volume monitors.
2890 Includes priority and get_volume_for_mountpoint
2893 Add g_file_find_enclosing_volume
2896 Remove volume name fs attribute
2897 Add readonly fs attribute
2900 Implement readonly attribute
2901 remove volume name attribute
2902 Implement find_enclosing volume
2904 * gio/gunixmounts.c:
2905 Add a volume for "/".
2907 * gio/gunixvolume.[ch]:
2908 Set better name for /
2910 * gio/gunixvolumemonitor.[ch]:
2911 Derive from GNativeVolumeMonitor
2912 Implement get_volume_for_mountpoint
2915 GVolume typedef moved to gfile.h
2917 * gio/gvolumeprivate.h:
2918 Add g_volume_get_for_mount_path
2920 2007-10-31 Alexander Larsson <alexl@redhat.com>
2922 * gio/gunixmounts.[ch]:
2923 Add cache info to unix mount listers
2924 Make getmntent use threadsafe
2925 Add is_system_internal attribute for GUnixMount
2927 * gio/gunixvolume.c:
2928 (g_unix_volume_new):
2929 Use is_system_internal instead of own code
2931 * gio/glocaldirectorymonitor.c:
2932 * gio/gunixvolumemonitor.c:
2933 Update to new gunixmounts API
2938 2007-10-30 Alexander Larsson <alexl@redhat.com>
2941 Add volume name fsinfo attribute
2944 Read volume name info
2946 * gio/gunionvolumemonitor.c:
2947 Fix infinite loops when finalizing a union volume monitor
2949 2007-10-30 Alexander Larsson <alexl@redhat.com>
2951 * gio/goutputstream.[ch]:
2952 Add splice() with default implementation
2954 * gio/gsocketoutputstream.c:
2955 (g_socket_output_stream_write):
2956 Return error on cancellation correctly.
2958 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2960 * gio/glocalfile.c (g_local_file_trash):
2961 Do not leak a string.
2963 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2965 * gio/gfile.c (g_file_load_contents):
2966 Unref the stream after closing it.
2968 2007-10-25 Alexander Larsson <alexl@redhat.com>
2970 * gio/gioscheduler.h:
2973 2007-10-25 Alexander Larsson <alexl@redhat.com>
2977 Add g_file_has_uri_scheme and implement for local files
2979 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2981 * gio/gdesktopappinfo.c: do not leak a string.
2983 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2985 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2986 (g_local_directory_monitor_new):
2987 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2988 (g_local_file_monitor_new):
2989 Only look for the monitor type that should be used the first time
2990 and use g_qsort_with_data() instead of our own bubble sort
2993 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2996 * gio/fam/Makefile.am:
2997 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2998 * gio/fam/fam-helper.h:
2999 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3000 * gio/fam/gfamdirectorymonitor.c:
3001 * gio/fam/gfamdirectorymonitor.h:
3002 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3003 * gio/fam/gfamfilemonitor.h:
3004 * gio/glocaldirectorymonitor.c:
3005 * gio/glocaldirectorymonitor.h:
3006 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3007 * gio/glocalfilemonitor.h:
3008 * gio/inotify/Makefile.am:
3009 * gio/inotify/ginotifydirectorymonitor.c:
3010 * gio/inotify/ginotifydirectorymonitor.h:
3011 * gio/inotify/ginotifyfilemonitor.c:
3012 * gio/inotify/ginotifyfilemonitor.h:
3013 Implement the FAM and Inotify monitors as
3014 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3015 their own GIO module. GLocal(Directory|File)Monitor will use the
3016 monitor with the highest rank that is supported on that machine.
3018 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3021 Change GIO module dir to $(libdir)/gio/modules and change
3022 the log domain from GVFS to GIO. Also only export symbols starting
3023 with g_ in the resulting library.
3024 * gio/test-streams.c: (main):
3025 Set log handler for the GIO log domain.
3027 2007-10-22 Alexander Larsson <alexl@redhat.com>
3029 * gio/gfilenamecompleter.[ch]:
3030 Add g_filename_completer_set_dirs_only
3032 2007-10-22 Alexander Larsson <alexl@redhat.com>
3035 * gio/gurifuncs.[ch]:
3036 Add some simple URI helpers
3038 * gio/gfilenamecompleter.[ch]:
3039 Added object for filename (parse name actually) completion
3042 Handle ~ in parse names
3044 2007-10-17 Alexander Larsson <alexl@redhat.com>
3047 * gio/glocalfileinfo.c:
3048 Add and implement id:value attribute
3050 2007-10-17 Alexander Larsson <alexl@redhat.com>
3053 * gio/guniondrive.c:
3055 Add and implement g_drive_has_volumes
3057 2007-10-17 Alexander Larsson <alexl@redhat.com>
3060 * gio/glocalfileinfo.[ch]:
3061 Add unix:is_mountpoint and implement for local files
3063 2007-10-16 Alexander Larsson <alexl@redhat.com>
3065 * gio/gunionvolumemonitor.c:
3066 (g_union_volume_monitor_init):
3067 Fix up the unix type getting so that it works with gcc
3069 2007-10-12 Alexander Larsson <alexl@redhat.com>
3072 * gio/glocalfileinfo.c:
3073 Add thumbnail:failed to file info
3075 2007-10-12 Richard Hult <richard@imendio.com>
3077 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3078 optimizing away the get_type call (happens with some gcc versions,
3079 like the one shipped with OS X 10.4).
3081 2007-10-12 Alexander Larsson <alexl@redhat.com>
3083 * gio/glocalfileinfo.c:
3084 (_g_local_file_info_set_attribute):
3085 Fix build if not HAVE_XATTR
3086 Patch from Milosz Derezynski <internalerror@gmail.com>
3088 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3090 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3091 around for review, otherwise I would have asked you before
3094 2007-10-11 Alexander Larsson <alexl@redhat.com>
3097 Add thumbnail:path attribute
3099 * gio/glocalfileinfo.c:
3100 Implement thumbnail:path for local files
3102 2007-10-11 Alexander Larsson <alexl@redhat.com>
3104 * gio/glocalfileinfo.c:
3105 (_g_local_file_info_get):
3106 Avoid duplicate icon names
3108 2007-10-11 Alexander Larsson <alexl@redhat.com>
3110 * gio/gthemedicon.[ch]:
3111 Change g_themed_icon_get_names return type to const
3113 2007-10-10 Alexander Larsson <alexl@redhat.com>
3115 * gio/glocalfileinfo.c:
3116 Don't reference freed memory
3118 2007-10-10 Alexander Larsson <alexl@redhat.com>
3120 * gio/gfileattribute.c:
3123 * gio/glocalfileinfo.c:
3126 2007-10-10 Alexander Larsson <alexl@redhat.com>
3129 Check for NULL icons
3131 * gio/gfileattribute.c:
3132 Don't dup when getting objects (same as for string attributes)
3134 * gio/gicon.c (g_icon_equal):
3135 Safely handle NULLs in equal
3137 2007-10-10 Alexander Larsson <alexl@redhat.com>
3140 Fix c++ compilation issues
3141 Patch from Milosz Derezynski <internalerror@gmail.com>
3143 2007-10-10 Alexander Larsson <alexl@redhat.com>
3145 * programs/gio-monitor-dir.c:
3146 Don't crash if dir monitor not supported.
3148 2007-10-09 Alexander Larsson <alexl@redhat.com>
3151 Add missing G_END_DECLS
3153 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3155 * gio/gfile.c: (g_file_set_display_name),
3156 (g_file_query_settable_attributes),
3157 (g_file_query_writable_namespaces):
3158 Return NULL not FALSE on errors as the return type is a pointer.
3160 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3162 * gio/glocalfile.c: (g_local_file_monitor_file):
3163 Don't call monitor_file on the default interface vtable (which
3164 is NULL) but simply return NULL. The caller, GFile, will create a
3165 polling monitor if NULL is returned.
3167 2007-10-09 Alexander Larsson <alexl@redhat.com>
3171 * gio-unix-2.0.pc.in:
3172 Add gio-unix-2.0.pc if OS_UNIX
3175 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3177 2007-10-09 Alexander Larsson <alexl@redhat.com>
3179 * gio/gunixmounts.[ch]:
3180 Make unix mount monitoring API sane.
3181 Now its just a object with mounts_changed
3182 and mountpoints_changed signals.
3184 * gio/glocaldirectorymonitor.c:
3185 * gio/gunixvolumemonitor.c:
3186 Use new mount monitor api
3188 2007-10-09 Alexander Larsson <alexl@redhat.com>
3190 * gio/gunixmounts.[ch]:
3191 Move guess type into one call for mounts and one for mountpoints
3194 * gio/gunixvolume.c:
3197 2007-10-09 Alexander Larsson <alexl@redhat.com>
3199 * gio/gunixmounts.[ch]:
3200 Remove _ prefix in preparation to make this semi-public
3201 Hide implementation of structs
3203 * gio/glocaldirectorymonitor.c:
3205 * gio/gunixvolume.c:
3206 * gio/gunixvolumemonitor.c:
3207 Update for above API changes
3209 2007-10-08 Alexander Larsson <alexl@redhat.com>
3212 Better polling fallback. This also handles the case where we have
3213 a monitor_file implementation, but it fails.
3215 2007-10-08 Alexander Larsson <alexl@redhat.com>
3219 * gio/gunixmounts.c:
3220 * programs/gio-monitor-dir.c:
3221 * programs/gio-monitor-file.c:
3222 Added cancellable to file monitoring calls.
3223 These are really sync calls and need this.
3225 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3227 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3228 (g_local_vfs_class_init):
3229 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3230 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3232 2007-10-05 Alexander Larsson <alexl@redhat.com>
3234 * gio/gdirectorymonitorprivate.h:
3235 * gio/gfilemonitorprivate.h:
3236 * gio/gdirectorymonitor.h:
3237 * gio/gfilemonitor.h:
3238 Remove *private.h and move to the public API, so that
3239 we can do implementations outside gio (such as in gvfs)
3241 * gio/gdirectorymonitor.c:
3242 * gio/gfilemonitor.c:
3243 * gio/glocaldirectorymonitor.c:
3244 * gio/gpollfilemonitor.c:
3245 * gio/inotify/inotify-helper.c:
3246 * gio/fam/fam-helper.c:
3247 Update to the new header names
3249 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3251 * gio/gdirectorymonitor.c:
3252 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3255 2007-10-04 Alexander Larsson <alexl@redhat.com>
3257 * gio/glocalfileinfo.c (get_access_rights):
3258 Set CAN_TRASH when we can move the file.
3259 We should really also check for a parent trash dir.
3261 2007-10-04 Alexander Larsson <alexl@redhat.com>
3263 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3264 Add can_trash access attribute
3266 2007-10-04 Alexander Larsson <alexl@redhat.com>
3269 (g_local_file_trash):
3270 Create info file first. This is per-spec and allows
3271 us to actually trash directories.
3273 2007-10-02 Alexander Larsson <alexl@redhat.com>
3275 * gio/gdesktopappinfo.c:
3276 Implement the new mime support code.
3277 Always set app as handling mimetype when being set as default for it
3279 2007-10-01 Alexander Larsson <alexl@redhat.com>
3281 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3282 Fix up check for xattrs:
3284 2007-10-01 Alexander Larsson <alexl@redhat.com>
3287 (g_app_info_set_as_default_for_extension):
3288 (g_app_info_add_supports_type):
3289 (g_app_info_can_remove_supports_type):
3290 (g_app_info_remove_supports_type):
3291 Make these fail nicely if not implemented
3293 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3295 * gio/glocalfileoutputstream.c:
3296 * gio/glocalfileoutputstream.h:
3301 * programs/gio-save.c:
3302 Add a GFileCreateFlags argument to operations that can create
3305 2007-10-01 Alexander Larsson <alexl@redhat.com>
3307 * gio/gappinfo.[ch]:
3308 * gio/gdesktopappinfo.c:
3309 Add more (stubbed out) mime API needed for nautilus
3311 2007-10-01 Alexander Larsson <alexl@redhat.com>
3314 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3315 Add g_app_info_set_as_default_for_extension.
3317 * gio/gdesktopappinfo.c:
3318 Dummy for g_app_info_set_as_default_for_extension
3319 Support flags in g_app_info_create_from_commandline
3321 * gio/gwin32appinfo.c:
3323 Update for API changes
3325 * gio/gthemedicon.c:
3326 Properly NULL-terminate list of icon names
3328 2007-09-28 Alexander Larsson <alexl@redhat.com>
3330 * gio/gloadableicon.h:
3331 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3333 2007-09-28 Alexander Larsson <alexl@redhat.com>
3336 Install headers in $includedir/gio-standalone/
3338 * gio-2.0.pc.in: Added.
3339 * gio-standalone.pc.in: Removed.
3342 Renamed pkg-config file to match glib (for future move)
3343 Update to the new include dir
3346 Add more TODO comments
3348 2007-09-28 Alexander Larsson <alexl@redhat.com>
3350 * gio/gdesktopappinfo.[ch]:
3351 Expose new_from_filename
3352 Add getter for is_hidden and handle it better
3354 2007-09-28 Alexander Larsson <alexl@redhat.com>
3356 * gio/gfileinfo.[ch]:
3357 Rename g_file_size_format_for_display to
3358 g_format_file_size_for_display.
3359 Now it doesn't have the g_file prefix, so we
3360 can later move it to glib.
3362 2007-09-28 Alexander Larsson <alexl@redhat.com>
3364 * gio/gappinfo.[ch]:
3365 Add g_app_info_get_id and g_app_info_get_executable.
3366 Make all getters non-reffing
3367 Make g_app_info_launch take GFile arguments.
3368 Add must_support_uris argument to g_app_info_get_default_for_type.
3370 * gio/gwin32appinfo.c:
3371 Update to GAppInfo api changes
3373 * gio/gdesktopappinfo.c:
3374 Update to GAppInfo api changes
3375 Implement supports_xdg_startup_notify
3377 * gio/gfileicon.c (g_file_icon_get_file):
3378 Make getter non-reffing.
3383 2007-09-27 Alexander Larsson <alexl@redhat.com>
3385 * gio/gfileinfo.[ch]:
3386 Add g_file_size_format_for_display helper
3388 2007-09-27 Alexander Larsson <alexl@redhat.com>
3390 * gio/glocalfileinfo.c:
3391 Set UNIX_GID from gid, not from uid
3393 2007-09-27 Alexander Larsson <alexl@redhat.com>
3396 Add g_file_set_attributes_async
3398 2007-09-27 Alexander Larsson <alexl@redhat.com>
3400 * gio/glocalfile.c (g_local_file_set_display_name):
3401 Fix set_display_name to actually rename to the right place.
3402 Use lstat to look for existing files so we don't overwrite
3405 2007-09-26 Alexander Larsson <alexl@redhat.com>
3408 Add g_file_set_display_name_async()
3410 2007-09-26 Alexander Larsson <alexl@redhat.com>
3413 Add load_partial_contents async calls
3416 Make internal function static
3418 2007-09-26 Alexander Larsson <alexl@redhat.com>
3420 * gio/glocalfileinfo.c:
3421 Correctly detect broken symlinks
3423 2007-09-26 Alexander Larsson <alexl@redhat.com>
3425 * gio/gcancellable.c (g_cancellable_cancel):
3426 Allow cancel on NULL cancellable
3428 2007-09-25 Alexander Larsson <alexl@redhat.com>
3430 * gio/gsimpleasyncresult.c:
3431 Don't allocate g_error manually.
3432 Fixes g_slice/g_new mixup crash
3434 2007-09-25 Alexander Larsson <alexl@redhat.com>
3436 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3437 Actually set active_backend.
3438 This means the monitor will be cancelled correctly.
3440 2007-09-25 Alexander Larsson <alexl@redhat.com>
3442 * gio/gdirectorymonitor.c:
3443 Set timeout to NULL when destroying
3445 2007-09-25 Alexander Larsson <alexl@redhat.com>
3448 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3449 that is a better description of the error.
3451 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3453 * gio/gvfs.c: (g_vfs_get_local):
3454 Make the local vfs variable static. The same instance should
3457 2007-09-24 Alexander Larsson <alexl@redhat.com>
3459 * gio/glocalfileinfo.c:
3460 Pass in actual length read into sniffer, not the length
3463 2007-09-21 Alexander Larsson <alexl@redhat.com>
3465 * gio/gfileenumerator.c:
3468 * gio/gfileinputstream.c:
3469 * gio/gfileoutputstream.c:
3470 * gio/ginputstream.c:
3471 * gio/goutputstream.c:
3472 Don't crash if async callbacks are NULL
3474 2007-09-20 Alexander Larsson <alexl@redhat.com>
3477 Add async enumerate_children method and default
3480 2007-09-20 Alexander Larsson <alexl@redhat.com>
3483 Add g_file_contains_file & g_file_get_relative_path, since they
3484 were needed for nautilus.
3485 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3490 Implement new methods
3492 2007-09-17 Alexander Larsson <alexl@redhat.com>
3495 * gio/gfileinputstream.[ch]:
3496 * gio/gfileoutputstream.[ch]:
3498 * gio/glocalfileenumerator.[ch]:
3499 * gio/glocalfileinfo.[ch]:
3500 * gio/glocalfileinputstream.c:
3501 * gio/glocalfileoutputstream.c:
3502 * gio/gpollfilemonitor.c:
3503 * programs/gio-copy.c:
3504 * programs/gio-info.c:
3505 * programs/gio-move.c:
3506 Rename get_file_info to query_info() to make it clearer
3507 that these are not simple getters, but do i/o.
3509 2007-09-17 Alexander Larsson <alexl@redhat.com>
3511 * gio/gdatainputstream.[ch]:
3512 * gio/test-streams.c:
3513 Use _read_XXX instead of _get_XXX for the i/o calls
3516 2007-09-17 Alexander Larsson <alexl@redhat.com>
3519 Added needed stuff to TODO comment
3521 2007-09-17 Alexander Larsson <alexl@redhat.com>
3523 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3524 Don't error out removing the backup copy if it doesn't
3527 2007-09-14 Alexander Larsson <alexl@redhat.com>
3529 * programs/Makefile.am:
3530 * programs/gvfs-*.c:
3532 Renamed apps from gvfs-xxx to gio-xxx.
3534 2007-09-14 Alexander Larsson <alexl@redhat.com>
3537 * gio/gfileoutputstream.[ch]:
3538 * gio/glocalfileoutputstream.c:
3539 * programs/gvfs-save.c:
3540 g_file_output_stream_get_etag doesn't do i/o, so remove
3541 cancellation and error.
3543 2007-09-14 Alexander Larsson <alexl@redhat.com>
3546 Add new_etag output to replace_contents functions
3548 2007-09-14 Alexander Larsson <alexl@redhat.com>
3550 * gio/gfileoutputstream.[ch]:
3551 Add async get_file_info and default implementation
3553 2007-09-14 Alexander Larsson <alexl@redhat.com>
3555 * gio/gfileinputstream.c:
3556 Implement fallback wrapper for async get_file_info
3558 2007-09-14 Alexander Larsson <alexl@redhat.com>
3561 Add etag out argument to load_contents
3566 2007-09-14 Alexander Larsson <alexl@redhat.com>
3568 * gio/gcontenttype.c (looks_like_text):
3569 Whitespace like tab, cr and lf do not make the
3572 2007-09-14 Alexander Larsson <alexl@redhat.com>
3574 * gio/gfileinputstream.[ch]:
3575 Add async get_file_info.
3577 2007-09-13 Alexander Larsson <alexl@redhat.com>
3579 * gio/goutputstream.c (g_output_stream_write_all):
3580 Allow NULL for bytes_written
3582 2007-09-13 Alexander Larsson <alexl@redhat.com>
3584 * gio/gmemoryinputstream.[ch]:
3585 Add accessors for data
3587 2007-09-13 Alexander Larsson <alexl@redhat.com>
3589 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3590 Don't crash if length is NULL