1 2007-12-12 Alexander Larsson <alexl@redhat.com>
3 * gbufferedinputstream.h:
4 * gbufferedoutputstream.h:
11 * gfileoutputstream.h:
12 * gfilterinputstream.h:
13 * gfilteroutputstream.h:
15 * glocalfileinputstream.h:
16 * glocalfileoutputstream.h:
17 * gmemoryinputstream.h:
18 * gmemoryoutputstream.h:
19 * gnativevolumemonitor.h:
22 * gunixoutputstream.h:
25 s/parent/parent_instance/ in GObjects
27 2007-12-12 Alexander Larsson <alexl@redhat.com>
32 No need for padding for interfaces
34 2007-12-12 Alexander Larsson <alexl@redhat.com>
38 * gbufferedinputstream.c:
39 * gbufferedoutputstream.c:
42 * gdatainputstream.[ch]:
44 * gdirectorymonitor.c:
46 * gfileattribute.[ch]:
51 * gfileoutputstream.[ch]:
52 * gfilterinputstream.h:
53 * gfilteroutputstream.h:
57 * gmemoryinputstream.c:
60 Fix up a bunch of details in the docs.
65 2007-12-11 David Zeuthen <davidz@redhat.com>
67 Rework how volumes, drives and volume monitoring is
68 done. Previosly the model was
72 where a GDrive instance represented a mount point and a GVolume
73 instance represented a mounted file system. This patch changes it
76 GDrive <1-N> GVolume <1-1> GMount
78 where GMount now serves the purpose of the old GVolume and the new
79 GVolume serves the purpose of the old GDrive. In addition the new
80 GDrive interface is used to represent a collection of GVolume
81 instances (typically partitions) and also contains utility to query
82 the state of the physical drive the GDrive object represents (such
83 as checking for media, polling the drive, ejecting the media etc.).
85 Also implement mounting and unmounting in the Unix volume monitor
86 backend. A subquent patch will introduce GDrive support for ejection
90 * gdrive.c: (g_drive_is_media_check_automatic),
91 (g_drive_is_media_removable), (g_drive_has_media),
92 (g_drive_can_poll_for_media), (g_drive_eject),
93 (g_drive_eject_finish), (g_drive_poll_for_media),
94 (g_drive_poll_for_media_finish):
96 * gfile.c: (g_file_find_enclosing_mount):
99 * glocaldirectorymonitor.c:
100 (g_local_directory_monitor_constructor), (mounts_changed):
101 * glocalfile.c: (get_mount_info),
102 (g_local_file_find_enclosing_mount),
103 (g_local_file_file_iface_init):
104 * gnativevolumemonitor.h:
105 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
106 (get_connected_drives), (g_union_volume_monitor_class_init),
107 (child_volume_added), (child_volume_removed),
108 (child_volume_changed), (child_mount_added), (child_mount_removed),
109 (child_mount_pre_unmount), (child_mount_changed),
110 (child_drive_changed), (g_union_volume_monitor_add_monitor),
111 (g_union_volume_monitor_remove_monitor),
112 (_g_mount_get_for_mount_path):
113 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
114 (guess_system_internal), (_g_get_unix_mounts),
115 (_g_get_unix_mount_points), (g_get_unix_mount_at),
116 (g_unix_mount_free), (g_unix_mount_compare),
117 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
118 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
119 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
120 (type_to_icon), (g_unix_mount_guess_name),
121 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
122 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
123 (_resolve_symlink), (_resolve_dev_root):
125 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
126 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
127 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
128 (g_unix_volume_get_name), (g_unix_volume_can_mount),
129 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
130 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
131 (g_unix_volume_mount), (g_unix_volume_mount_finish),
132 (g_unix_volume_volume_iface_init):
134 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
135 (get_mounts), (get_volumes), (get_connected_drives),
136 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
137 (mountpoints_changed), (mounts_changed),
138 (g_unix_volume_monitor_init),
139 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
140 (find_mount_by_mountpath), (update_volumes), (update_mounts):
141 * gunixvolumemonitor.h:
142 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
143 (g_volume_mount), (g_volume_mount_finish):
145 * gvolumemonitor.c: (g_volume_monitor_class_init),
146 (g_volume_monitor_get_connected_drives),
147 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
150 2007-12-10 Matthias Clasen <mclasen@redhat.com>
152 * gmountoperation.h (GPasswordFlags): Close the gap
154 2007-12-10 Matthias Clasen <mclasen@redhat.com>
156 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
158 * gdesktopappinfo.[hc]: Remove _-prefixes
160 2007-12-10 Tor Lillqvist <tml@novell.com>
162 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
165 2007-12-10 Alexander Larsson <alexl@redhat.com>
167 * gfile.c (g_file_set_display_name):
168 Don't hardcode '/' (#502727)
170 2007-12-09 Hans Breuer <hans@breuer.org>
172 * makefile.msc : follow lib naming convention
173 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
174 for user and group name, tested with ../tests/gio-ls
176 2007-12-09 A. Walton <awalton@svn.gnome.org>
189 * gmemoryinputstream.c:
190 * gmemoryoutputstream.c:
192 * gsimpleasyncresult.c:
193 More documentation cleanup and filling in missing information, bringing
194 GIO to 99% symbol coverage.
196 2007-12-08 Hans Breuer <hans@breuer.org>
198 [gio compiles and links on win32, not sure how much already works]
199 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
200 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
201 base on win32 API; prefer g_lstat() over lstat(); instead of
202 localtime_r() use an all GLib implementation on win32;
203 get_mount_info() still needs a win32 specifc implementation
204 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
205 win32_get_file_user_info to get owner/group info without uid/gid
206 * glocalfileinputstream.c : include <io.h> on win32
207 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
208 definition, use g_win32_ftruncate() for G_OS_WIN32
209 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
210 it is available with mingw/w32api but a mess with the M$ Platform SDKs
211 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
212 * makefile.msc : updated
214 2007-12-07 Alexander Larsson <alexl@redhat.com>
216 * glocalfileenumerator.c (_g_local_file_enumerator_new):
217 Avoid warning spew if error == NULL
219 2007-12-07 Alexander Larsson <alexl@redhat.com>
222 Update docs wrt etags
224 2007-12-06 Alexander Larsson <alexl@redhat.com>
227 Include sys/types.h for dev_t (#501919)
229 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
233 Make abicheck and pltcheck pass.
235 2007-12-05 Alexander Larsson <alexl@redhat.com>
238 * giomodule-priv.h: Added.
239 * glocaldirectorymonitor.c:
240 * glocalfilemonitor.c:
241 * gunionvolumemonitor.c:
243 Actually add the declaration of _g_io_modules_ensure_loaded
245 2007-12-05 Alexander Larsson <alexl@redhat.com>
247 * gdatainputstream.c:
252 * glocaldirectorymonitor.c:
253 * glocalfilemonitor.c:
254 * gunionvolumemonitor.c:
256 Make g_io_modules_ensure_loaded a private function and
257 don't pass in the dirname. This means we can do magic
258 directory finding in the win32 version.
259 Export the actual load-modules-in-directory code so that
262 2007-12-05 Alexander Larsson <alexl@redhat.com>
264 * gbufferedinputstream.c:
265 * gbufferedoutputstream.c:
268 * gfileenumerator.[ch]:
269 * gfileinputstream.c:
270 * gfileoutputstream.[ch]:
271 * gfilterinputstream.c:
272 * gfilteroutputstream.c:
275 * glocalfileenumerator.c:
276 * glocalfileinputstream.c:
277 * glocalfileoutputstream.c:
278 * gmemoryinputstream.c:
279 * gmemoryoutputstream.c:
280 * goutputstream.[ch]:
283 * gunixinputstream.c:
284 * gunixoutputstream.c:
285 Rename all struct members named:
286 read, write, close, truncate, or mount
287 to foo_fn, as these are reserved names
288 and could be defined as macros in libc.
291 2007-12-04 Alexander Larsson <alexl@redhat.com>
294 (g_output_stream_close):
295 Only call flush if non-null.
297 2007-11-30 Dan Winship <danw@gnome.org>
299 * ginputstream.c (g_input_stream_set_pending): Make this take a
300 GError and return a gboolean, and do the "outstanding operation"
301 check (and the "stream is already closed" check) itself.
302 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
304 * goutputstream.c (g_output_stream_set_pending)
305 (g_output_stream_clear_pending): Likewise
307 * gbufferedinputstream.c:
308 * gfileinputstream.c:
309 * gfileoutputstream.c: Update for that
311 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
312 Like g_simple_async_report_error_in_idle, but takes a GError
313 rather than building one.
315 2007-11-30 Dan Winship <danw@gnome.org>
317 * goutputstream.c: Don't cheat and unset the "pending" flag around
318 inner calls. Instead, call the class method directly rather than
319 the wrapper function that checks "pending"
321 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
323 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
325 2007-12-03 Hans Breuer <hans@breuer.org>
327 [start of port to win32/msvc]
328 * gcancellable.c : HAVE_UNIST_H and _pipe()
329 * gcontenttype.c : only include <dirent.h> in the UNIX branch
330 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
331 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
333 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
334 * glocalvfs.c : use HAVE_PWD_H
335 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
336 * makefile.msc : new file (maybe later converted to makefile.msc.in)
337 * Makefile.am : added to EXTRA_DIST
339 2007-12-03 Matthias Clasen <mclasen@redhat.com>
341 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
344 2007-12-03 Alexander Larsson <alexl@redhat.com>
347 Handle OSX style xattrs API (#500506)
349 2007-12-03 Alexander Larsson <alexl@redhat.com>
353 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
355 2007-12-02 A. Walton <awalton@svn.gnome.org>
359 Documentation accuracy fixes.
361 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
363 * gioenumtypes.c.template: Fix typo.
365 2007-12-01 Matthias Clasen <mclasen@redhat.com>
367 * gioenumtypes.c.template: Make threadsafe get_type() functions.
369 2007-12-01 Matthias Clasen <mclasen@redhat.com>
371 * gdirectorymonitor.c:
372 * gfilemonitor.c: Add properties
374 * gbufferedoutputstream.c: Don't mark buffer-size property
377 2007-12-01 Matthias Clasen <mclasen@redhat.com>
379 * gbufferedoutputstream.c: Add auto-grow property.
381 2007-11-30 Matthias Clasen <mclasen@redhat.com>
383 * *.c: Unify the capitalization of section headings.
385 2007-11-30 Matthias Clasen <mclasen@redhat.com>
387 * gmountoperation.c: Add properties
389 * gdatainputstream.c: Turn byte-order and newline-type into
392 2007-11-30 Matthias Clasen <mclasen@redhat.com>
394 * gioenumtypes.[hc].template: Templates for enum registration
396 * Makefile.am: Generate gioenumtypes.[hc]
398 * gio.h: Include gioenumtypes.h
400 * gfile.h: Add some explicit nicks.
402 * gio.symbols: Add new symbols
404 * pltcheck.sh: Adjust
406 2007-11-30 Matthias Clasen <mclasen@redhat.com>
408 * *.c: Explain etags and link to the explanation
410 2007-11-29 Matthias Clasen <mclasen@redhat.com>
412 * *.c: Explain I/O priority.
414 * *.c: More coding style fixes.
416 2007-11-29 Matthias Clasen <mclasen@redhat.com>
418 * gasyncresult.c: Add another paragraph to the intro,
419 adjust coding style of example.
421 2007-11-29 A. Walton <awalton@svn.gnome.org>
424 Fixes unknown meaning in GAppLaunchContext docs.
426 Clarify asynchronous ops.
431 Provides missing gtk-doc section, fixes API docs slighly.
432 * gsimpleasyncresult.c:
433 Fill in missing info in docs.
434 * gunixinputstream.c:
435 * gunixoutputstream.c:
436 Be more expressive in short description.
438 Remove gtk-doc stubs for non-public API.
440 2007-11-28 Matthias Clasen <mclasen@redhat.com>
442 * *.c: Coding style fixups
444 2007-11-28 Matthias Clasen <mclasen@redhat.com>
446 * inotify/inotify-helper.c: Don't export the lock from libgio.
448 2007-11-28 Matthias Clasen <mclasen@redhat.com>
451 * abicheck.sh: Fix copy-and-paste leftovers
453 2007-11-28 Matthias Clasen <mclasen@redhat.com>
455 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
457 2007-11-28 Alexander Larsson <alexl@redhat.com>
461 Removed unnecessary file
463 * gdesktopappinfo.[ch]:
466 * glocaldirectorymonitor.[ch]:
468 * glocalfileenumerator.[ch]:
469 * glocalfileinputstream.[ch]:
470 * glocalfilemonitor.[ch]:
471 * glocalfileoutputstream.[ch]:
473 * gnativevolumemonitor.c:
474 * gpollfilemonitor.[ch]:
475 * gunionvolumemonitor.[ch]:
478 * gunixvolumemonitor.[ch]:
481 * inotify/ginotifydirectorymonitor.[ch]:
482 * inotify/ginotifyfilemonitor.[ch]:
483 * inotify/inotify-helper.c:
484 Append _ to all internal functions
488 Export symbols needed for modules
490 2007-11-28 Alexander Larsson <alexl@redhat.com>
493 * abicheck.sh: Added.
494 * makegioalias.pl: Added.
495 * pltcheck.sh: Added.
496 * gio.symbols: Added.
499 Initial work on adding symbol handling.
502 Correct ifdef guard name
505 * inotify/Makefile.am:
506 * xdgmime/Makefile.am:
507 Include toplevel Makefile.decl
509 2007-11-27 Matthias Clasen <mclasen@redhat.com>
511 * gcontenttype.c: Move doc comments to the unix section.
513 * *.[hc]: More trivial doc corrections.
515 2007-11-27 Matthias Clasen <mclasen@redhat.com>
517 * gpollfilemonitor.c:
526 * gdatainputstream.c:
527 * gdatainputstream.h:
528 * gdataoutputstream.c:
529 * gdataoutputstream.h:
530 * gfileinfo.h: Doc cleanups
532 2007-11-28 Andre Klapper <a9016009@gmx.de>
534 * gdesktopappinfo.c: Fix a typo.
536 2007-11-27 Andre Klapper <a9016009@gmx.de>
538 * glocalfileoutputstream.c: Fix a typo.
540 2007-11-27 Alexander Larsson <alexl@redhat.com>
543 Don't include removed headers
545 2007-11-27 Alexander Larsson <alexl@redhat.com>
548 * gsocketinputstream.[ch]: Removed.
549 * gsocketoutputstream.[ch]: Removed.
550 * gunixinputstream.[ch]: Added.
551 * gunixoutputstream.[ch]: Added.
552 Renamed GSocket*Stream to GUnix*Stream and made
553 it unix-only, since its not really only for sockets
554 and it only works on unix (but is highly useful there).
556 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
562 * gbufferedinputstream.c:
563 * gbufferedinputstream.h:
564 * gbufferedoutputstream.c:
565 * gbufferedoutputstream.h:
569 * gdatainputstream.c:
570 * gdatainputstream.h:
571 * gdataoutputstream.c:
572 * gdataoutputstream.h:
573 * gdirectorymonitor.c:
574 * gdirectorymonitor.h:
587 * gfileinputstream.c:
588 * gfileinputstream.h:
591 * gfilenamecompleter.c:
592 * gfilenamecompleter.h:
593 * gfileoutputstream.c:
594 * gfileoutputstream.h:
595 * gfilterinputstream.c:
596 * gfilterinputstream.h:
597 * gfilteroutputstream.c:
598 * gfilteroutputstream.h:
611 * glocalfileoutputstream.c:
612 * gmemoryinputstream.c:
613 * gmemoryinputstream.h:
614 * gmemoryoutputstream.c:
615 * gmemoryoutputstream.h:
620 * gpollfilemonitor.c:
623 * gsimpleasyncresult.c:
624 * gsimpleasyncresult.h:
625 * gsocketinputstream.c:
626 * gsocketinputstream.h:
627 * gsocketoutputstream.c:
628 * gsocketoutputstream.h:
635 * gunixvolumemonitor.c:
644 Bumps documentation to 93% symbol coverage, touching most
645 of the public files. Fixes broken function documentation prototypes.
646 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
647 gtk-doc headers in private files.
649 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
651 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
652 (g_buffered_input_stream_read_byte):
653 * gbufferedinputstream.h:
654 New functions for efficient access to buffer and simple single byte
657 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
658 (g_data_input_stream_read_until):
659 * gdatainputstream.h:
660 Use peek_buffer to avoid memcpy in scan_for_newline, implement
661 read_until with multiple stop chars.
663 2007-11-27 Alexander Larsson <alexl@redhat.com>
667 * inotify/Makefile.am:
668 Use the user-specified giomoduledir
670 2007-11-27 Alexander Larsson <alexl@redhat.com>
674 Add catch-all gio.h header
675 Don't install gdummyfile.h
677 2007-11-26 Alexander Larsson <alexl@redhat.com>
679 * Makefile.am (gioinclude_HEADERS):
680 Remove trailing whitespace
682 2007-11-26 Alexander Larsson <alexl@redhat.com>
684 Merge gio-standalone into glib
686 2007-11-25 Christian Kellner <gicmo@gnome.org>
688 * gio/goutputstream.c:
689 Fix small mistake in the docs.
691 2007-11-21 Christian Persch <chpe@gnome.org>
693 * gio/glocalfile.c: (g_local_file_trash):
694 Convert filenames to UTF-8 for GError.
695 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
696 as per xdg base dir spec.
698 2007-11-21 Christian Persch <chpe@gnome.org>
700 * gio/gdesktopappinfo.c:
701 Use that g_key_file_to_data cannot fail.
703 Use stock defines for the key file group and key names.
706 2007-11-21 Alexander Larsson <alexl@redhat.com>
709 (copy_stream_with_progress):
710 Make sure we do a final progress callback with
713 2007-11-21 Alexander Larsson <alexl@redhat.com>
716 Export g_file_copy_attributes
717 Remove padding as its not needed for interfaces
719 2007-11-20 Alexander Larsson <alexl@redhat.com>
724 Add G_IO_ERROR_WOULD_MERGE for
725 copy/move dir on dir with overwrite.
727 2007-11-20 Alexander Larsson <alexl@redhat.com>
730 * gio/glocalfileinfo.c:
731 Add COPY_NAME (this is an optional
732 non-modified utf8 version of the name) that
735 2007-11-20 Alexander Larsson <alexl@redhat.com>
737 * gio/glocalfileenumerator.c:
738 Report errors as GIOError, not GFileError
740 2007-11-16 Alexander Larsson <alexl@redhat.com>
742 * gio/glocalfileoutputstream.c:
743 * gio/gwin32appinfo.c:
744 Fix typos in strings.
745 Patch from Luca Ferretti <elle.uca@libero.it>
747 2007-11-15 Alexander Larsson <alexl@redhat.com>
750 Post release version bump
752 === gio-standalone 0.1.2 ===
754 2007-11-15 Alexander Larsson <alexl@redhat.com>
756 * docs/reference/gio/Makefile.am:
757 Fix up distcheck by removing weird
763 2007-11-14 Alexander Larsson <alexl@redhat.com>
765 * gio/gdesktopappinfo.c:
766 * gio/glocaldirectorymonitor.c:
768 * gio/glocalfileinfo.c:
769 * gio/inotify/inotify-sub.c:
770 * programs/gio-cat.c:
771 * programs/gio-copy.c:
772 * programs/gio-info.c:
774 * programs/gio-monitor-dir.c:
775 * programs/gio-monitor-file.c:
776 * programs/gio-mount.c:
777 * programs/gio-move.c:
779 * programs/gio-save.c:
780 * programs/gio-trash.c:
781 Leak fixes from Kjartan Maraas
783 2007-11-14 Alexander Larsson <alexl@redhat.com>
785 * gio/fam/fam-helper.c:
787 * gio/glocalfileinfo.c:
791 * gio/inotify/inotify-diag.c:
792 * gio/inotify/inotify-kernel.c:
793 Various code cleanups from Kjartan Maraas
795 2007-11-14 Alexander Larsson <alexl@redhat.com>
797 * gio/gioscheduler.c:
799 Set up threadpool so that we cache 2 unused
800 idle threads for at 15 secs. This means we
801 will reuse thread-local data (like dbus connections)
804 2007-11-14 Alexander Larsson <alexl@redhat.com>
806 * gio/fam/fam-helper.c:
807 * gio/fam/gfamdirectorymonitor.c:
808 * gio/fam/gfamfilemonitor.c:
810 * gio/gcontenttype.c:
811 * gio/gdatainputstream.c:
812 * gio/gdataoutputstream.c:
816 * gio/gfileattribute.h:
817 * gio/gfileenumerator.c:
819 * gio/ginputstream.c:
822 * gio/glocalfileinfo.c:
823 * gio/goutputstream.c:
824 * gio/gpollfilemonitor.c:
825 * gio/gsimpleasyncresult.c:
828 * gio/inotify/ginotifydirectorymonitor.c:
829 * gio/inotify/ginotifyfilemonitor.c:
830 * gio/inotify/inotify-diag.c:
831 * gio/inotify/inotify-kernel.c:
832 * gio/inotify/inotify-path.c:
834 * gio/test-streams.c:
835 * programs/gio-info.c:
836 * programs/gio-monitor-dir.c:
837 * programs/gio-monitor-file.c:
838 Various code cleanups from Kjartan Maraas
840 2007-11-13 Alexander Larsson <alexl@redhat.com>
843 Handle the uri-scheme calls for dummy files
845 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
847 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
848 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
849 to avoid clash with the C++ keyword.
851 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
853 * gio/glocalfileinfo.c: Build fix, added missing semicolon
854 to an ifdef'ed call to getpwuid() in lookup_uid_data().
856 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
858 * gio/glocaldirectorymonitor.c:
859 * gio/glocalfilemonitor.c:
860 * gio/gunionvolumemonitor.c:
861 Don't use g_once_init_*() for initializations that could fail and
862 could leave the initialization variable set to 0 but use GOnce.
863 This prevents a deadlock on the second call when trying to create
864 a monitor and no monitor type is available. Thanks to Sven Herzberg
867 2007-11-11 Sven Herzberg <sven@imendio.com>
869 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
870 #ifdef (make it work on MacOS X again)
872 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
874 Fixes Changelog for last two commits (sorry guys).
876 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
878 * gio/gbufferedinputstream.c:
879 * gio/gdatainputstream.c:
881 * gio/gfileoutputstream.c:
882 * gio/gfilterinputstream.c:
883 * gio/glocalfileinputstream.c:
886 More consistency fixes in g*stream.c files.
887 Significant clean of gfile's documentation, filling in of
888 asynchronous operations documentation.
890 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
892 * gio/gasyncresult.c:
893 * gio/gbufferedinputstream.c:
894 * gio/gbufferedoutputstream.c:
895 * gio/gcancellable.c:
896 * gio/gcontenttype.c:
897 * gio/gdatainputstream.c:
898 * gio/gdataoutputstream.c:
899 * gio/gdesktopappinfo.c:
902 * gio/gfileattribute.c:
903 * gio/gio/gfileenumerator.c:
905 * gio/gfileinputstream.c:
906 * gio/gfilemonitor.c:
907 * gio/gfileoutputstream.c:
908 * gio/ginputstream.c:
910 * gio/gioscheduler.c:
911 * gio/gloadableicon.c:
912 * gio/glocalfileoutputstream.c:
913 * gio/gmemoryoutputstream.c:
914 * gio/gmountoperation.c:
915 * gio/goutputstream.c:
917 * gio/gsimpleasyncresult.c:
918 * gio/gunionvolumemonitor.c:
924 * gio/gvolumemonitor.c:
925 Updated documentation stubs, working towards consistency and
928 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
930 * gio/gmemoryoutputstream.c:
931 * gio/gmemoryoutputstream.h:
932 Change g_memory_output_stream_set_free_on_close() to
933 g_memory_output_stream_set_free_data() as this makes more sense and
934 is more consistent with GMemoryInputStream.
936 2007-11-07 Alexander Larsson <alexl@redhat.com>
943 Change how we find the default vfs so that
944 we can handle a gvfs failing to init
946 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
948 * gio/gbufferedoutputstream.c:
949 * gio/gdatainputstream.c:
950 * gio/gdataoutputstream.c:
951 * gio/gfileinputstream.c:
952 * gio/gfileoutputstream.c:
953 * gio/gfilterinputstream.c:
954 * gio/gfilteroutputstream.c:
955 * gio/ginputstream.c:
956 * gio/gmemoryinputstream.c:
957 * gio/gmemoryoutputstream.c:
958 * gio/goutputstream.c:
959 * gio/gsimpleasyncresult.c:
960 * gio/gsocketinputstream.c:
961 * gio/gsocketoutputstream.c:
962 Add guards to the remaining public functions, add a TODO for
963 an unimplemented function and remove some useless guards.
965 2007-11-07 Alexander Larsson <alexl@redhat.com>
968 Autoconf checks for the various types of
969 getpwuid_r and getgrgid_r
971 * gio/glocalfileinfo.c:
972 Use the autoconf checks from above
974 2007-11-07 Alexander Larsson <alexl@redhat.com>
977 (g_local_file_query_filesystem_info):
978 Some fixes for the statvfs case
980 2007-11-07 Alexander Larsson <alexl@redhat.com>
983 (g_local_file_query_filesystem_info):
984 Pick the "best" of statfs / statvfs for the system
985 if both are availible.
987 2007-11-07 Alexander Larsson <alexl@redhat.com>
989 Solaris fixes from Halton.Huo@Sun.COM:
996 * gio/glocalfileinfo.c:
997 Fix for solaris definition of getpwuid_r
999 * gio/test-streams.c:
1000 Use G_GNUC_PRETTY_FUNCTION
1002 2007-11-07 Alexander Larsson <alexl@redhat.com>
1004 * gio/gdesktopappinfo.c:
1005 (update_default_list):
1006 Remove double semicolon.
1007 Patch from Jens Granseuer
1009 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1011 * docs/reference/gio/gio-sections.txt:
1012 * gio/gbufferedinputstream.c:
1013 * gio/gbufferedinputstream.h:
1014 * gio/gdatainputstream.c:
1015 * gio/gfileenumerator.c:
1016 * gio/gioscheduler.c:
1017 * gio/gunionvolumemonitor.c:
1019 * programs/gio-save.c:
1020 Fix typo: availible -> available. Unfortuntely this breaks API
1021 and ABI as g_buffered_input_stream_get_available() was renamed.
1023 * gio/gunixmounts.c:
1024 * gio/gbufferedinputstream.c:
1025 Add guards for public functions.
1027 2007-11-06 Ross Burton <ross@openedhand.com>
1029 * docs/reference/gio/Makefile.am:
1030 Fix invalid += usage which automake 1.10 doesn't like.
1032 2007-11-06 Alexander Larsson <alexl@redhat.com>
1035 (g_app_launch_context_class_init):
1038 Patch from Ross Burton
1040 2007-11-06 Alexander Larsson <alexl@redhat.com>
1043 Post release version bump
1045 === gio-standalone 0.1.1 ===
1047 2007-11-06 Alexander Larsson <alexl@redhat.com>
1050 Bump version to 0.1.1
1052 * gio/gsimpleasyncresult.c:
1053 (g_simple_async_result_set_from_error):
1054 Remove bogus g_return_if_fail
1056 2007-11-06 Alexander Larsson <alexl@redhat.com>
1059 The name is gio-standalone
1062 Add top src/builddir to includedir
1064 2007-11-06 Alexander Larsson <alexl@redhat.com>
1066 * docs/reference/gio/gio-sections.txt:
1068 * gio/gbufferedinputstream.c:
1069 * gio/gbufferedoutputstream.c:
1070 * gio/gcancellable.c:
1071 * gio/gdatainputstream.h:
1072 * gio/gdataoutputstream.c:
1073 * gio/gdataoutputstream.h:
1074 * gio/gdirectorymonitor.c:
1076 * gio/gfileattribute.c:
1077 * gio/gfileattribute.h:
1078 * gio/gfileenumerator.c:
1079 * gio/gfileenumerator.h:
1082 * gio/gfileinputstream.h:
1083 * gio/gfilemonitor.c:
1084 * gio/gfileoutputstream.h:
1085 * gio/glocalfilemonitor.h:
1086 * gio/glocalfileoutputstream.h:
1087 * gio/gmemoryinputstream.c:
1088 * gio/gmemoryoutputstream.c:
1089 * gio/gmountoperation.c:
1090 * gio/goutputstream.c:
1091 * gio/goutputstream.h:
1093 * gio/gsimpleasyncresult.c:
1094 * gio/gunixmounts.c:
1095 * gio/gunixmounts.h:
1097 * gio/inotify/inotify-helper.c:
1098 Fix gtk-doc warnings
1100 Patch from Ross Burton
1102 2007-11-06 Alexander Larsson <alexl@redhat.com>
1104 * gio/gfilenamecompleter.c:
1105 (g_filename_completer_get_completions):
1108 * gio/gunixvolume.c:
1109 Remove unused function
1111 Patches from Ross Burton
1113 2007-11-06 Alexander Larsson <alexl@redhat.com>
1118 Padding not needed for interfaces
1120 2007-11-06 Alexander Larsson <alexl@redhat.com>
1122 * gio/gfilemonitor.c:
1126 Make giotypes.h an internal file
1129 * gio/gbufferedinputstream.h:
1130 * gio/gbufferedoutputstream.h:
1131 * gio/gcancellable.h:
1132 * gio/gdatainputstream.h:
1133 * gio/gdataoutputstream.h:
1134 * gio/gdirectorymonitor.c:
1135 * gio/gdirectorymonitor.h:
1140 * gio/gfileattribute.h:
1141 * gio/gfileenumerator.h:
1146 * gio/gfilemonitor.c:
1147 * gio/gfilemonitor.h:
1148 * gio/gfilenamecompleter.c:
1149 * gio/gfilenamecompleter.h:
1150 * gio/gfilterinputstream.h:
1151 * gio/gfilteroutputstream.h:
1152 * gio/ginputstream.h:
1153 * gio/gmemoryinputstream.h:
1154 * gio/gmemoryoutputstream.h:
1155 * gio/gmountoperation.c:
1156 * gio/gmountoperation.h:
1157 * gio/gnativevolumemonitor.c:
1158 * gio/goutputstream.h:
1161 * gio/gsimpleasyncresult.c:
1162 * gio/gsimpleasyncresult.h:
1163 * gio/gsocketinputstream.h:
1164 * gio/gsocketoutputstream.h:
1165 * gio/gthemedicon.c:
1166 * gio/gthemedicon.h:
1170 * gio/gvolumemonitor.c:
1171 * gio/gvolumemonitor.h:
1172 Add padding in classes where it seems useful
1173 Don't include giotypes.h from public headers
1174 Move in Class definitions into c file where possible
1179 2007-11-06 Alexander Larsson <alexl@redhat.com>
1181 * docs/reference/gio/gio-docs.xml:
1182 Better structure for API docs
1184 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1187 * gio/gloadableicon.c:
1188 * gio/gsimpleasyncresult.c:
1189 * gio/gthemedicon.c:
1190 Add some more guards to public functions. Only files missing are now
1193 2007-11-06 Alexander Larsson <alexl@redhat.com>
1195 * docs/reference/gio/gio-docs.xml:
1196 Remove old files, add missing ones
1198 2007-11-06 Alexander Larsson <alexl@redhat.com>
1200 * docs/reference/gio/gio-sections.txt:
1203 Hide implementation classes
1205 * gio/gdriveprivate.h:
1206 * gio/gvolumeprivate.h:
1207 Remove non-existing function declarations
1209 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1212 Fix compilation warnings and add guards to the new functions.
1214 * gio/gasyncresult.c:
1216 Add guards to the public functions.
1219 Implement get_path().
1221 2007-11-06 Alexander Larsson <alexl@redhat.com>
1223 * gio/gfilenamecompleter.c:
1224 Make g_filename_completer_get_completions
1225 return char ** instead of GList for
1228 * docs/reference/gio/gio-docs.xml:
1229 * docs/reference/gio/gio-sections.txt:
1231 * gio/gasyncresult.c:
1232 * gio/gbufferedinputstream.c:
1233 * gio/gbufferedoutputstream.c:
1234 * gio/gcancellable.c:
1235 * gio/gcontenttype.c:
1236 * gio/gdatainputstream.c:
1237 * gio/gdataoutputstream.c:
1238 * gio/gdesktopappinfo.c:
1239 * gio/gdirectorymonitor.c:
1243 * gio/gfileattribute.c:
1244 * gio/gfileenumerator.c:
1247 * gio/gfileinputstream.c:
1248 * gio/gfilemonitor.c:
1249 * gio/gfilenamecompleter.c:
1250 * gio/gfilenamecompleter.h:
1251 * gio/gfileoutputstream.c:
1252 * gio/gfilterinputstream.c:
1254 * gio/ginputstream.c:
1256 * gio/gioscheduler.c:
1257 * gio/gloadableicon.c:
1258 * gio/glocaldirectorymonitor.c:
1260 * gio/glocalfileinputstream.c:
1261 * gio/glocalfilemonitor.c:
1262 * gio/glocalfileoutputstream.c:
1264 * gio/gmemoryinputstream.c:
1265 * gio/gmemoryoutputstream.c:
1266 * gio/gmountoperation.c:
1267 * gio/goutputstream.c:
1268 * gio/gpollfilemonitor.c:
1270 * gio/gsimpleasyncresult.c:
1271 * gio/gsocketinputstream.c:
1272 * gio/gsocketoutputstream.c:
1273 * gio/gthemedicon.c:
1274 * gio/gunionvolumemonitor.c:
1276 * gio/gunixmounts.c:
1277 * gio/gunixvolume.c:
1278 * gio/gunixvolumemonitor.c:
1282 * gio/gvolumemonitor.c:
1283 * gio/gwin32appinfo.c:
1284 Add (mostly stub) doc strings to public functions.
1285 Patch from Andrew Walton (awalton@gmail.com)
1287 2007-11-06 Alexander Larsson <alexl@redhat.com>
1289 * gio/gappinfo.[ch]:
1290 Added GAppLaunchContext object and pass that to launch.
1291 This allows simple implementation of both
1292 launch-on-screen and startup notification via a gtk+
1293 subclass of GAppLaunchContext
1295 * gio/gdesktopappinfo.c:
1296 Implement GAppLaunchContext API
1298 * gio/gwin32appinfo.c:
1301 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1303 * gio/gmountoperation.c:
1304 Add some guards to GMountOperation's public functions.
1306 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1310 * gio/gcancellable.c:
1311 * gio/gdirectorymonitor.c:
1313 * gio/gfileenumerator.c:
1314 * gio/gfilemonitor.c:,
1315 * gio/gfilenamecompleter.c:
1318 * gio/gioscheduler.c:
1322 * gio/gvolumemonitor.c:
1323 Add even more guards to various public functions.
1325 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1328 Add guards to the public functions of GAppInfo.
1330 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1332 * gio/gcontenttype.c:
1333 Add some more guards for public functions.
1335 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1337 * gio/fam/fam-module.c:
1338 * gio/fam/gfamdirectorymonitor.c:
1339 * gio/fam/gfamdirectorymonitor.h:
1340 * gio/fam/gfamfilemonitor.c:
1341 * gio/fam/gfamfilemonitor.h:
1342 * gio/inotify/ginotifydirectorymonitor.c:
1343 * gio/inotify/ginotifydirectorymonitor.h:
1344 * gio/inotify/ginotifyfilemonitor.c:
1345 * gio/inotify/ginotifyfilemonitor.h:
1346 Add proper copyright information and remove an unused variable
1347 in the GInotifyFileMonitor constructor.
1349 * gio/gcancellable.c:
1350 Add a guard for a public function and an assertion to prevent
1351 an undefined program state.
1353 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1355 * gio/gfileattribute.c:
1356 Don't run into an assertion if the given attribute value is NULL
1357 in g_file_attribute_value_get_*() but instead return a fallback
1358 value that makes sense in most situations. Passing them a attribute
1359 value with the wrong type will still run into an assertion.
1361 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1363 * gio/gfileattribute.c:
1365 Add even more guards to the public functions. Also fix the refcounting
1366 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1367 let g_file_info_list_attributes() filter the attributes by namespace
1368 instead of simply ignoring the namespace parameter.
1370 2007-11-03 Sven Herzberg <sven@imendio.com>
1372 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1373 (This makes gio work on MacOS X again)
1375 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1378 Build the gio subdirectory before the docs. Otherwise the build will
1381 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1382 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1383 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1384 Add guards to the public functions.
1386 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1388 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1389 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1390 to prevent a compiler warning.
1392 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1393 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1394 return something in the non-void function find_topdir_for().
1396 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1403 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1405 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1406 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1407 * gwin32appinfo.c (g_win32_app_info_launch):
1408 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1409 envp_for_startup_id, g_desktop_app_info_launch,
1410 g_desktop_app_info_launch_uris):
1412 Give an opaque 'startup_id' string instead of 'envp'.
1413 Support empty file lists for launching new windows.
1414 Fix infinite recursion bug when launching URIs.
1416 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1419 Add guard to the new g_file_get_uri_scheme() function.
1421 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1424 Convert a g_return_val_if_fail() to setting the GError instead as
1425 otherwise applications have to verify the parameter before otherwise
1426 and the parameter might come directly from the user.
1428 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1430 * gio/inotify/ginotify*.[ch]:
1431 Add missing copyright information.
1433 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1436 Add guards in the beginning of public functions to check for valid
1437 parameters and fix a bug in copy_stream_with_progress() that could've
1438 caused writing less bytes than reading.
1439 * gio/glocalfileinfo.c:
1440 Check for a NULL parameter and set the GError accordingly then.
1441 * gio/goutputstream.c:
1442 Fix the same bug as in gfile.c that could've caused writing less bytes
1443 than reading in g_output_stream_real_splice().
1445 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1448 Use the correct gvolumeprivate.h naming
1450 2007-11-01 Christian Kellner <gicmo@gnome.org>
1453 Remove leftover "$(daemon_sources)" entry.
1455 2007-11-01 Christian Kellner <gicmo@gnome.org>
1460 Add copyright information to source files.
1462 2007-11-01 Alexander Larsson <alexl@redhat.com>
1466 Add g_file_get_uri_scheme
1468 2007-11-01 Alexander Larsson <alexl@redhat.com>
1471 * gio/gdesktopappinfo.c:
1472 * gio/gwin32appinfo.c:
1473 Add g_app_info_get_default_for_uri_scheme.
1475 2007-11-01 Alexander Larsson <alexl@redhat.com>
1478 Correct filename for gdriveprivate.h
1480 2007-10-31 Alexander Larsson <alexl@redhat.com>
1483 Rename id:value to id:file
1486 * gio/glocalfileinfo.c:
1489 2007-10-31 Alexander Larsson <alexl@redhat.com>
1491 * gio/gunixvolume.c:
1493 Remove g_volume_get_platform_id, as thats not
1494 needed with the simpler union volume monitor
1496 2007-10-31 Alexander Larsson <alexl@redhat.com>
1499 * gio/guniondrive.[ch]: Removed.
1500 * gio/gunionvolume.[ch]: Removed.
1501 Remove GUnionDrive/Volume
1503 * gio/gunionvolumemonitor.c:
1504 Simplify union volume monitor, now we
1505 only have one native volume monitor and
1506 we use the actual volumes/drives from the
1507 child monitors instead of wrapping them
1509 * gio/gnativevolumemonitor.[ch]:
1510 Base class for native volume monitors.
1511 Includes priority and get_volume_for_mountpoint
1514 Add g_file_find_enclosing_volume
1517 Remove volume name fs attribute
1518 Add readonly fs attribute
1521 Implement readonly attribute
1522 remove volume name attribute
1523 Implement find_enclosing volume
1525 * gio/gunixmounts.c:
1526 Add a volume for "/".
1528 * gio/gunixvolume.[ch]:
1529 Set better name for /
1531 * gio/gunixvolumemonitor.[ch]:
1532 Derive from GNativeVolumeMonitor
1533 Implement get_volume_for_mountpoint
1536 GVolume typedef moved to gfile.h
1538 * gio/gvolumeprivate.h:
1539 Add g_volume_get_for_mount_path
1541 2007-10-31 Alexander Larsson <alexl@redhat.com>
1543 * gio/gunixmounts.[ch]:
1544 Add cache info to unix mount listers
1545 Make getmntent use threadsafe
1546 Add is_system_internal attribute for GUnixMount
1548 * gio/gunixvolume.c:
1549 (g_unix_volume_new):
1550 Use is_system_internal instead of own code
1552 * gio/glocaldirectorymonitor.c:
1553 * gio/gunixvolumemonitor.c:
1554 Update to new gunixmounts API
1559 2007-10-30 Alexander Larsson <alexl@redhat.com>
1562 Add volume name fsinfo attribute
1565 Read volume name info
1567 * gio/gunionvolumemonitor.c:
1568 Fix infinite loops when finalizing a union volume monitor
1570 2007-10-30 Alexander Larsson <alexl@redhat.com>
1572 * gio/goutputstream.[ch]:
1573 Add splice() with default implementation
1575 * gio/gsocketoutputstream.c:
1576 (g_socket_output_stream_write):
1577 Return error on cancellation correctly.
1579 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1581 * gio/glocalfile.c (g_local_file_trash):
1582 Do not leak a string.
1584 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1586 * gio/gfile.c (g_file_load_contents):
1587 Unref the stream after closing it.
1589 2007-10-25 Alexander Larsson <alexl@redhat.com>
1591 * gio/gioscheduler.h:
1594 2007-10-25 Alexander Larsson <alexl@redhat.com>
1598 Add g_file_has_uri_scheme and implement for local files
1600 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1602 * gio/gdesktopappinfo.c: do not leak a string.
1604 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1606 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1607 (g_local_directory_monitor_new):
1608 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1609 (g_local_file_monitor_new):
1610 Only look for the monitor type that should be used the first time
1611 and use g_qsort_with_data() instead of our own bubble sort
1614 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1617 * gio/fam/Makefile.am:
1618 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1619 * gio/fam/fam-helper.h:
1620 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1621 * gio/fam/gfamdirectorymonitor.c:
1622 * gio/fam/gfamdirectorymonitor.h:
1623 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1624 * gio/fam/gfamfilemonitor.h:
1625 * gio/glocaldirectorymonitor.c:
1626 * gio/glocaldirectorymonitor.h:
1627 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1628 * gio/glocalfilemonitor.h:
1629 * gio/inotify/Makefile.am:
1630 * gio/inotify/ginotifydirectorymonitor.c:
1631 * gio/inotify/ginotifydirectorymonitor.h:
1632 * gio/inotify/ginotifyfilemonitor.c:
1633 * gio/inotify/ginotifyfilemonitor.h:
1634 Implement the FAM and Inotify monitors as
1635 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1636 their own GIO module. GLocal(Directory|File)Monitor will use the
1637 monitor with the highest rank that is supported on that machine.
1639 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1642 Change GIO module dir to $(libdir)/gio/modules and change
1643 the log domain from GVFS to GIO. Also only export symbols starting
1644 with g_ in the resulting library.
1645 * gio/test-streams.c: (main):
1646 Set log handler for the GIO log domain.
1648 2007-10-22 Alexander Larsson <alexl@redhat.com>
1650 * gio/gfilenamecompleter.[ch]:
1651 Add g_filename_completer_set_dirs_only
1653 2007-10-22 Alexander Larsson <alexl@redhat.com>
1656 * gio/gurifuncs.[ch]:
1657 Add some simple URI helpers
1659 * gio/gfilenamecompleter.[ch]:
1660 Added object for filename (parse name actually) completion
1663 Handle ~ in parse names
1665 2007-10-17 Alexander Larsson <alexl@redhat.com>
1668 * gio/glocalfileinfo.c:
1669 Add and implement id:value attribute
1671 2007-10-17 Alexander Larsson <alexl@redhat.com>
1674 * gio/guniondrive.c:
1676 Add and implement g_drive_has_volumes
1678 2007-10-17 Alexander Larsson <alexl@redhat.com>
1681 * gio/glocalfileinfo.[ch]:
1682 Add unix:is_mountpoint and implement for local files
1684 2007-10-16 Alexander Larsson <alexl@redhat.com>
1686 * gio/gunionvolumemonitor.c:
1687 (g_union_volume_monitor_init):
1688 Fix up the unix type getting so that it works with gcc
1690 2007-10-12 Alexander Larsson <alexl@redhat.com>
1693 * gio/glocalfileinfo.c:
1694 Add thumbnail:failed to file info
1696 2007-10-12 Richard Hult <richard@imendio.com>
1698 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1699 optimizing away the get_type call (happens with some gcc versions,
1700 like the one shipped with OS X 10.4).
1702 2007-10-12 Alexander Larsson <alexl@redhat.com>
1704 * gio/glocalfileinfo.c:
1705 (_g_local_file_info_set_attribute):
1706 Fix build if not HAVE_XATTR
1707 Patch from Milosz Derezynski <internalerror@gmail.com>
1709 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1711 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1712 around for review, otherwise I would have asked you before
1715 2007-10-11 Alexander Larsson <alexl@redhat.com>
1718 Add thumbnail:path attribute
1720 * gio/glocalfileinfo.c:
1721 Implement thumbnail:path for local files
1723 2007-10-11 Alexander Larsson <alexl@redhat.com>
1725 * gio/glocalfileinfo.c:
1726 (_g_local_file_info_get):
1727 Avoid duplicate icon names
1729 2007-10-11 Alexander Larsson <alexl@redhat.com>
1731 * gio/gthemedicon.[ch]:
1732 Change g_themed_icon_get_names return type to const
1734 2007-10-10 Alexander Larsson <alexl@redhat.com>
1736 * gio/glocalfileinfo.c:
1737 Don't reference freed memory
1739 2007-10-10 Alexander Larsson <alexl@redhat.com>
1741 * gio/gfileattribute.c:
1744 * gio/glocalfileinfo.c:
1747 2007-10-10 Alexander Larsson <alexl@redhat.com>
1750 Check for NULL icons
1752 * gio/gfileattribute.c:
1753 Don't dup when getting objects (same as for string attributes)
1755 * gio/gicon.c (g_icon_equal):
1756 Safely handle NULLs in equal
1758 2007-10-10 Alexander Larsson <alexl@redhat.com>
1761 Fix c++ compilation issues
1762 Patch from Milosz Derezynski <internalerror@gmail.com>
1764 2007-10-10 Alexander Larsson <alexl@redhat.com>
1766 * programs/gio-monitor-dir.c:
1767 Don't crash if dir monitor not supported.
1769 2007-10-09 Alexander Larsson <alexl@redhat.com>
1772 Add missing G_END_DECLS
1774 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1776 * gio/gfile.c: (g_file_set_display_name),
1777 (g_file_query_settable_attributes),
1778 (g_file_query_writable_namespaces):
1779 Return NULL not FALSE on errors as the return type is a pointer.
1781 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1783 * gio/glocalfile.c: (g_local_file_monitor_file):
1784 Don't call monitor_file on the default interface vtable (which
1785 is NULL) but simply return NULL. The caller, GFile, will create a
1786 polling monitor if NULL is returned.
1788 2007-10-09 Alexander Larsson <alexl@redhat.com>
1792 * gio-unix-2.0.pc.in:
1793 Add gio-unix-2.0.pc if OS_UNIX
1796 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1798 2007-10-09 Alexander Larsson <alexl@redhat.com>
1800 * gio/gunixmounts.[ch]:
1801 Make unix mount monitoring API sane.
1802 Now its just a object with mounts_changed
1803 and mountpoints_changed signals.
1805 * gio/glocaldirectorymonitor.c:
1806 * gio/gunixvolumemonitor.c:
1807 Use new mount monitor api
1809 2007-10-09 Alexander Larsson <alexl@redhat.com>
1811 * gio/gunixmounts.[ch]:
1812 Move guess type into one call for mounts and one for mountpoints
1815 * gio/gunixvolume.c:
1818 2007-10-09 Alexander Larsson <alexl@redhat.com>
1820 * gio/gunixmounts.[ch]:
1821 Remove _ prefix in preparation to make this semi-public
1822 Hide implementation of structs
1824 * gio/glocaldirectorymonitor.c:
1826 * gio/gunixvolume.c:
1827 * gio/gunixvolumemonitor.c:
1828 Update for above API changes
1830 2007-10-08 Alexander Larsson <alexl@redhat.com>
1833 Better polling fallback. This also handles the case where we have
1834 a monitor_file implementation, but it fails.
1836 2007-10-08 Alexander Larsson <alexl@redhat.com>
1840 * gio/gunixmounts.c:
1841 * programs/gio-monitor-dir.c:
1842 * programs/gio-monitor-file.c:
1843 Added cancellable to file monitoring calls.
1844 These are really sync calls and need this.
1846 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1848 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1849 (g_local_vfs_class_init):
1850 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1851 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1853 2007-10-05 Alexander Larsson <alexl@redhat.com>
1855 * gio/gdirectorymonitorprivate.h:
1856 * gio/gfilemonitorprivate.h:
1857 * gio/gdirectorymonitor.h:
1858 * gio/gfilemonitor.h:
1859 Remove *private.h and move to the public API, so that
1860 we can do implementations outside gio (such as in gvfs)
1862 * gio/gdirectorymonitor.c:
1863 * gio/gfilemonitor.c:
1864 * gio/glocaldirectorymonitor.c:
1865 * gio/gpollfilemonitor.c:
1866 * gio/inotify/inotify-helper.c:
1867 * gio/fam/fam-helper.c:
1868 Update to the new header names
1870 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1872 * gio/gdirectorymonitor.c:
1873 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1876 2007-10-04 Alexander Larsson <alexl@redhat.com>
1878 * gio/glocalfileinfo.c (get_access_rights):
1879 Set CAN_TRASH when we can move the file.
1880 We should really also check for a parent trash dir.
1882 2007-10-04 Alexander Larsson <alexl@redhat.com>
1884 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1885 Add can_trash access attribute
1887 2007-10-04 Alexander Larsson <alexl@redhat.com>
1890 (g_local_file_trash):
1891 Create info file first. This is per-spec and allows
1892 us to actually trash directories.
1894 2007-10-02 Alexander Larsson <alexl@redhat.com>
1896 * gio/gdesktopappinfo.c:
1897 Implement the new mime support code.
1898 Always set app as handling mimetype when being set as default for it
1900 2007-10-01 Alexander Larsson <alexl@redhat.com>
1902 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1903 Fix up check for xattrs:
1905 2007-10-01 Alexander Larsson <alexl@redhat.com>
1908 (g_app_info_set_as_default_for_extension):
1909 (g_app_info_add_supports_type):
1910 (g_app_info_can_remove_supports_type):
1911 (g_app_info_remove_supports_type):
1912 Make these fail nicely if not implemented
1914 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1916 * gio/glocalfileoutputstream.c:
1917 * gio/glocalfileoutputstream.h:
1922 * programs/gio-save.c:
1923 Add a GFileCreateFlags argument to operations that can create
1926 2007-10-01 Alexander Larsson <alexl@redhat.com>
1928 * gio/gappinfo.[ch]:
1929 * gio/gdesktopappinfo.c:
1930 Add more (stubbed out) mime API needed for nautilus
1932 2007-10-01 Alexander Larsson <alexl@redhat.com>
1935 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1936 Add g_app_info_set_as_default_for_extension.
1938 * gio/gdesktopappinfo.c:
1939 Dummy for g_app_info_set_as_default_for_extension
1940 Support flags in g_app_info_create_from_commandline
1942 * gio/gwin32appinfo.c:
1944 Update for API changes
1946 * gio/gthemedicon.c:
1947 Properly NULL-terminate list of icon names
1949 2007-09-28 Alexander Larsson <alexl@redhat.com>
1951 * gio/gloadableicon.h:
1952 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1954 2007-09-28 Alexander Larsson <alexl@redhat.com>
1957 Install headers in $includedir/gio-standalone/
1959 * gio-2.0.pc.in: Added.
1960 * gio-standalone.pc.in: Removed.
1963 Renamed pkg-config file to match glib (for future move)
1964 Update to the new include dir
1967 Add more TODO comments
1969 2007-09-28 Alexander Larsson <alexl@redhat.com>
1971 * gio/gdesktopappinfo.[ch]:
1972 Expose new_from_filename
1973 Add getter for is_hidden and handle it better
1975 2007-09-28 Alexander Larsson <alexl@redhat.com>
1977 * gio/gfileinfo.[ch]:
1978 Rename g_file_size_format_for_display to
1979 g_format_file_size_for_display.
1980 Now it doesn't have the g_file prefix, so we
1981 can later move it to glib.
1983 2007-09-28 Alexander Larsson <alexl@redhat.com>
1985 * gio/gappinfo.[ch]:
1986 Add g_app_info_get_id and g_app_info_get_executable.
1987 Make all getters non-reffing
1988 Make g_app_info_launch take GFile arguments.
1989 Add must_support_uris argument to g_app_info_get_default_for_type.
1991 * gio/gwin32appinfo.c:
1992 Update to GAppInfo api changes
1994 * gio/gdesktopappinfo.c:
1995 Update to GAppInfo api changes
1996 Implement supports_xdg_startup_notify
1998 * gio/gfileicon.c (g_file_icon_get_file):
1999 Make getter non-reffing.
2004 2007-09-27 Alexander Larsson <alexl@redhat.com>
2006 * gio/gfileinfo.[ch]:
2007 Add g_file_size_format_for_display helper
2009 2007-09-27 Alexander Larsson <alexl@redhat.com>
2011 * gio/glocalfileinfo.c:
2012 Set UNIX_GID from gid, not from uid
2014 2007-09-27 Alexander Larsson <alexl@redhat.com>
2017 Add g_file_set_attributes_async
2019 2007-09-27 Alexander Larsson <alexl@redhat.com>
2021 * gio/glocalfile.c (g_local_file_set_display_name):
2022 Fix set_display_name to actually rename to the right place.
2023 Use lstat to look for existing files so we don't overwrite
2026 2007-09-26 Alexander Larsson <alexl@redhat.com>
2029 Add g_file_set_display_name_async()
2031 2007-09-26 Alexander Larsson <alexl@redhat.com>
2034 Add load_partial_contents async calls
2037 Make internal function static
2039 2007-09-26 Alexander Larsson <alexl@redhat.com>
2041 * gio/glocalfileinfo.c:
2042 Correctly detect broken symlinks
2044 2007-09-26 Alexander Larsson <alexl@redhat.com>
2046 * gio/gcancellable.c (g_cancellable_cancel):
2047 Allow cancel on NULL cancellable
2049 2007-09-25 Alexander Larsson <alexl@redhat.com>
2051 * gio/gsimpleasyncresult.c:
2052 Don't allocate g_error manually.
2053 Fixes g_slice/g_new mixup crash
2055 2007-09-25 Alexander Larsson <alexl@redhat.com>
2057 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2058 Actually set active_backend.
2059 This means the monitor will be cancelled correctly.
2061 2007-09-25 Alexander Larsson <alexl@redhat.com>
2063 * gio/gdirectorymonitor.c:
2064 Set timeout to NULL when destroying
2066 2007-09-25 Alexander Larsson <alexl@redhat.com>
2069 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2070 that is a better description of the error.
2072 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2074 * gio/gvfs.c: (g_vfs_get_local):
2075 Make the local vfs variable static. The same instance should
2078 2007-09-24 Alexander Larsson <alexl@redhat.com>
2080 * gio/glocalfileinfo.c:
2081 Pass in actual length read into sniffer, not the length
2084 2007-09-21 Alexander Larsson <alexl@redhat.com>
2086 * gio/gfileenumerator.c:
2089 * gio/gfileinputstream.c:
2090 * gio/gfileoutputstream.c:
2091 * gio/ginputstream.c:
2092 * gio/goutputstream.c:
2093 Don't crash if async callbacks are NULL
2095 2007-09-20 Alexander Larsson <alexl@redhat.com>
2098 Add async enumerate_children method and default
2101 2007-09-20 Alexander Larsson <alexl@redhat.com>
2104 Add g_file_contains_file & g_file_get_relative_path, since they
2105 were needed for nautilus.
2106 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2111 Implement new methods
2113 2007-09-17 Alexander Larsson <alexl@redhat.com>
2116 * gio/gfileinputstream.[ch]:
2117 * gio/gfileoutputstream.[ch]:
2119 * gio/glocalfileenumerator.[ch]:
2120 * gio/glocalfileinfo.[ch]:
2121 * gio/glocalfileinputstream.c:
2122 * gio/glocalfileoutputstream.c:
2123 * gio/gpollfilemonitor.c:
2124 * programs/gio-copy.c:
2125 * programs/gio-info.c:
2126 * programs/gio-move.c:
2127 Rename get_file_info to query_info() to make it clearer
2128 that these are not simple getters, but do i/o.
2130 2007-09-17 Alexander Larsson <alexl@redhat.com>
2132 * gio/gdatainputstream.[ch]:
2133 * gio/test-streams.c:
2134 Use _read_XXX instead of _get_XXX for the i/o calls
2137 2007-09-17 Alexander Larsson <alexl@redhat.com>
2140 Added needed stuff to TODO comment
2142 2007-09-17 Alexander Larsson <alexl@redhat.com>
2144 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2145 Don't error out removing the backup copy if it doesn't
2148 2007-09-14 Alexander Larsson <alexl@redhat.com>
2150 * programs/Makefile.am:
2151 * programs/gvfs-*.c:
2153 Renamed apps from gvfs-xxx to gio-xxx.
2155 2007-09-14 Alexander Larsson <alexl@redhat.com>
2158 * gio/gfileoutputstream.[ch]:
2159 * gio/glocalfileoutputstream.c:
2160 * programs/gvfs-save.c:
2161 g_file_output_stream_get_etag doesn't do i/o, so remove
2162 cancellation and error.
2164 2007-09-14 Alexander Larsson <alexl@redhat.com>
2167 Add new_etag output to replace_contents functions
2169 2007-09-14 Alexander Larsson <alexl@redhat.com>
2171 * gio/gfileoutputstream.[ch]:
2172 Add async get_file_info and default implementation
2174 2007-09-14 Alexander Larsson <alexl@redhat.com>
2176 * gio/gfileinputstream.c:
2177 Implement fallback wrapper for async get_file_info
2179 2007-09-14 Alexander Larsson <alexl@redhat.com>
2182 Add etag out argument to load_contents
2187 2007-09-14 Alexander Larsson <alexl@redhat.com>
2189 * gio/gcontenttype.c (looks_like_text):
2190 Whitespace like tab, cr and lf do not make the
2193 2007-09-14 Alexander Larsson <alexl@redhat.com>
2195 * gio/gfileinputstream.[ch]:
2196 Add async get_file_info.
2198 2007-09-13 Alexander Larsson <alexl@redhat.com>
2200 * gio/goutputstream.c (g_output_stream_write_all):
2201 Allow NULL for bytes_written
2203 2007-09-13 Alexander Larsson <alexl@redhat.com>
2205 * gio/gmemoryinputstream.[ch]:
2206 Add accessors for data
2208 2007-09-13 Alexander Larsson <alexl@redhat.com>
2210 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2211 Don't crash if length is NULL