1 2008-02-22 Alexander Larsson <alexl@redhat.com>
3 * gcontenttype.c (g_content_type_get_icon):
4 Look at old-style gnome mime icon names too, as many
5 have not moved to the new style.
7 2008-02-21 Matthias Clasen <mclasen@redhat.com>
9 * *.c: Correct the @include in for section docs.
11 2008-02-21 David Zeuthen <davidz@redhat.com>
13 * glocalfileinfo.c: (_g_local_file_info_get):
15 (g_content_type_get_icon): Implement this function by
16 moving bits from glocalfileinfo.c
17 (g_content_type_get_description): Unalias before getting
20 * gfile.c: (g_file_class_init),
21 (g_file_query_filesystem_info_async),
22 (g_file_query_filesystem_info_finish),
23 (query_filesystem_info_data_free),
24 (query_filesystem_info_async_thread),
25 (g_file_real_query_filesystem_info_async),
26 (g_file_real_query_filesystem_info_finish):
27 * gfile.h: Implement async version of
28 g_file_query_filesystem_info()
30 * gfileinfo.h: Add new attributes for filesystem::use-preview
34 * gthemedicon.c: (g_themed_icon_append_name):
35 * gthemedicon.h: Add new new convenience function.
37 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
38 (get_mounts), (get_volumes), (get_connected_drives),
39 (get_volume_for_uuid), (get_mount_for_uuid),
40 (g_union_volume_monitor_init), (populate_union_monitor),
41 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
42 (g_volume_monitor_adopt_orphan_mount):
44 * gvolumemonitor.h: Use recursive locks so it's safe for volume
45 monitor implementations to call into the main volume monitor. Also
46 separate object initialization and volume monitor initialization
47 such that non-native volume monitors can properly adopt their
50 2008-02-21 Alexander Larsson <alexl@redhat.com>
55 2008-02-21 Alexander Larsson <alexl@redhat.com>
58 Add more documentation about how GFiles work (from #517086)
60 2008-02-21 Alexander Larsson <alexl@redhat.com>
64 Add new g_file_has_prefix that does the same as g_file_contains_file.
65 Deprecate g_file_contains_file and add a macro that converts
66 it to g_file_has_prefix.
67 The reason for this change is that the contains_file() name seems to
68 imply that this does more work than what it does, but its really only
69 a name match (from #517086)
74 Update to match the above change.
76 2008-02-20 Benjamin Otte <otte@gnome.org>
78 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
79 (g_file_eject_mountable):
80 even more cases of not returning in error path
82 2008-02-20 Benjamin Otte <otte@gnome.org>
84 * gfile.c: (g_file_mount_mountable):
85 return from function in error path.
87 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
90 Remove trailing coma in GMountMountFlags struct
92 2008-02-18 Alexander Larsson <alexl@redhat.com>
96 * glocalfileoutputstream.c:
97 Use g_unlink/g_rename instead of unlink/rename;
98 do not pass raw filenames to g_set_error. (#517239)
99 Patch from Yevgen Muntyan.
101 2008-02-18 Alexander Larsson <alexl@redhat.com>
104 * glocalfileoutputstream.c:
105 Open files with O_BINARY on windows. (#517140)
107 2008-02-14 Alexander Larsson <alexl@redhat.com>
109 * glocalfileoutputstream.c:
110 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
112 2008-02-14 Alexander Larsson <alexl@redhat.com>
115 Copy permissions with file on copy (#514084)
116 This is what cp does and makes sure e.g. the
117 exec permissions are kept.
118 Its kinda weird in that it keeps the permission bits
119 the same while the uid and gid are different. However
120 the new uid is the user so its not a security issue,
121 and I've heard no complaints about cp on this issue.
123 2008-02-13 Ryan Lortie <desrt@desrt.ca>
125 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
127 2008-02-13 Alexander Larsson <alexl@redhat.com>
129 * inotify/inotify-path.c:
130 Define IN_ONLYDIR if not in header (#515346)
132 2008-02-12 Alexander Larsson <alexl@redhat.com>
134 * tests/live-g-file.c:
137 2008-02-11 Matthias Clasen <mclasen@redhat.com>
139 * === Released 2.15.5 ===
141 2008-02-11 Matthias Clasen <mclasen@redhat.com>
143 * gio.symbols: Add g_mount_mount_flags_get_type.
145 2008-02-11 Alexander Larsson <alexl@redhat.com>
148 (g_file_info_set_attribute_mask):
149 (g_file_attribute_matcher_matches_id):
150 Correctly handle NULL GAttributeMatcher meaning
151 matches nothing. (Fixes #513492)
153 2008-02-11 Alexander Larsson <alexl@redhat.com>
158 Added GMountMountFlags enum and added a flags
159 argument to all mount calls.
161 This is an API/ABI change for future extensibility,
162 as I think we will need at least an
163 inhibit-autorun flag (the panel needs this).
164 There are no flags defined yet though.
166 2008-02-11 Alexander Larsson <alexl@redhat.com>
169 Added new standard::description attribute.
170 Requested by Vincent, and useful for both
173 2008-02-11 Alexander Larsson <alexl@redhat.com>
178 2008-02-11 Matthias Clasen <mclasen@redhat.com>
180 * *.c: Documentation additions
182 2008-02-10 Matthias Clasen <mclasen@redhat.com>
184 * gappinfo.h: Formatting cleanup
185 * gappinfo.c: Fix up docs.
187 2008-02-09 Matthias Clasen <mclasen@redhat.com>
189 * gunixmounts.c: Consistently use getmntent_r() and fall
190 back to getmntent(). (#515492)
192 2008-02-09 Matthias Clasen <mclasen@redhat.com>
194 * gbufferedinputstream.c:
196 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
198 * tests/data-input-stream.c:
199 * tests/data-output-stream.c: Portability fixes.
201 2008-02-08 Alexander Larsson <alexl@redhat.com>
206 Add g_volume_should_automount.
209 2008-02-07 Tor Lillqvist <tml@novell.com>
211 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
212 Win32, too Unix-specific.
214 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
216 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
217 a local plt if the compiler doesn't support what we want. Bug #514702
219 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
221 reviewed by: <delete if not using a buddy>
224 * gunixinputstream.c:
225 * gunixoutputstream.c:
227 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
230 * tests/live-g-file.c:
231 * tests/live-g-file.txt:
232 New GIO testing module working over real data
234 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
236 * glocalfileoutputstream.c (g_local_file_output_stream_close):
237 Fallback to rename() if link() is not available
238 (when no support on target filesystem)
240 2008-02-06 Michael Natterer <mitch@imendio.com>
242 * gfileinfo.c (g_file_info_get_icon): replace
243 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
245 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
247 * gfile.c (g_file_create):
248 Documentation update of error codes
250 2008-02-06 Alexander Larsson <alexl@redhat.com>
253 Update to use both mimeapps.list and
254 defaults.list as discussed on xdg list.
256 2008-02-06 Benjamin Otte <otte@gnome.org>
259 * gfilenamecompleter.c:
260 Fix some typos in the documentation.
262 2008-02-06 Alexander Larsson <alexl@redhat.com>
264 * glocalfile.c (g_local_file_trash):
265 Don't succeed with trash if newly created
266 trash dir has the wrong owner. (#514696)
268 2008-02-05 Alexander Larsson <alexl@redhat.com>
270 * glocalfile.c (g_local_file_move):
271 Don't spew warnings when destination is not
274 2008-02-03 Hans Breuer <hans@breuer.org>
276 * makefile.msc : update
278 2008-02-01 Michael Natterer <mitch@imendio.com>
280 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
281 return value of xdg_mime_list_mime_parents() to a variable of the
284 2008-02-01 Alexander Larsson <alexl@redhat.com>
286 * gappinfo.c (g_app_info_launch_uris):
287 Actually call the launch_uris method, not
290 2008-02-01 Alexander Larsson <alexl@redhat.com>
292 * gdesktopappinfo.c (g_desktop_app_info_equal):
293 Ensure appinfos with no id but same pointer value
296 2008-02-01 Alexander Larsson <alexl@redhat.com>
298 * gappinfo.c (g_app_info_launch_default_for_uri):
301 2008-02-01 Alexander Larsson <alexl@redhat.com>
305 Add g_app_info_launch_default_for_uri utility
308 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
311 Doc fix for g_app_info_get_default_for_uri_scheme ()
314 2008-01-30 Alexander Larsson <alexl@redhat.com>
317 Add doc comment about uris vs GFiles to
321 Ensure uris passed to g_app_info_launch_uris()
322 are not roundtriped through GFile (as that
323 may be slightly destructive for e.g. mailto: links)
325 2008-01-30 Alexander Larsson <alexl@redhat.com>
327 * tests/data-input-stream.c:
328 * tests/data-output-stream.c:
329 C89 fixes from Jens Granseuer (#512849)
331 2008-01-30 Alexander Larsson <alexl@redhat.com>
334 Fix gamin/fam difference build issue. (#509419)
336 2008-01-29 Alexander Larsson <alexl@redhat.com>
340 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
342 2008-01-29 Alexander Larsson <alexl@redhat.com>
346 giomodule-priv.h include moved to .c file.
348 2008-01-29 Alexander Larsson <alexl@redhat.com>
350 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
351 Remove unused prio/name fields.
353 2008-01-29 Alexander Larsson <alexl@redhat.com>
355 * gcontenttype.c (looks_like_text):
356 Don't treat whitespace as control chars.
358 2008-01-29 Alexander Larsson <alexl@redhat.com>
361 Lazily create the desktop files for appinfos created
362 by g_app_info_create_from_commandline() when needed
363 for mime associations. This allows run-time use
364 of GAppInfo object without creating unnecessary
367 2008-01-29 Alexander Larsson <alexl@redhat.com>
370 Added new symbols to gio.symbols
372 2008-01-29 Alexander Larsson <alexl@redhat.com>
375 Add g_file_query_default_handler utility to easily look up
376 the GAppInfo that handles a file.
378 * gdesktopappinfo.[ch]:
380 Set up an extension point for g_app_info_get_default_for_uri_scheme()
383 Remove unused function
385 2008-01-29 Alexander Larsson <alexl@redhat.com>
388 Mention need to free returned value in
389 g_file_enumerator_next_files_finish docs.
390 Fix leak if g_file_enumerator_next_files_finish()
393 2008-01-29 Alexander Larsson <alexl@redhat.com>
396 (_g_unix_content_type_get_parents):
397 Use list_parents, not get_parents from xdgmime, because
398 the later doesn't use the cache.
400 * xdgmime/xdgmimecache.c:
401 (_xdg_mime_cache_list_mime_parents):
402 Don't list the same type as parent multiple times.
404 2008-01-28 Matthias Clasen <mclasen@redhat.com>
406 * === Released 2.15.4 ===
408 2008-01-28 Alexander Larsson <alexl@redhat.com>
411 Register local vfs with prio 0.
414 Remove old name and prio class members
416 2008-01-28 Matthias Clasen <mclasen@redhat.com>
418 * tests/g-file.c: Disable some tests that are failing in
419 the absence of a http backend.
421 2008-01-28 Alexander Larsson <alexl@redhat.com>
425 Add registration hooks for extension points.
426 Register the gio extension points.
428 * fam/gfamdirectorymonitor.c:
429 * fam/gfamfilemonitor.c:
430 * glocaldirectorymonitor.[ch]:
431 * glocalfilemonitor.[ch]:
432 * gnativevolumemonitor.h:
433 * gunionvolumemonitor.c:
434 * gunixvolumemonitor.c:
437 * inotify/ginotifydirectorymonitor.c:
438 * inotify/ginotifyfilemonitor.c:
439 Use the extension points registration instead
440 of g_type_children().
442 2008-01-28 Matthias Clasen <mclasen@redhat.com>
445 * gvolume.[hc]: Document new API.
447 * gfile.c (g_file_copy_async): Fix docs
449 2008-01-27 Matthias Clasen <mclasen@redhat.com>
451 * gbufferedinputstream.c:
453 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
456 2008-01-27 Matthias Clasen <mclasen@redhat.com>
458 * glocalfile.c: Avoid trivial differences in translatable strings.
460 2008-01-25 Matthias Clasen <mclasen@redhat.com>
462 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
463 build with gcc 3.4 (#509419)
465 2008-01-25 Matthias Clasen <mclasen@redhat.com>
467 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
468 (#509994, Murray Cumming)
470 2008-01-25 Matthias Clasen <mclasen@redhat.com>
472 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
473 * gioscheduler.c: Keep calling io jobs until they return FALSE;
474 this allows big jobs to be executed in chunks, instead of blocking
475 the main loop for a long time.
477 * gsimpleasyncresult.c:
478 * giofile.c: Adapt callers.
480 2008-01-25 Alexander Larsson <alexl@redhat.com>
483 Implement changes discussed on xdg list.
484 Now we can add supported mimetypes by just using defaults.list
485 We can also remove associations in defaults.list.
487 2008-01-25 Alexander Larsson <alexl@redhat.com>
490 Don't make local copy of desktop file
491 for mimetype changes if the file already
492 supports the new mimetype.
494 2008-01-25 Matthias Clasen <mclasen@redhat.com>
498 * gbufferedinputstream.c:
499 * glocalfile.c: String improvements. (#511966,
500 Theppitak Karoonboonyanan)
502 2008-01-24 Matthias Clasen <mclasen@redhat.com>
504 * gioscheduler.h: Expand docs a bit.
506 2008-01-24 Alexander Larsson <alexl@redhat.com>
509 Add g_drive_get_identifier and
510 g_drive_enumerate_identifiers
513 Add g_volume_get_identifier and
514 g_volume_enumerate_identifiers
520 Implement identifiers for unix backend
522 2008-01-24 Alexander Larsson <alexl@redhat.com>
527 Add g_file_copy_async() (#511580)
528 Based on patch from Carlos Garcia Campos
530 2008-01-23 Matthias Clasen <mclasen@redhat.com>
532 * gioscheduler.c: Some documentation additions.
534 2008-01-22 Alexander Larsson <alexl@redhat.com>
537 (g_desktop_app_info_new):
540 2008-01-22 Alexander Larsson <alexl@redhat.com>
543 (g_desktop_app_info_new_from_filename):
546 2008-01-22 Alexander Larsson <alexl@redhat.com>
548 * glocalfileinfo.c (get_thumbnail_attributes):
551 2008-01-22 Alexander Larsson <alexl@redhat.com>
554 (canonicalize_filename):
555 Canonicalize paths that start with more than
560 (test_g_file_new_for_path):
563 2008-01-22 Alexander Larsson <alexl@redhat.com>
566 Allow UTF-8 in file:// parse names.
569 * tests/data-input-stream.c:
570 * tests/data-output-stream.c:
571 * tests/g-file-info.c:
573 Added a bunch of tests from Tomas Bzatek
575 2008-01-21 Matthias Clasen <mclasen@redhat.com>
577 * === Released 2.15.3 ===
579 2008-01-21 Alexander Larsson <alexl@redhat.com>
581 * gfileinputstream.[ch]:
582 * gfileoutputstream.[ch]:
584 Remove duplicated GSeekable functions. (#509990)
585 Just use the g_seekable_xxx() calls instead.
587 2008-01-21 Matthias Clasen <mclasen@redhat.com>
590 * gvolumemanager.c: Whitespace cleanups.
592 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
593 Use the right mode when creating the file.
595 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
598 * gfileinputstream.c:
600 * goutputstream.c: Documentation: Fixed minor typos
601 and added more mentions of specific _finish() functions.
603 2008-01-21 Alexander Larsson <alexl@redhat.com>
605 * inotify/Makefile.am:
606 * inotify/inotify-helper.c:
607 * inotify/inotify-kernel.c:
608 * inotify/inotify-path.c:
609 * inotify/local_inotify.h: Removed.
610 * inotify/local_inotify_syscalls.h: Removed.
611 Removed the included copies of the inotify
612 headers. We now only use the <sys/inotify.h>
613 header which exists on modern systems.
614 This fixes problems on ARM and SH5 (#510448)
615 but is also generally much cleaner and future
616 safe. For instance, if other OSes add support
617 for inotify it should "just work".
619 2008-01-20 Matthias Clasen <mclasen@redhat.com>
621 * inotify/*.c: Coding style fixes.
622 * inotify/inotify-missing.c: Use g_timeout_add_seconds
623 for the 1/4 Hz timer.
625 2008-01-20 Matthias Clasen <mclasen@redhat.com>
629 * gmemoryinputstream.c:
630 * gmemoryoutputstream.c:
632 * gthemedicon.c: Documentation updates
634 2008-01-20 Murray Cumming <murrayc@murrayc.com>
636 * gfile.c: documentation: Fixed more minor
639 2008-01-18 Murray Cumming <murrayc@murrayc.com>
641 * gmount.c: (g_mount_remount): documentation:
642 Mention g_mount_remount_finish() instead of
643 g_mount_unmount_finish().
645 2008-01-18 Murray Cumming <murrayc@murrayc.com>
649 * gfile.c: Fixed some minor typos in the
652 2008-01-18 Murray Cumming <murrayc@murrayc.com>
654 * gio/gvolumemonitor.c:
655 (g_volume_monitor_get_connected_drives):
656 (g_volume_monitor_get_volumes):
657 (g_volume_monitor_get_mounts): Documentation:
658 Clarify the ownership of the regurn GLists.
660 2008-01-17 Alexander Larsson <alexl@redhat.com>
663 Add the async find_enclosing_mount version
664 to the header file too.
666 2008-01-17 Alexander Larsson <alexl@redhat.com>
669 Add async version of find_enclosing_mount
670 with default implementation.
672 2008-01-17 Alexander Larsson <alexl@redhat.com>
677 Allow calls to implementation of copy and write
678 even if the type of the file implementations is
679 different. This can be used to implement native
680 upload and download calls in a vfs.
684 Protect against the case where move is called
685 with one file not being local.
687 Make sure we call the progress callback once
688 in the native move operation so that the caller
689 knows how many bytes were copied.
691 2008-01-16 Murray Cumming <murrayc@murrayc.com>
694 * gdatainputstream.c:
696 * gfileoutputstream.c:
701 * gunixmounts.c: Corrected some typos in the documentation:
703 its -> it's (where appropriate).
705 2008-01-16 Alexander Larsson <alexl@redhat.com>
709 Add g_file_query_exists (#508771)
711 2008-01-15 Murray Cumming <murrayc@murrayc.com>
716 * gvolume.c: For async functions that have no non-async
717 version, document that the GAsyncReadyCallback may be NULL.
720 2008-01-15 Alexander Larsson <alexl@redhat.com>
722 * gmemoryinputstream.c:
723 * gmemoryoutputstream.c:
724 Don't do pointer arithmetic on void * (#508602)
725 Patch from Kazuki IWAMOTO
727 2008-01-14 Matthias Clasen <mclasen@redhat.com>
729 * === Released 2.15.2 ===
731 2008-01-14 Alexander Larsson <alexl@redhat.com>
733 * gfile.c (g_file_monitor_file):
734 Don't set error here, since we fallback to polling monitor.
736 2008-01-14 Alexander Larsson <alexl@redhat.com>
739 (g_file_monitor_directory):
740 (g_file_monitor_file):
741 Add GError to file monitor calls
743 * glocaldirectorymonitor.c:
744 * glocaldirectorymonitor.h:
746 * glocalfilemonitor.c:
747 * glocalfilemonitor.h:
749 Update for above change
751 2008-01-14 Alexander Larsson <alexl@redhat.com>
755 Handle root correctly in g_file_get_relative_path (#508719)
757 2008-01-14 Alexander Larsson <alexl@redhat.com>
760 Clean up docs and example for GAsyncResult (#508074)
762 2008-01-11 Murray Cumming <murrayc@murrayc.com>
764 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
765 and correct some spelling mistakes. Bug #508108.
767 2008-01-11 Matthias Clasen <mclasen@redhat.com>
769 * glocalfileinfo.c: Add a comment.
771 2008-01-10 Murray Cumming <murrayc@murrayc.com>
773 * gfileinfo.c: GFileInfo description: Mention
774 how to actually set attributes in a GFile and how to discover
775 which attributes are settable. Bug #508378.
777 2008-01-10 A. Walton <awalton@svn.gnome.org>
779 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
780 (g_app_info_get_default_for_type):
781 Check for NULL content types.
783 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
785 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
787 2008-01-09 Murray Cumming <murrayc@murrayc.com>
789 * gfile.c: *_async() functions: Several small corrections
790 to the documentation, mostly correcting copy/paste errors
791 and improving some sentences.
793 2008-01-09 Dan Winship <danw@gnome.org>
795 * glocalfile.c (get_unique_filename): x86_64 fix
797 2008-01-09 Alexander Larsson <alexl@redhat.com>
802 Add g_unix_mount_guess_should_display and use
803 for unix volume monitor backend.
804 This means we more or less show what the
805 gnome-vfs backend did.
806 Based on patch from Padraig O'Briain
808 2008-01-09 Alexander Larsson <alexl@redhat.com>
812 Add g_themed_icon_new_with_default_fallbacks
815 Use default fallbacks for icons
817 2008-01-09 Alexander Larsson <alexl@redhat.com>
820 * gmountoperation.[ch]:
821 Change the API a bit so that unhandled methods
822 get reported via the reply, rather than by
823 the signal emission return value. This is because
824 some handlers can't know this immediately without
825 doing I/O, and this is an async operation that
828 2008-01-09 Alexander Larsson <alexl@redhat.com>
831 * fam/gfamdirectorymonitor.c:
832 * fam/gfamfilemonitor.c:
833 Fix double free crash (#508224)
834 Patch from Joe Marcus Clarke
836 008-01-07 Matthias Clasen <mclasen@redhat.com>
838 * === Released 2.15.1 ===
840 2008-01-07 Alexander Larsson <alexl@redhat.com>
842 * gunixinputstream.c (g_unix_input_stream_skip_finish):
843 Fix warning (#507835)
845 2008-01-07 Alexander Larsson <alexl@redhat.com>
848 Pass --internal to glib-genmarshal
853 Use better types for signal arguments (#507822)
855 2008-01-07 Alexander Larsson <alexl@redhat.com>
858 Build test subdir after .
859 Remove gdirectorymonitor.[ch]
861 * gdirectorymonitor.[ch]:
865 Remove GDirectoryMonitor and make
866 GFileMonitor the baseclass for both file and
867 directory monitors. Lift the more generic
868 rate limiting code from GDirectoryMonitor
872 * fam/gfamdirectorymonitor.[ch]:
873 * inotify/ginotifydirectorymonitor.[ch]:
874 * inotify/inotify-helper.c:
875 * glocaldirectorymonitor.[ch]:
878 Update for the removed GDirectoryMonitor.
880 * gmemoryoutputstream.c:
881 Remove ununsed variable
883 2008-01-07 Alexander Larsson <alexl@redhat.com>
885 * gmemoryinputstream.c:
886 Translate error strings
889 * gmemoryoutputstream.[ch]:
890 New implementation that avoids using GByteArray
891 in implementation and API. (#506377)
893 2008-01-06 Matthias Clasen <mclasen@redhat.com>
895 * tests/*: Add a test for memory input streams.
897 * Makefile.am: Add tests to SUBDIRS.
899 2008-01-06 Matthias Clasen <mclasen@redhat.com>
901 * glocalfilemonitor.c:
902 * glocaldirectorymonitor.c: Mark property nicks and blurbs
905 2008-01-06 Matthias Clasen <mclasen@redhat.com>
907 * gdesktopappinfo.c: Fix a docs typo.
909 * gfileattribute.c: Add information about extended attributes
910 to the documentation. (#505058)
912 2008-01-04 Alexander Larsson <alexl@redhat.com>
916 Use the right type (uint) for the ask_password signal.
918 2008-01-04 Alexander Larsson <alexl@redhat.com>
923 Add g_app_info_supports_files()
924 Remove desktop arg from g_app_info_should_show().
926 * gdesktopappinfo.[ch]:
927 Implement g_app_info_supports_files() and new should_show()
928 Add g_desktop_app_info_set_desktop_env() to set the desktop
929 for should_show(). (This will be set by gtk+ later)
931 2008-01-04 Alexander Larsson <alexl@redhat.com>
934 * gmemoryinputstream.[ch]:
935 Improve API so that you can use multiple chunks
936 of memory and custom destroy functions. (#506374)
938 2008-01-03 Alexander Larsson <alexl@redhat.com>
941 Handle NULL attribute matchers safely, as we return this
942 for empty attribute matcher strings.
944 2008-01-03 Alexander Larsson <alexl@redhat.com>
946 * gunixmounts.c (g_unix_is_mount_path_system_internal):
947 Add /usr/local to list of internal mountpoints
949 2008-01-03 Alexander Larsson <alexl@redhat.com>
952 Check for HAVE_LCHOWN (#505887)
954 2008-01-03 Alexander Larsson <alexl@redhat.com>
958 Add define for selinux context attribute.
959 Fix missing : -> :: namespace separator change
960 Fix missing _ -> - name change for xattr-sys.
963 2008-01-03 Alexander Larsson <alexl@redhat.com>
966 Link to libglib and libgobject directly (#504879)
967 Patch from Sebastien Bacher
969 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
971 * gfile.c: Expanded the g_file_new_for_commandline_arg
972 description a bit, based on the code and the docs of the
973 other g_file_new_for_* functions.
975 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
977 * gfilemonitor.h: Fixed typo in docs.
979 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
981 Updates to GIO documentation. (#506395, Mikael Hermansson)
983 * gcontenttype.c: Describe memory management for return value of
984 g_content_types_get_registered(). Missing piece from #505815.
985 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
986 GVolume, GDrive, GMounts, which hopefully gives the user less
987 confusions when using this API. Following explainations from
988 Alexander Larsson on gtk-devel-list.
990 2007-12-30 Matthias Clasen <mclasen@redhat.com>
992 * gfileinfo.c: Expand the long description.
994 2007-12-30 Matthias Clasen <mclasen@redhat.com>
997 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
998 fix builds with --disable-visibility. (#500273, Christian Persch)
1000 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1002 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1003 in the list of returned app infos.
1005 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1007 * gappinfo.c: Fix a cross-reference
1009 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1011 * gfileinputstream.c:
1012 * gfileoutputstream.c:
1016 * gdesktopappinfo.c:
1018 * gfileinfo.c: Documentation updates.
1020 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1022 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1025 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1027 * gcontenttype.c (g_content_types_get_registered): Don't return
1028 freed memory (#505815, Mikael Hermansson)
1030 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1032 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1033 used to detect statbuf->st_blocks. (#505042)
1035 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1037 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1038 environment handling. (#504829, Cosimo Cecchi)
1040 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1042 * gappinfo.c: Doc improvements
1044 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1047 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1049 * === Released 2.15.0 ===
1051 2007-12-20 Hans Breuer <hans@breuer.org>
1053 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1054 with symbols gwin32appinfo.obj, added gmount.obj
1055 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1057 2007-12-20 Alexander Larsson <alexl@redhat.com>
1063 * gfilenamecompleter.c:
1066 * gpollfilemonitor.c:
1067 File attribute renames:
1069 fs:: -> filesystem::
1070 id::fs -> id::filesystem
1072 2007-12-20 Alexander Larsson <alexl@redhat.com>
1081 Add GMountUnmountFlags to all unmount and
1083 Add g_mount_remount() call.
1085 2007-12-20 Alexander Larsson <alexl@redhat.com>
1087 * gvfs.c (get_default_vfs):
1088 Fix unused variable warning
1090 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1092 * pltcheck.sh: Update
1094 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1096 * gunionvolumemonitor.c:
1097 * gunixmount.c: Remove C99 comments
1099 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1101 * gio.symbols: Add some missing symbols
1103 2007-12-19 Alexander Larsson <alexl@redhat.com>
1106 Make g_io_modules_load_all_in_directory not unuse
1107 loaded modules so that users of it can do stuff
1109 Init internal "module" types.
1110 Initialize static prio and name for types so that
1111 we don't have to load modules to get it.
1113 * gnativevolumemonitor.h:
1115 Move is_supported to parent class so that
1116 non-native monitors can avoid being initialized
1117 too. (For instance GDaemonVolumeMonitor if we're
1118 not using GDaemonVfs.)
1120 * glocaldirectorymonitor.[ch]:
1121 * glocalfilemonitor.[ch]:
1122 * gunionvolumemonitor.c:
1123 * gunixvolumemonitor.c:
1125 Find plugins using the static prio+name to
1126 avoid unnecessarily loading the modules.
1128 2007-12-19 Alexander Larsson <alexl@redhat.com>
1133 2007-12-19 Alexander Larsson <alexl@redhat.com>
1135 * gunionvolumemonitor.c:
1136 Store the native type as GType, not class so that
1137 we can unload it. But still avoid unnecessarily
1140 2007-12-19 David Zeuthen <davidz@redhat.com>
1142 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1143 add signals 'disconnected' and 'eject-button' on GDrive. Add
1144 signal 'removed' on GVolume and 'unmounted' on GMount.
1146 * gdrive.c: (g_drive_base_init):
1148 * gfile.c: (g_file_mount_mountable),
1149 (g_file_mount_enclosing_volume):
1152 * gmount.c: (g_mount_base_init):
1154 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1155 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1156 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1160 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1162 * *.c: Fix up includes in the section docs.
1164 2007-12-17 Alexander Larsson <alexl@redhat.com>
1166 * gnativevolumemonitor.h:
1167 * gunionvolumemonitor.c:
1168 * gunixvolumemonitor.c:
1169 Add is_supported() to GNativeVolumeMonitorClass so
1170 that we can avoid having to create an object to see
1171 if the backend is supported at runtime.
1172 Also add name member and an env var to pick a specific
1173 volume monitor backend.
1177 Add cancellable to _g_mount_get_for_mount_path()
1179 * glocaldirectorymonitor.c:
1180 * glocalfilemonitor.c:
1181 Avoid loading and unloading modules while sorting.
1183 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1186 * gunixmounts.[hc]: Namespace waste reduction, move some
1187 g_get_unix_mount functions to the g_unix_mount namespace.
1190 * gunixvolumemonitor.c:
1192 * glocaldirectorymonitor.c: Update all callers.
1194 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1196 2007-12-17 Alexander Larsson <alexl@redhat.com>
1199 Add doc comments about what GFile operations are
1200 guaranteed to not block.
1202 2007-12-17 Alexander Larsson <alexl@redhat.com>
1205 Add missing #ifdef fixing OSX build.
1206 (#503334, patch from Richard Hult)
1208 2007-12-14 David Zeuthen <davidz@redhat.com>
1212 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1213 (g_mount_eject), (g_mount_eject_finish):
1215 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1216 (get_volume_for_uuid), (get_mount_for_uuid),
1217 (g_union_volume_monitor_class_init),
1218 (get_default_native_type_with_exclude), (get_default_native_type),
1219 (get_native_type), (update_native_type),
1220 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1221 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1222 (g_unix_mount_can_eject), (eject_unmount_cb),
1223 (eject_unmount_read_error), (eject_unmount_do),
1224 (g_unix_mount_unmount), (g_unix_mount_eject),
1225 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1226 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1227 (g_unix_mount_point_guess_can_eject):
1229 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1230 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1231 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1232 (g_unix_volume_mount), (g_unix_volume_eject),
1233 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1234 * gunixvolumemonitor.c: (get_volume_for_uuid),
1235 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1237 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1238 (g_volume_eject), (g_volume_eject_finish):
1240 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1241 (g_volume_monitor_get_mount_for_uuid):
1244 Provide eject() on both GMount and GVolume and utility functions
1245 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1246 ejected. Introduce the concept of UUID's and wire it into GVolume
1247 and GMount and provide API on GVolumeMonitor to find such
1248 instances. Also handle the case where an external
1249 GNativeVolumeMonitor fails to initialize. Lock around the
1250 _g_get_mount_for_mount_path() function such that volume monitor
1251 implementations won't have to do locking themselves.
1253 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1255 * gdesktopappinfo.c:
1261 * gvolume.h: Documentation updates
1263 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1266 * gfile.h: Doc updates
1268 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1271 * gdesktopappinfo.c: Use hash table iterators.
1273 2007-12-14 Alexander Larsson <alexl@redhat.com>
1276 * gfileattribute.[ch]:
1277 * gfileattribute-priv.h:
1278 Move GFileAttributeValue to a private header, as
1282 Make set_attribute take a type + a pointer instead
1283 of a GFileAttributeValue.
1286 Fix up for above changes.
1287 Add g_file_info_get_attribute_data to get
1288 all info in one call, g_file_info_get_attribute_status
1289 to get the status and g_file_info_get_attribute_as_string.
1293 * glocalfileinfo.[ch]:
1297 Make _guess_type static.
1299 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1302 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1303 made mkenums and friends use temporary files to avoid leaving
1304 empty generated files on failure (#503470).
1306 2007-12-14 Alexander Larsson <alexl@redhat.com>
1308 * gmountoperation.h:
1311 2007-12-14 Alexander Larsson <alexl@redhat.com>
1315 * gfileattribute.[ch]:
1318 * glocalfileoutputstream.c:
1319 * gmountoperation.[ch]:
1320 * goutputstream.[ch]:
1321 Clean up all flags enums to not have _FLAGS in them
1322 Make the names of some of the enums better.
1327 2007-12-14 Michael Natterer <mitch@imendio.com>
1329 * gio.symbols: fix g_io_scheduler symbol names.
1331 2007-12-14 Alexander Larsson <alexl@redhat.com>
1337 * gbufferedinputstream.h:
1338 * gbufferedoutputstream.h:
1341 * gdatainputstream.h:
1342 * gdataoutputstream.h:
1343 * gdesktopappinfo.h:
1344 * gdirectorymonitor.h:
1348 * gfileenumerator.h:
1351 * gfileinputstream.h:
1353 * gfilenamecompleter.h:
1354 * gfileoutputstream.h:
1355 * gfilterinputstream.h:
1356 * gfilteroutputstream.h:
1364 * gmemoryinputstream.h:
1365 * gmemoryoutputstream.h:
1367 * gmountoperation.h:
1370 * gsimpleasyncresult.h:
1372 * gunixinputstream.h:
1374 * gunixoutputstream.h:
1378 * inotify/Makefile.am:
1379 Only allow including <gio/gio.h> from apps
1381 2007-12-14 Alexander Larsson <alexl@redhat.com>
1383 * gioscheduler.[ch]:
1384 * gsimpleasyncresult.c:
1385 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1386 Split out the send_to_mainloop call into two versions instead
1387 of having the block argument.
1389 2007-12-13 Alexander Larsson <alexl@redhat.com>
1391 * gcancellable.[ch]:
1393 * gbufferedinputstream.c:
1394 * gfileenumerator.c:
1395 * gfileinputstream.c:
1396 * gfileoutputstream.c:
1400 g_push/pop_current_cancellable ->
1401 g_cancellable_push/pop_current
1403 2007-12-13 Alexander Larsson <alexl@redhat.com>
1407 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1409 2007-12-13 Alexander Larsson <alexl@redhat.com>
1411 * gmountoperation.h:
1412 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1414 2007-12-12 Alexander Larsson <alexl@redhat.com>
1417 Fix race condition when freeing proxy in
1418 g_io_job_send_to_mainloop().
1420 2007-12-12 Alexander Larsson <alexl@redhat.com>
1426 Make attribute namespace separator "::" instead of ":".
1427 Use - instead of _ as separator in attribute names.
1429 2007-12-12 Alexander Larsson <alexl@redhat.com>
1431 * gbufferedinputstream.h:
1432 * gbufferedoutputstream.h:
1433 * gdatainputstream.h:
1434 * gdataoutputstream.h:
1435 * gdirectorymonitor.h:
1436 * gfileenumerator.h:
1437 * gfileinputstream.h:
1439 * gfileoutputstream.h:
1440 * gfilterinputstream.h:
1441 * gfilteroutputstream.h:
1443 * glocalfileinputstream.h:
1444 * glocalfileoutputstream.h:
1445 * gmemoryinputstream.h:
1446 * gmemoryoutputstream.h:
1447 * gnativevolumemonitor.h:
1449 * gunixinputstream.h:
1450 * gunixoutputstream.h:
1453 s/parent/parent_instance/ in GObjects
1455 2007-12-12 Alexander Larsson <alexl@redhat.com>
1460 No need for padding for interfaces
1462 2007-12-12 Alexander Larsson <alexl@redhat.com>
1466 * gbufferedinputstream.c:
1467 * gbufferedoutputstream.c:
1470 * gdatainputstream.[ch]:
1471 * gdesktopappinfo.c:
1472 * gdirectorymonitor.c:
1474 * gfileattribute.[ch]:
1477 * gfileinputstream.h:
1478 * gfilemonitor.[ch]:
1479 * gfileoutputstream.[ch]:
1480 * gfilterinputstream.h:
1481 * gfilteroutputstream.h:
1484 * gloadableicon.[ch]:
1485 * gmemoryinputstream.c:
1486 * gmountoperation.c:
1488 Fix up a bunch of details in the docs.
1493 2007-12-11 David Zeuthen <davidz@redhat.com>
1495 Rework how volumes, drives and volume monitoring is
1496 done. Previosly the model was
1498 GDrive <1-1> GVolume
1500 where a GDrive instance represented a mount point and a GVolume
1501 instance represented a mounted file system. This patch changes it
1504 GDrive <1-N> GVolume <1-1> GMount
1506 where GMount now serves the purpose of the old GVolume and the new
1507 GVolume serves the purpose of the old GDrive. In addition the new
1508 GDrive interface is used to represent a collection of GVolume
1509 instances (typically partitions) and also contains utility to query
1510 the state of the physical drive the GDrive object represents (such
1511 as checking for media, polling the drive, ejecting the media etc.).
1513 Also implement mounting and unmounting in the Unix volume monitor
1514 backend. A subquent patch will introduce GDrive support for ejection
1518 * gdrive.c: (g_drive_is_media_check_automatic),
1519 (g_drive_is_media_removable), (g_drive_has_media),
1520 (g_drive_can_poll_for_media), (g_drive_eject),
1521 (g_drive_eject_finish), (g_drive_poll_for_media),
1522 (g_drive_poll_for_media_finish):
1524 * gfile.c: (g_file_find_enclosing_mount):
1527 * glocaldirectorymonitor.c:
1528 (g_local_directory_monitor_constructor), (mounts_changed):
1529 * glocalfile.c: (get_mount_info),
1530 (g_local_file_find_enclosing_mount),
1531 (g_local_file_file_iface_init):
1532 * gnativevolumemonitor.h:
1533 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1534 (get_connected_drives), (g_union_volume_monitor_class_init),
1535 (child_volume_added), (child_volume_removed),
1536 (child_volume_changed), (child_mount_added), (child_mount_removed),
1537 (child_mount_pre_unmount), (child_mount_changed),
1538 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1539 (g_union_volume_monitor_remove_monitor),
1540 (_g_mount_get_for_mount_path):
1541 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1542 (guess_system_internal), (_g_get_unix_mounts),
1543 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1544 (g_unix_mount_free), (g_unix_mount_compare),
1545 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1546 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1547 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1548 (type_to_icon), (g_unix_mount_guess_name),
1549 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1550 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1551 (_resolve_symlink), (_resolve_dev_root):
1553 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1554 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1555 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1556 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1557 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1558 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1559 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1560 (g_unix_volume_volume_iface_init):
1562 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1563 (get_mounts), (get_volumes), (get_connected_drives),
1564 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1565 (mountpoints_changed), (mounts_changed),
1566 (g_unix_volume_monitor_init),
1567 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1568 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1569 * gunixvolumemonitor.h:
1570 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1571 (g_volume_mount), (g_volume_mount_finish):
1573 * gvolumemonitor.c: (g_volume_monitor_class_init),
1574 (g_volume_monitor_get_connected_drives),
1575 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1578 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1580 * gmountoperation.h (GPasswordFlags): Close the gap
1582 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1584 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1586 * gdesktopappinfo.[hc]: Remove _-prefixes
1588 2007-12-10 Tor Lillqvist <tml@novell.com>
1590 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1593 2007-12-10 Alexander Larsson <alexl@redhat.com>
1595 * gfile.c (g_file_set_display_name):
1596 Don't hardcode '/' (#502727)
1598 2007-12-09 Hans Breuer <hans@breuer.org>
1600 * makefile.msc : follow lib naming convention
1601 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1602 for user and group name, tested with ../tests/gio-ls
1604 2007-12-09 A. Walton <awalton@svn.gnome.org>
1606 * gdesktopappinfo.c:
1612 * gfileenumerator.c:
1617 * gmemoryinputstream.c:
1618 * gmemoryoutputstream.c:
1620 * gsimpleasyncresult.c:
1621 More documentation cleanup and filling in missing information, bringing
1622 GIO to 99% symbol coverage.
1624 2007-12-08 Hans Breuer <hans@breuer.org>
1626 [gio compiles and links on win32, not sure how much already works]
1627 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1628 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1629 base on win32 API; prefer g_lstat() over lstat(); instead of
1630 localtime_r() use an all GLib implementation on win32;
1631 get_mount_info() still needs a win32 specifc implementation
1632 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1633 win32_get_file_user_info to get owner/group info without uid/gid
1634 * glocalfileinputstream.c : include <io.h> on win32
1635 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1636 definition, use g_win32_ftruncate() for G_OS_WIN32
1637 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1638 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1639 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1640 * makefile.msc : updated
1642 2007-12-07 Alexander Larsson <alexl@redhat.com>
1644 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1645 Avoid warning spew if error == NULL
1647 2007-12-07 Alexander Larsson <alexl@redhat.com>
1650 Update docs wrt etags
1652 2007-12-06 Alexander Larsson <alexl@redhat.com>
1655 Include sys/types.h for dev_t (#501919)
1657 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1661 Make abicheck and pltcheck pass.
1663 2007-12-05 Alexander Larsson <alexl@redhat.com>
1666 * giomodule-priv.h: Added.
1667 * glocaldirectorymonitor.c:
1668 * glocalfilemonitor.c:
1669 * gunionvolumemonitor.c:
1671 Actually add the declaration of _g_io_modules_ensure_loaded
1673 2007-12-05 Alexander Larsson <alexl@redhat.com>
1675 * gdatainputstream.c:
1680 * glocaldirectorymonitor.c:
1681 * glocalfilemonitor.c:
1682 * gunionvolumemonitor.c:
1684 Make g_io_modules_ensure_loaded a private function and
1685 don't pass in the dirname. This means we can do magic
1686 directory finding in the win32 version.
1687 Export the actual load-modules-in-directory code so that
1688 gvfs can reuse that.
1690 2007-12-05 Alexander Larsson <alexl@redhat.com>
1692 * gbufferedinputstream.c:
1693 * gbufferedoutputstream.c:
1696 * gfileenumerator.[ch]:
1697 * gfileinputstream.c:
1698 * gfileoutputstream.[ch]:
1699 * gfilterinputstream.c:
1700 * gfilteroutputstream.c:
1701 * ginputstream.[ch]:
1703 * glocalfileenumerator.c:
1704 * glocalfileinputstream.c:
1705 * glocalfileoutputstream.c:
1706 * gmemoryinputstream.c:
1707 * gmemoryoutputstream.c:
1708 * goutputstream.[ch]:
1711 * gunixinputstream.c:
1712 * gunixoutputstream.c:
1713 Rename all struct members named:
1714 read, write, close, truncate, or mount
1715 to foo_fn, as these are reserved names
1716 and could be defined as macros in libc.
1719 2007-12-04 Alexander Larsson <alexl@redhat.com>
1722 (g_output_stream_close):
1723 Only call flush if non-null.
1725 2007-11-30 Dan Winship <danw@gnome.org>
1727 * ginputstream.c (g_input_stream_set_pending): Make this take a
1728 GError and return a gboolean, and do the "outstanding operation"
1729 check (and the "stream is already closed" check) itself.
1730 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1732 * goutputstream.c (g_output_stream_set_pending)
1733 (g_output_stream_clear_pending): Likewise
1735 * gbufferedinputstream.c:
1736 * gfileinputstream.c:
1737 * gfileoutputstream.c: Update for that
1739 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1740 Like g_simple_async_report_error_in_idle, but takes a GError
1741 rather than building one.
1743 2007-11-30 Dan Winship <danw@gnome.org>
1745 * goutputstream.c: Don't cheat and unset the "pending" flag around
1746 inner calls. Instead, call the class method directly rather than
1747 the wrapper function that checks "pending"
1749 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1751 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1753 2007-12-03 Hans Breuer <hans@breuer.org>
1755 [start of port to win32/msvc]
1756 * gcancellable.c : HAVE_UNIST_H and _pipe()
1757 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1758 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1759 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1761 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1762 * glocalvfs.c : use HAVE_PWD_H
1763 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1764 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1765 * Makefile.am : added to EXTRA_DIST
1767 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1769 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1772 2007-12-03 Alexander Larsson <alexl@redhat.com>
1775 Handle OSX style xattrs API (#500506)
1777 2007-12-03 Alexander Larsson <alexl@redhat.com>
1781 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1783 2007-12-02 A. Walton <awalton@svn.gnome.org>
1787 Documentation accuracy fixes.
1789 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1791 * gioenumtypes.c.template: Fix typo.
1793 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1795 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1797 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1799 * gdirectorymonitor.c:
1800 * gfilemonitor.c: Add properties
1802 * gbufferedoutputstream.c: Don't mark buffer-size property
1805 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1807 * gbufferedoutputstream.c: Add auto-grow property.
1809 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1811 * *.c: Unify the capitalization of section headings.
1813 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1815 * gmountoperation.c: Add properties
1817 * gdatainputstream.c: Turn byte-order and newline-type into
1820 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1822 * gioenumtypes.[hc].template: Templates for enum registration
1824 * Makefile.am: Generate gioenumtypes.[hc]
1826 * gio.h: Include gioenumtypes.h
1828 * gfile.h: Add some explicit nicks.
1830 * gio.symbols: Add new symbols
1832 * pltcheck.sh: Adjust
1834 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1836 * *.c: Explain etags and link to the explanation
1838 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1840 * *.c: Explain I/O priority.
1842 * *.c: More coding style fixes.
1844 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1846 * gasyncresult.c: Add another paragraph to the intro,
1847 adjust coding style of example.
1849 2007-11-29 A. Walton <awalton@svn.gnome.org>
1852 Fixes unknown meaning in GAppLaunchContext docs.
1854 Clarify asynchronous ops.
1856 Fix entity tag docs.
1859 Provides missing gtk-doc section, fixes API docs slighly.
1860 * gsimpleasyncresult.c:
1861 Fill in missing info in docs.
1862 * gunixinputstream.c:
1863 * gunixoutputstream.c:
1864 Be more expressive in short description.
1866 Remove gtk-doc stubs for non-public API.
1868 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1870 * *.c: Coding style fixups
1872 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1874 * inotify/inotify-helper.c: Don't export the lock from libgio.
1876 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1879 * abicheck.sh: Fix copy-and-paste leftovers
1881 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1883 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1885 2007-11-28 Alexander Larsson <alexl@redhat.com>
1889 Removed unnecessary file
1891 * gdesktopappinfo.[ch]:
1894 * glocaldirectorymonitor.[ch]:
1896 * glocalfileenumerator.[ch]:
1897 * glocalfileinputstream.[ch]:
1898 * glocalfilemonitor.[ch]:
1899 * glocalfileoutputstream.[ch]:
1901 * gnativevolumemonitor.c:
1902 * gpollfilemonitor.[ch]:
1903 * gunionvolumemonitor.[ch]:
1906 * gunixvolumemonitor.[ch]:
1909 * inotify/ginotifydirectorymonitor.[ch]:
1910 * inotify/ginotifyfilemonitor.[ch]:
1911 * inotify/inotify-helper.c:
1912 Append _ to all internal functions
1916 Export symbols needed for modules
1918 2007-11-28 Alexander Larsson <alexl@redhat.com>
1921 * abicheck.sh: Added.
1922 * makegioalias.pl: Added.
1923 * pltcheck.sh: Added.
1924 * gio.symbols: Added.
1927 Initial work on adding symbol handling.
1930 Correct ifdef guard name
1933 * inotify/Makefile.am:
1934 * xdgmime/Makefile.am:
1935 Include toplevel Makefile.decl
1937 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1939 * gcontenttype.c: Move doc comments to the unix section.
1941 * *.[hc]: More trivial doc corrections.
1943 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1945 * gpollfilemonitor.c:
1949 * gdesktopappinfo.c:
1954 * gdatainputstream.c:
1955 * gdatainputstream.h:
1956 * gdataoutputstream.c:
1957 * gdataoutputstream.h:
1958 * gfileinfo.h: Doc cleanups
1960 2007-11-28 Andre Klapper <a9016009@gmx.de>
1962 * gdesktopappinfo.c: Fix a typo.
1964 2007-11-27 Andre Klapper <a9016009@gmx.de>
1966 * glocalfileoutputstream.c: Fix a typo.
1968 2007-11-27 Alexander Larsson <alexl@redhat.com>
1971 Don't include removed headers
1973 2007-11-27 Alexander Larsson <alexl@redhat.com>
1976 * gsocketinputstream.[ch]: Removed.
1977 * gsocketoutputstream.[ch]: Removed.
1978 * gunixinputstream.[ch]: Added.
1979 * gunixoutputstream.[ch]: Added.
1980 Renamed GSocket*Stream to GUnix*Stream and made
1981 it unix-only, since its not really only for sockets
1982 and it only works on unix (but is highly useful there).
1984 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1990 * gbufferedinputstream.c:
1991 * gbufferedinputstream.h:
1992 * gbufferedoutputstream.c:
1993 * gbufferedoutputstream.h:
1997 * gdatainputstream.c:
1998 * gdatainputstream.h:
1999 * gdataoutputstream.c:
2000 * gdataoutputstream.h:
2001 * gdirectorymonitor.c:
2002 * gdirectorymonitor.h:
2009 * gfileenumerator.c:
2010 * gfileenumerator.h:
2015 * gfileinputstream.c:
2016 * gfileinputstream.h:
2019 * gfilenamecompleter.c:
2020 * gfilenamecompleter.h:
2021 * gfileoutputstream.c:
2022 * gfileoutputstream.h:
2023 * gfilterinputstream.c:
2024 * gfilterinputstream.h:
2025 * gfilteroutputstream.c:
2026 * gfilteroutputstream.h:
2039 * glocalfileoutputstream.c:
2040 * gmemoryinputstream.c:
2041 * gmemoryinputstream.h:
2042 * gmemoryoutputstream.c:
2043 * gmemoryoutputstream.h:
2044 * gmountoperation.c:
2045 * gmountoperation.h:
2048 * gpollfilemonitor.c:
2051 * gsimpleasyncresult.c:
2052 * gsimpleasyncresult.h:
2053 * gsocketinputstream.c:
2054 * gsocketinputstream.h:
2055 * gsocketoutputstream.c:
2056 * gsocketoutputstream.h:
2063 * gunixvolumemonitor.c:
2072 Bumps documentation to 93% symbol coverage, touching most
2073 of the public files. Fixes broken function documentation prototypes.
2074 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2075 gtk-doc headers in private files.
2077 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2079 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2080 (g_buffered_input_stream_read_byte):
2081 * gbufferedinputstream.h:
2082 New functions for efficient access to buffer and simple single byte
2085 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2086 (g_data_input_stream_read_until):
2087 * gdatainputstream.h:
2088 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2089 read_until with multiple stop chars.
2091 2007-11-27 Alexander Larsson <alexl@redhat.com>
2095 * inotify/Makefile.am:
2096 Use the user-specified giomoduledir
2098 2007-11-27 Alexander Larsson <alexl@redhat.com>
2102 Add catch-all gio.h header
2103 Don't install gdummyfile.h
2105 2007-11-26 Alexander Larsson <alexl@redhat.com>
2107 * Makefile.am (gioinclude_HEADERS):
2108 Remove trailing whitespace
2110 2007-11-26 Alexander Larsson <alexl@redhat.com>
2112 Merge gio-standalone into glib
2114 2007-11-25 Christian Kellner <gicmo@gnome.org>
2116 * gio/goutputstream.c:
2117 Fix small mistake in the docs.
2119 2007-11-21 Christian Persch <chpe@gnome.org>
2121 * gio/glocalfile.c: (g_local_file_trash):
2122 Convert filenames to UTF-8 for GError.
2123 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2124 as per xdg base dir spec.
2126 2007-11-21 Christian Persch <chpe@gnome.org>
2128 * gio/gdesktopappinfo.c:
2129 Use that g_key_file_to_data cannot fail.
2131 Use stock defines for the key file group and key names.
2134 2007-11-21 Alexander Larsson <alexl@redhat.com>
2137 (copy_stream_with_progress):
2138 Make sure we do a final progress callback with
2139 the full total size.
2141 2007-11-21 Alexander Larsson <alexl@redhat.com>
2144 Export g_file_copy_attributes
2145 Remove padding as its not needed for interfaces
2147 2007-11-20 Alexander Larsson <alexl@redhat.com>
2152 Add G_IO_ERROR_WOULD_MERGE for
2153 copy/move dir on dir with overwrite.
2155 2007-11-20 Alexander Larsson <alexl@redhat.com>
2158 * gio/glocalfileinfo.c:
2159 Add COPY_NAME (this is an optional
2160 non-modified utf8 version of the name) that
2163 2007-11-20 Alexander Larsson <alexl@redhat.com>
2165 * gio/glocalfileenumerator.c:
2166 Report errors as GIOError, not GFileError
2168 2007-11-16 Alexander Larsson <alexl@redhat.com>
2170 * gio/glocalfileoutputstream.c:
2171 * gio/gwin32appinfo.c:
2172 Fix typos in strings.
2173 Patch from Luca Ferretti <elle.uca@libero.it>
2175 2007-11-15 Alexander Larsson <alexl@redhat.com>
2178 Post release version bump
2180 === gio-standalone 0.1.2 ===
2182 2007-11-15 Alexander Larsson <alexl@redhat.com>
2184 * docs/reference/gio/Makefile.am:
2185 Fix up distcheck by removing weird
2191 2007-11-14 Alexander Larsson <alexl@redhat.com>
2193 * gio/gdesktopappinfo.c:
2194 * gio/glocaldirectorymonitor.c:
2196 * gio/glocalfileinfo.c:
2197 * gio/inotify/inotify-sub.c:
2198 * programs/gio-cat.c:
2199 * programs/gio-copy.c:
2200 * programs/gio-info.c:
2201 * programs/gio-ls.c:
2202 * programs/gio-monitor-dir.c:
2203 * programs/gio-monitor-file.c:
2204 * programs/gio-mount.c:
2205 * programs/gio-move.c:
2206 * programs/gio-rm.c:
2207 * programs/gio-save.c:
2208 * programs/gio-trash.c:
2209 Leak fixes from Kjartan Maraas
2211 2007-11-14 Alexander Larsson <alexl@redhat.com>
2213 * gio/fam/fam-helper.c:
2215 * gio/glocalfileinfo.c:
2219 * gio/inotify/inotify-diag.c:
2220 * gio/inotify/inotify-kernel.c:
2221 Various code cleanups from Kjartan Maraas
2223 2007-11-14 Alexander Larsson <alexl@redhat.com>
2225 * gio/gioscheduler.c:
2227 Set up threadpool so that we cache 2 unused
2228 idle threads for at 15 secs. This means we
2229 will reuse thread-local data (like dbus connections)
2232 2007-11-14 Alexander Larsson <alexl@redhat.com>
2234 * gio/fam/fam-helper.c:
2235 * gio/fam/gfamdirectorymonitor.c:
2236 * gio/fam/gfamfilemonitor.c:
2238 * gio/gcontenttype.c:
2239 * gio/gdatainputstream.c:
2240 * gio/gdataoutputstream.c:
2244 * gio/gfileattribute.h:
2245 * gio/gfileenumerator.c:
2247 * gio/ginputstream.c:
2250 * gio/glocalfileinfo.c:
2251 * gio/goutputstream.c:
2252 * gio/gpollfilemonitor.c:
2253 * gio/gsimpleasyncresult.c:
2254 * gio/gunixmounts.c:
2255 * gio/gunixmounts.h:
2256 * gio/inotify/ginotifydirectorymonitor.c:
2257 * gio/inotify/ginotifyfilemonitor.c:
2258 * gio/inotify/inotify-diag.c:
2259 * gio/inotify/inotify-kernel.c:
2260 * gio/inotify/inotify-path.c:
2262 * gio/test-streams.c:
2263 * programs/gio-info.c:
2264 * programs/gio-monitor-dir.c:
2265 * programs/gio-monitor-file.c:
2266 Various code cleanups from Kjartan Maraas
2268 2007-11-13 Alexander Larsson <alexl@redhat.com>
2271 Handle the uri-scheme calls for dummy files
2273 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2275 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2276 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2277 to avoid clash with the C++ keyword.
2279 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2281 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2282 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2284 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2286 * gio/glocaldirectorymonitor.c:
2287 * gio/glocalfilemonitor.c:
2288 * gio/gunionvolumemonitor.c:
2289 Don't use g_once_init_*() for initializations that could fail and
2290 could leave the initialization variable set to 0 but use GOnce.
2291 This prevents a deadlock on the second call when trying to create
2292 a monitor and no monitor type is available. Thanks to Sven Herzberg
2295 2007-11-11 Sven Herzberg <sven@imendio.com>
2297 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2298 #ifdef (make it work on MacOS X again)
2300 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2302 Fixes Changelog for last two commits (sorry guys).
2304 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2306 * gio/gbufferedinputstream.c:
2307 * gio/gdatainputstream.c:
2309 * gio/gfileoutputstream.c:
2310 * gio/gfilterinputstream.c:
2311 * gio/glocalfileinputstream.c:
2314 More consistency fixes in g*stream.c files.
2315 Significant clean of gfile's documentation, filling in of
2316 asynchronous operations documentation.
2318 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2320 * gio/gasyncresult.c:
2321 * gio/gbufferedinputstream.c:
2322 * gio/gbufferedoutputstream.c:
2323 * gio/gcancellable.c:
2324 * gio/gcontenttype.c:
2325 * gio/gdatainputstream.c:
2326 * gio/gdataoutputstream.c:
2327 * gio/gdesktopappinfo.c:
2330 * gio/gfileattribute.c:
2331 * gio/gio/gfileenumerator.c:
2333 * gio/gfileinputstream.c:
2334 * gio/gfilemonitor.c:
2335 * gio/gfileoutputstream.c:
2336 * gio/ginputstream.c:
2338 * gio/gioscheduler.c:
2339 * gio/gloadableicon.c:
2340 * gio/glocalfileoutputstream.c:
2341 * gio/gmemoryoutputstream.c:
2342 * gio/gmountoperation.c:
2343 * gio/goutputstream.c:
2345 * gio/gsimpleasyncresult.c:
2346 * gio/gunionvolumemonitor.c:
2347 * gio/gunixmounts.c:
2348 * gio/gunixvolume.c:
2352 * gio/gvolumemonitor.c:
2353 Updated documentation stubs, working towards consistency and
2356 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2358 * gio/gmemoryoutputstream.c:
2359 * gio/gmemoryoutputstream.h:
2360 Change g_memory_output_stream_set_free_on_close() to
2361 g_memory_output_stream_set_free_data() as this makes more sense and
2362 is more consistent with GMemoryInputStream.
2364 2007-11-07 Alexander Larsson <alexl@redhat.com>
2371 Change how we find the default vfs so that
2372 we can handle a gvfs failing to init
2374 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2376 * gio/gbufferedoutputstream.c:
2377 * gio/gdatainputstream.c:
2378 * gio/gdataoutputstream.c:
2379 * gio/gfileinputstream.c:
2380 * gio/gfileoutputstream.c:
2381 * gio/gfilterinputstream.c:
2382 * gio/gfilteroutputstream.c:
2383 * gio/ginputstream.c:
2384 * gio/gmemoryinputstream.c:
2385 * gio/gmemoryoutputstream.c:
2386 * gio/goutputstream.c:
2387 * gio/gsimpleasyncresult.c:
2388 * gio/gsocketinputstream.c:
2389 * gio/gsocketoutputstream.c:
2390 Add guards to the remaining public functions, add a TODO for
2391 an unimplemented function and remove some useless guards.
2393 2007-11-07 Alexander Larsson <alexl@redhat.com>
2396 Autoconf checks for the various types of
2397 getpwuid_r and getgrgid_r
2399 * gio/glocalfileinfo.c:
2400 Use the autoconf checks from above
2402 2007-11-07 Alexander Larsson <alexl@redhat.com>
2405 (g_local_file_query_filesystem_info):
2406 Some fixes for the statvfs case
2408 2007-11-07 Alexander Larsson <alexl@redhat.com>
2411 (g_local_file_query_filesystem_info):
2412 Pick the "best" of statfs / statvfs for the system
2413 if both are availible.
2415 2007-11-07 Alexander Larsson <alexl@redhat.com>
2417 Solaris fixes from Halton.Huo@Sun.COM:
2424 * gio/glocalfileinfo.c:
2425 Fix for solaris definition of getpwuid_r
2427 * gio/test-streams.c:
2428 Use G_GNUC_PRETTY_FUNCTION
2430 2007-11-07 Alexander Larsson <alexl@redhat.com>
2432 * gio/gdesktopappinfo.c:
2433 (update_default_list):
2434 Remove double semicolon.
2435 Patch from Jens Granseuer
2437 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2439 * docs/reference/gio/gio-sections.txt:
2440 * gio/gbufferedinputstream.c:
2441 * gio/gbufferedinputstream.h:
2442 * gio/gdatainputstream.c:
2443 * gio/gfileenumerator.c:
2444 * gio/gioscheduler.c:
2445 * gio/gunionvolumemonitor.c:
2447 * programs/gio-save.c:
2448 Fix typo: availible -> available. Unfortuntely this breaks API
2449 and ABI as g_buffered_input_stream_get_available() was renamed.
2451 * gio/gunixmounts.c:
2452 * gio/gbufferedinputstream.c:
2453 Add guards for public functions.
2455 2007-11-06 Ross Burton <ross@openedhand.com>
2457 * docs/reference/gio/Makefile.am:
2458 Fix invalid += usage which automake 1.10 doesn't like.
2460 2007-11-06 Alexander Larsson <alexl@redhat.com>
2463 (g_app_launch_context_class_init):
2466 Patch from Ross Burton
2468 2007-11-06 Alexander Larsson <alexl@redhat.com>
2471 Post release version bump
2473 === gio-standalone 0.1.1 ===
2475 2007-11-06 Alexander Larsson <alexl@redhat.com>
2478 Bump version to 0.1.1
2480 * gio/gsimpleasyncresult.c:
2481 (g_simple_async_result_set_from_error):
2482 Remove bogus g_return_if_fail
2484 2007-11-06 Alexander Larsson <alexl@redhat.com>
2487 The name is gio-standalone
2490 Add top src/builddir to includedir
2492 2007-11-06 Alexander Larsson <alexl@redhat.com>
2494 * docs/reference/gio/gio-sections.txt:
2496 * gio/gbufferedinputstream.c:
2497 * gio/gbufferedoutputstream.c:
2498 * gio/gcancellable.c:
2499 * gio/gdatainputstream.h:
2500 * gio/gdataoutputstream.c:
2501 * gio/gdataoutputstream.h:
2502 * gio/gdirectorymonitor.c:
2504 * gio/gfileattribute.c:
2505 * gio/gfileattribute.h:
2506 * gio/gfileenumerator.c:
2507 * gio/gfileenumerator.h:
2510 * gio/gfileinputstream.h:
2511 * gio/gfilemonitor.c:
2512 * gio/gfileoutputstream.h:
2513 * gio/glocalfilemonitor.h:
2514 * gio/glocalfileoutputstream.h:
2515 * gio/gmemoryinputstream.c:
2516 * gio/gmemoryoutputstream.c:
2517 * gio/gmountoperation.c:
2518 * gio/goutputstream.c:
2519 * gio/goutputstream.h:
2521 * gio/gsimpleasyncresult.c:
2522 * gio/gunixmounts.c:
2523 * gio/gunixmounts.h:
2525 * gio/inotify/inotify-helper.c:
2526 Fix gtk-doc warnings
2528 Patch from Ross Burton
2530 2007-11-06 Alexander Larsson <alexl@redhat.com>
2532 * gio/gfilenamecompleter.c:
2533 (g_filename_completer_get_completions):
2536 * gio/gunixvolume.c:
2537 Remove unused function
2539 Patches from Ross Burton
2541 2007-11-06 Alexander Larsson <alexl@redhat.com>
2546 Padding not needed for interfaces
2548 2007-11-06 Alexander Larsson <alexl@redhat.com>
2550 * gio/gfilemonitor.c:
2554 Make giotypes.h an internal file
2557 * gio/gbufferedinputstream.h:
2558 * gio/gbufferedoutputstream.h:
2559 * gio/gcancellable.h:
2560 * gio/gdatainputstream.h:
2561 * gio/gdataoutputstream.h:
2562 * gio/gdirectorymonitor.c:
2563 * gio/gdirectorymonitor.h:
2568 * gio/gfileattribute.h:
2569 * gio/gfileenumerator.h:
2574 * gio/gfilemonitor.c:
2575 * gio/gfilemonitor.h:
2576 * gio/gfilenamecompleter.c:
2577 * gio/gfilenamecompleter.h:
2578 * gio/gfilterinputstream.h:
2579 * gio/gfilteroutputstream.h:
2580 * gio/ginputstream.h:
2581 * gio/gmemoryinputstream.h:
2582 * gio/gmemoryoutputstream.h:
2583 * gio/gmountoperation.c:
2584 * gio/gmountoperation.h:
2585 * gio/gnativevolumemonitor.c:
2586 * gio/goutputstream.h:
2589 * gio/gsimpleasyncresult.c:
2590 * gio/gsimpleasyncresult.h:
2591 * gio/gsocketinputstream.h:
2592 * gio/gsocketoutputstream.h:
2593 * gio/gthemedicon.c:
2594 * gio/gthemedicon.h:
2598 * gio/gvolumemonitor.c:
2599 * gio/gvolumemonitor.h:
2600 Add padding in classes where it seems useful
2601 Don't include giotypes.h from public headers
2602 Move in Class definitions into c file where possible
2607 2007-11-06 Alexander Larsson <alexl@redhat.com>
2609 * docs/reference/gio/gio-docs.xml:
2610 Better structure for API docs
2612 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2615 * gio/gloadableicon.c:
2616 * gio/gsimpleasyncresult.c:
2617 * gio/gthemedicon.c:
2618 Add some more guards to public functions. Only files missing are now
2621 2007-11-06 Alexander Larsson <alexl@redhat.com>
2623 * docs/reference/gio/gio-docs.xml:
2624 Remove old files, add missing ones
2626 2007-11-06 Alexander Larsson <alexl@redhat.com>
2628 * docs/reference/gio/gio-sections.txt:
2631 Hide implementation classes
2633 * gio/gdriveprivate.h:
2634 * gio/gvolumeprivate.h:
2635 Remove non-existing function declarations
2637 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2640 Fix compilation warnings and add guards to the new functions.
2642 * gio/gasyncresult.c:
2644 Add guards to the public functions.
2647 Implement get_path().
2649 2007-11-06 Alexander Larsson <alexl@redhat.com>
2651 * gio/gfilenamecompleter.c:
2652 Make g_filename_completer_get_completions
2653 return char ** instead of GList for
2656 * docs/reference/gio/gio-docs.xml:
2657 * docs/reference/gio/gio-sections.txt:
2659 * gio/gasyncresult.c:
2660 * gio/gbufferedinputstream.c:
2661 * gio/gbufferedoutputstream.c:
2662 * gio/gcancellable.c:
2663 * gio/gcontenttype.c:
2664 * gio/gdatainputstream.c:
2665 * gio/gdataoutputstream.c:
2666 * gio/gdesktopappinfo.c:
2667 * gio/gdirectorymonitor.c:
2671 * gio/gfileattribute.c:
2672 * gio/gfileenumerator.c:
2675 * gio/gfileinputstream.c:
2676 * gio/gfilemonitor.c:
2677 * gio/gfilenamecompleter.c:
2678 * gio/gfilenamecompleter.h:
2679 * gio/gfileoutputstream.c:
2680 * gio/gfilterinputstream.c:
2682 * gio/ginputstream.c:
2684 * gio/gioscheduler.c:
2685 * gio/gloadableicon.c:
2686 * gio/glocaldirectorymonitor.c:
2688 * gio/glocalfileinputstream.c:
2689 * gio/glocalfilemonitor.c:
2690 * gio/glocalfileoutputstream.c:
2692 * gio/gmemoryinputstream.c:
2693 * gio/gmemoryoutputstream.c:
2694 * gio/gmountoperation.c:
2695 * gio/goutputstream.c:
2696 * gio/gpollfilemonitor.c:
2698 * gio/gsimpleasyncresult.c:
2699 * gio/gsocketinputstream.c:
2700 * gio/gsocketoutputstream.c:
2701 * gio/gthemedicon.c:
2702 * gio/gunionvolumemonitor.c:
2704 * gio/gunixmounts.c:
2705 * gio/gunixvolume.c:
2706 * gio/gunixvolumemonitor.c:
2710 * gio/gvolumemonitor.c:
2711 * gio/gwin32appinfo.c:
2712 Add (mostly stub) doc strings to public functions.
2713 Patch from Andrew Walton (awalton@gmail.com)
2715 2007-11-06 Alexander Larsson <alexl@redhat.com>
2717 * gio/gappinfo.[ch]:
2718 Added GAppLaunchContext object and pass that to launch.
2719 This allows simple implementation of both
2720 launch-on-screen and startup notification via a gtk+
2721 subclass of GAppLaunchContext
2723 * gio/gdesktopappinfo.c:
2724 Implement GAppLaunchContext API
2726 * gio/gwin32appinfo.c:
2729 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2731 * gio/gmountoperation.c:
2732 Add some guards to GMountOperation's public functions.
2734 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2738 * gio/gcancellable.c:
2739 * gio/gdirectorymonitor.c:
2741 * gio/gfileenumerator.c:
2742 * gio/gfilemonitor.c:,
2743 * gio/gfilenamecompleter.c:
2746 * gio/gioscheduler.c:
2750 * gio/gvolumemonitor.c:
2751 Add even more guards to various public functions.
2753 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2756 Add guards to the public functions of GAppInfo.
2758 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2760 * gio/gcontenttype.c:
2761 Add some more guards for public functions.
2763 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2765 * gio/fam/fam-module.c:
2766 * gio/fam/gfamdirectorymonitor.c:
2767 * gio/fam/gfamdirectorymonitor.h:
2768 * gio/fam/gfamfilemonitor.c:
2769 * gio/fam/gfamfilemonitor.h:
2770 * gio/inotify/ginotifydirectorymonitor.c:
2771 * gio/inotify/ginotifydirectorymonitor.h:
2772 * gio/inotify/ginotifyfilemonitor.c:
2773 * gio/inotify/ginotifyfilemonitor.h:
2774 Add proper copyright information and remove an unused variable
2775 in the GInotifyFileMonitor constructor.
2777 * gio/gcancellable.c:
2778 Add a guard for a public function and an assertion to prevent
2779 an undefined program state.
2781 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2783 * gio/gfileattribute.c:
2784 Don't run into an assertion if the given attribute value is NULL
2785 in g_file_attribute_value_get_*() but instead return a fallback
2786 value that makes sense in most situations. Passing them a attribute
2787 value with the wrong type will still run into an assertion.
2789 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2791 * gio/gfileattribute.c:
2793 Add even more guards to the public functions. Also fix the refcounting
2794 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2795 let g_file_info_list_attributes() filter the attributes by namespace
2796 instead of simply ignoring the namespace parameter.
2798 2007-11-03 Sven Herzberg <sven@imendio.com>
2800 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2801 (This makes gio work on MacOS X again)
2803 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2806 Build the gio subdirectory before the docs. Otherwise the build will
2809 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2810 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2811 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2812 Add guards to the public functions.
2814 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2816 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2817 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2818 to prevent a compiler warning.
2820 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2821 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2822 return something in the non-void function find_topdir_for().
2824 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2831 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2833 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2834 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2835 * gwin32appinfo.c (g_win32_app_info_launch):
2836 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2837 envp_for_startup_id, g_desktop_app_info_launch,
2838 g_desktop_app_info_launch_uris):
2840 Give an opaque 'startup_id' string instead of 'envp'.
2841 Support empty file lists for launching new windows.
2842 Fix infinite recursion bug when launching URIs.
2844 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2847 Add guard to the new g_file_get_uri_scheme() function.
2849 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2852 Convert a g_return_val_if_fail() to setting the GError instead as
2853 otherwise applications have to verify the parameter before otherwise
2854 and the parameter might come directly from the user.
2856 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2858 * gio/inotify/ginotify*.[ch]:
2859 Add missing copyright information.
2861 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2864 Add guards in the beginning of public functions to check for valid
2865 parameters and fix a bug in copy_stream_with_progress() that could've
2866 caused writing less bytes than reading.
2867 * gio/glocalfileinfo.c:
2868 Check for a NULL parameter and set the GError accordingly then.
2869 * gio/goutputstream.c:
2870 Fix the same bug as in gfile.c that could've caused writing less bytes
2871 than reading in g_output_stream_real_splice().
2873 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2876 Use the correct gvolumeprivate.h naming
2878 2007-11-01 Christian Kellner <gicmo@gnome.org>
2881 Remove leftover "$(daemon_sources)" entry.
2883 2007-11-01 Christian Kellner <gicmo@gnome.org>
2888 Add copyright information to source files.
2890 2007-11-01 Alexander Larsson <alexl@redhat.com>
2894 Add g_file_get_uri_scheme
2896 2007-11-01 Alexander Larsson <alexl@redhat.com>
2899 * gio/gdesktopappinfo.c:
2900 * gio/gwin32appinfo.c:
2901 Add g_app_info_get_default_for_uri_scheme.
2903 2007-11-01 Alexander Larsson <alexl@redhat.com>
2906 Correct filename for gdriveprivate.h
2908 2007-10-31 Alexander Larsson <alexl@redhat.com>
2911 Rename id:value to id:file
2914 * gio/glocalfileinfo.c:
2917 2007-10-31 Alexander Larsson <alexl@redhat.com>
2919 * gio/gunixvolume.c:
2921 Remove g_volume_get_platform_id, as thats not
2922 needed with the simpler union volume monitor
2924 2007-10-31 Alexander Larsson <alexl@redhat.com>
2927 * gio/guniondrive.[ch]: Removed.
2928 * gio/gunionvolume.[ch]: Removed.
2929 Remove GUnionDrive/Volume
2931 * gio/gunionvolumemonitor.c:
2932 Simplify union volume monitor, now we
2933 only have one native volume monitor and
2934 we use the actual volumes/drives from the
2935 child monitors instead of wrapping them
2937 * gio/gnativevolumemonitor.[ch]:
2938 Base class for native volume monitors.
2939 Includes priority and get_volume_for_mountpoint
2942 Add g_file_find_enclosing_volume
2945 Remove volume name fs attribute
2946 Add readonly fs attribute
2949 Implement readonly attribute
2950 remove volume name attribute
2951 Implement find_enclosing volume
2953 * gio/gunixmounts.c:
2954 Add a volume for "/".
2956 * gio/gunixvolume.[ch]:
2957 Set better name for /
2959 * gio/gunixvolumemonitor.[ch]:
2960 Derive from GNativeVolumeMonitor
2961 Implement get_volume_for_mountpoint
2964 GVolume typedef moved to gfile.h
2966 * gio/gvolumeprivate.h:
2967 Add g_volume_get_for_mount_path
2969 2007-10-31 Alexander Larsson <alexl@redhat.com>
2971 * gio/gunixmounts.[ch]:
2972 Add cache info to unix mount listers
2973 Make getmntent use threadsafe
2974 Add is_system_internal attribute for GUnixMount
2976 * gio/gunixvolume.c:
2977 (g_unix_volume_new):
2978 Use is_system_internal instead of own code
2980 * gio/glocaldirectorymonitor.c:
2981 * gio/gunixvolumemonitor.c:
2982 Update to new gunixmounts API
2987 2007-10-30 Alexander Larsson <alexl@redhat.com>
2990 Add volume name fsinfo attribute
2993 Read volume name info
2995 * gio/gunionvolumemonitor.c:
2996 Fix infinite loops when finalizing a union volume monitor
2998 2007-10-30 Alexander Larsson <alexl@redhat.com>
3000 * gio/goutputstream.[ch]:
3001 Add splice() with default implementation
3003 * gio/gsocketoutputstream.c:
3004 (g_socket_output_stream_write):
3005 Return error on cancellation correctly.
3007 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3009 * gio/glocalfile.c (g_local_file_trash):
3010 Do not leak a string.
3012 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3014 * gio/gfile.c (g_file_load_contents):
3015 Unref the stream after closing it.
3017 2007-10-25 Alexander Larsson <alexl@redhat.com>
3019 * gio/gioscheduler.h:
3022 2007-10-25 Alexander Larsson <alexl@redhat.com>
3026 Add g_file_has_uri_scheme and implement for local files
3028 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3030 * gio/gdesktopappinfo.c: do not leak a string.
3032 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3034 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3035 (g_local_directory_monitor_new):
3036 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3037 (g_local_file_monitor_new):
3038 Only look for the monitor type that should be used the first time
3039 and use g_qsort_with_data() instead of our own bubble sort
3042 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3045 * gio/fam/Makefile.am:
3046 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3047 * gio/fam/fam-helper.h:
3048 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3049 * gio/fam/gfamdirectorymonitor.c:
3050 * gio/fam/gfamdirectorymonitor.h:
3051 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3052 * gio/fam/gfamfilemonitor.h:
3053 * gio/glocaldirectorymonitor.c:
3054 * gio/glocaldirectorymonitor.h:
3055 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3056 * gio/glocalfilemonitor.h:
3057 * gio/inotify/Makefile.am:
3058 * gio/inotify/ginotifydirectorymonitor.c:
3059 * gio/inotify/ginotifydirectorymonitor.h:
3060 * gio/inotify/ginotifyfilemonitor.c:
3061 * gio/inotify/ginotifyfilemonitor.h:
3062 Implement the FAM and Inotify monitors as
3063 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3064 their own GIO module. GLocal(Directory|File)Monitor will use the
3065 monitor with the highest rank that is supported on that machine.
3067 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3070 Change GIO module dir to $(libdir)/gio/modules and change
3071 the log domain from GVFS to GIO. Also only export symbols starting
3072 with g_ in the resulting library.
3073 * gio/test-streams.c: (main):
3074 Set log handler for the GIO log domain.
3076 2007-10-22 Alexander Larsson <alexl@redhat.com>
3078 * gio/gfilenamecompleter.[ch]:
3079 Add g_filename_completer_set_dirs_only
3081 2007-10-22 Alexander Larsson <alexl@redhat.com>
3084 * gio/gurifuncs.[ch]:
3085 Add some simple URI helpers
3087 * gio/gfilenamecompleter.[ch]:
3088 Added object for filename (parse name actually) completion
3091 Handle ~ in parse names
3093 2007-10-17 Alexander Larsson <alexl@redhat.com>
3096 * gio/glocalfileinfo.c:
3097 Add and implement id:value attribute
3099 2007-10-17 Alexander Larsson <alexl@redhat.com>
3102 * gio/guniondrive.c:
3104 Add and implement g_drive_has_volumes
3106 2007-10-17 Alexander Larsson <alexl@redhat.com>
3109 * gio/glocalfileinfo.[ch]:
3110 Add unix:is_mountpoint and implement for local files
3112 2007-10-16 Alexander Larsson <alexl@redhat.com>
3114 * gio/gunionvolumemonitor.c:
3115 (g_union_volume_monitor_init):
3116 Fix up the unix type getting so that it works with gcc
3118 2007-10-12 Alexander Larsson <alexl@redhat.com>
3121 * gio/glocalfileinfo.c:
3122 Add thumbnail:failed to file info
3124 2007-10-12 Richard Hult <richard@imendio.com>
3126 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3127 optimizing away the get_type call (happens with some gcc versions,
3128 like the one shipped with OS X 10.4).
3130 2007-10-12 Alexander Larsson <alexl@redhat.com>
3132 * gio/glocalfileinfo.c:
3133 (_g_local_file_info_set_attribute):
3134 Fix build if not HAVE_XATTR
3135 Patch from Milosz Derezynski <internalerror@gmail.com>
3137 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3139 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3140 around for review, otherwise I would have asked you before
3143 2007-10-11 Alexander Larsson <alexl@redhat.com>
3146 Add thumbnail:path attribute
3148 * gio/glocalfileinfo.c:
3149 Implement thumbnail:path for local files
3151 2007-10-11 Alexander Larsson <alexl@redhat.com>
3153 * gio/glocalfileinfo.c:
3154 (_g_local_file_info_get):
3155 Avoid duplicate icon names
3157 2007-10-11 Alexander Larsson <alexl@redhat.com>
3159 * gio/gthemedicon.[ch]:
3160 Change g_themed_icon_get_names return type to const
3162 2007-10-10 Alexander Larsson <alexl@redhat.com>
3164 * gio/glocalfileinfo.c:
3165 Don't reference freed memory
3167 2007-10-10 Alexander Larsson <alexl@redhat.com>
3169 * gio/gfileattribute.c:
3172 * gio/glocalfileinfo.c:
3175 2007-10-10 Alexander Larsson <alexl@redhat.com>
3178 Check for NULL icons
3180 * gio/gfileattribute.c:
3181 Don't dup when getting objects (same as for string attributes)
3183 * gio/gicon.c (g_icon_equal):
3184 Safely handle NULLs in equal
3186 2007-10-10 Alexander Larsson <alexl@redhat.com>
3189 Fix c++ compilation issues
3190 Patch from Milosz Derezynski <internalerror@gmail.com>
3192 2007-10-10 Alexander Larsson <alexl@redhat.com>
3194 * programs/gio-monitor-dir.c:
3195 Don't crash if dir monitor not supported.
3197 2007-10-09 Alexander Larsson <alexl@redhat.com>
3200 Add missing G_END_DECLS
3202 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3204 * gio/gfile.c: (g_file_set_display_name),
3205 (g_file_query_settable_attributes),
3206 (g_file_query_writable_namespaces):
3207 Return NULL not FALSE on errors as the return type is a pointer.
3209 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3211 * gio/glocalfile.c: (g_local_file_monitor_file):
3212 Don't call monitor_file on the default interface vtable (which
3213 is NULL) but simply return NULL. The caller, GFile, will create a
3214 polling monitor if NULL is returned.
3216 2007-10-09 Alexander Larsson <alexl@redhat.com>
3220 * gio-unix-2.0.pc.in:
3221 Add gio-unix-2.0.pc if OS_UNIX
3224 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3226 2007-10-09 Alexander Larsson <alexl@redhat.com>
3228 * gio/gunixmounts.[ch]:
3229 Make unix mount monitoring API sane.
3230 Now its just a object with mounts_changed
3231 and mountpoints_changed signals.
3233 * gio/glocaldirectorymonitor.c:
3234 * gio/gunixvolumemonitor.c:
3235 Use new mount monitor api
3237 2007-10-09 Alexander Larsson <alexl@redhat.com>
3239 * gio/gunixmounts.[ch]:
3240 Move guess type into one call for mounts and one for mountpoints
3243 * gio/gunixvolume.c:
3246 2007-10-09 Alexander Larsson <alexl@redhat.com>
3248 * gio/gunixmounts.[ch]:
3249 Remove _ prefix in preparation to make this semi-public
3250 Hide implementation of structs
3252 * gio/glocaldirectorymonitor.c:
3254 * gio/gunixvolume.c:
3255 * gio/gunixvolumemonitor.c:
3256 Update for above API changes
3258 2007-10-08 Alexander Larsson <alexl@redhat.com>
3261 Better polling fallback. This also handles the case where we have
3262 a monitor_file implementation, but it fails.
3264 2007-10-08 Alexander Larsson <alexl@redhat.com>
3268 * gio/gunixmounts.c:
3269 * programs/gio-monitor-dir.c:
3270 * programs/gio-monitor-file.c:
3271 Added cancellable to file monitoring calls.
3272 These are really sync calls and need this.
3274 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3276 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3277 (g_local_vfs_class_init):
3278 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3279 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3281 2007-10-05 Alexander Larsson <alexl@redhat.com>
3283 * gio/gdirectorymonitorprivate.h:
3284 * gio/gfilemonitorprivate.h:
3285 * gio/gdirectorymonitor.h:
3286 * gio/gfilemonitor.h:
3287 Remove *private.h and move to the public API, so that
3288 we can do implementations outside gio (such as in gvfs)
3290 * gio/gdirectorymonitor.c:
3291 * gio/gfilemonitor.c:
3292 * gio/glocaldirectorymonitor.c:
3293 * gio/gpollfilemonitor.c:
3294 * gio/inotify/inotify-helper.c:
3295 * gio/fam/fam-helper.c:
3296 Update to the new header names
3298 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3300 * gio/gdirectorymonitor.c:
3301 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3304 2007-10-04 Alexander Larsson <alexl@redhat.com>
3306 * gio/glocalfileinfo.c (get_access_rights):
3307 Set CAN_TRASH when we can move the file.
3308 We should really also check for a parent trash dir.
3310 2007-10-04 Alexander Larsson <alexl@redhat.com>
3312 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3313 Add can_trash access attribute
3315 2007-10-04 Alexander Larsson <alexl@redhat.com>
3318 (g_local_file_trash):
3319 Create info file first. This is per-spec and allows
3320 us to actually trash directories.
3322 2007-10-02 Alexander Larsson <alexl@redhat.com>
3324 * gio/gdesktopappinfo.c:
3325 Implement the new mime support code.
3326 Always set app as handling mimetype when being set as default for it
3328 2007-10-01 Alexander Larsson <alexl@redhat.com>
3330 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3331 Fix up check for xattrs:
3333 2007-10-01 Alexander Larsson <alexl@redhat.com>
3336 (g_app_info_set_as_default_for_extension):
3337 (g_app_info_add_supports_type):
3338 (g_app_info_can_remove_supports_type):
3339 (g_app_info_remove_supports_type):
3340 Make these fail nicely if not implemented
3342 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3344 * gio/glocalfileoutputstream.c:
3345 * gio/glocalfileoutputstream.h:
3350 * programs/gio-save.c:
3351 Add a GFileCreateFlags argument to operations that can create
3354 2007-10-01 Alexander Larsson <alexl@redhat.com>
3356 * gio/gappinfo.[ch]:
3357 * gio/gdesktopappinfo.c:
3358 Add more (stubbed out) mime API needed for nautilus
3360 2007-10-01 Alexander Larsson <alexl@redhat.com>
3363 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3364 Add g_app_info_set_as_default_for_extension.
3366 * gio/gdesktopappinfo.c:
3367 Dummy for g_app_info_set_as_default_for_extension
3368 Support flags in g_app_info_create_from_commandline
3370 * gio/gwin32appinfo.c:
3372 Update for API changes
3374 * gio/gthemedicon.c:
3375 Properly NULL-terminate list of icon names
3377 2007-09-28 Alexander Larsson <alexl@redhat.com>
3379 * gio/gloadableicon.h:
3380 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3382 2007-09-28 Alexander Larsson <alexl@redhat.com>
3385 Install headers in $includedir/gio-standalone/
3387 * gio-2.0.pc.in: Added.
3388 * gio-standalone.pc.in: Removed.
3391 Renamed pkg-config file to match glib (for future move)
3392 Update to the new include dir
3395 Add more TODO comments
3397 2007-09-28 Alexander Larsson <alexl@redhat.com>
3399 * gio/gdesktopappinfo.[ch]:
3400 Expose new_from_filename
3401 Add getter for is_hidden and handle it better
3403 2007-09-28 Alexander Larsson <alexl@redhat.com>
3405 * gio/gfileinfo.[ch]:
3406 Rename g_file_size_format_for_display to
3407 g_format_file_size_for_display.
3408 Now it doesn't have the g_file prefix, so we
3409 can later move it to glib.
3411 2007-09-28 Alexander Larsson <alexl@redhat.com>
3413 * gio/gappinfo.[ch]:
3414 Add g_app_info_get_id and g_app_info_get_executable.
3415 Make all getters non-reffing
3416 Make g_app_info_launch take GFile arguments.
3417 Add must_support_uris argument to g_app_info_get_default_for_type.
3419 * gio/gwin32appinfo.c:
3420 Update to GAppInfo api changes
3422 * gio/gdesktopappinfo.c:
3423 Update to GAppInfo api changes
3424 Implement supports_xdg_startup_notify
3426 * gio/gfileicon.c (g_file_icon_get_file):
3427 Make getter non-reffing.
3432 2007-09-27 Alexander Larsson <alexl@redhat.com>
3434 * gio/gfileinfo.[ch]:
3435 Add g_file_size_format_for_display helper
3437 2007-09-27 Alexander Larsson <alexl@redhat.com>
3439 * gio/glocalfileinfo.c:
3440 Set UNIX_GID from gid, not from uid
3442 2007-09-27 Alexander Larsson <alexl@redhat.com>
3445 Add g_file_set_attributes_async
3447 2007-09-27 Alexander Larsson <alexl@redhat.com>
3449 * gio/glocalfile.c (g_local_file_set_display_name):
3450 Fix set_display_name to actually rename to the right place.
3451 Use lstat to look for existing files so we don't overwrite
3454 2007-09-26 Alexander Larsson <alexl@redhat.com>
3457 Add g_file_set_display_name_async()
3459 2007-09-26 Alexander Larsson <alexl@redhat.com>
3462 Add load_partial_contents async calls
3465 Make internal function static
3467 2007-09-26 Alexander Larsson <alexl@redhat.com>
3469 * gio/glocalfileinfo.c:
3470 Correctly detect broken symlinks
3472 2007-09-26 Alexander Larsson <alexl@redhat.com>
3474 * gio/gcancellable.c (g_cancellable_cancel):
3475 Allow cancel on NULL cancellable
3477 2007-09-25 Alexander Larsson <alexl@redhat.com>
3479 * gio/gsimpleasyncresult.c:
3480 Don't allocate g_error manually.
3481 Fixes g_slice/g_new mixup crash
3483 2007-09-25 Alexander Larsson <alexl@redhat.com>
3485 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3486 Actually set active_backend.
3487 This means the monitor will be cancelled correctly.
3489 2007-09-25 Alexander Larsson <alexl@redhat.com>
3491 * gio/gdirectorymonitor.c:
3492 Set timeout to NULL when destroying
3494 2007-09-25 Alexander Larsson <alexl@redhat.com>
3497 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3498 that is a better description of the error.
3500 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3502 * gio/gvfs.c: (g_vfs_get_local):
3503 Make the local vfs variable static. The same instance should
3506 2007-09-24 Alexander Larsson <alexl@redhat.com>
3508 * gio/glocalfileinfo.c:
3509 Pass in actual length read into sniffer, not the length
3512 2007-09-21 Alexander Larsson <alexl@redhat.com>
3514 * gio/gfileenumerator.c:
3517 * gio/gfileinputstream.c:
3518 * gio/gfileoutputstream.c:
3519 * gio/ginputstream.c:
3520 * gio/goutputstream.c:
3521 Don't crash if async callbacks are NULL
3523 2007-09-20 Alexander Larsson <alexl@redhat.com>
3526 Add async enumerate_children method and default
3529 2007-09-20 Alexander Larsson <alexl@redhat.com>
3532 Add g_file_contains_file & g_file_get_relative_path, since they
3533 were needed for nautilus.
3534 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3539 Implement new methods
3541 2007-09-17 Alexander Larsson <alexl@redhat.com>
3544 * gio/gfileinputstream.[ch]:
3545 * gio/gfileoutputstream.[ch]:
3547 * gio/glocalfileenumerator.[ch]:
3548 * gio/glocalfileinfo.[ch]:
3549 * gio/glocalfileinputstream.c:
3550 * gio/glocalfileoutputstream.c:
3551 * gio/gpollfilemonitor.c:
3552 * programs/gio-copy.c:
3553 * programs/gio-info.c:
3554 * programs/gio-move.c:
3555 Rename get_file_info to query_info() to make it clearer
3556 that these are not simple getters, but do i/o.
3558 2007-09-17 Alexander Larsson <alexl@redhat.com>
3560 * gio/gdatainputstream.[ch]:
3561 * gio/test-streams.c:
3562 Use _read_XXX instead of _get_XXX for the i/o calls
3565 2007-09-17 Alexander Larsson <alexl@redhat.com>
3568 Added needed stuff to TODO comment
3570 2007-09-17 Alexander Larsson <alexl@redhat.com>
3572 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3573 Don't error out removing the backup copy if it doesn't
3576 2007-09-14 Alexander Larsson <alexl@redhat.com>
3578 * programs/Makefile.am:
3579 * programs/gvfs-*.c:
3581 Renamed apps from gvfs-xxx to gio-xxx.
3583 2007-09-14 Alexander Larsson <alexl@redhat.com>
3586 * gio/gfileoutputstream.[ch]:
3587 * gio/glocalfileoutputstream.c:
3588 * programs/gvfs-save.c:
3589 g_file_output_stream_get_etag doesn't do i/o, so remove
3590 cancellation and error.
3592 2007-09-14 Alexander Larsson <alexl@redhat.com>
3595 Add new_etag output to replace_contents functions
3597 2007-09-14 Alexander Larsson <alexl@redhat.com>
3599 * gio/gfileoutputstream.[ch]:
3600 Add async get_file_info and default implementation
3602 2007-09-14 Alexander Larsson <alexl@redhat.com>
3604 * gio/gfileinputstream.c:
3605 Implement fallback wrapper for async get_file_info
3607 2007-09-14 Alexander Larsson <alexl@redhat.com>
3610 Add etag out argument to load_contents
3615 2007-09-14 Alexander Larsson <alexl@redhat.com>
3617 * gio/gcontenttype.c (looks_like_text):
3618 Whitespace like tab, cr and lf do not make the
3621 2007-09-14 Alexander Larsson <alexl@redhat.com>
3623 * gio/gfileinputstream.[ch]:
3624 Add async get_file_info.
3626 2007-09-13 Alexander Larsson <alexl@redhat.com>
3628 * gio/goutputstream.c (g_output_stream_write_all):
3629 Allow NULL for bytes_written
3631 2007-09-13 Alexander Larsson <alexl@redhat.com>
3633 * gio/gmemoryinputstream.[ch]:
3634 Add accessors for data
3636 2007-09-13 Alexander Larsson <alexl@redhat.com>
3638 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3639 Don't crash if length is NULL