1 2007-12-14 Alexander Larsson <alexl@redhat.com>
8 * glocalfileoutputstream.c:
9 * gmountoperation.[ch]:
11 Clean up all flags enums to not have _FLAGS in them
12 Make the names of some of the enums better.
17 2007-12-14 Michael Natterer <mitch@imendio.com>
19 * gio.symbols: fix g_io_scheduler symbol names.
21 2007-12-14 Alexander Larsson <alexl@redhat.com>
27 * gbufferedinputstream.h:
28 * gbufferedoutputstream.h:
32 * gdataoutputstream.h:
34 * gdirectorymonitor.h:
43 * gfilenamecompleter.h:
44 * gfileoutputstream.h:
45 * gfilterinputstream.h:
46 * gfilteroutputstream.h:
54 * gmemoryinputstream.h:
55 * gmemoryoutputstream.h:
60 * gsimpleasyncresult.h:
64 * gunixoutputstream.h:
68 * inotify/Makefile.am:
69 Only allow including <gio/gio.h> from apps
71 2007-12-14 Alexander Larsson <alexl@redhat.com>
74 * gsimpleasyncresult.c:
75 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
76 Split out the send_to_mainloop call into two versions instead
77 of having the block argument.
79 2007-12-13 Alexander Larsson <alexl@redhat.com>
83 * gbufferedinputstream.c:
86 * gfileoutputstream.c:
90 g_push/pop_current_cancellable ->
91 g_cancellable_push/pop_current
93 2007-12-13 Alexander Larsson <alexl@redhat.com>
97 Rename g_mount_for_location to g_file_mount_enclosing_volume.
99 2007-12-13 Alexander Larsson <alexl@redhat.com>
102 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
104 2007-12-12 Alexander Larsson <alexl@redhat.com>
107 Fix race condition when freeing proxy in
108 g_io_job_send_to_mainloop().
110 2007-12-12 Alexander Larsson <alexl@redhat.com>
116 Make attribute namespace separator "::" instead of ":".
117 Use - instead of _ as separator in attribute names.
119 2007-12-12 Alexander Larsson <alexl@redhat.com>
121 * gbufferedinputstream.h:
122 * gbufferedoutputstream.h:
123 * gdatainputstream.h:
124 * gdataoutputstream.h:
125 * gdirectorymonitor.h:
127 * gfileinputstream.h:
129 * gfileoutputstream.h:
130 * gfilterinputstream.h:
131 * gfilteroutputstream.h:
133 * glocalfileinputstream.h:
134 * glocalfileoutputstream.h:
135 * gmemoryinputstream.h:
136 * gmemoryoutputstream.h:
137 * gnativevolumemonitor.h:
139 * gunixinputstream.h:
140 * gunixoutputstream.h:
143 s/parent/parent_instance/ in GObjects
145 2007-12-12 Alexander Larsson <alexl@redhat.com>
150 No need for padding for interfaces
152 2007-12-12 Alexander Larsson <alexl@redhat.com>
156 * gbufferedinputstream.c:
157 * gbufferedoutputstream.c:
160 * gdatainputstream.[ch]:
162 * gdirectorymonitor.c:
164 * gfileattribute.[ch]:
167 * gfileinputstream.h:
169 * gfileoutputstream.[ch]:
170 * gfilterinputstream.h:
171 * gfilteroutputstream.h:
174 * gloadableicon.[ch]:
175 * gmemoryinputstream.c:
178 Fix up a bunch of details in the docs.
183 2007-12-11 David Zeuthen <davidz@redhat.com>
185 Rework how volumes, drives and volume monitoring is
186 done. Previosly the model was
190 where a GDrive instance represented a mount point and a GVolume
191 instance represented a mounted file system. This patch changes it
194 GDrive <1-N> GVolume <1-1> GMount
196 where GMount now serves the purpose of the old GVolume and the new
197 GVolume serves the purpose of the old GDrive. In addition the new
198 GDrive interface is used to represent a collection of GVolume
199 instances (typically partitions) and also contains utility to query
200 the state of the physical drive the GDrive object represents (such
201 as checking for media, polling the drive, ejecting the media etc.).
203 Also implement mounting and unmounting in the Unix volume monitor
204 backend. A subquent patch will introduce GDrive support for ejection
208 * gdrive.c: (g_drive_is_media_check_automatic),
209 (g_drive_is_media_removable), (g_drive_has_media),
210 (g_drive_can_poll_for_media), (g_drive_eject),
211 (g_drive_eject_finish), (g_drive_poll_for_media),
212 (g_drive_poll_for_media_finish):
214 * gfile.c: (g_file_find_enclosing_mount):
217 * glocaldirectorymonitor.c:
218 (g_local_directory_monitor_constructor), (mounts_changed):
219 * glocalfile.c: (get_mount_info),
220 (g_local_file_find_enclosing_mount),
221 (g_local_file_file_iface_init):
222 * gnativevolumemonitor.h:
223 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
224 (get_connected_drives), (g_union_volume_monitor_class_init),
225 (child_volume_added), (child_volume_removed),
226 (child_volume_changed), (child_mount_added), (child_mount_removed),
227 (child_mount_pre_unmount), (child_mount_changed),
228 (child_drive_changed), (g_union_volume_monitor_add_monitor),
229 (g_union_volume_monitor_remove_monitor),
230 (_g_mount_get_for_mount_path):
231 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
232 (guess_system_internal), (_g_get_unix_mounts),
233 (_g_get_unix_mount_points), (g_get_unix_mount_at),
234 (g_unix_mount_free), (g_unix_mount_compare),
235 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
236 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
237 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
238 (type_to_icon), (g_unix_mount_guess_name),
239 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
240 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
241 (_resolve_symlink), (_resolve_dev_root):
243 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
244 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
245 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
246 (g_unix_volume_get_name), (g_unix_volume_can_mount),
247 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
248 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
249 (g_unix_volume_mount), (g_unix_volume_mount_finish),
250 (g_unix_volume_volume_iface_init):
252 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
253 (get_mounts), (get_volumes), (get_connected_drives),
254 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
255 (mountpoints_changed), (mounts_changed),
256 (g_unix_volume_monitor_init),
257 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
258 (find_mount_by_mountpath), (update_volumes), (update_mounts):
259 * gunixvolumemonitor.h:
260 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
261 (g_volume_mount), (g_volume_mount_finish):
263 * gvolumemonitor.c: (g_volume_monitor_class_init),
264 (g_volume_monitor_get_connected_drives),
265 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
268 2007-12-10 Matthias Clasen <mclasen@redhat.com>
270 * gmountoperation.h (GPasswordFlags): Close the gap
272 2007-12-10 Matthias Clasen <mclasen@redhat.com>
274 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
276 * gdesktopappinfo.[hc]: Remove _-prefixes
278 2007-12-10 Tor Lillqvist <tml@novell.com>
280 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
283 2007-12-10 Alexander Larsson <alexl@redhat.com>
285 * gfile.c (g_file_set_display_name):
286 Don't hardcode '/' (#502727)
288 2007-12-09 Hans Breuer <hans@breuer.org>
290 * makefile.msc : follow lib naming convention
291 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
292 for user and group name, tested with ../tests/gio-ls
294 2007-12-09 A. Walton <awalton@svn.gnome.org>
307 * gmemoryinputstream.c:
308 * gmemoryoutputstream.c:
310 * gsimpleasyncresult.c:
311 More documentation cleanup and filling in missing information, bringing
312 GIO to 99% symbol coverage.
314 2007-12-08 Hans Breuer <hans@breuer.org>
316 [gio compiles and links on win32, not sure how much already works]
317 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
318 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
319 base on win32 API; prefer g_lstat() over lstat(); instead of
320 localtime_r() use an all GLib implementation on win32;
321 get_mount_info() still needs a win32 specifc implementation
322 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
323 win32_get_file_user_info to get owner/group info without uid/gid
324 * glocalfileinputstream.c : include <io.h> on win32
325 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
326 definition, use g_win32_ftruncate() for G_OS_WIN32
327 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
328 it is available with mingw/w32api but a mess with the M$ Platform SDKs
329 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
330 * makefile.msc : updated
332 2007-12-07 Alexander Larsson <alexl@redhat.com>
334 * glocalfileenumerator.c (_g_local_file_enumerator_new):
335 Avoid warning spew if error == NULL
337 2007-12-07 Alexander Larsson <alexl@redhat.com>
340 Update docs wrt etags
342 2007-12-06 Alexander Larsson <alexl@redhat.com>
345 Include sys/types.h for dev_t (#501919)
347 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
351 Make abicheck and pltcheck pass.
353 2007-12-05 Alexander Larsson <alexl@redhat.com>
356 * giomodule-priv.h: Added.
357 * glocaldirectorymonitor.c:
358 * glocalfilemonitor.c:
359 * gunionvolumemonitor.c:
361 Actually add the declaration of _g_io_modules_ensure_loaded
363 2007-12-05 Alexander Larsson <alexl@redhat.com>
365 * gdatainputstream.c:
370 * glocaldirectorymonitor.c:
371 * glocalfilemonitor.c:
372 * gunionvolumemonitor.c:
374 Make g_io_modules_ensure_loaded a private function and
375 don't pass in the dirname. This means we can do magic
376 directory finding in the win32 version.
377 Export the actual load-modules-in-directory code so that
380 2007-12-05 Alexander Larsson <alexl@redhat.com>
382 * gbufferedinputstream.c:
383 * gbufferedoutputstream.c:
386 * gfileenumerator.[ch]:
387 * gfileinputstream.c:
388 * gfileoutputstream.[ch]:
389 * gfilterinputstream.c:
390 * gfilteroutputstream.c:
393 * glocalfileenumerator.c:
394 * glocalfileinputstream.c:
395 * glocalfileoutputstream.c:
396 * gmemoryinputstream.c:
397 * gmemoryoutputstream.c:
398 * goutputstream.[ch]:
401 * gunixinputstream.c:
402 * gunixoutputstream.c:
403 Rename all struct members named:
404 read, write, close, truncate, or mount
405 to foo_fn, as these are reserved names
406 and could be defined as macros in libc.
409 2007-12-04 Alexander Larsson <alexl@redhat.com>
412 (g_output_stream_close):
413 Only call flush if non-null.
415 2007-11-30 Dan Winship <danw@gnome.org>
417 * ginputstream.c (g_input_stream_set_pending): Make this take a
418 GError and return a gboolean, and do the "outstanding operation"
419 check (and the "stream is already closed" check) itself.
420 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
422 * goutputstream.c (g_output_stream_set_pending)
423 (g_output_stream_clear_pending): Likewise
425 * gbufferedinputstream.c:
426 * gfileinputstream.c:
427 * gfileoutputstream.c: Update for that
429 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
430 Like g_simple_async_report_error_in_idle, but takes a GError
431 rather than building one.
433 2007-11-30 Dan Winship <danw@gnome.org>
435 * goutputstream.c: Don't cheat and unset the "pending" flag around
436 inner calls. Instead, call the class method directly rather than
437 the wrapper function that checks "pending"
439 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
441 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
443 2007-12-03 Hans Breuer <hans@breuer.org>
445 [start of port to win32/msvc]
446 * gcancellable.c : HAVE_UNIST_H and _pipe()
447 * gcontenttype.c : only include <dirent.h> in the UNIX branch
448 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
449 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
451 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
452 * glocalvfs.c : use HAVE_PWD_H
453 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
454 * makefile.msc : new file (maybe later converted to makefile.msc.in)
455 * Makefile.am : added to EXTRA_DIST
457 2007-12-03 Matthias Clasen <mclasen@redhat.com>
459 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
462 2007-12-03 Alexander Larsson <alexl@redhat.com>
465 Handle OSX style xattrs API (#500506)
467 2007-12-03 Alexander Larsson <alexl@redhat.com>
471 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
473 2007-12-02 A. Walton <awalton@svn.gnome.org>
477 Documentation accuracy fixes.
479 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
481 * gioenumtypes.c.template: Fix typo.
483 2007-12-01 Matthias Clasen <mclasen@redhat.com>
485 * gioenumtypes.c.template: Make threadsafe get_type() functions.
487 2007-12-01 Matthias Clasen <mclasen@redhat.com>
489 * gdirectorymonitor.c:
490 * gfilemonitor.c: Add properties
492 * gbufferedoutputstream.c: Don't mark buffer-size property
495 2007-12-01 Matthias Clasen <mclasen@redhat.com>
497 * gbufferedoutputstream.c: Add auto-grow property.
499 2007-11-30 Matthias Clasen <mclasen@redhat.com>
501 * *.c: Unify the capitalization of section headings.
503 2007-11-30 Matthias Clasen <mclasen@redhat.com>
505 * gmountoperation.c: Add properties
507 * gdatainputstream.c: Turn byte-order and newline-type into
510 2007-11-30 Matthias Clasen <mclasen@redhat.com>
512 * gioenumtypes.[hc].template: Templates for enum registration
514 * Makefile.am: Generate gioenumtypes.[hc]
516 * gio.h: Include gioenumtypes.h
518 * gfile.h: Add some explicit nicks.
520 * gio.symbols: Add new symbols
522 * pltcheck.sh: Adjust
524 2007-11-30 Matthias Clasen <mclasen@redhat.com>
526 * *.c: Explain etags and link to the explanation
528 2007-11-29 Matthias Clasen <mclasen@redhat.com>
530 * *.c: Explain I/O priority.
532 * *.c: More coding style fixes.
534 2007-11-29 Matthias Clasen <mclasen@redhat.com>
536 * gasyncresult.c: Add another paragraph to the intro,
537 adjust coding style of example.
539 2007-11-29 A. Walton <awalton@svn.gnome.org>
542 Fixes unknown meaning in GAppLaunchContext docs.
544 Clarify asynchronous ops.
549 Provides missing gtk-doc section, fixes API docs slighly.
550 * gsimpleasyncresult.c:
551 Fill in missing info in docs.
552 * gunixinputstream.c:
553 * gunixoutputstream.c:
554 Be more expressive in short description.
556 Remove gtk-doc stubs for non-public API.
558 2007-11-28 Matthias Clasen <mclasen@redhat.com>
560 * *.c: Coding style fixups
562 2007-11-28 Matthias Clasen <mclasen@redhat.com>
564 * inotify/inotify-helper.c: Don't export the lock from libgio.
566 2007-11-28 Matthias Clasen <mclasen@redhat.com>
569 * abicheck.sh: Fix copy-and-paste leftovers
571 2007-11-28 Matthias Clasen <mclasen@redhat.com>
573 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
575 2007-11-28 Alexander Larsson <alexl@redhat.com>
579 Removed unnecessary file
581 * gdesktopappinfo.[ch]:
584 * glocaldirectorymonitor.[ch]:
586 * glocalfileenumerator.[ch]:
587 * glocalfileinputstream.[ch]:
588 * glocalfilemonitor.[ch]:
589 * glocalfileoutputstream.[ch]:
591 * gnativevolumemonitor.c:
592 * gpollfilemonitor.[ch]:
593 * gunionvolumemonitor.[ch]:
596 * gunixvolumemonitor.[ch]:
599 * inotify/ginotifydirectorymonitor.[ch]:
600 * inotify/ginotifyfilemonitor.[ch]:
601 * inotify/inotify-helper.c:
602 Append _ to all internal functions
606 Export symbols needed for modules
608 2007-11-28 Alexander Larsson <alexl@redhat.com>
611 * abicheck.sh: Added.
612 * makegioalias.pl: Added.
613 * pltcheck.sh: Added.
614 * gio.symbols: Added.
617 Initial work on adding symbol handling.
620 Correct ifdef guard name
623 * inotify/Makefile.am:
624 * xdgmime/Makefile.am:
625 Include toplevel Makefile.decl
627 2007-11-27 Matthias Clasen <mclasen@redhat.com>
629 * gcontenttype.c: Move doc comments to the unix section.
631 * *.[hc]: More trivial doc corrections.
633 2007-11-27 Matthias Clasen <mclasen@redhat.com>
635 * gpollfilemonitor.c:
644 * gdatainputstream.c:
645 * gdatainputstream.h:
646 * gdataoutputstream.c:
647 * gdataoutputstream.h:
648 * gfileinfo.h: Doc cleanups
650 2007-11-28 Andre Klapper <a9016009@gmx.de>
652 * gdesktopappinfo.c: Fix a typo.
654 2007-11-27 Andre Klapper <a9016009@gmx.de>
656 * glocalfileoutputstream.c: Fix a typo.
658 2007-11-27 Alexander Larsson <alexl@redhat.com>
661 Don't include removed headers
663 2007-11-27 Alexander Larsson <alexl@redhat.com>
666 * gsocketinputstream.[ch]: Removed.
667 * gsocketoutputstream.[ch]: Removed.
668 * gunixinputstream.[ch]: Added.
669 * gunixoutputstream.[ch]: Added.
670 Renamed GSocket*Stream to GUnix*Stream and made
671 it unix-only, since its not really only for sockets
672 and it only works on unix (but is highly useful there).
674 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
680 * gbufferedinputstream.c:
681 * gbufferedinputstream.h:
682 * gbufferedoutputstream.c:
683 * gbufferedoutputstream.h:
687 * gdatainputstream.c:
688 * gdatainputstream.h:
689 * gdataoutputstream.c:
690 * gdataoutputstream.h:
691 * gdirectorymonitor.c:
692 * gdirectorymonitor.h:
705 * gfileinputstream.c:
706 * gfileinputstream.h:
709 * gfilenamecompleter.c:
710 * gfilenamecompleter.h:
711 * gfileoutputstream.c:
712 * gfileoutputstream.h:
713 * gfilterinputstream.c:
714 * gfilterinputstream.h:
715 * gfilteroutputstream.c:
716 * gfilteroutputstream.h:
729 * glocalfileoutputstream.c:
730 * gmemoryinputstream.c:
731 * gmemoryinputstream.h:
732 * gmemoryoutputstream.c:
733 * gmemoryoutputstream.h:
738 * gpollfilemonitor.c:
741 * gsimpleasyncresult.c:
742 * gsimpleasyncresult.h:
743 * gsocketinputstream.c:
744 * gsocketinputstream.h:
745 * gsocketoutputstream.c:
746 * gsocketoutputstream.h:
753 * gunixvolumemonitor.c:
762 Bumps documentation to 93% symbol coverage, touching most
763 of the public files. Fixes broken function documentation prototypes.
764 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
765 gtk-doc headers in private files.
767 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
769 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
770 (g_buffered_input_stream_read_byte):
771 * gbufferedinputstream.h:
772 New functions for efficient access to buffer and simple single byte
775 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
776 (g_data_input_stream_read_until):
777 * gdatainputstream.h:
778 Use peek_buffer to avoid memcpy in scan_for_newline, implement
779 read_until with multiple stop chars.
781 2007-11-27 Alexander Larsson <alexl@redhat.com>
785 * inotify/Makefile.am:
786 Use the user-specified giomoduledir
788 2007-11-27 Alexander Larsson <alexl@redhat.com>
792 Add catch-all gio.h header
793 Don't install gdummyfile.h
795 2007-11-26 Alexander Larsson <alexl@redhat.com>
797 * Makefile.am (gioinclude_HEADERS):
798 Remove trailing whitespace
800 2007-11-26 Alexander Larsson <alexl@redhat.com>
802 Merge gio-standalone into glib
804 2007-11-25 Christian Kellner <gicmo@gnome.org>
806 * gio/goutputstream.c:
807 Fix small mistake in the docs.
809 2007-11-21 Christian Persch <chpe@gnome.org>
811 * gio/glocalfile.c: (g_local_file_trash):
812 Convert filenames to UTF-8 for GError.
813 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
814 as per xdg base dir spec.
816 2007-11-21 Christian Persch <chpe@gnome.org>
818 * gio/gdesktopappinfo.c:
819 Use that g_key_file_to_data cannot fail.
821 Use stock defines for the key file group and key names.
824 2007-11-21 Alexander Larsson <alexl@redhat.com>
827 (copy_stream_with_progress):
828 Make sure we do a final progress callback with
831 2007-11-21 Alexander Larsson <alexl@redhat.com>
834 Export g_file_copy_attributes
835 Remove padding as its not needed for interfaces
837 2007-11-20 Alexander Larsson <alexl@redhat.com>
842 Add G_IO_ERROR_WOULD_MERGE for
843 copy/move dir on dir with overwrite.
845 2007-11-20 Alexander Larsson <alexl@redhat.com>
848 * gio/glocalfileinfo.c:
849 Add COPY_NAME (this is an optional
850 non-modified utf8 version of the name) that
853 2007-11-20 Alexander Larsson <alexl@redhat.com>
855 * gio/glocalfileenumerator.c:
856 Report errors as GIOError, not GFileError
858 2007-11-16 Alexander Larsson <alexl@redhat.com>
860 * gio/glocalfileoutputstream.c:
861 * gio/gwin32appinfo.c:
862 Fix typos in strings.
863 Patch from Luca Ferretti <elle.uca@libero.it>
865 2007-11-15 Alexander Larsson <alexl@redhat.com>
868 Post release version bump
870 === gio-standalone 0.1.2 ===
872 2007-11-15 Alexander Larsson <alexl@redhat.com>
874 * docs/reference/gio/Makefile.am:
875 Fix up distcheck by removing weird
881 2007-11-14 Alexander Larsson <alexl@redhat.com>
883 * gio/gdesktopappinfo.c:
884 * gio/glocaldirectorymonitor.c:
886 * gio/glocalfileinfo.c:
887 * gio/inotify/inotify-sub.c:
888 * programs/gio-cat.c:
889 * programs/gio-copy.c:
890 * programs/gio-info.c:
892 * programs/gio-monitor-dir.c:
893 * programs/gio-monitor-file.c:
894 * programs/gio-mount.c:
895 * programs/gio-move.c:
897 * programs/gio-save.c:
898 * programs/gio-trash.c:
899 Leak fixes from Kjartan Maraas
901 2007-11-14 Alexander Larsson <alexl@redhat.com>
903 * gio/fam/fam-helper.c:
905 * gio/glocalfileinfo.c:
909 * gio/inotify/inotify-diag.c:
910 * gio/inotify/inotify-kernel.c:
911 Various code cleanups from Kjartan Maraas
913 2007-11-14 Alexander Larsson <alexl@redhat.com>
915 * gio/gioscheduler.c:
917 Set up threadpool so that we cache 2 unused
918 idle threads for at 15 secs. This means we
919 will reuse thread-local data (like dbus connections)
922 2007-11-14 Alexander Larsson <alexl@redhat.com>
924 * gio/fam/fam-helper.c:
925 * gio/fam/gfamdirectorymonitor.c:
926 * gio/fam/gfamfilemonitor.c:
928 * gio/gcontenttype.c:
929 * gio/gdatainputstream.c:
930 * gio/gdataoutputstream.c:
934 * gio/gfileattribute.h:
935 * gio/gfileenumerator.c:
937 * gio/ginputstream.c:
940 * gio/glocalfileinfo.c:
941 * gio/goutputstream.c:
942 * gio/gpollfilemonitor.c:
943 * gio/gsimpleasyncresult.c:
946 * gio/inotify/ginotifydirectorymonitor.c:
947 * gio/inotify/ginotifyfilemonitor.c:
948 * gio/inotify/inotify-diag.c:
949 * gio/inotify/inotify-kernel.c:
950 * gio/inotify/inotify-path.c:
952 * gio/test-streams.c:
953 * programs/gio-info.c:
954 * programs/gio-monitor-dir.c:
955 * programs/gio-monitor-file.c:
956 Various code cleanups from Kjartan Maraas
958 2007-11-13 Alexander Larsson <alexl@redhat.com>
961 Handle the uri-scheme calls for dummy files
963 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
965 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
966 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
967 to avoid clash with the C++ keyword.
969 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
971 * gio/glocalfileinfo.c: Build fix, added missing semicolon
972 to an ifdef'ed call to getpwuid() in lookup_uid_data().
974 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
976 * gio/glocaldirectorymonitor.c:
977 * gio/glocalfilemonitor.c:
978 * gio/gunionvolumemonitor.c:
979 Don't use g_once_init_*() for initializations that could fail and
980 could leave the initialization variable set to 0 but use GOnce.
981 This prevents a deadlock on the second call when trying to create
982 a monitor and no monitor type is available. Thanks to Sven Herzberg
985 2007-11-11 Sven Herzberg <sven@imendio.com>
987 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
988 #ifdef (make it work on MacOS X again)
990 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
992 Fixes Changelog for last two commits (sorry guys).
994 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
996 * gio/gbufferedinputstream.c:
997 * gio/gdatainputstream.c:
999 * gio/gfileoutputstream.c:
1000 * gio/gfilterinputstream.c:
1001 * gio/glocalfileinputstream.c:
1004 More consistency fixes in g*stream.c files.
1005 Significant clean of gfile's documentation, filling in of
1006 asynchronous operations documentation.
1008 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1010 * gio/gasyncresult.c:
1011 * gio/gbufferedinputstream.c:
1012 * gio/gbufferedoutputstream.c:
1013 * gio/gcancellable.c:
1014 * gio/gcontenttype.c:
1015 * gio/gdatainputstream.c:
1016 * gio/gdataoutputstream.c:
1017 * gio/gdesktopappinfo.c:
1020 * gio/gfileattribute.c:
1021 * gio/gio/gfileenumerator.c:
1023 * gio/gfileinputstream.c:
1024 * gio/gfilemonitor.c:
1025 * gio/gfileoutputstream.c:
1026 * gio/ginputstream.c:
1028 * gio/gioscheduler.c:
1029 * gio/gloadableicon.c:
1030 * gio/glocalfileoutputstream.c:
1031 * gio/gmemoryoutputstream.c:
1032 * gio/gmountoperation.c:
1033 * gio/goutputstream.c:
1035 * gio/gsimpleasyncresult.c:
1036 * gio/gunionvolumemonitor.c:
1037 * gio/gunixmounts.c:
1038 * gio/gunixvolume.c:
1042 * gio/gvolumemonitor.c:
1043 Updated documentation stubs, working towards consistency and
1046 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1048 * gio/gmemoryoutputstream.c:
1049 * gio/gmemoryoutputstream.h:
1050 Change g_memory_output_stream_set_free_on_close() to
1051 g_memory_output_stream_set_free_data() as this makes more sense and
1052 is more consistent with GMemoryInputStream.
1054 2007-11-07 Alexander Larsson <alexl@redhat.com>
1061 Change how we find the default vfs so that
1062 we can handle a gvfs failing to init
1064 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1066 * gio/gbufferedoutputstream.c:
1067 * gio/gdatainputstream.c:
1068 * gio/gdataoutputstream.c:
1069 * gio/gfileinputstream.c:
1070 * gio/gfileoutputstream.c:
1071 * gio/gfilterinputstream.c:
1072 * gio/gfilteroutputstream.c:
1073 * gio/ginputstream.c:
1074 * gio/gmemoryinputstream.c:
1075 * gio/gmemoryoutputstream.c:
1076 * gio/goutputstream.c:
1077 * gio/gsimpleasyncresult.c:
1078 * gio/gsocketinputstream.c:
1079 * gio/gsocketoutputstream.c:
1080 Add guards to the remaining public functions, add a TODO for
1081 an unimplemented function and remove some useless guards.
1083 2007-11-07 Alexander Larsson <alexl@redhat.com>
1086 Autoconf checks for the various types of
1087 getpwuid_r and getgrgid_r
1089 * gio/glocalfileinfo.c:
1090 Use the autoconf checks from above
1092 2007-11-07 Alexander Larsson <alexl@redhat.com>
1095 (g_local_file_query_filesystem_info):
1096 Some fixes for the statvfs case
1098 2007-11-07 Alexander Larsson <alexl@redhat.com>
1101 (g_local_file_query_filesystem_info):
1102 Pick the "best" of statfs / statvfs for the system
1103 if both are availible.
1105 2007-11-07 Alexander Larsson <alexl@redhat.com>
1107 Solaris fixes from Halton.Huo@Sun.COM:
1114 * gio/glocalfileinfo.c:
1115 Fix for solaris definition of getpwuid_r
1117 * gio/test-streams.c:
1118 Use G_GNUC_PRETTY_FUNCTION
1120 2007-11-07 Alexander Larsson <alexl@redhat.com>
1122 * gio/gdesktopappinfo.c:
1123 (update_default_list):
1124 Remove double semicolon.
1125 Patch from Jens Granseuer
1127 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1129 * docs/reference/gio/gio-sections.txt:
1130 * gio/gbufferedinputstream.c:
1131 * gio/gbufferedinputstream.h:
1132 * gio/gdatainputstream.c:
1133 * gio/gfileenumerator.c:
1134 * gio/gioscheduler.c:
1135 * gio/gunionvolumemonitor.c:
1137 * programs/gio-save.c:
1138 Fix typo: availible -> available. Unfortuntely this breaks API
1139 and ABI as g_buffered_input_stream_get_available() was renamed.
1141 * gio/gunixmounts.c:
1142 * gio/gbufferedinputstream.c:
1143 Add guards for public functions.
1145 2007-11-06 Ross Burton <ross@openedhand.com>
1147 * docs/reference/gio/Makefile.am:
1148 Fix invalid += usage which automake 1.10 doesn't like.
1150 2007-11-06 Alexander Larsson <alexl@redhat.com>
1153 (g_app_launch_context_class_init):
1156 Patch from Ross Burton
1158 2007-11-06 Alexander Larsson <alexl@redhat.com>
1161 Post release version bump
1163 === gio-standalone 0.1.1 ===
1165 2007-11-06 Alexander Larsson <alexl@redhat.com>
1168 Bump version to 0.1.1
1170 * gio/gsimpleasyncresult.c:
1171 (g_simple_async_result_set_from_error):
1172 Remove bogus g_return_if_fail
1174 2007-11-06 Alexander Larsson <alexl@redhat.com>
1177 The name is gio-standalone
1180 Add top src/builddir to includedir
1182 2007-11-06 Alexander Larsson <alexl@redhat.com>
1184 * docs/reference/gio/gio-sections.txt:
1186 * gio/gbufferedinputstream.c:
1187 * gio/gbufferedoutputstream.c:
1188 * gio/gcancellable.c:
1189 * gio/gdatainputstream.h:
1190 * gio/gdataoutputstream.c:
1191 * gio/gdataoutputstream.h:
1192 * gio/gdirectorymonitor.c:
1194 * gio/gfileattribute.c:
1195 * gio/gfileattribute.h:
1196 * gio/gfileenumerator.c:
1197 * gio/gfileenumerator.h:
1200 * gio/gfileinputstream.h:
1201 * gio/gfilemonitor.c:
1202 * gio/gfileoutputstream.h:
1203 * gio/glocalfilemonitor.h:
1204 * gio/glocalfileoutputstream.h:
1205 * gio/gmemoryinputstream.c:
1206 * gio/gmemoryoutputstream.c:
1207 * gio/gmountoperation.c:
1208 * gio/goutputstream.c:
1209 * gio/goutputstream.h:
1211 * gio/gsimpleasyncresult.c:
1212 * gio/gunixmounts.c:
1213 * gio/gunixmounts.h:
1215 * gio/inotify/inotify-helper.c:
1216 Fix gtk-doc warnings
1218 Patch from Ross Burton
1220 2007-11-06 Alexander Larsson <alexl@redhat.com>
1222 * gio/gfilenamecompleter.c:
1223 (g_filename_completer_get_completions):
1226 * gio/gunixvolume.c:
1227 Remove unused function
1229 Patches from Ross Burton
1231 2007-11-06 Alexander Larsson <alexl@redhat.com>
1236 Padding not needed for interfaces
1238 2007-11-06 Alexander Larsson <alexl@redhat.com>
1240 * gio/gfilemonitor.c:
1244 Make giotypes.h an internal file
1247 * gio/gbufferedinputstream.h:
1248 * gio/gbufferedoutputstream.h:
1249 * gio/gcancellable.h:
1250 * gio/gdatainputstream.h:
1251 * gio/gdataoutputstream.h:
1252 * gio/gdirectorymonitor.c:
1253 * gio/gdirectorymonitor.h:
1258 * gio/gfileattribute.h:
1259 * gio/gfileenumerator.h:
1264 * gio/gfilemonitor.c:
1265 * gio/gfilemonitor.h:
1266 * gio/gfilenamecompleter.c:
1267 * gio/gfilenamecompleter.h:
1268 * gio/gfilterinputstream.h:
1269 * gio/gfilteroutputstream.h:
1270 * gio/ginputstream.h:
1271 * gio/gmemoryinputstream.h:
1272 * gio/gmemoryoutputstream.h:
1273 * gio/gmountoperation.c:
1274 * gio/gmountoperation.h:
1275 * gio/gnativevolumemonitor.c:
1276 * gio/goutputstream.h:
1279 * gio/gsimpleasyncresult.c:
1280 * gio/gsimpleasyncresult.h:
1281 * gio/gsocketinputstream.h:
1282 * gio/gsocketoutputstream.h:
1283 * gio/gthemedicon.c:
1284 * gio/gthemedicon.h:
1288 * gio/gvolumemonitor.c:
1289 * gio/gvolumemonitor.h:
1290 Add padding in classes where it seems useful
1291 Don't include giotypes.h from public headers
1292 Move in Class definitions into c file where possible
1297 2007-11-06 Alexander Larsson <alexl@redhat.com>
1299 * docs/reference/gio/gio-docs.xml:
1300 Better structure for API docs
1302 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1305 * gio/gloadableicon.c:
1306 * gio/gsimpleasyncresult.c:
1307 * gio/gthemedicon.c:
1308 Add some more guards to public functions. Only files missing are now
1311 2007-11-06 Alexander Larsson <alexl@redhat.com>
1313 * docs/reference/gio/gio-docs.xml:
1314 Remove old files, add missing ones
1316 2007-11-06 Alexander Larsson <alexl@redhat.com>
1318 * docs/reference/gio/gio-sections.txt:
1321 Hide implementation classes
1323 * gio/gdriveprivate.h:
1324 * gio/gvolumeprivate.h:
1325 Remove non-existing function declarations
1327 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1330 Fix compilation warnings and add guards to the new functions.
1332 * gio/gasyncresult.c:
1334 Add guards to the public functions.
1337 Implement get_path().
1339 2007-11-06 Alexander Larsson <alexl@redhat.com>
1341 * gio/gfilenamecompleter.c:
1342 Make g_filename_completer_get_completions
1343 return char ** instead of GList for
1346 * docs/reference/gio/gio-docs.xml:
1347 * docs/reference/gio/gio-sections.txt:
1349 * gio/gasyncresult.c:
1350 * gio/gbufferedinputstream.c:
1351 * gio/gbufferedoutputstream.c:
1352 * gio/gcancellable.c:
1353 * gio/gcontenttype.c:
1354 * gio/gdatainputstream.c:
1355 * gio/gdataoutputstream.c:
1356 * gio/gdesktopappinfo.c:
1357 * gio/gdirectorymonitor.c:
1361 * gio/gfileattribute.c:
1362 * gio/gfileenumerator.c:
1365 * gio/gfileinputstream.c:
1366 * gio/gfilemonitor.c:
1367 * gio/gfilenamecompleter.c:
1368 * gio/gfilenamecompleter.h:
1369 * gio/gfileoutputstream.c:
1370 * gio/gfilterinputstream.c:
1372 * gio/ginputstream.c:
1374 * gio/gioscheduler.c:
1375 * gio/gloadableicon.c:
1376 * gio/glocaldirectorymonitor.c:
1378 * gio/glocalfileinputstream.c:
1379 * gio/glocalfilemonitor.c:
1380 * gio/glocalfileoutputstream.c:
1382 * gio/gmemoryinputstream.c:
1383 * gio/gmemoryoutputstream.c:
1384 * gio/gmountoperation.c:
1385 * gio/goutputstream.c:
1386 * gio/gpollfilemonitor.c:
1388 * gio/gsimpleasyncresult.c:
1389 * gio/gsocketinputstream.c:
1390 * gio/gsocketoutputstream.c:
1391 * gio/gthemedicon.c:
1392 * gio/gunionvolumemonitor.c:
1394 * gio/gunixmounts.c:
1395 * gio/gunixvolume.c:
1396 * gio/gunixvolumemonitor.c:
1400 * gio/gvolumemonitor.c:
1401 * gio/gwin32appinfo.c:
1402 Add (mostly stub) doc strings to public functions.
1403 Patch from Andrew Walton (awalton@gmail.com)
1405 2007-11-06 Alexander Larsson <alexl@redhat.com>
1407 * gio/gappinfo.[ch]:
1408 Added GAppLaunchContext object and pass that to launch.
1409 This allows simple implementation of both
1410 launch-on-screen and startup notification via a gtk+
1411 subclass of GAppLaunchContext
1413 * gio/gdesktopappinfo.c:
1414 Implement GAppLaunchContext API
1416 * gio/gwin32appinfo.c:
1419 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1421 * gio/gmountoperation.c:
1422 Add some guards to GMountOperation's public functions.
1424 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1428 * gio/gcancellable.c:
1429 * gio/gdirectorymonitor.c:
1431 * gio/gfileenumerator.c:
1432 * gio/gfilemonitor.c:,
1433 * gio/gfilenamecompleter.c:
1436 * gio/gioscheduler.c:
1440 * gio/gvolumemonitor.c:
1441 Add even more guards to various public functions.
1443 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1446 Add guards to the public functions of GAppInfo.
1448 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1450 * gio/gcontenttype.c:
1451 Add some more guards for public functions.
1453 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1455 * gio/fam/fam-module.c:
1456 * gio/fam/gfamdirectorymonitor.c:
1457 * gio/fam/gfamdirectorymonitor.h:
1458 * gio/fam/gfamfilemonitor.c:
1459 * gio/fam/gfamfilemonitor.h:
1460 * gio/inotify/ginotifydirectorymonitor.c:
1461 * gio/inotify/ginotifydirectorymonitor.h:
1462 * gio/inotify/ginotifyfilemonitor.c:
1463 * gio/inotify/ginotifyfilemonitor.h:
1464 Add proper copyright information and remove an unused variable
1465 in the GInotifyFileMonitor constructor.
1467 * gio/gcancellable.c:
1468 Add a guard for a public function and an assertion to prevent
1469 an undefined program state.
1471 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1473 * gio/gfileattribute.c:
1474 Don't run into an assertion if the given attribute value is NULL
1475 in g_file_attribute_value_get_*() but instead return a fallback
1476 value that makes sense in most situations. Passing them a attribute
1477 value with the wrong type will still run into an assertion.
1479 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1481 * gio/gfileattribute.c:
1483 Add even more guards to the public functions. Also fix the refcounting
1484 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1485 let g_file_info_list_attributes() filter the attributes by namespace
1486 instead of simply ignoring the namespace parameter.
1488 2007-11-03 Sven Herzberg <sven@imendio.com>
1490 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1491 (This makes gio work on MacOS X again)
1493 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1496 Build the gio subdirectory before the docs. Otherwise the build will
1499 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1500 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1501 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1502 Add guards to the public functions.
1504 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1506 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1507 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1508 to prevent a compiler warning.
1510 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1511 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1512 return something in the non-void function find_topdir_for().
1514 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1521 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1523 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1524 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1525 * gwin32appinfo.c (g_win32_app_info_launch):
1526 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1527 envp_for_startup_id, g_desktop_app_info_launch,
1528 g_desktop_app_info_launch_uris):
1530 Give an opaque 'startup_id' string instead of 'envp'.
1531 Support empty file lists for launching new windows.
1532 Fix infinite recursion bug when launching URIs.
1534 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1537 Add guard to the new g_file_get_uri_scheme() function.
1539 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1542 Convert a g_return_val_if_fail() to setting the GError instead as
1543 otherwise applications have to verify the parameter before otherwise
1544 and the parameter might come directly from the user.
1546 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1548 * gio/inotify/ginotify*.[ch]:
1549 Add missing copyright information.
1551 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1554 Add guards in the beginning of public functions to check for valid
1555 parameters and fix a bug in copy_stream_with_progress() that could've
1556 caused writing less bytes than reading.
1557 * gio/glocalfileinfo.c:
1558 Check for a NULL parameter and set the GError accordingly then.
1559 * gio/goutputstream.c:
1560 Fix the same bug as in gfile.c that could've caused writing less bytes
1561 than reading in g_output_stream_real_splice().
1563 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1566 Use the correct gvolumeprivate.h naming
1568 2007-11-01 Christian Kellner <gicmo@gnome.org>
1571 Remove leftover "$(daemon_sources)" entry.
1573 2007-11-01 Christian Kellner <gicmo@gnome.org>
1578 Add copyright information to source files.
1580 2007-11-01 Alexander Larsson <alexl@redhat.com>
1584 Add g_file_get_uri_scheme
1586 2007-11-01 Alexander Larsson <alexl@redhat.com>
1589 * gio/gdesktopappinfo.c:
1590 * gio/gwin32appinfo.c:
1591 Add g_app_info_get_default_for_uri_scheme.
1593 2007-11-01 Alexander Larsson <alexl@redhat.com>
1596 Correct filename for gdriveprivate.h
1598 2007-10-31 Alexander Larsson <alexl@redhat.com>
1601 Rename id:value to id:file
1604 * gio/glocalfileinfo.c:
1607 2007-10-31 Alexander Larsson <alexl@redhat.com>
1609 * gio/gunixvolume.c:
1611 Remove g_volume_get_platform_id, as thats not
1612 needed with the simpler union volume monitor
1614 2007-10-31 Alexander Larsson <alexl@redhat.com>
1617 * gio/guniondrive.[ch]: Removed.
1618 * gio/gunionvolume.[ch]: Removed.
1619 Remove GUnionDrive/Volume
1621 * gio/gunionvolumemonitor.c:
1622 Simplify union volume monitor, now we
1623 only have one native volume monitor and
1624 we use the actual volumes/drives from the
1625 child monitors instead of wrapping them
1627 * gio/gnativevolumemonitor.[ch]:
1628 Base class for native volume monitors.
1629 Includes priority and get_volume_for_mountpoint
1632 Add g_file_find_enclosing_volume
1635 Remove volume name fs attribute
1636 Add readonly fs attribute
1639 Implement readonly attribute
1640 remove volume name attribute
1641 Implement find_enclosing volume
1643 * gio/gunixmounts.c:
1644 Add a volume for "/".
1646 * gio/gunixvolume.[ch]:
1647 Set better name for /
1649 * gio/gunixvolumemonitor.[ch]:
1650 Derive from GNativeVolumeMonitor
1651 Implement get_volume_for_mountpoint
1654 GVolume typedef moved to gfile.h
1656 * gio/gvolumeprivate.h:
1657 Add g_volume_get_for_mount_path
1659 2007-10-31 Alexander Larsson <alexl@redhat.com>
1661 * gio/gunixmounts.[ch]:
1662 Add cache info to unix mount listers
1663 Make getmntent use threadsafe
1664 Add is_system_internal attribute for GUnixMount
1666 * gio/gunixvolume.c:
1667 (g_unix_volume_new):
1668 Use is_system_internal instead of own code
1670 * gio/glocaldirectorymonitor.c:
1671 * gio/gunixvolumemonitor.c:
1672 Update to new gunixmounts API
1677 2007-10-30 Alexander Larsson <alexl@redhat.com>
1680 Add volume name fsinfo attribute
1683 Read volume name info
1685 * gio/gunionvolumemonitor.c:
1686 Fix infinite loops when finalizing a union volume monitor
1688 2007-10-30 Alexander Larsson <alexl@redhat.com>
1690 * gio/goutputstream.[ch]:
1691 Add splice() with default implementation
1693 * gio/gsocketoutputstream.c:
1694 (g_socket_output_stream_write):
1695 Return error on cancellation correctly.
1697 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1699 * gio/glocalfile.c (g_local_file_trash):
1700 Do not leak a string.
1702 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1704 * gio/gfile.c (g_file_load_contents):
1705 Unref the stream after closing it.
1707 2007-10-25 Alexander Larsson <alexl@redhat.com>
1709 * gio/gioscheduler.h:
1712 2007-10-25 Alexander Larsson <alexl@redhat.com>
1716 Add g_file_has_uri_scheme and implement for local files
1718 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1720 * gio/gdesktopappinfo.c: do not leak a string.
1722 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1724 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1725 (g_local_directory_monitor_new):
1726 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1727 (g_local_file_monitor_new):
1728 Only look for the monitor type that should be used the first time
1729 and use g_qsort_with_data() instead of our own bubble sort
1732 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1735 * gio/fam/Makefile.am:
1736 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1737 * gio/fam/fam-helper.h:
1738 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1739 * gio/fam/gfamdirectorymonitor.c:
1740 * gio/fam/gfamdirectorymonitor.h:
1741 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1742 * gio/fam/gfamfilemonitor.h:
1743 * gio/glocaldirectorymonitor.c:
1744 * gio/glocaldirectorymonitor.h:
1745 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1746 * gio/glocalfilemonitor.h:
1747 * gio/inotify/Makefile.am:
1748 * gio/inotify/ginotifydirectorymonitor.c:
1749 * gio/inotify/ginotifydirectorymonitor.h:
1750 * gio/inotify/ginotifyfilemonitor.c:
1751 * gio/inotify/ginotifyfilemonitor.h:
1752 Implement the FAM and Inotify monitors as
1753 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1754 their own GIO module. GLocal(Directory|File)Monitor will use the
1755 monitor with the highest rank that is supported on that machine.
1757 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1760 Change GIO module dir to $(libdir)/gio/modules and change
1761 the log domain from GVFS to GIO. Also only export symbols starting
1762 with g_ in the resulting library.
1763 * gio/test-streams.c: (main):
1764 Set log handler for the GIO log domain.
1766 2007-10-22 Alexander Larsson <alexl@redhat.com>
1768 * gio/gfilenamecompleter.[ch]:
1769 Add g_filename_completer_set_dirs_only
1771 2007-10-22 Alexander Larsson <alexl@redhat.com>
1774 * gio/gurifuncs.[ch]:
1775 Add some simple URI helpers
1777 * gio/gfilenamecompleter.[ch]:
1778 Added object for filename (parse name actually) completion
1781 Handle ~ in parse names
1783 2007-10-17 Alexander Larsson <alexl@redhat.com>
1786 * gio/glocalfileinfo.c:
1787 Add and implement id:value attribute
1789 2007-10-17 Alexander Larsson <alexl@redhat.com>
1792 * gio/guniondrive.c:
1794 Add and implement g_drive_has_volumes
1796 2007-10-17 Alexander Larsson <alexl@redhat.com>
1799 * gio/glocalfileinfo.[ch]:
1800 Add unix:is_mountpoint and implement for local files
1802 2007-10-16 Alexander Larsson <alexl@redhat.com>
1804 * gio/gunionvolumemonitor.c:
1805 (g_union_volume_monitor_init):
1806 Fix up the unix type getting so that it works with gcc
1808 2007-10-12 Alexander Larsson <alexl@redhat.com>
1811 * gio/glocalfileinfo.c:
1812 Add thumbnail:failed to file info
1814 2007-10-12 Richard Hult <richard@imendio.com>
1816 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1817 optimizing away the get_type call (happens with some gcc versions,
1818 like the one shipped with OS X 10.4).
1820 2007-10-12 Alexander Larsson <alexl@redhat.com>
1822 * gio/glocalfileinfo.c:
1823 (_g_local_file_info_set_attribute):
1824 Fix build if not HAVE_XATTR
1825 Patch from Milosz Derezynski <internalerror@gmail.com>
1827 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1829 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1830 around for review, otherwise I would have asked you before
1833 2007-10-11 Alexander Larsson <alexl@redhat.com>
1836 Add thumbnail:path attribute
1838 * gio/glocalfileinfo.c:
1839 Implement thumbnail:path for local files
1841 2007-10-11 Alexander Larsson <alexl@redhat.com>
1843 * gio/glocalfileinfo.c:
1844 (_g_local_file_info_get):
1845 Avoid duplicate icon names
1847 2007-10-11 Alexander Larsson <alexl@redhat.com>
1849 * gio/gthemedicon.[ch]:
1850 Change g_themed_icon_get_names return type to const
1852 2007-10-10 Alexander Larsson <alexl@redhat.com>
1854 * gio/glocalfileinfo.c:
1855 Don't reference freed memory
1857 2007-10-10 Alexander Larsson <alexl@redhat.com>
1859 * gio/gfileattribute.c:
1862 * gio/glocalfileinfo.c:
1865 2007-10-10 Alexander Larsson <alexl@redhat.com>
1868 Check for NULL icons
1870 * gio/gfileattribute.c:
1871 Don't dup when getting objects (same as for string attributes)
1873 * gio/gicon.c (g_icon_equal):
1874 Safely handle NULLs in equal
1876 2007-10-10 Alexander Larsson <alexl@redhat.com>
1879 Fix c++ compilation issues
1880 Patch from Milosz Derezynski <internalerror@gmail.com>
1882 2007-10-10 Alexander Larsson <alexl@redhat.com>
1884 * programs/gio-monitor-dir.c:
1885 Don't crash if dir monitor not supported.
1887 2007-10-09 Alexander Larsson <alexl@redhat.com>
1890 Add missing G_END_DECLS
1892 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1894 * gio/gfile.c: (g_file_set_display_name),
1895 (g_file_query_settable_attributes),
1896 (g_file_query_writable_namespaces):
1897 Return NULL not FALSE on errors as the return type is a pointer.
1899 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1901 * gio/glocalfile.c: (g_local_file_monitor_file):
1902 Don't call monitor_file on the default interface vtable (which
1903 is NULL) but simply return NULL. The caller, GFile, will create a
1904 polling monitor if NULL is returned.
1906 2007-10-09 Alexander Larsson <alexl@redhat.com>
1910 * gio-unix-2.0.pc.in:
1911 Add gio-unix-2.0.pc if OS_UNIX
1914 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1916 2007-10-09 Alexander Larsson <alexl@redhat.com>
1918 * gio/gunixmounts.[ch]:
1919 Make unix mount monitoring API sane.
1920 Now its just a object with mounts_changed
1921 and mountpoints_changed signals.
1923 * gio/glocaldirectorymonitor.c:
1924 * gio/gunixvolumemonitor.c:
1925 Use new mount monitor api
1927 2007-10-09 Alexander Larsson <alexl@redhat.com>
1929 * gio/gunixmounts.[ch]:
1930 Move guess type into one call for mounts and one for mountpoints
1933 * gio/gunixvolume.c:
1936 2007-10-09 Alexander Larsson <alexl@redhat.com>
1938 * gio/gunixmounts.[ch]:
1939 Remove _ prefix in preparation to make this semi-public
1940 Hide implementation of structs
1942 * gio/glocaldirectorymonitor.c:
1944 * gio/gunixvolume.c:
1945 * gio/gunixvolumemonitor.c:
1946 Update for above API changes
1948 2007-10-08 Alexander Larsson <alexl@redhat.com>
1951 Better polling fallback. This also handles the case where we have
1952 a monitor_file implementation, but it fails.
1954 2007-10-08 Alexander Larsson <alexl@redhat.com>
1958 * gio/gunixmounts.c:
1959 * programs/gio-monitor-dir.c:
1960 * programs/gio-monitor-file.c:
1961 Added cancellable to file monitoring calls.
1962 These are really sync calls and need this.
1964 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1966 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1967 (g_local_vfs_class_init):
1968 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1969 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1971 2007-10-05 Alexander Larsson <alexl@redhat.com>
1973 * gio/gdirectorymonitorprivate.h:
1974 * gio/gfilemonitorprivate.h:
1975 * gio/gdirectorymonitor.h:
1976 * gio/gfilemonitor.h:
1977 Remove *private.h and move to the public API, so that
1978 we can do implementations outside gio (such as in gvfs)
1980 * gio/gdirectorymonitor.c:
1981 * gio/gfilemonitor.c:
1982 * gio/glocaldirectorymonitor.c:
1983 * gio/gpollfilemonitor.c:
1984 * gio/inotify/inotify-helper.c:
1985 * gio/fam/fam-helper.c:
1986 Update to the new header names
1988 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1990 * gio/gdirectorymonitor.c:
1991 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1994 2007-10-04 Alexander Larsson <alexl@redhat.com>
1996 * gio/glocalfileinfo.c (get_access_rights):
1997 Set CAN_TRASH when we can move the file.
1998 We should really also check for a parent trash dir.
2000 2007-10-04 Alexander Larsson <alexl@redhat.com>
2002 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2003 Add can_trash access attribute
2005 2007-10-04 Alexander Larsson <alexl@redhat.com>
2008 (g_local_file_trash):
2009 Create info file first. This is per-spec and allows
2010 us to actually trash directories.
2012 2007-10-02 Alexander Larsson <alexl@redhat.com>
2014 * gio/gdesktopappinfo.c:
2015 Implement the new mime support code.
2016 Always set app as handling mimetype when being set as default for it
2018 2007-10-01 Alexander Larsson <alexl@redhat.com>
2020 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2021 Fix up check for xattrs:
2023 2007-10-01 Alexander Larsson <alexl@redhat.com>
2026 (g_app_info_set_as_default_for_extension):
2027 (g_app_info_add_supports_type):
2028 (g_app_info_can_remove_supports_type):
2029 (g_app_info_remove_supports_type):
2030 Make these fail nicely if not implemented
2032 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2034 * gio/glocalfileoutputstream.c:
2035 * gio/glocalfileoutputstream.h:
2040 * programs/gio-save.c:
2041 Add a GFileCreateFlags argument to operations that can create
2044 2007-10-01 Alexander Larsson <alexl@redhat.com>
2046 * gio/gappinfo.[ch]:
2047 * gio/gdesktopappinfo.c:
2048 Add more (stubbed out) mime API needed for nautilus
2050 2007-10-01 Alexander Larsson <alexl@redhat.com>
2053 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2054 Add g_app_info_set_as_default_for_extension.
2056 * gio/gdesktopappinfo.c:
2057 Dummy for g_app_info_set_as_default_for_extension
2058 Support flags in g_app_info_create_from_commandline
2060 * gio/gwin32appinfo.c:
2062 Update for API changes
2064 * gio/gthemedicon.c:
2065 Properly NULL-terminate list of icon names
2067 2007-09-28 Alexander Larsson <alexl@redhat.com>
2069 * gio/gloadableicon.h:
2070 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2072 2007-09-28 Alexander Larsson <alexl@redhat.com>
2075 Install headers in $includedir/gio-standalone/
2077 * gio-2.0.pc.in: Added.
2078 * gio-standalone.pc.in: Removed.
2081 Renamed pkg-config file to match glib (for future move)
2082 Update to the new include dir
2085 Add more TODO comments
2087 2007-09-28 Alexander Larsson <alexl@redhat.com>
2089 * gio/gdesktopappinfo.[ch]:
2090 Expose new_from_filename
2091 Add getter for is_hidden and handle it better
2093 2007-09-28 Alexander Larsson <alexl@redhat.com>
2095 * gio/gfileinfo.[ch]:
2096 Rename g_file_size_format_for_display to
2097 g_format_file_size_for_display.
2098 Now it doesn't have the g_file prefix, so we
2099 can later move it to glib.
2101 2007-09-28 Alexander Larsson <alexl@redhat.com>
2103 * gio/gappinfo.[ch]:
2104 Add g_app_info_get_id and g_app_info_get_executable.
2105 Make all getters non-reffing
2106 Make g_app_info_launch take GFile arguments.
2107 Add must_support_uris argument to g_app_info_get_default_for_type.
2109 * gio/gwin32appinfo.c:
2110 Update to GAppInfo api changes
2112 * gio/gdesktopappinfo.c:
2113 Update to GAppInfo api changes
2114 Implement supports_xdg_startup_notify
2116 * gio/gfileicon.c (g_file_icon_get_file):
2117 Make getter non-reffing.
2122 2007-09-27 Alexander Larsson <alexl@redhat.com>
2124 * gio/gfileinfo.[ch]:
2125 Add g_file_size_format_for_display helper
2127 2007-09-27 Alexander Larsson <alexl@redhat.com>
2129 * gio/glocalfileinfo.c:
2130 Set UNIX_GID from gid, not from uid
2132 2007-09-27 Alexander Larsson <alexl@redhat.com>
2135 Add g_file_set_attributes_async
2137 2007-09-27 Alexander Larsson <alexl@redhat.com>
2139 * gio/glocalfile.c (g_local_file_set_display_name):
2140 Fix set_display_name to actually rename to the right place.
2141 Use lstat to look for existing files so we don't overwrite
2144 2007-09-26 Alexander Larsson <alexl@redhat.com>
2147 Add g_file_set_display_name_async()
2149 2007-09-26 Alexander Larsson <alexl@redhat.com>
2152 Add load_partial_contents async calls
2155 Make internal function static
2157 2007-09-26 Alexander Larsson <alexl@redhat.com>
2159 * gio/glocalfileinfo.c:
2160 Correctly detect broken symlinks
2162 2007-09-26 Alexander Larsson <alexl@redhat.com>
2164 * gio/gcancellable.c (g_cancellable_cancel):
2165 Allow cancel on NULL cancellable
2167 2007-09-25 Alexander Larsson <alexl@redhat.com>
2169 * gio/gsimpleasyncresult.c:
2170 Don't allocate g_error manually.
2171 Fixes g_slice/g_new mixup crash
2173 2007-09-25 Alexander Larsson <alexl@redhat.com>
2175 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2176 Actually set active_backend.
2177 This means the monitor will be cancelled correctly.
2179 2007-09-25 Alexander Larsson <alexl@redhat.com>
2181 * gio/gdirectorymonitor.c:
2182 Set timeout to NULL when destroying
2184 2007-09-25 Alexander Larsson <alexl@redhat.com>
2187 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2188 that is a better description of the error.
2190 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2192 * gio/gvfs.c: (g_vfs_get_local):
2193 Make the local vfs variable static. The same instance should
2196 2007-09-24 Alexander Larsson <alexl@redhat.com>
2198 * gio/glocalfileinfo.c:
2199 Pass in actual length read into sniffer, not the length
2202 2007-09-21 Alexander Larsson <alexl@redhat.com>
2204 * gio/gfileenumerator.c:
2207 * gio/gfileinputstream.c:
2208 * gio/gfileoutputstream.c:
2209 * gio/ginputstream.c:
2210 * gio/goutputstream.c:
2211 Don't crash if async callbacks are NULL
2213 2007-09-20 Alexander Larsson <alexl@redhat.com>
2216 Add async enumerate_children method and default
2219 2007-09-20 Alexander Larsson <alexl@redhat.com>
2222 Add g_file_contains_file & g_file_get_relative_path, since they
2223 were needed for nautilus.
2224 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2229 Implement new methods
2231 2007-09-17 Alexander Larsson <alexl@redhat.com>
2234 * gio/gfileinputstream.[ch]:
2235 * gio/gfileoutputstream.[ch]:
2237 * gio/glocalfileenumerator.[ch]:
2238 * gio/glocalfileinfo.[ch]:
2239 * gio/glocalfileinputstream.c:
2240 * gio/glocalfileoutputstream.c:
2241 * gio/gpollfilemonitor.c:
2242 * programs/gio-copy.c:
2243 * programs/gio-info.c:
2244 * programs/gio-move.c:
2245 Rename get_file_info to query_info() to make it clearer
2246 that these are not simple getters, but do i/o.
2248 2007-09-17 Alexander Larsson <alexl@redhat.com>
2250 * gio/gdatainputstream.[ch]:
2251 * gio/test-streams.c:
2252 Use _read_XXX instead of _get_XXX for the i/o calls
2255 2007-09-17 Alexander Larsson <alexl@redhat.com>
2258 Added needed stuff to TODO comment
2260 2007-09-17 Alexander Larsson <alexl@redhat.com>
2262 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2263 Don't error out removing the backup copy if it doesn't
2266 2007-09-14 Alexander Larsson <alexl@redhat.com>
2268 * programs/Makefile.am:
2269 * programs/gvfs-*.c:
2271 Renamed apps from gvfs-xxx to gio-xxx.
2273 2007-09-14 Alexander Larsson <alexl@redhat.com>
2276 * gio/gfileoutputstream.[ch]:
2277 * gio/glocalfileoutputstream.c:
2278 * programs/gvfs-save.c:
2279 g_file_output_stream_get_etag doesn't do i/o, so remove
2280 cancellation and error.
2282 2007-09-14 Alexander Larsson <alexl@redhat.com>
2285 Add new_etag output to replace_contents functions
2287 2007-09-14 Alexander Larsson <alexl@redhat.com>
2289 * gio/gfileoutputstream.[ch]:
2290 Add async get_file_info and default implementation
2292 2007-09-14 Alexander Larsson <alexl@redhat.com>
2294 * gio/gfileinputstream.c:
2295 Implement fallback wrapper for async get_file_info
2297 2007-09-14 Alexander Larsson <alexl@redhat.com>
2300 Add etag out argument to load_contents
2305 2007-09-14 Alexander Larsson <alexl@redhat.com>
2307 * gio/gcontenttype.c (looks_like_text):
2308 Whitespace like tab, cr and lf do not make the
2311 2007-09-14 Alexander Larsson <alexl@redhat.com>
2313 * gio/gfileinputstream.[ch]:
2314 Add async get_file_info.
2316 2007-09-13 Alexander Larsson <alexl@redhat.com>
2318 * gio/goutputstream.c (g_output_stream_write_all):
2319 Allow NULL for bytes_written
2321 2007-09-13 Alexander Larsson <alexl@redhat.com>
2323 * gio/gmemoryinputstream.[ch]:
2324 Add accessors for data
2326 2007-09-13 Alexander Larsson <alexl@redhat.com>
2328 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2329 Don't crash if length is NULL