1 2007-12-14 Matthias Clasen <mclasen@redhat.com>
6 2007-12-14 Matthias Clasen <mclasen@redhat.com>
9 * gdesktopappinfo.c: Use hash table iterators.
11 2007-12-14 Alexander Larsson <alexl@redhat.com>
14 * gfileattribute.[ch]:
15 * gfileattribute-priv.h:
16 Move GFileAttributeValue to a private header, as
20 Make set_attribute take a type + a pointer instead
21 of a GFileAttributeValue.
24 Fix up for above changes.
25 Add g_file_info_get_attribute_data to get
26 all info in one call, g_file_info_get_attribute_status
27 to get the status and g_file_info_get_attribute_as_string.
31 * glocalfileinfo.[ch]:
35 Make _guess_type static.
37 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
40 * inotify/Makefile.am: Fixed build when srcdir != builddir,
41 made mkenums and friends use temporary files to avoid leaving
42 empty generated files on failure (#503470).
44 2007-12-14 Alexander Larsson <alexl@redhat.com>
49 2007-12-14 Alexander Larsson <alexl@redhat.com>
53 * gfileattribute.[ch]:
56 * glocalfileoutputstream.c:
57 * gmountoperation.[ch]:
59 Clean up all flags enums to not have _FLAGS in them
60 Make the names of some of the enums better.
65 2007-12-14 Michael Natterer <mitch@imendio.com>
67 * gio.symbols: fix g_io_scheduler symbol names.
69 2007-12-14 Alexander Larsson <alexl@redhat.com>
75 * gbufferedinputstream.h:
76 * gbufferedoutputstream.h:
80 * gdataoutputstream.h:
82 * gdirectorymonitor.h:
91 * gfilenamecompleter.h:
92 * gfileoutputstream.h:
93 * gfilterinputstream.h:
94 * gfilteroutputstream.h:
102 * gmemoryinputstream.h:
103 * gmemoryoutputstream.h:
108 * gsimpleasyncresult.h:
110 * gunixinputstream.h:
112 * gunixoutputstream.h:
116 * inotify/Makefile.am:
117 Only allow including <gio/gio.h> from apps
119 2007-12-14 Alexander Larsson <alexl@redhat.com>
122 * gsimpleasyncresult.c:
123 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
124 Split out the send_to_mainloop call into two versions instead
125 of having the block argument.
127 2007-12-13 Alexander Larsson <alexl@redhat.com>
131 * gbufferedinputstream.c:
133 * gfileinputstream.c:
134 * gfileoutputstream.c:
138 g_push/pop_current_cancellable ->
139 g_cancellable_push/pop_current
141 2007-12-13 Alexander Larsson <alexl@redhat.com>
145 Rename g_mount_for_location to g_file_mount_enclosing_volume.
147 2007-12-13 Alexander Larsson <alexl@redhat.com>
150 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
152 2007-12-12 Alexander Larsson <alexl@redhat.com>
155 Fix race condition when freeing proxy in
156 g_io_job_send_to_mainloop().
158 2007-12-12 Alexander Larsson <alexl@redhat.com>
164 Make attribute namespace separator "::" instead of ":".
165 Use - instead of _ as separator in attribute names.
167 2007-12-12 Alexander Larsson <alexl@redhat.com>
169 * gbufferedinputstream.h:
170 * gbufferedoutputstream.h:
171 * gdatainputstream.h:
172 * gdataoutputstream.h:
173 * gdirectorymonitor.h:
175 * gfileinputstream.h:
177 * gfileoutputstream.h:
178 * gfilterinputstream.h:
179 * gfilteroutputstream.h:
181 * glocalfileinputstream.h:
182 * glocalfileoutputstream.h:
183 * gmemoryinputstream.h:
184 * gmemoryoutputstream.h:
185 * gnativevolumemonitor.h:
187 * gunixinputstream.h:
188 * gunixoutputstream.h:
191 s/parent/parent_instance/ in GObjects
193 2007-12-12 Alexander Larsson <alexl@redhat.com>
198 No need for padding for interfaces
200 2007-12-12 Alexander Larsson <alexl@redhat.com>
204 * gbufferedinputstream.c:
205 * gbufferedoutputstream.c:
208 * gdatainputstream.[ch]:
210 * gdirectorymonitor.c:
212 * gfileattribute.[ch]:
215 * gfileinputstream.h:
217 * gfileoutputstream.[ch]:
218 * gfilterinputstream.h:
219 * gfilteroutputstream.h:
222 * gloadableicon.[ch]:
223 * gmemoryinputstream.c:
226 Fix up a bunch of details in the docs.
231 2007-12-11 David Zeuthen <davidz@redhat.com>
233 Rework how volumes, drives and volume monitoring is
234 done. Previosly the model was
238 where a GDrive instance represented a mount point and a GVolume
239 instance represented a mounted file system. This patch changes it
242 GDrive <1-N> GVolume <1-1> GMount
244 where GMount now serves the purpose of the old GVolume and the new
245 GVolume serves the purpose of the old GDrive. In addition the new
246 GDrive interface is used to represent a collection of GVolume
247 instances (typically partitions) and also contains utility to query
248 the state of the physical drive the GDrive object represents (such
249 as checking for media, polling the drive, ejecting the media etc.).
251 Also implement mounting and unmounting in the Unix volume monitor
252 backend. A subquent patch will introduce GDrive support for ejection
256 * gdrive.c: (g_drive_is_media_check_automatic),
257 (g_drive_is_media_removable), (g_drive_has_media),
258 (g_drive_can_poll_for_media), (g_drive_eject),
259 (g_drive_eject_finish), (g_drive_poll_for_media),
260 (g_drive_poll_for_media_finish):
262 * gfile.c: (g_file_find_enclosing_mount):
265 * glocaldirectorymonitor.c:
266 (g_local_directory_monitor_constructor), (mounts_changed):
267 * glocalfile.c: (get_mount_info),
268 (g_local_file_find_enclosing_mount),
269 (g_local_file_file_iface_init):
270 * gnativevolumemonitor.h:
271 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
272 (get_connected_drives), (g_union_volume_monitor_class_init),
273 (child_volume_added), (child_volume_removed),
274 (child_volume_changed), (child_mount_added), (child_mount_removed),
275 (child_mount_pre_unmount), (child_mount_changed),
276 (child_drive_changed), (g_union_volume_monitor_add_monitor),
277 (g_union_volume_monitor_remove_monitor),
278 (_g_mount_get_for_mount_path):
279 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
280 (guess_system_internal), (_g_get_unix_mounts),
281 (_g_get_unix_mount_points), (g_get_unix_mount_at),
282 (g_unix_mount_free), (g_unix_mount_compare),
283 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
284 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
285 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
286 (type_to_icon), (g_unix_mount_guess_name),
287 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
288 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
289 (_resolve_symlink), (_resolve_dev_root):
291 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
292 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
293 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
294 (g_unix_volume_get_name), (g_unix_volume_can_mount),
295 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
296 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
297 (g_unix_volume_mount), (g_unix_volume_mount_finish),
298 (g_unix_volume_volume_iface_init):
300 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
301 (get_mounts), (get_volumes), (get_connected_drives),
302 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
303 (mountpoints_changed), (mounts_changed),
304 (g_unix_volume_monitor_init),
305 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
306 (find_mount_by_mountpath), (update_volumes), (update_mounts):
307 * gunixvolumemonitor.h:
308 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
309 (g_volume_mount), (g_volume_mount_finish):
311 * gvolumemonitor.c: (g_volume_monitor_class_init),
312 (g_volume_monitor_get_connected_drives),
313 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
316 2007-12-10 Matthias Clasen <mclasen@redhat.com>
318 * gmountoperation.h (GPasswordFlags): Close the gap
320 2007-12-10 Matthias Clasen <mclasen@redhat.com>
322 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
324 * gdesktopappinfo.[hc]: Remove _-prefixes
326 2007-12-10 Tor Lillqvist <tml@novell.com>
328 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
331 2007-12-10 Alexander Larsson <alexl@redhat.com>
333 * gfile.c (g_file_set_display_name):
334 Don't hardcode '/' (#502727)
336 2007-12-09 Hans Breuer <hans@breuer.org>
338 * makefile.msc : follow lib naming convention
339 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
340 for user and group name, tested with ../tests/gio-ls
342 2007-12-09 A. Walton <awalton@svn.gnome.org>
355 * gmemoryinputstream.c:
356 * gmemoryoutputstream.c:
358 * gsimpleasyncresult.c:
359 More documentation cleanup and filling in missing information, bringing
360 GIO to 99% symbol coverage.
362 2007-12-08 Hans Breuer <hans@breuer.org>
364 [gio compiles and links on win32, not sure how much already works]
365 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
366 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
367 base on win32 API; prefer g_lstat() over lstat(); instead of
368 localtime_r() use an all GLib implementation on win32;
369 get_mount_info() still needs a win32 specifc implementation
370 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
371 win32_get_file_user_info to get owner/group info without uid/gid
372 * glocalfileinputstream.c : include <io.h> on win32
373 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
374 definition, use g_win32_ftruncate() for G_OS_WIN32
375 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
376 it is available with mingw/w32api but a mess with the M$ Platform SDKs
377 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
378 * makefile.msc : updated
380 2007-12-07 Alexander Larsson <alexl@redhat.com>
382 * glocalfileenumerator.c (_g_local_file_enumerator_new):
383 Avoid warning spew if error == NULL
385 2007-12-07 Alexander Larsson <alexl@redhat.com>
388 Update docs wrt etags
390 2007-12-06 Alexander Larsson <alexl@redhat.com>
393 Include sys/types.h for dev_t (#501919)
395 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
399 Make abicheck and pltcheck pass.
401 2007-12-05 Alexander Larsson <alexl@redhat.com>
404 * giomodule-priv.h: Added.
405 * glocaldirectorymonitor.c:
406 * glocalfilemonitor.c:
407 * gunionvolumemonitor.c:
409 Actually add the declaration of _g_io_modules_ensure_loaded
411 2007-12-05 Alexander Larsson <alexl@redhat.com>
413 * gdatainputstream.c:
418 * glocaldirectorymonitor.c:
419 * glocalfilemonitor.c:
420 * gunionvolumemonitor.c:
422 Make g_io_modules_ensure_loaded a private function and
423 don't pass in the dirname. This means we can do magic
424 directory finding in the win32 version.
425 Export the actual load-modules-in-directory code so that
428 2007-12-05 Alexander Larsson <alexl@redhat.com>
430 * gbufferedinputstream.c:
431 * gbufferedoutputstream.c:
434 * gfileenumerator.[ch]:
435 * gfileinputstream.c:
436 * gfileoutputstream.[ch]:
437 * gfilterinputstream.c:
438 * gfilteroutputstream.c:
441 * glocalfileenumerator.c:
442 * glocalfileinputstream.c:
443 * glocalfileoutputstream.c:
444 * gmemoryinputstream.c:
445 * gmemoryoutputstream.c:
446 * goutputstream.[ch]:
449 * gunixinputstream.c:
450 * gunixoutputstream.c:
451 Rename all struct members named:
452 read, write, close, truncate, or mount
453 to foo_fn, as these are reserved names
454 and could be defined as macros in libc.
457 2007-12-04 Alexander Larsson <alexl@redhat.com>
460 (g_output_stream_close):
461 Only call flush if non-null.
463 2007-11-30 Dan Winship <danw@gnome.org>
465 * ginputstream.c (g_input_stream_set_pending): Make this take a
466 GError and return a gboolean, and do the "outstanding operation"
467 check (and the "stream is already closed" check) itself.
468 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
470 * goutputstream.c (g_output_stream_set_pending)
471 (g_output_stream_clear_pending): Likewise
473 * gbufferedinputstream.c:
474 * gfileinputstream.c:
475 * gfileoutputstream.c: Update for that
477 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
478 Like g_simple_async_report_error_in_idle, but takes a GError
479 rather than building one.
481 2007-11-30 Dan Winship <danw@gnome.org>
483 * goutputstream.c: Don't cheat and unset the "pending" flag around
484 inner calls. Instead, call the class method directly rather than
485 the wrapper function that checks "pending"
487 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
489 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
491 2007-12-03 Hans Breuer <hans@breuer.org>
493 [start of port to win32/msvc]
494 * gcancellable.c : HAVE_UNIST_H and _pipe()
495 * gcontenttype.c : only include <dirent.h> in the UNIX branch
496 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
497 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
499 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
500 * glocalvfs.c : use HAVE_PWD_H
501 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
502 * makefile.msc : new file (maybe later converted to makefile.msc.in)
503 * Makefile.am : added to EXTRA_DIST
505 2007-12-03 Matthias Clasen <mclasen@redhat.com>
507 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
510 2007-12-03 Alexander Larsson <alexl@redhat.com>
513 Handle OSX style xattrs API (#500506)
515 2007-12-03 Alexander Larsson <alexl@redhat.com>
519 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
521 2007-12-02 A. Walton <awalton@svn.gnome.org>
525 Documentation accuracy fixes.
527 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
529 * gioenumtypes.c.template: Fix typo.
531 2007-12-01 Matthias Clasen <mclasen@redhat.com>
533 * gioenumtypes.c.template: Make threadsafe get_type() functions.
535 2007-12-01 Matthias Clasen <mclasen@redhat.com>
537 * gdirectorymonitor.c:
538 * gfilemonitor.c: Add properties
540 * gbufferedoutputstream.c: Don't mark buffer-size property
543 2007-12-01 Matthias Clasen <mclasen@redhat.com>
545 * gbufferedoutputstream.c: Add auto-grow property.
547 2007-11-30 Matthias Clasen <mclasen@redhat.com>
549 * *.c: Unify the capitalization of section headings.
551 2007-11-30 Matthias Clasen <mclasen@redhat.com>
553 * gmountoperation.c: Add properties
555 * gdatainputstream.c: Turn byte-order and newline-type into
558 2007-11-30 Matthias Clasen <mclasen@redhat.com>
560 * gioenumtypes.[hc].template: Templates for enum registration
562 * Makefile.am: Generate gioenumtypes.[hc]
564 * gio.h: Include gioenumtypes.h
566 * gfile.h: Add some explicit nicks.
568 * gio.symbols: Add new symbols
570 * pltcheck.sh: Adjust
572 2007-11-30 Matthias Clasen <mclasen@redhat.com>
574 * *.c: Explain etags and link to the explanation
576 2007-11-29 Matthias Clasen <mclasen@redhat.com>
578 * *.c: Explain I/O priority.
580 * *.c: More coding style fixes.
582 2007-11-29 Matthias Clasen <mclasen@redhat.com>
584 * gasyncresult.c: Add another paragraph to the intro,
585 adjust coding style of example.
587 2007-11-29 A. Walton <awalton@svn.gnome.org>
590 Fixes unknown meaning in GAppLaunchContext docs.
592 Clarify asynchronous ops.
597 Provides missing gtk-doc section, fixes API docs slighly.
598 * gsimpleasyncresult.c:
599 Fill in missing info in docs.
600 * gunixinputstream.c:
601 * gunixoutputstream.c:
602 Be more expressive in short description.
604 Remove gtk-doc stubs for non-public API.
606 2007-11-28 Matthias Clasen <mclasen@redhat.com>
608 * *.c: Coding style fixups
610 2007-11-28 Matthias Clasen <mclasen@redhat.com>
612 * inotify/inotify-helper.c: Don't export the lock from libgio.
614 2007-11-28 Matthias Clasen <mclasen@redhat.com>
617 * abicheck.sh: Fix copy-and-paste leftovers
619 2007-11-28 Matthias Clasen <mclasen@redhat.com>
621 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
623 2007-11-28 Alexander Larsson <alexl@redhat.com>
627 Removed unnecessary file
629 * gdesktopappinfo.[ch]:
632 * glocaldirectorymonitor.[ch]:
634 * glocalfileenumerator.[ch]:
635 * glocalfileinputstream.[ch]:
636 * glocalfilemonitor.[ch]:
637 * glocalfileoutputstream.[ch]:
639 * gnativevolumemonitor.c:
640 * gpollfilemonitor.[ch]:
641 * gunionvolumemonitor.[ch]:
644 * gunixvolumemonitor.[ch]:
647 * inotify/ginotifydirectorymonitor.[ch]:
648 * inotify/ginotifyfilemonitor.[ch]:
649 * inotify/inotify-helper.c:
650 Append _ to all internal functions
654 Export symbols needed for modules
656 2007-11-28 Alexander Larsson <alexl@redhat.com>
659 * abicheck.sh: Added.
660 * makegioalias.pl: Added.
661 * pltcheck.sh: Added.
662 * gio.symbols: Added.
665 Initial work on adding symbol handling.
668 Correct ifdef guard name
671 * inotify/Makefile.am:
672 * xdgmime/Makefile.am:
673 Include toplevel Makefile.decl
675 2007-11-27 Matthias Clasen <mclasen@redhat.com>
677 * gcontenttype.c: Move doc comments to the unix section.
679 * *.[hc]: More trivial doc corrections.
681 2007-11-27 Matthias Clasen <mclasen@redhat.com>
683 * gpollfilemonitor.c:
692 * gdatainputstream.c:
693 * gdatainputstream.h:
694 * gdataoutputstream.c:
695 * gdataoutputstream.h:
696 * gfileinfo.h: Doc cleanups
698 2007-11-28 Andre Klapper <a9016009@gmx.de>
700 * gdesktopappinfo.c: Fix a typo.
702 2007-11-27 Andre Klapper <a9016009@gmx.de>
704 * glocalfileoutputstream.c: Fix a typo.
706 2007-11-27 Alexander Larsson <alexl@redhat.com>
709 Don't include removed headers
711 2007-11-27 Alexander Larsson <alexl@redhat.com>
714 * gsocketinputstream.[ch]: Removed.
715 * gsocketoutputstream.[ch]: Removed.
716 * gunixinputstream.[ch]: Added.
717 * gunixoutputstream.[ch]: Added.
718 Renamed GSocket*Stream to GUnix*Stream and made
719 it unix-only, since its not really only for sockets
720 and it only works on unix (but is highly useful there).
722 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
728 * gbufferedinputstream.c:
729 * gbufferedinputstream.h:
730 * gbufferedoutputstream.c:
731 * gbufferedoutputstream.h:
735 * gdatainputstream.c:
736 * gdatainputstream.h:
737 * gdataoutputstream.c:
738 * gdataoutputstream.h:
739 * gdirectorymonitor.c:
740 * gdirectorymonitor.h:
753 * gfileinputstream.c:
754 * gfileinputstream.h:
757 * gfilenamecompleter.c:
758 * gfilenamecompleter.h:
759 * gfileoutputstream.c:
760 * gfileoutputstream.h:
761 * gfilterinputstream.c:
762 * gfilterinputstream.h:
763 * gfilteroutputstream.c:
764 * gfilteroutputstream.h:
777 * glocalfileoutputstream.c:
778 * gmemoryinputstream.c:
779 * gmemoryinputstream.h:
780 * gmemoryoutputstream.c:
781 * gmemoryoutputstream.h:
786 * gpollfilemonitor.c:
789 * gsimpleasyncresult.c:
790 * gsimpleasyncresult.h:
791 * gsocketinputstream.c:
792 * gsocketinputstream.h:
793 * gsocketoutputstream.c:
794 * gsocketoutputstream.h:
801 * gunixvolumemonitor.c:
810 Bumps documentation to 93% symbol coverage, touching most
811 of the public files. Fixes broken function documentation prototypes.
812 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
813 gtk-doc headers in private files.
815 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
817 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
818 (g_buffered_input_stream_read_byte):
819 * gbufferedinputstream.h:
820 New functions for efficient access to buffer and simple single byte
823 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
824 (g_data_input_stream_read_until):
825 * gdatainputstream.h:
826 Use peek_buffer to avoid memcpy in scan_for_newline, implement
827 read_until with multiple stop chars.
829 2007-11-27 Alexander Larsson <alexl@redhat.com>
833 * inotify/Makefile.am:
834 Use the user-specified giomoduledir
836 2007-11-27 Alexander Larsson <alexl@redhat.com>
840 Add catch-all gio.h header
841 Don't install gdummyfile.h
843 2007-11-26 Alexander Larsson <alexl@redhat.com>
845 * Makefile.am (gioinclude_HEADERS):
846 Remove trailing whitespace
848 2007-11-26 Alexander Larsson <alexl@redhat.com>
850 Merge gio-standalone into glib
852 2007-11-25 Christian Kellner <gicmo@gnome.org>
854 * gio/goutputstream.c:
855 Fix small mistake in the docs.
857 2007-11-21 Christian Persch <chpe@gnome.org>
859 * gio/glocalfile.c: (g_local_file_trash):
860 Convert filenames to UTF-8 for GError.
861 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
862 as per xdg base dir spec.
864 2007-11-21 Christian Persch <chpe@gnome.org>
866 * gio/gdesktopappinfo.c:
867 Use that g_key_file_to_data cannot fail.
869 Use stock defines for the key file group and key names.
872 2007-11-21 Alexander Larsson <alexl@redhat.com>
875 (copy_stream_with_progress):
876 Make sure we do a final progress callback with
879 2007-11-21 Alexander Larsson <alexl@redhat.com>
882 Export g_file_copy_attributes
883 Remove padding as its not needed for interfaces
885 2007-11-20 Alexander Larsson <alexl@redhat.com>
890 Add G_IO_ERROR_WOULD_MERGE for
891 copy/move dir on dir with overwrite.
893 2007-11-20 Alexander Larsson <alexl@redhat.com>
896 * gio/glocalfileinfo.c:
897 Add COPY_NAME (this is an optional
898 non-modified utf8 version of the name) that
901 2007-11-20 Alexander Larsson <alexl@redhat.com>
903 * gio/glocalfileenumerator.c:
904 Report errors as GIOError, not GFileError
906 2007-11-16 Alexander Larsson <alexl@redhat.com>
908 * gio/glocalfileoutputstream.c:
909 * gio/gwin32appinfo.c:
910 Fix typos in strings.
911 Patch from Luca Ferretti <elle.uca@libero.it>
913 2007-11-15 Alexander Larsson <alexl@redhat.com>
916 Post release version bump
918 === gio-standalone 0.1.2 ===
920 2007-11-15 Alexander Larsson <alexl@redhat.com>
922 * docs/reference/gio/Makefile.am:
923 Fix up distcheck by removing weird
929 2007-11-14 Alexander Larsson <alexl@redhat.com>
931 * gio/gdesktopappinfo.c:
932 * gio/glocaldirectorymonitor.c:
934 * gio/glocalfileinfo.c:
935 * gio/inotify/inotify-sub.c:
936 * programs/gio-cat.c:
937 * programs/gio-copy.c:
938 * programs/gio-info.c:
940 * programs/gio-monitor-dir.c:
941 * programs/gio-monitor-file.c:
942 * programs/gio-mount.c:
943 * programs/gio-move.c:
945 * programs/gio-save.c:
946 * programs/gio-trash.c:
947 Leak fixes from Kjartan Maraas
949 2007-11-14 Alexander Larsson <alexl@redhat.com>
951 * gio/fam/fam-helper.c:
953 * gio/glocalfileinfo.c:
957 * gio/inotify/inotify-diag.c:
958 * gio/inotify/inotify-kernel.c:
959 Various code cleanups from Kjartan Maraas
961 2007-11-14 Alexander Larsson <alexl@redhat.com>
963 * gio/gioscheduler.c:
965 Set up threadpool so that we cache 2 unused
966 idle threads for at 15 secs. This means we
967 will reuse thread-local data (like dbus connections)
970 2007-11-14 Alexander Larsson <alexl@redhat.com>
972 * gio/fam/fam-helper.c:
973 * gio/fam/gfamdirectorymonitor.c:
974 * gio/fam/gfamfilemonitor.c:
976 * gio/gcontenttype.c:
977 * gio/gdatainputstream.c:
978 * gio/gdataoutputstream.c:
982 * gio/gfileattribute.h:
983 * gio/gfileenumerator.c:
985 * gio/ginputstream.c:
988 * gio/glocalfileinfo.c:
989 * gio/goutputstream.c:
990 * gio/gpollfilemonitor.c:
991 * gio/gsimpleasyncresult.c:
994 * gio/inotify/ginotifydirectorymonitor.c:
995 * gio/inotify/ginotifyfilemonitor.c:
996 * gio/inotify/inotify-diag.c:
997 * gio/inotify/inotify-kernel.c:
998 * gio/inotify/inotify-path.c:
1000 * gio/test-streams.c:
1001 * programs/gio-info.c:
1002 * programs/gio-monitor-dir.c:
1003 * programs/gio-monitor-file.c:
1004 Various code cleanups from Kjartan Maraas
1006 2007-11-13 Alexander Larsson <alexl@redhat.com>
1009 Handle the uri-scheme calls for dummy files
1011 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1013 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1014 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1015 to avoid clash with the C++ keyword.
1017 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1019 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1020 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1022 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1024 * gio/glocaldirectorymonitor.c:
1025 * gio/glocalfilemonitor.c:
1026 * gio/gunionvolumemonitor.c:
1027 Don't use g_once_init_*() for initializations that could fail and
1028 could leave the initialization variable set to 0 but use GOnce.
1029 This prevents a deadlock on the second call when trying to create
1030 a monitor and no monitor type is available. Thanks to Sven Herzberg
1033 2007-11-11 Sven Herzberg <sven@imendio.com>
1035 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1036 #ifdef (make it work on MacOS X again)
1038 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1040 Fixes Changelog for last two commits (sorry guys).
1042 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1044 * gio/gbufferedinputstream.c:
1045 * gio/gdatainputstream.c:
1047 * gio/gfileoutputstream.c:
1048 * gio/gfilterinputstream.c:
1049 * gio/glocalfileinputstream.c:
1052 More consistency fixes in g*stream.c files.
1053 Significant clean of gfile's documentation, filling in of
1054 asynchronous operations documentation.
1056 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1058 * gio/gasyncresult.c:
1059 * gio/gbufferedinputstream.c:
1060 * gio/gbufferedoutputstream.c:
1061 * gio/gcancellable.c:
1062 * gio/gcontenttype.c:
1063 * gio/gdatainputstream.c:
1064 * gio/gdataoutputstream.c:
1065 * gio/gdesktopappinfo.c:
1068 * gio/gfileattribute.c:
1069 * gio/gio/gfileenumerator.c:
1071 * gio/gfileinputstream.c:
1072 * gio/gfilemonitor.c:
1073 * gio/gfileoutputstream.c:
1074 * gio/ginputstream.c:
1076 * gio/gioscheduler.c:
1077 * gio/gloadableicon.c:
1078 * gio/glocalfileoutputstream.c:
1079 * gio/gmemoryoutputstream.c:
1080 * gio/gmountoperation.c:
1081 * gio/goutputstream.c:
1083 * gio/gsimpleasyncresult.c:
1084 * gio/gunionvolumemonitor.c:
1085 * gio/gunixmounts.c:
1086 * gio/gunixvolume.c:
1090 * gio/gvolumemonitor.c:
1091 Updated documentation stubs, working towards consistency and
1094 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1096 * gio/gmemoryoutputstream.c:
1097 * gio/gmemoryoutputstream.h:
1098 Change g_memory_output_stream_set_free_on_close() to
1099 g_memory_output_stream_set_free_data() as this makes more sense and
1100 is more consistent with GMemoryInputStream.
1102 2007-11-07 Alexander Larsson <alexl@redhat.com>
1109 Change how we find the default vfs so that
1110 we can handle a gvfs failing to init
1112 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1114 * gio/gbufferedoutputstream.c:
1115 * gio/gdatainputstream.c:
1116 * gio/gdataoutputstream.c:
1117 * gio/gfileinputstream.c:
1118 * gio/gfileoutputstream.c:
1119 * gio/gfilterinputstream.c:
1120 * gio/gfilteroutputstream.c:
1121 * gio/ginputstream.c:
1122 * gio/gmemoryinputstream.c:
1123 * gio/gmemoryoutputstream.c:
1124 * gio/goutputstream.c:
1125 * gio/gsimpleasyncresult.c:
1126 * gio/gsocketinputstream.c:
1127 * gio/gsocketoutputstream.c:
1128 Add guards to the remaining public functions, add a TODO for
1129 an unimplemented function and remove some useless guards.
1131 2007-11-07 Alexander Larsson <alexl@redhat.com>
1134 Autoconf checks for the various types of
1135 getpwuid_r and getgrgid_r
1137 * gio/glocalfileinfo.c:
1138 Use the autoconf checks from above
1140 2007-11-07 Alexander Larsson <alexl@redhat.com>
1143 (g_local_file_query_filesystem_info):
1144 Some fixes for the statvfs case
1146 2007-11-07 Alexander Larsson <alexl@redhat.com>
1149 (g_local_file_query_filesystem_info):
1150 Pick the "best" of statfs / statvfs for the system
1151 if both are availible.
1153 2007-11-07 Alexander Larsson <alexl@redhat.com>
1155 Solaris fixes from Halton.Huo@Sun.COM:
1162 * gio/glocalfileinfo.c:
1163 Fix for solaris definition of getpwuid_r
1165 * gio/test-streams.c:
1166 Use G_GNUC_PRETTY_FUNCTION
1168 2007-11-07 Alexander Larsson <alexl@redhat.com>
1170 * gio/gdesktopappinfo.c:
1171 (update_default_list):
1172 Remove double semicolon.
1173 Patch from Jens Granseuer
1175 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1177 * docs/reference/gio/gio-sections.txt:
1178 * gio/gbufferedinputstream.c:
1179 * gio/gbufferedinputstream.h:
1180 * gio/gdatainputstream.c:
1181 * gio/gfileenumerator.c:
1182 * gio/gioscheduler.c:
1183 * gio/gunionvolumemonitor.c:
1185 * programs/gio-save.c:
1186 Fix typo: availible -> available. Unfortuntely this breaks API
1187 and ABI as g_buffered_input_stream_get_available() was renamed.
1189 * gio/gunixmounts.c:
1190 * gio/gbufferedinputstream.c:
1191 Add guards for public functions.
1193 2007-11-06 Ross Burton <ross@openedhand.com>
1195 * docs/reference/gio/Makefile.am:
1196 Fix invalid += usage which automake 1.10 doesn't like.
1198 2007-11-06 Alexander Larsson <alexl@redhat.com>
1201 (g_app_launch_context_class_init):
1204 Patch from Ross Burton
1206 2007-11-06 Alexander Larsson <alexl@redhat.com>
1209 Post release version bump
1211 === gio-standalone 0.1.1 ===
1213 2007-11-06 Alexander Larsson <alexl@redhat.com>
1216 Bump version to 0.1.1
1218 * gio/gsimpleasyncresult.c:
1219 (g_simple_async_result_set_from_error):
1220 Remove bogus g_return_if_fail
1222 2007-11-06 Alexander Larsson <alexl@redhat.com>
1225 The name is gio-standalone
1228 Add top src/builddir to includedir
1230 2007-11-06 Alexander Larsson <alexl@redhat.com>
1232 * docs/reference/gio/gio-sections.txt:
1234 * gio/gbufferedinputstream.c:
1235 * gio/gbufferedoutputstream.c:
1236 * gio/gcancellable.c:
1237 * gio/gdatainputstream.h:
1238 * gio/gdataoutputstream.c:
1239 * gio/gdataoutputstream.h:
1240 * gio/gdirectorymonitor.c:
1242 * gio/gfileattribute.c:
1243 * gio/gfileattribute.h:
1244 * gio/gfileenumerator.c:
1245 * gio/gfileenumerator.h:
1248 * gio/gfileinputstream.h:
1249 * gio/gfilemonitor.c:
1250 * gio/gfileoutputstream.h:
1251 * gio/glocalfilemonitor.h:
1252 * gio/glocalfileoutputstream.h:
1253 * gio/gmemoryinputstream.c:
1254 * gio/gmemoryoutputstream.c:
1255 * gio/gmountoperation.c:
1256 * gio/goutputstream.c:
1257 * gio/goutputstream.h:
1259 * gio/gsimpleasyncresult.c:
1260 * gio/gunixmounts.c:
1261 * gio/gunixmounts.h:
1263 * gio/inotify/inotify-helper.c:
1264 Fix gtk-doc warnings
1266 Patch from Ross Burton
1268 2007-11-06 Alexander Larsson <alexl@redhat.com>
1270 * gio/gfilenamecompleter.c:
1271 (g_filename_completer_get_completions):
1274 * gio/gunixvolume.c:
1275 Remove unused function
1277 Patches from Ross Burton
1279 2007-11-06 Alexander Larsson <alexl@redhat.com>
1284 Padding not needed for interfaces
1286 2007-11-06 Alexander Larsson <alexl@redhat.com>
1288 * gio/gfilemonitor.c:
1292 Make giotypes.h an internal file
1295 * gio/gbufferedinputstream.h:
1296 * gio/gbufferedoutputstream.h:
1297 * gio/gcancellable.h:
1298 * gio/gdatainputstream.h:
1299 * gio/gdataoutputstream.h:
1300 * gio/gdirectorymonitor.c:
1301 * gio/gdirectorymonitor.h:
1306 * gio/gfileattribute.h:
1307 * gio/gfileenumerator.h:
1312 * gio/gfilemonitor.c:
1313 * gio/gfilemonitor.h:
1314 * gio/gfilenamecompleter.c:
1315 * gio/gfilenamecompleter.h:
1316 * gio/gfilterinputstream.h:
1317 * gio/gfilteroutputstream.h:
1318 * gio/ginputstream.h:
1319 * gio/gmemoryinputstream.h:
1320 * gio/gmemoryoutputstream.h:
1321 * gio/gmountoperation.c:
1322 * gio/gmountoperation.h:
1323 * gio/gnativevolumemonitor.c:
1324 * gio/goutputstream.h:
1327 * gio/gsimpleasyncresult.c:
1328 * gio/gsimpleasyncresult.h:
1329 * gio/gsocketinputstream.h:
1330 * gio/gsocketoutputstream.h:
1331 * gio/gthemedicon.c:
1332 * gio/gthemedicon.h:
1336 * gio/gvolumemonitor.c:
1337 * gio/gvolumemonitor.h:
1338 Add padding in classes where it seems useful
1339 Don't include giotypes.h from public headers
1340 Move in Class definitions into c file where possible
1345 2007-11-06 Alexander Larsson <alexl@redhat.com>
1347 * docs/reference/gio/gio-docs.xml:
1348 Better structure for API docs
1350 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1353 * gio/gloadableicon.c:
1354 * gio/gsimpleasyncresult.c:
1355 * gio/gthemedicon.c:
1356 Add some more guards to public functions. Only files missing are now
1359 2007-11-06 Alexander Larsson <alexl@redhat.com>
1361 * docs/reference/gio/gio-docs.xml:
1362 Remove old files, add missing ones
1364 2007-11-06 Alexander Larsson <alexl@redhat.com>
1366 * docs/reference/gio/gio-sections.txt:
1369 Hide implementation classes
1371 * gio/gdriveprivate.h:
1372 * gio/gvolumeprivate.h:
1373 Remove non-existing function declarations
1375 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1378 Fix compilation warnings and add guards to the new functions.
1380 * gio/gasyncresult.c:
1382 Add guards to the public functions.
1385 Implement get_path().
1387 2007-11-06 Alexander Larsson <alexl@redhat.com>
1389 * gio/gfilenamecompleter.c:
1390 Make g_filename_completer_get_completions
1391 return char ** instead of GList for
1394 * docs/reference/gio/gio-docs.xml:
1395 * docs/reference/gio/gio-sections.txt:
1397 * gio/gasyncresult.c:
1398 * gio/gbufferedinputstream.c:
1399 * gio/gbufferedoutputstream.c:
1400 * gio/gcancellable.c:
1401 * gio/gcontenttype.c:
1402 * gio/gdatainputstream.c:
1403 * gio/gdataoutputstream.c:
1404 * gio/gdesktopappinfo.c:
1405 * gio/gdirectorymonitor.c:
1409 * gio/gfileattribute.c:
1410 * gio/gfileenumerator.c:
1413 * gio/gfileinputstream.c:
1414 * gio/gfilemonitor.c:
1415 * gio/gfilenamecompleter.c:
1416 * gio/gfilenamecompleter.h:
1417 * gio/gfileoutputstream.c:
1418 * gio/gfilterinputstream.c:
1420 * gio/ginputstream.c:
1422 * gio/gioscheduler.c:
1423 * gio/gloadableicon.c:
1424 * gio/glocaldirectorymonitor.c:
1426 * gio/glocalfileinputstream.c:
1427 * gio/glocalfilemonitor.c:
1428 * gio/glocalfileoutputstream.c:
1430 * gio/gmemoryinputstream.c:
1431 * gio/gmemoryoutputstream.c:
1432 * gio/gmountoperation.c:
1433 * gio/goutputstream.c:
1434 * gio/gpollfilemonitor.c:
1436 * gio/gsimpleasyncresult.c:
1437 * gio/gsocketinputstream.c:
1438 * gio/gsocketoutputstream.c:
1439 * gio/gthemedicon.c:
1440 * gio/gunionvolumemonitor.c:
1442 * gio/gunixmounts.c:
1443 * gio/gunixvolume.c:
1444 * gio/gunixvolumemonitor.c:
1448 * gio/gvolumemonitor.c:
1449 * gio/gwin32appinfo.c:
1450 Add (mostly stub) doc strings to public functions.
1451 Patch from Andrew Walton (awalton@gmail.com)
1453 2007-11-06 Alexander Larsson <alexl@redhat.com>
1455 * gio/gappinfo.[ch]:
1456 Added GAppLaunchContext object and pass that to launch.
1457 This allows simple implementation of both
1458 launch-on-screen and startup notification via a gtk+
1459 subclass of GAppLaunchContext
1461 * gio/gdesktopappinfo.c:
1462 Implement GAppLaunchContext API
1464 * gio/gwin32appinfo.c:
1467 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1469 * gio/gmountoperation.c:
1470 Add some guards to GMountOperation's public functions.
1472 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1476 * gio/gcancellable.c:
1477 * gio/gdirectorymonitor.c:
1479 * gio/gfileenumerator.c:
1480 * gio/gfilemonitor.c:,
1481 * gio/gfilenamecompleter.c:
1484 * gio/gioscheduler.c:
1488 * gio/gvolumemonitor.c:
1489 Add even more guards to various public functions.
1491 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1494 Add guards to the public functions of GAppInfo.
1496 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1498 * gio/gcontenttype.c:
1499 Add some more guards for public functions.
1501 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1503 * gio/fam/fam-module.c:
1504 * gio/fam/gfamdirectorymonitor.c:
1505 * gio/fam/gfamdirectorymonitor.h:
1506 * gio/fam/gfamfilemonitor.c:
1507 * gio/fam/gfamfilemonitor.h:
1508 * gio/inotify/ginotifydirectorymonitor.c:
1509 * gio/inotify/ginotifydirectorymonitor.h:
1510 * gio/inotify/ginotifyfilemonitor.c:
1511 * gio/inotify/ginotifyfilemonitor.h:
1512 Add proper copyright information and remove an unused variable
1513 in the GInotifyFileMonitor constructor.
1515 * gio/gcancellable.c:
1516 Add a guard for a public function and an assertion to prevent
1517 an undefined program state.
1519 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1521 * gio/gfileattribute.c:
1522 Don't run into an assertion if the given attribute value is NULL
1523 in g_file_attribute_value_get_*() but instead return a fallback
1524 value that makes sense in most situations. Passing them a attribute
1525 value with the wrong type will still run into an assertion.
1527 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1529 * gio/gfileattribute.c:
1531 Add even more guards to the public functions. Also fix the refcounting
1532 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1533 let g_file_info_list_attributes() filter the attributes by namespace
1534 instead of simply ignoring the namespace parameter.
1536 2007-11-03 Sven Herzberg <sven@imendio.com>
1538 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1539 (This makes gio work on MacOS X again)
1541 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1544 Build the gio subdirectory before the docs. Otherwise the build will
1547 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1548 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1549 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1550 Add guards to the public functions.
1552 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1554 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1555 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1556 to prevent a compiler warning.
1558 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1559 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1560 return something in the non-void function find_topdir_for().
1562 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1569 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1571 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1572 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1573 * gwin32appinfo.c (g_win32_app_info_launch):
1574 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1575 envp_for_startup_id, g_desktop_app_info_launch,
1576 g_desktop_app_info_launch_uris):
1578 Give an opaque 'startup_id' string instead of 'envp'.
1579 Support empty file lists for launching new windows.
1580 Fix infinite recursion bug when launching URIs.
1582 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1585 Add guard to the new g_file_get_uri_scheme() function.
1587 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1590 Convert a g_return_val_if_fail() to setting the GError instead as
1591 otherwise applications have to verify the parameter before otherwise
1592 and the parameter might come directly from the user.
1594 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1596 * gio/inotify/ginotify*.[ch]:
1597 Add missing copyright information.
1599 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1602 Add guards in the beginning of public functions to check for valid
1603 parameters and fix a bug in copy_stream_with_progress() that could've
1604 caused writing less bytes than reading.
1605 * gio/glocalfileinfo.c:
1606 Check for a NULL parameter and set the GError accordingly then.
1607 * gio/goutputstream.c:
1608 Fix the same bug as in gfile.c that could've caused writing less bytes
1609 than reading in g_output_stream_real_splice().
1611 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1614 Use the correct gvolumeprivate.h naming
1616 2007-11-01 Christian Kellner <gicmo@gnome.org>
1619 Remove leftover "$(daemon_sources)" entry.
1621 2007-11-01 Christian Kellner <gicmo@gnome.org>
1626 Add copyright information to source files.
1628 2007-11-01 Alexander Larsson <alexl@redhat.com>
1632 Add g_file_get_uri_scheme
1634 2007-11-01 Alexander Larsson <alexl@redhat.com>
1637 * gio/gdesktopappinfo.c:
1638 * gio/gwin32appinfo.c:
1639 Add g_app_info_get_default_for_uri_scheme.
1641 2007-11-01 Alexander Larsson <alexl@redhat.com>
1644 Correct filename for gdriveprivate.h
1646 2007-10-31 Alexander Larsson <alexl@redhat.com>
1649 Rename id:value to id:file
1652 * gio/glocalfileinfo.c:
1655 2007-10-31 Alexander Larsson <alexl@redhat.com>
1657 * gio/gunixvolume.c:
1659 Remove g_volume_get_platform_id, as thats not
1660 needed with the simpler union volume monitor
1662 2007-10-31 Alexander Larsson <alexl@redhat.com>
1665 * gio/guniondrive.[ch]: Removed.
1666 * gio/gunionvolume.[ch]: Removed.
1667 Remove GUnionDrive/Volume
1669 * gio/gunionvolumemonitor.c:
1670 Simplify union volume monitor, now we
1671 only have one native volume monitor and
1672 we use the actual volumes/drives from the
1673 child monitors instead of wrapping them
1675 * gio/gnativevolumemonitor.[ch]:
1676 Base class for native volume monitors.
1677 Includes priority and get_volume_for_mountpoint
1680 Add g_file_find_enclosing_volume
1683 Remove volume name fs attribute
1684 Add readonly fs attribute
1687 Implement readonly attribute
1688 remove volume name attribute
1689 Implement find_enclosing volume
1691 * gio/gunixmounts.c:
1692 Add a volume for "/".
1694 * gio/gunixvolume.[ch]:
1695 Set better name for /
1697 * gio/gunixvolumemonitor.[ch]:
1698 Derive from GNativeVolumeMonitor
1699 Implement get_volume_for_mountpoint
1702 GVolume typedef moved to gfile.h
1704 * gio/gvolumeprivate.h:
1705 Add g_volume_get_for_mount_path
1707 2007-10-31 Alexander Larsson <alexl@redhat.com>
1709 * gio/gunixmounts.[ch]:
1710 Add cache info to unix mount listers
1711 Make getmntent use threadsafe
1712 Add is_system_internal attribute for GUnixMount
1714 * gio/gunixvolume.c:
1715 (g_unix_volume_new):
1716 Use is_system_internal instead of own code
1718 * gio/glocaldirectorymonitor.c:
1719 * gio/gunixvolumemonitor.c:
1720 Update to new gunixmounts API
1725 2007-10-30 Alexander Larsson <alexl@redhat.com>
1728 Add volume name fsinfo attribute
1731 Read volume name info
1733 * gio/gunionvolumemonitor.c:
1734 Fix infinite loops when finalizing a union volume monitor
1736 2007-10-30 Alexander Larsson <alexl@redhat.com>
1738 * gio/goutputstream.[ch]:
1739 Add splice() with default implementation
1741 * gio/gsocketoutputstream.c:
1742 (g_socket_output_stream_write):
1743 Return error on cancellation correctly.
1745 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1747 * gio/glocalfile.c (g_local_file_trash):
1748 Do not leak a string.
1750 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1752 * gio/gfile.c (g_file_load_contents):
1753 Unref the stream after closing it.
1755 2007-10-25 Alexander Larsson <alexl@redhat.com>
1757 * gio/gioscheduler.h:
1760 2007-10-25 Alexander Larsson <alexl@redhat.com>
1764 Add g_file_has_uri_scheme and implement for local files
1766 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1768 * gio/gdesktopappinfo.c: do not leak a string.
1770 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1772 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1773 (g_local_directory_monitor_new):
1774 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1775 (g_local_file_monitor_new):
1776 Only look for the monitor type that should be used the first time
1777 and use g_qsort_with_data() instead of our own bubble sort
1780 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1783 * gio/fam/Makefile.am:
1784 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1785 * gio/fam/fam-helper.h:
1786 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1787 * gio/fam/gfamdirectorymonitor.c:
1788 * gio/fam/gfamdirectorymonitor.h:
1789 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1790 * gio/fam/gfamfilemonitor.h:
1791 * gio/glocaldirectorymonitor.c:
1792 * gio/glocaldirectorymonitor.h:
1793 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1794 * gio/glocalfilemonitor.h:
1795 * gio/inotify/Makefile.am:
1796 * gio/inotify/ginotifydirectorymonitor.c:
1797 * gio/inotify/ginotifydirectorymonitor.h:
1798 * gio/inotify/ginotifyfilemonitor.c:
1799 * gio/inotify/ginotifyfilemonitor.h:
1800 Implement the FAM and Inotify monitors as
1801 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1802 their own GIO module. GLocal(Directory|File)Monitor will use the
1803 monitor with the highest rank that is supported on that machine.
1805 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1808 Change GIO module dir to $(libdir)/gio/modules and change
1809 the log domain from GVFS to GIO. Also only export symbols starting
1810 with g_ in the resulting library.
1811 * gio/test-streams.c: (main):
1812 Set log handler for the GIO log domain.
1814 2007-10-22 Alexander Larsson <alexl@redhat.com>
1816 * gio/gfilenamecompleter.[ch]:
1817 Add g_filename_completer_set_dirs_only
1819 2007-10-22 Alexander Larsson <alexl@redhat.com>
1822 * gio/gurifuncs.[ch]:
1823 Add some simple URI helpers
1825 * gio/gfilenamecompleter.[ch]:
1826 Added object for filename (parse name actually) completion
1829 Handle ~ in parse names
1831 2007-10-17 Alexander Larsson <alexl@redhat.com>
1834 * gio/glocalfileinfo.c:
1835 Add and implement id:value attribute
1837 2007-10-17 Alexander Larsson <alexl@redhat.com>
1840 * gio/guniondrive.c:
1842 Add and implement g_drive_has_volumes
1844 2007-10-17 Alexander Larsson <alexl@redhat.com>
1847 * gio/glocalfileinfo.[ch]:
1848 Add unix:is_mountpoint and implement for local files
1850 2007-10-16 Alexander Larsson <alexl@redhat.com>
1852 * gio/gunionvolumemonitor.c:
1853 (g_union_volume_monitor_init):
1854 Fix up the unix type getting so that it works with gcc
1856 2007-10-12 Alexander Larsson <alexl@redhat.com>
1859 * gio/glocalfileinfo.c:
1860 Add thumbnail:failed to file info
1862 2007-10-12 Richard Hult <richard@imendio.com>
1864 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1865 optimizing away the get_type call (happens with some gcc versions,
1866 like the one shipped with OS X 10.4).
1868 2007-10-12 Alexander Larsson <alexl@redhat.com>
1870 * gio/glocalfileinfo.c:
1871 (_g_local_file_info_set_attribute):
1872 Fix build if not HAVE_XATTR
1873 Patch from Milosz Derezynski <internalerror@gmail.com>
1875 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1877 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1878 around for review, otherwise I would have asked you before
1881 2007-10-11 Alexander Larsson <alexl@redhat.com>
1884 Add thumbnail:path attribute
1886 * gio/glocalfileinfo.c:
1887 Implement thumbnail:path for local files
1889 2007-10-11 Alexander Larsson <alexl@redhat.com>
1891 * gio/glocalfileinfo.c:
1892 (_g_local_file_info_get):
1893 Avoid duplicate icon names
1895 2007-10-11 Alexander Larsson <alexl@redhat.com>
1897 * gio/gthemedicon.[ch]:
1898 Change g_themed_icon_get_names return type to const
1900 2007-10-10 Alexander Larsson <alexl@redhat.com>
1902 * gio/glocalfileinfo.c:
1903 Don't reference freed memory
1905 2007-10-10 Alexander Larsson <alexl@redhat.com>
1907 * gio/gfileattribute.c:
1910 * gio/glocalfileinfo.c:
1913 2007-10-10 Alexander Larsson <alexl@redhat.com>
1916 Check for NULL icons
1918 * gio/gfileattribute.c:
1919 Don't dup when getting objects (same as for string attributes)
1921 * gio/gicon.c (g_icon_equal):
1922 Safely handle NULLs in equal
1924 2007-10-10 Alexander Larsson <alexl@redhat.com>
1927 Fix c++ compilation issues
1928 Patch from Milosz Derezynski <internalerror@gmail.com>
1930 2007-10-10 Alexander Larsson <alexl@redhat.com>
1932 * programs/gio-monitor-dir.c:
1933 Don't crash if dir monitor not supported.
1935 2007-10-09 Alexander Larsson <alexl@redhat.com>
1938 Add missing G_END_DECLS
1940 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1942 * gio/gfile.c: (g_file_set_display_name),
1943 (g_file_query_settable_attributes),
1944 (g_file_query_writable_namespaces):
1945 Return NULL not FALSE on errors as the return type is a pointer.
1947 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1949 * gio/glocalfile.c: (g_local_file_monitor_file):
1950 Don't call monitor_file on the default interface vtable (which
1951 is NULL) but simply return NULL. The caller, GFile, will create a
1952 polling monitor if NULL is returned.
1954 2007-10-09 Alexander Larsson <alexl@redhat.com>
1958 * gio-unix-2.0.pc.in:
1959 Add gio-unix-2.0.pc if OS_UNIX
1962 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1964 2007-10-09 Alexander Larsson <alexl@redhat.com>
1966 * gio/gunixmounts.[ch]:
1967 Make unix mount monitoring API sane.
1968 Now its just a object with mounts_changed
1969 and mountpoints_changed signals.
1971 * gio/glocaldirectorymonitor.c:
1972 * gio/gunixvolumemonitor.c:
1973 Use new mount monitor api
1975 2007-10-09 Alexander Larsson <alexl@redhat.com>
1977 * gio/gunixmounts.[ch]:
1978 Move guess type into one call for mounts and one for mountpoints
1981 * gio/gunixvolume.c:
1984 2007-10-09 Alexander Larsson <alexl@redhat.com>
1986 * gio/gunixmounts.[ch]:
1987 Remove _ prefix in preparation to make this semi-public
1988 Hide implementation of structs
1990 * gio/glocaldirectorymonitor.c:
1992 * gio/gunixvolume.c:
1993 * gio/gunixvolumemonitor.c:
1994 Update for above API changes
1996 2007-10-08 Alexander Larsson <alexl@redhat.com>
1999 Better polling fallback. This also handles the case where we have
2000 a monitor_file implementation, but it fails.
2002 2007-10-08 Alexander Larsson <alexl@redhat.com>
2006 * gio/gunixmounts.c:
2007 * programs/gio-monitor-dir.c:
2008 * programs/gio-monitor-file.c:
2009 Added cancellable to file monitoring calls.
2010 These are really sync calls and need this.
2012 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2014 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2015 (g_local_vfs_class_init):
2016 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2017 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2019 2007-10-05 Alexander Larsson <alexl@redhat.com>
2021 * gio/gdirectorymonitorprivate.h:
2022 * gio/gfilemonitorprivate.h:
2023 * gio/gdirectorymonitor.h:
2024 * gio/gfilemonitor.h:
2025 Remove *private.h and move to the public API, so that
2026 we can do implementations outside gio (such as in gvfs)
2028 * gio/gdirectorymonitor.c:
2029 * gio/gfilemonitor.c:
2030 * gio/glocaldirectorymonitor.c:
2031 * gio/gpollfilemonitor.c:
2032 * gio/inotify/inotify-helper.c:
2033 * gio/fam/fam-helper.c:
2034 Update to the new header names
2036 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2038 * gio/gdirectorymonitor.c:
2039 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2042 2007-10-04 Alexander Larsson <alexl@redhat.com>
2044 * gio/glocalfileinfo.c (get_access_rights):
2045 Set CAN_TRASH when we can move the file.
2046 We should really also check for a parent trash dir.
2048 2007-10-04 Alexander Larsson <alexl@redhat.com>
2050 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2051 Add can_trash access attribute
2053 2007-10-04 Alexander Larsson <alexl@redhat.com>
2056 (g_local_file_trash):
2057 Create info file first. This is per-spec and allows
2058 us to actually trash directories.
2060 2007-10-02 Alexander Larsson <alexl@redhat.com>
2062 * gio/gdesktopappinfo.c:
2063 Implement the new mime support code.
2064 Always set app as handling mimetype when being set as default for it
2066 2007-10-01 Alexander Larsson <alexl@redhat.com>
2068 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2069 Fix up check for xattrs:
2071 2007-10-01 Alexander Larsson <alexl@redhat.com>
2074 (g_app_info_set_as_default_for_extension):
2075 (g_app_info_add_supports_type):
2076 (g_app_info_can_remove_supports_type):
2077 (g_app_info_remove_supports_type):
2078 Make these fail nicely if not implemented
2080 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2082 * gio/glocalfileoutputstream.c:
2083 * gio/glocalfileoutputstream.h:
2088 * programs/gio-save.c:
2089 Add a GFileCreateFlags argument to operations that can create
2092 2007-10-01 Alexander Larsson <alexl@redhat.com>
2094 * gio/gappinfo.[ch]:
2095 * gio/gdesktopappinfo.c:
2096 Add more (stubbed out) mime API needed for nautilus
2098 2007-10-01 Alexander Larsson <alexl@redhat.com>
2101 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2102 Add g_app_info_set_as_default_for_extension.
2104 * gio/gdesktopappinfo.c:
2105 Dummy for g_app_info_set_as_default_for_extension
2106 Support flags in g_app_info_create_from_commandline
2108 * gio/gwin32appinfo.c:
2110 Update for API changes
2112 * gio/gthemedicon.c:
2113 Properly NULL-terminate list of icon names
2115 2007-09-28 Alexander Larsson <alexl@redhat.com>
2117 * gio/gloadableicon.h:
2118 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2120 2007-09-28 Alexander Larsson <alexl@redhat.com>
2123 Install headers in $includedir/gio-standalone/
2125 * gio-2.0.pc.in: Added.
2126 * gio-standalone.pc.in: Removed.
2129 Renamed pkg-config file to match glib (for future move)
2130 Update to the new include dir
2133 Add more TODO comments
2135 2007-09-28 Alexander Larsson <alexl@redhat.com>
2137 * gio/gdesktopappinfo.[ch]:
2138 Expose new_from_filename
2139 Add getter for is_hidden and handle it better
2141 2007-09-28 Alexander Larsson <alexl@redhat.com>
2143 * gio/gfileinfo.[ch]:
2144 Rename g_file_size_format_for_display to
2145 g_format_file_size_for_display.
2146 Now it doesn't have the g_file prefix, so we
2147 can later move it to glib.
2149 2007-09-28 Alexander Larsson <alexl@redhat.com>
2151 * gio/gappinfo.[ch]:
2152 Add g_app_info_get_id and g_app_info_get_executable.
2153 Make all getters non-reffing
2154 Make g_app_info_launch take GFile arguments.
2155 Add must_support_uris argument to g_app_info_get_default_for_type.
2157 * gio/gwin32appinfo.c:
2158 Update to GAppInfo api changes
2160 * gio/gdesktopappinfo.c:
2161 Update to GAppInfo api changes
2162 Implement supports_xdg_startup_notify
2164 * gio/gfileicon.c (g_file_icon_get_file):
2165 Make getter non-reffing.
2170 2007-09-27 Alexander Larsson <alexl@redhat.com>
2172 * gio/gfileinfo.[ch]:
2173 Add g_file_size_format_for_display helper
2175 2007-09-27 Alexander Larsson <alexl@redhat.com>
2177 * gio/glocalfileinfo.c:
2178 Set UNIX_GID from gid, not from uid
2180 2007-09-27 Alexander Larsson <alexl@redhat.com>
2183 Add g_file_set_attributes_async
2185 2007-09-27 Alexander Larsson <alexl@redhat.com>
2187 * gio/glocalfile.c (g_local_file_set_display_name):
2188 Fix set_display_name to actually rename to the right place.
2189 Use lstat to look for existing files so we don't overwrite
2192 2007-09-26 Alexander Larsson <alexl@redhat.com>
2195 Add g_file_set_display_name_async()
2197 2007-09-26 Alexander Larsson <alexl@redhat.com>
2200 Add load_partial_contents async calls
2203 Make internal function static
2205 2007-09-26 Alexander Larsson <alexl@redhat.com>
2207 * gio/glocalfileinfo.c:
2208 Correctly detect broken symlinks
2210 2007-09-26 Alexander Larsson <alexl@redhat.com>
2212 * gio/gcancellable.c (g_cancellable_cancel):
2213 Allow cancel on NULL cancellable
2215 2007-09-25 Alexander Larsson <alexl@redhat.com>
2217 * gio/gsimpleasyncresult.c:
2218 Don't allocate g_error manually.
2219 Fixes g_slice/g_new mixup crash
2221 2007-09-25 Alexander Larsson <alexl@redhat.com>
2223 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2224 Actually set active_backend.
2225 This means the monitor will be cancelled correctly.
2227 2007-09-25 Alexander Larsson <alexl@redhat.com>
2229 * gio/gdirectorymonitor.c:
2230 Set timeout to NULL when destroying
2232 2007-09-25 Alexander Larsson <alexl@redhat.com>
2235 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2236 that is a better description of the error.
2238 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2240 * gio/gvfs.c: (g_vfs_get_local):
2241 Make the local vfs variable static. The same instance should
2244 2007-09-24 Alexander Larsson <alexl@redhat.com>
2246 * gio/glocalfileinfo.c:
2247 Pass in actual length read into sniffer, not the length
2250 2007-09-21 Alexander Larsson <alexl@redhat.com>
2252 * gio/gfileenumerator.c:
2255 * gio/gfileinputstream.c:
2256 * gio/gfileoutputstream.c:
2257 * gio/ginputstream.c:
2258 * gio/goutputstream.c:
2259 Don't crash if async callbacks are NULL
2261 2007-09-20 Alexander Larsson <alexl@redhat.com>
2264 Add async enumerate_children method and default
2267 2007-09-20 Alexander Larsson <alexl@redhat.com>
2270 Add g_file_contains_file & g_file_get_relative_path, since they
2271 were needed for nautilus.
2272 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2277 Implement new methods
2279 2007-09-17 Alexander Larsson <alexl@redhat.com>
2282 * gio/gfileinputstream.[ch]:
2283 * gio/gfileoutputstream.[ch]:
2285 * gio/glocalfileenumerator.[ch]:
2286 * gio/glocalfileinfo.[ch]:
2287 * gio/glocalfileinputstream.c:
2288 * gio/glocalfileoutputstream.c:
2289 * gio/gpollfilemonitor.c:
2290 * programs/gio-copy.c:
2291 * programs/gio-info.c:
2292 * programs/gio-move.c:
2293 Rename get_file_info to query_info() to make it clearer
2294 that these are not simple getters, but do i/o.
2296 2007-09-17 Alexander Larsson <alexl@redhat.com>
2298 * gio/gdatainputstream.[ch]:
2299 * gio/test-streams.c:
2300 Use _read_XXX instead of _get_XXX for the i/o calls
2303 2007-09-17 Alexander Larsson <alexl@redhat.com>
2306 Added needed stuff to TODO comment
2308 2007-09-17 Alexander Larsson <alexl@redhat.com>
2310 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2311 Don't error out removing the backup copy if it doesn't
2314 2007-09-14 Alexander Larsson <alexl@redhat.com>
2316 * programs/Makefile.am:
2317 * programs/gvfs-*.c:
2319 Renamed apps from gvfs-xxx to gio-xxx.
2321 2007-09-14 Alexander Larsson <alexl@redhat.com>
2324 * gio/gfileoutputstream.[ch]:
2325 * gio/glocalfileoutputstream.c:
2326 * programs/gvfs-save.c:
2327 g_file_output_stream_get_etag doesn't do i/o, so remove
2328 cancellation and error.
2330 2007-09-14 Alexander Larsson <alexl@redhat.com>
2333 Add new_etag output to replace_contents functions
2335 2007-09-14 Alexander Larsson <alexl@redhat.com>
2337 * gio/gfileoutputstream.[ch]:
2338 Add async get_file_info and default implementation
2340 2007-09-14 Alexander Larsson <alexl@redhat.com>
2342 * gio/gfileinputstream.c:
2343 Implement fallback wrapper for async get_file_info
2345 2007-09-14 Alexander Larsson <alexl@redhat.com>
2348 Add etag out argument to load_contents
2353 2007-09-14 Alexander Larsson <alexl@redhat.com>
2355 * gio/gcontenttype.c (looks_like_text):
2356 Whitespace like tab, cr and lf do not make the
2359 2007-09-14 Alexander Larsson <alexl@redhat.com>
2361 * gio/gfileinputstream.[ch]:
2362 Add async get_file_info.
2364 2007-09-13 Alexander Larsson <alexl@redhat.com>
2366 * gio/goutputstream.c (g_output_stream_write_all):
2367 Allow NULL for bytes_written
2369 2007-09-13 Alexander Larsson <alexl@redhat.com>
2371 * gio/gmemoryinputstream.[ch]:
2372 Add accessors for data
2374 2007-09-13 Alexander Larsson <alexl@redhat.com>
2376 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2377 Don't crash if length is NULL