1 2007-12-14 Alexander Larsson <alexl@redhat.com>
7 * gbufferedinputstream.h:
8 * gbufferedoutputstream.h:
12 * gdataoutputstream.h:
14 * gdirectorymonitor.h:
23 * gfilenamecompleter.h:
24 * gfileoutputstream.h:
25 * gfilterinputstream.h:
26 * gfilteroutputstream.h:
34 * gmemoryinputstream.h:
35 * gmemoryoutputstream.h:
40 * gsimpleasyncresult.h:
44 * gunixoutputstream.h:
48 * inotify/Makefile.am:
49 Only allow including <gio/gio.h> from apps
51 2007-12-14 Alexander Larsson <alexl@redhat.com>
54 * gsimpleasyncresult.c:
55 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
56 Split out the send_to_mainloop call into two versions instead
57 of having the block argument.
59 2007-12-13 Alexander Larsson <alexl@redhat.com>
63 * gbufferedinputstream.c:
66 * gfileoutputstream.c:
70 g_push/pop_current_cancellable ->
71 g_cancellable_push/pop_current
73 2007-12-13 Alexander Larsson <alexl@redhat.com>
77 Rename g_mount_for_location to g_file_mount_enclosing_volume.
79 2007-12-13 Alexander Larsson <alexl@redhat.com>
82 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
84 2007-12-12 Alexander Larsson <alexl@redhat.com>
87 Fix race condition when freeing proxy in
88 g_io_job_send_to_mainloop().
90 2007-12-12 Alexander Larsson <alexl@redhat.com>
96 Make attribute namespace separator "::" instead of ":".
97 Use - instead of _ as separator in attribute names.
99 2007-12-12 Alexander Larsson <alexl@redhat.com>
101 * gbufferedinputstream.h:
102 * gbufferedoutputstream.h:
103 * gdatainputstream.h:
104 * gdataoutputstream.h:
105 * gdirectorymonitor.h:
107 * gfileinputstream.h:
109 * gfileoutputstream.h:
110 * gfilterinputstream.h:
111 * gfilteroutputstream.h:
113 * glocalfileinputstream.h:
114 * glocalfileoutputstream.h:
115 * gmemoryinputstream.h:
116 * gmemoryoutputstream.h:
117 * gnativevolumemonitor.h:
119 * gunixinputstream.h:
120 * gunixoutputstream.h:
123 s/parent/parent_instance/ in GObjects
125 2007-12-12 Alexander Larsson <alexl@redhat.com>
130 No need for padding for interfaces
132 2007-12-12 Alexander Larsson <alexl@redhat.com>
136 * gbufferedinputstream.c:
137 * gbufferedoutputstream.c:
140 * gdatainputstream.[ch]:
142 * gdirectorymonitor.c:
144 * gfileattribute.[ch]:
147 * gfileinputstream.h:
149 * gfileoutputstream.[ch]:
150 * gfilterinputstream.h:
151 * gfilteroutputstream.h:
154 * gloadableicon.[ch]:
155 * gmemoryinputstream.c:
158 Fix up a bunch of details in the docs.
163 2007-12-11 David Zeuthen <davidz@redhat.com>
165 Rework how volumes, drives and volume monitoring is
166 done. Previosly the model was
170 where a GDrive instance represented a mount point and a GVolume
171 instance represented a mounted file system. This patch changes it
174 GDrive <1-N> GVolume <1-1> GMount
176 where GMount now serves the purpose of the old GVolume and the new
177 GVolume serves the purpose of the old GDrive. In addition the new
178 GDrive interface is used to represent a collection of GVolume
179 instances (typically partitions) and also contains utility to query
180 the state of the physical drive the GDrive object represents (such
181 as checking for media, polling the drive, ejecting the media etc.).
183 Also implement mounting and unmounting in the Unix volume monitor
184 backend. A subquent patch will introduce GDrive support for ejection
188 * gdrive.c: (g_drive_is_media_check_automatic),
189 (g_drive_is_media_removable), (g_drive_has_media),
190 (g_drive_can_poll_for_media), (g_drive_eject),
191 (g_drive_eject_finish), (g_drive_poll_for_media),
192 (g_drive_poll_for_media_finish):
194 * gfile.c: (g_file_find_enclosing_mount):
197 * glocaldirectorymonitor.c:
198 (g_local_directory_monitor_constructor), (mounts_changed):
199 * glocalfile.c: (get_mount_info),
200 (g_local_file_find_enclosing_mount),
201 (g_local_file_file_iface_init):
202 * gnativevolumemonitor.h:
203 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
204 (get_connected_drives), (g_union_volume_monitor_class_init),
205 (child_volume_added), (child_volume_removed),
206 (child_volume_changed), (child_mount_added), (child_mount_removed),
207 (child_mount_pre_unmount), (child_mount_changed),
208 (child_drive_changed), (g_union_volume_monitor_add_monitor),
209 (g_union_volume_monitor_remove_monitor),
210 (_g_mount_get_for_mount_path):
211 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
212 (guess_system_internal), (_g_get_unix_mounts),
213 (_g_get_unix_mount_points), (g_get_unix_mount_at),
214 (g_unix_mount_free), (g_unix_mount_compare),
215 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
216 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
217 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
218 (type_to_icon), (g_unix_mount_guess_name),
219 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
220 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
221 (_resolve_symlink), (_resolve_dev_root):
223 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
224 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
225 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
226 (g_unix_volume_get_name), (g_unix_volume_can_mount),
227 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
228 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
229 (g_unix_volume_mount), (g_unix_volume_mount_finish),
230 (g_unix_volume_volume_iface_init):
232 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
233 (get_mounts), (get_volumes), (get_connected_drives),
234 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
235 (mountpoints_changed), (mounts_changed),
236 (g_unix_volume_monitor_init),
237 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
238 (find_mount_by_mountpath), (update_volumes), (update_mounts):
239 * gunixvolumemonitor.h:
240 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
241 (g_volume_mount), (g_volume_mount_finish):
243 * gvolumemonitor.c: (g_volume_monitor_class_init),
244 (g_volume_monitor_get_connected_drives),
245 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
248 2007-12-10 Matthias Clasen <mclasen@redhat.com>
250 * gmountoperation.h (GPasswordFlags): Close the gap
252 2007-12-10 Matthias Clasen <mclasen@redhat.com>
254 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
256 * gdesktopappinfo.[hc]: Remove _-prefixes
258 2007-12-10 Tor Lillqvist <tml@novell.com>
260 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
263 2007-12-10 Alexander Larsson <alexl@redhat.com>
265 * gfile.c (g_file_set_display_name):
266 Don't hardcode '/' (#502727)
268 2007-12-09 Hans Breuer <hans@breuer.org>
270 * makefile.msc : follow lib naming convention
271 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
272 for user and group name, tested with ../tests/gio-ls
274 2007-12-09 A. Walton <awalton@svn.gnome.org>
287 * gmemoryinputstream.c:
288 * gmemoryoutputstream.c:
290 * gsimpleasyncresult.c:
291 More documentation cleanup and filling in missing information, bringing
292 GIO to 99% symbol coverage.
294 2007-12-08 Hans Breuer <hans@breuer.org>
296 [gio compiles and links on win32, not sure how much already works]
297 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
298 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
299 base on win32 API; prefer g_lstat() over lstat(); instead of
300 localtime_r() use an all GLib implementation on win32;
301 get_mount_info() still needs a win32 specifc implementation
302 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
303 win32_get_file_user_info to get owner/group info without uid/gid
304 * glocalfileinputstream.c : include <io.h> on win32
305 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
306 definition, use g_win32_ftruncate() for G_OS_WIN32
307 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
308 it is available with mingw/w32api but a mess with the M$ Platform SDKs
309 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
310 * makefile.msc : updated
312 2007-12-07 Alexander Larsson <alexl@redhat.com>
314 * glocalfileenumerator.c (_g_local_file_enumerator_new):
315 Avoid warning spew if error == NULL
317 2007-12-07 Alexander Larsson <alexl@redhat.com>
320 Update docs wrt etags
322 2007-12-06 Alexander Larsson <alexl@redhat.com>
325 Include sys/types.h for dev_t (#501919)
327 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
331 Make abicheck and pltcheck pass.
333 2007-12-05 Alexander Larsson <alexl@redhat.com>
336 * giomodule-priv.h: Added.
337 * glocaldirectorymonitor.c:
338 * glocalfilemonitor.c:
339 * gunionvolumemonitor.c:
341 Actually add the declaration of _g_io_modules_ensure_loaded
343 2007-12-05 Alexander Larsson <alexl@redhat.com>
345 * gdatainputstream.c:
350 * glocaldirectorymonitor.c:
351 * glocalfilemonitor.c:
352 * gunionvolumemonitor.c:
354 Make g_io_modules_ensure_loaded a private function and
355 don't pass in the dirname. This means we can do magic
356 directory finding in the win32 version.
357 Export the actual load-modules-in-directory code so that
360 2007-12-05 Alexander Larsson <alexl@redhat.com>
362 * gbufferedinputstream.c:
363 * gbufferedoutputstream.c:
366 * gfileenumerator.[ch]:
367 * gfileinputstream.c:
368 * gfileoutputstream.[ch]:
369 * gfilterinputstream.c:
370 * gfilteroutputstream.c:
373 * glocalfileenumerator.c:
374 * glocalfileinputstream.c:
375 * glocalfileoutputstream.c:
376 * gmemoryinputstream.c:
377 * gmemoryoutputstream.c:
378 * goutputstream.[ch]:
381 * gunixinputstream.c:
382 * gunixoutputstream.c:
383 Rename all struct members named:
384 read, write, close, truncate, or mount
385 to foo_fn, as these are reserved names
386 and could be defined as macros in libc.
389 2007-12-04 Alexander Larsson <alexl@redhat.com>
392 (g_output_stream_close):
393 Only call flush if non-null.
395 2007-11-30 Dan Winship <danw@gnome.org>
397 * ginputstream.c (g_input_stream_set_pending): Make this take a
398 GError and return a gboolean, and do the "outstanding operation"
399 check (and the "stream is already closed" check) itself.
400 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
402 * goutputstream.c (g_output_stream_set_pending)
403 (g_output_stream_clear_pending): Likewise
405 * gbufferedinputstream.c:
406 * gfileinputstream.c:
407 * gfileoutputstream.c: Update for that
409 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
410 Like g_simple_async_report_error_in_idle, but takes a GError
411 rather than building one.
413 2007-11-30 Dan Winship <danw@gnome.org>
415 * goutputstream.c: Don't cheat and unset the "pending" flag around
416 inner calls. Instead, call the class method directly rather than
417 the wrapper function that checks "pending"
419 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
421 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
423 2007-12-03 Hans Breuer <hans@breuer.org>
425 [start of port to win32/msvc]
426 * gcancellable.c : HAVE_UNIST_H and _pipe()
427 * gcontenttype.c : only include <dirent.h> in the UNIX branch
428 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
429 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
431 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
432 * glocalvfs.c : use HAVE_PWD_H
433 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
434 * makefile.msc : new file (maybe later converted to makefile.msc.in)
435 * Makefile.am : added to EXTRA_DIST
437 2007-12-03 Matthias Clasen <mclasen@redhat.com>
439 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
442 2007-12-03 Alexander Larsson <alexl@redhat.com>
445 Handle OSX style xattrs API (#500506)
447 2007-12-03 Alexander Larsson <alexl@redhat.com>
451 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
453 2007-12-02 A. Walton <awalton@svn.gnome.org>
457 Documentation accuracy fixes.
459 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
461 * gioenumtypes.c.template: Fix typo.
463 2007-12-01 Matthias Clasen <mclasen@redhat.com>
465 * gioenumtypes.c.template: Make threadsafe get_type() functions.
467 2007-12-01 Matthias Clasen <mclasen@redhat.com>
469 * gdirectorymonitor.c:
470 * gfilemonitor.c: Add properties
472 * gbufferedoutputstream.c: Don't mark buffer-size property
475 2007-12-01 Matthias Clasen <mclasen@redhat.com>
477 * gbufferedoutputstream.c: Add auto-grow property.
479 2007-11-30 Matthias Clasen <mclasen@redhat.com>
481 * *.c: Unify the capitalization of section headings.
483 2007-11-30 Matthias Clasen <mclasen@redhat.com>
485 * gmountoperation.c: Add properties
487 * gdatainputstream.c: Turn byte-order and newline-type into
490 2007-11-30 Matthias Clasen <mclasen@redhat.com>
492 * gioenumtypes.[hc].template: Templates for enum registration
494 * Makefile.am: Generate gioenumtypes.[hc]
496 * gio.h: Include gioenumtypes.h
498 * gfile.h: Add some explicit nicks.
500 * gio.symbols: Add new symbols
502 * pltcheck.sh: Adjust
504 2007-11-30 Matthias Clasen <mclasen@redhat.com>
506 * *.c: Explain etags and link to the explanation
508 2007-11-29 Matthias Clasen <mclasen@redhat.com>
510 * *.c: Explain I/O priority.
512 * *.c: More coding style fixes.
514 2007-11-29 Matthias Clasen <mclasen@redhat.com>
516 * gasyncresult.c: Add another paragraph to the intro,
517 adjust coding style of example.
519 2007-11-29 A. Walton <awalton@svn.gnome.org>
522 Fixes unknown meaning in GAppLaunchContext docs.
524 Clarify asynchronous ops.
529 Provides missing gtk-doc section, fixes API docs slighly.
530 * gsimpleasyncresult.c:
531 Fill in missing info in docs.
532 * gunixinputstream.c:
533 * gunixoutputstream.c:
534 Be more expressive in short description.
536 Remove gtk-doc stubs for non-public API.
538 2007-11-28 Matthias Clasen <mclasen@redhat.com>
540 * *.c: Coding style fixups
542 2007-11-28 Matthias Clasen <mclasen@redhat.com>
544 * inotify/inotify-helper.c: Don't export the lock from libgio.
546 2007-11-28 Matthias Clasen <mclasen@redhat.com>
549 * abicheck.sh: Fix copy-and-paste leftovers
551 2007-11-28 Matthias Clasen <mclasen@redhat.com>
553 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
555 2007-11-28 Alexander Larsson <alexl@redhat.com>
559 Removed unnecessary file
561 * gdesktopappinfo.[ch]:
564 * glocaldirectorymonitor.[ch]:
566 * glocalfileenumerator.[ch]:
567 * glocalfileinputstream.[ch]:
568 * glocalfilemonitor.[ch]:
569 * glocalfileoutputstream.[ch]:
571 * gnativevolumemonitor.c:
572 * gpollfilemonitor.[ch]:
573 * gunionvolumemonitor.[ch]:
576 * gunixvolumemonitor.[ch]:
579 * inotify/ginotifydirectorymonitor.[ch]:
580 * inotify/ginotifyfilemonitor.[ch]:
581 * inotify/inotify-helper.c:
582 Append _ to all internal functions
586 Export symbols needed for modules
588 2007-11-28 Alexander Larsson <alexl@redhat.com>
591 * abicheck.sh: Added.
592 * makegioalias.pl: Added.
593 * pltcheck.sh: Added.
594 * gio.symbols: Added.
597 Initial work on adding symbol handling.
600 Correct ifdef guard name
603 * inotify/Makefile.am:
604 * xdgmime/Makefile.am:
605 Include toplevel Makefile.decl
607 2007-11-27 Matthias Clasen <mclasen@redhat.com>
609 * gcontenttype.c: Move doc comments to the unix section.
611 * *.[hc]: More trivial doc corrections.
613 2007-11-27 Matthias Clasen <mclasen@redhat.com>
615 * gpollfilemonitor.c:
624 * gdatainputstream.c:
625 * gdatainputstream.h:
626 * gdataoutputstream.c:
627 * gdataoutputstream.h:
628 * gfileinfo.h: Doc cleanups
630 2007-11-28 Andre Klapper <a9016009@gmx.de>
632 * gdesktopappinfo.c: Fix a typo.
634 2007-11-27 Andre Klapper <a9016009@gmx.de>
636 * glocalfileoutputstream.c: Fix a typo.
638 2007-11-27 Alexander Larsson <alexl@redhat.com>
641 Don't include removed headers
643 2007-11-27 Alexander Larsson <alexl@redhat.com>
646 * gsocketinputstream.[ch]: Removed.
647 * gsocketoutputstream.[ch]: Removed.
648 * gunixinputstream.[ch]: Added.
649 * gunixoutputstream.[ch]: Added.
650 Renamed GSocket*Stream to GUnix*Stream and made
651 it unix-only, since its not really only for sockets
652 and it only works on unix (but is highly useful there).
654 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
660 * gbufferedinputstream.c:
661 * gbufferedinputstream.h:
662 * gbufferedoutputstream.c:
663 * gbufferedoutputstream.h:
667 * gdatainputstream.c:
668 * gdatainputstream.h:
669 * gdataoutputstream.c:
670 * gdataoutputstream.h:
671 * gdirectorymonitor.c:
672 * gdirectorymonitor.h:
685 * gfileinputstream.c:
686 * gfileinputstream.h:
689 * gfilenamecompleter.c:
690 * gfilenamecompleter.h:
691 * gfileoutputstream.c:
692 * gfileoutputstream.h:
693 * gfilterinputstream.c:
694 * gfilterinputstream.h:
695 * gfilteroutputstream.c:
696 * gfilteroutputstream.h:
709 * glocalfileoutputstream.c:
710 * gmemoryinputstream.c:
711 * gmemoryinputstream.h:
712 * gmemoryoutputstream.c:
713 * gmemoryoutputstream.h:
718 * gpollfilemonitor.c:
721 * gsimpleasyncresult.c:
722 * gsimpleasyncresult.h:
723 * gsocketinputstream.c:
724 * gsocketinputstream.h:
725 * gsocketoutputstream.c:
726 * gsocketoutputstream.h:
733 * gunixvolumemonitor.c:
742 Bumps documentation to 93% symbol coverage, touching most
743 of the public files. Fixes broken function documentation prototypes.
744 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
745 gtk-doc headers in private files.
747 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
749 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
750 (g_buffered_input_stream_read_byte):
751 * gbufferedinputstream.h:
752 New functions for efficient access to buffer and simple single byte
755 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
756 (g_data_input_stream_read_until):
757 * gdatainputstream.h:
758 Use peek_buffer to avoid memcpy in scan_for_newline, implement
759 read_until with multiple stop chars.
761 2007-11-27 Alexander Larsson <alexl@redhat.com>
765 * inotify/Makefile.am:
766 Use the user-specified giomoduledir
768 2007-11-27 Alexander Larsson <alexl@redhat.com>
772 Add catch-all gio.h header
773 Don't install gdummyfile.h
775 2007-11-26 Alexander Larsson <alexl@redhat.com>
777 * Makefile.am (gioinclude_HEADERS):
778 Remove trailing whitespace
780 2007-11-26 Alexander Larsson <alexl@redhat.com>
782 Merge gio-standalone into glib
784 2007-11-25 Christian Kellner <gicmo@gnome.org>
786 * gio/goutputstream.c:
787 Fix small mistake in the docs.
789 2007-11-21 Christian Persch <chpe@gnome.org>
791 * gio/glocalfile.c: (g_local_file_trash):
792 Convert filenames to UTF-8 for GError.
793 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
794 as per xdg base dir spec.
796 2007-11-21 Christian Persch <chpe@gnome.org>
798 * gio/gdesktopappinfo.c:
799 Use that g_key_file_to_data cannot fail.
801 Use stock defines for the key file group and key names.
804 2007-11-21 Alexander Larsson <alexl@redhat.com>
807 (copy_stream_with_progress):
808 Make sure we do a final progress callback with
811 2007-11-21 Alexander Larsson <alexl@redhat.com>
814 Export g_file_copy_attributes
815 Remove padding as its not needed for interfaces
817 2007-11-20 Alexander Larsson <alexl@redhat.com>
822 Add G_IO_ERROR_WOULD_MERGE for
823 copy/move dir on dir with overwrite.
825 2007-11-20 Alexander Larsson <alexl@redhat.com>
828 * gio/glocalfileinfo.c:
829 Add COPY_NAME (this is an optional
830 non-modified utf8 version of the name) that
833 2007-11-20 Alexander Larsson <alexl@redhat.com>
835 * gio/glocalfileenumerator.c:
836 Report errors as GIOError, not GFileError
838 2007-11-16 Alexander Larsson <alexl@redhat.com>
840 * gio/glocalfileoutputstream.c:
841 * gio/gwin32appinfo.c:
842 Fix typos in strings.
843 Patch from Luca Ferretti <elle.uca@libero.it>
845 2007-11-15 Alexander Larsson <alexl@redhat.com>
848 Post release version bump
850 === gio-standalone 0.1.2 ===
852 2007-11-15 Alexander Larsson <alexl@redhat.com>
854 * docs/reference/gio/Makefile.am:
855 Fix up distcheck by removing weird
861 2007-11-14 Alexander Larsson <alexl@redhat.com>
863 * gio/gdesktopappinfo.c:
864 * gio/glocaldirectorymonitor.c:
866 * gio/glocalfileinfo.c:
867 * gio/inotify/inotify-sub.c:
868 * programs/gio-cat.c:
869 * programs/gio-copy.c:
870 * programs/gio-info.c:
872 * programs/gio-monitor-dir.c:
873 * programs/gio-monitor-file.c:
874 * programs/gio-mount.c:
875 * programs/gio-move.c:
877 * programs/gio-save.c:
878 * programs/gio-trash.c:
879 Leak fixes from Kjartan Maraas
881 2007-11-14 Alexander Larsson <alexl@redhat.com>
883 * gio/fam/fam-helper.c:
885 * gio/glocalfileinfo.c:
889 * gio/inotify/inotify-diag.c:
890 * gio/inotify/inotify-kernel.c:
891 Various code cleanups from Kjartan Maraas
893 2007-11-14 Alexander Larsson <alexl@redhat.com>
895 * gio/gioscheduler.c:
897 Set up threadpool so that we cache 2 unused
898 idle threads for at 15 secs. This means we
899 will reuse thread-local data (like dbus connections)
902 2007-11-14 Alexander Larsson <alexl@redhat.com>
904 * gio/fam/fam-helper.c:
905 * gio/fam/gfamdirectorymonitor.c:
906 * gio/fam/gfamfilemonitor.c:
908 * gio/gcontenttype.c:
909 * gio/gdatainputstream.c:
910 * gio/gdataoutputstream.c:
914 * gio/gfileattribute.h:
915 * gio/gfileenumerator.c:
917 * gio/ginputstream.c:
920 * gio/glocalfileinfo.c:
921 * gio/goutputstream.c:
922 * gio/gpollfilemonitor.c:
923 * gio/gsimpleasyncresult.c:
926 * gio/inotify/ginotifydirectorymonitor.c:
927 * gio/inotify/ginotifyfilemonitor.c:
928 * gio/inotify/inotify-diag.c:
929 * gio/inotify/inotify-kernel.c:
930 * gio/inotify/inotify-path.c:
932 * gio/test-streams.c:
933 * programs/gio-info.c:
934 * programs/gio-monitor-dir.c:
935 * programs/gio-monitor-file.c:
936 Various code cleanups from Kjartan Maraas
938 2007-11-13 Alexander Larsson <alexl@redhat.com>
941 Handle the uri-scheme calls for dummy files
943 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
945 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
946 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
947 to avoid clash with the C++ keyword.
949 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
951 * gio/glocalfileinfo.c: Build fix, added missing semicolon
952 to an ifdef'ed call to getpwuid() in lookup_uid_data().
954 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
956 * gio/glocaldirectorymonitor.c:
957 * gio/glocalfilemonitor.c:
958 * gio/gunionvolumemonitor.c:
959 Don't use g_once_init_*() for initializations that could fail and
960 could leave the initialization variable set to 0 but use GOnce.
961 This prevents a deadlock on the second call when trying to create
962 a monitor and no monitor type is available. Thanks to Sven Herzberg
965 2007-11-11 Sven Herzberg <sven@imendio.com>
967 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
968 #ifdef (make it work on MacOS X again)
970 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
972 Fixes Changelog for last two commits (sorry guys).
974 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
976 * gio/gbufferedinputstream.c:
977 * gio/gdatainputstream.c:
979 * gio/gfileoutputstream.c:
980 * gio/gfilterinputstream.c:
981 * gio/glocalfileinputstream.c:
984 More consistency fixes in g*stream.c files.
985 Significant clean of gfile's documentation, filling in of
986 asynchronous operations documentation.
988 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
990 * gio/gasyncresult.c:
991 * gio/gbufferedinputstream.c:
992 * gio/gbufferedoutputstream.c:
993 * gio/gcancellable.c:
994 * gio/gcontenttype.c:
995 * gio/gdatainputstream.c:
996 * gio/gdataoutputstream.c:
997 * gio/gdesktopappinfo.c:
1000 * gio/gfileattribute.c:
1001 * gio/gio/gfileenumerator.c:
1003 * gio/gfileinputstream.c:
1004 * gio/gfilemonitor.c:
1005 * gio/gfileoutputstream.c:
1006 * gio/ginputstream.c:
1008 * gio/gioscheduler.c:
1009 * gio/gloadableicon.c:
1010 * gio/glocalfileoutputstream.c:
1011 * gio/gmemoryoutputstream.c:
1012 * gio/gmountoperation.c:
1013 * gio/goutputstream.c:
1015 * gio/gsimpleasyncresult.c:
1016 * gio/gunionvolumemonitor.c:
1017 * gio/gunixmounts.c:
1018 * gio/gunixvolume.c:
1022 * gio/gvolumemonitor.c:
1023 Updated documentation stubs, working towards consistency and
1026 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1028 * gio/gmemoryoutputstream.c:
1029 * gio/gmemoryoutputstream.h:
1030 Change g_memory_output_stream_set_free_on_close() to
1031 g_memory_output_stream_set_free_data() as this makes more sense and
1032 is more consistent with GMemoryInputStream.
1034 2007-11-07 Alexander Larsson <alexl@redhat.com>
1041 Change how we find the default vfs so that
1042 we can handle a gvfs failing to init
1044 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1046 * gio/gbufferedoutputstream.c:
1047 * gio/gdatainputstream.c:
1048 * gio/gdataoutputstream.c:
1049 * gio/gfileinputstream.c:
1050 * gio/gfileoutputstream.c:
1051 * gio/gfilterinputstream.c:
1052 * gio/gfilteroutputstream.c:
1053 * gio/ginputstream.c:
1054 * gio/gmemoryinputstream.c:
1055 * gio/gmemoryoutputstream.c:
1056 * gio/goutputstream.c:
1057 * gio/gsimpleasyncresult.c:
1058 * gio/gsocketinputstream.c:
1059 * gio/gsocketoutputstream.c:
1060 Add guards to the remaining public functions, add a TODO for
1061 an unimplemented function and remove some useless guards.
1063 2007-11-07 Alexander Larsson <alexl@redhat.com>
1066 Autoconf checks for the various types of
1067 getpwuid_r and getgrgid_r
1069 * gio/glocalfileinfo.c:
1070 Use the autoconf checks from above
1072 2007-11-07 Alexander Larsson <alexl@redhat.com>
1075 (g_local_file_query_filesystem_info):
1076 Some fixes for the statvfs case
1078 2007-11-07 Alexander Larsson <alexl@redhat.com>
1081 (g_local_file_query_filesystem_info):
1082 Pick the "best" of statfs / statvfs for the system
1083 if both are availible.
1085 2007-11-07 Alexander Larsson <alexl@redhat.com>
1087 Solaris fixes from Halton.Huo@Sun.COM:
1094 * gio/glocalfileinfo.c:
1095 Fix for solaris definition of getpwuid_r
1097 * gio/test-streams.c:
1098 Use G_GNUC_PRETTY_FUNCTION
1100 2007-11-07 Alexander Larsson <alexl@redhat.com>
1102 * gio/gdesktopappinfo.c:
1103 (update_default_list):
1104 Remove double semicolon.
1105 Patch from Jens Granseuer
1107 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1109 * docs/reference/gio/gio-sections.txt:
1110 * gio/gbufferedinputstream.c:
1111 * gio/gbufferedinputstream.h:
1112 * gio/gdatainputstream.c:
1113 * gio/gfileenumerator.c:
1114 * gio/gioscheduler.c:
1115 * gio/gunionvolumemonitor.c:
1117 * programs/gio-save.c:
1118 Fix typo: availible -> available. Unfortuntely this breaks API
1119 and ABI as g_buffered_input_stream_get_available() was renamed.
1121 * gio/gunixmounts.c:
1122 * gio/gbufferedinputstream.c:
1123 Add guards for public functions.
1125 2007-11-06 Ross Burton <ross@openedhand.com>
1127 * docs/reference/gio/Makefile.am:
1128 Fix invalid += usage which automake 1.10 doesn't like.
1130 2007-11-06 Alexander Larsson <alexl@redhat.com>
1133 (g_app_launch_context_class_init):
1136 Patch from Ross Burton
1138 2007-11-06 Alexander Larsson <alexl@redhat.com>
1141 Post release version bump
1143 === gio-standalone 0.1.1 ===
1145 2007-11-06 Alexander Larsson <alexl@redhat.com>
1148 Bump version to 0.1.1
1150 * gio/gsimpleasyncresult.c:
1151 (g_simple_async_result_set_from_error):
1152 Remove bogus g_return_if_fail
1154 2007-11-06 Alexander Larsson <alexl@redhat.com>
1157 The name is gio-standalone
1160 Add top src/builddir to includedir
1162 2007-11-06 Alexander Larsson <alexl@redhat.com>
1164 * docs/reference/gio/gio-sections.txt:
1166 * gio/gbufferedinputstream.c:
1167 * gio/gbufferedoutputstream.c:
1168 * gio/gcancellable.c:
1169 * gio/gdatainputstream.h:
1170 * gio/gdataoutputstream.c:
1171 * gio/gdataoutputstream.h:
1172 * gio/gdirectorymonitor.c:
1174 * gio/gfileattribute.c:
1175 * gio/gfileattribute.h:
1176 * gio/gfileenumerator.c:
1177 * gio/gfileenumerator.h:
1180 * gio/gfileinputstream.h:
1181 * gio/gfilemonitor.c:
1182 * gio/gfileoutputstream.h:
1183 * gio/glocalfilemonitor.h:
1184 * gio/glocalfileoutputstream.h:
1185 * gio/gmemoryinputstream.c:
1186 * gio/gmemoryoutputstream.c:
1187 * gio/gmountoperation.c:
1188 * gio/goutputstream.c:
1189 * gio/goutputstream.h:
1191 * gio/gsimpleasyncresult.c:
1192 * gio/gunixmounts.c:
1193 * gio/gunixmounts.h:
1195 * gio/inotify/inotify-helper.c:
1196 Fix gtk-doc warnings
1198 Patch from Ross Burton
1200 2007-11-06 Alexander Larsson <alexl@redhat.com>
1202 * gio/gfilenamecompleter.c:
1203 (g_filename_completer_get_completions):
1206 * gio/gunixvolume.c:
1207 Remove unused function
1209 Patches from Ross Burton
1211 2007-11-06 Alexander Larsson <alexl@redhat.com>
1216 Padding not needed for interfaces
1218 2007-11-06 Alexander Larsson <alexl@redhat.com>
1220 * gio/gfilemonitor.c:
1224 Make giotypes.h an internal file
1227 * gio/gbufferedinputstream.h:
1228 * gio/gbufferedoutputstream.h:
1229 * gio/gcancellable.h:
1230 * gio/gdatainputstream.h:
1231 * gio/gdataoutputstream.h:
1232 * gio/gdirectorymonitor.c:
1233 * gio/gdirectorymonitor.h:
1238 * gio/gfileattribute.h:
1239 * gio/gfileenumerator.h:
1244 * gio/gfilemonitor.c:
1245 * gio/gfilemonitor.h:
1246 * gio/gfilenamecompleter.c:
1247 * gio/gfilenamecompleter.h:
1248 * gio/gfilterinputstream.h:
1249 * gio/gfilteroutputstream.h:
1250 * gio/ginputstream.h:
1251 * gio/gmemoryinputstream.h:
1252 * gio/gmemoryoutputstream.h:
1253 * gio/gmountoperation.c:
1254 * gio/gmountoperation.h:
1255 * gio/gnativevolumemonitor.c:
1256 * gio/goutputstream.h:
1259 * gio/gsimpleasyncresult.c:
1260 * gio/gsimpleasyncresult.h:
1261 * gio/gsocketinputstream.h:
1262 * gio/gsocketoutputstream.h:
1263 * gio/gthemedicon.c:
1264 * gio/gthemedicon.h:
1268 * gio/gvolumemonitor.c:
1269 * gio/gvolumemonitor.h:
1270 Add padding in classes where it seems useful
1271 Don't include giotypes.h from public headers
1272 Move in Class definitions into c file where possible
1277 2007-11-06 Alexander Larsson <alexl@redhat.com>
1279 * docs/reference/gio/gio-docs.xml:
1280 Better structure for API docs
1282 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1285 * gio/gloadableicon.c:
1286 * gio/gsimpleasyncresult.c:
1287 * gio/gthemedicon.c:
1288 Add some more guards to public functions. Only files missing are now
1291 2007-11-06 Alexander Larsson <alexl@redhat.com>
1293 * docs/reference/gio/gio-docs.xml:
1294 Remove old files, add missing ones
1296 2007-11-06 Alexander Larsson <alexl@redhat.com>
1298 * docs/reference/gio/gio-sections.txt:
1301 Hide implementation classes
1303 * gio/gdriveprivate.h:
1304 * gio/gvolumeprivate.h:
1305 Remove non-existing function declarations
1307 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1310 Fix compilation warnings and add guards to the new functions.
1312 * gio/gasyncresult.c:
1314 Add guards to the public functions.
1317 Implement get_path().
1319 2007-11-06 Alexander Larsson <alexl@redhat.com>
1321 * gio/gfilenamecompleter.c:
1322 Make g_filename_completer_get_completions
1323 return char ** instead of GList for
1326 * docs/reference/gio/gio-docs.xml:
1327 * docs/reference/gio/gio-sections.txt:
1329 * gio/gasyncresult.c:
1330 * gio/gbufferedinputstream.c:
1331 * gio/gbufferedoutputstream.c:
1332 * gio/gcancellable.c:
1333 * gio/gcontenttype.c:
1334 * gio/gdatainputstream.c:
1335 * gio/gdataoutputstream.c:
1336 * gio/gdesktopappinfo.c:
1337 * gio/gdirectorymonitor.c:
1341 * gio/gfileattribute.c:
1342 * gio/gfileenumerator.c:
1345 * gio/gfileinputstream.c:
1346 * gio/gfilemonitor.c:
1347 * gio/gfilenamecompleter.c:
1348 * gio/gfilenamecompleter.h:
1349 * gio/gfileoutputstream.c:
1350 * gio/gfilterinputstream.c:
1352 * gio/ginputstream.c:
1354 * gio/gioscheduler.c:
1355 * gio/gloadableicon.c:
1356 * gio/glocaldirectorymonitor.c:
1358 * gio/glocalfileinputstream.c:
1359 * gio/glocalfilemonitor.c:
1360 * gio/glocalfileoutputstream.c:
1362 * gio/gmemoryinputstream.c:
1363 * gio/gmemoryoutputstream.c:
1364 * gio/gmountoperation.c:
1365 * gio/goutputstream.c:
1366 * gio/gpollfilemonitor.c:
1368 * gio/gsimpleasyncresult.c:
1369 * gio/gsocketinputstream.c:
1370 * gio/gsocketoutputstream.c:
1371 * gio/gthemedicon.c:
1372 * gio/gunionvolumemonitor.c:
1374 * gio/gunixmounts.c:
1375 * gio/gunixvolume.c:
1376 * gio/gunixvolumemonitor.c:
1380 * gio/gvolumemonitor.c:
1381 * gio/gwin32appinfo.c:
1382 Add (mostly stub) doc strings to public functions.
1383 Patch from Andrew Walton (awalton@gmail.com)
1385 2007-11-06 Alexander Larsson <alexl@redhat.com>
1387 * gio/gappinfo.[ch]:
1388 Added GAppLaunchContext object and pass that to launch.
1389 This allows simple implementation of both
1390 launch-on-screen and startup notification via a gtk+
1391 subclass of GAppLaunchContext
1393 * gio/gdesktopappinfo.c:
1394 Implement GAppLaunchContext API
1396 * gio/gwin32appinfo.c:
1399 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1401 * gio/gmountoperation.c:
1402 Add some guards to GMountOperation's public functions.
1404 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1408 * gio/gcancellable.c:
1409 * gio/gdirectorymonitor.c:
1411 * gio/gfileenumerator.c:
1412 * gio/gfilemonitor.c:,
1413 * gio/gfilenamecompleter.c:
1416 * gio/gioscheduler.c:
1420 * gio/gvolumemonitor.c:
1421 Add even more guards to various public functions.
1423 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1426 Add guards to the public functions of GAppInfo.
1428 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1430 * gio/gcontenttype.c:
1431 Add some more guards for public functions.
1433 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1435 * gio/fam/fam-module.c:
1436 * gio/fam/gfamdirectorymonitor.c:
1437 * gio/fam/gfamdirectorymonitor.h:
1438 * gio/fam/gfamfilemonitor.c:
1439 * gio/fam/gfamfilemonitor.h:
1440 * gio/inotify/ginotifydirectorymonitor.c:
1441 * gio/inotify/ginotifydirectorymonitor.h:
1442 * gio/inotify/ginotifyfilemonitor.c:
1443 * gio/inotify/ginotifyfilemonitor.h:
1444 Add proper copyright information and remove an unused variable
1445 in the GInotifyFileMonitor constructor.
1447 * gio/gcancellable.c:
1448 Add a guard for a public function and an assertion to prevent
1449 an undefined program state.
1451 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1453 * gio/gfileattribute.c:
1454 Don't run into an assertion if the given attribute value is NULL
1455 in g_file_attribute_value_get_*() but instead return a fallback
1456 value that makes sense in most situations. Passing them a attribute
1457 value with the wrong type will still run into an assertion.
1459 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1461 * gio/gfileattribute.c:
1463 Add even more guards to the public functions. Also fix the refcounting
1464 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1465 let g_file_info_list_attributes() filter the attributes by namespace
1466 instead of simply ignoring the namespace parameter.
1468 2007-11-03 Sven Herzberg <sven@imendio.com>
1470 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1471 (This makes gio work on MacOS X again)
1473 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1476 Build the gio subdirectory before the docs. Otherwise the build will
1479 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1480 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1481 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1482 Add guards to the public functions.
1484 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1486 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1487 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1488 to prevent a compiler warning.
1490 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1491 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1492 return something in the non-void function find_topdir_for().
1494 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1501 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1503 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1504 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1505 * gwin32appinfo.c (g_win32_app_info_launch):
1506 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1507 envp_for_startup_id, g_desktop_app_info_launch,
1508 g_desktop_app_info_launch_uris):
1510 Give an opaque 'startup_id' string instead of 'envp'.
1511 Support empty file lists for launching new windows.
1512 Fix infinite recursion bug when launching URIs.
1514 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1517 Add guard to the new g_file_get_uri_scheme() function.
1519 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1522 Convert a g_return_val_if_fail() to setting the GError instead as
1523 otherwise applications have to verify the parameter before otherwise
1524 and the parameter might come directly from the user.
1526 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1528 * gio/inotify/ginotify*.[ch]:
1529 Add missing copyright information.
1531 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1534 Add guards in the beginning of public functions to check for valid
1535 parameters and fix a bug in copy_stream_with_progress() that could've
1536 caused writing less bytes than reading.
1537 * gio/glocalfileinfo.c:
1538 Check for a NULL parameter and set the GError accordingly then.
1539 * gio/goutputstream.c:
1540 Fix the same bug as in gfile.c that could've caused writing less bytes
1541 than reading in g_output_stream_real_splice().
1543 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1546 Use the correct gvolumeprivate.h naming
1548 2007-11-01 Christian Kellner <gicmo@gnome.org>
1551 Remove leftover "$(daemon_sources)" entry.
1553 2007-11-01 Christian Kellner <gicmo@gnome.org>
1558 Add copyright information to source files.
1560 2007-11-01 Alexander Larsson <alexl@redhat.com>
1564 Add g_file_get_uri_scheme
1566 2007-11-01 Alexander Larsson <alexl@redhat.com>
1569 * gio/gdesktopappinfo.c:
1570 * gio/gwin32appinfo.c:
1571 Add g_app_info_get_default_for_uri_scheme.
1573 2007-11-01 Alexander Larsson <alexl@redhat.com>
1576 Correct filename for gdriveprivate.h
1578 2007-10-31 Alexander Larsson <alexl@redhat.com>
1581 Rename id:value to id:file
1584 * gio/glocalfileinfo.c:
1587 2007-10-31 Alexander Larsson <alexl@redhat.com>
1589 * gio/gunixvolume.c:
1591 Remove g_volume_get_platform_id, as thats not
1592 needed with the simpler union volume monitor
1594 2007-10-31 Alexander Larsson <alexl@redhat.com>
1597 * gio/guniondrive.[ch]: Removed.
1598 * gio/gunionvolume.[ch]: Removed.
1599 Remove GUnionDrive/Volume
1601 * gio/gunionvolumemonitor.c:
1602 Simplify union volume monitor, now we
1603 only have one native volume monitor and
1604 we use the actual volumes/drives from the
1605 child monitors instead of wrapping them
1607 * gio/gnativevolumemonitor.[ch]:
1608 Base class for native volume monitors.
1609 Includes priority and get_volume_for_mountpoint
1612 Add g_file_find_enclosing_volume
1615 Remove volume name fs attribute
1616 Add readonly fs attribute
1619 Implement readonly attribute
1620 remove volume name attribute
1621 Implement find_enclosing volume
1623 * gio/gunixmounts.c:
1624 Add a volume for "/".
1626 * gio/gunixvolume.[ch]:
1627 Set better name for /
1629 * gio/gunixvolumemonitor.[ch]:
1630 Derive from GNativeVolumeMonitor
1631 Implement get_volume_for_mountpoint
1634 GVolume typedef moved to gfile.h
1636 * gio/gvolumeprivate.h:
1637 Add g_volume_get_for_mount_path
1639 2007-10-31 Alexander Larsson <alexl@redhat.com>
1641 * gio/gunixmounts.[ch]:
1642 Add cache info to unix mount listers
1643 Make getmntent use threadsafe
1644 Add is_system_internal attribute for GUnixMount
1646 * gio/gunixvolume.c:
1647 (g_unix_volume_new):
1648 Use is_system_internal instead of own code
1650 * gio/glocaldirectorymonitor.c:
1651 * gio/gunixvolumemonitor.c:
1652 Update to new gunixmounts API
1657 2007-10-30 Alexander Larsson <alexl@redhat.com>
1660 Add volume name fsinfo attribute
1663 Read volume name info
1665 * gio/gunionvolumemonitor.c:
1666 Fix infinite loops when finalizing a union volume monitor
1668 2007-10-30 Alexander Larsson <alexl@redhat.com>
1670 * gio/goutputstream.[ch]:
1671 Add splice() with default implementation
1673 * gio/gsocketoutputstream.c:
1674 (g_socket_output_stream_write):
1675 Return error on cancellation correctly.
1677 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1679 * gio/glocalfile.c (g_local_file_trash):
1680 Do not leak a string.
1682 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1684 * gio/gfile.c (g_file_load_contents):
1685 Unref the stream after closing it.
1687 2007-10-25 Alexander Larsson <alexl@redhat.com>
1689 * gio/gioscheduler.h:
1692 2007-10-25 Alexander Larsson <alexl@redhat.com>
1696 Add g_file_has_uri_scheme and implement for local files
1698 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1700 * gio/gdesktopappinfo.c: do not leak a string.
1702 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1704 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1705 (g_local_directory_monitor_new):
1706 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1707 (g_local_file_monitor_new):
1708 Only look for the monitor type that should be used the first time
1709 and use g_qsort_with_data() instead of our own bubble sort
1712 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1715 * gio/fam/Makefile.am:
1716 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1717 * gio/fam/fam-helper.h:
1718 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1719 * gio/fam/gfamdirectorymonitor.c:
1720 * gio/fam/gfamdirectorymonitor.h:
1721 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1722 * gio/fam/gfamfilemonitor.h:
1723 * gio/glocaldirectorymonitor.c:
1724 * gio/glocaldirectorymonitor.h:
1725 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1726 * gio/glocalfilemonitor.h:
1727 * gio/inotify/Makefile.am:
1728 * gio/inotify/ginotifydirectorymonitor.c:
1729 * gio/inotify/ginotifydirectorymonitor.h:
1730 * gio/inotify/ginotifyfilemonitor.c:
1731 * gio/inotify/ginotifyfilemonitor.h:
1732 Implement the FAM and Inotify monitors as
1733 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1734 their own GIO module. GLocal(Directory|File)Monitor will use the
1735 monitor with the highest rank that is supported on that machine.
1737 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1740 Change GIO module dir to $(libdir)/gio/modules and change
1741 the log domain from GVFS to GIO. Also only export symbols starting
1742 with g_ in the resulting library.
1743 * gio/test-streams.c: (main):
1744 Set log handler for the GIO log domain.
1746 2007-10-22 Alexander Larsson <alexl@redhat.com>
1748 * gio/gfilenamecompleter.[ch]:
1749 Add g_filename_completer_set_dirs_only
1751 2007-10-22 Alexander Larsson <alexl@redhat.com>
1754 * gio/gurifuncs.[ch]:
1755 Add some simple URI helpers
1757 * gio/gfilenamecompleter.[ch]:
1758 Added object for filename (parse name actually) completion
1761 Handle ~ in parse names
1763 2007-10-17 Alexander Larsson <alexl@redhat.com>
1766 * gio/glocalfileinfo.c:
1767 Add and implement id:value attribute
1769 2007-10-17 Alexander Larsson <alexl@redhat.com>
1772 * gio/guniondrive.c:
1774 Add and implement g_drive_has_volumes
1776 2007-10-17 Alexander Larsson <alexl@redhat.com>
1779 * gio/glocalfileinfo.[ch]:
1780 Add unix:is_mountpoint and implement for local files
1782 2007-10-16 Alexander Larsson <alexl@redhat.com>
1784 * gio/gunionvolumemonitor.c:
1785 (g_union_volume_monitor_init):
1786 Fix up the unix type getting so that it works with gcc
1788 2007-10-12 Alexander Larsson <alexl@redhat.com>
1791 * gio/glocalfileinfo.c:
1792 Add thumbnail:failed to file info
1794 2007-10-12 Richard Hult <richard@imendio.com>
1796 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1797 optimizing away the get_type call (happens with some gcc versions,
1798 like the one shipped with OS X 10.4).
1800 2007-10-12 Alexander Larsson <alexl@redhat.com>
1802 * gio/glocalfileinfo.c:
1803 (_g_local_file_info_set_attribute):
1804 Fix build if not HAVE_XATTR
1805 Patch from Milosz Derezynski <internalerror@gmail.com>
1807 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1809 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1810 around for review, otherwise I would have asked you before
1813 2007-10-11 Alexander Larsson <alexl@redhat.com>
1816 Add thumbnail:path attribute
1818 * gio/glocalfileinfo.c:
1819 Implement thumbnail:path for local files
1821 2007-10-11 Alexander Larsson <alexl@redhat.com>
1823 * gio/glocalfileinfo.c:
1824 (_g_local_file_info_get):
1825 Avoid duplicate icon names
1827 2007-10-11 Alexander Larsson <alexl@redhat.com>
1829 * gio/gthemedicon.[ch]:
1830 Change g_themed_icon_get_names return type to const
1832 2007-10-10 Alexander Larsson <alexl@redhat.com>
1834 * gio/glocalfileinfo.c:
1835 Don't reference freed memory
1837 2007-10-10 Alexander Larsson <alexl@redhat.com>
1839 * gio/gfileattribute.c:
1842 * gio/glocalfileinfo.c:
1845 2007-10-10 Alexander Larsson <alexl@redhat.com>
1848 Check for NULL icons
1850 * gio/gfileattribute.c:
1851 Don't dup when getting objects (same as for string attributes)
1853 * gio/gicon.c (g_icon_equal):
1854 Safely handle NULLs in equal
1856 2007-10-10 Alexander Larsson <alexl@redhat.com>
1859 Fix c++ compilation issues
1860 Patch from Milosz Derezynski <internalerror@gmail.com>
1862 2007-10-10 Alexander Larsson <alexl@redhat.com>
1864 * programs/gio-monitor-dir.c:
1865 Don't crash if dir monitor not supported.
1867 2007-10-09 Alexander Larsson <alexl@redhat.com>
1870 Add missing G_END_DECLS
1872 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1874 * gio/gfile.c: (g_file_set_display_name),
1875 (g_file_query_settable_attributes),
1876 (g_file_query_writable_namespaces):
1877 Return NULL not FALSE on errors as the return type is a pointer.
1879 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1881 * gio/glocalfile.c: (g_local_file_monitor_file):
1882 Don't call monitor_file on the default interface vtable (which
1883 is NULL) but simply return NULL. The caller, GFile, will create a
1884 polling monitor if NULL is returned.
1886 2007-10-09 Alexander Larsson <alexl@redhat.com>
1890 * gio-unix-2.0.pc.in:
1891 Add gio-unix-2.0.pc if OS_UNIX
1894 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1896 2007-10-09 Alexander Larsson <alexl@redhat.com>
1898 * gio/gunixmounts.[ch]:
1899 Make unix mount monitoring API sane.
1900 Now its just a object with mounts_changed
1901 and mountpoints_changed signals.
1903 * gio/glocaldirectorymonitor.c:
1904 * gio/gunixvolumemonitor.c:
1905 Use new mount monitor api
1907 2007-10-09 Alexander Larsson <alexl@redhat.com>
1909 * gio/gunixmounts.[ch]:
1910 Move guess type into one call for mounts and one for mountpoints
1913 * gio/gunixvolume.c:
1916 2007-10-09 Alexander Larsson <alexl@redhat.com>
1918 * gio/gunixmounts.[ch]:
1919 Remove _ prefix in preparation to make this semi-public
1920 Hide implementation of structs
1922 * gio/glocaldirectorymonitor.c:
1924 * gio/gunixvolume.c:
1925 * gio/gunixvolumemonitor.c:
1926 Update for above API changes
1928 2007-10-08 Alexander Larsson <alexl@redhat.com>
1931 Better polling fallback. This also handles the case where we have
1932 a monitor_file implementation, but it fails.
1934 2007-10-08 Alexander Larsson <alexl@redhat.com>
1938 * gio/gunixmounts.c:
1939 * programs/gio-monitor-dir.c:
1940 * programs/gio-monitor-file.c:
1941 Added cancellable to file monitoring calls.
1942 These are really sync calls and need this.
1944 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1946 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1947 (g_local_vfs_class_init):
1948 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1949 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1951 2007-10-05 Alexander Larsson <alexl@redhat.com>
1953 * gio/gdirectorymonitorprivate.h:
1954 * gio/gfilemonitorprivate.h:
1955 * gio/gdirectorymonitor.h:
1956 * gio/gfilemonitor.h:
1957 Remove *private.h and move to the public API, so that
1958 we can do implementations outside gio (such as in gvfs)
1960 * gio/gdirectorymonitor.c:
1961 * gio/gfilemonitor.c:
1962 * gio/glocaldirectorymonitor.c:
1963 * gio/gpollfilemonitor.c:
1964 * gio/inotify/inotify-helper.c:
1965 * gio/fam/fam-helper.c:
1966 Update to the new header names
1968 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1970 * gio/gdirectorymonitor.c:
1971 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1974 2007-10-04 Alexander Larsson <alexl@redhat.com>
1976 * gio/glocalfileinfo.c (get_access_rights):
1977 Set CAN_TRASH when we can move the file.
1978 We should really also check for a parent trash dir.
1980 2007-10-04 Alexander Larsson <alexl@redhat.com>
1982 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1983 Add can_trash access attribute
1985 2007-10-04 Alexander Larsson <alexl@redhat.com>
1988 (g_local_file_trash):
1989 Create info file first. This is per-spec and allows
1990 us to actually trash directories.
1992 2007-10-02 Alexander Larsson <alexl@redhat.com>
1994 * gio/gdesktopappinfo.c:
1995 Implement the new mime support code.
1996 Always set app as handling mimetype when being set as default for it
1998 2007-10-01 Alexander Larsson <alexl@redhat.com>
2000 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2001 Fix up check for xattrs:
2003 2007-10-01 Alexander Larsson <alexl@redhat.com>
2006 (g_app_info_set_as_default_for_extension):
2007 (g_app_info_add_supports_type):
2008 (g_app_info_can_remove_supports_type):
2009 (g_app_info_remove_supports_type):
2010 Make these fail nicely if not implemented
2012 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2014 * gio/glocalfileoutputstream.c:
2015 * gio/glocalfileoutputstream.h:
2020 * programs/gio-save.c:
2021 Add a GFileCreateFlags argument to operations that can create
2024 2007-10-01 Alexander Larsson <alexl@redhat.com>
2026 * gio/gappinfo.[ch]:
2027 * gio/gdesktopappinfo.c:
2028 Add more (stubbed out) mime API needed for nautilus
2030 2007-10-01 Alexander Larsson <alexl@redhat.com>
2033 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2034 Add g_app_info_set_as_default_for_extension.
2036 * gio/gdesktopappinfo.c:
2037 Dummy for g_app_info_set_as_default_for_extension
2038 Support flags in g_app_info_create_from_commandline
2040 * gio/gwin32appinfo.c:
2042 Update for API changes
2044 * gio/gthemedicon.c:
2045 Properly NULL-terminate list of icon names
2047 2007-09-28 Alexander Larsson <alexl@redhat.com>
2049 * gio/gloadableicon.h:
2050 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2052 2007-09-28 Alexander Larsson <alexl@redhat.com>
2055 Install headers in $includedir/gio-standalone/
2057 * gio-2.0.pc.in: Added.
2058 * gio-standalone.pc.in: Removed.
2061 Renamed pkg-config file to match glib (for future move)
2062 Update to the new include dir
2065 Add more TODO comments
2067 2007-09-28 Alexander Larsson <alexl@redhat.com>
2069 * gio/gdesktopappinfo.[ch]:
2070 Expose new_from_filename
2071 Add getter for is_hidden and handle it better
2073 2007-09-28 Alexander Larsson <alexl@redhat.com>
2075 * gio/gfileinfo.[ch]:
2076 Rename g_file_size_format_for_display to
2077 g_format_file_size_for_display.
2078 Now it doesn't have the g_file prefix, so we
2079 can later move it to glib.
2081 2007-09-28 Alexander Larsson <alexl@redhat.com>
2083 * gio/gappinfo.[ch]:
2084 Add g_app_info_get_id and g_app_info_get_executable.
2085 Make all getters non-reffing
2086 Make g_app_info_launch take GFile arguments.
2087 Add must_support_uris argument to g_app_info_get_default_for_type.
2089 * gio/gwin32appinfo.c:
2090 Update to GAppInfo api changes
2092 * gio/gdesktopappinfo.c:
2093 Update to GAppInfo api changes
2094 Implement supports_xdg_startup_notify
2096 * gio/gfileicon.c (g_file_icon_get_file):
2097 Make getter non-reffing.
2102 2007-09-27 Alexander Larsson <alexl@redhat.com>
2104 * gio/gfileinfo.[ch]:
2105 Add g_file_size_format_for_display helper
2107 2007-09-27 Alexander Larsson <alexl@redhat.com>
2109 * gio/glocalfileinfo.c:
2110 Set UNIX_GID from gid, not from uid
2112 2007-09-27 Alexander Larsson <alexl@redhat.com>
2115 Add g_file_set_attributes_async
2117 2007-09-27 Alexander Larsson <alexl@redhat.com>
2119 * gio/glocalfile.c (g_local_file_set_display_name):
2120 Fix set_display_name to actually rename to the right place.
2121 Use lstat to look for existing files so we don't overwrite
2124 2007-09-26 Alexander Larsson <alexl@redhat.com>
2127 Add g_file_set_display_name_async()
2129 2007-09-26 Alexander Larsson <alexl@redhat.com>
2132 Add load_partial_contents async calls
2135 Make internal function static
2137 2007-09-26 Alexander Larsson <alexl@redhat.com>
2139 * gio/glocalfileinfo.c:
2140 Correctly detect broken symlinks
2142 2007-09-26 Alexander Larsson <alexl@redhat.com>
2144 * gio/gcancellable.c (g_cancellable_cancel):
2145 Allow cancel on NULL cancellable
2147 2007-09-25 Alexander Larsson <alexl@redhat.com>
2149 * gio/gsimpleasyncresult.c:
2150 Don't allocate g_error manually.
2151 Fixes g_slice/g_new mixup crash
2153 2007-09-25 Alexander Larsson <alexl@redhat.com>
2155 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2156 Actually set active_backend.
2157 This means the monitor will be cancelled correctly.
2159 2007-09-25 Alexander Larsson <alexl@redhat.com>
2161 * gio/gdirectorymonitor.c:
2162 Set timeout to NULL when destroying
2164 2007-09-25 Alexander Larsson <alexl@redhat.com>
2167 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2168 that is a better description of the error.
2170 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2172 * gio/gvfs.c: (g_vfs_get_local):
2173 Make the local vfs variable static. The same instance should
2176 2007-09-24 Alexander Larsson <alexl@redhat.com>
2178 * gio/glocalfileinfo.c:
2179 Pass in actual length read into sniffer, not the length
2182 2007-09-21 Alexander Larsson <alexl@redhat.com>
2184 * gio/gfileenumerator.c:
2187 * gio/gfileinputstream.c:
2188 * gio/gfileoutputstream.c:
2189 * gio/ginputstream.c:
2190 * gio/goutputstream.c:
2191 Don't crash if async callbacks are NULL
2193 2007-09-20 Alexander Larsson <alexl@redhat.com>
2196 Add async enumerate_children method and default
2199 2007-09-20 Alexander Larsson <alexl@redhat.com>
2202 Add g_file_contains_file & g_file_get_relative_path, since they
2203 were needed for nautilus.
2204 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2209 Implement new methods
2211 2007-09-17 Alexander Larsson <alexl@redhat.com>
2214 * gio/gfileinputstream.[ch]:
2215 * gio/gfileoutputstream.[ch]:
2217 * gio/glocalfileenumerator.[ch]:
2218 * gio/glocalfileinfo.[ch]:
2219 * gio/glocalfileinputstream.c:
2220 * gio/glocalfileoutputstream.c:
2221 * gio/gpollfilemonitor.c:
2222 * programs/gio-copy.c:
2223 * programs/gio-info.c:
2224 * programs/gio-move.c:
2225 Rename get_file_info to query_info() to make it clearer
2226 that these are not simple getters, but do i/o.
2228 2007-09-17 Alexander Larsson <alexl@redhat.com>
2230 * gio/gdatainputstream.[ch]:
2231 * gio/test-streams.c:
2232 Use _read_XXX instead of _get_XXX for the i/o calls
2235 2007-09-17 Alexander Larsson <alexl@redhat.com>
2238 Added needed stuff to TODO comment
2240 2007-09-17 Alexander Larsson <alexl@redhat.com>
2242 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2243 Don't error out removing the backup copy if it doesn't
2246 2007-09-14 Alexander Larsson <alexl@redhat.com>
2248 * programs/Makefile.am:
2249 * programs/gvfs-*.c:
2251 Renamed apps from gvfs-xxx to gio-xxx.
2253 2007-09-14 Alexander Larsson <alexl@redhat.com>
2256 * gio/gfileoutputstream.[ch]:
2257 * gio/glocalfileoutputstream.c:
2258 * programs/gvfs-save.c:
2259 g_file_output_stream_get_etag doesn't do i/o, so remove
2260 cancellation and error.
2262 2007-09-14 Alexander Larsson <alexl@redhat.com>
2265 Add new_etag output to replace_contents functions
2267 2007-09-14 Alexander Larsson <alexl@redhat.com>
2269 * gio/gfileoutputstream.[ch]:
2270 Add async get_file_info and default implementation
2272 2007-09-14 Alexander Larsson <alexl@redhat.com>
2274 * gio/gfileinputstream.c:
2275 Implement fallback wrapper for async get_file_info
2277 2007-09-14 Alexander Larsson <alexl@redhat.com>
2280 Add etag out argument to load_contents
2285 2007-09-14 Alexander Larsson <alexl@redhat.com>
2287 * gio/gcontenttype.c (looks_like_text):
2288 Whitespace like tab, cr and lf do not make the
2291 2007-09-14 Alexander Larsson <alexl@redhat.com>
2293 * gio/gfileinputstream.[ch]:
2294 Add async get_file_info.
2296 2007-09-13 Alexander Larsson <alexl@redhat.com>
2298 * gio/goutputstream.c (g_output_stream_write_all):
2299 Allow NULL for bytes_written
2301 2007-09-13 Alexander Larsson <alexl@redhat.com>
2303 * gio/gmemoryinputstream.[ch]:
2304 Add accessors for data
2306 2007-09-13 Alexander Larsson <alexl@redhat.com>
2308 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2309 Don't crash if length is NULL