1 2008-02-18 Alexander Larsson <alexl@redhat.com>
4 * glocalfileoutputstream.c:
5 Open files with O_BINARY on windows. (#517140)
7 2008-02-14 Alexander Larsson <alexl@redhat.com>
9 * glocalfileoutputstream.c:
10 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
12 2008-02-14 Alexander Larsson <alexl@redhat.com>
15 Copy permissions with file on copy (#514084)
16 This is what cp does and makes sure e.g. the
17 exec permissions are kept.
18 Its kinda weird in that it keeps the permission bits
19 the same while the uid and gid are different. However
20 the new uid is the user so its not a security issue,
21 and I've heard no complaints about cp on this issue.
23 2008-02-13 Ryan Lortie <desrt@desrt.ca>
25 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
27 2008-02-13 Alexander Larsson <alexl@redhat.com>
29 * inotify/inotify-path.c:
30 Define IN_ONLYDIR if not in header (#515346)
32 2008-02-12 Alexander Larsson <alexl@redhat.com>
34 * tests/live-g-file.c:
37 2008-02-11 Matthias Clasen <mclasen@redhat.com>
39 * === Released 2.15.5 ===
41 2008-02-11 Matthias Clasen <mclasen@redhat.com>
43 * gio.symbols: Add g_mount_mount_flags_get_type.
45 2008-02-11 Alexander Larsson <alexl@redhat.com>
48 (g_file_info_set_attribute_mask):
49 (g_file_attribute_matcher_matches_id):
50 Correctly handle NULL GAttributeMatcher meaning
51 matches nothing. (Fixes #513492)
53 2008-02-11 Alexander Larsson <alexl@redhat.com>
58 Added GMountMountFlags enum and added a flags
59 argument to all mount calls.
61 This is an API/ABI change for future extensibility,
62 as I think we will need at least an
63 inhibit-autorun flag (the panel needs this).
64 There are no flags defined yet though.
66 2008-02-11 Alexander Larsson <alexl@redhat.com>
69 Added new standard::description attribute.
70 Requested by Vincent, and useful for both
73 2008-02-11 Alexander Larsson <alexl@redhat.com>
78 2008-02-11 Matthias Clasen <mclasen@redhat.com>
80 * *.c: Documentation additions
82 2008-02-10 Matthias Clasen <mclasen@redhat.com>
84 * gappinfo.h: Formatting cleanup
85 * gappinfo.c: Fix up docs.
87 2008-02-09 Matthias Clasen <mclasen@redhat.com>
89 * gunixmounts.c: Consistently use getmntent_r() and fall
90 back to getmntent(). (#515492)
92 2008-02-09 Matthias Clasen <mclasen@redhat.com>
94 * gbufferedinputstream.c:
96 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
98 * tests/data-input-stream.c:
99 * tests/data-output-stream.c: Portability fixes.
101 2008-02-08 Alexander Larsson <alexl@redhat.com>
106 Add g_volume_should_automount.
109 2008-02-07 Tor Lillqvist <tml@novell.com>
111 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
112 Win32, too Unix-specific.
114 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
116 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
117 a local plt if the compiler doesn't support what we want. Bug #514702
119 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
121 reviewed by: <delete if not using a buddy>
124 * gunixinputstream.c:
125 * gunixoutputstream.c:
127 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
130 * tests/live-g-file.c:
131 * tests/live-g-file.txt:
132 New GIO testing module working over real data
134 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
136 * glocalfileoutputstream.c (g_local_file_output_stream_close):
137 Fallback to rename() if link() is not available
138 (when no support on target filesystem)
140 2008-02-06 Michael Natterer <mitch@imendio.com>
142 * gfileinfo.c (g_file_info_get_icon): replace
143 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
145 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
147 * gfile.c (g_file_create):
148 Documentation update of error codes
150 2008-02-06 Alexander Larsson <alexl@redhat.com>
153 Update to use both mimeapps.list and
154 defaults.list as discussed on xdg list.
156 2008-02-06 Benjamin Otte <otte@gnome.org>
159 * gfilenamecompleter.c:
160 Fix some typos in the documentation.
162 2008-02-06 Alexander Larsson <alexl@redhat.com>
164 * glocalfile.c (g_local_file_trash):
165 Don't succeed with trash if newly created
166 trash dir has the wrong owner. (#514696)
168 2008-02-05 Alexander Larsson <alexl@redhat.com>
170 * glocalfile.c (g_local_file_move):
171 Don't spew warnings when destination is not
174 2008-02-03 Hans Breuer <hans@breuer.org>
176 * makefile.msc : update
178 2008-02-01 Michael Natterer <mitch@imendio.com>
180 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
181 return value of xdg_mime_list_mime_parents() to a variable of the
184 2008-02-01 Alexander Larsson <alexl@redhat.com>
186 * gappinfo.c (g_app_info_launch_uris):
187 Actually call the launch_uris method, not
190 2008-02-01 Alexander Larsson <alexl@redhat.com>
192 * gdesktopappinfo.c (g_desktop_app_info_equal):
193 Ensure appinfos with no id but same pointer value
196 2008-02-01 Alexander Larsson <alexl@redhat.com>
198 * gappinfo.c (g_app_info_launch_default_for_uri):
201 2008-02-01 Alexander Larsson <alexl@redhat.com>
205 Add g_app_info_launch_default_for_uri utility
208 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
211 Doc fix for g_app_info_get_default_for_uri_scheme ()
214 2008-01-30 Alexander Larsson <alexl@redhat.com>
217 Add doc comment about uris vs GFiles to
221 Ensure uris passed to g_app_info_launch_uris()
222 are not roundtriped through GFile (as that
223 may be slightly destructive for e.g. mailto: links)
225 2008-01-30 Alexander Larsson <alexl@redhat.com>
227 * tests/data-input-stream.c:
228 * tests/data-output-stream.c:
229 C89 fixes from Jens Granseuer (#512849)
231 2008-01-30 Alexander Larsson <alexl@redhat.com>
234 Fix gamin/fam difference build issue. (#509419)
236 2008-01-29 Alexander Larsson <alexl@redhat.com>
240 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
242 2008-01-29 Alexander Larsson <alexl@redhat.com>
246 giomodule-priv.h include moved to .c file.
248 2008-01-29 Alexander Larsson <alexl@redhat.com>
250 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
251 Remove unused prio/name fields.
253 2008-01-29 Alexander Larsson <alexl@redhat.com>
255 * gcontenttype.c (looks_like_text):
256 Don't treat whitespace as control chars.
258 2008-01-29 Alexander Larsson <alexl@redhat.com>
261 Lazily create the desktop files for appinfos created
262 by g_app_info_create_from_commandline() when needed
263 for mime associations. This allows run-time use
264 of GAppInfo object without creating unnecessary
267 2008-01-29 Alexander Larsson <alexl@redhat.com>
270 Added new symbols to gio.symbols
272 2008-01-29 Alexander Larsson <alexl@redhat.com>
275 Add g_file_query_default_handler utility to easily look up
276 the GAppInfo that handles a file.
278 * gdesktopappinfo.[ch]:
280 Set up an extension point for g_app_info_get_default_for_uri_scheme()
283 Remove unused function
285 2008-01-29 Alexander Larsson <alexl@redhat.com>
288 Mention need to free returned value in
289 g_file_enumerator_next_files_finish docs.
290 Fix leak if g_file_enumerator_next_files_finish()
293 2008-01-29 Alexander Larsson <alexl@redhat.com>
296 (_g_unix_content_type_get_parents):
297 Use list_parents, not get_parents from xdgmime, because
298 the later doesn't use the cache.
300 * xdgmime/xdgmimecache.c:
301 (_xdg_mime_cache_list_mime_parents):
302 Don't list the same type as parent multiple times.
304 2008-01-28 Matthias Clasen <mclasen@redhat.com>
306 * === Released 2.15.4 ===
308 2008-01-28 Alexander Larsson <alexl@redhat.com>
311 Register local vfs with prio 0.
314 Remove old name and prio class members
316 2008-01-28 Matthias Clasen <mclasen@redhat.com>
318 * tests/g-file.c: Disable some tests that are failing in
319 the absence of a http backend.
321 2008-01-28 Alexander Larsson <alexl@redhat.com>
325 Add registration hooks for extension points.
326 Register the gio extension points.
328 * fam/gfamdirectorymonitor.c:
329 * fam/gfamfilemonitor.c:
330 * glocaldirectorymonitor.[ch]:
331 * glocalfilemonitor.[ch]:
332 * gnativevolumemonitor.h:
333 * gunionvolumemonitor.c:
334 * gunixvolumemonitor.c:
337 * inotify/ginotifydirectorymonitor.c:
338 * inotify/ginotifyfilemonitor.c:
339 Use the extension points registration instead
340 of g_type_children().
342 2008-01-28 Matthias Clasen <mclasen@redhat.com>
345 * gvolume.[hc]: Document new API.
347 * gfile.c (g_file_copy_async): Fix docs
349 2008-01-27 Matthias Clasen <mclasen@redhat.com>
351 * gbufferedinputstream.c:
353 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
356 2008-01-27 Matthias Clasen <mclasen@redhat.com>
358 * glocalfile.c: Avoid trivial differences in translatable strings.
360 2008-01-25 Matthias Clasen <mclasen@redhat.com>
362 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
363 build with gcc 3.4 (#509419)
365 2008-01-25 Matthias Clasen <mclasen@redhat.com>
367 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
368 (#509994, Murray Cumming)
370 2008-01-25 Matthias Clasen <mclasen@redhat.com>
372 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
373 * gioscheduler.c: Keep calling io jobs until they return FALSE;
374 this allows big jobs to be executed in chunks, instead of blocking
375 the main loop for a long time.
377 * gsimpleasyncresult.c:
378 * giofile.c: Adapt callers.
380 2008-01-25 Alexander Larsson <alexl@redhat.com>
383 Implement changes discussed on xdg list.
384 Now we can add supported mimetypes by just using defaults.list
385 We can also remove associations in defaults.list.
387 2008-01-25 Alexander Larsson <alexl@redhat.com>
390 Don't make local copy of desktop file
391 for mimetype changes if the file already
392 supports the new mimetype.
394 2008-01-25 Matthias Clasen <mclasen@redhat.com>
398 * gbufferedinputstream.c:
399 * glocalfile.c: String improvements. (#511966,
400 Theppitak Karoonboonyanan)
402 2008-01-24 Matthias Clasen <mclasen@redhat.com>
404 * gioscheduler.h: Expand docs a bit.
406 2008-01-24 Alexander Larsson <alexl@redhat.com>
409 Add g_drive_get_identifier and
410 g_drive_enumerate_identifiers
413 Add g_volume_get_identifier and
414 g_volume_enumerate_identifiers
420 Implement identifiers for unix backend
422 2008-01-24 Alexander Larsson <alexl@redhat.com>
427 Add g_file_copy_async() (#511580)
428 Based on patch from Carlos Garcia Campos
430 2008-01-23 Matthias Clasen <mclasen@redhat.com>
432 * gioscheduler.c: Some documentation additions.
434 2008-01-22 Alexander Larsson <alexl@redhat.com>
437 (g_desktop_app_info_new):
440 2008-01-22 Alexander Larsson <alexl@redhat.com>
443 (g_desktop_app_info_new_from_filename):
446 2008-01-22 Alexander Larsson <alexl@redhat.com>
448 * glocalfileinfo.c (get_thumbnail_attributes):
451 2008-01-22 Alexander Larsson <alexl@redhat.com>
454 (canonicalize_filename):
455 Canonicalize paths that start with more than
460 (test_g_file_new_for_path):
463 2008-01-22 Alexander Larsson <alexl@redhat.com>
466 Allow UTF-8 in file:// parse names.
469 * tests/data-input-stream.c:
470 * tests/data-output-stream.c:
471 * tests/g-file-info.c:
473 Added a bunch of tests from Tomas Bzatek
475 2008-01-21 Matthias Clasen <mclasen@redhat.com>
477 * === Released 2.15.3 ===
479 2008-01-21 Alexander Larsson <alexl@redhat.com>
481 * gfileinputstream.[ch]:
482 * gfileoutputstream.[ch]:
484 Remove duplicated GSeekable functions. (#509990)
485 Just use the g_seekable_xxx() calls instead.
487 2008-01-21 Matthias Clasen <mclasen@redhat.com>
490 * gvolumemanager.c: Whitespace cleanups.
492 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
493 Use the right mode when creating the file.
495 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
498 * gfileinputstream.c:
500 * goutputstream.c: Documentation: Fixed minor typos
501 and added more mentions of specific _finish() functions.
503 2008-01-21 Alexander Larsson <alexl@redhat.com>
505 * inotify/Makefile.am:
506 * inotify/inotify-helper.c:
507 * inotify/inotify-kernel.c:
508 * inotify/inotify-path.c:
509 * inotify/local_inotify.h: Removed.
510 * inotify/local_inotify_syscalls.h: Removed.
511 Removed the included copies of the inotify
512 headers. We now only use the <sys/inotify.h>
513 header which exists on modern systems.
514 This fixes problems on ARM and SH5 (#510448)
515 but is also generally much cleaner and future
516 safe. For instance, if other OSes add support
517 for inotify it should "just work".
519 2008-01-20 Matthias Clasen <mclasen@redhat.com>
521 * inotify/*.c: Coding style fixes.
522 * inotify/inotify-missing.c: Use g_timeout_add_seconds
523 for the 1/4 Hz timer.
525 2008-01-20 Matthias Clasen <mclasen@redhat.com>
529 * gmemoryinputstream.c:
530 * gmemoryoutputstream.c:
532 * gthemedicon.c: Documentation updates
534 2008-01-20 Murray Cumming <murrayc@murrayc.com>
536 * gfile.c: documentation: Fixed more minor
539 2008-01-18 Murray Cumming <murrayc@murrayc.com>
541 * gmount.c: (g_mount_remount): documentation:
542 Mention g_mount_remount_finish() instead of
543 g_mount_unmount_finish().
545 2008-01-18 Murray Cumming <murrayc@murrayc.com>
549 * gfile.c: Fixed some minor typos in the
552 2008-01-18 Murray Cumming <murrayc@murrayc.com>
554 * gio/gvolumemonitor.c:
555 (g_volume_monitor_get_connected_drives):
556 (g_volume_monitor_get_volumes):
557 (g_volume_monitor_get_mounts): Documentation:
558 Clarify the ownership of the regurn GLists.
560 2008-01-17 Alexander Larsson <alexl@redhat.com>
563 Add the async find_enclosing_mount version
564 to the header file too.
566 2008-01-17 Alexander Larsson <alexl@redhat.com>
569 Add async version of find_enclosing_mount
570 with default implementation.
572 2008-01-17 Alexander Larsson <alexl@redhat.com>
577 Allow calls to implementation of copy and write
578 even if the type of the file implementations is
579 different. This can be used to implement native
580 upload and download calls in a vfs.
584 Protect against the case where move is called
585 with one file not being local.
587 Make sure we call the progress callback once
588 in the native move operation so that the caller
589 knows how many bytes were copied.
591 2008-01-16 Murray Cumming <murrayc@murrayc.com>
594 * gdatainputstream.c:
596 * gfileoutputstream.c:
601 * gunixmounts.c: Corrected some typos in the documentation:
603 its -> it's (where appropriate).
605 2008-01-16 Alexander Larsson <alexl@redhat.com>
609 Add g_file_query_exists (#508771)
611 2008-01-15 Murray Cumming <murrayc@murrayc.com>
616 * gvolume.c: For async functions that have no non-async
617 version, document that the GAsyncReadyCallback may be NULL.
620 2008-01-15 Alexander Larsson <alexl@redhat.com>
622 * gmemoryinputstream.c:
623 * gmemoryoutputstream.c:
624 Don't do pointer arithmetic on void * (#508602)
625 Patch from Kazuki IWAMOTO
627 2008-01-14 Matthias Clasen <mclasen@redhat.com>
629 * === Released 2.15.2 ===
631 2008-01-14 Alexander Larsson <alexl@redhat.com>
633 * gfile.c (g_file_monitor_file):
634 Don't set error here, since we fallback to polling monitor.
636 2008-01-14 Alexander Larsson <alexl@redhat.com>
639 (g_file_monitor_directory):
640 (g_file_monitor_file):
641 Add GError to file monitor calls
643 * glocaldirectorymonitor.c:
644 * glocaldirectorymonitor.h:
646 * glocalfilemonitor.c:
647 * glocalfilemonitor.h:
649 Update for above change
651 2008-01-14 Alexander Larsson <alexl@redhat.com>
655 Handle root correctly in g_file_get_relative_path (#508719)
657 2008-01-14 Alexander Larsson <alexl@redhat.com>
660 Clean up docs and example for GAsyncResult (#508074)
662 2008-01-11 Murray Cumming <murrayc@murrayc.com>
664 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
665 and correct some spelling mistakes. Bug #508108.
667 2008-01-11 Matthias Clasen <mclasen@redhat.com>
669 * glocalfileinfo.c: Add a comment.
671 2008-01-10 Murray Cumming <murrayc@murrayc.com>
673 * gfileinfo.c: GFileInfo description: Mention
674 how to actually set attributes in a GFile and how to discover
675 which attributes are settable. Bug #508378.
677 2008-01-10 A. Walton <awalton@svn.gnome.org>
679 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
680 (g_app_info_get_default_for_type):
681 Check for NULL content types.
683 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
685 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
687 2008-01-09 Murray Cumming <murrayc@murrayc.com>
689 * gfile.c: *_async() functions: Several small corrections
690 to the documentation, mostly correcting copy/paste errors
691 and improving some sentences.
693 2008-01-09 Dan Winship <danw@gnome.org>
695 * glocalfile.c (get_unique_filename): x86_64 fix
697 2008-01-09 Alexander Larsson <alexl@redhat.com>
702 Add g_unix_mount_guess_should_display and use
703 for unix volume monitor backend.
704 This means we more or less show what the
705 gnome-vfs backend did.
706 Based on patch from Padraig O'Briain
708 2008-01-09 Alexander Larsson <alexl@redhat.com>
712 Add g_themed_icon_new_with_default_fallbacks
715 Use default fallbacks for icons
717 2008-01-09 Alexander Larsson <alexl@redhat.com>
720 * gmountoperation.[ch]:
721 Change the API a bit so that unhandled methods
722 get reported via the reply, rather than by
723 the signal emission return value. This is because
724 some handlers can't know this immediately without
725 doing I/O, and this is an async operation that
728 2008-01-09 Alexander Larsson <alexl@redhat.com>
731 * fam/gfamdirectorymonitor.c:
732 * fam/gfamfilemonitor.c:
733 Fix double free crash (#508224)
734 Patch from Joe Marcus Clarke
736 008-01-07 Matthias Clasen <mclasen@redhat.com>
738 * === Released 2.15.1 ===
740 2008-01-07 Alexander Larsson <alexl@redhat.com>
742 * gunixinputstream.c (g_unix_input_stream_skip_finish):
743 Fix warning (#507835)
745 2008-01-07 Alexander Larsson <alexl@redhat.com>
748 Pass --internal to glib-genmarshal
753 Use better types for signal arguments (#507822)
755 2008-01-07 Alexander Larsson <alexl@redhat.com>
758 Build test subdir after .
759 Remove gdirectorymonitor.[ch]
761 * gdirectorymonitor.[ch]:
765 Remove GDirectoryMonitor and make
766 GFileMonitor the baseclass for both file and
767 directory monitors. Lift the more generic
768 rate limiting code from GDirectoryMonitor
772 * fam/gfamdirectorymonitor.[ch]:
773 * inotify/ginotifydirectorymonitor.[ch]:
774 * inotify/inotify-helper.c:
775 * glocaldirectorymonitor.[ch]:
778 Update for the removed GDirectoryMonitor.
780 * gmemoryoutputstream.c:
781 Remove ununsed variable
783 2008-01-07 Alexander Larsson <alexl@redhat.com>
785 * gmemoryinputstream.c:
786 Translate error strings
789 * gmemoryoutputstream.[ch]:
790 New implementation that avoids using GByteArray
791 in implementation and API. (#506377)
793 2008-01-06 Matthias Clasen <mclasen@redhat.com>
795 * tests/*: Add a test for memory input streams.
797 * Makefile.am: Add tests to SUBDIRS.
799 2008-01-06 Matthias Clasen <mclasen@redhat.com>
801 * glocalfilemonitor.c:
802 * glocaldirectorymonitor.c: Mark property nicks and blurbs
805 2008-01-06 Matthias Clasen <mclasen@redhat.com>
807 * gdesktopappinfo.c: Fix a docs typo.
809 * gfileattribute.c: Add information about extended attributes
810 to the documentation. (#505058)
812 2008-01-04 Alexander Larsson <alexl@redhat.com>
816 Use the right type (uint) for the ask_password signal.
818 2008-01-04 Alexander Larsson <alexl@redhat.com>
823 Add g_app_info_supports_files()
824 Remove desktop arg from g_app_info_should_show().
826 * gdesktopappinfo.[ch]:
827 Implement g_app_info_supports_files() and new should_show()
828 Add g_desktop_app_info_set_desktop_env() to set the desktop
829 for should_show(). (This will be set by gtk+ later)
831 2008-01-04 Alexander Larsson <alexl@redhat.com>
834 * gmemoryinputstream.[ch]:
835 Improve API so that you can use multiple chunks
836 of memory and custom destroy functions. (#506374)
838 2008-01-03 Alexander Larsson <alexl@redhat.com>
841 Handle NULL attribute matchers safely, as we return this
842 for empty attribute matcher strings.
844 2008-01-03 Alexander Larsson <alexl@redhat.com>
846 * gunixmounts.c (g_unix_is_mount_path_system_internal):
847 Add /usr/local to list of internal mountpoints
849 2008-01-03 Alexander Larsson <alexl@redhat.com>
852 Check for HAVE_LCHOWN (#505887)
854 2008-01-03 Alexander Larsson <alexl@redhat.com>
858 Add define for selinux context attribute.
859 Fix missing : -> :: namespace separator change
860 Fix missing _ -> - name change for xattr-sys.
863 2008-01-03 Alexander Larsson <alexl@redhat.com>
866 Link to libglib and libgobject directly (#504879)
867 Patch from Sebastien Bacher
869 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
871 * gfile.c: Expanded the g_file_new_for_commandline_arg
872 description a bit, based on the code and the docs of the
873 other g_file_new_for_* functions.
875 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
877 * gfilemonitor.h: Fixed typo in docs.
879 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
881 Updates to GIO documentation. (#506395, Mikael Hermansson)
883 * gcontenttype.c: Describe memory management for return value of
884 g_content_types_get_registered(). Missing piece from #505815.
885 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
886 GVolume, GDrive, GMounts, which hopefully gives the user less
887 confusions when using this API. Following explainations from
888 Alexander Larsson on gtk-devel-list.
890 2007-12-30 Matthias Clasen <mclasen@redhat.com>
892 * gfileinfo.c: Expand the long description.
894 2007-12-30 Matthias Clasen <mclasen@redhat.com>
897 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
898 fix builds with --disable-visibility. (#500273, Christian Persch)
900 2007-12-30 Matthias Clasen <mclasen@redhat.com>
902 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
903 in the list of returned app infos.
905 2007-12-30 Matthias Clasen <mclasen@redhat.com>
907 * gappinfo.c: Fix a cross-reference
909 2007-12-30 Matthias Clasen <mclasen@redhat.com>
911 * gfileinputstream.c:
912 * gfileoutputstream.c:
918 * gfileinfo.c: Documentation updates.
920 2007-12-26 Matthias Clasen <mclasen@redhat.com>
922 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
925 2007-12-26 Matthias Clasen <mclasen@redhat.com>
927 * gcontenttype.c (g_content_types_get_registered): Don't return
928 freed memory (#505815, Mikael Hermansson)
930 2007-12-25 Paolo Borelli <pborelli@katamail.com>
932 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
933 used to detect statbuf->st_blocks. (#505042)
935 2007-12-24 Matthias Clasen <mclasen@redhat.com>
937 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
938 environment handling. (#504829, Cosimo Cecchi)
940 2007-12-22 Matthias Clasen <mclasen@redhat.com>
942 * gappinfo.c: Doc improvements
944 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
947 2007-12-20 Matthias Clasen <mclasen@redhat.com>
949 * === Released 2.15.0 ===
951 2007-12-20 Hans Breuer <hans@breuer.org>
953 * makefile.msc : don't build gdesktopappinfo.obj, it collides
954 with symbols gwin32appinfo.obj, added gmount.obj
955 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
957 2007-12-20 Alexander Larsson <alexl@redhat.com>
963 * gfilenamecompleter.c:
966 * gpollfilemonitor.c:
967 File attribute renames:
970 id::fs -> id::filesystem
972 2007-12-20 Alexander Larsson <alexl@redhat.com>
981 Add GMountUnmountFlags to all unmount and
983 Add g_mount_remount() call.
985 2007-12-20 Alexander Larsson <alexl@redhat.com>
987 * gvfs.c (get_default_vfs):
988 Fix unused variable warning
990 2007-12-19 Matthias Clasen <mclasen@redhat.com>
992 * pltcheck.sh: Update
994 2007-12-19 Matthias Clasen <mclasen@redhat.com>
996 * gunionvolumemonitor.c:
997 * gunixmount.c: Remove C99 comments
999 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1001 * gio.symbols: Add some missing symbols
1003 2007-12-19 Alexander Larsson <alexl@redhat.com>
1006 Make g_io_modules_load_all_in_directory not unuse
1007 loaded modules so that users of it can do stuff
1009 Init internal "module" types.
1010 Initialize static prio and name for types so that
1011 we don't have to load modules to get it.
1013 * gnativevolumemonitor.h:
1015 Move is_supported to parent class so that
1016 non-native monitors can avoid being initialized
1017 too. (For instance GDaemonVolumeMonitor if we're
1018 not using GDaemonVfs.)
1020 * glocaldirectorymonitor.[ch]:
1021 * glocalfilemonitor.[ch]:
1022 * gunionvolumemonitor.c:
1023 * gunixvolumemonitor.c:
1025 Find plugins using the static prio+name to
1026 avoid unnecessarily loading the modules.
1028 2007-12-19 Alexander Larsson <alexl@redhat.com>
1033 2007-12-19 Alexander Larsson <alexl@redhat.com>
1035 * gunionvolumemonitor.c:
1036 Store the native type as GType, not class so that
1037 we can unload it. But still avoid unnecessarily
1040 2007-12-19 David Zeuthen <davidz@redhat.com>
1042 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1043 add signals 'disconnected' and 'eject-button' on GDrive. Add
1044 signal 'removed' on GVolume and 'unmounted' on GMount.
1046 * gdrive.c: (g_drive_base_init):
1048 * gfile.c: (g_file_mount_mountable),
1049 (g_file_mount_enclosing_volume):
1052 * gmount.c: (g_mount_base_init):
1054 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1055 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1056 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1060 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1062 * *.c: Fix up includes in the section docs.
1064 2007-12-17 Alexander Larsson <alexl@redhat.com>
1066 * gnativevolumemonitor.h:
1067 * gunionvolumemonitor.c:
1068 * gunixvolumemonitor.c:
1069 Add is_supported() to GNativeVolumeMonitorClass so
1070 that we can avoid having to create an object to see
1071 if the backend is supported at runtime.
1072 Also add name member and an env var to pick a specific
1073 volume monitor backend.
1077 Add cancellable to _g_mount_get_for_mount_path()
1079 * glocaldirectorymonitor.c:
1080 * glocalfilemonitor.c:
1081 Avoid loading and unloading modules while sorting.
1083 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1086 * gunixmounts.[hc]: Namespace waste reduction, move some
1087 g_get_unix_mount functions to the g_unix_mount namespace.
1090 * gunixvolumemonitor.c:
1092 * glocaldirectorymonitor.c: Update all callers.
1094 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1096 2007-12-17 Alexander Larsson <alexl@redhat.com>
1099 Add doc comments about what GFile operations are
1100 guaranteed to not block.
1102 2007-12-17 Alexander Larsson <alexl@redhat.com>
1105 Add missing #ifdef fixing OSX build.
1106 (#503334, patch from Richard Hult)
1108 2007-12-14 David Zeuthen <davidz@redhat.com>
1112 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1113 (g_mount_eject), (g_mount_eject_finish):
1115 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1116 (get_volume_for_uuid), (get_mount_for_uuid),
1117 (g_union_volume_monitor_class_init),
1118 (get_default_native_type_with_exclude), (get_default_native_type),
1119 (get_native_type), (update_native_type),
1120 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1121 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1122 (g_unix_mount_can_eject), (eject_unmount_cb),
1123 (eject_unmount_read_error), (eject_unmount_do),
1124 (g_unix_mount_unmount), (g_unix_mount_eject),
1125 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1126 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1127 (g_unix_mount_point_guess_can_eject):
1129 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1130 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1131 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1132 (g_unix_volume_mount), (g_unix_volume_eject),
1133 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1134 * gunixvolumemonitor.c: (get_volume_for_uuid),
1135 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1137 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1138 (g_volume_eject), (g_volume_eject_finish):
1140 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1141 (g_volume_monitor_get_mount_for_uuid):
1144 Provide eject() on both GMount and GVolume and utility functions
1145 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1146 ejected. Introduce the concept of UUID's and wire it into GVolume
1147 and GMount and provide API on GVolumeMonitor to find such
1148 instances. Also handle the case where an external
1149 GNativeVolumeMonitor fails to initialize. Lock around the
1150 _g_get_mount_for_mount_path() function such that volume monitor
1151 implementations won't have to do locking themselves.
1153 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1155 * gdesktopappinfo.c:
1161 * gvolume.h: Documentation updates
1163 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1166 * gfile.h: Doc updates
1168 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1171 * gdesktopappinfo.c: Use hash table iterators.
1173 2007-12-14 Alexander Larsson <alexl@redhat.com>
1176 * gfileattribute.[ch]:
1177 * gfileattribute-priv.h:
1178 Move GFileAttributeValue to a private header, as
1182 Make set_attribute take a type + a pointer instead
1183 of a GFileAttributeValue.
1186 Fix up for above changes.
1187 Add g_file_info_get_attribute_data to get
1188 all info in one call, g_file_info_get_attribute_status
1189 to get the status and g_file_info_get_attribute_as_string.
1193 * glocalfileinfo.[ch]:
1197 Make _guess_type static.
1199 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1202 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1203 made mkenums and friends use temporary files to avoid leaving
1204 empty generated files on failure (#503470).
1206 2007-12-14 Alexander Larsson <alexl@redhat.com>
1208 * gmountoperation.h:
1211 2007-12-14 Alexander Larsson <alexl@redhat.com>
1215 * gfileattribute.[ch]:
1218 * glocalfileoutputstream.c:
1219 * gmountoperation.[ch]:
1220 * goutputstream.[ch]:
1221 Clean up all flags enums to not have _FLAGS in them
1222 Make the names of some of the enums better.
1227 2007-12-14 Michael Natterer <mitch@imendio.com>
1229 * gio.symbols: fix g_io_scheduler symbol names.
1231 2007-12-14 Alexander Larsson <alexl@redhat.com>
1237 * gbufferedinputstream.h:
1238 * gbufferedoutputstream.h:
1241 * gdatainputstream.h:
1242 * gdataoutputstream.h:
1243 * gdesktopappinfo.h:
1244 * gdirectorymonitor.h:
1248 * gfileenumerator.h:
1251 * gfileinputstream.h:
1253 * gfilenamecompleter.h:
1254 * gfileoutputstream.h:
1255 * gfilterinputstream.h:
1256 * gfilteroutputstream.h:
1264 * gmemoryinputstream.h:
1265 * gmemoryoutputstream.h:
1267 * gmountoperation.h:
1270 * gsimpleasyncresult.h:
1272 * gunixinputstream.h:
1274 * gunixoutputstream.h:
1278 * inotify/Makefile.am:
1279 Only allow including <gio/gio.h> from apps
1281 2007-12-14 Alexander Larsson <alexl@redhat.com>
1283 * gioscheduler.[ch]:
1284 * gsimpleasyncresult.c:
1285 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1286 Split out the send_to_mainloop call into two versions instead
1287 of having the block argument.
1289 2007-12-13 Alexander Larsson <alexl@redhat.com>
1291 * gcancellable.[ch]:
1293 * gbufferedinputstream.c:
1294 * gfileenumerator.c:
1295 * gfileinputstream.c:
1296 * gfileoutputstream.c:
1300 g_push/pop_current_cancellable ->
1301 g_cancellable_push/pop_current
1303 2007-12-13 Alexander Larsson <alexl@redhat.com>
1307 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1309 2007-12-13 Alexander Larsson <alexl@redhat.com>
1311 * gmountoperation.h:
1312 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1314 2007-12-12 Alexander Larsson <alexl@redhat.com>
1317 Fix race condition when freeing proxy in
1318 g_io_job_send_to_mainloop().
1320 2007-12-12 Alexander Larsson <alexl@redhat.com>
1326 Make attribute namespace separator "::" instead of ":".
1327 Use - instead of _ as separator in attribute names.
1329 2007-12-12 Alexander Larsson <alexl@redhat.com>
1331 * gbufferedinputstream.h:
1332 * gbufferedoutputstream.h:
1333 * gdatainputstream.h:
1334 * gdataoutputstream.h:
1335 * gdirectorymonitor.h:
1336 * gfileenumerator.h:
1337 * gfileinputstream.h:
1339 * gfileoutputstream.h:
1340 * gfilterinputstream.h:
1341 * gfilteroutputstream.h:
1343 * glocalfileinputstream.h:
1344 * glocalfileoutputstream.h:
1345 * gmemoryinputstream.h:
1346 * gmemoryoutputstream.h:
1347 * gnativevolumemonitor.h:
1349 * gunixinputstream.h:
1350 * gunixoutputstream.h:
1353 s/parent/parent_instance/ in GObjects
1355 2007-12-12 Alexander Larsson <alexl@redhat.com>
1360 No need for padding for interfaces
1362 2007-12-12 Alexander Larsson <alexl@redhat.com>
1366 * gbufferedinputstream.c:
1367 * gbufferedoutputstream.c:
1370 * gdatainputstream.[ch]:
1371 * gdesktopappinfo.c:
1372 * gdirectorymonitor.c:
1374 * gfileattribute.[ch]:
1377 * gfileinputstream.h:
1378 * gfilemonitor.[ch]:
1379 * gfileoutputstream.[ch]:
1380 * gfilterinputstream.h:
1381 * gfilteroutputstream.h:
1384 * gloadableicon.[ch]:
1385 * gmemoryinputstream.c:
1386 * gmountoperation.c:
1388 Fix up a bunch of details in the docs.
1393 2007-12-11 David Zeuthen <davidz@redhat.com>
1395 Rework how volumes, drives and volume monitoring is
1396 done. Previosly the model was
1398 GDrive <1-1> GVolume
1400 where a GDrive instance represented a mount point and a GVolume
1401 instance represented a mounted file system. This patch changes it
1404 GDrive <1-N> GVolume <1-1> GMount
1406 where GMount now serves the purpose of the old GVolume and the new
1407 GVolume serves the purpose of the old GDrive. In addition the new
1408 GDrive interface is used to represent a collection of GVolume
1409 instances (typically partitions) and also contains utility to query
1410 the state of the physical drive the GDrive object represents (such
1411 as checking for media, polling the drive, ejecting the media etc.).
1413 Also implement mounting and unmounting in the Unix volume monitor
1414 backend. A subquent patch will introduce GDrive support for ejection
1418 * gdrive.c: (g_drive_is_media_check_automatic),
1419 (g_drive_is_media_removable), (g_drive_has_media),
1420 (g_drive_can_poll_for_media), (g_drive_eject),
1421 (g_drive_eject_finish), (g_drive_poll_for_media),
1422 (g_drive_poll_for_media_finish):
1424 * gfile.c: (g_file_find_enclosing_mount):
1427 * glocaldirectorymonitor.c:
1428 (g_local_directory_monitor_constructor), (mounts_changed):
1429 * glocalfile.c: (get_mount_info),
1430 (g_local_file_find_enclosing_mount),
1431 (g_local_file_file_iface_init):
1432 * gnativevolumemonitor.h:
1433 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1434 (get_connected_drives), (g_union_volume_monitor_class_init),
1435 (child_volume_added), (child_volume_removed),
1436 (child_volume_changed), (child_mount_added), (child_mount_removed),
1437 (child_mount_pre_unmount), (child_mount_changed),
1438 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1439 (g_union_volume_monitor_remove_monitor),
1440 (_g_mount_get_for_mount_path):
1441 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1442 (guess_system_internal), (_g_get_unix_mounts),
1443 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1444 (g_unix_mount_free), (g_unix_mount_compare),
1445 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1446 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1447 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1448 (type_to_icon), (g_unix_mount_guess_name),
1449 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1450 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1451 (_resolve_symlink), (_resolve_dev_root):
1453 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1454 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1455 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1456 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1457 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1458 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1459 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1460 (g_unix_volume_volume_iface_init):
1462 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1463 (get_mounts), (get_volumes), (get_connected_drives),
1464 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1465 (mountpoints_changed), (mounts_changed),
1466 (g_unix_volume_monitor_init),
1467 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1468 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1469 * gunixvolumemonitor.h:
1470 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1471 (g_volume_mount), (g_volume_mount_finish):
1473 * gvolumemonitor.c: (g_volume_monitor_class_init),
1474 (g_volume_monitor_get_connected_drives),
1475 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1478 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1480 * gmountoperation.h (GPasswordFlags): Close the gap
1482 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1484 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1486 * gdesktopappinfo.[hc]: Remove _-prefixes
1488 2007-12-10 Tor Lillqvist <tml@novell.com>
1490 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1493 2007-12-10 Alexander Larsson <alexl@redhat.com>
1495 * gfile.c (g_file_set_display_name):
1496 Don't hardcode '/' (#502727)
1498 2007-12-09 Hans Breuer <hans@breuer.org>
1500 * makefile.msc : follow lib naming convention
1501 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1502 for user and group name, tested with ../tests/gio-ls
1504 2007-12-09 A. Walton <awalton@svn.gnome.org>
1506 * gdesktopappinfo.c:
1512 * gfileenumerator.c:
1517 * gmemoryinputstream.c:
1518 * gmemoryoutputstream.c:
1520 * gsimpleasyncresult.c:
1521 More documentation cleanup and filling in missing information, bringing
1522 GIO to 99% symbol coverage.
1524 2007-12-08 Hans Breuer <hans@breuer.org>
1526 [gio compiles and links on win32, not sure how much already works]
1527 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1528 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1529 base on win32 API; prefer g_lstat() over lstat(); instead of
1530 localtime_r() use an all GLib implementation on win32;
1531 get_mount_info() still needs a win32 specifc implementation
1532 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1533 win32_get_file_user_info to get owner/group info without uid/gid
1534 * glocalfileinputstream.c : include <io.h> on win32
1535 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1536 definition, use g_win32_ftruncate() for G_OS_WIN32
1537 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1538 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1539 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1540 * makefile.msc : updated
1542 2007-12-07 Alexander Larsson <alexl@redhat.com>
1544 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1545 Avoid warning spew if error == NULL
1547 2007-12-07 Alexander Larsson <alexl@redhat.com>
1550 Update docs wrt etags
1552 2007-12-06 Alexander Larsson <alexl@redhat.com>
1555 Include sys/types.h for dev_t (#501919)
1557 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1561 Make abicheck and pltcheck pass.
1563 2007-12-05 Alexander Larsson <alexl@redhat.com>
1566 * giomodule-priv.h: Added.
1567 * glocaldirectorymonitor.c:
1568 * glocalfilemonitor.c:
1569 * gunionvolumemonitor.c:
1571 Actually add the declaration of _g_io_modules_ensure_loaded
1573 2007-12-05 Alexander Larsson <alexl@redhat.com>
1575 * gdatainputstream.c:
1580 * glocaldirectorymonitor.c:
1581 * glocalfilemonitor.c:
1582 * gunionvolumemonitor.c:
1584 Make g_io_modules_ensure_loaded a private function and
1585 don't pass in the dirname. This means we can do magic
1586 directory finding in the win32 version.
1587 Export the actual load-modules-in-directory code so that
1588 gvfs can reuse that.
1590 2007-12-05 Alexander Larsson <alexl@redhat.com>
1592 * gbufferedinputstream.c:
1593 * gbufferedoutputstream.c:
1596 * gfileenumerator.[ch]:
1597 * gfileinputstream.c:
1598 * gfileoutputstream.[ch]:
1599 * gfilterinputstream.c:
1600 * gfilteroutputstream.c:
1601 * ginputstream.[ch]:
1603 * glocalfileenumerator.c:
1604 * glocalfileinputstream.c:
1605 * glocalfileoutputstream.c:
1606 * gmemoryinputstream.c:
1607 * gmemoryoutputstream.c:
1608 * goutputstream.[ch]:
1611 * gunixinputstream.c:
1612 * gunixoutputstream.c:
1613 Rename all struct members named:
1614 read, write, close, truncate, or mount
1615 to foo_fn, as these are reserved names
1616 and could be defined as macros in libc.
1619 2007-12-04 Alexander Larsson <alexl@redhat.com>
1622 (g_output_stream_close):
1623 Only call flush if non-null.
1625 2007-11-30 Dan Winship <danw@gnome.org>
1627 * ginputstream.c (g_input_stream_set_pending): Make this take a
1628 GError and return a gboolean, and do the "outstanding operation"
1629 check (and the "stream is already closed" check) itself.
1630 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1632 * goutputstream.c (g_output_stream_set_pending)
1633 (g_output_stream_clear_pending): Likewise
1635 * gbufferedinputstream.c:
1636 * gfileinputstream.c:
1637 * gfileoutputstream.c: Update for that
1639 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1640 Like g_simple_async_report_error_in_idle, but takes a GError
1641 rather than building one.
1643 2007-11-30 Dan Winship <danw@gnome.org>
1645 * goutputstream.c: Don't cheat and unset the "pending" flag around
1646 inner calls. Instead, call the class method directly rather than
1647 the wrapper function that checks "pending"
1649 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1651 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1653 2007-12-03 Hans Breuer <hans@breuer.org>
1655 [start of port to win32/msvc]
1656 * gcancellable.c : HAVE_UNIST_H and _pipe()
1657 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1658 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1659 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1661 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1662 * glocalvfs.c : use HAVE_PWD_H
1663 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1664 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1665 * Makefile.am : added to EXTRA_DIST
1667 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1669 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1672 2007-12-03 Alexander Larsson <alexl@redhat.com>
1675 Handle OSX style xattrs API (#500506)
1677 2007-12-03 Alexander Larsson <alexl@redhat.com>
1681 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1683 2007-12-02 A. Walton <awalton@svn.gnome.org>
1687 Documentation accuracy fixes.
1689 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1691 * gioenumtypes.c.template: Fix typo.
1693 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1695 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1697 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1699 * gdirectorymonitor.c:
1700 * gfilemonitor.c: Add properties
1702 * gbufferedoutputstream.c: Don't mark buffer-size property
1705 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1707 * gbufferedoutputstream.c: Add auto-grow property.
1709 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1711 * *.c: Unify the capitalization of section headings.
1713 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1715 * gmountoperation.c: Add properties
1717 * gdatainputstream.c: Turn byte-order and newline-type into
1720 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1722 * gioenumtypes.[hc].template: Templates for enum registration
1724 * Makefile.am: Generate gioenumtypes.[hc]
1726 * gio.h: Include gioenumtypes.h
1728 * gfile.h: Add some explicit nicks.
1730 * gio.symbols: Add new symbols
1732 * pltcheck.sh: Adjust
1734 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1736 * *.c: Explain etags and link to the explanation
1738 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1740 * *.c: Explain I/O priority.
1742 * *.c: More coding style fixes.
1744 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1746 * gasyncresult.c: Add another paragraph to the intro,
1747 adjust coding style of example.
1749 2007-11-29 A. Walton <awalton@svn.gnome.org>
1752 Fixes unknown meaning in GAppLaunchContext docs.
1754 Clarify asynchronous ops.
1756 Fix entity tag docs.
1759 Provides missing gtk-doc section, fixes API docs slighly.
1760 * gsimpleasyncresult.c:
1761 Fill in missing info in docs.
1762 * gunixinputstream.c:
1763 * gunixoutputstream.c:
1764 Be more expressive in short description.
1766 Remove gtk-doc stubs for non-public API.
1768 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1770 * *.c: Coding style fixups
1772 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1774 * inotify/inotify-helper.c: Don't export the lock from libgio.
1776 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1779 * abicheck.sh: Fix copy-and-paste leftovers
1781 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1783 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1785 2007-11-28 Alexander Larsson <alexl@redhat.com>
1789 Removed unnecessary file
1791 * gdesktopappinfo.[ch]:
1794 * glocaldirectorymonitor.[ch]:
1796 * glocalfileenumerator.[ch]:
1797 * glocalfileinputstream.[ch]:
1798 * glocalfilemonitor.[ch]:
1799 * glocalfileoutputstream.[ch]:
1801 * gnativevolumemonitor.c:
1802 * gpollfilemonitor.[ch]:
1803 * gunionvolumemonitor.[ch]:
1806 * gunixvolumemonitor.[ch]:
1809 * inotify/ginotifydirectorymonitor.[ch]:
1810 * inotify/ginotifyfilemonitor.[ch]:
1811 * inotify/inotify-helper.c:
1812 Append _ to all internal functions
1816 Export symbols needed for modules
1818 2007-11-28 Alexander Larsson <alexl@redhat.com>
1821 * abicheck.sh: Added.
1822 * makegioalias.pl: Added.
1823 * pltcheck.sh: Added.
1824 * gio.symbols: Added.
1827 Initial work on adding symbol handling.
1830 Correct ifdef guard name
1833 * inotify/Makefile.am:
1834 * xdgmime/Makefile.am:
1835 Include toplevel Makefile.decl
1837 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1839 * gcontenttype.c: Move doc comments to the unix section.
1841 * *.[hc]: More trivial doc corrections.
1843 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1845 * gpollfilemonitor.c:
1849 * gdesktopappinfo.c:
1854 * gdatainputstream.c:
1855 * gdatainputstream.h:
1856 * gdataoutputstream.c:
1857 * gdataoutputstream.h:
1858 * gfileinfo.h: Doc cleanups
1860 2007-11-28 Andre Klapper <a9016009@gmx.de>
1862 * gdesktopappinfo.c: Fix a typo.
1864 2007-11-27 Andre Klapper <a9016009@gmx.de>
1866 * glocalfileoutputstream.c: Fix a typo.
1868 2007-11-27 Alexander Larsson <alexl@redhat.com>
1871 Don't include removed headers
1873 2007-11-27 Alexander Larsson <alexl@redhat.com>
1876 * gsocketinputstream.[ch]: Removed.
1877 * gsocketoutputstream.[ch]: Removed.
1878 * gunixinputstream.[ch]: Added.
1879 * gunixoutputstream.[ch]: Added.
1880 Renamed GSocket*Stream to GUnix*Stream and made
1881 it unix-only, since its not really only for sockets
1882 and it only works on unix (but is highly useful there).
1884 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1890 * gbufferedinputstream.c:
1891 * gbufferedinputstream.h:
1892 * gbufferedoutputstream.c:
1893 * gbufferedoutputstream.h:
1897 * gdatainputstream.c:
1898 * gdatainputstream.h:
1899 * gdataoutputstream.c:
1900 * gdataoutputstream.h:
1901 * gdirectorymonitor.c:
1902 * gdirectorymonitor.h:
1909 * gfileenumerator.c:
1910 * gfileenumerator.h:
1915 * gfileinputstream.c:
1916 * gfileinputstream.h:
1919 * gfilenamecompleter.c:
1920 * gfilenamecompleter.h:
1921 * gfileoutputstream.c:
1922 * gfileoutputstream.h:
1923 * gfilterinputstream.c:
1924 * gfilterinputstream.h:
1925 * gfilteroutputstream.c:
1926 * gfilteroutputstream.h:
1939 * glocalfileoutputstream.c:
1940 * gmemoryinputstream.c:
1941 * gmemoryinputstream.h:
1942 * gmemoryoutputstream.c:
1943 * gmemoryoutputstream.h:
1944 * gmountoperation.c:
1945 * gmountoperation.h:
1948 * gpollfilemonitor.c:
1951 * gsimpleasyncresult.c:
1952 * gsimpleasyncresult.h:
1953 * gsocketinputstream.c:
1954 * gsocketinputstream.h:
1955 * gsocketoutputstream.c:
1956 * gsocketoutputstream.h:
1963 * gunixvolumemonitor.c:
1972 Bumps documentation to 93% symbol coverage, touching most
1973 of the public files. Fixes broken function documentation prototypes.
1974 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1975 gtk-doc headers in private files.
1977 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1979 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1980 (g_buffered_input_stream_read_byte):
1981 * gbufferedinputstream.h:
1982 New functions for efficient access to buffer and simple single byte
1985 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1986 (g_data_input_stream_read_until):
1987 * gdatainputstream.h:
1988 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1989 read_until with multiple stop chars.
1991 2007-11-27 Alexander Larsson <alexl@redhat.com>
1995 * inotify/Makefile.am:
1996 Use the user-specified giomoduledir
1998 2007-11-27 Alexander Larsson <alexl@redhat.com>
2002 Add catch-all gio.h header
2003 Don't install gdummyfile.h
2005 2007-11-26 Alexander Larsson <alexl@redhat.com>
2007 * Makefile.am (gioinclude_HEADERS):
2008 Remove trailing whitespace
2010 2007-11-26 Alexander Larsson <alexl@redhat.com>
2012 Merge gio-standalone into glib
2014 2007-11-25 Christian Kellner <gicmo@gnome.org>
2016 * gio/goutputstream.c:
2017 Fix small mistake in the docs.
2019 2007-11-21 Christian Persch <chpe@gnome.org>
2021 * gio/glocalfile.c: (g_local_file_trash):
2022 Convert filenames to UTF-8 for GError.
2023 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2024 as per xdg base dir spec.
2026 2007-11-21 Christian Persch <chpe@gnome.org>
2028 * gio/gdesktopappinfo.c:
2029 Use that g_key_file_to_data cannot fail.
2031 Use stock defines for the key file group and key names.
2034 2007-11-21 Alexander Larsson <alexl@redhat.com>
2037 (copy_stream_with_progress):
2038 Make sure we do a final progress callback with
2039 the full total size.
2041 2007-11-21 Alexander Larsson <alexl@redhat.com>
2044 Export g_file_copy_attributes
2045 Remove padding as its not needed for interfaces
2047 2007-11-20 Alexander Larsson <alexl@redhat.com>
2052 Add G_IO_ERROR_WOULD_MERGE for
2053 copy/move dir on dir with overwrite.
2055 2007-11-20 Alexander Larsson <alexl@redhat.com>
2058 * gio/glocalfileinfo.c:
2059 Add COPY_NAME (this is an optional
2060 non-modified utf8 version of the name) that
2063 2007-11-20 Alexander Larsson <alexl@redhat.com>
2065 * gio/glocalfileenumerator.c:
2066 Report errors as GIOError, not GFileError
2068 2007-11-16 Alexander Larsson <alexl@redhat.com>
2070 * gio/glocalfileoutputstream.c:
2071 * gio/gwin32appinfo.c:
2072 Fix typos in strings.
2073 Patch from Luca Ferretti <elle.uca@libero.it>
2075 2007-11-15 Alexander Larsson <alexl@redhat.com>
2078 Post release version bump
2080 === gio-standalone 0.1.2 ===
2082 2007-11-15 Alexander Larsson <alexl@redhat.com>
2084 * docs/reference/gio/Makefile.am:
2085 Fix up distcheck by removing weird
2091 2007-11-14 Alexander Larsson <alexl@redhat.com>
2093 * gio/gdesktopappinfo.c:
2094 * gio/glocaldirectorymonitor.c:
2096 * gio/glocalfileinfo.c:
2097 * gio/inotify/inotify-sub.c:
2098 * programs/gio-cat.c:
2099 * programs/gio-copy.c:
2100 * programs/gio-info.c:
2101 * programs/gio-ls.c:
2102 * programs/gio-monitor-dir.c:
2103 * programs/gio-monitor-file.c:
2104 * programs/gio-mount.c:
2105 * programs/gio-move.c:
2106 * programs/gio-rm.c:
2107 * programs/gio-save.c:
2108 * programs/gio-trash.c:
2109 Leak fixes from Kjartan Maraas
2111 2007-11-14 Alexander Larsson <alexl@redhat.com>
2113 * gio/fam/fam-helper.c:
2115 * gio/glocalfileinfo.c:
2119 * gio/inotify/inotify-diag.c:
2120 * gio/inotify/inotify-kernel.c:
2121 Various code cleanups from Kjartan Maraas
2123 2007-11-14 Alexander Larsson <alexl@redhat.com>
2125 * gio/gioscheduler.c:
2127 Set up threadpool so that we cache 2 unused
2128 idle threads for at 15 secs. This means we
2129 will reuse thread-local data (like dbus connections)
2132 2007-11-14 Alexander Larsson <alexl@redhat.com>
2134 * gio/fam/fam-helper.c:
2135 * gio/fam/gfamdirectorymonitor.c:
2136 * gio/fam/gfamfilemonitor.c:
2138 * gio/gcontenttype.c:
2139 * gio/gdatainputstream.c:
2140 * gio/gdataoutputstream.c:
2144 * gio/gfileattribute.h:
2145 * gio/gfileenumerator.c:
2147 * gio/ginputstream.c:
2150 * gio/glocalfileinfo.c:
2151 * gio/goutputstream.c:
2152 * gio/gpollfilemonitor.c:
2153 * gio/gsimpleasyncresult.c:
2154 * gio/gunixmounts.c:
2155 * gio/gunixmounts.h:
2156 * gio/inotify/ginotifydirectorymonitor.c:
2157 * gio/inotify/ginotifyfilemonitor.c:
2158 * gio/inotify/inotify-diag.c:
2159 * gio/inotify/inotify-kernel.c:
2160 * gio/inotify/inotify-path.c:
2162 * gio/test-streams.c:
2163 * programs/gio-info.c:
2164 * programs/gio-monitor-dir.c:
2165 * programs/gio-monitor-file.c:
2166 Various code cleanups from Kjartan Maraas
2168 2007-11-13 Alexander Larsson <alexl@redhat.com>
2171 Handle the uri-scheme calls for dummy files
2173 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2175 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2176 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2177 to avoid clash with the C++ keyword.
2179 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2181 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2182 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2184 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2186 * gio/glocaldirectorymonitor.c:
2187 * gio/glocalfilemonitor.c:
2188 * gio/gunionvolumemonitor.c:
2189 Don't use g_once_init_*() for initializations that could fail and
2190 could leave the initialization variable set to 0 but use GOnce.
2191 This prevents a deadlock on the second call when trying to create
2192 a monitor and no monitor type is available. Thanks to Sven Herzberg
2195 2007-11-11 Sven Herzberg <sven@imendio.com>
2197 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2198 #ifdef (make it work on MacOS X again)
2200 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2202 Fixes Changelog for last two commits (sorry guys).
2204 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2206 * gio/gbufferedinputstream.c:
2207 * gio/gdatainputstream.c:
2209 * gio/gfileoutputstream.c:
2210 * gio/gfilterinputstream.c:
2211 * gio/glocalfileinputstream.c:
2214 More consistency fixes in g*stream.c files.
2215 Significant clean of gfile's documentation, filling in of
2216 asynchronous operations documentation.
2218 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2220 * gio/gasyncresult.c:
2221 * gio/gbufferedinputstream.c:
2222 * gio/gbufferedoutputstream.c:
2223 * gio/gcancellable.c:
2224 * gio/gcontenttype.c:
2225 * gio/gdatainputstream.c:
2226 * gio/gdataoutputstream.c:
2227 * gio/gdesktopappinfo.c:
2230 * gio/gfileattribute.c:
2231 * gio/gio/gfileenumerator.c:
2233 * gio/gfileinputstream.c:
2234 * gio/gfilemonitor.c:
2235 * gio/gfileoutputstream.c:
2236 * gio/ginputstream.c:
2238 * gio/gioscheduler.c:
2239 * gio/gloadableicon.c:
2240 * gio/glocalfileoutputstream.c:
2241 * gio/gmemoryoutputstream.c:
2242 * gio/gmountoperation.c:
2243 * gio/goutputstream.c:
2245 * gio/gsimpleasyncresult.c:
2246 * gio/gunionvolumemonitor.c:
2247 * gio/gunixmounts.c:
2248 * gio/gunixvolume.c:
2252 * gio/gvolumemonitor.c:
2253 Updated documentation stubs, working towards consistency and
2256 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2258 * gio/gmemoryoutputstream.c:
2259 * gio/gmemoryoutputstream.h:
2260 Change g_memory_output_stream_set_free_on_close() to
2261 g_memory_output_stream_set_free_data() as this makes more sense and
2262 is more consistent with GMemoryInputStream.
2264 2007-11-07 Alexander Larsson <alexl@redhat.com>
2271 Change how we find the default vfs so that
2272 we can handle a gvfs failing to init
2274 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2276 * gio/gbufferedoutputstream.c:
2277 * gio/gdatainputstream.c:
2278 * gio/gdataoutputstream.c:
2279 * gio/gfileinputstream.c:
2280 * gio/gfileoutputstream.c:
2281 * gio/gfilterinputstream.c:
2282 * gio/gfilteroutputstream.c:
2283 * gio/ginputstream.c:
2284 * gio/gmemoryinputstream.c:
2285 * gio/gmemoryoutputstream.c:
2286 * gio/goutputstream.c:
2287 * gio/gsimpleasyncresult.c:
2288 * gio/gsocketinputstream.c:
2289 * gio/gsocketoutputstream.c:
2290 Add guards to the remaining public functions, add a TODO for
2291 an unimplemented function and remove some useless guards.
2293 2007-11-07 Alexander Larsson <alexl@redhat.com>
2296 Autoconf checks for the various types of
2297 getpwuid_r and getgrgid_r
2299 * gio/glocalfileinfo.c:
2300 Use the autoconf checks from above
2302 2007-11-07 Alexander Larsson <alexl@redhat.com>
2305 (g_local_file_query_filesystem_info):
2306 Some fixes for the statvfs case
2308 2007-11-07 Alexander Larsson <alexl@redhat.com>
2311 (g_local_file_query_filesystem_info):
2312 Pick the "best" of statfs / statvfs for the system
2313 if both are availible.
2315 2007-11-07 Alexander Larsson <alexl@redhat.com>
2317 Solaris fixes from Halton.Huo@Sun.COM:
2324 * gio/glocalfileinfo.c:
2325 Fix for solaris definition of getpwuid_r
2327 * gio/test-streams.c:
2328 Use G_GNUC_PRETTY_FUNCTION
2330 2007-11-07 Alexander Larsson <alexl@redhat.com>
2332 * gio/gdesktopappinfo.c:
2333 (update_default_list):
2334 Remove double semicolon.
2335 Patch from Jens Granseuer
2337 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2339 * docs/reference/gio/gio-sections.txt:
2340 * gio/gbufferedinputstream.c:
2341 * gio/gbufferedinputstream.h:
2342 * gio/gdatainputstream.c:
2343 * gio/gfileenumerator.c:
2344 * gio/gioscheduler.c:
2345 * gio/gunionvolumemonitor.c:
2347 * programs/gio-save.c:
2348 Fix typo: availible -> available. Unfortuntely this breaks API
2349 and ABI as g_buffered_input_stream_get_available() was renamed.
2351 * gio/gunixmounts.c:
2352 * gio/gbufferedinputstream.c:
2353 Add guards for public functions.
2355 2007-11-06 Ross Burton <ross@openedhand.com>
2357 * docs/reference/gio/Makefile.am:
2358 Fix invalid += usage which automake 1.10 doesn't like.
2360 2007-11-06 Alexander Larsson <alexl@redhat.com>
2363 (g_app_launch_context_class_init):
2366 Patch from Ross Burton
2368 2007-11-06 Alexander Larsson <alexl@redhat.com>
2371 Post release version bump
2373 === gio-standalone 0.1.1 ===
2375 2007-11-06 Alexander Larsson <alexl@redhat.com>
2378 Bump version to 0.1.1
2380 * gio/gsimpleasyncresult.c:
2381 (g_simple_async_result_set_from_error):
2382 Remove bogus g_return_if_fail
2384 2007-11-06 Alexander Larsson <alexl@redhat.com>
2387 The name is gio-standalone
2390 Add top src/builddir to includedir
2392 2007-11-06 Alexander Larsson <alexl@redhat.com>
2394 * docs/reference/gio/gio-sections.txt:
2396 * gio/gbufferedinputstream.c:
2397 * gio/gbufferedoutputstream.c:
2398 * gio/gcancellable.c:
2399 * gio/gdatainputstream.h:
2400 * gio/gdataoutputstream.c:
2401 * gio/gdataoutputstream.h:
2402 * gio/gdirectorymonitor.c:
2404 * gio/gfileattribute.c:
2405 * gio/gfileattribute.h:
2406 * gio/gfileenumerator.c:
2407 * gio/gfileenumerator.h:
2410 * gio/gfileinputstream.h:
2411 * gio/gfilemonitor.c:
2412 * gio/gfileoutputstream.h:
2413 * gio/glocalfilemonitor.h:
2414 * gio/glocalfileoutputstream.h:
2415 * gio/gmemoryinputstream.c:
2416 * gio/gmemoryoutputstream.c:
2417 * gio/gmountoperation.c:
2418 * gio/goutputstream.c:
2419 * gio/goutputstream.h:
2421 * gio/gsimpleasyncresult.c:
2422 * gio/gunixmounts.c:
2423 * gio/gunixmounts.h:
2425 * gio/inotify/inotify-helper.c:
2426 Fix gtk-doc warnings
2428 Patch from Ross Burton
2430 2007-11-06 Alexander Larsson <alexl@redhat.com>
2432 * gio/gfilenamecompleter.c:
2433 (g_filename_completer_get_completions):
2436 * gio/gunixvolume.c:
2437 Remove unused function
2439 Patches from Ross Burton
2441 2007-11-06 Alexander Larsson <alexl@redhat.com>
2446 Padding not needed for interfaces
2448 2007-11-06 Alexander Larsson <alexl@redhat.com>
2450 * gio/gfilemonitor.c:
2454 Make giotypes.h an internal file
2457 * gio/gbufferedinputstream.h:
2458 * gio/gbufferedoutputstream.h:
2459 * gio/gcancellable.h:
2460 * gio/gdatainputstream.h:
2461 * gio/gdataoutputstream.h:
2462 * gio/gdirectorymonitor.c:
2463 * gio/gdirectorymonitor.h:
2468 * gio/gfileattribute.h:
2469 * gio/gfileenumerator.h:
2474 * gio/gfilemonitor.c:
2475 * gio/gfilemonitor.h:
2476 * gio/gfilenamecompleter.c:
2477 * gio/gfilenamecompleter.h:
2478 * gio/gfilterinputstream.h:
2479 * gio/gfilteroutputstream.h:
2480 * gio/ginputstream.h:
2481 * gio/gmemoryinputstream.h:
2482 * gio/gmemoryoutputstream.h:
2483 * gio/gmountoperation.c:
2484 * gio/gmountoperation.h:
2485 * gio/gnativevolumemonitor.c:
2486 * gio/goutputstream.h:
2489 * gio/gsimpleasyncresult.c:
2490 * gio/gsimpleasyncresult.h:
2491 * gio/gsocketinputstream.h:
2492 * gio/gsocketoutputstream.h:
2493 * gio/gthemedicon.c:
2494 * gio/gthemedicon.h:
2498 * gio/gvolumemonitor.c:
2499 * gio/gvolumemonitor.h:
2500 Add padding in classes where it seems useful
2501 Don't include giotypes.h from public headers
2502 Move in Class definitions into c file where possible
2507 2007-11-06 Alexander Larsson <alexl@redhat.com>
2509 * docs/reference/gio/gio-docs.xml:
2510 Better structure for API docs
2512 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2515 * gio/gloadableicon.c:
2516 * gio/gsimpleasyncresult.c:
2517 * gio/gthemedicon.c:
2518 Add some more guards to public functions. Only files missing are now
2521 2007-11-06 Alexander Larsson <alexl@redhat.com>
2523 * docs/reference/gio/gio-docs.xml:
2524 Remove old files, add missing ones
2526 2007-11-06 Alexander Larsson <alexl@redhat.com>
2528 * docs/reference/gio/gio-sections.txt:
2531 Hide implementation classes
2533 * gio/gdriveprivate.h:
2534 * gio/gvolumeprivate.h:
2535 Remove non-existing function declarations
2537 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2540 Fix compilation warnings and add guards to the new functions.
2542 * gio/gasyncresult.c:
2544 Add guards to the public functions.
2547 Implement get_path().
2549 2007-11-06 Alexander Larsson <alexl@redhat.com>
2551 * gio/gfilenamecompleter.c:
2552 Make g_filename_completer_get_completions
2553 return char ** instead of GList for
2556 * docs/reference/gio/gio-docs.xml:
2557 * docs/reference/gio/gio-sections.txt:
2559 * gio/gasyncresult.c:
2560 * gio/gbufferedinputstream.c:
2561 * gio/gbufferedoutputstream.c:
2562 * gio/gcancellable.c:
2563 * gio/gcontenttype.c:
2564 * gio/gdatainputstream.c:
2565 * gio/gdataoutputstream.c:
2566 * gio/gdesktopappinfo.c:
2567 * gio/gdirectorymonitor.c:
2571 * gio/gfileattribute.c:
2572 * gio/gfileenumerator.c:
2575 * gio/gfileinputstream.c:
2576 * gio/gfilemonitor.c:
2577 * gio/gfilenamecompleter.c:
2578 * gio/gfilenamecompleter.h:
2579 * gio/gfileoutputstream.c:
2580 * gio/gfilterinputstream.c:
2582 * gio/ginputstream.c:
2584 * gio/gioscheduler.c:
2585 * gio/gloadableicon.c:
2586 * gio/glocaldirectorymonitor.c:
2588 * gio/glocalfileinputstream.c:
2589 * gio/glocalfilemonitor.c:
2590 * gio/glocalfileoutputstream.c:
2592 * gio/gmemoryinputstream.c:
2593 * gio/gmemoryoutputstream.c:
2594 * gio/gmountoperation.c:
2595 * gio/goutputstream.c:
2596 * gio/gpollfilemonitor.c:
2598 * gio/gsimpleasyncresult.c:
2599 * gio/gsocketinputstream.c:
2600 * gio/gsocketoutputstream.c:
2601 * gio/gthemedicon.c:
2602 * gio/gunionvolumemonitor.c:
2604 * gio/gunixmounts.c:
2605 * gio/gunixvolume.c:
2606 * gio/gunixvolumemonitor.c:
2610 * gio/gvolumemonitor.c:
2611 * gio/gwin32appinfo.c:
2612 Add (mostly stub) doc strings to public functions.
2613 Patch from Andrew Walton (awalton@gmail.com)
2615 2007-11-06 Alexander Larsson <alexl@redhat.com>
2617 * gio/gappinfo.[ch]:
2618 Added GAppLaunchContext object and pass that to launch.
2619 This allows simple implementation of both
2620 launch-on-screen and startup notification via a gtk+
2621 subclass of GAppLaunchContext
2623 * gio/gdesktopappinfo.c:
2624 Implement GAppLaunchContext API
2626 * gio/gwin32appinfo.c:
2629 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2631 * gio/gmountoperation.c:
2632 Add some guards to GMountOperation's public functions.
2634 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2638 * gio/gcancellable.c:
2639 * gio/gdirectorymonitor.c:
2641 * gio/gfileenumerator.c:
2642 * gio/gfilemonitor.c:,
2643 * gio/gfilenamecompleter.c:
2646 * gio/gioscheduler.c:
2650 * gio/gvolumemonitor.c:
2651 Add even more guards to various public functions.
2653 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2656 Add guards to the public functions of GAppInfo.
2658 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2660 * gio/gcontenttype.c:
2661 Add some more guards for public functions.
2663 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2665 * gio/fam/fam-module.c:
2666 * gio/fam/gfamdirectorymonitor.c:
2667 * gio/fam/gfamdirectorymonitor.h:
2668 * gio/fam/gfamfilemonitor.c:
2669 * gio/fam/gfamfilemonitor.h:
2670 * gio/inotify/ginotifydirectorymonitor.c:
2671 * gio/inotify/ginotifydirectorymonitor.h:
2672 * gio/inotify/ginotifyfilemonitor.c:
2673 * gio/inotify/ginotifyfilemonitor.h:
2674 Add proper copyright information and remove an unused variable
2675 in the GInotifyFileMonitor constructor.
2677 * gio/gcancellable.c:
2678 Add a guard for a public function and an assertion to prevent
2679 an undefined program state.
2681 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2683 * gio/gfileattribute.c:
2684 Don't run into an assertion if the given attribute value is NULL
2685 in g_file_attribute_value_get_*() but instead return a fallback
2686 value that makes sense in most situations. Passing them a attribute
2687 value with the wrong type will still run into an assertion.
2689 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2691 * gio/gfileattribute.c:
2693 Add even more guards to the public functions. Also fix the refcounting
2694 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2695 let g_file_info_list_attributes() filter the attributes by namespace
2696 instead of simply ignoring the namespace parameter.
2698 2007-11-03 Sven Herzberg <sven@imendio.com>
2700 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2701 (This makes gio work on MacOS X again)
2703 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2706 Build the gio subdirectory before the docs. Otherwise the build will
2709 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2710 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2711 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2712 Add guards to the public functions.
2714 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2716 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2717 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2718 to prevent a compiler warning.
2720 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2721 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2722 return something in the non-void function find_topdir_for().
2724 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2731 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2733 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2734 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2735 * gwin32appinfo.c (g_win32_app_info_launch):
2736 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2737 envp_for_startup_id, g_desktop_app_info_launch,
2738 g_desktop_app_info_launch_uris):
2740 Give an opaque 'startup_id' string instead of 'envp'.
2741 Support empty file lists for launching new windows.
2742 Fix infinite recursion bug when launching URIs.
2744 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2747 Add guard to the new g_file_get_uri_scheme() function.
2749 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2752 Convert a g_return_val_if_fail() to setting the GError instead as
2753 otherwise applications have to verify the parameter before otherwise
2754 and the parameter might come directly from the user.
2756 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2758 * gio/inotify/ginotify*.[ch]:
2759 Add missing copyright information.
2761 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2764 Add guards in the beginning of public functions to check for valid
2765 parameters and fix a bug in copy_stream_with_progress() that could've
2766 caused writing less bytes than reading.
2767 * gio/glocalfileinfo.c:
2768 Check for a NULL parameter and set the GError accordingly then.
2769 * gio/goutputstream.c:
2770 Fix the same bug as in gfile.c that could've caused writing less bytes
2771 than reading in g_output_stream_real_splice().
2773 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2776 Use the correct gvolumeprivate.h naming
2778 2007-11-01 Christian Kellner <gicmo@gnome.org>
2781 Remove leftover "$(daemon_sources)" entry.
2783 2007-11-01 Christian Kellner <gicmo@gnome.org>
2788 Add copyright information to source files.
2790 2007-11-01 Alexander Larsson <alexl@redhat.com>
2794 Add g_file_get_uri_scheme
2796 2007-11-01 Alexander Larsson <alexl@redhat.com>
2799 * gio/gdesktopappinfo.c:
2800 * gio/gwin32appinfo.c:
2801 Add g_app_info_get_default_for_uri_scheme.
2803 2007-11-01 Alexander Larsson <alexl@redhat.com>
2806 Correct filename for gdriveprivate.h
2808 2007-10-31 Alexander Larsson <alexl@redhat.com>
2811 Rename id:value to id:file
2814 * gio/glocalfileinfo.c:
2817 2007-10-31 Alexander Larsson <alexl@redhat.com>
2819 * gio/gunixvolume.c:
2821 Remove g_volume_get_platform_id, as thats not
2822 needed with the simpler union volume monitor
2824 2007-10-31 Alexander Larsson <alexl@redhat.com>
2827 * gio/guniondrive.[ch]: Removed.
2828 * gio/gunionvolume.[ch]: Removed.
2829 Remove GUnionDrive/Volume
2831 * gio/gunionvolumemonitor.c:
2832 Simplify union volume monitor, now we
2833 only have one native volume monitor and
2834 we use the actual volumes/drives from the
2835 child monitors instead of wrapping them
2837 * gio/gnativevolumemonitor.[ch]:
2838 Base class for native volume monitors.
2839 Includes priority and get_volume_for_mountpoint
2842 Add g_file_find_enclosing_volume
2845 Remove volume name fs attribute
2846 Add readonly fs attribute
2849 Implement readonly attribute
2850 remove volume name attribute
2851 Implement find_enclosing volume
2853 * gio/gunixmounts.c:
2854 Add a volume for "/".
2856 * gio/gunixvolume.[ch]:
2857 Set better name for /
2859 * gio/gunixvolumemonitor.[ch]:
2860 Derive from GNativeVolumeMonitor
2861 Implement get_volume_for_mountpoint
2864 GVolume typedef moved to gfile.h
2866 * gio/gvolumeprivate.h:
2867 Add g_volume_get_for_mount_path
2869 2007-10-31 Alexander Larsson <alexl@redhat.com>
2871 * gio/gunixmounts.[ch]:
2872 Add cache info to unix mount listers
2873 Make getmntent use threadsafe
2874 Add is_system_internal attribute for GUnixMount
2876 * gio/gunixvolume.c:
2877 (g_unix_volume_new):
2878 Use is_system_internal instead of own code
2880 * gio/glocaldirectorymonitor.c:
2881 * gio/gunixvolumemonitor.c:
2882 Update to new gunixmounts API
2887 2007-10-30 Alexander Larsson <alexl@redhat.com>
2890 Add volume name fsinfo attribute
2893 Read volume name info
2895 * gio/gunionvolumemonitor.c:
2896 Fix infinite loops when finalizing a union volume monitor
2898 2007-10-30 Alexander Larsson <alexl@redhat.com>
2900 * gio/goutputstream.[ch]:
2901 Add splice() with default implementation
2903 * gio/gsocketoutputstream.c:
2904 (g_socket_output_stream_write):
2905 Return error on cancellation correctly.
2907 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2909 * gio/glocalfile.c (g_local_file_trash):
2910 Do not leak a string.
2912 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2914 * gio/gfile.c (g_file_load_contents):
2915 Unref the stream after closing it.
2917 2007-10-25 Alexander Larsson <alexl@redhat.com>
2919 * gio/gioscheduler.h:
2922 2007-10-25 Alexander Larsson <alexl@redhat.com>
2926 Add g_file_has_uri_scheme and implement for local files
2928 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2930 * gio/gdesktopappinfo.c: do not leak a string.
2932 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2934 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2935 (g_local_directory_monitor_new):
2936 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2937 (g_local_file_monitor_new):
2938 Only look for the monitor type that should be used the first time
2939 and use g_qsort_with_data() instead of our own bubble sort
2942 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2945 * gio/fam/Makefile.am:
2946 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2947 * gio/fam/fam-helper.h:
2948 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2949 * gio/fam/gfamdirectorymonitor.c:
2950 * gio/fam/gfamdirectorymonitor.h:
2951 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2952 * gio/fam/gfamfilemonitor.h:
2953 * gio/glocaldirectorymonitor.c:
2954 * gio/glocaldirectorymonitor.h:
2955 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2956 * gio/glocalfilemonitor.h:
2957 * gio/inotify/Makefile.am:
2958 * gio/inotify/ginotifydirectorymonitor.c:
2959 * gio/inotify/ginotifydirectorymonitor.h:
2960 * gio/inotify/ginotifyfilemonitor.c:
2961 * gio/inotify/ginotifyfilemonitor.h:
2962 Implement the FAM and Inotify monitors as
2963 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2964 their own GIO module. GLocal(Directory|File)Monitor will use the
2965 monitor with the highest rank that is supported on that machine.
2967 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2970 Change GIO module dir to $(libdir)/gio/modules and change
2971 the log domain from GVFS to GIO. Also only export symbols starting
2972 with g_ in the resulting library.
2973 * gio/test-streams.c: (main):
2974 Set log handler for the GIO log domain.
2976 2007-10-22 Alexander Larsson <alexl@redhat.com>
2978 * gio/gfilenamecompleter.[ch]:
2979 Add g_filename_completer_set_dirs_only
2981 2007-10-22 Alexander Larsson <alexl@redhat.com>
2984 * gio/gurifuncs.[ch]:
2985 Add some simple URI helpers
2987 * gio/gfilenamecompleter.[ch]:
2988 Added object for filename (parse name actually) completion
2991 Handle ~ in parse names
2993 2007-10-17 Alexander Larsson <alexl@redhat.com>
2996 * gio/glocalfileinfo.c:
2997 Add and implement id:value attribute
2999 2007-10-17 Alexander Larsson <alexl@redhat.com>
3002 * gio/guniondrive.c:
3004 Add and implement g_drive_has_volumes
3006 2007-10-17 Alexander Larsson <alexl@redhat.com>
3009 * gio/glocalfileinfo.[ch]:
3010 Add unix:is_mountpoint and implement for local files
3012 2007-10-16 Alexander Larsson <alexl@redhat.com>
3014 * gio/gunionvolumemonitor.c:
3015 (g_union_volume_monitor_init):
3016 Fix up the unix type getting so that it works with gcc
3018 2007-10-12 Alexander Larsson <alexl@redhat.com>
3021 * gio/glocalfileinfo.c:
3022 Add thumbnail:failed to file info
3024 2007-10-12 Richard Hult <richard@imendio.com>
3026 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3027 optimizing away the get_type call (happens with some gcc versions,
3028 like the one shipped with OS X 10.4).
3030 2007-10-12 Alexander Larsson <alexl@redhat.com>
3032 * gio/glocalfileinfo.c:
3033 (_g_local_file_info_set_attribute):
3034 Fix build if not HAVE_XATTR
3035 Patch from Milosz Derezynski <internalerror@gmail.com>
3037 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3039 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3040 around for review, otherwise I would have asked you before
3043 2007-10-11 Alexander Larsson <alexl@redhat.com>
3046 Add thumbnail:path attribute
3048 * gio/glocalfileinfo.c:
3049 Implement thumbnail:path for local files
3051 2007-10-11 Alexander Larsson <alexl@redhat.com>
3053 * gio/glocalfileinfo.c:
3054 (_g_local_file_info_get):
3055 Avoid duplicate icon names
3057 2007-10-11 Alexander Larsson <alexl@redhat.com>
3059 * gio/gthemedicon.[ch]:
3060 Change g_themed_icon_get_names return type to const
3062 2007-10-10 Alexander Larsson <alexl@redhat.com>
3064 * gio/glocalfileinfo.c:
3065 Don't reference freed memory
3067 2007-10-10 Alexander Larsson <alexl@redhat.com>
3069 * gio/gfileattribute.c:
3072 * gio/glocalfileinfo.c:
3075 2007-10-10 Alexander Larsson <alexl@redhat.com>
3078 Check for NULL icons
3080 * gio/gfileattribute.c:
3081 Don't dup when getting objects (same as for string attributes)
3083 * gio/gicon.c (g_icon_equal):
3084 Safely handle NULLs in equal
3086 2007-10-10 Alexander Larsson <alexl@redhat.com>
3089 Fix c++ compilation issues
3090 Patch from Milosz Derezynski <internalerror@gmail.com>
3092 2007-10-10 Alexander Larsson <alexl@redhat.com>
3094 * programs/gio-monitor-dir.c:
3095 Don't crash if dir monitor not supported.
3097 2007-10-09 Alexander Larsson <alexl@redhat.com>
3100 Add missing G_END_DECLS
3102 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3104 * gio/gfile.c: (g_file_set_display_name),
3105 (g_file_query_settable_attributes),
3106 (g_file_query_writable_namespaces):
3107 Return NULL not FALSE on errors as the return type is a pointer.
3109 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3111 * gio/glocalfile.c: (g_local_file_monitor_file):
3112 Don't call monitor_file on the default interface vtable (which
3113 is NULL) but simply return NULL. The caller, GFile, will create a
3114 polling monitor if NULL is returned.
3116 2007-10-09 Alexander Larsson <alexl@redhat.com>
3120 * gio-unix-2.0.pc.in:
3121 Add gio-unix-2.0.pc if OS_UNIX
3124 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3126 2007-10-09 Alexander Larsson <alexl@redhat.com>
3128 * gio/gunixmounts.[ch]:
3129 Make unix mount monitoring API sane.
3130 Now its just a object with mounts_changed
3131 and mountpoints_changed signals.
3133 * gio/glocaldirectorymonitor.c:
3134 * gio/gunixvolumemonitor.c:
3135 Use new mount monitor api
3137 2007-10-09 Alexander Larsson <alexl@redhat.com>
3139 * gio/gunixmounts.[ch]:
3140 Move guess type into one call for mounts and one for mountpoints
3143 * gio/gunixvolume.c:
3146 2007-10-09 Alexander Larsson <alexl@redhat.com>
3148 * gio/gunixmounts.[ch]:
3149 Remove _ prefix in preparation to make this semi-public
3150 Hide implementation of structs
3152 * gio/glocaldirectorymonitor.c:
3154 * gio/gunixvolume.c:
3155 * gio/gunixvolumemonitor.c:
3156 Update for above API changes
3158 2007-10-08 Alexander Larsson <alexl@redhat.com>
3161 Better polling fallback. This also handles the case where we have
3162 a monitor_file implementation, but it fails.
3164 2007-10-08 Alexander Larsson <alexl@redhat.com>
3168 * gio/gunixmounts.c:
3169 * programs/gio-monitor-dir.c:
3170 * programs/gio-monitor-file.c:
3171 Added cancellable to file monitoring calls.
3172 These are really sync calls and need this.
3174 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3176 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3177 (g_local_vfs_class_init):
3178 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3179 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3181 2007-10-05 Alexander Larsson <alexl@redhat.com>
3183 * gio/gdirectorymonitorprivate.h:
3184 * gio/gfilemonitorprivate.h:
3185 * gio/gdirectorymonitor.h:
3186 * gio/gfilemonitor.h:
3187 Remove *private.h and move to the public API, so that
3188 we can do implementations outside gio (such as in gvfs)
3190 * gio/gdirectorymonitor.c:
3191 * gio/gfilemonitor.c:
3192 * gio/glocaldirectorymonitor.c:
3193 * gio/gpollfilemonitor.c:
3194 * gio/inotify/inotify-helper.c:
3195 * gio/fam/fam-helper.c:
3196 Update to the new header names
3198 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3200 * gio/gdirectorymonitor.c:
3201 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3204 2007-10-04 Alexander Larsson <alexl@redhat.com>
3206 * gio/glocalfileinfo.c (get_access_rights):
3207 Set CAN_TRASH when we can move the file.
3208 We should really also check for a parent trash dir.
3210 2007-10-04 Alexander Larsson <alexl@redhat.com>
3212 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3213 Add can_trash access attribute
3215 2007-10-04 Alexander Larsson <alexl@redhat.com>
3218 (g_local_file_trash):
3219 Create info file first. This is per-spec and allows
3220 us to actually trash directories.
3222 2007-10-02 Alexander Larsson <alexl@redhat.com>
3224 * gio/gdesktopappinfo.c:
3225 Implement the new mime support code.
3226 Always set app as handling mimetype when being set as default for it
3228 2007-10-01 Alexander Larsson <alexl@redhat.com>
3230 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3231 Fix up check for xattrs:
3233 2007-10-01 Alexander Larsson <alexl@redhat.com>
3236 (g_app_info_set_as_default_for_extension):
3237 (g_app_info_add_supports_type):
3238 (g_app_info_can_remove_supports_type):
3239 (g_app_info_remove_supports_type):
3240 Make these fail nicely if not implemented
3242 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3244 * gio/glocalfileoutputstream.c:
3245 * gio/glocalfileoutputstream.h:
3250 * programs/gio-save.c:
3251 Add a GFileCreateFlags argument to operations that can create
3254 2007-10-01 Alexander Larsson <alexl@redhat.com>
3256 * gio/gappinfo.[ch]:
3257 * gio/gdesktopappinfo.c:
3258 Add more (stubbed out) mime API needed for nautilus
3260 2007-10-01 Alexander Larsson <alexl@redhat.com>
3263 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3264 Add g_app_info_set_as_default_for_extension.
3266 * gio/gdesktopappinfo.c:
3267 Dummy for g_app_info_set_as_default_for_extension
3268 Support flags in g_app_info_create_from_commandline
3270 * gio/gwin32appinfo.c:
3272 Update for API changes
3274 * gio/gthemedicon.c:
3275 Properly NULL-terminate list of icon names
3277 2007-09-28 Alexander Larsson <alexl@redhat.com>
3279 * gio/gloadableicon.h:
3280 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3282 2007-09-28 Alexander Larsson <alexl@redhat.com>
3285 Install headers in $includedir/gio-standalone/
3287 * gio-2.0.pc.in: Added.
3288 * gio-standalone.pc.in: Removed.
3291 Renamed pkg-config file to match glib (for future move)
3292 Update to the new include dir
3295 Add more TODO comments
3297 2007-09-28 Alexander Larsson <alexl@redhat.com>
3299 * gio/gdesktopappinfo.[ch]:
3300 Expose new_from_filename
3301 Add getter for is_hidden and handle it better
3303 2007-09-28 Alexander Larsson <alexl@redhat.com>
3305 * gio/gfileinfo.[ch]:
3306 Rename g_file_size_format_for_display to
3307 g_format_file_size_for_display.
3308 Now it doesn't have the g_file prefix, so we
3309 can later move it to glib.
3311 2007-09-28 Alexander Larsson <alexl@redhat.com>
3313 * gio/gappinfo.[ch]:
3314 Add g_app_info_get_id and g_app_info_get_executable.
3315 Make all getters non-reffing
3316 Make g_app_info_launch take GFile arguments.
3317 Add must_support_uris argument to g_app_info_get_default_for_type.
3319 * gio/gwin32appinfo.c:
3320 Update to GAppInfo api changes
3322 * gio/gdesktopappinfo.c:
3323 Update to GAppInfo api changes
3324 Implement supports_xdg_startup_notify
3326 * gio/gfileicon.c (g_file_icon_get_file):
3327 Make getter non-reffing.
3332 2007-09-27 Alexander Larsson <alexl@redhat.com>
3334 * gio/gfileinfo.[ch]:
3335 Add g_file_size_format_for_display helper
3337 2007-09-27 Alexander Larsson <alexl@redhat.com>
3339 * gio/glocalfileinfo.c:
3340 Set UNIX_GID from gid, not from uid
3342 2007-09-27 Alexander Larsson <alexl@redhat.com>
3345 Add g_file_set_attributes_async
3347 2007-09-27 Alexander Larsson <alexl@redhat.com>
3349 * gio/glocalfile.c (g_local_file_set_display_name):
3350 Fix set_display_name to actually rename to the right place.
3351 Use lstat to look for existing files so we don't overwrite
3354 2007-09-26 Alexander Larsson <alexl@redhat.com>
3357 Add g_file_set_display_name_async()
3359 2007-09-26 Alexander Larsson <alexl@redhat.com>
3362 Add load_partial_contents async calls
3365 Make internal function static
3367 2007-09-26 Alexander Larsson <alexl@redhat.com>
3369 * gio/glocalfileinfo.c:
3370 Correctly detect broken symlinks
3372 2007-09-26 Alexander Larsson <alexl@redhat.com>
3374 * gio/gcancellable.c (g_cancellable_cancel):
3375 Allow cancel on NULL cancellable
3377 2007-09-25 Alexander Larsson <alexl@redhat.com>
3379 * gio/gsimpleasyncresult.c:
3380 Don't allocate g_error manually.
3381 Fixes g_slice/g_new mixup crash
3383 2007-09-25 Alexander Larsson <alexl@redhat.com>
3385 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3386 Actually set active_backend.
3387 This means the monitor will be cancelled correctly.
3389 2007-09-25 Alexander Larsson <alexl@redhat.com>
3391 * gio/gdirectorymonitor.c:
3392 Set timeout to NULL when destroying
3394 2007-09-25 Alexander Larsson <alexl@redhat.com>
3397 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3398 that is a better description of the error.
3400 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3402 * gio/gvfs.c: (g_vfs_get_local):
3403 Make the local vfs variable static. The same instance should
3406 2007-09-24 Alexander Larsson <alexl@redhat.com>
3408 * gio/glocalfileinfo.c:
3409 Pass in actual length read into sniffer, not the length
3412 2007-09-21 Alexander Larsson <alexl@redhat.com>
3414 * gio/gfileenumerator.c:
3417 * gio/gfileinputstream.c:
3418 * gio/gfileoutputstream.c:
3419 * gio/ginputstream.c:
3420 * gio/goutputstream.c:
3421 Don't crash if async callbacks are NULL
3423 2007-09-20 Alexander Larsson <alexl@redhat.com>
3426 Add async enumerate_children method and default
3429 2007-09-20 Alexander Larsson <alexl@redhat.com>
3432 Add g_file_contains_file & g_file_get_relative_path, since they
3433 were needed for nautilus.
3434 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3439 Implement new methods
3441 2007-09-17 Alexander Larsson <alexl@redhat.com>
3444 * gio/gfileinputstream.[ch]:
3445 * gio/gfileoutputstream.[ch]:
3447 * gio/glocalfileenumerator.[ch]:
3448 * gio/glocalfileinfo.[ch]:
3449 * gio/glocalfileinputstream.c:
3450 * gio/glocalfileoutputstream.c:
3451 * gio/gpollfilemonitor.c:
3452 * programs/gio-copy.c:
3453 * programs/gio-info.c:
3454 * programs/gio-move.c:
3455 Rename get_file_info to query_info() to make it clearer
3456 that these are not simple getters, but do i/o.
3458 2007-09-17 Alexander Larsson <alexl@redhat.com>
3460 * gio/gdatainputstream.[ch]:
3461 * gio/test-streams.c:
3462 Use _read_XXX instead of _get_XXX for the i/o calls
3465 2007-09-17 Alexander Larsson <alexl@redhat.com>
3468 Added needed stuff to TODO comment
3470 2007-09-17 Alexander Larsson <alexl@redhat.com>
3472 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3473 Don't error out removing the backup copy if it doesn't
3476 2007-09-14 Alexander Larsson <alexl@redhat.com>
3478 * programs/Makefile.am:
3479 * programs/gvfs-*.c:
3481 Renamed apps from gvfs-xxx to gio-xxx.
3483 2007-09-14 Alexander Larsson <alexl@redhat.com>
3486 * gio/gfileoutputstream.[ch]:
3487 * gio/glocalfileoutputstream.c:
3488 * programs/gvfs-save.c:
3489 g_file_output_stream_get_etag doesn't do i/o, so remove
3490 cancellation and error.
3492 2007-09-14 Alexander Larsson <alexl@redhat.com>
3495 Add new_etag output to replace_contents functions
3497 2007-09-14 Alexander Larsson <alexl@redhat.com>
3499 * gio/gfileoutputstream.[ch]:
3500 Add async get_file_info and default implementation
3502 2007-09-14 Alexander Larsson <alexl@redhat.com>
3504 * gio/gfileinputstream.c:
3505 Implement fallback wrapper for async get_file_info
3507 2007-09-14 Alexander Larsson <alexl@redhat.com>
3510 Add etag out argument to load_contents
3515 2007-09-14 Alexander Larsson <alexl@redhat.com>
3517 * gio/gcontenttype.c (looks_like_text):
3518 Whitespace like tab, cr and lf do not make the
3521 2007-09-14 Alexander Larsson <alexl@redhat.com>
3523 * gio/gfileinputstream.[ch]:
3524 Add async get_file_info.
3526 2007-09-13 Alexander Larsson <alexl@redhat.com>
3528 * gio/goutputstream.c (g_output_stream_write_all):
3529 Allow NULL for bytes_written
3531 2007-09-13 Alexander Larsson <alexl@redhat.com>
3533 * gio/gmemoryinputstream.[ch]:
3534 Add accessors for data
3536 2007-09-13 Alexander Larsson <alexl@redhat.com>
3538 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3539 Don't crash if length is NULL