1 2007-12-12 Alexander Larsson <alexl@redhat.com>
4 Fix race condition when freeing proxy in
5 g_io_job_send_to_mainloop().
7 2007-12-12 Alexander Larsson <alexl@redhat.com>
13 Make attribute namespace separator "::" instead of ":".
14 Use - instead of _ as separator in attribute names.
16 2007-12-12 Alexander Larsson <alexl@redhat.com>
18 * gbufferedinputstream.h:
19 * gbufferedoutputstream.h:
21 * gdataoutputstream.h:
22 * gdirectorymonitor.h:
26 * gfileoutputstream.h:
27 * gfilterinputstream.h:
28 * gfilteroutputstream.h:
30 * glocalfileinputstream.h:
31 * glocalfileoutputstream.h:
32 * gmemoryinputstream.h:
33 * gmemoryoutputstream.h:
34 * gnativevolumemonitor.h:
37 * gunixoutputstream.h:
40 s/parent/parent_instance/ in GObjects
42 2007-12-12 Alexander Larsson <alexl@redhat.com>
47 No need for padding for interfaces
49 2007-12-12 Alexander Larsson <alexl@redhat.com>
53 * gbufferedinputstream.c:
54 * gbufferedoutputstream.c:
57 * gdatainputstream.[ch]:
59 * gdirectorymonitor.c:
61 * gfileattribute.[ch]:
66 * gfileoutputstream.[ch]:
67 * gfilterinputstream.h:
68 * gfilteroutputstream.h:
72 * gmemoryinputstream.c:
75 Fix up a bunch of details in the docs.
80 2007-12-11 David Zeuthen <davidz@redhat.com>
82 Rework how volumes, drives and volume monitoring is
83 done. Previosly the model was
87 where a GDrive instance represented a mount point and a GVolume
88 instance represented a mounted file system. This patch changes it
91 GDrive <1-N> GVolume <1-1> GMount
93 where GMount now serves the purpose of the old GVolume and the new
94 GVolume serves the purpose of the old GDrive. In addition the new
95 GDrive interface is used to represent a collection of GVolume
96 instances (typically partitions) and also contains utility to query
97 the state of the physical drive the GDrive object represents (such
98 as checking for media, polling the drive, ejecting the media etc.).
100 Also implement mounting and unmounting in the Unix volume monitor
101 backend. A subquent patch will introduce GDrive support for ejection
105 * gdrive.c: (g_drive_is_media_check_automatic),
106 (g_drive_is_media_removable), (g_drive_has_media),
107 (g_drive_can_poll_for_media), (g_drive_eject),
108 (g_drive_eject_finish), (g_drive_poll_for_media),
109 (g_drive_poll_for_media_finish):
111 * gfile.c: (g_file_find_enclosing_mount):
114 * glocaldirectorymonitor.c:
115 (g_local_directory_monitor_constructor), (mounts_changed):
116 * glocalfile.c: (get_mount_info),
117 (g_local_file_find_enclosing_mount),
118 (g_local_file_file_iface_init):
119 * gnativevolumemonitor.h:
120 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
121 (get_connected_drives), (g_union_volume_monitor_class_init),
122 (child_volume_added), (child_volume_removed),
123 (child_volume_changed), (child_mount_added), (child_mount_removed),
124 (child_mount_pre_unmount), (child_mount_changed),
125 (child_drive_changed), (g_union_volume_monitor_add_monitor),
126 (g_union_volume_monitor_remove_monitor),
127 (_g_mount_get_for_mount_path):
128 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
129 (guess_system_internal), (_g_get_unix_mounts),
130 (_g_get_unix_mount_points), (g_get_unix_mount_at),
131 (g_unix_mount_free), (g_unix_mount_compare),
132 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
133 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
134 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
135 (type_to_icon), (g_unix_mount_guess_name),
136 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
137 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
138 (_resolve_symlink), (_resolve_dev_root):
140 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
141 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
142 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
143 (g_unix_volume_get_name), (g_unix_volume_can_mount),
144 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
145 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
146 (g_unix_volume_mount), (g_unix_volume_mount_finish),
147 (g_unix_volume_volume_iface_init):
149 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
150 (get_mounts), (get_volumes), (get_connected_drives),
151 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
152 (mountpoints_changed), (mounts_changed),
153 (g_unix_volume_monitor_init),
154 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
155 (find_mount_by_mountpath), (update_volumes), (update_mounts):
156 * gunixvolumemonitor.h:
157 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
158 (g_volume_mount), (g_volume_mount_finish):
160 * gvolumemonitor.c: (g_volume_monitor_class_init),
161 (g_volume_monitor_get_connected_drives),
162 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
165 2007-12-10 Matthias Clasen <mclasen@redhat.com>
167 * gmountoperation.h (GPasswordFlags): Close the gap
169 2007-12-10 Matthias Clasen <mclasen@redhat.com>
171 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
173 * gdesktopappinfo.[hc]: Remove _-prefixes
175 2007-12-10 Tor Lillqvist <tml@novell.com>
177 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
180 2007-12-10 Alexander Larsson <alexl@redhat.com>
182 * gfile.c (g_file_set_display_name):
183 Don't hardcode '/' (#502727)
185 2007-12-09 Hans Breuer <hans@breuer.org>
187 * makefile.msc : follow lib naming convention
188 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
189 for user and group name, tested with ../tests/gio-ls
191 2007-12-09 A. Walton <awalton@svn.gnome.org>
204 * gmemoryinputstream.c:
205 * gmemoryoutputstream.c:
207 * gsimpleasyncresult.c:
208 More documentation cleanup and filling in missing information, bringing
209 GIO to 99% symbol coverage.
211 2007-12-08 Hans Breuer <hans@breuer.org>
213 [gio compiles and links on win32, not sure how much already works]
214 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
215 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
216 base on win32 API; prefer g_lstat() over lstat(); instead of
217 localtime_r() use an all GLib implementation on win32;
218 get_mount_info() still needs a win32 specifc implementation
219 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
220 win32_get_file_user_info to get owner/group info without uid/gid
221 * glocalfileinputstream.c : include <io.h> on win32
222 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
223 definition, use g_win32_ftruncate() for G_OS_WIN32
224 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
225 it is available with mingw/w32api but a mess with the M$ Platform SDKs
226 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
227 * makefile.msc : updated
229 2007-12-07 Alexander Larsson <alexl@redhat.com>
231 * glocalfileenumerator.c (_g_local_file_enumerator_new):
232 Avoid warning spew if error == NULL
234 2007-12-07 Alexander Larsson <alexl@redhat.com>
237 Update docs wrt etags
239 2007-12-06 Alexander Larsson <alexl@redhat.com>
242 Include sys/types.h for dev_t (#501919)
244 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
248 Make abicheck and pltcheck pass.
250 2007-12-05 Alexander Larsson <alexl@redhat.com>
253 * giomodule-priv.h: Added.
254 * glocaldirectorymonitor.c:
255 * glocalfilemonitor.c:
256 * gunionvolumemonitor.c:
258 Actually add the declaration of _g_io_modules_ensure_loaded
260 2007-12-05 Alexander Larsson <alexl@redhat.com>
262 * gdatainputstream.c:
267 * glocaldirectorymonitor.c:
268 * glocalfilemonitor.c:
269 * gunionvolumemonitor.c:
271 Make g_io_modules_ensure_loaded a private function and
272 don't pass in the dirname. This means we can do magic
273 directory finding in the win32 version.
274 Export the actual load-modules-in-directory code so that
277 2007-12-05 Alexander Larsson <alexl@redhat.com>
279 * gbufferedinputstream.c:
280 * gbufferedoutputstream.c:
283 * gfileenumerator.[ch]:
284 * gfileinputstream.c:
285 * gfileoutputstream.[ch]:
286 * gfilterinputstream.c:
287 * gfilteroutputstream.c:
290 * glocalfileenumerator.c:
291 * glocalfileinputstream.c:
292 * glocalfileoutputstream.c:
293 * gmemoryinputstream.c:
294 * gmemoryoutputstream.c:
295 * goutputstream.[ch]:
298 * gunixinputstream.c:
299 * gunixoutputstream.c:
300 Rename all struct members named:
301 read, write, close, truncate, or mount
302 to foo_fn, as these are reserved names
303 and could be defined as macros in libc.
306 2007-12-04 Alexander Larsson <alexl@redhat.com>
309 (g_output_stream_close):
310 Only call flush if non-null.
312 2007-11-30 Dan Winship <danw@gnome.org>
314 * ginputstream.c (g_input_stream_set_pending): Make this take a
315 GError and return a gboolean, and do the "outstanding operation"
316 check (and the "stream is already closed" check) itself.
317 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
319 * goutputstream.c (g_output_stream_set_pending)
320 (g_output_stream_clear_pending): Likewise
322 * gbufferedinputstream.c:
323 * gfileinputstream.c:
324 * gfileoutputstream.c: Update for that
326 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
327 Like g_simple_async_report_error_in_idle, but takes a GError
328 rather than building one.
330 2007-11-30 Dan Winship <danw@gnome.org>
332 * goutputstream.c: Don't cheat and unset the "pending" flag around
333 inner calls. Instead, call the class method directly rather than
334 the wrapper function that checks "pending"
336 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
338 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
340 2007-12-03 Hans Breuer <hans@breuer.org>
342 [start of port to win32/msvc]
343 * gcancellable.c : HAVE_UNIST_H and _pipe()
344 * gcontenttype.c : only include <dirent.h> in the UNIX branch
345 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
346 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
348 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
349 * glocalvfs.c : use HAVE_PWD_H
350 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
351 * makefile.msc : new file (maybe later converted to makefile.msc.in)
352 * Makefile.am : added to EXTRA_DIST
354 2007-12-03 Matthias Clasen <mclasen@redhat.com>
356 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
359 2007-12-03 Alexander Larsson <alexl@redhat.com>
362 Handle OSX style xattrs API (#500506)
364 2007-12-03 Alexander Larsson <alexl@redhat.com>
368 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
370 2007-12-02 A. Walton <awalton@svn.gnome.org>
374 Documentation accuracy fixes.
376 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
378 * gioenumtypes.c.template: Fix typo.
380 2007-12-01 Matthias Clasen <mclasen@redhat.com>
382 * gioenumtypes.c.template: Make threadsafe get_type() functions.
384 2007-12-01 Matthias Clasen <mclasen@redhat.com>
386 * gdirectorymonitor.c:
387 * gfilemonitor.c: Add properties
389 * gbufferedoutputstream.c: Don't mark buffer-size property
392 2007-12-01 Matthias Clasen <mclasen@redhat.com>
394 * gbufferedoutputstream.c: Add auto-grow property.
396 2007-11-30 Matthias Clasen <mclasen@redhat.com>
398 * *.c: Unify the capitalization of section headings.
400 2007-11-30 Matthias Clasen <mclasen@redhat.com>
402 * gmountoperation.c: Add properties
404 * gdatainputstream.c: Turn byte-order and newline-type into
407 2007-11-30 Matthias Clasen <mclasen@redhat.com>
409 * gioenumtypes.[hc].template: Templates for enum registration
411 * Makefile.am: Generate gioenumtypes.[hc]
413 * gio.h: Include gioenumtypes.h
415 * gfile.h: Add some explicit nicks.
417 * gio.symbols: Add new symbols
419 * pltcheck.sh: Adjust
421 2007-11-30 Matthias Clasen <mclasen@redhat.com>
423 * *.c: Explain etags and link to the explanation
425 2007-11-29 Matthias Clasen <mclasen@redhat.com>
427 * *.c: Explain I/O priority.
429 * *.c: More coding style fixes.
431 2007-11-29 Matthias Clasen <mclasen@redhat.com>
433 * gasyncresult.c: Add another paragraph to the intro,
434 adjust coding style of example.
436 2007-11-29 A. Walton <awalton@svn.gnome.org>
439 Fixes unknown meaning in GAppLaunchContext docs.
441 Clarify asynchronous ops.
446 Provides missing gtk-doc section, fixes API docs slighly.
447 * gsimpleasyncresult.c:
448 Fill in missing info in docs.
449 * gunixinputstream.c:
450 * gunixoutputstream.c:
451 Be more expressive in short description.
453 Remove gtk-doc stubs for non-public API.
455 2007-11-28 Matthias Clasen <mclasen@redhat.com>
457 * *.c: Coding style fixups
459 2007-11-28 Matthias Clasen <mclasen@redhat.com>
461 * inotify/inotify-helper.c: Don't export the lock from libgio.
463 2007-11-28 Matthias Clasen <mclasen@redhat.com>
466 * abicheck.sh: Fix copy-and-paste leftovers
468 2007-11-28 Matthias Clasen <mclasen@redhat.com>
470 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
472 2007-11-28 Alexander Larsson <alexl@redhat.com>
476 Removed unnecessary file
478 * gdesktopappinfo.[ch]:
481 * glocaldirectorymonitor.[ch]:
483 * glocalfileenumerator.[ch]:
484 * glocalfileinputstream.[ch]:
485 * glocalfilemonitor.[ch]:
486 * glocalfileoutputstream.[ch]:
488 * gnativevolumemonitor.c:
489 * gpollfilemonitor.[ch]:
490 * gunionvolumemonitor.[ch]:
493 * gunixvolumemonitor.[ch]:
496 * inotify/ginotifydirectorymonitor.[ch]:
497 * inotify/ginotifyfilemonitor.[ch]:
498 * inotify/inotify-helper.c:
499 Append _ to all internal functions
503 Export symbols needed for modules
505 2007-11-28 Alexander Larsson <alexl@redhat.com>
508 * abicheck.sh: Added.
509 * makegioalias.pl: Added.
510 * pltcheck.sh: Added.
511 * gio.symbols: Added.
514 Initial work on adding symbol handling.
517 Correct ifdef guard name
520 * inotify/Makefile.am:
521 * xdgmime/Makefile.am:
522 Include toplevel Makefile.decl
524 2007-11-27 Matthias Clasen <mclasen@redhat.com>
526 * gcontenttype.c: Move doc comments to the unix section.
528 * *.[hc]: More trivial doc corrections.
530 2007-11-27 Matthias Clasen <mclasen@redhat.com>
532 * gpollfilemonitor.c:
541 * gdatainputstream.c:
542 * gdatainputstream.h:
543 * gdataoutputstream.c:
544 * gdataoutputstream.h:
545 * gfileinfo.h: Doc cleanups
547 2007-11-28 Andre Klapper <a9016009@gmx.de>
549 * gdesktopappinfo.c: Fix a typo.
551 2007-11-27 Andre Klapper <a9016009@gmx.de>
553 * glocalfileoutputstream.c: Fix a typo.
555 2007-11-27 Alexander Larsson <alexl@redhat.com>
558 Don't include removed headers
560 2007-11-27 Alexander Larsson <alexl@redhat.com>
563 * gsocketinputstream.[ch]: Removed.
564 * gsocketoutputstream.[ch]: Removed.
565 * gunixinputstream.[ch]: Added.
566 * gunixoutputstream.[ch]: Added.
567 Renamed GSocket*Stream to GUnix*Stream and made
568 it unix-only, since its not really only for sockets
569 and it only works on unix (but is highly useful there).
571 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
577 * gbufferedinputstream.c:
578 * gbufferedinputstream.h:
579 * gbufferedoutputstream.c:
580 * gbufferedoutputstream.h:
584 * gdatainputstream.c:
585 * gdatainputstream.h:
586 * gdataoutputstream.c:
587 * gdataoutputstream.h:
588 * gdirectorymonitor.c:
589 * gdirectorymonitor.h:
602 * gfileinputstream.c:
603 * gfileinputstream.h:
606 * gfilenamecompleter.c:
607 * gfilenamecompleter.h:
608 * gfileoutputstream.c:
609 * gfileoutputstream.h:
610 * gfilterinputstream.c:
611 * gfilterinputstream.h:
612 * gfilteroutputstream.c:
613 * gfilteroutputstream.h:
626 * glocalfileoutputstream.c:
627 * gmemoryinputstream.c:
628 * gmemoryinputstream.h:
629 * gmemoryoutputstream.c:
630 * gmemoryoutputstream.h:
635 * gpollfilemonitor.c:
638 * gsimpleasyncresult.c:
639 * gsimpleasyncresult.h:
640 * gsocketinputstream.c:
641 * gsocketinputstream.h:
642 * gsocketoutputstream.c:
643 * gsocketoutputstream.h:
650 * gunixvolumemonitor.c:
659 Bumps documentation to 93% symbol coverage, touching most
660 of the public files. Fixes broken function documentation prototypes.
661 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
662 gtk-doc headers in private files.
664 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
666 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
667 (g_buffered_input_stream_read_byte):
668 * gbufferedinputstream.h:
669 New functions for efficient access to buffer and simple single byte
672 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
673 (g_data_input_stream_read_until):
674 * gdatainputstream.h:
675 Use peek_buffer to avoid memcpy in scan_for_newline, implement
676 read_until with multiple stop chars.
678 2007-11-27 Alexander Larsson <alexl@redhat.com>
682 * inotify/Makefile.am:
683 Use the user-specified giomoduledir
685 2007-11-27 Alexander Larsson <alexl@redhat.com>
689 Add catch-all gio.h header
690 Don't install gdummyfile.h
692 2007-11-26 Alexander Larsson <alexl@redhat.com>
694 * Makefile.am (gioinclude_HEADERS):
695 Remove trailing whitespace
697 2007-11-26 Alexander Larsson <alexl@redhat.com>
699 Merge gio-standalone into glib
701 2007-11-25 Christian Kellner <gicmo@gnome.org>
703 * gio/goutputstream.c:
704 Fix small mistake in the docs.
706 2007-11-21 Christian Persch <chpe@gnome.org>
708 * gio/glocalfile.c: (g_local_file_trash):
709 Convert filenames to UTF-8 for GError.
710 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
711 as per xdg base dir spec.
713 2007-11-21 Christian Persch <chpe@gnome.org>
715 * gio/gdesktopappinfo.c:
716 Use that g_key_file_to_data cannot fail.
718 Use stock defines for the key file group and key names.
721 2007-11-21 Alexander Larsson <alexl@redhat.com>
724 (copy_stream_with_progress):
725 Make sure we do a final progress callback with
728 2007-11-21 Alexander Larsson <alexl@redhat.com>
731 Export g_file_copy_attributes
732 Remove padding as its not needed for interfaces
734 2007-11-20 Alexander Larsson <alexl@redhat.com>
739 Add G_IO_ERROR_WOULD_MERGE for
740 copy/move dir on dir with overwrite.
742 2007-11-20 Alexander Larsson <alexl@redhat.com>
745 * gio/glocalfileinfo.c:
746 Add COPY_NAME (this is an optional
747 non-modified utf8 version of the name) that
750 2007-11-20 Alexander Larsson <alexl@redhat.com>
752 * gio/glocalfileenumerator.c:
753 Report errors as GIOError, not GFileError
755 2007-11-16 Alexander Larsson <alexl@redhat.com>
757 * gio/glocalfileoutputstream.c:
758 * gio/gwin32appinfo.c:
759 Fix typos in strings.
760 Patch from Luca Ferretti <elle.uca@libero.it>
762 2007-11-15 Alexander Larsson <alexl@redhat.com>
765 Post release version bump
767 === gio-standalone 0.1.2 ===
769 2007-11-15 Alexander Larsson <alexl@redhat.com>
771 * docs/reference/gio/Makefile.am:
772 Fix up distcheck by removing weird
778 2007-11-14 Alexander Larsson <alexl@redhat.com>
780 * gio/gdesktopappinfo.c:
781 * gio/glocaldirectorymonitor.c:
783 * gio/glocalfileinfo.c:
784 * gio/inotify/inotify-sub.c:
785 * programs/gio-cat.c:
786 * programs/gio-copy.c:
787 * programs/gio-info.c:
789 * programs/gio-monitor-dir.c:
790 * programs/gio-monitor-file.c:
791 * programs/gio-mount.c:
792 * programs/gio-move.c:
794 * programs/gio-save.c:
795 * programs/gio-trash.c:
796 Leak fixes from Kjartan Maraas
798 2007-11-14 Alexander Larsson <alexl@redhat.com>
800 * gio/fam/fam-helper.c:
802 * gio/glocalfileinfo.c:
806 * gio/inotify/inotify-diag.c:
807 * gio/inotify/inotify-kernel.c:
808 Various code cleanups from Kjartan Maraas
810 2007-11-14 Alexander Larsson <alexl@redhat.com>
812 * gio/gioscheduler.c:
814 Set up threadpool so that we cache 2 unused
815 idle threads for at 15 secs. This means we
816 will reuse thread-local data (like dbus connections)
819 2007-11-14 Alexander Larsson <alexl@redhat.com>
821 * gio/fam/fam-helper.c:
822 * gio/fam/gfamdirectorymonitor.c:
823 * gio/fam/gfamfilemonitor.c:
825 * gio/gcontenttype.c:
826 * gio/gdatainputstream.c:
827 * gio/gdataoutputstream.c:
831 * gio/gfileattribute.h:
832 * gio/gfileenumerator.c:
834 * gio/ginputstream.c:
837 * gio/glocalfileinfo.c:
838 * gio/goutputstream.c:
839 * gio/gpollfilemonitor.c:
840 * gio/gsimpleasyncresult.c:
843 * gio/inotify/ginotifydirectorymonitor.c:
844 * gio/inotify/ginotifyfilemonitor.c:
845 * gio/inotify/inotify-diag.c:
846 * gio/inotify/inotify-kernel.c:
847 * gio/inotify/inotify-path.c:
849 * gio/test-streams.c:
850 * programs/gio-info.c:
851 * programs/gio-monitor-dir.c:
852 * programs/gio-monitor-file.c:
853 Various code cleanups from Kjartan Maraas
855 2007-11-13 Alexander Larsson <alexl@redhat.com>
858 Handle the uri-scheme calls for dummy files
860 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
862 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
863 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
864 to avoid clash with the C++ keyword.
866 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
868 * gio/glocalfileinfo.c: Build fix, added missing semicolon
869 to an ifdef'ed call to getpwuid() in lookup_uid_data().
871 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
873 * gio/glocaldirectorymonitor.c:
874 * gio/glocalfilemonitor.c:
875 * gio/gunionvolumemonitor.c:
876 Don't use g_once_init_*() for initializations that could fail and
877 could leave the initialization variable set to 0 but use GOnce.
878 This prevents a deadlock on the second call when trying to create
879 a monitor and no monitor type is available. Thanks to Sven Herzberg
882 2007-11-11 Sven Herzberg <sven@imendio.com>
884 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
885 #ifdef (make it work on MacOS X again)
887 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
889 Fixes Changelog for last two commits (sorry guys).
891 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
893 * gio/gbufferedinputstream.c:
894 * gio/gdatainputstream.c:
896 * gio/gfileoutputstream.c:
897 * gio/gfilterinputstream.c:
898 * gio/glocalfileinputstream.c:
901 More consistency fixes in g*stream.c files.
902 Significant clean of gfile's documentation, filling in of
903 asynchronous operations documentation.
905 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
907 * gio/gasyncresult.c:
908 * gio/gbufferedinputstream.c:
909 * gio/gbufferedoutputstream.c:
910 * gio/gcancellable.c:
911 * gio/gcontenttype.c:
912 * gio/gdatainputstream.c:
913 * gio/gdataoutputstream.c:
914 * gio/gdesktopappinfo.c:
917 * gio/gfileattribute.c:
918 * gio/gio/gfileenumerator.c:
920 * gio/gfileinputstream.c:
921 * gio/gfilemonitor.c:
922 * gio/gfileoutputstream.c:
923 * gio/ginputstream.c:
925 * gio/gioscheduler.c:
926 * gio/gloadableicon.c:
927 * gio/glocalfileoutputstream.c:
928 * gio/gmemoryoutputstream.c:
929 * gio/gmountoperation.c:
930 * gio/goutputstream.c:
932 * gio/gsimpleasyncresult.c:
933 * gio/gunionvolumemonitor.c:
939 * gio/gvolumemonitor.c:
940 Updated documentation stubs, working towards consistency and
943 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
945 * gio/gmemoryoutputstream.c:
946 * gio/gmemoryoutputstream.h:
947 Change g_memory_output_stream_set_free_on_close() to
948 g_memory_output_stream_set_free_data() as this makes more sense and
949 is more consistent with GMemoryInputStream.
951 2007-11-07 Alexander Larsson <alexl@redhat.com>
958 Change how we find the default vfs so that
959 we can handle a gvfs failing to init
961 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
963 * gio/gbufferedoutputstream.c:
964 * gio/gdatainputstream.c:
965 * gio/gdataoutputstream.c:
966 * gio/gfileinputstream.c:
967 * gio/gfileoutputstream.c:
968 * gio/gfilterinputstream.c:
969 * gio/gfilteroutputstream.c:
970 * gio/ginputstream.c:
971 * gio/gmemoryinputstream.c:
972 * gio/gmemoryoutputstream.c:
973 * gio/goutputstream.c:
974 * gio/gsimpleasyncresult.c:
975 * gio/gsocketinputstream.c:
976 * gio/gsocketoutputstream.c:
977 Add guards to the remaining public functions, add a TODO for
978 an unimplemented function and remove some useless guards.
980 2007-11-07 Alexander Larsson <alexl@redhat.com>
983 Autoconf checks for the various types of
984 getpwuid_r and getgrgid_r
986 * gio/glocalfileinfo.c:
987 Use the autoconf checks from above
989 2007-11-07 Alexander Larsson <alexl@redhat.com>
992 (g_local_file_query_filesystem_info):
993 Some fixes for the statvfs case
995 2007-11-07 Alexander Larsson <alexl@redhat.com>
998 (g_local_file_query_filesystem_info):
999 Pick the "best" of statfs / statvfs for the system
1000 if both are availible.
1002 2007-11-07 Alexander Larsson <alexl@redhat.com>
1004 Solaris fixes from Halton.Huo@Sun.COM:
1011 * gio/glocalfileinfo.c:
1012 Fix for solaris definition of getpwuid_r
1014 * gio/test-streams.c:
1015 Use G_GNUC_PRETTY_FUNCTION
1017 2007-11-07 Alexander Larsson <alexl@redhat.com>
1019 * gio/gdesktopappinfo.c:
1020 (update_default_list):
1021 Remove double semicolon.
1022 Patch from Jens Granseuer
1024 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1026 * docs/reference/gio/gio-sections.txt:
1027 * gio/gbufferedinputstream.c:
1028 * gio/gbufferedinputstream.h:
1029 * gio/gdatainputstream.c:
1030 * gio/gfileenumerator.c:
1031 * gio/gioscheduler.c:
1032 * gio/gunionvolumemonitor.c:
1034 * programs/gio-save.c:
1035 Fix typo: availible -> available. Unfortuntely this breaks API
1036 and ABI as g_buffered_input_stream_get_available() was renamed.
1038 * gio/gunixmounts.c:
1039 * gio/gbufferedinputstream.c:
1040 Add guards for public functions.
1042 2007-11-06 Ross Burton <ross@openedhand.com>
1044 * docs/reference/gio/Makefile.am:
1045 Fix invalid += usage which automake 1.10 doesn't like.
1047 2007-11-06 Alexander Larsson <alexl@redhat.com>
1050 (g_app_launch_context_class_init):
1053 Patch from Ross Burton
1055 2007-11-06 Alexander Larsson <alexl@redhat.com>
1058 Post release version bump
1060 === gio-standalone 0.1.1 ===
1062 2007-11-06 Alexander Larsson <alexl@redhat.com>
1065 Bump version to 0.1.1
1067 * gio/gsimpleasyncresult.c:
1068 (g_simple_async_result_set_from_error):
1069 Remove bogus g_return_if_fail
1071 2007-11-06 Alexander Larsson <alexl@redhat.com>
1074 The name is gio-standalone
1077 Add top src/builddir to includedir
1079 2007-11-06 Alexander Larsson <alexl@redhat.com>
1081 * docs/reference/gio/gio-sections.txt:
1083 * gio/gbufferedinputstream.c:
1084 * gio/gbufferedoutputstream.c:
1085 * gio/gcancellable.c:
1086 * gio/gdatainputstream.h:
1087 * gio/gdataoutputstream.c:
1088 * gio/gdataoutputstream.h:
1089 * gio/gdirectorymonitor.c:
1091 * gio/gfileattribute.c:
1092 * gio/gfileattribute.h:
1093 * gio/gfileenumerator.c:
1094 * gio/gfileenumerator.h:
1097 * gio/gfileinputstream.h:
1098 * gio/gfilemonitor.c:
1099 * gio/gfileoutputstream.h:
1100 * gio/glocalfilemonitor.h:
1101 * gio/glocalfileoutputstream.h:
1102 * gio/gmemoryinputstream.c:
1103 * gio/gmemoryoutputstream.c:
1104 * gio/gmountoperation.c:
1105 * gio/goutputstream.c:
1106 * gio/goutputstream.h:
1108 * gio/gsimpleasyncresult.c:
1109 * gio/gunixmounts.c:
1110 * gio/gunixmounts.h:
1112 * gio/inotify/inotify-helper.c:
1113 Fix gtk-doc warnings
1115 Patch from Ross Burton
1117 2007-11-06 Alexander Larsson <alexl@redhat.com>
1119 * gio/gfilenamecompleter.c:
1120 (g_filename_completer_get_completions):
1123 * gio/gunixvolume.c:
1124 Remove unused function
1126 Patches from Ross Burton
1128 2007-11-06 Alexander Larsson <alexl@redhat.com>
1133 Padding not needed for interfaces
1135 2007-11-06 Alexander Larsson <alexl@redhat.com>
1137 * gio/gfilemonitor.c:
1141 Make giotypes.h an internal file
1144 * gio/gbufferedinputstream.h:
1145 * gio/gbufferedoutputstream.h:
1146 * gio/gcancellable.h:
1147 * gio/gdatainputstream.h:
1148 * gio/gdataoutputstream.h:
1149 * gio/gdirectorymonitor.c:
1150 * gio/gdirectorymonitor.h:
1155 * gio/gfileattribute.h:
1156 * gio/gfileenumerator.h:
1161 * gio/gfilemonitor.c:
1162 * gio/gfilemonitor.h:
1163 * gio/gfilenamecompleter.c:
1164 * gio/gfilenamecompleter.h:
1165 * gio/gfilterinputstream.h:
1166 * gio/gfilteroutputstream.h:
1167 * gio/ginputstream.h:
1168 * gio/gmemoryinputstream.h:
1169 * gio/gmemoryoutputstream.h:
1170 * gio/gmountoperation.c:
1171 * gio/gmountoperation.h:
1172 * gio/gnativevolumemonitor.c:
1173 * gio/goutputstream.h:
1176 * gio/gsimpleasyncresult.c:
1177 * gio/gsimpleasyncresult.h:
1178 * gio/gsocketinputstream.h:
1179 * gio/gsocketoutputstream.h:
1180 * gio/gthemedicon.c:
1181 * gio/gthemedicon.h:
1185 * gio/gvolumemonitor.c:
1186 * gio/gvolumemonitor.h:
1187 Add padding in classes where it seems useful
1188 Don't include giotypes.h from public headers
1189 Move in Class definitions into c file where possible
1194 2007-11-06 Alexander Larsson <alexl@redhat.com>
1196 * docs/reference/gio/gio-docs.xml:
1197 Better structure for API docs
1199 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1202 * gio/gloadableicon.c:
1203 * gio/gsimpleasyncresult.c:
1204 * gio/gthemedicon.c:
1205 Add some more guards to public functions. Only files missing are now
1208 2007-11-06 Alexander Larsson <alexl@redhat.com>
1210 * docs/reference/gio/gio-docs.xml:
1211 Remove old files, add missing ones
1213 2007-11-06 Alexander Larsson <alexl@redhat.com>
1215 * docs/reference/gio/gio-sections.txt:
1218 Hide implementation classes
1220 * gio/gdriveprivate.h:
1221 * gio/gvolumeprivate.h:
1222 Remove non-existing function declarations
1224 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1227 Fix compilation warnings and add guards to the new functions.
1229 * gio/gasyncresult.c:
1231 Add guards to the public functions.
1234 Implement get_path().
1236 2007-11-06 Alexander Larsson <alexl@redhat.com>
1238 * gio/gfilenamecompleter.c:
1239 Make g_filename_completer_get_completions
1240 return char ** instead of GList for
1243 * docs/reference/gio/gio-docs.xml:
1244 * docs/reference/gio/gio-sections.txt:
1246 * gio/gasyncresult.c:
1247 * gio/gbufferedinputstream.c:
1248 * gio/gbufferedoutputstream.c:
1249 * gio/gcancellable.c:
1250 * gio/gcontenttype.c:
1251 * gio/gdatainputstream.c:
1252 * gio/gdataoutputstream.c:
1253 * gio/gdesktopappinfo.c:
1254 * gio/gdirectorymonitor.c:
1258 * gio/gfileattribute.c:
1259 * gio/gfileenumerator.c:
1262 * gio/gfileinputstream.c:
1263 * gio/gfilemonitor.c:
1264 * gio/gfilenamecompleter.c:
1265 * gio/gfilenamecompleter.h:
1266 * gio/gfileoutputstream.c:
1267 * gio/gfilterinputstream.c:
1269 * gio/ginputstream.c:
1271 * gio/gioscheduler.c:
1272 * gio/gloadableicon.c:
1273 * gio/glocaldirectorymonitor.c:
1275 * gio/glocalfileinputstream.c:
1276 * gio/glocalfilemonitor.c:
1277 * gio/glocalfileoutputstream.c:
1279 * gio/gmemoryinputstream.c:
1280 * gio/gmemoryoutputstream.c:
1281 * gio/gmountoperation.c:
1282 * gio/goutputstream.c:
1283 * gio/gpollfilemonitor.c:
1285 * gio/gsimpleasyncresult.c:
1286 * gio/gsocketinputstream.c:
1287 * gio/gsocketoutputstream.c:
1288 * gio/gthemedicon.c:
1289 * gio/gunionvolumemonitor.c:
1291 * gio/gunixmounts.c:
1292 * gio/gunixvolume.c:
1293 * gio/gunixvolumemonitor.c:
1297 * gio/gvolumemonitor.c:
1298 * gio/gwin32appinfo.c:
1299 Add (mostly stub) doc strings to public functions.
1300 Patch from Andrew Walton (awalton@gmail.com)
1302 2007-11-06 Alexander Larsson <alexl@redhat.com>
1304 * gio/gappinfo.[ch]:
1305 Added GAppLaunchContext object and pass that to launch.
1306 This allows simple implementation of both
1307 launch-on-screen and startup notification via a gtk+
1308 subclass of GAppLaunchContext
1310 * gio/gdesktopappinfo.c:
1311 Implement GAppLaunchContext API
1313 * gio/gwin32appinfo.c:
1316 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1318 * gio/gmountoperation.c:
1319 Add some guards to GMountOperation's public functions.
1321 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1325 * gio/gcancellable.c:
1326 * gio/gdirectorymonitor.c:
1328 * gio/gfileenumerator.c:
1329 * gio/gfilemonitor.c:,
1330 * gio/gfilenamecompleter.c:
1333 * gio/gioscheduler.c:
1337 * gio/gvolumemonitor.c:
1338 Add even more guards to various public functions.
1340 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1343 Add guards to the public functions of GAppInfo.
1345 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1347 * gio/gcontenttype.c:
1348 Add some more guards for public functions.
1350 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1352 * gio/fam/fam-module.c:
1353 * gio/fam/gfamdirectorymonitor.c:
1354 * gio/fam/gfamdirectorymonitor.h:
1355 * gio/fam/gfamfilemonitor.c:
1356 * gio/fam/gfamfilemonitor.h:
1357 * gio/inotify/ginotifydirectorymonitor.c:
1358 * gio/inotify/ginotifydirectorymonitor.h:
1359 * gio/inotify/ginotifyfilemonitor.c:
1360 * gio/inotify/ginotifyfilemonitor.h:
1361 Add proper copyright information and remove an unused variable
1362 in the GInotifyFileMonitor constructor.
1364 * gio/gcancellable.c:
1365 Add a guard for a public function and an assertion to prevent
1366 an undefined program state.
1368 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1370 * gio/gfileattribute.c:
1371 Don't run into an assertion if the given attribute value is NULL
1372 in g_file_attribute_value_get_*() but instead return a fallback
1373 value that makes sense in most situations. Passing them a attribute
1374 value with the wrong type will still run into an assertion.
1376 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1378 * gio/gfileattribute.c:
1380 Add even more guards to the public functions. Also fix the refcounting
1381 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1382 let g_file_info_list_attributes() filter the attributes by namespace
1383 instead of simply ignoring the namespace parameter.
1385 2007-11-03 Sven Herzberg <sven@imendio.com>
1387 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1388 (This makes gio work on MacOS X again)
1390 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1393 Build the gio subdirectory before the docs. Otherwise the build will
1396 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1397 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1398 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1399 Add guards to the public functions.
1401 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1403 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1404 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1405 to prevent a compiler warning.
1407 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1408 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1409 return something in the non-void function find_topdir_for().
1411 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1418 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1420 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1421 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1422 * gwin32appinfo.c (g_win32_app_info_launch):
1423 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1424 envp_for_startup_id, g_desktop_app_info_launch,
1425 g_desktop_app_info_launch_uris):
1427 Give an opaque 'startup_id' string instead of 'envp'.
1428 Support empty file lists for launching new windows.
1429 Fix infinite recursion bug when launching URIs.
1431 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1434 Add guard to the new g_file_get_uri_scheme() function.
1436 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1439 Convert a g_return_val_if_fail() to setting the GError instead as
1440 otherwise applications have to verify the parameter before otherwise
1441 and the parameter might come directly from the user.
1443 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1445 * gio/inotify/ginotify*.[ch]:
1446 Add missing copyright information.
1448 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1451 Add guards in the beginning of public functions to check for valid
1452 parameters and fix a bug in copy_stream_with_progress() that could've
1453 caused writing less bytes than reading.
1454 * gio/glocalfileinfo.c:
1455 Check for a NULL parameter and set the GError accordingly then.
1456 * gio/goutputstream.c:
1457 Fix the same bug as in gfile.c that could've caused writing less bytes
1458 than reading in g_output_stream_real_splice().
1460 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1463 Use the correct gvolumeprivate.h naming
1465 2007-11-01 Christian Kellner <gicmo@gnome.org>
1468 Remove leftover "$(daemon_sources)" entry.
1470 2007-11-01 Christian Kellner <gicmo@gnome.org>
1475 Add copyright information to source files.
1477 2007-11-01 Alexander Larsson <alexl@redhat.com>
1481 Add g_file_get_uri_scheme
1483 2007-11-01 Alexander Larsson <alexl@redhat.com>
1486 * gio/gdesktopappinfo.c:
1487 * gio/gwin32appinfo.c:
1488 Add g_app_info_get_default_for_uri_scheme.
1490 2007-11-01 Alexander Larsson <alexl@redhat.com>
1493 Correct filename for gdriveprivate.h
1495 2007-10-31 Alexander Larsson <alexl@redhat.com>
1498 Rename id:value to id:file
1501 * gio/glocalfileinfo.c:
1504 2007-10-31 Alexander Larsson <alexl@redhat.com>
1506 * gio/gunixvolume.c:
1508 Remove g_volume_get_platform_id, as thats not
1509 needed with the simpler union volume monitor
1511 2007-10-31 Alexander Larsson <alexl@redhat.com>
1514 * gio/guniondrive.[ch]: Removed.
1515 * gio/gunionvolume.[ch]: Removed.
1516 Remove GUnionDrive/Volume
1518 * gio/gunionvolumemonitor.c:
1519 Simplify union volume monitor, now we
1520 only have one native volume monitor and
1521 we use the actual volumes/drives from the
1522 child monitors instead of wrapping them
1524 * gio/gnativevolumemonitor.[ch]:
1525 Base class for native volume monitors.
1526 Includes priority and get_volume_for_mountpoint
1529 Add g_file_find_enclosing_volume
1532 Remove volume name fs attribute
1533 Add readonly fs attribute
1536 Implement readonly attribute
1537 remove volume name attribute
1538 Implement find_enclosing volume
1540 * gio/gunixmounts.c:
1541 Add a volume for "/".
1543 * gio/gunixvolume.[ch]:
1544 Set better name for /
1546 * gio/gunixvolumemonitor.[ch]:
1547 Derive from GNativeVolumeMonitor
1548 Implement get_volume_for_mountpoint
1551 GVolume typedef moved to gfile.h
1553 * gio/gvolumeprivate.h:
1554 Add g_volume_get_for_mount_path
1556 2007-10-31 Alexander Larsson <alexl@redhat.com>
1558 * gio/gunixmounts.[ch]:
1559 Add cache info to unix mount listers
1560 Make getmntent use threadsafe
1561 Add is_system_internal attribute for GUnixMount
1563 * gio/gunixvolume.c:
1564 (g_unix_volume_new):
1565 Use is_system_internal instead of own code
1567 * gio/glocaldirectorymonitor.c:
1568 * gio/gunixvolumemonitor.c:
1569 Update to new gunixmounts API
1574 2007-10-30 Alexander Larsson <alexl@redhat.com>
1577 Add volume name fsinfo attribute
1580 Read volume name info
1582 * gio/gunionvolumemonitor.c:
1583 Fix infinite loops when finalizing a union volume monitor
1585 2007-10-30 Alexander Larsson <alexl@redhat.com>
1587 * gio/goutputstream.[ch]:
1588 Add splice() with default implementation
1590 * gio/gsocketoutputstream.c:
1591 (g_socket_output_stream_write):
1592 Return error on cancellation correctly.
1594 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1596 * gio/glocalfile.c (g_local_file_trash):
1597 Do not leak a string.
1599 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1601 * gio/gfile.c (g_file_load_contents):
1602 Unref the stream after closing it.
1604 2007-10-25 Alexander Larsson <alexl@redhat.com>
1606 * gio/gioscheduler.h:
1609 2007-10-25 Alexander Larsson <alexl@redhat.com>
1613 Add g_file_has_uri_scheme and implement for local files
1615 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1617 * gio/gdesktopappinfo.c: do not leak a string.
1619 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1621 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1622 (g_local_directory_monitor_new):
1623 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1624 (g_local_file_monitor_new):
1625 Only look for the monitor type that should be used the first time
1626 and use g_qsort_with_data() instead of our own bubble sort
1629 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1632 * gio/fam/Makefile.am:
1633 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1634 * gio/fam/fam-helper.h:
1635 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1636 * gio/fam/gfamdirectorymonitor.c:
1637 * gio/fam/gfamdirectorymonitor.h:
1638 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1639 * gio/fam/gfamfilemonitor.h:
1640 * gio/glocaldirectorymonitor.c:
1641 * gio/glocaldirectorymonitor.h:
1642 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1643 * gio/glocalfilemonitor.h:
1644 * gio/inotify/Makefile.am:
1645 * gio/inotify/ginotifydirectorymonitor.c:
1646 * gio/inotify/ginotifydirectorymonitor.h:
1647 * gio/inotify/ginotifyfilemonitor.c:
1648 * gio/inotify/ginotifyfilemonitor.h:
1649 Implement the FAM and Inotify monitors as
1650 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1651 their own GIO module. GLocal(Directory|File)Monitor will use the
1652 monitor with the highest rank that is supported on that machine.
1654 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1657 Change GIO module dir to $(libdir)/gio/modules and change
1658 the log domain from GVFS to GIO. Also only export symbols starting
1659 with g_ in the resulting library.
1660 * gio/test-streams.c: (main):
1661 Set log handler for the GIO log domain.
1663 2007-10-22 Alexander Larsson <alexl@redhat.com>
1665 * gio/gfilenamecompleter.[ch]:
1666 Add g_filename_completer_set_dirs_only
1668 2007-10-22 Alexander Larsson <alexl@redhat.com>
1671 * gio/gurifuncs.[ch]:
1672 Add some simple URI helpers
1674 * gio/gfilenamecompleter.[ch]:
1675 Added object for filename (parse name actually) completion
1678 Handle ~ in parse names
1680 2007-10-17 Alexander Larsson <alexl@redhat.com>
1683 * gio/glocalfileinfo.c:
1684 Add and implement id:value attribute
1686 2007-10-17 Alexander Larsson <alexl@redhat.com>
1689 * gio/guniondrive.c:
1691 Add and implement g_drive_has_volumes
1693 2007-10-17 Alexander Larsson <alexl@redhat.com>
1696 * gio/glocalfileinfo.[ch]:
1697 Add unix:is_mountpoint and implement for local files
1699 2007-10-16 Alexander Larsson <alexl@redhat.com>
1701 * gio/gunionvolumemonitor.c:
1702 (g_union_volume_monitor_init):
1703 Fix up the unix type getting so that it works with gcc
1705 2007-10-12 Alexander Larsson <alexl@redhat.com>
1708 * gio/glocalfileinfo.c:
1709 Add thumbnail:failed to file info
1711 2007-10-12 Richard Hult <richard@imendio.com>
1713 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1714 optimizing away the get_type call (happens with some gcc versions,
1715 like the one shipped with OS X 10.4).
1717 2007-10-12 Alexander Larsson <alexl@redhat.com>
1719 * gio/glocalfileinfo.c:
1720 (_g_local_file_info_set_attribute):
1721 Fix build if not HAVE_XATTR
1722 Patch from Milosz Derezynski <internalerror@gmail.com>
1724 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1726 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1727 around for review, otherwise I would have asked you before
1730 2007-10-11 Alexander Larsson <alexl@redhat.com>
1733 Add thumbnail:path attribute
1735 * gio/glocalfileinfo.c:
1736 Implement thumbnail:path for local files
1738 2007-10-11 Alexander Larsson <alexl@redhat.com>
1740 * gio/glocalfileinfo.c:
1741 (_g_local_file_info_get):
1742 Avoid duplicate icon names
1744 2007-10-11 Alexander Larsson <alexl@redhat.com>
1746 * gio/gthemedicon.[ch]:
1747 Change g_themed_icon_get_names return type to const
1749 2007-10-10 Alexander Larsson <alexl@redhat.com>
1751 * gio/glocalfileinfo.c:
1752 Don't reference freed memory
1754 2007-10-10 Alexander Larsson <alexl@redhat.com>
1756 * gio/gfileattribute.c:
1759 * gio/glocalfileinfo.c:
1762 2007-10-10 Alexander Larsson <alexl@redhat.com>
1765 Check for NULL icons
1767 * gio/gfileattribute.c:
1768 Don't dup when getting objects (same as for string attributes)
1770 * gio/gicon.c (g_icon_equal):
1771 Safely handle NULLs in equal
1773 2007-10-10 Alexander Larsson <alexl@redhat.com>
1776 Fix c++ compilation issues
1777 Patch from Milosz Derezynski <internalerror@gmail.com>
1779 2007-10-10 Alexander Larsson <alexl@redhat.com>
1781 * programs/gio-monitor-dir.c:
1782 Don't crash if dir monitor not supported.
1784 2007-10-09 Alexander Larsson <alexl@redhat.com>
1787 Add missing G_END_DECLS
1789 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1791 * gio/gfile.c: (g_file_set_display_name),
1792 (g_file_query_settable_attributes),
1793 (g_file_query_writable_namespaces):
1794 Return NULL not FALSE on errors as the return type is a pointer.
1796 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1798 * gio/glocalfile.c: (g_local_file_monitor_file):
1799 Don't call monitor_file on the default interface vtable (which
1800 is NULL) but simply return NULL. The caller, GFile, will create a
1801 polling monitor if NULL is returned.
1803 2007-10-09 Alexander Larsson <alexl@redhat.com>
1807 * gio-unix-2.0.pc.in:
1808 Add gio-unix-2.0.pc if OS_UNIX
1811 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1813 2007-10-09 Alexander Larsson <alexl@redhat.com>
1815 * gio/gunixmounts.[ch]:
1816 Make unix mount monitoring API sane.
1817 Now its just a object with mounts_changed
1818 and mountpoints_changed signals.
1820 * gio/glocaldirectorymonitor.c:
1821 * gio/gunixvolumemonitor.c:
1822 Use new mount monitor api
1824 2007-10-09 Alexander Larsson <alexl@redhat.com>
1826 * gio/gunixmounts.[ch]:
1827 Move guess type into one call for mounts and one for mountpoints
1830 * gio/gunixvolume.c:
1833 2007-10-09 Alexander Larsson <alexl@redhat.com>
1835 * gio/gunixmounts.[ch]:
1836 Remove _ prefix in preparation to make this semi-public
1837 Hide implementation of structs
1839 * gio/glocaldirectorymonitor.c:
1841 * gio/gunixvolume.c:
1842 * gio/gunixvolumemonitor.c:
1843 Update for above API changes
1845 2007-10-08 Alexander Larsson <alexl@redhat.com>
1848 Better polling fallback. This also handles the case where we have
1849 a monitor_file implementation, but it fails.
1851 2007-10-08 Alexander Larsson <alexl@redhat.com>
1855 * gio/gunixmounts.c:
1856 * programs/gio-monitor-dir.c:
1857 * programs/gio-monitor-file.c:
1858 Added cancellable to file monitoring calls.
1859 These are really sync calls and need this.
1861 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1863 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1864 (g_local_vfs_class_init):
1865 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1866 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1868 2007-10-05 Alexander Larsson <alexl@redhat.com>
1870 * gio/gdirectorymonitorprivate.h:
1871 * gio/gfilemonitorprivate.h:
1872 * gio/gdirectorymonitor.h:
1873 * gio/gfilemonitor.h:
1874 Remove *private.h and move to the public API, so that
1875 we can do implementations outside gio (such as in gvfs)
1877 * gio/gdirectorymonitor.c:
1878 * gio/gfilemonitor.c:
1879 * gio/glocaldirectorymonitor.c:
1880 * gio/gpollfilemonitor.c:
1881 * gio/inotify/inotify-helper.c:
1882 * gio/fam/fam-helper.c:
1883 Update to the new header names
1885 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1887 * gio/gdirectorymonitor.c:
1888 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1891 2007-10-04 Alexander Larsson <alexl@redhat.com>
1893 * gio/glocalfileinfo.c (get_access_rights):
1894 Set CAN_TRASH when we can move the file.
1895 We should really also check for a parent trash dir.
1897 2007-10-04 Alexander Larsson <alexl@redhat.com>
1899 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1900 Add can_trash access attribute
1902 2007-10-04 Alexander Larsson <alexl@redhat.com>
1905 (g_local_file_trash):
1906 Create info file first. This is per-spec and allows
1907 us to actually trash directories.
1909 2007-10-02 Alexander Larsson <alexl@redhat.com>
1911 * gio/gdesktopappinfo.c:
1912 Implement the new mime support code.
1913 Always set app as handling mimetype when being set as default for it
1915 2007-10-01 Alexander Larsson <alexl@redhat.com>
1917 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1918 Fix up check for xattrs:
1920 2007-10-01 Alexander Larsson <alexl@redhat.com>
1923 (g_app_info_set_as_default_for_extension):
1924 (g_app_info_add_supports_type):
1925 (g_app_info_can_remove_supports_type):
1926 (g_app_info_remove_supports_type):
1927 Make these fail nicely if not implemented
1929 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1931 * gio/glocalfileoutputstream.c:
1932 * gio/glocalfileoutputstream.h:
1937 * programs/gio-save.c:
1938 Add a GFileCreateFlags argument to operations that can create
1941 2007-10-01 Alexander Larsson <alexl@redhat.com>
1943 * gio/gappinfo.[ch]:
1944 * gio/gdesktopappinfo.c:
1945 Add more (stubbed out) mime API needed for nautilus
1947 2007-10-01 Alexander Larsson <alexl@redhat.com>
1950 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1951 Add g_app_info_set_as_default_for_extension.
1953 * gio/gdesktopappinfo.c:
1954 Dummy for g_app_info_set_as_default_for_extension
1955 Support flags in g_app_info_create_from_commandline
1957 * gio/gwin32appinfo.c:
1959 Update for API changes
1961 * gio/gthemedicon.c:
1962 Properly NULL-terminate list of icon names
1964 2007-09-28 Alexander Larsson <alexl@redhat.com>
1966 * gio/gloadableicon.h:
1967 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1969 2007-09-28 Alexander Larsson <alexl@redhat.com>
1972 Install headers in $includedir/gio-standalone/
1974 * gio-2.0.pc.in: Added.
1975 * gio-standalone.pc.in: Removed.
1978 Renamed pkg-config file to match glib (for future move)
1979 Update to the new include dir
1982 Add more TODO comments
1984 2007-09-28 Alexander Larsson <alexl@redhat.com>
1986 * gio/gdesktopappinfo.[ch]:
1987 Expose new_from_filename
1988 Add getter for is_hidden and handle it better
1990 2007-09-28 Alexander Larsson <alexl@redhat.com>
1992 * gio/gfileinfo.[ch]:
1993 Rename g_file_size_format_for_display to
1994 g_format_file_size_for_display.
1995 Now it doesn't have the g_file prefix, so we
1996 can later move it to glib.
1998 2007-09-28 Alexander Larsson <alexl@redhat.com>
2000 * gio/gappinfo.[ch]:
2001 Add g_app_info_get_id and g_app_info_get_executable.
2002 Make all getters non-reffing
2003 Make g_app_info_launch take GFile arguments.
2004 Add must_support_uris argument to g_app_info_get_default_for_type.
2006 * gio/gwin32appinfo.c:
2007 Update to GAppInfo api changes
2009 * gio/gdesktopappinfo.c:
2010 Update to GAppInfo api changes
2011 Implement supports_xdg_startup_notify
2013 * gio/gfileicon.c (g_file_icon_get_file):
2014 Make getter non-reffing.
2019 2007-09-27 Alexander Larsson <alexl@redhat.com>
2021 * gio/gfileinfo.[ch]:
2022 Add g_file_size_format_for_display helper
2024 2007-09-27 Alexander Larsson <alexl@redhat.com>
2026 * gio/glocalfileinfo.c:
2027 Set UNIX_GID from gid, not from uid
2029 2007-09-27 Alexander Larsson <alexl@redhat.com>
2032 Add g_file_set_attributes_async
2034 2007-09-27 Alexander Larsson <alexl@redhat.com>
2036 * gio/glocalfile.c (g_local_file_set_display_name):
2037 Fix set_display_name to actually rename to the right place.
2038 Use lstat to look for existing files so we don't overwrite
2041 2007-09-26 Alexander Larsson <alexl@redhat.com>
2044 Add g_file_set_display_name_async()
2046 2007-09-26 Alexander Larsson <alexl@redhat.com>
2049 Add load_partial_contents async calls
2052 Make internal function static
2054 2007-09-26 Alexander Larsson <alexl@redhat.com>
2056 * gio/glocalfileinfo.c:
2057 Correctly detect broken symlinks
2059 2007-09-26 Alexander Larsson <alexl@redhat.com>
2061 * gio/gcancellable.c (g_cancellable_cancel):
2062 Allow cancel on NULL cancellable
2064 2007-09-25 Alexander Larsson <alexl@redhat.com>
2066 * gio/gsimpleasyncresult.c:
2067 Don't allocate g_error manually.
2068 Fixes g_slice/g_new mixup crash
2070 2007-09-25 Alexander Larsson <alexl@redhat.com>
2072 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2073 Actually set active_backend.
2074 This means the monitor will be cancelled correctly.
2076 2007-09-25 Alexander Larsson <alexl@redhat.com>
2078 * gio/gdirectorymonitor.c:
2079 Set timeout to NULL when destroying
2081 2007-09-25 Alexander Larsson <alexl@redhat.com>
2084 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2085 that is a better description of the error.
2087 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2089 * gio/gvfs.c: (g_vfs_get_local):
2090 Make the local vfs variable static. The same instance should
2093 2007-09-24 Alexander Larsson <alexl@redhat.com>
2095 * gio/glocalfileinfo.c:
2096 Pass in actual length read into sniffer, not the length
2099 2007-09-21 Alexander Larsson <alexl@redhat.com>
2101 * gio/gfileenumerator.c:
2104 * gio/gfileinputstream.c:
2105 * gio/gfileoutputstream.c:
2106 * gio/ginputstream.c:
2107 * gio/goutputstream.c:
2108 Don't crash if async callbacks are NULL
2110 2007-09-20 Alexander Larsson <alexl@redhat.com>
2113 Add async enumerate_children method and default
2116 2007-09-20 Alexander Larsson <alexl@redhat.com>
2119 Add g_file_contains_file & g_file_get_relative_path, since they
2120 were needed for nautilus.
2121 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2126 Implement new methods
2128 2007-09-17 Alexander Larsson <alexl@redhat.com>
2131 * gio/gfileinputstream.[ch]:
2132 * gio/gfileoutputstream.[ch]:
2134 * gio/glocalfileenumerator.[ch]:
2135 * gio/glocalfileinfo.[ch]:
2136 * gio/glocalfileinputstream.c:
2137 * gio/glocalfileoutputstream.c:
2138 * gio/gpollfilemonitor.c:
2139 * programs/gio-copy.c:
2140 * programs/gio-info.c:
2141 * programs/gio-move.c:
2142 Rename get_file_info to query_info() to make it clearer
2143 that these are not simple getters, but do i/o.
2145 2007-09-17 Alexander Larsson <alexl@redhat.com>
2147 * gio/gdatainputstream.[ch]:
2148 * gio/test-streams.c:
2149 Use _read_XXX instead of _get_XXX for the i/o calls
2152 2007-09-17 Alexander Larsson <alexl@redhat.com>
2155 Added needed stuff to TODO comment
2157 2007-09-17 Alexander Larsson <alexl@redhat.com>
2159 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2160 Don't error out removing the backup copy if it doesn't
2163 2007-09-14 Alexander Larsson <alexl@redhat.com>
2165 * programs/Makefile.am:
2166 * programs/gvfs-*.c:
2168 Renamed apps from gvfs-xxx to gio-xxx.
2170 2007-09-14 Alexander Larsson <alexl@redhat.com>
2173 * gio/gfileoutputstream.[ch]:
2174 * gio/glocalfileoutputstream.c:
2175 * programs/gvfs-save.c:
2176 g_file_output_stream_get_etag doesn't do i/o, so remove
2177 cancellation and error.
2179 2007-09-14 Alexander Larsson <alexl@redhat.com>
2182 Add new_etag output to replace_contents functions
2184 2007-09-14 Alexander Larsson <alexl@redhat.com>
2186 * gio/gfileoutputstream.[ch]:
2187 Add async get_file_info and default implementation
2189 2007-09-14 Alexander Larsson <alexl@redhat.com>
2191 * gio/gfileinputstream.c:
2192 Implement fallback wrapper for async get_file_info
2194 2007-09-14 Alexander Larsson <alexl@redhat.com>
2197 Add etag out argument to load_contents
2202 2007-09-14 Alexander Larsson <alexl@redhat.com>
2204 * gio/gcontenttype.c (looks_like_text):
2205 Whitespace like tab, cr and lf do not make the
2208 2007-09-14 Alexander Larsson <alexl@redhat.com>
2210 * gio/gfileinputstream.[ch]:
2211 Add async get_file_info.
2213 2007-09-13 Alexander Larsson <alexl@redhat.com>
2215 * gio/goutputstream.c (g_output_stream_write_all):
2216 Allow NULL for bytes_written
2218 2007-09-13 Alexander Larsson <alexl@redhat.com>
2220 * gio/gmemoryinputstream.[ch]:
2221 Add accessors for data
2223 2007-09-13 Alexander Larsson <alexl@redhat.com>
2225 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2226 Don't crash if length is NULL