1 2008-02-21 Alexander Larsson <alexl@redhat.com>
5 Add new g_file_has_prefix that does the same as g_file_contains_file.
6 Deprecate g_file_contains_file and add a macro that converts
7 it to g_file_has_prefix.
8 The reason for this change is that the contains_file() name seems to
9 imply that this does more work than what it does, but its really only
10 a name match (from #517086)
15 Update to match the above change.
17 2008-02-20 Benjamin Otte <otte@gnome.org>
19 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
20 (g_file_eject_mountable):
21 even more cases of not returning in error path
23 2008-02-20 Benjamin Otte <otte@gnome.org>
25 * gfile.c: (g_file_mount_mountable):
26 return from function in error path.
28 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
31 Remove trailing coma in GMountMountFlags struct
33 2008-02-18 Alexander Larsson <alexl@redhat.com>
37 * glocalfileoutputstream.c:
38 Use g_unlink/g_rename instead of unlink/rename;
39 do not pass raw filenames to g_set_error. (#517239)
40 Patch from Yevgen Muntyan.
42 2008-02-18 Alexander Larsson <alexl@redhat.com>
45 * glocalfileoutputstream.c:
46 Open files with O_BINARY on windows. (#517140)
48 2008-02-14 Alexander Larsson <alexl@redhat.com>
50 * glocalfileoutputstream.c:
51 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
53 2008-02-14 Alexander Larsson <alexl@redhat.com>
56 Copy permissions with file on copy (#514084)
57 This is what cp does and makes sure e.g. the
58 exec permissions are kept.
59 Its kinda weird in that it keeps the permission bits
60 the same while the uid and gid are different. However
61 the new uid is the user so its not a security issue,
62 and I've heard no complaints about cp on this issue.
64 2008-02-13 Ryan Lortie <desrt@desrt.ca>
66 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
68 2008-02-13 Alexander Larsson <alexl@redhat.com>
70 * inotify/inotify-path.c:
71 Define IN_ONLYDIR if not in header (#515346)
73 2008-02-12 Alexander Larsson <alexl@redhat.com>
75 * tests/live-g-file.c:
78 2008-02-11 Matthias Clasen <mclasen@redhat.com>
80 * === Released 2.15.5 ===
82 2008-02-11 Matthias Clasen <mclasen@redhat.com>
84 * gio.symbols: Add g_mount_mount_flags_get_type.
86 2008-02-11 Alexander Larsson <alexl@redhat.com>
89 (g_file_info_set_attribute_mask):
90 (g_file_attribute_matcher_matches_id):
91 Correctly handle NULL GAttributeMatcher meaning
92 matches nothing. (Fixes #513492)
94 2008-02-11 Alexander Larsson <alexl@redhat.com>
99 Added GMountMountFlags enum and added a flags
100 argument to all mount calls.
102 This is an API/ABI change for future extensibility,
103 as I think we will need at least an
104 inhibit-autorun flag (the panel needs this).
105 There are no flags defined yet though.
107 2008-02-11 Alexander Larsson <alexl@redhat.com>
110 Added new standard::description attribute.
111 Requested by Vincent, and useful for both
114 2008-02-11 Alexander Larsson <alexl@redhat.com>
119 2008-02-11 Matthias Clasen <mclasen@redhat.com>
121 * *.c: Documentation additions
123 2008-02-10 Matthias Clasen <mclasen@redhat.com>
125 * gappinfo.h: Formatting cleanup
126 * gappinfo.c: Fix up docs.
128 2008-02-09 Matthias Clasen <mclasen@redhat.com>
130 * gunixmounts.c: Consistently use getmntent_r() and fall
131 back to getmntent(). (#515492)
133 2008-02-09 Matthias Clasen <mclasen@redhat.com>
135 * gbufferedinputstream.c:
137 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
139 * tests/data-input-stream.c:
140 * tests/data-output-stream.c: Portability fixes.
142 2008-02-08 Alexander Larsson <alexl@redhat.com>
147 Add g_volume_should_automount.
150 2008-02-07 Tor Lillqvist <tml@novell.com>
152 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
153 Win32, too Unix-specific.
155 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
157 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
158 a local plt if the compiler doesn't support what we want. Bug #514702
160 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
162 reviewed by: <delete if not using a buddy>
165 * gunixinputstream.c:
166 * gunixoutputstream.c:
168 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
171 * tests/live-g-file.c:
172 * tests/live-g-file.txt:
173 New GIO testing module working over real data
175 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
177 * glocalfileoutputstream.c (g_local_file_output_stream_close):
178 Fallback to rename() if link() is not available
179 (when no support on target filesystem)
181 2008-02-06 Michael Natterer <mitch@imendio.com>
183 * gfileinfo.c (g_file_info_get_icon): replace
184 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
186 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
188 * gfile.c (g_file_create):
189 Documentation update of error codes
191 2008-02-06 Alexander Larsson <alexl@redhat.com>
194 Update to use both mimeapps.list and
195 defaults.list as discussed on xdg list.
197 2008-02-06 Benjamin Otte <otte@gnome.org>
200 * gfilenamecompleter.c:
201 Fix some typos in the documentation.
203 2008-02-06 Alexander Larsson <alexl@redhat.com>
205 * glocalfile.c (g_local_file_trash):
206 Don't succeed with trash if newly created
207 trash dir has the wrong owner. (#514696)
209 2008-02-05 Alexander Larsson <alexl@redhat.com>
211 * glocalfile.c (g_local_file_move):
212 Don't spew warnings when destination is not
215 2008-02-03 Hans Breuer <hans@breuer.org>
217 * makefile.msc : update
219 2008-02-01 Michael Natterer <mitch@imendio.com>
221 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
222 return value of xdg_mime_list_mime_parents() to a variable of the
225 2008-02-01 Alexander Larsson <alexl@redhat.com>
227 * gappinfo.c (g_app_info_launch_uris):
228 Actually call the launch_uris method, not
231 2008-02-01 Alexander Larsson <alexl@redhat.com>
233 * gdesktopappinfo.c (g_desktop_app_info_equal):
234 Ensure appinfos with no id but same pointer value
237 2008-02-01 Alexander Larsson <alexl@redhat.com>
239 * gappinfo.c (g_app_info_launch_default_for_uri):
242 2008-02-01 Alexander Larsson <alexl@redhat.com>
246 Add g_app_info_launch_default_for_uri utility
249 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
252 Doc fix for g_app_info_get_default_for_uri_scheme ()
255 2008-01-30 Alexander Larsson <alexl@redhat.com>
258 Add doc comment about uris vs GFiles to
262 Ensure uris passed to g_app_info_launch_uris()
263 are not roundtriped through GFile (as that
264 may be slightly destructive for e.g. mailto: links)
266 2008-01-30 Alexander Larsson <alexl@redhat.com>
268 * tests/data-input-stream.c:
269 * tests/data-output-stream.c:
270 C89 fixes from Jens Granseuer (#512849)
272 2008-01-30 Alexander Larsson <alexl@redhat.com>
275 Fix gamin/fam difference build issue. (#509419)
277 2008-01-29 Alexander Larsson <alexl@redhat.com>
281 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
283 2008-01-29 Alexander Larsson <alexl@redhat.com>
287 giomodule-priv.h include moved to .c file.
289 2008-01-29 Alexander Larsson <alexl@redhat.com>
291 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
292 Remove unused prio/name fields.
294 2008-01-29 Alexander Larsson <alexl@redhat.com>
296 * gcontenttype.c (looks_like_text):
297 Don't treat whitespace as control chars.
299 2008-01-29 Alexander Larsson <alexl@redhat.com>
302 Lazily create the desktop files for appinfos created
303 by g_app_info_create_from_commandline() when needed
304 for mime associations. This allows run-time use
305 of GAppInfo object without creating unnecessary
308 2008-01-29 Alexander Larsson <alexl@redhat.com>
311 Added new symbols to gio.symbols
313 2008-01-29 Alexander Larsson <alexl@redhat.com>
316 Add g_file_query_default_handler utility to easily look up
317 the GAppInfo that handles a file.
319 * gdesktopappinfo.[ch]:
321 Set up an extension point for g_app_info_get_default_for_uri_scheme()
324 Remove unused function
326 2008-01-29 Alexander Larsson <alexl@redhat.com>
329 Mention need to free returned value in
330 g_file_enumerator_next_files_finish docs.
331 Fix leak if g_file_enumerator_next_files_finish()
334 2008-01-29 Alexander Larsson <alexl@redhat.com>
337 (_g_unix_content_type_get_parents):
338 Use list_parents, not get_parents from xdgmime, because
339 the later doesn't use the cache.
341 * xdgmime/xdgmimecache.c:
342 (_xdg_mime_cache_list_mime_parents):
343 Don't list the same type as parent multiple times.
345 2008-01-28 Matthias Clasen <mclasen@redhat.com>
347 * === Released 2.15.4 ===
349 2008-01-28 Alexander Larsson <alexl@redhat.com>
352 Register local vfs with prio 0.
355 Remove old name and prio class members
357 2008-01-28 Matthias Clasen <mclasen@redhat.com>
359 * tests/g-file.c: Disable some tests that are failing in
360 the absence of a http backend.
362 2008-01-28 Alexander Larsson <alexl@redhat.com>
366 Add registration hooks for extension points.
367 Register the gio extension points.
369 * fam/gfamdirectorymonitor.c:
370 * fam/gfamfilemonitor.c:
371 * glocaldirectorymonitor.[ch]:
372 * glocalfilemonitor.[ch]:
373 * gnativevolumemonitor.h:
374 * gunionvolumemonitor.c:
375 * gunixvolumemonitor.c:
378 * inotify/ginotifydirectorymonitor.c:
379 * inotify/ginotifyfilemonitor.c:
380 Use the extension points registration instead
381 of g_type_children().
383 2008-01-28 Matthias Clasen <mclasen@redhat.com>
386 * gvolume.[hc]: Document new API.
388 * gfile.c (g_file_copy_async): Fix docs
390 2008-01-27 Matthias Clasen <mclasen@redhat.com>
392 * gbufferedinputstream.c:
394 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
397 2008-01-27 Matthias Clasen <mclasen@redhat.com>
399 * glocalfile.c: Avoid trivial differences in translatable strings.
401 2008-01-25 Matthias Clasen <mclasen@redhat.com>
403 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
404 build with gcc 3.4 (#509419)
406 2008-01-25 Matthias Clasen <mclasen@redhat.com>
408 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
409 (#509994, Murray Cumming)
411 2008-01-25 Matthias Clasen <mclasen@redhat.com>
413 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
414 * gioscheduler.c: Keep calling io jobs until they return FALSE;
415 this allows big jobs to be executed in chunks, instead of blocking
416 the main loop for a long time.
418 * gsimpleasyncresult.c:
419 * giofile.c: Adapt callers.
421 2008-01-25 Alexander Larsson <alexl@redhat.com>
424 Implement changes discussed on xdg list.
425 Now we can add supported mimetypes by just using defaults.list
426 We can also remove associations in defaults.list.
428 2008-01-25 Alexander Larsson <alexl@redhat.com>
431 Don't make local copy of desktop file
432 for mimetype changes if the file already
433 supports the new mimetype.
435 2008-01-25 Matthias Clasen <mclasen@redhat.com>
439 * gbufferedinputstream.c:
440 * glocalfile.c: String improvements. (#511966,
441 Theppitak Karoonboonyanan)
443 2008-01-24 Matthias Clasen <mclasen@redhat.com>
445 * gioscheduler.h: Expand docs a bit.
447 2008-01-24 Alexander Larsson <alexl@redhat.com>
450 Add g_drive_get_identifier and
451 g_drive_enumerate_identifiers
454 Add g_volume_get_identifier and
455 g_volume_enumerate_identifiers
461 Implement identifiers for unix backend
463 2008-01-24 Alexander Larsson <alexl@redhat.com>
468 Add g_file_copy_async() (#511580)
469 Based on patch from Carlos Garcia Campos
471 2008-01-23 Matthias Clasen <mclasen@redhat.com>
473 * gioscheduler.c: Some documentation additions.
475 2008-01-22 Alexander Larsson <alexl@redhat.com>
478 (g_desktop_app_info_new):
481 2008-01-22 Alexander Larsson <alexl@redhat.com>
484 (g_desktop_app_info_new_from_filename):
487 2008-01-22 Alexander Larsson <alexl@redhat.com>
489 * glocalfileinfo.c (get_thumbnail_attributes):
492 2008-01-22 Alexander Larsson <alexl@redhat.com>
495 (canonicalize_filename):
496 Canonicalize paths that start with more than
501 (test_g_file_new_for_path):
504 2008-01-22 Alexander Larsson <alexl@redhat.com>
507 Allow UTF-8 in file:// parse names.
510 * tests/data-input-stream.c:
511 * tests/data-output-stream.c:
512 * tests/g-file-info.c:
514 Added a bunch of tests from Tomas Bzatek
516 2008-01-21 Matthias Clasen <mclasen@redhat.com>
518 * === Released 2.15.3 ===
520 2008-01-21 Alexander Larsson <alexl@redhat.com>
522 * gfileinputstream.[ch]:
523 * gfileoutputstream.[ch]:
525 Remove duplicated GSeekable functions. (#509990)
526 Just use the g_seekable_xxx() calls instead.
528 2008-01-21 Matthias Clasen <mclasen@redhat.com>
531 * gvolumemanager.c: Whitespace cleanups.
533 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
534 Use the right mode when creating the file.
536 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
539 * gfileinputstream.c:
541 * goutputstream.c: Documentation: Fixed minor typos
542 and added more mentions of specific _finish() functions.
544 2008-01-21 Alexander Larsson <alexl@redhat.com>
546 * inotify/Makefile.am:
547 * inotify/inotify-helper.c:
548 * inotify/inotify-kernel.c:
549 * inotify/inotify-path.c:
550 * inotify/local_inotify.h: Removed.
551 * inotify/local_inotify_syscalls.h: Removed.
552 Removed the included copies of the inotify
553 headers. We now only use the <sys/inotify.h>
554 header which exists on modern systems.
555 This fixes problems on ARM and SH5 (#510448)
556 but is also generally much cleaner and future
557 safe. For instance, if other OSes add support
558 for inotify it should "just work".
560 2008-01-20 Matthias Clasen <mclasen@redhat.com>
562 * inotify/*.c: Coding style fixes.
563 * inotify/inotify-missing.c: Use g_timeout_add_seconds
564 for the 1/4 Hz timer.
566 2008-01-20 Matthias Clasen <mclasen@redhat.com>
570 * gmemoryinputstream.c:
571 * gmemoryoutputstream.c:
573 * gthemedicon.c: Documentation updates
575 2008-01-20 Murray Cumming <murrayc@murrayc.com>
577 * gfile.c: documentation: Fixed more minor
580 2008-01-18 Murray Cumming <murrayc@murrayc.com>
582 * gmount.c: (g_mount_remount): documentation:
583 Mention g_mount_remount_finish() instead of
584 g_mount_unmount_finish().
586 2008-01-18 Murray Cumming <murrayc@murrayc.com>
590 * gfile.c: Fixed some minor typos in the
593 2008-01-18 Murray Cumming <murrayc@murrayc.com>
595 * gio/gvolumemonitor.c:
596 (g_volume_monitor_get_connected_drives):
597 (g_volume_monitor_get_volumes):
598 (g_volume_monitor_get_mounts): Documentation:
599 Clarify the ownership of the regurn GLists.
601 2008-01-17 Alexander Larsson <alexl@redhat.com>
604 Add the async find_enclosing_mount version
605 to the header file too.
607 2008-01-17 Alexander Larsson <alexl@redhat.com>
610 Add async version of find_enclosing_mount
611 with default implementation.
613 2008-01-17 Alexander Larsson <alexl@redhat.com>
618 Allow calls to implementation of copy and write
619 even if the type of the file implementations is
620 different. This can be used to implement native
621 upload and download calls in a vfs.
625 Protect against the case where move is called
626 with one file not being local.
628 Make sure we call the progress callback once
629 in the native move operation so that the caller
630 knows how many bytes were copied.
632 2008-01-16 Murray Cumming <murrayc@murrayc.com>
635 * gdatainputstream.c:
637 * gfileoutputstream.c:
642 * gunixmounts.c: Corrected some typos in the documentation:
644 its -> it's (where appropriate).
646 2008-01-16 Alexander Larsson <alexl@redhat.com>
650 Add g_file_query_exists (#508771)
652 2008-01-15 Murray Cumming <murrayc@murrayc.com>
657 * gvolume.c: For async functions that have no non-async
658 version, document that the GAsyncReadyCallback may be NULL.
661 2008-01-15 Alexander Larsson <alexl@redhat.com>
663 * gmemoryinputstream.c:
664 * gmemoryoutputstream.c:
665 Don't do pointer arithmetic on void * (#508602)
666 Patch from Kazuki IWAMOTO
668 2008-01-14 Matthias Clasen <mclasen@redhat.com>
670 * === Released 2.15.2 ===
672 2008-01-14 Alexander Larsson <alexl@redhat.com>
674 * gfile.c (g_file_monitor_file):
675 Don't set error here, since we fallback to polling monitor.
677 2008-01-14 Alexander Larsson <alexl@redhat.com>
680 (g_file_monitor_directory):
681 (g_file_monitor_file):
682 Add GError to file monitor calls
684 * glocaldirectorymonitor.c:
685 * glocaldirectorymonitor.h:
687 * glocalfilemonitor.c:
688 * glocalfilemonitor.h:
690 Update for above change
692 2008-01-14 Alexander Larsson <alexl@redhat.com>
696 Handle root correctly in g_file_get_relative_path (#508719)
698 2008-01-14 Alexander Larsson <alexl@redhat.com>
701 Clean up docs and example for GAsyncResult (#508074)
703 2008-01-11 Murray Cumming <murrayc@murrayc.com>
705 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
706 and correct some spelling mistakes. Bug #508108.
708 2008-01-11 Matthias Clasen <mclasen@redhat.com>
710 * glocalfileinfo.c: Add a comment.
712 2008-01-10 Murray Cumming <murrayc@murrayc.com>
714 * gfileinfo.c: GFileInfo description: Mention
715 how to actually set attributes in a GFile and how to discover
716 which attributes are settable. Bug #508378.
718 2008-01-10 A. Walton <awalton@svn.gnome.org>
720 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
721 (g_app_info_get_default_for_type):
722 Check for NULL content types.
724 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
726 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
728 2008-01-09 Murray Cumming <murrayc@murrayc.com>
730 * gfile.c: *_async() functions: Several small corrections
731 to the documentation, mostly correcting copy/paste errors
732 and improving some sentences.
734 2008-01-09 Dan Winship <danw@gnome.org>
736 * glocalfile.c (get_unique_filename): x86_64 fix
738 2008-01-09 Alexander Larsson <alexl@redhat.com>
743 Add g_unix_mount_guess_should_display and use
744 for unix volume monitor backend.
745 This means we more or less show what the
746 gnome-vfs backend did.
747 Based on patch from Padraig O'Briain
749 2008-01-09 Alexander Larsson <alexl@redhat.com>
753 Add g_themed_icon_new_with_default_fallbacks
756 Use default fallbacks for icons
758 2008-01-09 Alexander Larsson <alexl@redhat.com>
761 * gmountoperation.[ch]:
762 Change the API a bit so that unhandled methods
763 get reported via the reply, rather than by
764 the signal emission return value. This is because
765 some handlers can't know this immediately without
766 doing I/O, and this is an async operation that
769 2008-01-09 Alexander Larsson <alexl@redhat.com>
772 * fam/gfamdirectorymonitor.c:
773 * fam/gfamfilemonitor.c:
774 Fix double free crash (#508224)
775 Patch from Joe Marcus Clarke
777 008-01-07 Matthias Clasen <mclasen@redhat.com>
779 * === Released 2.15.1 ===
781 2008-01-07 Alexander Larsson <alexl@redhat.com>
783 * gunixinputstream.c (g_unix_input_stream_skip_finish):
784 Fix warning (#507835)
786 2008-01-07 Alexander Larsson <alexl@redhat.com>
789 Pass --internal to glib-genmarshal
794 Use better types for signal arguments (#507822)
796 2008-01-07 Alexander Larsson <alexl@redhat.com>
799 Build test subdir after .
800 Remove gdirectorymonitor.[ch]
802 * gdirectorymonitor.[ch]:
806 Remove GDirectoryMonitor and make
807 GFileMonitor the baseclass for both file and
808 directory monitors. Lift the more generic
809 rate limiting code from GDirectoryMonitor
813 * fam/gfamdirectorymonitor.[ch]:
814 * inotify/ginotifydirectorymonitor.[ch]:
815 * inotify/inotify-helper.c:
816 * glocaldirectorymonitor.[ch]:
819 Update for the removed GDirectoryMonitor.
821 * gmemoryoutputstream.c:
822 Remove ununsed variable
824 2008-01-07 Alexander Larsson <alexl@redhat.com>
826 * gmemoryinputstream.c:
827 Translate error strings
830 * gmemoryoutputstream.[ch]:
831 New implementation that avoids using GByteArray
832 in implementation and API. (#506377)
834 2008-01-06 Matthias Clasen <mclasen@redhat.com>
836 * tests/*: Add a test for memory input streams.
838 * Makefile.am: Add tests to SUBDIRS.
840 2008-01-06 Matthias Clasen <mclasen@redhat.com>
842 * glocalfilemonitor.c:
843 * glocaldirectorymonitor.c: Mark property nicks and blurbs
846 2008-01-06 Matthias Clasen <mclasen@redhat.com>
848 * gdesktopappinfo.c: Fix a docs typo.
850 * gfileattribute.c: Add information about extended attributes
851 to the documentation. (#505058)
853 2008-01-04 Alexander Larsson <alexl@redhat.com>
857 Use the right type (uint) for the ask_password signal.
859 2008-01-04 Alexander Larsson <alexl@redhat.com>
864 Add g_app_info_supports_files()
865 Remove desktop arg from g_app_info_should_show().
867 * gdesktopappinfo.[ch]:
868 Implement g_app_info_supports_files() and new should_show()
869 Add g_desktop_app_info_set_desktop_env() to set the desktop
870 for should_show(). (This will be set by gtk+ later)
872 2008-01-04 Alexander Larsson <alexl@redhat.com>
875 * gmemoryinputstream.[ch]:
876 Improve API so that you can use multiple chunks
877 of memory and custom destroy functions. (#506374)
879 2008-01-03 Alexander Larsson <alexl@redhat.com>
882 Handle NULL attribute matchers safely, as we return this
883 for empty attribute matcher strings.
885 2008-01-03 Alexander Larsson <alexl@redhat.com>
887 * gunixmounts.c (g_unix_is_mount_path_system_internal):
888 Add /usr/local to list of internal mountpoints
890 2008-01-03 Alexander Larsson <alexl@redhat.com>
893 Check for HAVE_LCHOWN (#505887)
895 2008-01-03 Alexander Larsson <alexl@redhat.com>
899 Add define for selinux context attribute.
900 Fix missing : -> :: namespace separator change
901 Fix missing _ -> - name change for xattr-sys.
904 2008-01-03 Alexander Larsson <alexl@redhat.com>
907 Link to libglib and libgobject directly (#504879)
908 Patch from Sebastien Bacher
910 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
912 * gfile.c: Expanded the g_file_new_for_commandline_arg
913 description a bit, based on the code and the docs of the
914 other g_file_new_for_* functions.
916 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
918 * gfilemonitor.h: Fixed typo in docs.
920 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
922 Updates to GIO documentation. (#506395, Mikael Hermansson)
924 * gcontenttype.c: Describe memory management for return value of
925 g_content_types_get_registered(). Missing piece from #505815.
926 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
927 GVolume, GDrive, GMounts, which hopefully gives the user less
928 confusions when using this API. Following explainations from
929 Alexander Larsson on gtk-devel-list.
931 2007-12-30 Matthias Clasen <mclasen@redhat.com>
933 * gfileinfo.c: Expand the long description.
935 2007-12-30 Matthias Clasen <mclasen@redhat.com>
938 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
939 fix builds with --disable-visibility. (#500273, Christian Persch)
941 2007-12-30 Matthias Clasen <mclasen@redhat.com>
943 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
944 in the list of returned app infos.
946 2007-12-30 Matthias Clasen <mclasen@redhat.com>
948 * gappinfo.c: Fix a cross-reference
950 2007-12-30 Matthias Clasen <mclasen@redhat.com>
952 * gfileinputstream.c:
953 * gfileoutputstream.c:
959 * gfileinfo.c: Documentation updates.
961 2007-12-26 Matthias Clasen <mclasen@redhat.com>
963 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
966 2007-12-26 Matthias Clasen <mclasen@redhat.com>
968 * gcontenttype.c (g_content_types_get_registered): Don't return
969 freed memory (#505815, Mikael Hermansson)
971 2007-12-25 Paolo Borelli <pborelli@katamail.com>
973 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
974 used to detect statbuf->st_blocks. (#505042)
976 2007-12-24 Matthias Clasen <mclasen@redhat.com>
978 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
979 environment handling. (#504829, Cosimo Cecchi)
981 2007-12-22 Matthias Clasen <mclasen@redhat.com>
983 * gappinfo.c: Doc improvements
985 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
988 2007-12-20 Matthias Clasen <mclasen@redhat.com>
990 * === Released 2.15.0 ===
992 2007-12-20 Hans Breuer <hans@breuer.org>
994 * makefile.msc : don't build gdesktopappinfo.obj, it collides
995 with symbols gwin32appinfo.obj, added gmount.obj
996 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
998 2007-12-20 Alexander Larsson <alexl@redhat.com>
1004 * gfilenamecompleter.c:
1007 * gpollfilemonitor.c:
1008 File attribute renames:
1010 fs:: -> filesystem::
1011 id::fs -> id::filesystem
1013 2007-12-20 Alexander Larsson <alexl@redhat.com>
1022 Add GMountUnmountFlags to all unmount and
1024 Add g_mount_remount() call.
1026 2007-12-20 Alexander Larsson <alexl@redhat.com>
1028 * gvfs.c (get_default_vfs):
1029 Fix unused variable warning
1031 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1033 * pltcheck.sh: Update
1035 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1037 * gunionvolumemonitor.c:
1038 * gunixmount.c: Remove C99 comments
1040 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1042 * gio.symbols: Add some missing symbols
1044 2007-12-19 Alexander Larsson <alexl@redhat.com>
1047 Make g_io_modules_load_all_in_directory not unuse
1048 loaded modules so that users of it can do stuff
1050 Init internal "module" types.
1051 Initialize static prio and name for types so that
1052 we don't have to load modules to get it.
1054 * gnativevolumemonitor.h:
1056 Move is_supported to parent class so that
1057 non-native monitors can avoid being initialized
1058 too. (For instance GDaemonVolumeMonitor if we're
1059 not using GDaemonVfs.)
1061 * glocaldirectorymonitor.[ch]:
1062 * glocalfilemonitor.[ch]:
1063 * gunionvolumemonitor.c:
1064 * gunixvolumemonitor.c:
1066 Find plugins using the static prio+name to
1067 avoid unnecessarily loading the modules.
1069 2007-12-19 Alexander Larsson <alexl@redhat.com>
1074 2007-12-19 Alexander Larsson <alexl@redhat.com>
1076 * gunionvolumemonitor.c:
1077 Store the native type as GType, not class so that
1078 we can unload it. But still avoid unnecessarily
1081 2007-12-19 David Zeuthen <davidz@redhat.com>
1083 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1084 add signals 'disconnected' and 'eject-button' on GDrive. Add
1085 signal 'removed' on GVolume and 'unmounted' on GMount.
1087 * gdrive.c: (g_drive_base_init):
1089 * gfile.c: (g_file_mount_mountable),
1090 (g_file_mount_enclosing_volume):
1093 * gmount.c: (g_mount_base_init):
1095 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1096 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1097 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1101 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1103 * *.c: Fix up includes in the section docs.
1105 2007-12-17 Alexander Larsson <alexl@redhat.com>
1107 * gnativevolumemonitor.h:
1108 * gunionvolumemonitor.c:
1109 * gunixvolumemonitor.c:
1110 Add is_supported() to GNativeVolumeMonitorClass so
1111 that we can avoid having to create an object to see
1112 if the backend is supported at runtime.
1113 Also add name member and an env var to pick a specific
1114 volume monitor backend.
1118 Add cancellable to _g_mount_get_for_mount_path()
1120 * glocaldirectorymonitor.c:
1121 * glocalfilemonitor.c:
1122 Avoid loading and unloading modules while sorting.
1124 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1127 * gunixmounts.[hc]: Namespace waste reduction, move some
1128 g_get_unix_mount functions to the g_unix_mount namespace.
1131 * gunixvolumemonitor.c:
1133 * glocaldirectorymonitor.c: Update all callers.
1135 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1137 2007-12-17 Alexander Larsson <alexl@redhat.com>
1140 Add doc comments about what GFile operations are
1141 guaranteed to not block.
1143 2007-12-17 Alexander Larsson <alexl@redhat.com>
1146 Add missing #ifdef fixing OSX build.
1147 (#503334, patch from Richard Hult)
1149 2007-12-14 David Zeuthen <davidz@redhat.com>
1153 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1154 (g_mount_eject), (g_mount_eject_finish):
1156 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1157 (get_volume_for_uuid), (get_mount_for_uuid),
1158 (g_union_volume_monitor_class_init),
1159 (get_default_native_type_with_exclude), (get_default_native_type),
1160 (get_native_type), (update_native_type),
1161 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1162 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1163 (g_unix_mount_can_eject), (eject_unmount_cb),
1164 (eject_unmount_read_error), (eject_unmount_do),
1165 (g_unix_mount_unmount), (g_unix_mount_eject),
1166 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1167 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1168 (g_unix_mount_point_guess_can_eject):
1170 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1171 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1172 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1173 (g_unix_volume_mount), (g_unix_volume_eject),
1174 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1175 * gunixvolumemonitor.c: (get_volume_for_uuid),
1176 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1178 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1179 (g_volume_eject), (g_volume_eject_finish):
1181 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1182 (g_volume_monitor_get_mount_for_uuid):
1185 Provide eject() on both GMount and GVolume and utility functions
1186 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1187 ejected. Introduce the concept of UUID's and wire it into GVolume
1188 and GMount and provide API on GVolumeMonitor to find such
1189 instances. Also handle the case where an external
1190 GNativeVolumeMonitor fails to initialize. Lock around the
1191 _g_get_mount_for_mount_path() function such that volume monitor
1192 implementations won't have to do locking themselves.
1194 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1196 * gdesktopappinfo.c:
1202 * gvolume.h: Documentation updates
1204 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1207 * gfile.h: Doc updates
1209 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1212 * gdesktopappinfo.c: Use hash table iterators.
1214 2007-12-14 Alexander Larsson <alexl@redhat.com>
1217 * gfileattribute.[ch]:
1218 * gfileattribute-priv.h:
1219 Move GFileAttributeValue to a private header, as
1223 Make set_attribute take a type + a pointer instead
1224 of a GFileAttributeValue.
1227 Fix up for above changes.
1228 Add g_file_info_get_attribute_data to get
1229 all info in one call, g_file_info_get_attribute_status
1230 to get the status and g_file_info_get_attribute_as_string.
1234 * glocalfileinfo.[ch]:
1238 Make _guess_type static.
1240 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1243 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1244 made mkenums and friends use temporary files to avoid leaving
1245 empty generated files on failure (#503470).
1247 2007-12-14 Alexander Larsson <alexl@redhat.com>
1249 * gmountoperation.h:
1252 2007-12-14 Alexander Larsson <alexl@redhat.com>
1256 * gfileattribute.[ch]:
1259 * glocalfileoutputstream.c:
1260 * gmountoperation.[ch]:
1261 * goutputstream.[ch]:
1262 Clean up all flags enums to not have _FLAGS in them
1263 Make the names of some of the enums better.
1268 2007-12-14 Michael Natterer <mitch@imendio.com>
1270 * gio.symbols: fix g_io_scheduler symbol names.
1272 2007-12-14 Alexander Larsson <alexl@redhat.com>
1278 * gbufferedinputstream.h:
1279 * gbufferedoutputstream.h:
1282 * gdatainputstream.h:
1283 * gdataoutputstream.h:
1284 * gdesktopappinfo.h:
1285 * gdirectorymonitor.h:
1289 * gfileenumerator.h:
1292 * gfileinputstream.h:
1294 * gfilenamecompleter.h:
1295 * gfileoutputstream.h:
1296 * gfilterinputstream.h:
1297 * gfilteroutputstream.h:
1305 * gmemoryinputstream.h:
1306 * gmemoryoutputstream.h:
1308 * gmountoperation.h:
1311 * gsimpleasyncresult.h:
1313 * gunixinputstream.h:
1315 * gunixoutputstream.h:
1319 * inotify/Makefile.am:
1320 Only allow including <gio/gio.h> from apps
1322 2007-12-14 Alexander Larsson <alexl@redhat.com>
1324 * gioscheduler.[ch]:
1325 * gsimpleasyncresult.c:
1326 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1327 Split out the send_to_mainloop call into two versions instead
1328 of having the block argument.
1330 2007-12-13 Alexander Larsson <alexl@redhat.com>
1332 * gcancellable.[ch]:
1334 * gbufferedinputstream.c:
1335 * gfileenumerator.c:
1336 * gfileinputstream.c:
1337 * gfileoutputstream.c:
1341 g_push/pop_current_cancellable ->
1342 g_cancellable_push/pop_current
1344 2007-12-13 Alexander Larsson <alexl@redhat.com>
1348 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1350 2007-12-13 Alexander Larsson <alexl@redhat.com>
1352 * gmountoperation.h:
1353 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1355 2007-12-12 Alexander Larsson <alexl@redhat.com>
1358 Fix race condition when freeing proxy in
1359 g_io_job_send_to_mainloop().
1361 2007-12-12 Alexander Larsson <alexl@redhat.com>
1367 Make attribute namespace separator "::" instead of ":".
1368 Use - instead of _ as separator in attribute names.
1370 2007-12-12 Alexander Larsson <alexl@redhat.com>
1372 * gbufferedinputstream.h:
1373 * gbufferedoutputstream.h:
1374 * gdatainputstream.h:
1375 * gdataoutputstream.h:
1376 * gdirectorymonitor.h:
1377 * gfileenumerator.h:
1378 * gfileinputstream.h:
1380 * gfileoutputstream.h:
1381 * gfilterinputstream.h:
1382 * gfilteroutputstream.h:
1384 * glocalfileinputstream.h:
1385 * glocalfileoutputstream.h:
1386 * gmemoryinputstream.h:
1387 * gmemoryoutputstream.h:
1388 * gnativevolumemonitor.h:
1390 * gunixinputstream.h:
1391 * gunixoutputstream.h:
1394 s/parent/parent_instance/ in GObjects
1396 2007-12-12 Alexander Larsson <alexl@redhat.com>
1401 No need for padding for interfaces
1403 2007-12-12 Alexander Larsson <alexl@redhat.com>
1407 * gbufferedinputstream.c:
1408 * gbufferedoutputstream.c:
1411 * gdatainputstream.[ch]:
1412 * gdesktopappinfo.c:
1413 * gdirectorymonitor.c:
1415 * gfileattribute.[ch]:
1418 * gfileinputstream.h:
1419 * gfilemonitor.[ch]:
1420 * gfileoutputstream.[ch]:
1421 * gfilterinputstream.h:
1422 * gfilteroutputstream.h:
1425 * gloadableicon.[ch]:
1426 * gmemoryinputstream.c:
1427 * gmountoperation.c:
1429 Fix up a bunch of details in the docs.
1434 2007-12-11 David Zeuthen <davidz@redhat.com>
1436 Rework how volumes, drives and volume monitoring is
1437 done. Previosly the model was
1439 GDrive <1-1> GVolume
1441 where a GDrive instance represented a mount point and a GVolume
1442 instance represented a mounted file system. This patch changes it
1445 GDrive <1-N> GVolume <1-1> GMount
1447 where GMount now serves the purpose of the old GVolume and the new
1448 GVolume serves the purpose of the old GDrive. In addition the new
1449 GDrive interface is used to represent a collection of GVolume
1450 instances (typically partitions) and also contains utility to query
1451 the state of the physical drive the GDrive object represents (such
1452 as checking for media, polling the drive, ejecting the media etc.).
1454 Also implement mounting and unmounting in the Unix volume monitor
1455 backend. A subquent patch will introduce GDrive support for ejection
1459 * gdrive.c: (g_drive_is_media_check_automatic),
1460 (g_drive_is_media_removable), (g_drive_has_media),
1461 (g_drive_can_poll_for_media), (g_drive_eject),
1462 (g_drive_eject_finish), (g_drive_poll_for_media),
1463 (g_drive_poll_for_media_finish):
1465 * gfile.c: (g_file_find_enclosing_mount):
1468 * glocaldirectorymonitor.c:
1469 (g_local_directory_monitor_constructor), (mounts_changed):
1470 * glocalfile.c: (get_mount_info),
1471 (g_local_file_find_enclosing_mount),
1472 (g_local_file_file_iface_init):
1473 * gnativevolumemonitor.h:
1474 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1475 (get_connected_drives), (g_union_volume_monitor_class_init),
1476 (child_volume_added), (child_volume_removed),
1477 (child_volume_changed), (child_mount_added), (child_mount_removed),
1478 (child_mount_pre_unmount), (child_mount_changed),
1479 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1480 (g_union_volume_monitor_remove_monitor),
1481 (_g_mount_get_for_mount_path):
1482 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1483 (guess_system_internal), (_g_get_unix_mounts),
1484 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1485 (g_unix_mount_free), (g_unix_mount_compare),
1486 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1487 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1488 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1489 (type_to_icon), (g_unix_mount_guess_name),
1490 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1491 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1492 (_resolve_symlink), (_resolve_dev_root):
1494 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1495 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1496 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1497 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1498 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1499 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1500 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1501 (g_unix_volume_volume_iface_init):
1503 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1504 (get_mounts), (get_volumes), (get_connected_drives),
1505 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1506 (mountpoints_changed), (mounts_changed),
1507 (g_unix_volume_monitor_init),
1508 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1509 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1510 * gunixvolumemonitor.h:
1511 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1512 (g_volume_mount), (g_volume_mount_finish):
1514 * gvolumemonitor.c: (g_volume_monitor_class_init),
1515 (g_volume_monitor_get_connected_drives),
1516 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1519 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1521 * gmountoperation.h (GPasswordFlags): Close the gap
1523 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1525 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1527 * gdesktopappinfo.[hc]: Remove _-prefixes
1529 2007-12-10 Tor Lillqvist <tml@novell.com>
1531 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1534 2007-12-10 Alexander Larsson <alexl@redhat.com>
1536 * gfile.c (g_file_set_display_name):
1537 Don't hardcode '/' (#502727)
1539 2007-12-09 Hans Breuer <hans@breuer.org>
1541 * makefile.msc : follow lib naming convention
1542 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1543 for user and group name, tested with ../tests/gio-ls
1545 2007-12-09 A. Walton <awalton@svn.gnome.org>
1547 * gdesktopappinfo.c:
1553 * gfileenumerator.c:
1558 * gmemoryinputstream.c:
1559 * gmemoryoutputstream.c:
1561 * gsimpleasyncresult.c:
1562 More documentation cleanup and filling in missing information, bringing
1563 GIO to 99% symbol coverage.
1565 2007-12-08 Hans Breuer <hans@breuer.org>
1567 [gio compiles and links on win32, not sure how much already works]
1568 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1569 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1570 base on win32 API; prefer g_lstat() over lstat(); instead of
1571 localtime_r() use an all GLib implementation on win32;
1572 get_mount_info() still needs a win32 specifc implementation
1573 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1574 win32_get_file_user_info to get owner/group info without uid/gid
1575 * glocalfileinputstream.c : include <io.h> on win32
1576 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1577 definition, use g_win32_ftruncate() for G_OS_WIN32
1578 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1579 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1580 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1581 * makefile.msc : updated
1583 2007-12-07 Alexander Larsson <alexl@redhat.com>
1585 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1586 Avoid warning spew if error == NULL
1588 2007-12-07 Alexander Larsson <alexl@redhat.com>
1591 Update docs wrt etags
1593 2007-12-06 Alexander Larsson <alexl@redhat.com>
1596 Include sys/types.h for dev_t (#501919)
1598 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1602 Make abicheck and pltcheck pass.
1604 2007-12-05 Alexander Larsson <alexl@redhat.com>
1607 * giomodule-priv.h: Added.
1608 * glocaldirectorymonitor.c:
1609 * glocalfilemonitor.c:
1610 * gunionvolumemonitor.c:
1612 Actually add the declaration of _g_io_modules_ensure_loaded
1614 2007-12-05 Alexander Larsson <alexl@redhat.com>
1616 * gdatainputstream.c:
1621 * glocaldirectorymonitor.c:
1622 * glocalfilemonitor.c:
1623 * gunionvolumemonitor.c:
1625 Make g_io_modules_ensure_loaded a private function and
1626 don't pass in the dirname. This means we can do magic
1627 directory finding in the win32 version.
1628 Export the actual load-modules-in-directory code so that
1629 gvfs can reuse that.
1631 2007-12-05 Alexander Larsson <alexl@redhat.com>
1633 * gbufferedinputstream.c:
1634 * gbufferedoutputstream.c:
1637 * gfileenumerator.[ch]:
1638 * gfileinputstream.c:
1639 * gfileoutputstream.[ch]:
1640 * gfilterinputstream.c:
1641 * gfilteroutputstream.c:
1642 * ginputstream.[ch]:
1644 * glocalfileenumerator.c:
1645 * glocalfileinputstream.c:
1646 * glocalfileoutputstream.c:
1647 * gmemoryinputstream.c:
1648 * gmemoryoutputstream.c:
1649 * goutputstream.[ch]:
1652 * gunixinputstream.c:
1653 * gunixoutputstream.c:
1654 Rename all struct members named:
1655 read, write, close, truncate, or mount
1656 to foo_fn, as these are reserved names
1657 and could be defined as macros in libc.
1660 2007-12-04 Alexander Larsson <alexl@redhat.com>
1663 (g_output_stream_close):
1664 Only call flush if non-null.
1666 2007-11-30 Dan Winship <danw@gnome.org>
1668 * ginputstream.c (g_input_stream_set_pending): Make this take a
1669 GError and return a gboolean, and do the "outstanding operation"
1670 check (and the "stream is already closed" check) itself.
1671 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1673 * goutputstream.c (g_output_stream_set_pending)
1674 (g_output_stream_clear_pending): Likewise
1676 * gbufferedinputstream.c:
1677 * gfileinputstream.c:
1678 * gfileoutputstream.c: Update for that
1680 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1681 Like g_simple_async_report_error_in_idle, but takes a GError
1682 rather than building one.
1684 2007-11-30 Dan Winship <danw@gnome.org>
1686 * goutputstream.c: Don't cheat and unset the "pending" flag around
1687 inner calls. Instead, call the class method directly rather than
1688 the wrapper function that checks "pending"
1690 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1692 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1694 2007-12-03 Hans Breuer <hans@breuer.org>
1696 [start of port to win32/msvc]
1697 * gcancellable.c : HAVE_UNIST_H and _pipe()
1698 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1699 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1700 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1702 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1703 * glocalvfs.c : use HAVE_PWD_H
1704 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1705 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1706 * Makefile.am : added to EXTRA_DIST
1708 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1710 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1713 2007-12-03 Alexander Larsson <alexl@redhat.com>
1716 Handle OSX style xattrs API (#500506)
1718 2007-12-03 Alexander Larsson <alexl@redhat.com>
1722 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1724 2007-12-02 A. Walton <awalton@svn.gnome.org>
1728 Documentation accuracy fixes.
1730 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1732 * gioenumtypes.c.template: Fix typo.
1734 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1736 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1738 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1740 * gdirectorymonitor.c:
1741 * gfilemonitor.c: Add properties
1743 * gbufferedoutputstream.c: Don't mark buffer-size property
1746 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1748 * gbufferedoutputstream.c: Add auto-grow property.
1750 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1752 * *.c: Unify the capitalization of section headings.
1754 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1756 * gmountoperation.c: Add properties
1758 * gdatainputstream.c: Turn byte-order and newline-type into
1761 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1763 * gioenumtypes.[hc].template: Templates for enum registration
1765 * Makefile.am: Generate gioenumtypes.[hc]
1767 * gio.h: Include gioenumtypes.h
1769 * gfile.h: Add some explicit nicks.
1771 * gio.symbols: Add new symbols
1773 * pltcheck.sh: Adjust
1775 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1777 * *.c: Explain etags and link to the explanation
1779 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1781 * *.c: Explain I/O priority.
1783 * *.c: More coding style fixes.
1785 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1787 * gasyncresult.c: Add another paragraph to the intro,
1788 adjust coding style of example.
1790 2007-11-29 A. Walton <awalton@svn.gnome.org>
1793 Fixes unknown meaning in GAppLaunchContext docs.
1795 Clarify asynchronous ops.
1797 Fix entity tag docs.
1800 Provides missing gtk-doc section, fixes API docs slighly.
1801 * gsimpleasyncresult.c:
1802 Fill in missing info in docs.
1803 * gunixinputstream.c:
1804 * gunixoutputstream.c:
1805 Be more expressive in short description.
1807 Remove gtk-doc stubs for non-public API.
1809 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1811 * *.c: Coding style fixups
1813 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1815 * inotify/inotify-helper.c: Don't export the lock from libgio.
1817 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1820 * abicheck.sh: Fix copy-and-paste leftovers
1822 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1824 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1826 2007-11-28 Alexander Larsson <alexl@redhat.com>
1830 Removed unnecessary file
1832 * gdesktopappinfo.[ch]:
1835 * glocaldirectorymonitor.[ch]:
1837 * glocalfileenumerator.[ch]:
1838 * glocalfileinputstream.[ch]:
1839 * glocalfilemonitor.[ch]:
1840 * glocalfileoutputstream.[ch]:
1842 * gnativevolumemonitor.c:
1843 * gpollfilemonitor.[ch]:
1844 * gunionvolumemonitor.[ch]:
1847 * gunixvolumemonitor.[ch]:
1850 * inotify/ginotifydirectorymonitor.[ch]:
1851 * inotify/ginotifyfilemonitor.[ch]:
1852 * inotify/inotify-helper.c:
1853 Append _ to all internal functions
1857 Export symbols needed for modules
1859 2007-11-28 Alexander Larsson <alexl@redhat.com>
1862 * abicheck.sh: Added.
1863 * makegioalias.pl: Added.
1864 * pltcheck.sh: Added.
1865 * gio.symbols: Added.
1868 Initial work on adding symbol handling.
1871 Correct ifdef guard name
1874 * inotify/Makefile.am:
1875 * xdgmime/Makefile.am:
1876 Include toplevel Makefile.decl
1878 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1880 * gcontenttype.c: Move doc comments to the unix section.
1882 * *.[hc]: More trivial doc corrections.
1884 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1886 * gpollfilemonitor.c:
1890 * gdesktopappinfo.c:
1895 * gdatainputstream.c:
1896 * gdatainputstream.h:
1897 * gdataoutputstream.c:
1898 * gdataoutputstream.h:
1899 * gfileinfo.h: Doc cleanups
1901 2007-11-28 Andre Klapper <a9016009@gmx.de>
1903 * gdesktopappinfo.c: Fix a typo.
1905 2007-11-27 Andre Klapper <a9016009@gmx.de>
1907 * glocalfileoutputstream.c: Fix a typo.
1909 2007-11-27 Alexander Larsson <alexl@redhat.com>
1912 Don't include removed headers
1914 2007-11-27 Alexander Larsson <alexl@redhat.com>
1917 * gsocketinputstream.[ch]: Removed.
1918 * gsocketoutputstream.[ch]: Removed.
1919 * gunixinputstream.[ch]: Added.
1920 * gunixoutputstream.[ch]: Added.
1921 Renamed GSocket*Stream to GUnix*Stream and made
1922 it unix-only, since its not really only for sockets
1923 and it only works on unix (but is highly useful there).
1925 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1931 * gbufferedinputstream.c:
1932 * gbufferedinputstream.h:
1933 * gbufferedoutputstream.c:
1934 * gbufferedoutputstream.h:
1938 * gdatainputstream.c:
1939 * gdatainputstream.h:
1940 * gdataoutputstream.c:
1941 * gdataoutputstream.h:
1942 * gdirectorymonitor.c:
1943 * gdirectorymonitor.h:
1950 * gfileenumerator.c:
1951 * gfileenumerator.h:
1956 * gfileinputstream.c:
1957 * gfileinputstream.h:
1960 * gfilenamecompleter.c:
1961 * gfilenamecompleter.h:
1962 * gfileoutputstream.c:
1963 * gfileoutputstream.h:
1964 * gfilterinputstream.c:
1965 * gfilterinputstream.h:
1966 * gfilteroutputstream.c:
1967 * gfilteroutputstream.h:
1980 * glocalfileoutputstream.c:
1981 * gmemoryinputstream.c:
1982 * gmemoryinputstream.h:
1983 * gmemoryoutputstream.c:
1984 * gmemoryoutputstream.h:
1985 * gmountoperation.c:
1986 * gmountoperation.h:
1989 * gpollfilemonitor.c:
1992 * gsimpleasyncresult.c:
1993 * gsimpleasyncresult.h:
1994 * gsocketinputstream.c:
1995 * gsocketinputstream.h:
1996 * gsocketoutputstream.c:
1997 * gsocketoutputstream.h:
2004 * gunixvolumemonitor.c:
2013 Bumps documentation to 93% symbol coverage, touching most
2014 of the public files. Fixes broken function documentation prototypes.
2015 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2016 gtk-doc headers in private files.
2018 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2020 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2021 (g_buffered_input_stream_read_byte):
2022 * gbufferedinputstream.h:
2023 New functions for efficient access to buffer and simple single byte
2026 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2027 (g_data_input_stream_read_until):
2028 * gdatainputstream.h:
2029 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2030 read_until with multiple stop chars.
2032 2007-11-27 Alexander Larsson <alexl@redhat.com>
2036 * inotify/Makefile.am:
2037 Use the user-specified giomoduledir
2039 2007-11-27 Alexander Larsson <alexl@redhat.com>
2043 Add catch-all gio.h header
2044 Don't install gdummyfile.h
2046 2007-11-26 Alexander Larsson <alexl@redhat.com>
2048 * Makefile.am (gioinclude_HEADERS):
2049 Remove trailing whitespace
2051 2007-11-26 Alexander Larsson <alexl@redhat.com>
2053 Merge gio-standalone into glib
2055 2007-11-25 Christian Kellner <gicmo@gnome.org>
2057 * gio/goutputstream.c:
2058 Fix small mistake in the docs.
2060 2007-11-21 Christian Persch <chpe@gnome.org>
2062 * gio/glocalfile.c: (g_local_file_trash):
2063 Convert filenames to UTF-8 for GError.
2064 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2065 as per xdg base dir spec.
2067 2007-11-21 Christian Persch <chpe@gnome.org>
2069 * gio/gdesktopappinfo.c:
2070 Use that g_key_file_to_data cannot fail.
2072 Use stock defines for the key file group and key names.
2075 2007-11-21 Alexander Larsson <alexl@redhat.com>
2078 (copy_stream_with_progress):
2079 Make sure we do a final progress callback with
2080 the full total size.
2082 2007-11-21 Alexander Larsson <alexl@redhat.com>
2085 Export g_file_copy_attributes
2086 Remove padding as its not needed for interfaces
2088 2007-11-20 Alexander Larsson <alexl@redhat.com>
2093 Add G_IO_ERROR_WOULD_MERGE for
2094 copy/move dir on dir with overwrite.
2096 2007-11-20 Alexander Larsson <alexl@redhat.com>
2099 * gio/glocalfileinfo.c:
2100 Add COPY_NAME (this is an optional
2101 non-modified utf8 version of the name) that
2104 2007-11-20 Alexander Larsson <alexl@redhat.com>
2106 * gio/glocalfileenumerator.c:
2107 Report errors as GIOError, not GFileError
2109 2007-11-16 Alexander Larsson <alexl@redhat.com>
2111 * gio/glocalfileoutputstream.c:
2112 * gio/gwin32appinfo.c:
2113 Fix typos in strings.
2114 Patch from Luca Ferretti <elle.uca@libero.it>
2116 2007-11-15 Alexander Larsson <alexl@redhat.com>
2119 Post release version bump
2121 === gio-standalone 0.1.2 ===
2123 2007-11-15 Alexander Larsson <alexl@redhat.com>
2125 * docs/reference/gio/Makefile.am:
2126 Fix up distcheck by removing weird
2132 2007-11-14 Alexander Larsson <alexl@redhat.com>
2134 * gio/gdesktopappinfo.c:
2135 * gio/glocaldirectorymonitor.c:
2137 * gio/glocalfileinfo.c:
2138 * gio/inotify/inotify-sub.c:
2139 * programs/gio-cat.c:
2140 * programs/gio-copy.c:
2141 * programs/gio-info.c:
2142 * programs/gio-ls.c:
2143 * programs/gio-monitor-dir.c:
2144 * programs/gio-monitor-file.c:
2145 * programs/gio-mount.c:
2146 * programs/gio-move.c:
2147 * programs/gio-rm.c:
2148 * programs/gio-save.c:
2149 * programs/gio-trash.c:
2150 Leak fixes from Kjartan Maraas
2152 2007-11-14 Alexander Larsson <alexl@redhat.com>
2154 * gio/fam/fam-helper.c:
2156 * gio/glocalfileinfo.c:
2160 * gio/inotify/inotify-diag.c:
2161 * gio/inotify/inotify-kernel.c:
2162 Various code cleanups from Kjartan Maraas
2164 2007-11-14 Alexander Larsson <alexl@redhat.com>
2166 * gio/gioscheduler.c:
2168 Set up threadpool so that we cache 2 unused
2169 idle threads for at 15 secs. This means we
2170 will reuse thread-local data (like dbus connections)
2173 2007-11-14 Alexander Larsson <alexl@redhat.com>
2175 * gio/fam/fam-helper.c:
2176 * gio/fam/gfamdirectorymonitor.c:
2177 * gio/fam/gfamfilemonitor.c:
2179 * gio/gcontenttype.c:
2180 * gio/gdatainputstream.c:
2181 * gio/gdataoutputstream.c:
2185 * gio/gfileattribute.h:
2186 * gio/gfileenumerator.c:
2188 * gio/ginputstream.c:
2191 * gio/glocalfileinfo.c:
2192 * gio/goutputstream.c:
2193 * gio/gpollfilemonitor.c:
2194 * gio/gsimpleasyncresult.c:
2195 * gio/gunixmounts.c:
2196 * gio/gunixmounts.h:
2197 * gio/inotify/ginotifydirectorymonitor.c:
2198 * gio/inotify/ginotifyfilemonitor.c:
2199 * gio/inotify/inotify-diag.c:
2200 * gio/inotify/inotify-kernel.c:
2201 * gio/inotify/inotify-path.c:
2203 * gio/test-streams.c:
2204 * programs/gio-info.c:
2205 * programs/gio-monitor-dir.c:
2206 * programs/gio-monitor-file.c:
2207 Various code cleanups from Kjartan Maraas
2209 2007-11-13 Alexander Larsson <alexl@redhat.com>
2212 Handle the uri-scheme calls for dummy files
2214 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2216 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2217 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2218 to avoid clash with the C++ keyword.
2220 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2222 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2223 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2225 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2227 * gio/glocaldirectorymonitor.c:
2228 * gio/glocalfilemonitor.c:
2229 * gio/gunionvolumemonitor.c:
2230 Don't use g_once_init_*() for initializations that could fail and
2231 could leave the initialization variable set to 0 but use GOnce.
2232 This prevents a deadlock on the second call when trying to create
2233 a monitor and no monitor type is available. Thanks to Sven Herzberg
2236 2007-11-11 Sven Herzberg <sven@imendio.com>
2238 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2239 #ifdef (make it work on MacOS X again)
2241 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2243 Fixes Changelog for last two commits (sorry guys).
2245 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2247 * gio/gbufferedinputstream.c:
2248 * gio/gdatainputstream.c:
2250 * gio/gfileoutputstream.c:
2251 * gio/gfilterinputstream.c:
2252 * gio/glocalfileinputstream.c:
2255 More consistency fixes in g*stream.c files.
2256 Significant clean of gfile's documentation, filling in of
2257 asynchronous operations documentation.
2259 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2261 * gio/gasyncresult.c:
2262 * gio/gbufferedinputstream.c:
2263 * gio/gbufferedoutputstream.c:
2264 * gio/gcancellable.c:
2265 * gio/gcontenttype.c:
2266 * gio/gdatainputstream.c:
2267 * gio/gdataoutputstream.c:
2268 * gio/gdesktopappinfo.c:
2271 * gio/gfileattribute.c:
2272 * gio/gio/gfileenumerator.c:
2274 * gio/gfileinputstream.c:
2275 * gio/gfilemonitor.c:
2276 * gio/gfileoutputstream.c:
2277 * gio/ginputstream.c:
2279 * gio/gioscheduler.c:
2280 * gio/gloadableicon.c:
2281 * gio/glocalfileoutputstream.c:
2282 * gio/gmemoryoutputstream.c:
2283 * gio/gmountoperation.c:
2284 * gio/goutputstream.c:
2286 * gio/gsimpleasyncresult.c:
2287 * gio/gunionvolumemonitor.c:
2288 * gio/gunixmounts.c:
2289 * gio/gunixvolume.c:
2293 * gio/gvolumemonitor.c:
2294 Updated documentation stubs, working towards consistency and
2297 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2299 * gio/gmemoryoutputstream.c:
2300 * gio/gmemoryoutputstream.h:
2301 Change g_memory_output_stream_set_free_on_close() to
2302 g_memory_output_stream_set_free_data() as this makes more sense and
2303 is more consistent with GMemoryInputStream.
2305 2007-11-07 Alexander Larsson <alexl@redhat.com>
2312 Change how we find the default vfs so that
2313 we can handle a gvfs failing to init
2315 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2317 * gio/gbufferedoutputstream.c:
2318 * gio/gdatainputstream.c:
2319 * gio/gdataoutputstream.c:
2320 * gio/gfileinputstream.c:
2321 * gio/gfileoutputstream.c:
2322 * gio/gfilterinputstream.c:
2323 * gio/gfilteroutputstream.c:
2324 * gio/ginputstream.c:
2325 * gio/gmemoryinputstream.c:
2326 * gio/gmemoryoutputstream.c:
2327 * gio/goutputstream.c:
2328 * gio/gsimpleasyncresult.c:
2329 * gio/gsocketinputstream.c:
2330 * gio/gsocketoutputstream.c:
2331 Add guards to the remaining public functions, add a TODO for
2332 an unimplemented function and remove some useless guards.
2334 2007-11-07 Alexander Larsson <alexl@redhat.com>
2337 Autoconf checks for the various types of
2338 getpwuid_r and getgrgid_r
2340 * gio/glocalfileinfo.c:
2341 Use the autoconf checks from above
2343 2007-11-07 Alexander Larsson <alexl@redhat.com>
2346 (g_local_file_query_filesystem_info):
2347 Some fixes for the statvfs case
2349 2007-11-07 Alexander Larsson <alexl@redhat.com>
2352 (g_local_file_query_filesystem_info):
2353 Pick the "best" of statfs / statvfs for the system
2354 if both are availible.
2356 2007-11-07 Alexander Larsson <alexl@redhat.com>
2358 Solaris fixes from Halton.Huo@Sun.COM:
2365 * gio/glocalfileinfo.c:
2366 Fix for solaris definition of getpwuid_r
2368 * gio/test-streams.c:
2369 Use G_GNUC_PRETTY_FUNCTION
2371 2007-11-07 Alexander Larsson <alexl@redhat.com>
2373 * gio/gdesktopappinfo.c:
2374 (update_default_list):
2375 Remove double semicolon.
2376 Patch from Jens Granseuer
2378 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2380 * docs/reference/gio/gio-sections.txt:
2381 * gio/gbufferedinputstream.c:
2382 * gio/gbufferedinputstream.h:
2383 * gio/gdatainputstream.c:
2384 * gio/gfileenumerator.c:
2385 * gio/gioscheduler.c:
2386 * gio/gunionvolumemonitor.c:
2388 * programs/gio-save.c:
2389 Fix typo: availible -> available. Unfortuntely this breaks API
2390 and ABI as g_buffered_input_stream_get_available() was renamed.
2392 * gio/gunixmounts.c:
2393 * gio/gbufferedinputstream.c:
2394 Add guards for public functions.
2396 2007-11-06 Ross Burton <ross@openedhand.com>
2398 * docs/reference/gio/Makefile.am:
2399 Fix invalid += usage which automake 1.10 doesn't like.
2401 2007-11-06 Alexander Larsson <alexl@redhat.com>
2404 (g_app_launch_context_class_init):
2407 Patch from Ross Burton
2409 2007-11-06 Alexander Larsson <alexl@redhat.com>
2412 Post release version bump
2414 === gio-standalone 0.1.1 ===
2416 2007-11-06 Alexander Larsson <alexl@redhat.com>
2419 Bump version to 0.1.1
2421 * gio/gsimpleasyncresult.c:
2422 (g_simple_async_result_set_from_error):
2423 Remove bogus g_return_if_fail
2425 2007-11-06 Alexander Larsson <alexl@redhat.com>
2428 The name is gio-standalone
2431 Add top src/builddir to includedir
2433 2007-11-06 Alexander Larsson <alexl@redhat.com>
2435 * docs/reference/gio/gio-sections.txt:
2437 * gio/gbufferedinputstream.c:
2438 * gio/gbufferedoutputstream.c:
2439 * gio/gcancellable.c:
2440 * gio/gdatainputstream.h:
2441 * gio/gdataoutputstream.c:
2442 * gio/gdataoutputstream.h:
2443 * gio/gdirectorymonitor.c:
2445 * gio/gfileattribute.c:
2446 * gio/gfileattribute.h:
2447 * gio/gfileenumerator.c:
2448 * gio/gfileenumerator.h:
2451 * gio/gfileinputstream.h:
2452 * gio/gfilemonitor.c:
2453 * gio/gfileoutputstream.h:
2454 * gio/glocalfilemonitor.h:
2455 * gio/glocalfileoutputstream.h:
2456 * gio/gmemoryinputstream.c:
2457 * gio/gmemoryoutputstream.c:
2458 * gio/gmountoperation.c:
2459 * gio/goutputstream.c:
2460 * gio/goutputstream.h:
2462 * gio/gsimpleasyncresult.c:
2463 * gio/gunixmounts.c:
2464 * gio/gunixmounts.h:
2466 * gio/inotify/inotify-helper.c:
2467 Fix gtk-doc warnings
2469 Patch from Ross Burton
2471 2007-11-06 Alexander Larsson <alexl@redhat.com>
2473 * gio/gfilenamecompleter.c:
2474 (g_filename_completer_get_completions):
2477 * gio/gunixvolume.c:
2478 Remove unused function
2480 Patches from Ross Burton
2482 2007-11-06 Alexander Larsson <alexl@redhat.com>
2487 Padding not needed for interfaces
2489 2007-11-06 Alexander Larsson <alexl@redhat.com>
2491 * gio/gfilemonitor.c:
2495 Make giotypes.h an internal file
2498 * gio/gbufferedinputstream.h:
2499 * gio/gbufferedoutputstream.h:
2500 * gio/gcancellable.h:
2501 * gio/gdatainputstream.h:
2502 * gio/gdataoutputstream.h:
2503 * gio/gdirectorymonitor.c:
2504 * gio/gdirectorymonitor.h:
2509 * gio/gfileattribute.h:
2510 * gio/gfileenumerator.h:
2515 * gio/gfilemonitor.c:
2516 * gio/gfilemonitor.h:
2517 * gio/gfilenamecompleter.c:
2518 * gio/gfilenamecompleter.h:
2519 * gio/gfilterinputstream.h:
2520 * gio/gfilteroutputstream.h:
2521 * gio/ginputstream.h:
2522 * gio/gmemoryinputstream.h:
2523 * gio/gmemoryoutputstream.h:
2524 * gio/gmountoperation.c:
2525 * gio/gmountoperation.h:
2526 * gio/gnativevolumemonitor.c:
2527 * gio/goutputstream.h:
2530 * gio/gsimpleasyncresult.c:
2531 * gio/gsimpleasyncresult.h:
2532 * gio/gsocketinputstream.h:
2533 * gio/gsocketoutputstream.h:
2534 * gio/gthemedicon.c:
2535 * gio/gthemedicon.h:
2539 * gio/gvolumemonitor.c:
2540 * gio/gvolumemonitor.h:
2541 Add padding in classes where it seems useful
2542 Don't include giotypes.h from public headers
2543 Move in Class definitions into c file where possible
2548 2007-11-06 Alexander Larsson <alexl@redhat.com>
2550 * docs/reference/gio/gio-docs.xml:
2551 Better structure for API docs
2553 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2556 * gio/gloadableicon.c:
2557 * gio/gsimpleasyncresult.c:
2558 * gio/gthemedicon.c:
2559 Add some more guards to public functions. Only files missing are now
2562 2007-11-06 Alexander Larsson <alexl@redhat.com>
2564 * docs/reference/gio/gio-docs.xml:
2565 Remove old files, add missing ones
2567 2007-11-06 Alexander Larsson <alexl@redhat.com>
2569 * docs/reference/gio/gio-sections.txt:
2572 Hide implementation classes
2574 * gio/gdriveprivate.h:
2575 * gio/gvolumeprivate.h:
2576 Remove non-existing function declarations
2578 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2581 Fix compilation warnings and add guards to the new functions.
2583 * gio/gasyncresult.c:
2585 Add guards to the public functions.
2588 Implement get_path().
2590 2007-11-06 Alexander Larsson <alexl@redhat.com>
2592 * gio/gfilenamecompleter.c:
2593 Make g_filename_completer_get_completions
2594 return char ** instead of GList for
2597 * docs/reference/gio/gio-docs.xml:
2598 * docs/reference/gio/gio-sections.txt:
2600 * gio/gasyncresult.c:
2601 * gio/gbufferedinputstream.c:
2602 * gio/gbufferedoutputstream.c:
2603 * gio/gcancellable.c:
2604 * gio/gcontenttype.c:
2605 * gio/gdatainputstream.c:
2606 * gio/gdataoutputstream.c:
2607 * gio/gdesktopappinfo.c:
2608 * gio/gdirectorymonitor.c:
2612 * gio/gfileattribute.c:
2613 * gio/gfileenumerator.c:
2616 * gio/gfileinputstream.c:
2617 * gio/gfilemonitor.c:
2618 * gio/gfilenamecompleter.c:
2619 * gio/gfilenamecompleter.h:
2620 * gio/gfileoutputstream.c:
2621 * gio/gfilterinputstream.c:
2623 * gio/ginputstream.c:
2625 * gio/gioscheduler.c:
2626 * gio/gloadableicon.c:
2627 * gio/glocaldirectorymonitor.c:
2629 * gio/glocalfileinputstream.c:
2630 * gio/glocalfilemonitor.c:
2631 * gio/glocalfileoutputstream.c:
2633 * gio/gmemoryinputstream.c:
2634 * gio/gmemoryoutputstream.c:
2635 * gio/gmountoperation.c:
2636 * gio/goutputstream.c:
2637 * gio/gpollfilemonitor.c:
2639 * gio/gsimpleasyncresult.c:
2640 * gio/gsocketinputstream.c:
2641 * gio/gsocketoutputstream.c:
2642 * gio/gthemedicon.c:
2643 * gio/gunionvolumemonitor.c:
2645 * gio/gunixmounts.c:
2646 * gio/gunixvolume.c:
2647 * gio/gunixvolumemonitor.c:
2651 * gio/gvolumemonitor.c:
2652 * gio/gwin32appinfo.c:
2653 Add (mostly stub) doc strings to public functions.
2654 Patch from Andrew Walton (awalton@gmail.com)
2656 2007-11-06 Alexander Larsson <alexl@redhat.com>
2658 * gio/gappinfo.[ch]:
2659 Added GAppLaunchContext object and pass that to launch.
2660 This allows simple implementation of both
2661 launch-on-screen and startup notification via a gtk+
2662 subclass of GAppLaunchContext
2664 * gio/gdesktopappinfo.c:
2665 Implement GAppLaunchContext API
2667 * gio/gwin32appinfo.c:
2670 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2672 * gio/gmountoperation.c:
2673 Add some guards to GMountOperation's public functions.
2675 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2679 * gio/gcancellable.c:
2680 * gio/gdirectorymonitor.c:
2682 * gio/gfileenumerator.c:
2683 * gio/gfilemonitor.c:,
2684 * gio/gfilenamecompleter.c:
2687 * gio/gioscheduler.c:
2691 * gio/gvolumemonitor.c:
2692 Add even more guards to various public functions.
2694 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2697 Add guards to the public functions of GAppInfo.
2699 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2701 * gio/gcontenttype.c:
2702 Add some more guards for public functions.
2704 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2706 * gio/fam/fam-module.c:
2707 * gio/fam/gfamdirectorymonitor.c:
2708 * gio/fam/gfamdirectorymonitor.h:
2709 * gio/fam/gfamfilemonitor.c:
2710 * gio/fam/gfamfilemonitor.h:
2711 * gio/inotify/ginotifydirectorymonitor.c:
2712 * gio/inotify/ginotifydirectorymonitor.h:
2713 * gio/inotify/ginotifyfilemonitor.c:
2714 * gio/inotify/ginotifyfilemonitor.h:
2715 Add proper copyright information and remove an unused variable
2716 in the GInotifyFileMonitor constructor.
2718 * gio/gcancellable.c:
2719 Add a guard for a public function and an assertion to prevent
2720 an undefined program state.
2722 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2724 * gio/gfileattribute.c:
2725 Don't run into an assertion if the given attribute value is NULL
2726 in g_file_attribute_value_get_*() but instead return a fallback
2727 value that makes sense in most situations. Passing them a attribute
2728 value with the wrong type will still run into an assertion.
2730 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2732 * gio/gfileattribute.c:
2734 Add even more guards to the public functions. Also fix the refcounting
2735 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2736 let g_file_info_list_attributes() filter the attributes by namespace
2737 instead of simply ignoring the namespace parameter.
2739 2007-11-03 Sven Herzberg <sven@imendio.com>
2741 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2742 (This makes gio work on MacOS X again)
2744 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2747 Build the gio subdirectory before the docs. Otherwise the build will
2750 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2751 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2752 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2753 Add guards to the public functions.
2755 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2757 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2758 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2759 to prevent a compiler warning.
2761 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2762 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2763 return something in the non-void function find_topdir_for().
2765 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2772 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2774 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2775 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2776 * gwin32appinfo.c (g_win32_app_info_launch):
2777 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2778 envp_for_startup_id, g_desktop_app_info_launch,
2779 g_desktop_app_info_launch_uris):
2781 Give an opaque 'startup_id' string instead of 'envp'.
2782 Support empty file lists for launching new windows.
2783 Fix infinite recursion bug when launching URIs.
2785 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2788 Add guard to the new g_file_get_uri_scheme() function.
2790 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2793 Convert a g_return_val_if_fail() to setting the GError instead as
2794 otherwise applications have to verify the parameter before otherwise
2795 and the parameter might come directly from the user.
2797 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2799 * gio/inotify/ginotify*.[ch]:
2800 Add missing copyright information.
2802 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2805 Add guards in the beginning of public functions to check for valid
2806 parameters and fix a bug in copy_stream_with_progress() that could've
2807 caused writing less bytes than reading.
2808 * gio/glocalfileinfo.c:
2809 Check for a NULL parameter and set the GError accordingly then.
2810 * gio/goutputstream.c:
2811 Fix the same bug as in gfile.c that could've caused writing less bytes
2812 than reading in g_output_stream_real_splice().
2814 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2817 Use the correct gvolumeprivate.h naming
2819 2007-11-01 Christian Kellner <gicmo@gnome.org>
2822 Remove leftover "$(daemon_sources)" entry.
2824 2007-11-01 Christian Kellner <gicmo@gnome.org>
2829 Add copyright information to source files.
2831 2007-11-01 Alexander Larsson <alexl@redhat.com>
2835 Add g_file_get_uri_scheme
2837 2007-11-01 Alexander Larsson <alexl@redhat.com>
2840 * gio/gdesktopappinfo.c:
2841 * gio/gwin32appinfo.c:
2842 Add g_app_info_get_default_for_uri_scheme.
2844 2007-11-01 Alexander Larsson <alexl@redhat.com>
2847 Correct filename for gdriveprivate.h
2849 2007-10-31 Alexander Larsson <alexl@redhat.com>
2852 Rename id:value to id:file
2855 * gio/glocalfileinfo.c:
2858 2007-10-31 Alexander Larsson <alexl@redhat.com>
2860 * gio/gunixvolume.c:
2862 Remove g_volume_get_platform_id, as thats not
2863 needed with the simpler union volume monitor
2865 2007-10-31 Alexander Larsson <alexl@redhat.com>
2868 * gio/guniondrive.[ch]: Removed.
2869 * gio/gunionvolume.[ch]: Removed.
2870 Remove GUnionDrive/Volume
2872 * gio/gunionvolumemonitor.c:
2873 Simplify union volume monitor, now we
2874 only have one native volume monitor and
2875 we use the actual volumes/drives from the
2876 child monitors instead of wrapping them
2878 * gio/gnativevolumemonitor.[ch]:
2879 Base class for native volume monitors.
2880 Includes priority and get_volume_for_mountpoint
2883 Add g_file_find_enclosing_volume
2886 Remove volume name fs attribute
2887 Add readonly fs attribute
2890 Implement readonly attribute
2891 remove volume name attribute
2892 Implement find_enclosing volume
2894 * gio/gunixmounts.c:
2895 Add a volume for "/".
2897 * gio/gunixvolume.[ch]:
2898 Set better name for /
2900 * gio/gunixvolumemonitor.[ch]:
2901 Derive from GNativeVolumeMonitor
2902 Implement get_volume_for_mountpoint
2905 GVolume typedef moved to gfile.h
2907 * gio/gvolumeprivate.h:
2908 Add g_volume_get_for_mount_path
2910 2007-10-31 Alexander Larsson <alexl@redhat.com>
2912 * gio/gunixmounts.[ch]:
2913 Add cache info to unix mount listers
2914 Make getmntent use threadsafe
2915 Add is_system_internal attribute for GUnixMount
2917 * gio/gunixvolume.c:
2918 (g_unix_volume_new):
2919 Use is_system_internal instead of own code
2921 * gio/glocaldirectorymonitor.c:
2922 * gio/gunixvolumemonitor.c:
2923 Update to new gunixmounts API
2928 2007-10-30 Alexander Larsson <alexl@redhat.com>
2931 Add volume name fsinfo attribute
2934 Read volume name info
2936 * gio/gunionvolumemonitor.c:
2937 Fix infinite loops when finalizing a union volume monitor
2939 2007-10-30 Alexander Larsson <alexl@redhat.com>
2941 * gio/goutputstream.[ch]:
2942 Add splice() with default implementation
2944 * gio/gsocketoutputstream.c:
2945 (g_socket_output_stream_write):
2946 Return error on cancellation correctly.
2948 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2950 * gio/glocalfile.c (g_local_file_trash):
2951 Do not leak a string.
2953 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2955 * gio/gfile.c (g_file_load_contents):
2956 Unref the stream after closing it.
2958 2007-10-25 Alexander Larsson <alexl@redhat.com>
2960 * gio/gioscheduler.h:
2963 2007-10-25 Alexander Larsson <alexl@redhat.com>
2967 Add g_file_has_uri_scheme and implement for local files
2969 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2971 * gio/gdesktopappinfo.c: do not leak a string.
2973 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2975 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2976 (g_local_directory_monitor_new):
2977 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2978 (g_local_file_monitor_new):
2979 Only look for the monitor type that should be used the first time
2980 and use g_qsort_with_data() instead of our own bubble sort
2983 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2986 * gio/fam/Makefile.am:
2987 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2988 * gio/fam/fam-helper.h:
2989 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2990 * gio/fam/gfamdirectorymonitor.c:
2991 * gio/fam/gfamdirectorymonitor.h:
2992 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2993 * gio/fam/gfamfilemonitor.h:
2994 * gio/glocaldirectorymonitor.c:
2995 * gio/glocaldirectorymonitor.h:
2996 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2997 * gio/glocalfilemonitor.h:
2998 * gio/inotify/Makefile.am:
2999 * gio/inotify/ginotifydirectorymonitor.c:
3000 * gio/inotify/ginotifydirectorymonitor.h:
3001 * gio/inotify/ginotifyfilemonitor.c:
3002 * gio/inotify/ginotifyfilemonitor.h:
3003 Implement the FAM and Inotify monitors as
3004 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3005 their own GIO module. GLocal(Directory|File)Monitor will use the
3006 monitor with the highest rank that is supported on that machine.
3008 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3011 Change GIO module dir to $(libdir)/gio/modules and change
3012 the log domain from GVFS to GIO. Also only export symbols starting
3013 with g_ in the resulting library.
3014 * gio/test-streams.c: (main):
3015 Set log handler for the GIO log domain.
3017 2007-10-22 Alexander Larsson <alexl@redhat.com>
3019 * gio/gfilenamecompleter.[ch]:
3020 Add g_filename_completer_set_dirs_only
3022 2007-10-22 Alexander Larsson <alexl@redhat.com>
3025 * gio/gurifuncs.[ch]:
3026 Add some simple URI helpers
3028 * gio/gfilenamecompleter.[ch]:
3029 Added object for filename (parse name actually) completion
3032 Handle ~ in parse names
3034 2007-10-17 Alexander Larsson <alexl@redhat.com>
3037 * gio/glocalfileinfo.c:
3038 Add and implement id:value attribute
3040 2007-10-17 Alexander Larsson <alexl@redhat.com>
3043 * gio/guniondrive.c:
3045 Add and implement g_drive_has_volumes
3047 2007-10-17 Alexander Larsson <alexl@redhat.com>
3050 * gio/glocalfileinfo.[ch]:
3051 Add unix:is_mountpoint and implement for local files
3053 2007-10-16 Alexander Larsson <alexl@redhat.com>
3055 * gio/gunionvolumemonitor.c:
3056 (g_union_volume_monitor_init):
3057 Fix up the unix type getting so that it works with gcc
3059 2007-10-12 Alexander Larsson <alexl@redhat.com>
3062 * gio/glocalfileinfo.c:
3063 Add thumbnail:failed to file info
3065 2007-10-12 Richard Hult <richard@imendio.com>
3067 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3068 optimizing away the get_type call (happens with some gcc versions,
3069 like the one shipped with OS X 10.4).
3071 2007-10-12 Alexander Larsson <alexl@redhat.com>
3073 * gio/glocalfileinfo.c:
3074 (_g_local_file_info_set_attribute):
3075 Fix build if not HAVE_XATTR
3076 Patch from Milosz Derezynski <internalerror@gmail.com>
3078 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3080 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3081 around for review, otherwise I would have asked you before
3084 2007-10-11 Alexander Larsson <alexl@redhat.com>
3087 Add thumbnail:path attribute
3089 * gio/glocalfileinfo.c:
3090 Implement thumbnail:path for local files
3092 2007-10-11 Alexander Larsson <alexl@redhat.com>
3094 * gio/glocalfileinfo.c:
3095 (_g_local_file_info_get):
3096 Avoid duplicate icon names
3098 2007-10-11 Alexander Larsson <alexl@redhat.com>
3100 * gio/gthemedicon.[ch]:
3101 Change g_themed_icon_get_names return type to const
3103 2007-10-10 Alexander Larsson <alexl@redhat.com>
3105 * gio/glocalfileinfo.c:
3106 Don't reference freed memory
3108 2007-10-10 Alexander Larsson <alexl@redhat.com>
3110 * gio/gfileattribute.c:
3113 * gio/glocalfileinfo.c:
3116 2007-10-10 Alexander Larsson <alexl@redhat.com>
3119 Check for NULL icons
3121 * gio/gfileattribute.c:
3122 Don't dup when getting objects (same as for string attributes)
3124 * gio/gicon.c (g_icon_equal):
3125 Safely handle NULLs in equal
3127 2007-10-10 Alexander Larsson <alexl@redhat.com>
3130 Fix c++ compilation issues
3131 Patch from Milosz Derezynski <internalerror@gmail.com>
3133 2007-10-10 Alexander Larsson <alexl@redhat.com>
3135 * programs/gio-monitor-dir.c:
3136 Don't crash if dir monitor not supported.
3138 2007-10-09 Alexander Larsson <alexl@redhat.com>
3141 Add missing G_END_DECLS
3143 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3145 * gio/gfile.c: (g_file_set_display_name),
3146 (g_file_query_settable_attributes),
3147 (g_file_query_writable_namespaces):
3148 Return NULL not FALSE on errors as the return type is a pointer.
3150 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3152 * gio/glocalfile.c: (g_local_file_monitor_file):
3153 Don't call monitor_file on the default interface vtable (which
3154 is NULL) but simply return NULL. The caller, GFile, will create a
3155 polling monitor if NULL is returned.
3157 2007-10-09 Alexander Larsson <alexl@redhat.com>
3161 * gio-unix-2.0.pc.in:
3162 Add gio-unix-2.0.pc if OS_UNIX
3165 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3167 2007-10-09 Alexander Larsson <alexl@redhat.com>
3169 * gio/gunixmounts.[ch]:
3170 Make unix mount monitoring API sane.
3171 Now its just a object with mounts_changed
3172 and mountpoints_changed signals.
3174 * gio/glocaldirectorymonitor.c:
3175 * gio/gunixvolumemonitor.c:
3176 Use new mount monitor api
3178 2007-10-09 Alexander Larsson <alexl@redhat.com>
3180 * gio/gunixmounts.[ch]:
3181 Move guess type into one call for mounts and one for mountpoints
3184 * gio/gunixvolume.c:
3187 2007-10-09 Alexander Larsson <alexl@redhat.com>
3189 * gio/gunixmounts.[ch]:
3190 Remove _ prefix in preparation to make this semi-public
3191 Hide implementation of structs
3193 * gio/glocaldirectorymonitor.c:
3195 * gio/gunixvolume.c:
3196 * gio/gunixvolumemonitor.c:
3197 Update for above API changes
3199 2007-10-08 Alexander Larsson <alexl@redhat.com>
3202 Better polling fallback. This also handles the case where we have
3203 a monitor_file implementation, but it fails.
3205 2007-10-08 Alexander Larsson <alexl@redhat.com>
3209 * gio/gunixmounts.c:
3210 * programs/gio-monitor-dir.c:
3211 * programs/gio-monitor-file.c:
3212 Added cancellable to file monitoring calls.
3213 These are really sync calls and need this.
3215 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3217 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3218 (g_local_vfs_class_init):
3219 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3220 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3222 2007-10-05 Alexander Larsson <alexl@redhat.com>
3224 * gio/gdirectorymonitorprivate.h:
3225 * gio/gfilemonitorprivate.h:
3226 * gio/gdirectorymonitor.h:
3227 * gio/gfilemonitor.h:
3228 Remove *private.h and move to the public API, so that
3229 we can do implementations outside gio (such as in gvfs)
3231 * gio/gdirectorymonitor.c:
3232 * gio/gfilemonitor.c:
3233 * gio/glocaldirectorymonitor.c:
3234 * gio/gpollfilemonitor.c:
3235 * gio/inotify/inotify-helper.c:
3236 * gio/fam/fam-helper.c:
3237 Update to the new header names
3239 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3241 * gio/gdirectorymonitor.c:
3242 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3245 2007-10-04 Alexander Larsson <alexl@redhat.com>
3247 * gio/glocalfileinfo.c (get_access_rights):
3248 Set CAN_TRASH when we can move the file.
3249 We should really also check for a parent trash dir.
3251 2007-10-04 Alexander Larsson <alexl@redhat.com>
3253 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3254 Add can_trash access attribute
3256 2007-10-04 Alexander Larsson <alexl@redhat.com>
3259 (g_local_file_trash):
3260 Create info file first. This is per-spec and allows
3261 us to actually trash directories.
3263 2007-10-02 Alexander Larsson <alexl@redhat.com>
3265 * gio/gdesktopappinfo.c:
3266 Implement the new mime support code.
3267 Always set app as handling mimetype when being set as default for it
3269 2007-10-01 Alexander Larsson <alexl@redhat.com>
3271 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3272 Fix up check for xattrs:
3274 2007-10-01 Alexander Larsson <alexl@redhat.com>
3277 (g_app_info_set_as_default_for_extension):
3278 (g_app_info_add_supports_type):
3279 (g_app_info_can_remove_supports_type):
3280 (g_app_info_remove_supports_type):
3281 Make these fail nicely if not implemented
3283 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3285 * gio/glocalfileoutputstream.c:
3286 * gio/glocalfileoutputstream.h:
3291 * programs/gio-save.c:
3292 Add a GFileCreateFlags argument to operations that can create
3295 2007-10-01 Alexander Larsson <alexl@redhat.com>
3297 * gio/gappinfo.[ch]:
3298 * gio/gdesktopappinfo.c:
3299 Add more (stubbed out) mime API needed for nautilus
3301 2007-10-01 Alexander Larsson <alexl@redhat.com>
3304 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3305 Add g_app_info_set_as_default_for_extension.
3307 * gio/gdesktopappinfo.c:
3308 Dummy for g_app_info_set_as_default_for_extension
3309 Support flags in g_app_info_create_from_commandline
3311 * gio/gwin32appinfo.c:
3313 Update for API changes
3315 * gio/gthemedicon.c:
3316 Properly NULL-terminate list of icon names
3318 2007-09-28 Alexander Larsson <alexl@redhat.com>
3320 * gio/gloadableicon.h:
3321 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3323 2007-09-28 Alexander Larsson <alexl@redhat.com>
3326 Install headers in $includedir/gio-standalone/
3328 * gio-2.0.pc.in: Added.
3329 * gio-standalone.pc.in: Removed.
3332 Renamed pkg-config file to match glib (for future move)
3333 Update to the new include dir
3336 Add more TODO comments
3338 2007-09-28 Alexander Larsson <alexl@redhat.com>
3340 * gio/gdesktopappinfo.[ch]:
3341 Expose new_from_filename
3342 Add getter for is_hidden and handle it better
3344 2007-09-28 Alexander Larsson <alexl@redhat.com>
3346 * gio/gfileinfo.[ch]:
3347 Rename g_file_size_format_for_display to
3348 g_format_file_size_for_display.
3349 Now it doesn't have the g_file prefix, so we
3350 can later move it to glib.
3352 2007-09-28 Alexander Larsson <alexl@redhat.com>
3354 * gio/gappinfo.[ch]:
3355 Add g_app_info_get_id and g_app_info_get_executable.
3356 Make all getters non-reffing
3357 Make g_app_info_launch take GFile arguments.
3358 Add must_support_uris argument to g_app_info_get_default_for_type.
3360 * gio/gwin32appinfo.c:
3361 Update to GAppInfo api changes
3363 * gio/gdesktopappinfo.c:
3364 Update to GAppInfo api changes
3365 Implement supports_xdg_startup_notify
3367 * gio/gfileicon.c (g_file_icon_get_file):
3368 Make getter non-reffing.
3373 2007-09-27 Alexander Larsson <alexl@redhat.com>
3375 * gio/gfileinfo.[ch]:
3376 Add g_file_size_format_for_display helper
3378 2007-09-27 Alexander Larsson <alexl@redhat.com>
3380 * gio/glocalfileinfo.c:
3381 Set UNIX_GID from gid, not from uid
3383 2007-09-27 Alexander Larsson <alexl@redhat.com>
3386 Add g_file_set_attributes_async
3388 2007-09-27 Alexander Larsson <alexl@redhat.com>
3390 * gio/glocalfile.c (g_local_file_set_display_name):
3391 Fix set_display_name to actually rename to the right place.
3392 Use lstat to look for existing files so we don't overwrite
3395 2007-09-26 Alexander Larsson <alexl@redhat.com>
3398 Add g_file_set_display_name_async()
3400 2007-09-26 Alexander Larsson <alexl@redhat.com>
3403 Add load_partial_contents async calls
3406 Make internal function static
3408 2007-09-26 Alexander Larsson <alexl@redhat.com>
3410 * gio/glocalfileinfo.c:
3411 Correctly detect broken symlinks
3413 2007-09-26 Alexander Larsson <alexl@redhat.com>
3415 * gio/gcancellable.c (g_cancellable_cancel):
3416 Allow cancel on NULL cancellable
3418 2007-09-25 Alexander Larsson <alexl@redhat.com>
3420 * gio/gsimpleasyncresult.c:
3421 Don't allocate g_error manually.
3422 Fixes g_slice/g_new mixup crash
3424 2007-09-25 Alexander Larsson <alexl@redhat.com>
3426 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3427 Actually set active_backend.
3428 This means the monitor will be cancelled correctly.
3430 2007-09-25 Alexander Larsson <alexl@redhat.com>
3432 * gio/gdirectorymonitor.c:
3433 Set timeout to NULL when destroying
3435 2007-09-25 Alexander Larsson <alexl@redhat.com>
3438 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3439 that is a better description of the error.
3441 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3443 * gio/gvfs.c: (g_vfs_get_local):
3444 Make the local vfs variable static. The same instance should
3447 2007-09-24 Alexander Larsson <alexl@redhat.com>
3449 * gio/glocalfileinfo.c:
3450 Pass in actual length read into sniffer, not the length
3453 2007-09-21 Alexander Larsson <alexl@redhat.com>
3455 * gio/gfileenumerator.c:
3458 * gio/gfileinputstream.c:
3459 * gio/gfileoutputstream.c:
3460 * gio/ginputstream.c:
3461 * gio/goutputstream.c:
3462 Don't crash if async callbacks are NULL
3464 2007-09-20 Alexander Larsson <alexl@redhat.com>
3467 Add async enumerate_children method and default
3470 2007-09-20 Alexander Larsson <alexl@redhat.com>
3473 Add g_file_contains_file & g_file_get_relative_path, since they
3474 were needed for nautilus.
3475 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3480 Implement new methods
3482 2007-09-17 Alexander Larsson <alexl@redhat.com>
3485 * gio/gfileinputstream.[ch]:
3486 * gio/gfileoutputstream.[ch]:
3488 * gio/glocalfileenumerator.[ch]:
3489 * gio/glocalfileinfo.[ch]:
3490 * gio/glocalfileinputstream.c:
3491 * gio/glocalfileoutputstream.c:
3492 * gio/gpollfilemonitor.c:
3493 * programs/gio-copy.c:
3494 * programs/gio-info.c:
3495 * programs/gio-move.c:
3496 Rename get_file_info to query_info() to make it clearer
3497 that these are not simple getters, but do i/o.
3499 2007-09-17 Alexander Larsson <alexl@redhat.com>
3501 * gio/gdatainputstream.[ch]:
3502 * gio/test-streams.c:
3503 Use _read_XXX instead of _get_XXX for the i/o calls
3506 2007-09-17 Alexander Larsson <alexl@redhat.com>
3509 Added needed stuff to TODO comment
3511 2007-09-17 Alexander Larsson <alexl@redhat.com>
3513 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3514 Don't error out removing the backup copy if it doesn't
3517 2007-09-14 Alexander Larsson <alexl@redhat.com>
3519 * programs/Makefile.am:
3520 * programs/gvfs-*.c:
3522 Renamed apps from gvfs-xxx to gio-xxx.
3524 2007-09-14 Alexander Larsson <alexl@redhat.com>
3527 * gio/gfileoutputstream.[ch]:
3528 * gio/glocalfileoutputstream.c:
3529 * programs/gvfs-save.c:
3530 g_file_output_stream_get_etag doesn't do i/o, so remove
3531 cancellation and error.
3533 2007-09-14 Alexander Larsson <alexl@redhat.com>
3536 Add new_etag output to replace_contents functions
3538 2007-09-14 Alexander Larsson <alexl@redhat.com>
3540 * gio/gfileoutputstream.[ch]:
3541 Add async get_file_info and default implementation
3543 2007-09-14 Alexander Larsson <alexl@redhat.com>
3545 * gio/gfileinputstream.c:
3546 Implement fallback wrapper for async get_file_info
3548 2007-09-14 Alexander Larsson <alexl@redhat.com>
3551 Add etag out argument to load_contents
3556 2007-09-14 Alexander Larsson <alexl@redhat.com>
3558 * gio/gcontenttype.c (looks_like_text):
3559 Whitespace like tab, cr and lf do not make the
3562 2007-09-14 Alexander Larsson <alexl@redhat.com>
3564 * gio/gfileinputstream.[ch]:
3565 Add async get_file_info.
3567 2007-09-13 Alexander Larsson <alexl@redhat.com>
3569 * gio/goutputstream.c (g_output_stream_write_all):
3570 Allow NULL for bytes_written
3572 2007-09-13 Alexander Larsson <alexl@redhat.com>
3574 * gio/gmemoryinputstream.[ch]:
3575 Add accessors for data
3577 2007-09-13 Alexander Larsson <alexl@redhat.com>
3579 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3580 Don't crash if length is NULL