1 2007-12-12 Alexander Larsson <alexl@redhat.com>
7 Make attribute namespace separator "::" instead of ":".
8 Use - instead of _ as separator in attribute names.
10 2007-12-12 Alexander Larsson <alexl@redhat.com>
12 * gbufferedinputstream.h:
13 * gbufferedoutputstream.h:
15 * gdataoutputstream.h:
16 * gdirectorymonitor.h:
20 * gfileoutputstream.h:
21 * gfilterinputstream.h:
22 * gfilteroutputstream.h:
24 * glocalfileinputstream.h:
25 * glocalfileoutputstream.h:
26 * gmemoryinputstream.h:
27 * gmemoryoutputstream.h:
28 * gnativevolumemonitor.h:
31 * gunixoutputstream.h:
34 s/parent/parent_instance/ in GObjects
36 2007-12-12 Alexander Larsson <alexl@redhat.com>
41 No need for padding for interfaces
43 2007-12-12 Alexander Larsson <alexl@redhat.com>
47 * gbufferedinputstream.c:
48 * gbufferedoutputstream.c:
51 * gdatainputstream.[ch]:
53 * gdirectorymonitor.c:
55 * gfileattribute.[ch]:
60 * gfileoutputstream.[ch]:
61 * gfilterinputstream.h:
62 * gfilteroutputstream.h:
66 * gmemoryinputstream.c:
69 Fix up a bunch of details in the docs.
74 2007-12-11 David Zeuthen <davidz@redhat.com>
76 Rework how volumes, drives and volume monitoring is
77 done. Previosly the model was
81 where a GDrive instance represented a mount point and a GVolume
82 instance represented a mounted file system. This patch changes it
85 GDrive <1-N> GVolume <1-1> GMount
87 where GMount now serves the purpose of the old GVolume and the new
88 GVolume serves the purpose of the old GDrive. In addition the new
89 GDrive interface is used to represent a collection of GVolume
90 instances (typically partitions) and also contains utility to query
91 the state of the physical drive the GDrive object represents (such
92 as checking for media, polling the drive, ejecting the media etc.).
94 Also implement mounting and unmounting in the Unix volume monitor
95 backend. A subquent patch will introduce GDrive support for ejection
99 * gdrive.c: (g_drive_is_media_check_automatic),
100 (g_drive_is_media_removable), (g_drive_has_media),
101 (g_drive_can_poll_for_media), (g_drive_eject),
102 (g_drive_eject_finish), (g_drive_poll_for_media),
103 (g_drive_poll_for_media_finish):
105 * gfile.c: (g_file_find_enclosing_mount):
108 * glocaldirectorymonitor.c:
109 (g_local_directory_monitor_constructor), (mounts_changed):
110 * glocalfile.c: (get_mount_info),
111 (g_local_file_find_enclosing_mount),
112 (g_local_file_file_iface_init):
113 * gnativevolumemonitor.h:
114 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
115 (get_connected_drives), (g_union_volume_monitor_class_init),
116 (child_volume_added), (child_volume_removed),
117 (child_volume_changed), (child_mount_added), (child_mount_removed),
118 (child_mount_pre_unmount), (child_mount_changed),
119 (child_drive_changed), (g_union_volume_monitor_add_monitor),
120 (g_union_volume_monitor_remove_monitor),
121 (_g_mount_get_for_mount_path):
122 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
123 (guess_system_internal), (_g_get_unix_mounts),
124 (_g_get_unix_mount_points), (g_get_unix_mount_at),
125 (g_unix_mount_free), (g_unix_mount_compare),
126 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
127 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
128 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
129 (type_to_icon), (g_unix_mount_guess_name),
130 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
131 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
132 (_resolve_symlink), (_resolve_dev_root):
134 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
135 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
136 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
137 (g_unix_volume_get_name), (g_unix_volume_can_mount),
138 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
139 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
140 (g_unix_volume_mount), (g_unix_volume_mount_finish),
141 (g_unix_volume_volume_iface_init):
143 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
144 (get_mounts), (get_volumes), (get_connected_drives),
145 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
146 (mountpoints_changed), (mounts_changed),
147 (g_unix_volume_monitor_init),
148 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
149 (find_mount_by_mountpath), (update_volumes), (update_mounts):
150 * gunixvolumemonitor.h:
151 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
152 (g_volume_mount), (g_volume_mount_finish):
154 * gvolumemonitor.c: (g_volume_monitor_class_init),
155 (g_volume_monitor_get_connected_drives),
156 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
159 2007-12-10 Matthias Clasen <mclasen@redhat.com>
161 * gmountoperation.h (GPasswordFlags): Close the gap
163 2007-12-10 Matthias Clasen <mclasen@redhat.com>
165 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
167 * gdesktopappinfo.[hc]: Remove _-prefixes
169 2007-12-10 Tor Lillqvist <tml@novell.com>
171 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
174 2007-12-10 Alexander Larsson <alexl@redhat.com>
176 * gfile.c (g_file_set_display_name):
177 Don't hardcode '/' (#502727)
179 2007-12-09 Hans Breuer <hans@breuer.org>
181 * makefile.msc : follow lib naming convention
182 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
183 for user and group name, tested with ../tests/gio-ls
185 2007-12-09 A. Walton <awalton@svn.gnome.org>
198 * gmemoryinputstream.c:
199 * gmemoryoutputstream.c:
201 * gsimpleasyncresult.c:
202 More documentation cleanup and filling in missing information, bringing
203 GIO to 99% symbol coverage.
205 2007-12-08 Hans Breuer <hans@breuer.org>
207 [gio compiles and links on win32, not sure how much already works]
208 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
209 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
210 base on win32 API; prefer g_lstat() over lstat(); instead of
211 localtime_r() use an all GLib implementation on win32;
212 get_mount_info() still needs a win32 specifc implementation
213 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
214 win32_get_file_user_info to get owner/group info without uid/gid
215 * glocalfileinputstream.c : include <io.h> on win32
216 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
217 definition, use g_win32_ftruncate() for G_OS_WIN32
218 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
219 it is available with mingw/w32api but a mess with the M$ Platform SDKs
220 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
221 * makefile.msc : updated
223 2007-12-07 Alexander Larsson <alexl@redhat.com>
225 * glocalfileenumerator.c (_g_local_file_enumerator_new):
226 Avoid warning spew if error == NULL
228 2007-12-07 Alexander Larsson <alexl@redhat.com>
231 Update docs wrt etags
233 2007-12-06 Alexander Larsson <alexl@redhat.com>
236 Include sys/types.h for dev_t (#501919)
238 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
242 Make abicheck and pltcheck pass.
244 2007-12-05 Alexander Larsson <alexl@redhat.com>
247 * giomodule-priv.h: Added.
248 * glocaldirectorymonitor.c:
249 * glocalfilemonitor.c:
250 * gunionvolumemonitor.c:
252 Actually add the declaration of _g_io_modules_ensure_loaded
254 2007-12-05 Alexander Larsson <alexl@redhat.com>
256 * gdatainputstream.c:
261 * glocaldirectorymonitor.c:
262 * glocalfilemonitor.c:
263 * gunionvolumemonitor.c:
265 Make g_io_modules_ensure_loaded a private function and
266 don't pass in the dirname. This means we can do magic
267 directory finding in the win32 version.
268 Export the actual load-modules-in-directory code so that
271 2007-12-05 Alexander Larsson <alexl@redhat.com>
273 * gbufferedinputstream.c:
274 * gbufferedoutputstream.c:
277 * gfileenumerator.[ch]:
278 * gfileinputstream.c:
279 * gfileoutputstream.[ch]:
280 * gfilterinputstream.c:
281 * gfilteroutputstream.c:
284 * glocalfileenumerator.c:
285 * glocalfileinputstream.c:
286 * glocalfileoutputstream.c:
287 * gmemoryinputstream.c:
288 * gmemoryoutputstream.c:
289 * goutputstream.[ch]:
292 * gunixinputstream.c:
293 * gunixoutputstream.c:
294 Rename all struct members named:
295 read, write, close, truncate, or mount
296 to foo_fn, as these are reserved names
297 and could be defined as macros in libc.
300 2007-12-04 Alexander Larsson <alexl@redhat.com>
303 (g_output_stream_close):
304 Only call flush if non-null.
306 2007-11-30 Dan Winship <danw@gnome.org>
308 * ginputstream.c (g_input_stream_set_pending): Make this take a
309 GError and return a gboolean, and do the "outstanding operation"
310 check (and the "stream is already closed" check) itself.
311 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
313 * goutputstream.c (g_output_stream_set_pending)
314 (g_output_stream_clear_pending): Likewise
316 * gbufferedinputstream.c:
317 * gfileinputstream.c:
318 * gfileoutputstream.c: Update for that
320 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
321 Like g_simple_async_report_error_in_idle, but takes a GError
322 rather than building one.
324 2007-11-30 Dan Winship <danw@gnome.org>
326 * goutputstream.c: Don't cheat and unset the "pending" flag around
327 inner calls. Instead, call the class method directly rather than
328 the wrapper function that checks "pending"
330 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
332 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
334 2007-12-03 Hans Breuer <hans@breuer.org>
336 [start of port to win32/msvc]
337 * gcancellable.c : HAVE_UNIST_H and _pipe()
338 * gcontenttype.c : only include <dirent.h> in the UNIX branch
339 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
340 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
342 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
343 * glocalvfs.c : use HAVE_PWD_H
344 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
345 * makefile.msc : new file (maybe later converted to makefile.msc.in)
346 * Makefile.am : added to EXTRA_DIST
348 2007-12-03 Matthias Clasen <mclasen@redhat.com>
350 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
353 2007-12-03 Alexander Larsson <alexl@redhat.com>
356 Handle OSX style xattrs API (#500506)
358 2007-12-03 Alexander Larsson <alexl@redhat.com>
362 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
364 2007-12-02 A. Walton <awalton@svn.gnome.org>
368 Documentation accuracy fixes.
370 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
372 * gioenumtypes.c.template: Fix typo.
374 2007-12-01 Matthias Clasen <mclasen@redhat.com>
376 * gioenumtypes.c.template: Make threadsafe get_type() functions.
378 2007-12-01 Matthias Clasen <mclasen@redhat.com>
380 * gdirectorymonitor.c:
381 * gfilemonitor.c: Add properties
383 * gbufferedoutputstream.c: Don't mark buffer-size property
386 2007-12-01 Matthias Clasen <mclasen@redhat.com>
388 * gbufferedoutputstream.c: Add auto-grow property.
390 2007-11-30 Matthias Clasen <mclasen@redhat.com>
392 * *.c: Unify the capitalization of section headings.
394 2007-11-30 Matthias Clasen <mclasen@redhat.com>
396 * gmountoperation.c: Add properties
398 * gdatainputstream.c: Turn byte-order and newline-type into
401 2007-11-30 Matthias Clasen <mclasen@redhat.com>
403 * gioenumtypes.[hc].template: Templates for enum registration
405 * Makefile.am: Generate gioenumtypes.[hc]
407 * gio.h: Include gioenumtypes.h
409 * gfile.h: Add some explicit nicks.
411 * gio.symbols: Add new symbols
413 * pltcheck.sh: Adjust
415 2007-11-30 Matthias Clasen <mclasen@redhat.com>
417 * *.c: Explain etags and link to the explanation
419 2007-11-29 Matthias Clasen <mclasen@redhat.com>
421 * *.c: Explain I/O priority.
423 * *.c: More coding style fixes.
425 2007-11-29 Matthias Clasen <mclasen@redhat.com>
427 * gasyncresult.c: Add another paragraph to the intro,
428 adjust coding style of example.
430 2007-11-29 A. Walton <awalton@svn.gnome.org>
433 Fixes unknown meaning in GAppLaunchContext docs.
435 Clarify asynchronous ops.
440 Provides missing gtk-doc section, fixes API docs slighly.
441 * gsimpleasyncresult.c:
442 Fill in missing info in docs.
443 * gunixinputstream.c:
444 * gunixoutputstream.c:
445 Be more expressive in short description.
447 Remove gtk-doc stubs for non-public API.
449 2007-11-28 Matthias Clasen <mclasen@redhat.com>
451 * *.c: Coding style fixups
453 2007-11-28 Matthias Clasen <mclasen@redhat.com>
455 * inotify/inotify-helper.c: Don't export the lock from libgio.
457 2007-11-28 Matthias Clasen <mclasen@redhat.com>
460 * abicheck.sh: Fix copy-and-paste leftovers
462 2007-11-28 Matthias Clasen <mclasen@redhat.com>
464 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
466 2007-11-28 Alexander Larsson <alexl@redhat.com>
470 Removed unnecessary file
472 * gdesktopappinfo.[ch]:
475 * glocaldirectorymonitor.[ch]:
477 * glocalfileenumerator.[ch]:
478 * glocalfileinputstream.[ch]:
479 * glocalfilemonitor.[ch]:
480 * glocalfileoutputstream.[ch]:
482 * gnativevolumemonitor.c:
483 * gpollfilemonitor.[ch]:
484 * gunionvolumemonitor.[ch]:
487 * gunixvolumemonitor.[ch]:
490 * inotify/ginotifydirectorymonitor.[ch]:
491 * inotify/ginotifyfilemonitor.[ch]:
492 * inotify/inotify-helper.c:
493 Append _ to all internal functions
497 Export symbols needed for modules
499 2007-11-28 Alexander Larsson <alexl@redhat.com>
502 * abicheck.sh: Added.
503 * makegioalias.pl: Added.
504 * pltcheck.sh: Added.
505 * gio.symbols: Added.
508 Initial work on adding symbol handling.
511 Correct ifdef guard name
514 * inotify/Makefile.am:
515 * xdgmime/Makefile.am:
516 Include toplevel Makefile.decl
518 2007-11-27 Matthias Clasen <mclasen@redhat.com>
520 * gcontenttype.c: Move doc comments to the unix section.
522 * *.[hc]: More trivial doc corrections.
524 2007-11-27 Matthias Clasen <mclasen@redhat.com>
526 * gpollfilemonitor.c:
535 * gdatainputstream.c:
536 * gdatainputstream.h:
537 * gdataoutputstream.c:
538 * gdataoutputstream.h:
539 * gfileinfo.h: Doc cleanups
541 2007-11-28 Andre Klapper <a9016009@gmx.de>
543 * gdesktopappinfo.c: Fix a typo.
545 2007-11-27 Andre Klapper <a9016009@gmx.de>
547 * glocalfileoutputstream.c: Fix a typo.
549 2007-11-27 Alexander Larsson <alexl@redhat.com>
552 Don't include removed headers
554 2007-11-27 Alexander Larsson <alexl@redhat.com>
557 * gsocketinputstream.[ch]: Removed.
558 * gsocketoutputstream.[ch]: Removed.
559 * gunixinputstream.[ch]: Added.
560 * gunixoutputstream.[ch]: Added.
561 Renamed GSocket*Stream to GUnix*Stream and made
562 it unix-only, since its not really only for sockets
563 and it only works on unix (but is highly useful there).
565 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
571 * gbufferedinputstream.c:
572 * gbufferedinputstream.h:
573 * gbufferedoutputstream.c:
574 * gbufferedoutputstream.h:
578 * gdatainputstream.c:
579 * gdatainputstream.h:
580 * gdataoutputstream.c:
581 * gdataoutputstream.h:
582 * gdirectorymonitor.c:
583 * gdirectorymonitor.h:
596 * gfileinputstream.c:
597 * gfileinputstream.h:
600 * gfilenamecompleter.c:
601 * gfilenamecompleter.h:
602 * gfileoutputstream.c:
603 * gfileoutputstream.h:
604 * gfilterinputstream.c:
605 * gfilterinputstream.h:
606 * gfilteroutputstream.c:
607 * gfilteroutputstream.h:
620 * glocalfileoutputstream.c:
621 * gmemoryinputstream.c:
622 * gmemoryinputstream.h:
623 * gmemoryoutputstream.c:
624 * gmemoryoutputstream.h:
629 * gpollfilemonitor.c:
632 * gsimpleasyncresult.c:
633 * gsimpleasyncresult.h:
634 * gsocketinputstream.c:
635 * gsocketinputstream.h:
636 * gsocketoutputstream.c:
637 * gsocketoutputstream.h:
644 * gunixvolumemonitor.c:
653 Bumps documentation to 93% symbol coverage, touching most
654 of the public files. Fixes broken function documentation prototypes.
655 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
656 gtk-doc headers in private files.
658 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
660 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
661 (g_buffered_input_stream_read_byte):
662 * gbufferedinputstream.h:
663 New functions for efficient access to buffer and simple single byte
666 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
667 (g_data_input_stream_read_until):
668 * gdatainputstream.h:
669 Use peek_buffer to avoid memcpy in scan_for_newline, implement
670 read_until with multiple stop chars.
672 2007-11-27 Alexander Larsson <alexl@redhat.com>
676 * inotify/Makefile.am:
677 Use the user-specified giomoduledir
679 2007-11-27 Alexander Larsson <alexl@redhat.com>
683 Add catch-all gio.h header
684 Don't install gdummyfile.h
686 2007-11-26 Alexander Larsson <alexl@redhat.com>
688 * Makefile.am (gioinclude_HEADERS):
689 Remove trailing whitespace
691 2007-11-26 Alexander Larsson <alexl@redhat.com>
693 Merge gio-standalone into glib
695 2007-11-25 Christian Kellner <gicmo@gnome.org>
697 * gio/goutputstream.c:
698 Fix small mistake in the docs.
700 2007-11-21 Christian Persch <chpe@gnome.org>
702 * gio/glocalfile.c: (g_local_file_trash):
703 Convert filenames to UTF-8 for GError.
704 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
705 as per xdg base dir spec.
707 2007-11-21 Christian Persch <chpe@gnome.org>
709 * gio/gdesktopappinfo.c:
710 Use that g_key_file_to_data cannot fail.
712 Use stock defines for the key file group and key names.
715 2007-11-21 Alexander Larsson <alexl@redhat.com>
718 (copy_stream_with_progress):
719 Make sure we do a final progress callback with
722 2007-11-21 Alexander Larsson <alexl@redhat.com>
725 Export g_file_copy_attributes
726 Remove padding as its not needed for interfaces
728 2007-11-20 Alexander Larsson <alexl@redhat.com>
733 Add G_IO_ERROR_WOULD_MERGE for
734 copy/move dir on dir with overwrite.
736 2007-11-20 Alexander Larsson <alexl@redhat.com>
739 * gio/glocalfileinfo.c:
740 Add COPY_NAME (this is an optional
741 non-modified utf8 version of the name) that
744 2007-11-20 Alexander Larsson <alexl@redhat.com>
746 * gio/glocalfileenumerator.c:
747 Report errors as GIOError, not GFileError
749 2007-11-16 Alexander Larsson <alexl@redhat.com>
751 * gio/glocalfileoutputstream.c:
752 * gio/gwin32appinfo.c:
753 Fix typos in strings.
754 Patch from Luca Ferretti <elle.uca@libero.it>
756 2007-11-15 Alexander Larsson <alexl@redhat.com>
759 Post release version bump
761 === gio-standalone 0.1.2 ===
763 2007-11-15 Alexander Larsson <alexl@redhat.com>
765 * docs/reference/gio/Makefile.am:
766 Fix up distcheck by removing weird
772 2007-11-14 Alexander Larsson <alexl@redhat.com>
774 * gio/gdesktopappinfo.c:
775 * gio/glocaldirectorymonitor.c:
777 * gio/glocalfileinfo.c:
778 * gio/inotify/inotify-sub.c:
779 * programs/gio-cat.c:
780 * programs/gio-copy.c:
781 * programs/gio-info.c:
783 * programs/gio-monitor-dir.c:
784 * programs/gio-monitor-file.c:
785 * programs/gio-mount.c:
786 * programs/gio-move.c:
788 * programs/gio-save.c:
789 * programs/gio-trash.c:
790 Leak fixes from Kjartan Maraas
792 2007-11-14 Alexander Larsson <alexl@redhat.com>
794 * gio/fam/fam-helper.c:
796 * gio/glocalfileinfo.c:
800 * gio/inotify/inotify-diag.c:
801 * gio/inotify/inotify-kernel.c:
802 Various code cleanups from Kjartan Maraas
804 2007-11-14 Alexander Larsson <alexl@redhat.com>
806 * gio/gioscheduler.c:
808 Set up threadpool so that we cache 2 unused
809 idle threads for at 15 secs. This means we
810 will reuse thread-local data (like dbus connections)
813 2007-11-14 Alexander Larsson <alexl@redhat.com>
815 * gio/fam/fam-helper.c:
816 * gio/fam/gfamdirectorymonitor.c:
817 * gio/fam/gfamfilemonitor.c:
819 * gio/gcontenttype.c:
820 * gio/gdatainputstream.c:
821 * gio/gdataoutputstream.c:
825 * gio/gfileattribute.h:
826 * gio/gfileenumerator.c:
828 * gio/ginputstream.c:
831 * gio/glocalfileinfo.c:
832 * gio/goutputstream.c:
833 * gio/gpollfilemonitor.c:
834 * gio/gsimpleasyncresult.c:
837 * gio/inotify/ginotifydirectorymonitor.c:
838 * gio/inotify/ginotifyfilemonitor.c:
839 * gio/inotify/inotify-diag.c:
840 * gio/inotify/inotify-kernel.c:
841 * gio/inotify/inotify-path.c:
843 * gio/test-streams.c:
844 * programs/gio-info.c:
845 * programs/gio-monitor-dir.c:
846 * programs/gio-monitor-file.c:
847 Various code cleanups from Kjartan Maraas
849 2007-11-13 Alexander Larsson <alexl@redhat.com>
852 Handle the uri-scheme calls for dummy files
854 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
856 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
857 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
858 to avoid clash with the C++ keyword.
860 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
862 * gio/glocalfileinfo.c: Build fix, added missing semicolon
863 to an ifdef'ed call to getpwuid() in lookup_uid_data().
865 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
867 * gio/glocaldirectorymonitor.c:
868 * gio/glocalfilemonitor.c:
869 * gio/gunionvolumemonitor.c:
870 Don't use g_once_init_*() for initializations that could fail and
871 could leave the initialization variable set to 0 but use GOnce.
872 This prevents a deadlock on the second call when trying to create
873 a monitor and no monitor type is available. Thanks to Sven Herzberg
876 2007-11-11 Sven Herzberg <sven@imendio.com>
878 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
879 #ifdef (make it work on MacOS X again)
881 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
883 Fixes Changelog for last two commits (sorry guys).
885 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
887 * gio/gbufferedinputstream.c:
888 * gio/gdatainputstream.c:
890 * gio/gfileoutputstream.c:
891 * gio/gfilterinputstream.c:
892 * gio/glocalfileinputstream.c:
895 More consistency fixes in g*stream.c files.
896 Significant clean of gfile's documentation, filling in of
897 asynchronous operations documentation.
899 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
901 * gio/gasyncresult.c:
902 * gio/gbufferedinputstream.c:
903 * gio/gbufferedoutputstream.c:
904 * gio/gcancellable.c:
905 * gio/gcontenttype.c:
906 * gio/gdatainputstream.c:
907 * gio/gdataoutputstream.c:
908 * gio/gdesktopappinfo.c:
911 * gio/gfileattribute.c:
912 * gio/gio/gfileenumerator.c:
914 * gio/gfileinputstream.c:
915 * gio/gfilemonitor.c:
916 * gio/gfileoutputstream.c:
917 * gio/ginputstream.c:
919 * gio/gioscheduler.c:
920 * gio/gloadableicon.c:
921 * gio/glocalfileoutputstream.c:
922 * gio/gmemoryoutputstream.c:
923 * gio/gmountoperation.c:
924 * gio/goutputstream.c:
926 * gio/gsimpleasyncresult.c:
927 * gio/gunionvolumemonitor.c:
933 * gio/gvolumemonitor.c:
934 Updated documentation stubs, working towards consistency and
937 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
939 * gio/gmemoryoutputstream.c:
940 * gio/gmemoryoutputstream.h:
941 Change g_memory_output_stream_set_free_on_close() to
942 g_memory_output_stream_set_free_data() as this makes more sense and
943 is more consistent with GMemoryInputStream.
945 2007-11-07 Alexander Larsson <alexl@redhat.com>
952 Change how we find the default vfs so that
953 we can handle a gvfs failing to init
955 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
957 * gio/gbufferedoutputstream.c:
958 * gio/gdatainputstream.c:
959 * gio/gdataoutputstream.c:
960 * gio/gfileinputstream.c:
961 * gio/gfileoutputstream.c:
962 * gio/gfilterinputstream.c:
963 * gio/gfilteroutputstream.c:
964 * gio/ginputstream.c:
965 * gio/gmemoryinputstream.c:
966 * gio/gmemoryoutputstream.c:
967 * gio/goutputstream.c:
968 * gio/gsimpleasyncresult.c:
969 * gio/gsocketinputstream.c:
970 * gio/gsocketoutputstream.c:
971 Add guards to the remaining public functions, add a TODO for
972 an unimplemented function and remove some useless guards.
974 2007-11-07 Alexander Larsson <alexl@redhat.com>
977 Autoconf checks for the various types of
978 getpwuid_r and getgrgid_r
980 * gio/glocalfileinfo.c:
981 Use the autoconf checks from above
983 2007-11-07 Alexander Larsson <alexl@redhat.com>
986 (g_local_file_query_filesystem_info):
987 Some fixes for the statvfs case
989 2007-11-07 Alexander Larsson <alexl@redhat.com>
992 (g_local_file_query_filesystem_info):
993 Pick the "best" of statfs / statvfs for the system
994 if both are availible.
996 2007-11-07 Alexander Larsson <alexl@redhat.com>
998 Solaris fixes from Halton.Huo@Sun.COM:
1005 * gio/glocalfileinfo.c:
1006 Fix for solaris definition of getpwuid_r
1008 * gio/test-streams.c:
1009 Use G_GNUC_PRETTY_FUNCTION
1011 2007-11-07 Alexander Larsson <alexl@redhat.com>
1013 * gio/gdesktopappinfo.c:
1014 (update_default_list):
1015 Remove double semicolon.
1016 Patch from Jens Granseuer
1018 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1020 * docs/reference/gio/gio-sections.txt:
1021 * gio/gbufferedinputstream.c:
1022 * gio/gbufferedinputstream.h:
1023 * gio/gdatainputstream.c:
1024 * gio/gfileenumerator.c:
1025 * gio/gioscheduler.c:
1026 * gio/gunionvolumemonitor.c:
1028 * programs/gio-save.c:
1029 Fix typo: availible -> available. Unfortuntely this breaks API
1030 and ABI as g_buffered_input_stream_get_available() was renamed.
1032 * gio/gunixmounts.c:
1033 * gio/gbufferedinputstream.c:
1034 Add guards for public functions.
1036 2007-11-06 Ross Burton <ross@openedhand.com>
1038 * docs/reference/gio/Makefile.am:
1039 Fix invalid += usage which automake 1.10 doesn't like.
1041 2007-11-06 Alexander Larsson <alexl@redhat.com>
1044 (g_app_launch_context_class_init):
1047 Patch from Ross Burton
1049 2007-11-06 Alexander Larsson <alexl@redhat.com>
1052 Post release version bump
1054 === gio-standalone 0.1.1 ===
1056 2007-11-06 Alexander Larsson <alexl@redhat.com>
1059 Bump version to 0.1.1
1061 * gio/gsimpleasyncresult.c:
1062 (g_simple_async_result_set_from_error):
1063 Remove bogus g_return_if_fail
1065 2007-11-06 Alexander Larsson <alexl@redhat.com>
1068 The name is gio-standalone
1071 Add top src/builddir to includedir
1073 2007-11-06 Alexander Larsson <alexl@redhat.com>
1075 * docs/reference/gio/gio-sections.txt:
1077 * gio/gbufferedinputstream.c:
1078 * gio/gbufferedoutputstream.c:
1079 * gio/gcancellable.c:
1080 * gio/gdatainputstream.h:
1081 * gio/gdataoutputstream.c:
1082 * gio/gdataoutputstream.h:
1083 * gio/gdirectorymonitor.c:
1085 * gio/gfileattribute.c:
1086 * gio/gfileattribute.h:
1087 * gio/gfileenumerator.c:
1088 * gio/gfileenumerator.h:
1091 * gio/gfileinputstream.h:
1092 * gio/gfilemonitor.c:
1093 * gio/gfileoutputstream.h:
1094 * gio/glocalfilemonitor.h:
1095 * gio/glocalfileoutputstream.h:
1096 * gio/gmemoryinputstream.c:
1097 * gio/gmemoryoutputstream.c:
1098 * gio/gmountoperation.c:
1099 * gio/goutputstream.c:
1100 * gio/goutputstream.h:
1102 * gio/gsimpleasyncresult.c:
1103 * gio/gunixmounts.c:
1104 * gio/gunixmounts.h:
1106 * gio/inotify/inotify-helper.c:
1107 Fix gtk-doc warnings
1109 Patch from Ross Burton
1111 2007-11-06 Alexander Larsson <alexl@redhat.com>
1113 * gio/gfilenamecompleter.c:
1114 (g_filename_completer_get_completions):
1117 * gio/gunixvolume.c:
1118 Remove unused function
1120 Patches from Ross Burton
1122 2007-11-06 Alexander Larsson <alexl@redhat.com>
1127 Padding not needed for interfaces
1129 2007-11-06 Alexander Larsson <alexl@redhat.com>
1131 * gio/gfilemonitor.c:
1135 Make giotypes.h an internal file
1138 * gio/gbufferedinputstream.h:
1139 * gio/gbufferedoutputstream.h:
1140 * gio/gcancellable.h:
1141 * gio/gdatainputstream.h:
1142 * gio/gdataoutputstream.h:
1143 * gio/gdirectorymonitor.c:
1144 * gio/gdirectorymonitor.h:
1149 * gio/gfileattribute.h:
1150 * gio/gfileenumerator.h:
1155 * gio/gfilemonitor.c:
1156 * gio/gfilemonitor.h:
1157 * gio/gfilenamecompleter.c:
1158 * gio/gfilenamecompleter.h:
1159 * gio/gfilterinputstream.h:
1160 * gio/gfilteroutputstream.h:
1161 * gio/ginputstream.h:
1162 * gio/gmemoryinputstream.h:
1163 * gio/gmemoryoutputstream.h:
1164 * gio/gmountoperation.c:
1165 * gio/gmountoperation.h:
1166 * gio/gnativevolumemonitor.c:
1167 * gio/goutputstream.h:
1170 * gio/gsimpleasyncresult.c:
1171 * gio/gsimpleasyncresult.h:
1172 * gio/gsocketinputstream.h:
1173 * gio/gsocketoutputstream.h:
1174 * gio/gthemedicon.c:
1175 * gio/gthemedicon.h:
1179 * gio/gvolumemonitor.c:
1180 * gio/gvolumemonitor.h:
1181 Add padding in classes where it seems useful
1182 Don't include giotypes.h from public headers
1183 Move in Class definitions into c file where possible
1188 2007-11-06 Alexander Larsson <alexl@redhat.com>
1190 * docs/reference/gio/gio-docs.xml:
1191 Better structure for API docs
1193 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1196 * gio/gloadableicon.c:
1197 * gio/gsimpleasyncresult.c:
1198 * gio/gthemedicon.c:
1199 Add some more guards to public functions. Only files missing are now
1202 2007-11-06 Alexander Larsson <alexl@redhat.com>
1204 * docs/reference/gio/gio-docs.xml:
1205 Remove old files, add missing ones
1207 2007-11-06 Alexander Larsson <alexl@redhat.com>
1209 * docs/reference/gio/gio-sections.txt:
1212 Hide implementation classes
1214 * gio/gdriveprivate.h:
1215 * gio/gvolumeprivate.h:
1216 Remove non-existing function declarations
1218 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1221 Fix compilation warnings and add guards to the new functions.
1223 * gio/gasyncresult.c:
1225 Add guards to the public functions.
1228 Implement get_path().
1230 2007-11-06 Alexander Larsson <alexl@redhat.com>
1232 * gio/gfilenamecompleter.c:
1233 Make g_filename_completer_get_completions
1234 return char ** instead of GList for
1237 * docs/reference/gio/gio-docs.xml:
1238 * docs/reference/gio/gio-sections.txt:
1240 * gio/gasyncresult.c:
1241 * gio/gbufferedinputstream.c:
1242 * gio/gbufferedoutputstream.c:
1243 * gio/gcancellable.c:
1244 * gio/gcontenttype.c:
1245 * gio/gdatainputstream.c:
1246 * gio/gdataoutputstream.c:
1247 * gio/gdesktopappinfo.c:
1248 * gio/gdirectorymonitor.c:
1252 * gio/gfileattribute.c:
1253 * gio/gfileenumerator.c:
1256 * gio/gfileinputstream.c:
1257 * gio/gfilemonitor.c:
1258 * gio/gfilenamecompleter.c:
1259 * gio/gfilenamecompleter.h:
1260 * gio/gfileoutputstream.c:
1261 * gio/gfilterinputstream.c:
1263 * gio/ginputstream.c:
1265 * gio/gioscheduler.c:
1266 * gio/gloadableicon.c:
1267 * gio/glocaldirectorymonitor.c:
1269 * gio/glocalfileinputstream.c:
1270 * gio/glocalfilemonitor.c:
1271 * gio/glocalfileoutputstream.c:
1273 * gio/gmemoryinputstream.c:
1274 * gio/gmemoryoutputstream.c:
1275 * gio/gmountoperation.c:
1276 * gio/goutputstream.c:
1277 * gio/gpollfilemonitor.c:
1279 * gio/gsimpleasyncresult.c:
1280 * gio/gsocketinputstream.c:
1281 * gio/gsocketoutputstream.c:
1282 * gio/gthemedicon.c:
1283 * gio/gunionvolumemonitor.c:
1285 * gio/gunixmounts.c:
1286 * gio/gunixvolume.c:
1287 * gio/gunixvolumemonitor.c:
1291 * gio/gvolumemonitor.c:
1292 * gio/gwin32appinfo.c:
1293 Add (mostly stub) doc strings to public functions.
1294 Patch from Andrew Walton (awalton@gmail.com)
1296 2007-11-06 Alexander Larsson <alexl@redhat.com>
1298 * gio/gappinfo.[ch]:
1299 Added GAppLaunchContext object and pass that to launch.
1300 This allows simple implementation of both
1301 launch-on-screen and startup notification via a gtk+
1302 subclass of GAppLaunchContext
1304 * gio/gdesktopappinfo.c:
1305 Implement GAppLaunchContext API
1307 * gio/gwin32appinfo.c:
1310 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1312 * gio/gmountoperation.c:
1313 Add some guards to GMountOperation's public functions.
1315 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1319 * gio/gcancellable.c:
1320 * gio/gdirectorymonitor.c:
1322 * gio/gfileenumerator.c:
1323 * gio/gfilemonitor.c:,
1324 * gio/gfilenamecompleter.c:
1327 * gio/gioscheduler.c:
1331 * gio/gvolumemonitor.c:
1332 Add even more guards to various public functions.
1334 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1337 Add guards to the public functions of GAppInfo.
1339 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1341 * gio/gcontenttype.c:
1342 Add some more guards for public functions.
1344 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1346 * gio/fam/fam-module.c:
1347 * gio/fam/gfamdirectorymonitor.c:
1348 * gio/fam/gfamdirectorymonitor.h:
1349 * gio/fam/gfamfilemonitor.c:
1350 * gio/fam/gfamfilemonitor.h:
1351 * gio/inotify/ginotifydirectorymonitor.c:
1352 * gio/inotify/ginotifydirectorymonitor.h:
1353 * gio/inotify/ginotifyfilemonitor.c:
1354 * gio/inotify/ginotifyfilemonitor.h:
1355 Add proper copyright information and remove an unused variable
1356 in the GInotifyFileMonitor constructor.
1358 * gio/gcancellable.c:
1359 Add a guard for a public function and an assertion to prevent
1360 an undefined program state.
1362 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1364 * gio/gfileattribute.c:
1365 Don't run into an assertion if the given attribute value is NULL
1366 in g_file_attribute_value_get_*() but instead return a fallback
1367 value that makes sense in most situations. Passing them a attribute
1368 value with the wrong type will still run into an assertion.
1370 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1372 * gio/gfileattribute.c:
1374 Add even more guards to the public functions. Also fix the refcounting
1375 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1376 let g_file_info_list_attributes() filter the attributes by namespace
1377 instead of simply ignoring the namespace parameter.
1379 2007-11-03 Sven Herzberg <sven@imendio.com>
1381 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1382 (This makes gio work on MacOS X again)
1384 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1387 Build the gio subdirectory before the docs. Otherwise the build will
1390 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1391 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1392 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1393 Add guards to the public functions.
1395 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1397 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1398 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1399 to prevent a compiler warning.
1401 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1402 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1403 return something in the non-void function find_topdir_for().
1405 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1412 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1414 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1415 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1416 * gwin32appinfo.c (g_win32_app_info_launch):
1417 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1418 envp_for_startup_id, g_desktop_app_info_launch,
1419 g_desktop_app_info_launch_uris):
1421 Give an opaque 'startup_id' string instead of 'envp'.
1422 Support empty file lists for launching new windows.
1423 Fix infinite recursion bug when launching URIs.
1425 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1428 Add guard to the new g_file_get_uri_scheme() function.
1430 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1433 Convert a g_return_val_if_fail() to setting the GError instead as
1434 otherwise applications have to verify the parameter before otherwise
1435 and the parameter might come directly from the user.
1437 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1439 * gio/inotify/ginotify*.[ch]:
1440 Add missing copyright information.
1442 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1445 Add guards in the beginning of public functions to check for valid
1446 parameters and fix a bug in copy_stream_with_progress() that could've
1447 caused writing less bytes than reading.
1448 * gio/glocalfileinfo.c:
1449 Check for a NULL parameter and set the GError accordingly then.
1450 * gio/goutputstream.c:
1451 Fix the same bug as in gfile.c that could've caused writing less bytes
1452 than reading in g_output_stream_real_splice().
1454 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1457 Use the correct gvolumeprivate.h naming
1459 2007-11-01 Christian Kellner <gicmo@gnome.org>
1462 Remove leftover "$(daemon_sources)" entry.
1464 2007-11-01 Christian Kellner <gicmo@gnome.org>
1469 Add copyright information to source files.
1471 2007-11-01 Alexander Larsson <alexl@redhat.com>
1475 Add g_file_get_uri_scheme
1477 2007-11-01 Alexander Larsson <alexl@redhat.com>
1480 * gio/gdesktopappinfo.c:
1481 * gio/gwin32appinfo.c:
1482 Add g_app_info_get_default_for_uri_scheme.
1484 2007-11-01 Alexander Larsson <alexl@redhat.com>
1487 Correct filename for gdriveprivate.h
1489 2007-10-31 Alexander Larsson <alexl@redhat.com>
1492 Rename id:value to id:file
1495 * gio/glocalfileinfo.c:
1498 2007-10-31 Alexander Larsson <alexl@redhat.com>
1500 * gio/gunixvolume.c:
1502 Remove g_volume_get_platform_id, as thats not
1503 needed with the simpler union volume monitor
1505 2007-10-31 Alexander Larsson <alexl@redhat.com>
1508 * gio/guniondrive.[ch]: Removed.
1509 * gio/gunionvolume.[ch]: Removed.
1510 Remove GUnionDrive/Volume
1512 * gio/gunionvolumemonitor.c:
1513 Simplify union volume monitor, now we
1514 only have one native volume monitor and
1515 we use the actual volumes/drives from the
1516 child monitors instead of wrapping them
1518 * gio/gnativevolumemonitor.[ch]:
1519 Base class for native volume monitors.
1520 Includes priority and get_volume_for_mountpoint
1523 Add g_file_find_enclosing_volume
1526 Remove volume name fs attribute
1527 Add readonly fs attribute
1530 Implement readonly attribute
1531 remove volume name attribute
1532 Implement find_enclosing volume
1534 * gio/gunixmounts.c:
1535 Add a volume for "/".
1537 * gio/gunixvolume.[ch]:
1538 Set better name for /
1540 * gio/gunixvolumemonitor.[ch]:
1541 Derive from GNativeVolumeMonitor
1542 Implement get_volume_for_mountpoint
1545 GVolume typedef moved to gfile.h
1547 * gio/gvolumeprivate.h:
1548 Add g_volume_get_for_mount_path
1550 2007-10-31 Alexander Larsson <alexl@redhat.com>
1552 * gio/gunixmounts.[ch]:
1553 Add cache info to unix mount listers
1554 Make getmntent use threadsafe
1555 Add is_system_internal attribute for GUnixMount
1557 * gio/gunixvolume.c:
1558 (g_unix_volume_new):
1559 Use is_system_internal instead of own code
1561 * gio/glocaldirectorymonitor.c:
1562 * gio/gunixvolumemonitor.c:
1563 Update to new gunixmounts API
1568 2007-10-30 Alexander Larsson <alexl@redhat.com>
1571 Add volume name fsinfo attribute
1574 Read volume name info
1576 * gio/gunionvolumemonitor.c:
1577 Fix infinite loops when finalizing a union volume monitor
1579 2007-10-30 Alexander Larsson <alexl@redhat.com>
1581 * gio/goutputstream.[ch]:
1582 Add splice() with default implementation
1584 * gio/gsocketoutputstream.c:
1585 (g_socket_output_stream_write):
1586 Return error on cancellation correctly.
1588 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1590 * gio/glocalfile.c (g_local_file_trash):
1591 Do not leak a string.
1593 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1595 * gio/gfile.c (g_file_load_contents):
1596 Unref the stream after closing it.
1598 2007-10-25 Alexander Larsson <alexl@redhat.com>
1600 * gio/gioscheduler.h:
1603 2007-10-25 Alexander Larsson <alexl@redhat.com>
1607 Add g_file_has_uri_scheme and implement for local files
1609 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1611 * gio/gdesktopappinfo.c: do not leak a string.
1613 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1615 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1616 (g_local_directory_monitor_new):
1617 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1618 (g_local_file_monitor_new):
1619 Only look for the monitor type that should be used the first time
1620 and use g_qsort_with_data() instead of our own bubble sort
1623 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1626 * gio/fam/Makefile.am:
1627 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1628 * gio/fam/fam-helper.h:
1629 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1630 * gio/fam/gfamdirectorymonitor.c:
1631 * gio/fam/gfamdirectorymonitor.h:
1632 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1633 * gio/fam/gfamfilemonitor.h:
1634 * gio/glocaldirectorymonitor.c:
1635 * gio/glocaldirectorymonitor.h:
1636 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1637 * gio/glocalfilemonitor.h:
1638 * gio/inotify/Makefile.am:
1639 * gio/inotify/ginotifydirectorymonitor.c:
1640 * gio/inotify/ginotifydirectorymonitor.h:
1641 * gio/inotify/ginotifyfilemonitor.c:
1642 * gio/inotify/ginotifyfilemonitor.h:
1643 Implement the FAM and Inotify monitors as
1644 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1645 their own GIO module. GLocal(Directory|File)Monitor will use the
1646 monitor with the highest rank that is supported on that machine.
1648 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1651 Change GIO module dir to $(libdir)/gio/modules and change
1652 the log domain from GVFS to GIO. Also only export symbols starting
1653 with g_ in the resulting library.
1654 * gio/test-streams.c: (main):
1655 Set log handler for the GIO log domain.
1657 2007-10-22 Alexander Larsson <alexl@redhat.com>
1659 * gio/gfilenamecompleter.[ch]:
1660 Add g_filename_completer_set_dirs_only
1662 2007-10-22 Alexander Larsson <alexl@redhat.com>
1665 * gio/gurifuncs.[ch]:
1666 Add some simple URI helpers
1668 * gio/gfilenamecompleter.[ch]:
1669 Added object for filename (parse name actually) completion
1672 Handle ~ in parse names
1674 2007-10-17 Alexander Larsson <alexl@redhat.com>
1677 * gio/glocalfileinfo.c:
1678 Add and implement id:value attribute
1680 2007-10-17 Alexander Larsson <alexl@redhat.com>
1683 * gio/guniondrive.c:
1685 Add and implement g_drive_has_volumes
1687 2007-10-17 Alexander Larsson <alexl@redhat.com>
1690 * gio/glocalfileinfo.[ch]:
1691 Add unix:is_mountpoint and implement for local files
1693 2007-10-16 Alexander Larsson <alexl@redhat.com>
1695 * gio/gunionvolumemonitor.c:
1696 (g_union_volume_monitor_init):
1697 Fix up the unix type getting so that it works with gcc
1699 2007-10-12 Alexander Larsson <alexl@redhat.com>
1702 * gio/glocalfileinfo.c:
1703 Add thumbnail:failed to file info
1705 2007-10-12 Richard Hult <richard@imendio.com>
1707 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1708 optimizing away the get_type call (happens with some gcc versions,
1709 like the one shipped with OS X 10.4).
1711 2007-10-12 Alexander Larsson <alexl@redhat.com>
1713 * gio/glocalfileinfo.c:
1714 (_g_local_file_info_set_attribute):
1715 Fix build if not HAVE_XATTR
1716 Patch from Milosz Derezynski <internalerror@gmail.com>
1718 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1720 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1721 around for review, otherwise I would have asked you before
1724 2007-10-11 Alexander Larsson <alexl@redhat.com>
1727 Add thumbnail:path attribute
1729 * gio/glocalfileinfo.c:
1730 Implement thumbnail:path for local files
1732 2007-10-11 Alexander Larsson <alexl@redhat.com>
1734 * gio/glocalfileinfo.c:
1735 (_g_local_file_info_get):
1736 Avoid duplicate icon names
1738 2007-10-11 Alexander Larsson <alexl@redhat.com>
1740 * gio/gthemedicon.[ch]:
1741 Change g_themed_icon_get_names return type to const
1743 2007-10-10 Alexander Larsson <alexl@redhat.com>
1745 * gio/glocalfileinfo.c:
1746 Don't reference freed memory
1748 2007-10-10 Alexander Larsson <alexl@redhat.com>
1750 * gio/gfileattribute.c:
1753 * gio/glocalfileinfo.c:
1756 2007-10-10 Alexander Larsson <alexl@redhat.com>
1759 Check for NULL icons
1761 * gio/gfileattribute.c:
1762 Don't dup when getting objects (same as for string attributes)
1764 * gio/gicon.c (g_icon_equal):
1765 Safely handle NULLs in equal
1767 2007-10-10 Alexander Larsson <alexl@redhat.com>
1770 Fix c++ compilation issues
1771 Patch from Milosz Derezynski <internalerror@gmail.com>
1773 2007-10-10 Alexander Larsson <alexl@redhat.com>
1775 * programs/gio-monitor-dir.c:
1776 Don't crash if dir monitor not supported.
1778 2007-10-09 Alexander Larsson <alexl@redhat.com>
1781 Add missing G_END_DECLS
1783 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1785 * gio/gfile.c: (g_file_set_display_name),
1786 (g_file_query_settable_attributes),
1787 (g_file_query_writable_namespaces):
1788 Return NULL not FALSE on errors as the return type is a pointer.
1790 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1792 * gio/glocalfile.c: (g_local_file_monitor_file):
1793 Don't call monitor_file on the default interface vtable (which
1794 is NULL) but simply return NULL. The caller, GFile, will create a
1795 polling monitor if NULL is returned.
1797 2007-10-09 Alexander Larsson <alexl@redhat.com>
1801 * gio-unix-2.0.pc.in:
1802 Add gio-unix-2.0.pc if OS_UNIX
1805 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1807 2007-10-09 Alexander Larsson <alexl@redhat.com>
1809 * gio/gunixmounts.[ch]:
1810 Make unix mount monitoring API sane.
1811 Now its just a object with mounts_changed
1812 and mountpoints_changed signals.
1814 * gio/glocaldirectorymonitor.c:
1815 * gio/gunixvolumemonitor.c:
1816 Use new mount monitor api
1818 2007-10-09 Alexander Larsson <alexl@redhat.com>
1820 * gio/gunixmounts.[ch]:
1821 Move guess type into one call for mounts and one for mountpoints
1824 * gio/gunixvolume.c:
1827 2007-10-09 Alexander Larsson <alexl@redhat.com>
1829 * gio/gunixmounts.[ch]:
1830 Remove _ prefix in preparation to make this semi-public
1831 Hide implementation of structs
1833 * gio/glocaldirectorymonitor.c:
1835 * gio/gunixvolume.c:
1836 * gio/gunixvolumemonitor.c:
1837 Update for above API changes
1839 2007-10-08 Alexander Larsson <alexl@redhat.com>
1842 Better polling fallback. This also handles the case where we have
1843 a monitor_file implementation, but it fails.
1845 2007-10-08 Alexander Larsson <alexl@redhat.com>
1849 * gio/gunixmounts.c:
1850 * programs/gio-monitor-dir.c:
1851 * programs/gio-monitor-file.c:
1852 Added cancellable to file monitoring calls.
1853 These are really sync calls and need this.
1855 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1857 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1858 (g_local_vfs_class_init):
1859 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1860 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1862 2007-10-05 Alexander Larsson <alexl@redhat.com>
1864 * gio/gdirectorymonitorprivate.h:
1865 * gio/gfilemonitorprivate.h:
1866 * gio/gdirectorymonitor.h:
1867 * gio/gfilemonitor.h:
1868 Remove *private.h and move to the public API, so that
1869 we can do implementations outside gio (such as in gvfs)
1871 * gio/gdirectorymonitor.c:
1872 * gio/gfilemonitor.c:
1873 * gio/glocaldirectorymonitor.c:
1874 * gio/gpollfilemonitor.c:
1875 * gio/inotify/inotify-helper.c:
1876 * gio/fam/fam-helper.c:
1877 Update to the new header names
1879 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1881 * gio/gdirectorymonitor.c:
1882 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1885 2007-10-04 Alexander Larsson <alexl@redhat.com>
1887 * gio/glocalfileinfo.c (get_access_rights):
1888 Set CAN_TRASH when we can move the file.
1889 We should really also check for a parent trash dir.
1891 2007-10-04 Alexander Larsson <alexl@redhat.com>
1893 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1894 Add can_trash access attribute
1896 2007-10-04 Alexander Larsson <alexl@redhat.com>
1899 (g_local_file_trash):
1900 Create info file first. This is per-spec and allows
1901 us to actually trash directories.
1903 2007-10-02 Alexander Larsson <alexl@redhat.com>
1905 * gio/gdesktopappinfo.c:
1906 Implement the new mime support code.
1907 Always set app as handling mimetype when being set as default for it
1909 2007-10-01 Alexander Larsson <alexl@redhat.com>
1911 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1912 Fix up check for xattrs:
1914 2007-10-01 Alexander Larsson <alexl@redhat.com>
1917 (g_app_info_set_as_default_for_extension):
1918 (g_app_info_add_supports_type):
1919 (g_app_info_can_remove_supports_type):
1920 (g_app_info_remove_supports_type):
1921 Make these fail nicely if not implemented
1923 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1925 * gio/glocalfileoutputstream.c:
1926 * gio/glocalfileoutputstream.h:
1931 * programs/gio-save.c:
1932 Add a GFileCreateFlags argument to operations that can create
1935 2007-10-01 Alexander Larsson <alexl@redhat.com>
1937 * gio/gappinfo.[ch]:
1938 * gio/gdesktopappinfo.c:
1939 Add more (stubbed out) mime API needed for nautilus
1941 2007-10-01 Alexander Larsson <alexl@redhat.com>
1944 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1945 Add g_app_info_set_as_default_for_extension.
1947 * gio/gdesktopappinfo.c:
1948 Dummy for g_app_info_set_as_default_for_extension
1949 Support flags in g_app_info_create_from_commandline
1951 * gio/gwin32appinfo.c:
1953 Update for API changes
1955 * gio/gthemedicon.c:
1956 Properly NULL-terminate list of icon names
1958 2007-09-28 Alexander Larsson <alexl@redhat.com>
1960 * gio/gloadableicon.h:
1961 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1963 2007-09-28 Alexander Larsson <alexl@redhat.com>
1966 Install headers in $includedir/gio-standalone/
1968 * gio-2.0.pc.in: Added.
1969 * gio-standalone.pc.in: Removed.
1972 Renamed pkg-config file to match glib (for future move)
1973 Update to the new include dir
1976 Add more TODO comments
1978 2007-09-28 Alexander Larsson <alexl@redhat.com>
1980 * gio/gdesktopappinfo.[ch]:
1981 Expose new_from_filename
1982 Add getter for is_hidden and handle it better
1984 2007-09-28 Alexander Larsson <alexl@redhat.com>
1986 * gio/gfileinfo.[ch]:
1987 Rename g_file_size_format_for_display to
1988 g_format_file_size_for_display.
1989 Now it doesn't have the g_file prefix, so we
1990 can later move it to glib.
1992 2007-09-28 Alexander Larsson <alexl@redhat.com>
1994 * gio/gappinfo.[ch]:
1995 Add g_app_info_get_id and g_app_info_get_executable.
1996 Make all getters non-reffing
1997 Make g_app_info_launch take GFile arguments.
1998 Add must_support_uris argument to g_app_info_get_default_for_type.
2000 * gio/gwin32appinfo.c:
2001 Update to GAppInfo api changes
2003 * gio/gdesktopappinfo.c:
2004 Update to GAppInfo api changes
2005 Implement supports_xdg_startup_notify
2007 * gio/gfileicon.c (g_file_icon_get_file):
2008 Make getter non-reffing.
2013 2007-09-27 Alexander Larsson <alexl@redhat.com>
2015 * gio/gfileinfo.[ch]:
2016 Add g_file_size_format_for_display helper
2018 2007-09-27 Alexander Larsson <alexl@redhat.com>
2020 * gio/glocalfileinfo.c:
2021 Set UNIX_GID from gid, not from uid
2023 2007-09-27 Alexander Larsson <alexl@redhat.com>
2026 Add g_file_set_attributes_async
2028 2007-09-27 Alexander Larsson <alexl@redhat.com>
2030 * gio/glocalfile.c (g_local_file_set_display_name):
2031 Fix set_display_name to actually rename to the right place.
2032 Use lstat to look for existing files so we don't overwrite
2035 2007-09-26 Alexander Larsson <alexl@redhat.com>
2038 Add g_file_set_display_name_async()
2040 2007-09-26 Alexander Larsson <alexl@redhat.com>
2043 Add load_partial_contents async calls
2046 Make internal function static
2048 2007-09-26 Alexander Larsson <alexl@redhat.com>
2050 * gio/glocalfileinfo.c:
2051 Correctly detect broken symlinks
2053 2007-09-26 Alexander Larsson <alexl@redhat.com>
2055 * gio/gcancellable.c (g_cancellable_cancel):
2056 Allow cancel on NULL cancellable
2058 2007-09-25 Alexander Larsson <alexl@redhat.com>
2060 * gio/gsimpleasyncresult.c:
2061 Don't allocate g_error manually.
2062 Fixes g_slice/g_new mixup crash
2064 2007-09-25 Alexander Larsson <alexl@redhat.com>
2066 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2067 Actually set active_backend.
2068 This means the monitor will be cancelled correctly.
2070 2007-09-25 Alexander Larsson <alexl@redhat.com>
2072 * gio/gdirectorymonitor.c:
2073 Set timeout to NULL when destroying
2075 2007-09-25 Alexander Larsson <alexl@redhat.com>
2078 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2079 that is a better description of the error.
2081 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2083 * gio/gvfs.c: (g_vfs_get_local):
2084 Make the local vfs variable static. The same instance should
2087 2007-09-24 Alexander Larsson <alexl@redhat.com>
2089 * gio/glocalfileinfo.c:
2090 Pass in actual length read into sniffer, not the length
2093 2007-09-21 Alexander Larsson <alexl@redhat.com>
2095 * gio/gfileenumerator.c:
2098 * gio/gfileinputstream.c:
2099 * gio/gfileoutputstream.c:
2100 * gio/ginputstream.c:
2101 * gio/goutputstream.c:
2102 Don't crash if async callbacks are NULL
2104 2007-09-20 Alexander Larsson <alexl@redhat.com>
2107 Add async enumerate_children method and default
2110 2007-09-20 Alexander Larsson <alexl@redhat.com>
2113 Add g_file_contains_file & g_file_get_relative_path, since they
2114 were needed for nautilus.
2115 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2120 Implement new methods
2122 2007-09-17 Alexander Larsson <alexl@redhat.com>
2125 * gio/gfileinputstream.[ch]:
2126 * gio/gfileoutputstream.[ch]:
2128 * gio/glocalfileenumerator.[ch]:
2129 * gio/glocalfileinfo.[ch]:
2130 * gio/glocalfileinputstream.c:
2131 * gio/glocalfileoutputstream.c:
2132 * gio/gpollfilemonitor.c:
2133 * programs/gio-copy.c:
2134 * programs/gio-info.c:
2135 * programs/gio-move.c:
2136 Rename get_file_info to query_info() to make it clearer
2137 that these are not simple getters, but do i/o.
2139 2007-09-17 Alexander Larsson <alexl@redhat.com>
2141 * gio/gdatainputstream.[ch]:
2142 * gio/test-streams.c:
2143 Use _read_XXX instead of _get_XXX for the i/o calls
2146 2007-09-17 Alexander Larsson <alexl@redhat.com>
2149 Added needed stuff to TODO comment
2151 2007-09-17 Alexander Larsson <alexl@redhat.com>
2153 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2154 Don't error out removing the backup copy if it doesn't
2157 2007-09-14 Alexander Larsson <alexl@redhat.com>
2159 * programs/Makefile.am:
2160 * programs/gvfs-*.c:
2162 Renamed apps from gvfs-xxx to gio-xxx.
2164 2007-09-14 Alexander Larsson <alexl@redhat.com>
2167 * gio/gfileoutputstream.[ch]:
2168 * gio/glocalfileoutputstream.c:
2169 * programs/gvfs-save.c:
2170 g_file_output_stream_get_etag doesn't do i/o, so remove
2171 cancellation and error.
2173 2007-09-14 Alexander Larsson <alexl@redhat.com>
2176 Add new_etag output to replace_contents functions
2178 2007-09-14 Alexander Larsson <alexl@redhat.com>
2180 * gio/gfileoutputstream.[ch]:
2181 Add async get_file_info and default implementation
2183 2007-09-14 Alexander Larsson <alexl@redhat.com>
2185 * gio/gfileinputstream.c:
2186 Implement fallback wrapper for async get_file_info
2188 2007-09-14 Alexander Larsson <alexl@redhat.com>
2191 Add etag out argument to load_contents
2196 2007-09-14 Alexander Larsson <alexl@redhat.com>
2198 * gio/gcontenttype.c (looks_like_text):
2199 Whitespace like tab, cr and lf do not make the
2202 2007-09-14 Alexander Larsson <alexl@redhat.com>
2204 * gio/gfileinputstream.[ch]:
2205 Add async get_file_info.
2207 2007-09-13 Alexander Larsson <alexl@redhat.com>
2209 * gio/goutputstream.c (g_output_stream_write_all):
2210 Allow NULL for bytes_written
2212 2007-09-13 Alexander Larsson <alexl@redhat.com>
2214 * gio/gmemoryinputstream.[ch]:
2215 Add accessors for data
2217 2007-09-13 Alexander Larsson <alexl@redhat.com>
2219 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2220 Don't crash if length is NULL