1 2008-06-10 Matthias Clasen <mclasen@redhat.com>
3 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
6 * glocalfile.c (get_fs_type): Add afs and autofs.
7 Patch by Danny Baumann.
9 2008-06-10 Matthias Clasen <mclasen@redhat.com>
11 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
13 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
14 is no parent. (Owen Taylor, patch by Christian Neumair)
16 2008-06-10 Paolo Borelli <pborelli@katamail.com>
18 * gfile.c (g_file_replace_contents): do not leak the output stream.
20 2008-06-10 Michael Natterer <mitch@imendio.com>
22 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
23 uninitialized memory as array index.
25 2008-06-10 Tor Lillqvist <tml@novell.com>
27 * gcontenttype.c (g_content_type_can_be_executable)
28 (g_content_type_get_icon) [Win32]: Add TODO comments.
30 2008-06-09 Matthias Clasen <mclasen@redhat.com>
32 * xdgmime/Makefile.am: Fix the build
34 2008-06-09 Matthias Clasen <mclasen@redhat.com>
36 * gcontenttype.c (g_content_type_get_icon): Use icons specified
37 in the shared mime database, if available.
39 * xdgmime/*: Sync with upstream. This brings support for
40 glob weights, generic icons, and changes the cache format to
43 2008-05-28 Michael Natterer <mitch@imendio.com>
45 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
46 the global CPPFLAGS now.
48 * tests/data-input-stream.c
49 * tests/data-output-stream.c
53 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
55 2008-05-27 Matthias Clasen <mclasen@redhat.com>
57 * === Released 2.17.0 ===
59 * tests/live-g-file.c: Clean up after the tests, so make distcheck
60 doesn't complain about leftover files.
62 2008-05-27 simon.zheng <simon.zheng@sun.com>
64 * glocalfile.c: (g_local_file_query_filesystem_info):
65 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
67 2008-05-26 Michael Natterer <mitch@imendio.com>
69 * gmemoryoutputstream.h: declare
70 g_memory_output_stream_get_data_size().
72 2008-05-26 Matthias Clasen <mclasen@redhat.com>
74 * tests/*: Make tests work
76 2008-05-26 Matthias Clasen <mclasen@redhat.com>
78 * gio.symbols: Add g_memory_output_stream_get_data_size.
80 2008-05-25 Ross Burton <ross@burtonini.com>
83 Fix typo in error message (#534764).
85 2008-05-25 Ross Burton <ross@burtonini.com>
88 Fix circular dependency loop for gioenumtypes.h (#534759).
90 2008-05-19 Hans Breuer <hans@breuer.org>
92 * Makefile.am : EXTRA_DIST += makefile.msc
94 2008-05-17 Matthias Clasen <mclasen@redhat.com>
97 * gcontenttype.c: (g_content_type_from_mime_type):
98 New function to create a content type from a mime type. (#527175,
101 2008-05-17 Matthias Clasen <mclasen@redhat.com>
103 Bug 532965 – Should not return filesystem::free for certain file systems
105 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
106 free space for ncpfs.
108 2008-05-17 Matthias Clasen <mclasen@redhat.com>
110 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
112 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
113 st_dev might be zero.
115 2008-05-16 Tor Lillqvist <tml@novell.com>
117 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
118 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
120 2008-05-13 Bastien Nocera <hadess@hadess.net>
122 * gfile.c (has_valid_scheme): A URI scheme must start with a
123 letter, even if later more characters are allowed (#532852)
125 2008-05-05 Michael Natterer <mitch@imendio.com>
127 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
128 code from being checked in that breaks the build of applications
129 which use G_DISABLE_SINGLE_INCLUDES.
131 * makegioalias.pl: make the alias file include "glib.h" instead of
134 * gio.symbols: whitespace change to force regeneration of the
135 alias file after above script change.
137 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
139 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
141 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
143 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
145 2008-04-28 David Zeuthen <davidz@redhat.com>
147 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
148 displaying mounts in a subdirectory not accessible to the
151 2008-04-22 Michael Natterer <mitch@imendio.com>
153 * Makefile.am: fix library versioning (it was 0.0.0).
155 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
157 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
158 Default disable all loggings.
159 * fen/fen-kernel.c: (printevent), (port_add_kevent),
160 (port_fetch_event_cb): Fixed two macro nits.
162 2008-04-16 Matthias Clasen <mclasen@redhat.com>
164 * xdgmime/xdgmime.c: Rework the timestamp checking code
165 to protect against duplicate directories in XDG_DATA_DIRS.
166 Fixes fd.o bug 12513, reported by Joe Shaw.
168 2008-04-16 Matthias Clasen <mclasen@redhat.com>
170 Partically revert the last commit after realizing that
171 xdg_mime_media_type_equal doesn't have to init at all.
174 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
176 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
178 2008-04-16 Matthias Clasen <mclasen@redhat.com>
180 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
181 reported by Joe Shaw and Federico Mena Quintero.
183 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
184 (xdg_mime_media_type_equal): Turn into a wrapper around the
187 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
188 functions throughout.
190 2008-04-16 Michael Meeks <michael.meeks@novell.com>
192 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
193 tolerate an empty TryExec= line without failing; nautilus used
194 to create launchers with these in previous versions. Fixes #528433
196 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
198 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
199 after name. Fixes #527132.
201 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
203 * gfile.c: (g_file_replace):
206 2008-04-07 Matthias Clasen <mclasen@redhat.com>
208 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
210 * gfile.c (file_copy_fallback): Fix the argument order. Patch
211 by Christian Kellner.
213 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
215 * gunixmounts.c: (g_unix_mount_guess_should_display):
216 Don't list the user directory as a mount, fix potential issue
217 when other users have a similar naming and don't special case the
218 gvfs mounts there since that's not required (#525866)
220 2008-03-31 Alexander Larsson <alexl@redhat.com>
222 * glocalfile.c (get_parent):
225 2008-03-31 A. Walton <awalton@svn.gnome.org>
227 * gfile.c (g_file_query_file_type):
228 Always return a GFileType enum value (#520715).
230 2008-03-31 Alexander Larsson <alexl@redhat.com>
232 * glocalfileenumerator.c:
233 Read readdir() info in chunks (of 1000) and sort
234 the chunks by inode before stat:ing.
235 This is a 20% performance increase in testing
236 gvfs-ls on /usr/bin with cold cache.
238 2008-03-31 Alexander Larsson <alexl@redhat.com>
240 * gmemoryoutputstream.c:
241 Clarify docs for g_memory_output_stream_get_size.
242 Add g_memory_output_stream_get_data_size.
244 2008-03-30 Matthias Clasen <mclasen@redhat.com>
248 * gfile.h: Add g_file_query_file_type convenience function
249 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
251 2008-03-30 Matthias Clasen <mclasen@redhat.com>
254 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
256 2008-03-28 A. Walton <awalton@svn.gnome.org>
258 * giomodule.c (_g_io_modules_ensure_loaded):
259 Adds GIO_EXTRA_MODULES environment variable support, closing bug
262 2008-03-28 Alexander Larsson <alexl@redhat.com>
265 (copy_stream_with_progress):
268 2008-03-28 Alexander Larsson <alexl@redhat.com>
271 (copy_stream_with_progress):
272 (file_copy_fallback):
273 Fallback to g_file_query_info for source size
274 if g_file_input_stream_query_info fails. (#524579)
276 2008-03-28 Alexander Larsson <alexl@redhat.com>
278 * glocalfile.c (g_local_file_move):
279 Reuse old string instead of adding new one.
281 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
283 * fen/*.[hc]: still copyright issue. I hate copyright.
285 2008-03-27 Alexander Larsson <alexl@redhat.com>
287 * glocalfile.c (g_local_file_move):
288 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
289 file over directory. This is according to the docs and what the move via
290 copy+remove fallback does.
292 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
294 * fen/*.[hc]: Updated copyright.
296 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
298 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
300 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
302 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
303 not emit attribute changed events when optimizing changed events.
304 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
307 2008-03-19 Matthias Clasen <mclasen@redhat.com>
309 * gmountoperation.[hc]: Small documentation additions
311 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
313 * gunixmounts.c: (guess_mount_type):
314 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
316 2008-03-19 Alexander Larsson <alexl@redhat.com>
319 (copy_stream_with_progress):
320 Bump block side for copy to 64k to minimize
321 overhead for low latency links. (#523015)
323 2008-03-16 Tor Lillqvist <tml@novell.com>
325 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
326 depend on gio.def on Windows.
328 2008-03-12 David Zeuthen <davidz@redhat.com>
332 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
334 2008-03-14 Alexander Larsson <alexl@redhat.com>
338 Avoid redudant tests (#521851)
339 Patch from Josselin Mouette
341 2008-03-14 Alexander Larsson <alexl@redhat.com>
344 (g_file_monitor_is_cancelled):
345 Fix C89 issue (#521672)
346 Patch from Jens Granseuer
348 2008-03-14 Alexander Larsson <alexl@redhat.com>
350 * fam/fam-helper.[ch]:
352 Shut down fam (including removing fam GSource) when
353 module is unloaded (#521513)
354 Patch from Joe Marcus Clarke
356 2008-03-14 Alexander Larsson <alexl@redhat.com>
359 (_g_io_modules_ensure_loaded):
362 2008-03-14 Alexander Larsson <alexl@redhat.com>
365 (g_local_file_query_filesystem_info):
366 Use right define name for f_fstypename member check
368 2008-03-14 Alexander Larsson <alexl@redhat.com>
371 * fen/Makefile.am: Added.
372 * fen/fen-data.[ch]: Added.
373 * fen/fen-dump.[ch]: Added.
374 * fen/fen-helper.[ch]: Added.
375 * fen/fen-kernel.[ch]: Added.
376 * fen/fen-missing.[ch]: Added.
377 * fen/fen-node.[ch]: Added.
378 * fen/fen-sub.[ch]: Added.
379 * fen/gfendirectorymonitor.[ch]: Added.
380 * fen/gfenfilemonitor.[ch]: Added.
382 Added Solaris FEN file notification backend.
383 Patch from Lin Ma <Lin.Ma@Sun.COM>
385 2008-03-13 Tor Lillqvist <tml@novell.com>
387 * Makefile.am: Actually use the gio.def file when linking the
388 library on Windows. Produce .lib library for Microsoft's toolchain
389 when possible. Install the .lib and .def file like for the other
392 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
394 * tests/live-g-file.c:
395 Include live-g-file in standard set of tests, making a temporary
396 directory in source structure.
398 Clean target directory before the tests (write mode only)
400 2008-03-12 Tor Lillqvist <tml@novell.com>
402 Bug 517419 - gio win32 directory monitor
403 Implementation by Vlad Grecescu.
406 * win32/gwin32directorymonitor.h
407 * win32/gwin32directorymonitor.c: New files.
409 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
411 * Makefile.am: Add the win32 subdirectory.
413 2008-03-12 Tor Lillqvist <tml@novell.com>
415 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
416 normal struct stat on Unix but struct _stati64 on Windows to have
417 access to 64-bit file size information. Use that instead of struct
418 stat in the functions declared here in this private header.
420 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
421 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
422 warnings about unused functions and variables. Don't set
423 meaningless attributes like inode numbers on Windows.
425 2008-03-12 Benjamin Otte <otte@gnome.org>
428 trim whitespace so gtk-doc groks the function name
430 2008-03-12 Tor Lillqvist <tml@novell.com>
432 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
433 returning FALSE, on Win32.
435 2008-03-11 Alexander Larsson <alexl@redhat.com>
438 * glocalfileinfo.[ch]:
439 Correctly implement can_trash by actually
440 looking for a trash dir, not just assuming
443 2008-03-10 Matthias Clasen <mclasen@redhat.com>
445 * === Released 2.16.1 ===
447 2008-03-11 Alexander Larsson <alexl@redhat.com>
450 Fix crashes in new constructor and properties code
452 2008-03-10 Murray Cumming <murrayc@murrayc.com>
454 * gfile.c: Minor spelling correction in documentation:
455 existance -> existence.
457 2008-03-10 Matthias Clasen <mclasen@redhat.com>
459 * === Released 2.16.0 ===
461 2008-03-10 Matthias Clasen <mclasen@redhat.com>
463 * gio.symbols: Remove g_file_contains_file here, too.
465 2008-03-10 Matthias Clasen <mclasen@redhat.com>
467 * gthemedicon.c: Add properties to make bindings happy. (#517676,
468 Samuel Cormier-Iijima)
470 2008-03-08 Tor Lillqvist <tml@novell.com>
472 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
475 2008-03-07 Alexander Larsson <alexl@redhat.com>
478 (g_local_file_query_filesystem_info):
479 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
480 Patch from Jasper Lievisse Adriaanse
482 2008-03-06 Tor Lillqvist <tml@novell.com>
484 * gfileinfo.h: Correct milliseconds to microseconds in the doc
485 comments for the *_USEC attributes.
487 2008-03-06 Alexander Larsson <alexl@redhat.com>
489 * gfile.c (g_file_query_exists):
490 Add g_return_val_if_fail check (#520700)
492 2008-03-06 Alexander Larsson <alexl@redhat.com>
497 * gunionvolumemonitor.c:
500 * tests/live-g-file.c:
501 * xdgmime/xdgmimecache.c:
502 Fix sparse warnings (#519489)
504 2008-03-05 Alexander Larsson <alexl@redhat.com>
507 Make cancellation threadsafe (i.e.
508 guarantee its only done once, and always
511 * glocaldirectorymonitor.c:
512 Make sure we the monitor lives while the
513 mounts_changed callback is being called (#520484)
515 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
517 * gbufferedinputstream.c: Fix typo in parameter
520 2008-03-04 Alexander Larsson <alexl@redhat.com>
523 Remove deprecated symbols we kept for one release.
525 2008-03-04 Murray Cumming <murrayc@murrayc.com>
528 * goutputstream.c: Tiny documentation corrections.
530 2008-03-03 Alexander Larsson <alexl@redhat.com>
532 * gunionvolumemonitor.c:
534 Fix the adopt_orphan_mount vfunc to take a
535 volume_monitor reference in an ABI compat way.
536 This change is not API compat, but the added
537 arg is not used in the only user of this vfunc, so
538 all we get is a harmless warning in gvfs (#520169)
540 2008-03-01 Benjamin Otte <otte@gnome.org>
543 clarify docs for g_file_delete().
545 2008-02-29 Alexander Larsson <alexl@redhat.com>
549 Make sure empty files get text/plain type (#518720)
551 2008-02-27 Alexander Larsson <alexl@redhat.com>
557 (g_unix_volume_mount):
558 Add missing GMountMountFlags argument
560 2008-02-26 Alexander Larsson <alexl@redhat.com>
563 (g_local_file_delete):
564 Handle filesystems (like ntfs-3g) that return EEXIST instead
565 of ENOTEMPTY (#518816)
567 2008-02-25 Matthias Clasen <mclasen@redhat.com>
569 * === Released 2.15.6 ===
571 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
573 * gfile.c (g_file_find_enclosing_mount):
574 * ginputstream.c (g_input_stream_set_pending):
575 * glocalfile.c (g_local_file_find_enclosing_mount):
576 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
577 * goutputstream.c (g_output_stream_set_pending):
579 Fixup translator comments (#518578).
581 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
583 * gfile.c (g_file_find_enclosing_mount):
585 * glocalfile.c (g_local_file_find_enclosing_mount):
588 Fix a few typos in translator comments and documentation.
590 2008-02-25 Alexander Larsson <alexl@redhat.com>
597 Add translator comments (#518578)
599 2008-02-25 Alexander Larsson <alexl@redhat.com>
602 Reintroduce g_file_contains_file, keep around for one
603 unstable release cycle to avoid crashing to many apps.
604 Make sure to delete after release.
606 2008-02-25 Alexander Larsson <alexl@redhat.com>
609 Remove deprecated g_file_contains_file.
611 2008-02-25 Alexander Larsson <alexl@redhat.com>
614 Emit actual change signals in an idle handler.
615 This avoids reentrance and locking problems in
616 the file notification backends.
618 2008-02-25 Alexander Larsson <alexl@redhat.com>
621 (g_unix_mount_guess_should_display):
622 Remove type guessing, instead just display
623 mounts in /media and in ~/.
625 2008-02-25 Alexander Larsson <alexl@redhat.com>
628 Make new strings reuse old ones.
630 2008-02-25 Alexander Larsson <alexl@redhat.com>
633 Implement trashing and filesystem::readonly for win32 (#517235)
634 Patch from Yevgen Muntyan
636 2008-02-23 Matthias Clasen <mclasen@redhat.com>
638 * gfileinfo.h: Documentation fixes.
640 2008-02-22 Alexander Larsson <alexl@redhat.com>
642 * gcontenttype.c (g_content_type_get_icon):
643 Look at old-style gnome mime icon names too, as many
644 have not moved to the new style.
646 2008-02-21 Matthias Clasen <mclasen@redhat.com>
648 * *.c: Correct the @include in for section docs.
650 2008-02-21 David Zeuthen <davidz@redhat.com>
652 * glocalfileinfo.c: (_g_local_file_info_get):
654 (g_content_type_get_icon): Implement this function by
655 moving bits from glocalfileinfo.c
656 (g_content_type_get_description): Unalias before getting
657 description (#517687)
659 * gfile.c: (g_file_class_init),
660 (g_file_query_filesystem_info_async),
661 (g_file_query_filesystem_info_finish),
662 (query_filesystem_info_data_free),
663 (query_filesystem_info_async_thread),
664 (g_file_real_query_filesystem_info_async),
665 (g_file_real_query_filesystem_info_finish):
666 * gfile.h: Implement async version of
667 g_file_query_filesystem_info()
669 * gfileinfo.h: Add new attributes for filesystem::use-preview
671 * gio.symbols: Update
673 * gthemedicon.c: (g_themed_icon_append_name):
674 * gthemedicon.h: Add new new convenience function.
676 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
677 (get_mounts), (get_volumes), (get_connected_drives),
678 (get_volume_for_uuid), (get_mount_for_uuid),
679 (g_union_volume_monitor_init), (populate_union_monitor),
680 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
681 (g_volume_monitor_adopt_orphan_mount):
683 * gvolumemonitor.h: Use recursive locks so it's safe for volume
684 monitor implementations to call into the main volume monitor. Also
685 separate object initialization and volume monitor initialization
686 such that non-native volume monitors can properly adopt their
689 2008-02-21 Alexander Larsson <alexl@redhat.com>
694 2008-02-21 Alexander Larsson <alexl@redhat.com>
697 Add more documentation about how GFiles work (from #517086)
699 2008-02-21 Alexander Larsson <alexl@redhat.com>
703 Add new g_file_has_prefix that does the same as g_file_contains_file.
704 Deprecate g_file_contains_file and add a macro that converts
705 it to g_file_has_prefix.
706 The reason for this change is that the contains_file() name seems to
707 imply that this does more work than what it does, but its really only
708 a name match (from #517086)
713 Update to match the above change.
715 2008-02-20 Benjamin Otte <otte@gnome.org>
717 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
718 (g_file_eject_mountable):
719 even more cases of not returning in error path
721 2008-02-20 Benjamin Otte <otte@gnome.org>
723 * gfile.c: (g_file_mount_mountable):
724 return from function in error path.
726 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
729 Remove trailing coma in GMountMountFlags struct
731 2008-02-18 Alexander Larsson <alexl@redhat.com>
735 * glocalfileoutputstream.c:
736 Use g_unlink/g_rename instead of unlink/rename;
737 do not pass raw filenames to g_set_error. (#517239)
738 Patch from Yevgen Muntyan.
740 2008-02-18 Alexander Larsson <alexl@redhat.com>
743 * glocalfileoutputstream.c:
744 Open files with O_BINARY on windows. (#517140)
746 2008-02-14 Alexander Larsson <alexl@redhat.com>
748 * glocalfileoutputstream.c:
749 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
751 2008-02-14 Alexander Larsson <alexl@redhat.com>
754 Copy permissions with file on copy (#514084)
755 This is what cp does and makes sure e.g. the
756 exec permissions are kept.
757 Its kinda weird in that it keeps the permission bits
758 the same while the uid and gid are different. However
759 the new uid is the user so its not a security issue,
760 and I've heard no complaints about cp on this issue.
762 2008-02-13 Ryan Lortie <desrt@desrt.ca>
764 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
766 2008-02-13 Alexander Larsson <alexl@redhat.com>
768 * inotify/inotify-path.c:
769 Define IN_ONLYDIR if not in header (#515346)
771 2008-02-12 Alexander Larsson <alexl@redhat.com>
773 * tests/live-g-file.c:
776 2008-02-11 Matthias Clasen <mclasen@redhat.com>
778 * === Released 2.15.5 ===
780 2008-02-11 Matthias Clasen <mclasen@redhat.com>
782 * gio.symbols: Add g_mount_mount_flags_get_type.
784 2008-02-11 Alexander Larsson <alexl@redhat.com>
787 (g_file_info_set_attribute_mask):
788 (g_file_attribute_matcher_matches_id):
789 Correctly handle NULL GAttributeMatcher meaning
790 matches nothing. (Fixes #513492)
792 2008-02-11 Alexander Larsson <alexl@redhat.com>
797 Added GMountMountFlags enum and added a flags
798 argument to all mount calls.
800 This is an API/ABI change for future extensibility,
801 as I think we will need at least an
802 inhibit-autorun flag (the panel needs this).
803 There are no flags defined yet though.
805 2008-02-11 Alexander Larsson <alexl@redhat.com>
808 Added new standard::description attribute.
809 Requested by Vincent, and useful for both
812 2008-02-11 Alexander Larsson <alexl@redhat.com>
817 2008-02-11 Matthias Clasen <mclasen@redhat.com>
819 * *.c: Documentation additions
821 2008-02-10 Matthias Clasen <mclasen@redhat.com>
823 * gappinfo.h: Formatting cleanup
824 * gappinfo.c: Fix up docs.
826 2008-02-09 Matthias Clasen <mclasen@redhat.com>
828 * gunixmounts.c: Consistently use getmntent_r() and fall
829 back to getmntent(). (#515492)
831 2008-02-09 Matthias Clasen <mclasen@redhat.com>
833 * gbufferedinputstream.c:
835 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
837 * tests/data-input-stream.c:
838 * tests/data-output-stream.c: Portability fixes.
840 2008-02-08 Alexander Larsson <alexl@redhat.com>
845 Add g_volume_should_automount.
848 2008-02-07 Tor Lillqvist <tml@novell.com>
850 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
851 Win32, too Unix-specific.
853 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
855 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
856 a local plt if the compiler doesn't support what we want. Bug #514702
858 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
860 reviewed by: <delete if not using a buddy>
863 * gunixinputstream.c:
864 * gunixoutputstream.c:
866 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
869 * tests/live-g-file.c:
870 * tests/live-g-file.txt:
871 New GIO testing module working over real data
873 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
875 * glocalfileoutputstream.c (g_local_file_output_stream_close):
876 Fallback to rename() if link() is not available
877 (when no support on target filesystem)
879 2008-02-06 Michael Natterer <mitch@imendio.com>
881 * gfileinfo.c (g_file_info_get_icon): replace
882 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
884 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
886 * gfile.c (g_file_create):
887 Documentation update of error codes
889 2008-02-06 Alexander Larsson <alexl@redhat.com>
892 Update to use both mimeapps.list and
893 defaults.list as discussed on xdg list.
895 2008-02-06 Benjamin Otte <otte@gnome.org>
898 * gfilenamecompleter.c:
899 Fix some typos in the documentation.
901 2008-02-06 Alexander Larsson <alexl@redhat.com>
903 * glocalfile.c (g_local_file_trash):
904 Don't succeed with trash if newly created
905 trash dir has the wrong owner. (#514696)
907 2008-02-05 Alexander Larsson <alexl@redhat.com>
909 * glocalfile.c (g_local_file_move):
910 Don't spew warnings when destination is not
913 2008-02-03 Hans Breuer <hans@breuer.org>
915 * makefile.msc : update
917 2008-02-01 Michael Natterer <mitch@imendio.com>
919 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
920 return value of xdg_mime_list_mime_parents() to a variable of the
923 2008-02-01 Alexander Larsson <alexl@redhat.com>
925 * gappinfo.c (g_app_info_launch_uris):
926 Actually call the launch_uris method, not
929 2008-02-01 Alexander Larsson <alexl@redhat.com>
931 * gdesktopappinfo.c (g_desktop_app_info_equal):
932 Ensure appinfos with no id but same pointer value
935 2008-02-01 Alexander Larsson <alexl@redhat.com>
937 * gappinfo.c (g_app_info_launch_default_for_uri):
940 2008-02-01 Alexander Larsson <alexl@redhat.com>
944 Add g_app_info_launch_default_for_uri utility
947 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
950 Doc fix for g_app_info_get_default_for_uri_scheme ()
953 2008-01-30 Alexander Larsson <alexl@redhat.com>
956 Add doc comment about uris vs GFiles to
960 Ensure uris passed to g_app_info_launch_uris()
961 are not roundtriped through GFile (as that
962 may be slightly destructive for e.g. mailto: links)
964 2008-01-30 Alexander Larsson <alexl@redhat.com>
966 * tests/data-input-stream.c:
967 * tests/data-output-stream.c:
968 C89 fixes from Jens Granseuer (#512849)
970 2008-01-30 Alexander Larsson <alexl@redhat.com>
973 Fix gamin/fam difference build issue. (#509419)
975 2008-01-29 Alexander Larsson <alexl@redhat.com>
979 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
981 2008-01-29 Alexander Larsson <alexl@redhat.com>
985 giomodule-priv.h include moved to .c file.
987 2008-01-29 Alexander Larsson <alexl@redhat.com>
989 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
990 Remove unused prio/name fields.
992 2008-01-29 Alexander Larsson <alexl@redhat.com>
994 * gcontenttype.c (looks_like_text):
995 Don't treat whitespace as control chars.
997 2008-01-29 Alexander Larsson <alexl@redhat.com>
1000 Lazily create the desktop files for appinfos created
1001 by g_app_info_create_from_commandline() when needed
1002 for mime associations. This allows run-time use
1003 of GAppInfo object without creating unnecessary
1006 2008-01-29 Alexander Larsson <alexl@redhat.com>
1009 Added new symbols to gio.symbols
1011 2008-01-29 Alexander Larsson <alexl@redhat.com>
1014 Add g_file_query_default_handler utility to easily look up
1015 the GAppInfo that handles a file.
1017 * gdesktopappinfo.[ch]:
1019 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1022 Remove unused function
1024 2008-01-29 Alexander Larsson <alexl@redhat.com>
1026 * gfileenumerator.c:
1027 Mention need to free returned value in
1028 g_file_enumerator_next_files_finish docs.
1029 Fix leak if g_file_enumerator_next_files_finish()
1032 2008-01-29 Alexander Larsson <alexl@redhat.com>
1035 (_g_unix_content_type_get_parents):
1036 Use list_parents, not get_parents from xdgmime, because
1037 the later doesn't use the cache.
1039 * xdgmime/xdgmimecache.c:
1040 (_xdg_mime_cache_list_mime_parents):
1041 Don't list the same type as parent multiple times.
1043 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1045 * === Released 2.15.4 ===
1047 2008-01-28 Alexander Larsson <alexl@redhat.com>
1050 Register local vfs with prio 0.
1053 Remove old name and prio class members
1055 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1057 * tests/g-file.c: Disable some tests that are failing in
1058 the absence of a http backend.
1060 2008-01-28 Alexander Larsson <alexl@redhat.com>
1064 Add registration hooks for extension points.
1065 Register the gio extension points.
1067 * fam/gfamdirectorymonitor.c:
1068 * fam/gfamfilemonitor.c:
1069 * glocaldirectorymonitor.[ch]:
1070 * glocalfilemonitor.[ch]:
1071 * gnativevolumemonitor.h:
1072 * gunionvolumemonitor.c:
1073 * gunixvolumemonitor.c:
1076 * inotify/ginotifydirectorymonitor.c:
1077 * inotify/ginotifyfilemonitor.c:
1078 Use the extension points registration instead
1079 of g_type_children().
1081 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1084 * gvolume.[hc]: Document new API.
1086 * gfile.c (g_file_copy_async): Fix docs
1088 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1090 * gbufferedinputstream.c:
1092 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1095 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1097 * glocalfile.c: Avoid trivial differences in translatable strings.
1099 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1101 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1102 build with gcc 3.4 (#509419)
1104 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1106 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1107 (#509994, Murray Cumming)
1109 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1111 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1112 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1113 this allows big jobs to be executed in chunks, instead of blocking
1114 the main loop for a long time.
1116 * gsimpleasyncresult.c:
1117 * giofile.c: Adapt callers.
1119 2008-01-25 Alexander Larsson <alexl@redhat.com>
1121 * gdesktopappinfo.c:
1122 Implement changes discussed on xdg list.
1123 Now we can add supported mimetypes by just using defaults.list
1124 We can also remove associations in defaults.list.
1126 2008-01-25 Alexander Larsson <alexl@redhat.com>
1128 * gdesktopappinfo.c:
1129 Don't make local copy of desktop file
1130 for mimetype changes if the file already
1131 supports the new mimetype.
1133 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1137 * gbufferedinputstream.c:
1138 * glocalfile.c: String improvements. (#511966,
1139 Theppitak Karoonboonyanan)
1141 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1143 * gioscheduler.h: Expand docs a bit.
1145 2008-01-24 Alexander Larsson <alexl@redhat.com>
1148 Add g_drive_get_identifier and
1149 g_drive_enumerate_identifiers
1152 Add g_volume_get_identifier and
1153 g_volume_enumerate_identifiers
1159 Implement identifiers for unix backend
1161 2008-01-24 Alexander Larsson <alexl@redhat.com>
1166 Add g_file_copy_async() (#511580)
1167 Based on patch from Carlos Garcia Campos
1169 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1171 * gioscheduler.c: Some documentation additions.
1173 2008-01-22 Alexander Larsson <alexl@redhat.com>
1175 * gdesktopappinfo.c:
1176 (g_desktop_app_info_new):
1177 Don't leak basename.
1179 2008-01-22 Alexander Larsson <alexl@redhat.com>
1181 * gdesktopappinfo.c:
1182 (g_desktop_app_info_new_from_filename):
1185 2008-01-22 Alexander Larsson <alexl@redhat.com>
1187 * glocalfileinfo.c (get_thumbnail_attributes):
1190 2008-01-22 Alexander Larsson <alexl@redhat.com>
1193 (canonicalize_filename):
1194 Canonicalize paths that start with more than
1198 (compare_two_files):
1199 (test_g_file_new_for_path):
1202 2008-01-22 Alexander Larsson <alexl@redhat.com>
1205 Allow UTF-8 in file:// parse names.
1207 * tests/Makefile.am:
1208 * tests/data-input-stream.c:
1209 * tests/data-output-stream.c:
1210 * tests/g-file-info.c:
1212 Added a bunch of tests from Tomas Bzatek
1214 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1216 * === Released 2.15.3 ===
1218 2008-01-21 Alexander Larsson <alexl@redhat.com>
1220 * gfileinputstream.[ch]:
1221 * gfileoutputstream.[ch]:
1223 Remove duplicated GSeekable functions. (#509990)
1224 Just use the g_seekable_xxx() calls instead.
1226 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1229 * gvolumemanager.c: Whitespace cleanups.
1231 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1232 Use the right mode when creating the file.
1234 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1236 * gfileenumerator.c:
1237 * gfileinputstream.c:
1239 * goutputstream.c: Documentation: Fixed minor typos
1240 and added more mentions of specific _finish() functions.
1242 2008-01-21 Alexander Larsson <alexl@redhat.com>
1244 * inotify/Makefile.am:
1245 * inotify/inotify-helper.c:
1246 * inotify/inotify-kernel.c:
1247 * inotify/inotify-path.c:
1248 * inotify/local_inotify.h: Removed.
1249 * inotify/local_inotify_syscalls.h: Removed.
1250 Removed the included copies of the inotify
1251 headers. We now only use the <sys/inotify.h>
1252 header which exists on modern systems.
1253 This fixes problems on ARM and SH5 (#510448)
1254 but is also generally much cleaner and future
1255 safe. For instance, if other OSes add support
1256 for inotify it should "just work".
1258 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1260 * inotify/*.c: Coding style fixes.
1261 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1262 for the 1/4 Hz timer.
1264 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1267 * gfilemonitor.[hc]:
1268 * gmemoryinputstream.c:
1269 * gmemoryoutputstream.c:
1270 * gmountoperation.c:
1271 * gthemedicon.c: Documentation updates
1273 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1275 * gfile.c: documentation: Fixed more minor
1278 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1280 * gmount.c: (g_mount_remount): documentation:
1281 Mention g_mount_remount_finish() instead of
1282 g_mount_unmount_finish().
1284 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1288 * gfile.c: Fixed some minor typos in the
1291 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1293 * gio/gvolumemonitor.c:
1294 (g_volume_monitor_get_connected_drives):
1295 (g_volume_monitor_get_volumes):
1296 (g_volume_monitor_get_mounts): Documentation:
1297 Clarify the ownership of the regurn GLists.
1299 2008-01-17 Alexander Larsson <alexl@redhat.com>
1302 Add the async find_enclosing_mount version
1303 to the header file too.
1305 2008-01-17 Alexander Larsson <alexl@redhat.com>
1308 Add async version of find_enclosing_mount
1309 with default implementation.
1311 2008-01-17 Alexander Larsson <alexl@redhat.com>
1316 Allow calls to implementation of copy and write
1317 even if the type of the file implementations is
1318 different. This can be used to implement native
1319 upload and download calls in a vfs.
1322 (g_local_file_move):
1323 Protect against the case where move is called
1324 with one file not being local.
1326 Make sure we call the progress callback once
1327 in the native move operation so that the caller
1328 knows how many bytes were copied.
1330 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1333 * gdatainputstream.c:
1335 * gfileoutputstream.c:
1340 * gunixmounts.c: Corrected some typos in the documentation:
1341 occured -> occurred.
1342 its -> it's (where appropriate).
1344 2008-01-16 Alexander Larsson <alexl@redhat.com>
1348 Add g_file_query_exists (#508771)
1350 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1355 * gvolume.c: For async functions that have no non-async
1356 version, document that the GAsyncReadyCallback may be NULL.
1359 2008-01-15 Alexander Larsson <alexl@redhat.com>
1361 * gmemoryinputstream.c:
1362 * gmemoryoutputstream.c:
1363 Don't do pointer arithmetic on void * (#508602)
1364 Patch from Kazuki IWAMOTO
1366 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1368 * === Released 2.15.2 ===
1370 2008-01-14 Alexander Larsson <alexl@redhat.com>
1372 * gfile.c (g_file_monitor_file):
1373 Don't set error here, since we fallback to polling monitor.
1375 2008-01-14 Alexander Larsson <alexl@redhat.com>
1378 (g_file_monitor_directory):
1379 (g_file_monitor_file):
1380 Add GError to file monitor calls
1382 * glocaldirectorymonitor.c:
1383 * glocaldirectorymonitor.h:
1385 * glocalfilemonitor.c:
1386 * glocalfilemonitor.h:
1388 Update for above change
1390 2008-01-14 Alexander Larsson <alexl@redhat.com>
1394 Handle root correctly in g_file_get_relative_path (#508719)
1396 2008-01-14 Alexander Larsson <alexl@redhat.com>
1399 Clean up docs and example for GAsyncResult (#508074)
1401 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1403 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1404 and correct some spelling mistakes. Bug #508108.
1406 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1408 * glocalfileinfo.c: Add a comment.
1410 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1412 * gfileinfo.c: GFileInfo description: Mention
1413 how to actually set attributes in a GFile and how to discover
1414 which attributes are settable. Bug #508378.
1416 2008-01-10 A. Walton <awalton@svn.gnome.org>
1418 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1419 (g_app_info_get_default_for_type):
1420 Check for NULL content types.
1422 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1424 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1426 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1428 * gfile.c: *_async() functions: Several small corrections
1429 to the documentation, mostly correcting copy/paste errors
1430 and improving some sentences.
1432 2008-01-09 Dan Winship <danw@gnome.org>
1434 * glocalfile.c (get_unique_filename): x86_64 fix
1436 2008-01-09 Alexander Larsson <alexl@redhat.com>
1441 Add g_unix_mount_guess_should_display and use
1442 for unix volume monitor backend.
1443 This means we more or less show what the
1444 gnome-vfs backend did.
1445 Based on patch from Padraig O'Briain
1447 2008-01-09 Alexander Larsson <alexl@redhat.com>
1451 Add g_themed_icon_new_with_default_fallbacks
1454 Use default fallbacks for icons
1456 2008-01-09 Alexander Larsson <alexl@redhat.com>
1459 * gmountoperation.[ch]:
1460 Change the API a bit so that unhandled methods
1461 get reported via the reply, rather than by
1462 the signal emission return value. This is because
1463 some handlers can't know this immediately without
1464 doing I/O, and this is an async operation that
1467 2008-01-09 Alexander Larsson <alexl@redhat.com>
1470 * fam/gfamdirectorymonitor.c:
1471 * fam/gfamfilemonitor.c:
1472 Fix double free crash (#508224)
1473 Patch from Joe Marcus Clarke
1475 008-01-07 Matthias Clasen <mclasen@redhat.com>
1477 * === Released 2.15.1 ===
1479 2008-01-07 Alexander Larsson <alexl@redhat.com>
1481 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1482 Fix warning (#507835)
1484 2008-01-07 Alexander Larsson <alexl@redhat.com>
1487 Pass --internal to glib-genmarshal
1490 * gmountoperation.c:
1492 Use better types for signal arguments (#507822)
1494 2008-01-07 Alexander Larsson <alexl@redhat.com>
1497 Build test subdir after .
1498 Remove gdirectorymonitor.[ch]
1500 * gdirectorymonitor.[ch]:
1504 Remove GDirectoryMonitor and make
1505 GFileMonitor the baseclass for both file and
1506 directory monitors. Lift the more generic
1507 rate limiting code from GDirectoryMonitor
1511 * fam/gfamdirectorymonitor.[ch]:
1512 * inotify/ginotifydirectorymonitor.[ch]:
1513 * inotify/inotify-helper.c:
1514 * glocaldirectorymonitor.[ch]:
1517 Update for the removed GDirectoryMonitor.
1519 * gmemoryoutputstream.c:
1520 Remove ununsed variable
1522 2008-01-07 Alexander Larsson <alexl@redhat.com>
1524 * gmemoryinputstream.c:
1525 Translate error strings
1528 * gmemoryoutputstream.[ch]:
1529 New implementation that avoids using GByteArray
1530 in implementation and API. (#506377)
1532 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1534 * tests/*: Add a test for memory input streams.
1536 * Makefile.am: Add tests to SUBDIRS.
1538 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1540 * glocalfilemonitor.c:
1541 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1544 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1546 * gdesktopappinfo.c: Fix a docs typo.
1548 * gfileattribute.c: Add information about extended attributes
1549 to the documentation. (#505058)
1551 2008-01-04 Alexander Larsson <alexl@redhat.com>
1554 * gmountoperation.c:
1555 Use the right type (uint) for the ask_password signal.
1557 2008-01-04 Alexander Larsson <alexl@redhat.com>
1562 Add g_app_info_supports_files()
1563 Remove desktop arg from g_app_info_should_show().
1565 * gdesktopappinfo.[ch]:
1566 Implement g_app_info_supports_files() and new should_show()
1567 Add g_desktop_app_info_set_desktop_env() to set the desktop
1568 for should_show(). (This will be set by gtk+ later)
1570 2008-01-04 Alexander Larsson <alexl@redhat.com>
1573 * gmemoryinputstream.[ch]:
1574 Improve API so that you can use multiple chunks
1575 of memory and custom destroy functions. (#506374)
1577 2008-01-03 Alexander Larsson <alexl@redhat.com>
1580 Handle NULL attribute matchers safely, as we return this
1581 for empty attribute matcher strings.
1583 2008-01-03 Alexander Larsson <alexl@redhat.com>
1585 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1586 Add /usr/local to list of internal mountpoints
1588 2008-01-03 Alexander Larsson <alexl@redhat.com>
1591 Check for HAVE_LCHOWN (#505887)
1593 2008-01-03 Alexander Larsson <alexl@redhat.com>
1597 Add define for selinux context attribute.
1598 Fix missing : -> :: namespace separator change
1599 Fix missing _ -> - name change for xattr-sys.
1602 2008-01-03 Alexander Larsson <alexl@redhat.com>
1605 Link to libglib and libgobject directly (#504879)
1606 Patch from Sebastien Bacher
1608 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1610 * gfile.c: Expanded the g_file_new_for_commandline_arg
1611 description a bit, based on the code and the docs of the
1612 other g_file_new_for_* functions.
1614 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1616 * gfilemonitor.h: Fixed typo in docs.
1618 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1620 Updates to GIO documentation. (#506395, Mikael Hermansson)
1622 * gcontenttype.c: Describe memory management for return value of
1623 g_content_types_get_registered(). Missing piece from #505815.
1624 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1625 GVolume, GDrive, GMounts, which hopefully gives the user less
1626 confusions when using this API. Following explainations from
1627 Alexander Larsson on gtk-devel-list.
1629 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1631 * gfileinfo.c: Expand the long description.
1633 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1636 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1637 fix builds with --disable-visibility. (#500273, Christian Persch)
1639 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1641 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1642 in the list of returned app infos.
1644 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1646 * gappinfo.c: Fix a cross-reference
1648 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1650 * gfileinputstream.c:
1651 * gfileoutputstream.c:
1655 * gdesktopappinfo.c:
1657 * gfileinfo.c: Documentation updates.
1659 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1661 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1664 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1666 * gcontenttype.c (g_content_types_get_registered): Don't return
1667 freed memory (#505815, Mikael Hermansson)
1669 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1671 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1672 used to detect statbuf->st_blocks. (#505042)
1674 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1676 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1677 environment handling. (#504829, Cosimo Cecchi)
1679 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1681 * gappinfo.c: Doc improvements
1683 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1686 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1688 * === Released 2.15.0 ===
1690 2007-12-20 Hans Breuer <hans@breuer.org>
1692 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1693 with symbols gwin32appinfo.obj, added gmount.obj
1694 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1696 2007-12-20 Alexander Larsson <alexl@redhat.com>
1702 * gfilenamecompleter.c:
1705 * gpollfilemonitor.c:
1706 File attribute renames:
1708 fs:: -> filesystem::
1709 id::fs -> id::filesystem
1711 2007-12-20 Alexander Larsson <alexl@redhat.com>
1720 Add GMountUnmountFlags to all unmount and
1722 Add g_mount_remount() call.
1724 2007-12-20 Alexander Larsson <alexl@redhat.com>
1726 * gvfs.c (get_default_vfs):
1727 Fix unused variable warning
1729 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1731 * pltcheck.sh: Update
1733 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1735 * gunionvolumemonitor.c:
1736 * gunixmount.c: Remove C99 comments
1738 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1740 * gio.symbols: Add some missing symbols
1742 2007-12-19 Alexander Larsson <alexl@redhat.com>
1745 Make g_io_modules_load_all_in_directory not unuse
1746 loaded modules so that users of it can do stuff
1748 Init internal "module" types.
1749 Initialize static prio and name for types so that
1750 we don't have to load modules to get it.
1752 * gnativevolumemonitor.h:
1754 Move is_supported to parent class so that
1755 non-native monitors can avoid being initialized
1756 too. (For instance GDaemonVolumeMonitor if we're
1757 not using GDaemonVfs.)
1759 * glocaldirectorymonitor.[ch]:
1760 * glocalfilemonitor.[ch]:
1761 * gunionvolumemonitor.c:
1762 * gunixvolumemonitor.c:
1764 Find plugins using the static prio+name to
1765 avoid unnecessarily loading the modules.
1767 2007-12-19 Alexander Larsson <alexl@redhat.com>
1772 2007-12-19 Alexander Larsson <alexl@redhat.com>
1774 * gunionvolumemonitor.c:
1775 Store the native type as GType, not class so that
1776 we can unload it. But still avoid unnecessarily
1779 2007-12-19 David Zeuthen <davidz@redhat.com>
1781 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1782 add signals 'disconnected' and 'eject-button' on GDrive. Add
1783 signal 'removed' on GVolume and 'unmounted' on GMount.
1785 * gdrive.c: (g_drive_base_init):
1787 * gfile.c: (g_file_mount_mountable),
1788 (g_file_mount_enclosing_volume):
1791 * gmount.c: (g_mount_base_init):
1793 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1794 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1795 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1799 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1801 * *.c: Fix up includes in the section docs.
1803 2007-12-17 Alexander Larsson <alexl@redhat.com>
1805 * gnativevolumemonitor.h:
1806 * gunionvolumemonitor.c:
1807 * gunixvolumemonitor.c:
1808 Add is_supported() to GNativeVolumeMonitorClass so
1809 that we can avoid having to create an object to see
1810 if the backend is supported at runtime.
1811 Also add name member and an env var to pick a specific
1812 volume monitor backend.
1816 Add cancellable to _g_mount_get_for_mount_path()
1818 * glocaldirectorymonitor.c:
1819 * glocalfilemonitor.c:
1820 Avoid loading and unloading modules while sorting.
1822 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1825 * gunixmounts.[hc]: Namespace waste reduction, move some
1826 g_get_unix_mount functions to the g_unix_mount namespace.
1829 * gunixvolumemonitor.c:
1831 * glocaldirectorymonitor.c: Update all callers.
1833 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1835 2007-12-17 Alexander Larsson <alexl@redhat.com>
1838 Add doc comments about what GFile operations are
1839 guaranteed to not block.
1841 2007-12-17 Alexander Larsson <alexl@redhat.com>
1844 Add missing #ifdef fixing OSX build.
1845 (#503334, patch from Richard Hult)
1847 2007-12-14 David Zeuthen <davidz@redhat.com>
1851 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1852 (g_mount_eject), (g_mount_eject_finish):
1854 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1855 (get_volume_for_uuid), (get_mount_for_uuid),
1856 (g_union_volume_monitor_class_init),
1857 (get_default_native_type_with_exclude), (get_default_native_type),
1858 (get_native_type), (update_native_type),
1859 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1860 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1861 (g_unix_mount_can_eject), (eject_unmount_cb),
1862 (eject_unmount_read_error), (eject_unmount_do),
1863 (g_unix_mount_unmount), (g_unix_mount_eject),
1864 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1865 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1866 (g_unix_mount_point_guess_can_eject):
1868 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1869 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1870 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1871 (g_unix_volume_mount), (g_unix_volume_eject),
1872 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1873 * gunixvolumemonitor.c: (get_volume_for_uuid),
1874 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1876 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1877 (g_volume_eject), (g_volume_eject_finish):
1879 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1880 (g_volume_monitor_get_mount_for_uuid):
1883 Provide eject() on both GMount and GVolume and utility functions
1884 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1885 ejected. Introduce the concept of UUID's and wire it into GVolume
1886 and GMount and provide API on GVolumeMonitor to find such
1887 instances. Also handle the case where an external
1888 GNativeVolumeMonitor fails to initialize. Lock around the
1889 _g_get_mount_for_mount_path() function such that volume monitor
1890 implementations won't have to do locking themselves.
1892 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1894 * gdesktopappinfo.c:
1900 * gvolume.h: Documentation updates
1902 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1905 * gfile.h: Doc updates
1907 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1910 * gdesktopappinfo.c: Use hash table iterators.
1912 2007-12-14 Alexander Larsson <alexl@redhat.com>
1915 * gfileattribute.[ch]:
1916 * gfileattribute-priv.h:
1917 Move GFileAttributeValue to a private header, as
1921 Make set_attribute take a type + a pointer instead
1922 of a GFileAttributeValue.
1925 Fix up for above changes.
1926 Add g_file_info_get_attribute_data to get
1927 all info in one call, g_file_info_get_attribute_status
1928 to get the status and g_file_info_get_attribute_as_string.
1932 * glocalfileinfo.[ch]:
1936 Make _guess_type static.
1938 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1941 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1942 made mkenums and friends use temporary files to avoid leaving
1943 empty generated files on failure (#503470).
1945 2007-12-14 Alexander Larsson <alexl@redhat.com>
1947 * gmountoperation.h:
1950 2007-12-14 Alexander Larsson <alexl@redhat.com>
1954 * gfileattribute.[ch]:
1957 * glocalfileoutputstream.c:
1958 * gmountoperation.[ch]:
1959 * goutputstream.[ch]:
1960 Clean up all flags enums to not have _FLAGS in them
1961 Make the names of some of the enums better.
1966 2007-12-14 Michael Natterer <mitch@imendio.com>
1968 * gio.symbols: fix g_io_scheduler symbol names.
1970 2007-12-14 Alexander Larsson <alexl@redhat.com>
1976 * gbufferedinputstream.h:
1977 * gbufferedoutputstream.h:
1980 * gdatainputstream.h:
1981 * gdataoutputstream.h:
1982 * gdesktopappinfo.h:
1983 * gdirectorymonitor.h:
1987 * gfileenumerator.h:
1990 * gfileinputstream.h:
1992 * gfilenamecompleter.h:
1993 * gfileoutputstream.h:
1994 * gfilterinputstream.h:
1995 * gfilteroutputstream.h:
2003 * gmemoryinputstream.h:
2004 * gmemoryoutputstream.h:
2006 * gmountoperation.h:
2009 * gsimpleasyncresult.h:
2011 * gunixinputstream.h:
2013 * gunixoutputstream.h:
2017 * inotify/Makefile.am:
2018 Only allow including <gio/gio.h> from apps
2020 2007-12-14 Alexander Larsson <alexl@redhat.com>
2022 * gioscheduler.[ch]:
2023 * gsimpleasyncresult.c:
2024 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2025 Split out the send_to_mainloop call into two versions instead
2026 of having the block argument.
2028 2007-12-13 Alexander Larsson <alexl@redhat.com>
2030 * gcancellable.[ch]:
2032 * gbufferedinputstream.c:
2033 * gfileenumerator.c:
2034 * gfileinputstream.c:
2035 * gfileoutputstream.c:
2039 g_push/pop_current_cancellable ->
2040 g_cancellable_push/pop_current
2042 2007-12-13 Alexander Larsson <alexl@redhat.com>
2046 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2048 2007-12-13 Alexander Larsson <alexl@redhat.com>
2050 * gmountoperation.h:
2051 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2053 2007-12-12 Alexander Larsson <alexl@redhat.com>
2056 Fix race condition when freeing proxy in
2057 g_io_job_send_to_mainloop().
2059 2007-12-12 Alexander Larsson <alexl@redhat.com>
2065 Make attribute namespace separator "::" instead of ":".
2066 Use - instead of _ as separator in attribute names.
2068 2007-12-12 Alexander Larsson <alexl@redhat.com>
2070 * gbufferedinputstream.h:
2071 * gbufferedoutputstream.h:
2072 * gdatainputstream.h:
2073 * gdataoutputstream.h:
2074 * gdirectorymonitor.h:
2075 * gfileenumerator.h:
2076 * gfileinputstream.h:
2078 * gfileoutputstream.h:
2079 * gfilterinputstream.h:
2080 * gfilteroutputstream.h:
2082 * glocalfileinputstream.h:
2083 * glocalfileoutputstream.h:
2084 * gmemoryinputstream.h:
2085 * gmemoryoutputstream.h:
2086 * gnativevolumemonitor.h:
2088 * gunixinputstream.h:
2089 * gunixoutputstream.h:
2092 s/parent/parent_instance/ in GObjects
2094 2007-12-12 Alexander Larsson <alexl@redhat.com>
2099 No need for padding for interfaces
2101 2007-12-12 Alexander Larsson <alexl@redhat.com>
2105 * gbufferedinputstream.c:
2106 * gbufferedoutputstream.c:
2109 * gdatainputstream.[ch]:
2110 * gdesktopappinfo.c:
2111 * gdirectorymonitor.c:
2113 * gfileattribute.[ch]:
2116 * gfileinputstream.h:
2117 * gfilemonitor.[ch]:
2118 * gfileoutputstream.[ch]:
2119 * gfilterinputstream.h:
2120 * gfilteroutputstream.h:
2123 * gloadableicon.[ch]:
2124 * gmemoryinputstream.c:
2125 * gmountoperation.c:
2127 Fix up a bunch of details in the docs.
2132 2007-12-11 David Zeuthen <davidz@redhat.com>
2134 Rework how volumes, drives and volume monitoring is
2135 done. Previosly the model was
2137 GDrive <1-1> GVolume
2139 where a GDrive instance represented a mount point and a GVolume
2140 instance represented a mounted file system. This patch changes it
2143 GDrive <1-N> GVolume <1-1> GMount
2145 where GMount now serves the purpose of the old GVolume and the new
2146 GVolume serves the purpose of the old GDrive. In addition the new
2147 GDrive interface is used to represent a collection of GVolume
2148 instances (typically partitions) and also contains utility to query
2149 the state of the physical drive the GDrive object represents (such
2150 as checking for media, polling the drive, ejecting the media etc.).
2152 Also implement mounting and unmounting in the Unix volume monitor
2153 backend. A subquent patch will introduce GDrive support for ejection
2157 * gdrive.c: (g_drive_is_media_check_automatic),
2158 (g_drive_is_media_removable), (g_drive_has_media),
2159 (g_drive_can_poll_for_media), (g_drive_eject),
2160 (g_drive_eject_finish), (g_drive_poll_for_media),
2161 (g_drive_poll_for_media_finish):
2163 * gfile.c: (g_file_find_enclosing_mount):
2166 * glocaldirectorymonitor.c:
2167 (g_local_directory_monitor_constructor), (mounts_changed):
2168 * glocalfile.c: (get_mount_info),
2169 (g_local_file_find_enclosing_mount),
2170 (g_local_file_file_iface_init):
2171 * gnativevolumemonitor.h:
2172 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2173 (get_connected_drives), (g_union_volume_monitor_class_init),
2174 (child_volume_added), (child_volume_removed),
2175 (child_volume_changed), (child_mount_added), (child_mount_removed),
2176 (child_mount_pre_unmount), (child_mount_changed),
2177 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2178 (g_union_volume_monitor_remove_monitor),
2179 (_g_mount_get_for_mount_path):
2180 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2181 (guess_system_internal), (_g_get_unix_mounts),
2182 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2183 (g_unix_mount_free), (g_unix_mount_compare),
2184 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2185 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2186 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2187 (type_to_icon), (g_unix_mount_guess_name),
2188 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2189 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2190 (_resolve_symlink), (_resolve_dev_root):
2192 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2193 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2194 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2195 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2196 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2197 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2198 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2199 (g_unix_volume_volume_iface_init):
2201 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2202 (get_mounts), (get_volumes), (get_connected_drives),
2203 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2204 (mountpoints_changed), (mounts_changed),
2205 (g_unix_volume_monitor_init),
2206 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2207 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2208 * gunixvolumemonitor.h:
2209 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2210 (g_volume_mount), (g_volume_mount_finish):
2212 * gvolumemonitor.c: (g_volume_monitor_class_init),
2213 (g_volume_monitor_get_connected_drives),
2214 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2217 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2219 * gmountoperation.h (GPasswordFlags): Close the gap
2221 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2223 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2225 * gdesktopappinfo.[hc]: Remove _-prefixes
2227 2007-12-10 Tor Lillqvist <tml@novell.com>
2229 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2232 2007-12-10 Alexander Larsson <alexl@redhat.com>
2234 * gfile.c (g_file_set_display_name):
2235 Don't hardcode '/' (#502727)
2237 2007-12-09 Hans Breuer <hans@breuer.org>
2239 * makefile.msc : follow lib naming convention
2240 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2241 for user and group name, tested with ../tests/gio-ls
2243 2007-12-09 A. Walton <awalton@svn.gnome.org>
2245 * gdesktopappinfo.c:
2251 * gfileenumerator.c:
2256 * gmemoryinputstream.c:
2257 * gmemoryoutputstream.c:
2259 * gsimpleasyncresult.c:
2260 More documentation cleanup and filling in missing information, bringing
2261 GIO to 99% symbol coverage.
2263 2007-12-08 Hans Breuer <hans@breuer.org>
2265 [gio compiles and links on win32, not sure how much already works]
2266 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2267 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2268 base on win32 API; prefer g_lstat() over lstat(); instead of
2269 localtime_r() use an all GLib implementation on win32;
2270 get_mount_info() still needs a win32 specifc implementation
2271 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2272 win32_get_file_user_info to get owner/group info without uid/gid
2273 * glocalfileinputstream.c : include <io.h> on win32
2274 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2275 definition, use g_win32_ftruncate() for G_OS_WIN32
2276 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2277 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2278 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2279 * makefile.msc : updated
2281 2007-12-07 Alexander Larsson <alexl@redhat.com>
2283 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2284 Avoid warning spew if error == NULL
2286 2007-12-07 Alexander Larsson <alexl@redhat.com>
2289 Update docs wrt etags
2291 2007-12-06 Alexander Larsson <alexl@redhat.com>
2294 Include sys/types.h for dev_t (#501919)
2296 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2300 Make abicheck and pltcheck pass.
2302 2007-12-05 Alexander Larsson <alexl@redhat.com>
2305 * giomodule-priv.h: Added.
2306 * glocaldirectorymonitor.c:
2307 * glocalfilemonitor.c:
2308 * gunionvolumemonitor.c:
2310 Actually add the declaration of _g_io_modules_ensure_loaded
2312 2007-12-05 Alexander Larsson <alexl@redhat.com>
2314 * gdatainputstream.c:
2319 * glocaldirectorymonitor.c:
2320 * glocalfilemonitor.c:
2321 * gunionvolumemonitor.c:
2323 Make g_io_modules_ensure_loaded a private function and
2324 don't pass in the dirname. This means we can do magic
2325 directory finding in the win32 version.
2326 Export the actual load-modules-in-directory code so that
2327 gvfs can reuse that.
2329 2007-12-05 Alexander Larsson <alexl@redhat.com>
2331 * gbufferedinputstream.c:
2332 * gbufferedoutputstream.c:
2335 * gfileenumerator.[ch]:
2336 * gfileinputstream.c:
2337 * gfileoutputstream.[ch]:
2338 * gfilterinputstream.c:
2339 * gfilteroutputstream.c:
2340 * ginputstream.[ch]:
2342 * glocalfileenumerator.c:
2343 * glocalfileinputstream.c:
2344 * glocalfileoutputstream.c:
2345 * gmemoryinputstream.c:
2346 * gmemoryoutputstream.c:
2347 * goutputstream.[ch]:
2350 * gunixinputstream.c:
2351 * gunixoutputstream.c:
2352 Rename all struct members named:
2353 read, write, close, truncate, or mount
2354 to foo_fn, as these are reserved names
2355 and could be defined as macros in libc.
2358 2007-12-04 Alexander Larsson <alexl@redhat.com>
2361 (g_output_stream_close):
2362 Only call flush if non-null.
2364 2007-11-30 Dan Winship <danw@gnome.org>
2366 * ginputstream.c (g_input_stream_set_pending): Make this take a
2367 GError and return a gboolean, and do the "outstanding operation"
2368 check (and the "stream is already closed" check) itself.
2369 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2371 * goutputstream.c (g_output_stream_set_pending)
2372 (g_output_stream_clear_pending): Likewise
2374 * gbufferedinputstream.c:
2375 * gfileinputstream.c:
2376 * gfileoutputstream.c: Update for that
2378 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2379 Like g_simple_async_report_error_in_idle, but takes a GError
2380 rather than building one.
2382 2007-11-30 Dan Winship <danw@gnome.org>
2384 * goutputstream.c: Don't cheat and unset the "pending" flag around
2385 inner calls. Instead, call the class method directly rather than
2386 the wrapper function that checks "pending"
2388 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2390 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2392 2007-12-03 Hans Breuer <hans@breuer.org>
2394 [start of port to win32/msvc]
2395 * gcancellable.c : HAVE_UNIST_H and _pipe()
2396 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2397 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2398 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2400 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2401 * glocalvfs.c : use HAVE_PWD_H
2402 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2403 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2404 * Makefile.am : added to EXTRA_DIST
2406 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2408 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2411 2007-12-03 Alexander Larsson <alexl@redhat.com>
2414 Handle OSX style xattrs API (#500506)
2416 2007-12-03 Alexander Larsson <alexl@redhat.com>
2420 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2422 2007-12-02 A. Walton <awalton@svn.gnome.org>
2426 Documentation accuracy fixes.
2428 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2430 * gioenumtypes.c.template: Fix typo.
2432 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2434 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2436 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2438 * gdirectorymonitor.c:
2439 * gfilemonitor.c: Add properties
2441 * gbufferedoutputstream.c: Don't mark buffer-size property
2444 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2446 * gbufferedoutputstream.c: Add auto-grow property.
2448 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2450 * *.c: Unify the capitalization of section headings.
2452 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2454 * gmountoperation.c: Add properties
2456 * gdatainputstream.c: Turn byte-order and newline-type into
2459 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2461 * gioenumtypes.[hc].template: Templates for enum registration
2463 * Makefile.am: Generate gioenumtypes.[hc]
2465 * gio.h: Include gioenumtypes.h
2467 * gfile.h: Add some explicit nicks.
2469 * gio.symbols: Add new symbols
2471 * pltcheck.sh: Adjust
2473 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2475 * *.c: Explain etags and link to the explanation
2477 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2479 * *.c: Explain I/O priority.
2481 * *.c: More coding style fixes.
2483 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2485 * gasyncresult.c: Add another paragraph to the intro,
2486 adjust coding style of example.
2488 2007-11-29 A. Walton <awalton@svn.gnome.org>
2491 Fixes unknown meaning in GAppLaunchContext docs.
2493 Clarify asynchronous ops.
2495 Fix entity tag docs.
2498 Provides missing gtk-doc section, fixes API docs slighly.
2499 * gsimpleasyncresult.c:
2500 Fill in missing info in docs.
2501 * gunixinputstream.c:
2502 * gunixoutputstream.c:
2503 Be more expressive in short description.
2505 Remove gtk-doc stubs for non-public API.
2507 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2509 * *.c: Coding style fixups
2511 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2513 * inotify/inotify-helper.c: Don't export the lock from libgio.
2515 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2518 * abicheck.sh: Fix copy-and-paste leftovers
2520 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2522 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2524 2007-11-28 Alexander Larsson <alexl@redhat.com>
2528 Removed unnecessary file
2530 * gdesktopappinfo.[ch]:
2533 * glocaldirectorymonitor.[ch]:
2535 * glocalfileenumerator.[ch]:
2536 * glocalfileinputstream.[ch]:
2537 * glocalfilemonitor.[ch]:
2538 * glocalfileoutputstream.[ch]:
2540 * gnativevolumemonitor.c:
2541 * gpollfilemonitor.[ch]:
2542 * gunionvolumemonitor.[ch]:
2545 * gunixvolumemonitor.[ch]:
2548 * inotify/ginotifydirectorymonitor.[ch]:
2549 * inotify/ginotifyfilemonitor.[ch]:
2550 * inotify/inotify-helper.c:
2551 Append _ to all internal functions
2555 Export symbols needed for modules
2557 2007-11-28 Alexander Larsson <alexl@redhat.com>
2560 * abicheck.sh: Added.
2561 * makegioalias.pl: Added.
2562 * pltcheck.sh: Added.
2563 * gio.symbols: Added.
2566 Initial work on adding symbol handling.
2569 Correct ifdef guard name
2572 * inotify/Makefile.am:
2573 * xdgmime/Makefile.am:
2574 Include toplevel Makefile.decl
2576 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2578 * gcontenttype.c: Move doc comments to the unix section.
2580 * *.[hc]: More trivial doc corrections.
2582 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2584 * gpollfilemonitor.c:
2588 * gdesktopappinfo.c:
2593 * gdatainputstream.c:
2594 * gdatainputstream.h:
2595 * gdataoutputstream.c:
2596 * gdataoutputstream.h:
2597 * gfileinfo.h: Doc cleanups
2599 2007-11-28 Andre Klapper <a9016009@gmx.de>
2601 * gdesktopappinfo.c: Fix a typo.
2603 2007-11-27 Andre Klapper <a9016009@gmx.de>
2605 * glocalfileoutputstream.c: Fix a typo.
2607 2007-11-27 Alexander Larsson <alexl@redhat.com>
2610 Don't include removed headers
2612 2007-11-27 Alexander Larsson <alexl@redhat.com>
2615 * gsocketinputstream.[ch]: Removed.
2616 * gsocketoutputstream.[ch]: Removed.
2617 * gunixinputstream.[ch]: Added.
2618 * gunixoutputstream.[ch]: Added.
2619 Renamed GSocket*Stream to GUnix*Stream and made
2620 it unix-only, since its not really only for sockets
2621 and it only works on unix (but is highly useful there).
2623 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2629 * gbufferedinputstream.c:
2630 * gbufferedinputstream.h:
2631 * gbufferedoutputstream.c:
2632 * gbufferedoutputstream.h:
2636 * gdatainputstream.c:
2637 * gdatainputstream.h:
2638 * gdataoutputstream.c:
2639 * gdataoutputstream.h:
2640 * gdirectorymonitor.c:
2641 * gdirectorymonitor.h:
2648 * gfileenumerator.c:
2649 * gfileenumerator.h:
2654 * gfileinputstream.c:
2655 * gfileinputstream.h:
2658 * gfilenamecompleter.c:
2659 * gfilenamecompleter.h:
2660 * gfileoutputstream.c:
2661 * gfileoutputstream.h:
2662 * gfilterinputstream.c:
2663 * gfilterinputstream.h:
2664 * gfilteroutputstream.c:
2665 * gfilteroutputstream.h:
2678 * glocalfileoutputstream.c:
2679 * gmemoryinputstream.c:
2680 * gmemoryinputstream.h:
2681 * gmemoryoutputstream.c:
2682 * gmemoryoutputstream.h:
2683 * gmountoperation.c:
2684 * gmountoperation.h:
2687 * gpollfilemonitor.c:
2690 * gsimpleasyncresult.c:
2691 * gsimpleasyncresult.h:
2692 * gsocketinputstream.c:
2693 * gsocketinputstream.h:
2694 * gsocketoutputstream.c:
2695 * gsocketoutputstream.h:
2702 * gunixvolumemonitor.c:
2711 Bumps documentation to 93% symbol coverage, touching most
2712 of the public files. Fixes broken function documentation prototypes.
2713 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2714 gtk-doc headers in private files.
2716 2007-11-27 Jürg Billeter <j@bitron.ch>
2718 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2719 (g_buffered_input_stream_read_byte):
2720 * gbufferedinputstream.h:
2721 New functions for efficient access to buffer and simple single byte
2724 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2725 (g_data_input_stream_read_until):
2726 * gdatainputstream.h:
2727 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2728 read_until with multiple stop chars.
2730 2007-11-27 Alexander Larsson <alexl@redhat.com>
2734 * inotify/Makefile.am:
2735 Use the user-specified giomoduledir
2737 2007-11-27 Alexander Larsson <alexl@redhat.com>
2741 Add catch-all gio.h header
2742 Don't install gdummyfile.h
2744 2007-11-26 Alexander Larsson <alexl@redhat.com>
2746 * Makefile.am (gioinclude_HEADERS):
2747 Remove trailing whitespace
2749 2007-11-26 Alexander Larsson <alexl@redhat.com>
2751 Merge gio-standalone into glib
2753 2007-11-25 Christian Kellner <gicmo@gnome.org>
2755 * gio/goutputstream.c:
2756 Fix small mistake in the docs.
2758 2007-11-21 Christian Persch <chpe@gnome.org>
2760 * gio/glocalfile.c: (g_local_file_trash):
2761 Convert filenames to UTF-8 for GError.
2762 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2763 as per xdg base dir spec.
2765 2007-11-21 Christian Persch <chpe@gnome.org>
2767 * gio/gdesktopappinfo.c:
2768 Use that g_key_file_to_data cannot fail.
2770 Use stock defines for the key file group and key names.
2773 2007-11-21 Alexander Larsson <alexl@redhat.com>
2776 (copy_stream_with_progress):
2777 Make sure we do a final progress callback with
2778 the full total size.
2780 2007-11-21 Alexander Larsson <alexl@redhat.com>
2783 Export g_file_copy_attributes
2784 Remove padding as its not needed for interfaces
2786 2007-11-20 Alexander Larsson <alexl@redhat.com>
2791 Add G_IO_ERROR_WOULD_MERGE for
2792 copy/move dir on dir with overwrite.
2794 2007-11-20 Alexander Larsson <alexl@redhat.com>
2797 * gio/glocalfileinfo.c:
2798 Add COPY_NAME (this is an optional
2799 non-modified utf8 version of the name) that
2802 2007-11-20 Alexander Larsson <alexl@redhat.com>
2804 * gio/glocalfileenumerator.c:
2805 Report errors as GIOError, not GFileError
2807 2007-11-16 Alexander Larsson <alexl@redhat.com>
2809 * gio/glocalfileoutputstream.c:
2810 * gio/gwin32appinfo.c:
2811 Fix typos in strings.
2812 Patch from Luca Ferretti <elle.uca@libero.it>
2814 2007-11-15 Alexander Larsson <alexl@redhat.com>
2817 Post release version bump
2819 === gio-standalone 0.1.2 ===
2821 2007-11-15 Alexander Larsson <alexl@redhat.com>
2823 * docs/reference/gio/Makefile.am:
2824 Fix up distcheck by removing weird
2830 2007-11-14 Alexander Larsson <alexl@redhat.com>
2832 * gio/gdesktopappinfo.c:
2833 * gio/glocaldirectorymonitor.c:
2835 * gio/glocalfileinfo.c:
2836 * gio/inotify/inotify-sub.c:
2837 * programs/gio-cat.c:
2838 * programs/gio-copy.c:
2839 * programs/gio-info.c:
2840 * programs/gio-ls.c:
2841 * programs/gio-monitor-dir.c:
2842 * programs/gio-monitor-file.c:
2843 * programs/gio-mount.c:
2844 * programs/gio-move.c:
2845 * programs/gio-rm.c:
2846 * programs/gio-save.c:
2847 * programs/gio-trash.c:
2848 Leak fixes from Kjartan Maraas
2850 2007-11-14 Alexander Larsson <alexl@redhat.com>
2852 * gio/fam/fam-helper.c:
2854 * gio/glocalfileinfo.c:
2858 * gio/inotify/inotify-diag.c:
2859 * gio/inotify/inotify-kernel.c:
2860 Various code cleanups from Kjartan Maraas
2862 2007-11-14 Alexander Larsson <alexl@redhat.com>
2864 * gio/gioscheduler.c:
2866 Set up threadpool so that we cache 2 unused
2867 idle threads for at 15 secs. This means we
2868 will reuse thread-local data (like dbus connections)
2871 2007-11-14 Alexander Larsson <alexl@redhat.com>
2873 * gio/fam/fam-helper.c:
2874 * gio/fam/gfamdirectorymonitor.c:
2875 * gio/fam/gfamfilemonitor.c:
2877 * gio/gcontenttype.c:
2878 * gio/gdatainputstream.c:
2879 * gio/gdataoutputstream.c:
2883 * gio/gfileattribute.h:
2884 * gio/gfileenumerator.c:
2886 * gio/ginputstream.c:
2889 * gio/glocalfileinfo.c:
2890 * gio/goutputstream.c:
2891 * gio/gpollfilemonitor.c:
2892 * gio/gsimpleasyncresult.c:
2893 * gio/gunixmounts.c:
2894 * gio/gunixmounts.h:
2895 * gio/inotify/ginotifydirectorymonitor.c:
2896 * gio/inotify/ginotifyfilemonitor.c:
2897 * gio/inotify/inotify-diag.c:
2898 * gio/inotify/inotify-kernel.c:
2899 * gio/inotify/inotify-path.c:
2901 * gio/test-streams.c:
2902 * programs/gio-info.c:
2903 * programs/gio-monitor-dir.c:
2904 * programs/gio-monitor-file.c:
2905 Various code cleanups from Kjartan Maraas
2907 2007-11-13 Alexander Larsson <alexl@redhat.com>
2910 Handle the uri-scheme calls for dummy files
2912 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2914 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2915 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2916 to avoid clash with the C++ keyword.
2918 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2920 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2921 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2923 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2925 * gio/glocaldirectorymonitor.c:
2926 * gio/glocalfilemonitor.c:
2927 * gio/gunionvolumemonitor.c:
2928 Don't use g_once_init_*() for initializations that could fail and
2929 could leave the initialization variable set to 0 but use GOnce.
2930 This prevents a deadlock on the second call when trying to create
2931 a monitor and no monitor type is available. Thanks to Sven Herzberg
2934 2007-11-11 Sven Herzberg <sven@imendio.com>
2936 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2937 #ifdef (make it work on MacOS X again)
2939 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2941 Fixes Changelog for last two commits (sorry guys).
2943 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2945 * gio/gbufferedinputstream.c:
2946 * gio/gdatainputstream.c:
2948 * gio/gfileoutputstream.c:
2949 * gio/gfilterinputstream.c:
2950 * gio/glocalfileinputstream.c:
2953 More consistency fixes in g*stream.c files.
2954 Significant clean of gfile's documentation, filling in of
2955 asynchronous operations documentation.
2957 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2959 * gio/gasyncresult.c:
2960 * gio/gbufferedinputstream.c:
2961 * gio/gbufferedoutputstream.c:
2962 * gio/gcancellable.c:
2963 * gio/gcontenttype.c:
2964 * gio/gdatainputstream.c:
2965 * gio/gdataoutputstream.c:
2966 * gio/gdesktopappinfo.c:
2969 * gio/gfileattribute.c:
2970 * gio/gio/gfileenumerator.c:
2972 * gio/gfileinputstream.c:
2973 * gio/gfilemonitor.c:
2974 * gio/gfileoutputstream.c:
2975 * gio/ginputstream.c:
2977 * gio/gioscheduler.c:
2978 * gio/gloadableicon.c:
2979 * gio/glocalfileoutputstream.c:
2980 * gio/gmemoryoutputstream.c:
2981 * gio/gmountoperation.c:
2982 * gio/goutputstream.c:
2984 * gio/gsimpleasyncresult.c:
2985 * gio/gunionvolumemonitor.c:
2986 * gio/gunixmounts.c:
2987 * gio/gunixvolume.c:
2991 * gio/gvolumemonitor.c:
2992 Updated documentation stubs, working towards consistency and
2995 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2997 * gio/gmemoryoutputstream.c:
2998 * gio/gmemoryoutputstream.h:
2999 Change g_memory_output_stream_set_free_on_close() to
3000 g_memory_output_stream_set_free_data() as this makes more sense and
3001 is more consistent with GMemoryInputStream.
3003 2007-11-07 Alexander Larsson <alexl@redhat.com>
3010 Change how we find the default vfs so that
3011 we can handle a gvfs failing to init
3013 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3015 * gio/gbufferedoutputstream.c:
3016 * gio/gdatainputstream.c:
3017 * gio/gdataoutputstream.c:
3018 * gio/gfileinputstream.c:
3019 * gio/gfileoutputstream.c:
3020 * gio/gfilterinputstream.c:
3021 * gio/gfilteroutputstream.c:
3022 * gio/ginputstream.c:
3023 * gio/gmemoryinputstream.c:
3024 * gio/gmemoryoutputstream.c:
3025 * gio/goutputstream.c:
3026 * gio/gsimpleasyncresult.c:
3027 * gio/gsocketinputstream.c:
3028 * gio/gsocketoutputstream.c:
3029 Add guards to the remaining public functions, add a TODO for
3030 an unimplemented function and remove some useless guards.
3032 2007-11-07 Alexander Larsson <alexl@redhat.com>
3035 Autoconf checks for the various types of
3036 getpwuid_r and getgrgid_r
3038 * gio/glocalfileinfo.c:
3039 Use the autoconf checks from above
3041 2007-11-07 Alexander Larsson <alexl@redhat.com>
3044 (g_local_file_query_filesystem_info):
3045 Some fixes for the statvfs case
3047 2007-11-07 Alexander Larsson <alexl@redhat.com>
3050 (g_local_file_query_filesystem_info):
3051 Pick the "best" of statfs / statvfs for the system
3052 if both are availible.
3054 2007-11-07 Alexander Larsson <alexl@redhat.com>
3056 Solaris fixes from Halton.Huo@Sun.COM:
3063 * gio/glocalfileinfo.c:
3064 Fix for solaris definition of getpwuid_r
3066 * gio/test-streams.c:
3067 Use G_GNUC_PRETTY_FUNCTION
3069 2007-11-07 Alexander Larsson <alexl@redhat.com>
3071 * gio/gdesktopappinfo.c:
3072 (update_default_list):
3073 Remove double semicolon.
3074 Patch from Jens Granseuer
3076 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3078 * docs/reference/gio/gio-sections.txt:
3079 * gio/gbufferedinputstream.c:
3080 * gio/gbufferedinputstream.h:
3081 * gio/gdatainputstream.c:
3082 * gio/gfileenumerator.c:
3083 * gio/gioscheduler.c:
3084 * gio/gunionvolumemonitor.c:
3086 * programs/gio-save.c:
3087 Fix typo: availible -> available. Unfortuntely this breaks API
3088 and ABI as g_buffered_input_stream_get_available() was renamed.
3090 * gio/gunixmounts.c:
3091 * gio/gbufferedinputstream.c:
3092 Add guards for public functions.
3094 2007-11-06 Ross Burton <ross@openedhand.com>
3096 * docs/reference/gio/Makefile.am:
3097 Fix invalid += usage which automake 1.10 doesn't like.
3099 2007-11-06 Alexander Larsson <alexl@redhat.com>
3102 (g_app_launch_context_class_init):
3105 Patch from Ross Burton
3107 2007-11-06 Alexander Larsson <alexl@redhat.com>
3110 Post release version bump
3112 === gio-standalone 0.1.1 ===
3114 2007-11-06 Alexander Larsson <alexl@redhat.com>
3117 Bump version to 0.1.1
3119 * gio/gsimpleasyncresult.c:
3120 (g_simple_async_result_set_from_error):
3121 Remove bogus g_return_if_fail
3123 2007-11-06 Alexander Larsson <alexl@redhat.com>
3126 The name is gio-standalone
3129 Add top src/builddir to includedir
3131 2007-11-06 Alexander Larsson <alexl@redhat.com>
3133 * docs/reference/gio/gio-sections.txt:
3135 * gio/gbufferedinputstream.c:
3136 * gio/gbufferedoutputstream.c:
3137 * gio/gcancellable.c:
3138 * gio/gdatainputstream.h:
3139 * gio/gdataoutputstream.c:
3140 * gio/gdataoutputstream.h:
3141 * gio/gdirectorymonitor.c:
3143 * gio/gfileattribute.c:
3144 * gio/gfileattribute.h:
3145 * gio/gfileenumerator.c:
3146 * gio/gfileenumerator.h:
3149 * gio/gfileinputstream.h:
3150 * gio/gfilemonitor.c:
3151 * gio/gfileoutputstream.h:
3152 * gio/glocalfilemonitor.h:
3153 * gio/glocalfileoutputstream.h:
3154 * gio/gmemoryinputstream.c:
3155 * gio/gmemoryoutputstream.c:
3156 * gio/gmountoperation.c:
3157 * gio/goutputstream.c:
3158 * gio/goutputstream.h:
3160 * gio/gsimpleasyncresult.c:
3161 * gio/gunixmounts.c:
3162 * gio/gunixmounts.h:
3164 * gio/inotify/inotify-helper.c:
3165 Fix gtk-doc warnings
3167 Patch from Ross Burton
3169 2007-11-06 Alexander Larsson <alexl@redhat.com>
3171 * gio/gfilenamecompleter.c:
3172 (g_filename_completer_get_completions):
3175 * gio/gunixvolume.c:
3176 Remove unused function
3178 Patches from Ross Burton
3180 2007-11-06 Alexander Larsson <alexl@redhat.com>
3185 Padding not needed for interfaces
3187 2007-11-06 Alexander Larsson <alexl@redhat.com>
3189 * gio/gfilemonitor.c:
3193 Make giotypes.h an internal file
3196 * gio/gbufferedinputstream.h:
3197 * gio/gbufferedoutputstream.h:
3198 * gio/gcancellable.h:
3199 * gio/gdatainputstream.h:
3200 * gio/gdataoutputstream.h:
3201 * gio/gdirectorymonitor.c:
3202 * gio/gdirectorymonitor.h:
3207 * gio/gfileattribute.h:
3208 * gio/gfileenumerator.h:
3213 * gio/gfilemonitor.c:
3214 * gio/gfilemonitor.h:
3215 * gio/gfilenamecompleter.c:
3216 * gio/gfilenamecompleter.h:
3217 * gio/gfilterinputstream.h:
3218 * gio/gfilteroutputstream.h:
3219 * gio/ginputstream.h:
3220 * gio/gmemoryinputstream.h:
3221 * gio/gmemoryoutputstream.h:
3222 * gio/gmountoperation.c:
3223 * gio/gmountoperation.h:
3224 * gio/gnativevolumemonitor.c:
3225 * gio/goutputstream.h:
3228 * gio/gsimpleasyncresult.c:
3229 * gio/gsimpleasyncresult.h:
3230 * gio/gsocketinputstream.h:
3231 * gio/gsocketoutputstream.h:
3232 * gio/gthemedicon.c:
3233 * gio/gthemedicon.h:
3237 * gio/gvolumemonitor.c:
3238 * gio/gvolumemonitor.h:
3239 Add padding in classes where it seems useful
3240 Don't include giotypes.h from public headers
3241 Move in Class definitions into c file where possible
3246 2007-11-06 Alexander Larsson <alexl@redhat.com>
3248 * docs/reference/gio/gio-docs.xml:
3249 Better structure for API docs
3251 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3254 * gio/gloadableicon.c:
3255 * gio/gsimpleasyncresult.c:
3256 * gio/gthemedicon.c:
3257 Add some more guards to public functions. Only files missing are now
3260 2007-11-06 Alexander Larsson <alexl@redhat.com>
3262 * docs/reference/gio/gio-docs.xml:
3263 Remove old files, add missing ones
3265 2007-11-06 Alexander Larsson <alexl@redhat.com>
3267 * docs/reference/gio/gio-sections.txt:
3270 Hide implementation classes
3272 * gio/gdriveprivate.h:
3273 * gio/gvolumeprivate.h:
3274 Remove non-existing function declarations
3276 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3279 Fix compilation warnings and add guards to the new functions.
3281 * gio/gasyncresult.c:
3283 Add guards to the public functions.
3286 Implement get_path().
3288 2007-11-06 Alexander Larsson <alexl@redhat.com>
3290 * gio/gfilenamecompleter.c:
3291 Make g_filename_completer_get_completions
3292 return char ** instead of GList for
3295 * docs/reference/gio/gio-docs.xml:
3296 * docs/reference/gio/gio-sections.txt:
3298 * gio/gasyncresult.c:
3299 * gio/gbufferedinputstream.c:
3300 * gio/gbufferedoutputstream.c:
3301 * gio/gcancellable.c:
3302 * gio/gcontenttype.c:
3303 * gio/gdatainputstream.c:
3304 * gio/gdataoutputstream.c:
3305 * gio/gdesktopappinfo.c:
3306 * gio/gdirectorymonitor.c:
3310 * gio/gfileattribute.c:
3311 * gio/gfileenumerator.c:
3314 * gio/gfileinputstream.c:
3315 * gio/gfilemonitor.c:
3316 * gio/gfilenamecompleter.c:
3317 * gio/gfilenamecompleter.h:
3318 * gio/gfileoutputstream.c:
3319 * gio/gfilterinputstream.c:
3321 * gio/ginputstream.c:
3323 * gio/gioscheduler.c:
3324 * gio/gloadableicon.c:
3325 * gio/glocaldirectorymonitor.c:
3327 * gio/glocalfileinputstream.c:
3328 * gio/glocalfilemonitor.c:
3329 * gio/glocalfileoutputstream.c:
3331 * gio/gmemoryinputstream.c:
3332 * gio/gmemoryoutputstream.c:
3333 * gio/gmountoperation.c:
3334 * gio/goutputstream.c:
3335 * gio/gpollfilemonitor.c:
3337 * gio/gsimpleasyncresult.c:
3338 * gio/gsocketinputstream.c:
3339 * gio/gsocketoutputstream.c:
3340 * gio/gthemedicon.c:
3341 * gio/gunionvolumemonitor.c:
3343 * gio/gunixmounts.c:
3344 * gio/gunixvolume.c:
3345 * gio/gunixvolumemonitor.c:
3349 * gio/gvolumemonitor.c:
3350 * gio/gwin32appinfo.c:
3351 Add (mostly stub) doc strings to public functions.
3352 Patch from Andrew Walton (awalton@gmail.com)
3354 2007-11-06 Alexander Larsson <alexl@redhat.com>
3356 * gio/gappinfo.[ch]:
3357 Added GAppLaunchContext object and pass that to launch.
3358 This allows simple implementation of both
3359 launch-on-screen and startup notification via a gtk+
3360 subclass of GAppLaunchContext
3362 * gio/gdesktopappinfo.c:
3363 Implement GAppLaunchContext API
3365 * gio/gwin32appinfo.c:
3368 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3370 * gio/gmountoperation.c:
3371 Add some guards to GMountOperation's public functions.
3373 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3377 * gio/gcancellable.c:
3378 * gio/gdirectorymonitor.c:
3380 * gio/gfileenumerator.c:
3381 * gio/gfilemonitor.c:,
3382 * gio/gfilenamecompleter.c:
3385 * gio/gioscheduler.c:
3389 * gio/gvolumemonitor.c:
3390 Add even more guards to various public functions.
3392 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3395 Add guards to the public functions of GAppInfo.
3397 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3399 * gio/gcontenttype.c:
3400 Add some more guards for public functions.
3402 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3404 * gio/fam/fam-module.c:
3405 * gio/fam/gfamdirectorymonitor.c:
3406 * gio/fam/gfamdirectorymonitor.h:
3407 * gio/fam/gfamfilemonitor.c:
3408 * gio/fam/gfamfilemonitor.h:
3409 * gio/inotify/ginotifydirectorymonitor.c:
3410 * gio/inotify/ginotifydirectorymonitor.h:
3411 * gio/inotify/ginotifyfilemonitor.c:
3412 * gio/inotify/ginotifyfilemonitor.h:
3413 Add proper copyright information and remove an unused variable
3414 in the GInotifyFileMonitor constructor.
3416 * gio/gcancellable.c:
3417 Add a guard for a public function and an assertion to prevent
3418 an undefined program state.
3420 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3422 * gio/gfileattribute.c:
3423 Don't run into an assertion if the given attribute value is NULL
3424 in g_file_attribute_value_get_*() but instead return a fallback
3425 value that makes sense in most situations. Passing them a attribute
3426 value with the wrong type will still run into an assertion.
3428 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3430 * gio/gfileattribute.c:
3432 Add even more guards to the public functions. Also fix the refcounting
3433 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3434 let g_file_info_list_attributes() filter the attributes by namespace
3435 instead of simply ignoring the namespace parameter.
3437 2007-11-03 Sven Herzberg <sven@imendio.com>
3439 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3440 (This makes gio work on MacOS X again)
3442 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3445 Build the gio subdirectory before the docs. Otherwise the build will
3448 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3449 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3450 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3451 Add guards to the public functions.
3453 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3455 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3456 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3457 to prevent a compiler warning.
3459 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3460 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3461 return something in the non-void function find_topdir_for().
3463 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3470 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3472 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3473 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3474 * gwin32appinfo.c (g_win32_app_info_launch):
3475 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3476 envp_for_startup_id, g_desktop_app_info_launch,
3477 g_desktop_app_info_launch_uris):
3479 Give an opaque 'startup_id' string instead of 'envp'.
3480 Support empty file lists for launching new windows.
3481 Fix infinite recursion bug when launching URIs.
3483 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3486 Add guard to the new g_file_get_uri_scheme() function.
3488 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3491 Convert a g_return_val_if_fail() to setting the GError instead as
3492 otherwise applications have to verify the parameter before otherwise
3493 and the parameter might come directly from the user.
3495 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3497 * gio/inotify/ginotify*.[ch]:
3498 Add missing copyright information.
3500 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3503 Add guards in the beginning of public functions to check for valid
3504 parameters and fix a bug in copy_stream_with_progress() that could've
3505 caused writing less bytes than reading.
3506 * gio/glocalfileinfo.c:
3507 Check for a NULL parameter and set the GError accordingly then.
3508 * gio/goutputstream.c:
3509 Fix the same bug as in gfile.c that could've caused writing less bytes
3510 than reading in g_output_stream_real_splice().
3512 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3515 Use the correct gvolumeprivate.h naming
3517 2007-11-01 Christian Kellner <gicmo@gnome.org>
3520 Remove leftover "$(daemon_sources)" entry.
3522 2007-11-01 Christian Kellner <gicmo@gnome.org>
3527 Add copyright information to source files.
3529 2007-11-01 Alexander Larsson <alexl@redhat.com>
3533 Add g_file_get_uri_scheme
3535 2007-11-01 Alexander Larsson <alexl@redhat.com>
3538 * gio/gdesktopappinfo.c:
3539 * gio/gwin32appinfo.c:
3540 Add g_app_info_get_default_for_uri_scheme.
3542 2007-11-01 Alexander Larsson <alexl@redhat.com>
3545 Correct filename for gdriveprivate.h
3547 2007-10-31 Alexander Larsson <alexl@redhat.com>
3550 Rename id:value to id:file
3553 * gio/glocalfileinfo.c:
3556 2007-10-31 Alexander Larsson <alexl@redhat.com>
3558 * gio/gunixvolume.c:
3560 Remove g_volume_get_platform_id, as thats not
3561 needed with the simpler union volume monitor
3563 2007-10-31 Alexander Larsson <alexl@redhat.com>
3566 * gio/guniondrive.[ch]: Removed.
3567 * gio/gunionvolume.[ch]: Removed.
3568 Remove GUnionDrive/Volume
3570 * gio/gunionvolumemonitor.c:
3571 Simplify union volume monitor, now we
3572 only have one native volume monitor and
3573 we use the actual volumes/drives from the
3574 child monitors instead of wrapping them
3576 * gio/gnativevolumemonitor.[ch]:
3577 Base class for native volume monitors.
3578 Includes priority and get_volume_for_mountpoint
3581 Add g_file_find_enclosing_volume
3584 Remove volume name fs attribute
3585 Add readonly fs attribute
3588 Implement readonly attribute
3589 remove volume name attribute
3590 Implement find_enclosing volume
3592 * gio/gunixmounts.c:
3593 Add a volume for "/".
3595 * gio/gunixvolume.[ch]:
3596 Set better name for /
3598 * gio/gunixvolumemonitor.[ch]:
3599 Derive from GNativeVolumeMonitor
3600 Implement get_volume_for_mountpoint
3603 GVolume typedef moved to gfile.h
3605 * gio/gvolumeprivate.h:
3606 Add g_volume_get_for_mount_path
3608 2007-10-31 Alexander Larsson <alexl@redhat.com>
3610 * gio/gunixmounts.[ch]:
3611 Add cache info to unix mount listers
3612 Make getmntent use threadsafe
3613 Add is_system_internal attribute for GUnixMount
3615 * gio/gunixvolume.c:
3616 (g_unix_volume_new):
3617 Use is_system_internal instead of own code
3619 * gio/glocaldirectorymonitor.c:
3620 * gio/gunixvolumemonitor.c:
3621 Update to new gunixmounts API
3626 2007-10-30 Alexander Larsson <alexl@redhat.com>
3629 Add volume name fsinfo attribute
3632 Read volume name info
3634 * gio/gunionvolumemonitor.c:
3635 Fix infinite loops when finalizing a union volume monitor
3637 2007-10-30 Alexander Larsson <alexl@redhat.com>
3639 * gio/goutputstream.[ch]:
3640 Add splice() with default implementation
3642 * gio/gsocketoutputstream.c:
3643 (g_socket_output_stream_write):
3644 Return error on cancellation correctly.
3646 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3648 * gio/glocalfile.c (g_local_file_trash):
3649 Do not leak a string.
3651 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3653 * gio/gfile.c (g_file_load_contents):
3654 Unref the stream after closing it.
3656 2007-10-25 Alexander Larsson <alexl@redhat.com>
3658 * gio/gioscheduler.h:
3661 2007-10-25 Alexander Larsson <alexl@redhat.com>
3665 Add g_file_has_uri_scheme and implement for local files
3667 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3669 * gio/gdesktopappinfo.c: do not leak a string.
3671 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3673 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3674 (g_local_directory_monitor_new):
3675 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3676 (g_local_file_monitor_new):
3677 Only look for the monitor type that should be used the first time
3678 and use g_qsort_with_data() instead of our own bubble sort
3681 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3684 * gio/fam/Makefile.am:
3685 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3686 * gio/fam/fam-helper.h:
3687 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3688 * gio/fam/gfamdirectorymonitor.c:
3689 * gio/fam/gfamdirectorymonitor.h:
3690 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3691 * gio/fam/gfamfilemonitor.h:
3692 * gio/glocaldirectorymonitor.c:
3693 * gio/glocaldirectorymonitor.h:
3694 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3695 * gio/glocalfilemonitor.h:
3696 * gio/inotify/Makefile.am:
3697 * gio/inotify/ginotifydirectorymonitor.c:
3698 * gio/inotify/ginotifydirectorymonitor.h:
3699 * gio/inotify/ginotifyfilemonitor.c:
3700 * gio/inotify/ginotifyfilemonitor.h:
3701 Implement the FAM and Inotify monitors as
3702 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3703 their own GIO module. GLocal(Directory|File)Monitor will use the
3704 monitor with the highest rank that is supported on that machine.
3706 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3709 Change GIO module dir to $(libdir)/gio/modules and change
3710 the log domain from GVFS to GIO. Also only export symbols starting
3711 with g_ in the resulting library.
3712 * gio/test-streams.c: (main):
3713 Set log handler for the GIO log domain.
3715 2007-10-22 Alexander Larsson <alexl@redhat.com>
3717 * gio/gfilenamecompleter.[ch]:
3718 Add g_filename_completer_set_dirs_only
3720 2007-10-22 Alexander Larsson <alexl@redhat.com>
3723 * gio/gurifuncs.[ch]:
3724 Add some simple URI helpers
3726 * gio/gfilenamecompleter.[ch]:
3727 Added object for filename (parse name actually) completion
3730 Handle ~ in parse names
3732 2007-10-17 Alexander Larsson <alexl@redhat.com>
3735 * gio/glocalfileinfo.c:
3736 Add and implement id:value attribute
3738 2007-10-17 Alexander Larsson <alexl@redhat.com>
3741 * gio/guniondrive.c:
3743 Add and implement g_drive_has_volumes
3745 2007-10-17 Alexander Larsson <alexl@redhat.com>
3748 * gio/glocalfileinfo.[ch]:
3749 Add unix:is_mountpoint and implement for local files
3751 2007-10-16 Alexander Larsson <alexl@redhat.com>
3753 * gio/gunionvolumemonitor.c:
3754 (g_union_volume_monitor_init):
3755 Fix up the unix type getting so that it works with gcc
3757 2007-10-12 Alexander Larsson <alexl@redhat.com>
3760 * gio/glocalfileinfo.c:
3761 Add thumbnail:failed to file info
3763 2007-10-12 Richard Hult <richard@imendio.com>
3765 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3766 optimizing away the get_type call (happens with some gcc versions,
3767 like the one shipped with OS X 10.4).
3769 2007-10-12 Alexander Larsson <alexl@redhat.com>
3771 * gio/glocalfileinfo.c:
3772 (_g_local_file_info_set_attribute):
3773 Fix build if not HAVE_XATTR
3774 Patch from Milosz Derezynski <internalerror@gmail.com>
3776 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3778 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3779 around for review, otherwise I would have asked you before
3782 2007-10-11 Alexander Larsson <alexl@redhat.com>
3785 Add thumbnail:path attribute
3787 * gio/glocalfileinfo.c:
3788 Implement thumbnail:path for local files
3790 2007-10-11 Alexander Larsson <alexl@redhat.com>
3792 * gio/glocalfileinfo.c:
3793 (_g_local_file_info_get):
3794 Avoid duplicate icon names
3796 2007-10-11 Alexander Larsson <alexl@redhat.com>
3798 * gio/gthemedicon.[ch]:
3799 Change g_themed_icon_get_names return type to const
3801 2007-10-10 Alexander Larsson <alexl@redhat.com>
3803 * gio/glocalfileinfo.c:
3804 Don't reference freed memory
3806 2007-10-10 Alexander Larsson <alexl@redhat.com>
3808 * gio/gfileattribute.c:
3811 * gio/glocalfileinfo.c:
3814 2007-10-10 Alexander Larsson <alexl@redhat.com>
3817 Check for NULL icons
3819 * gio/gfileattribute.c:
3820 Don't dup when getting objects (same as for string attributes)
3822 * gio/gicon.c (g_icon_equal):
3823 Safely handle NULLs in equal
3825 2007-10-10 Alexander Larsson <alexl@redhat.com>
3828 Fix c++ compilation issues
3829 Patch from Milosz Derezynski <internalerror@gmail.com>
3831 2007-10-10 Alexander Larsson <alexl@redhat.com>
3833 * programs/gio-monitor-dir.c:
3834 Don't crash if dir monitor not supported.
3836 2007-10-09 Alexander Larsson <alexl@redhat.com>
3839 Add missing G_END_DECLS
3841 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3843 * gio/gfile.c: (g_file_set_display_name),
3844 (g_file_query_settable_attributes),
3845 (g_file_query_writable_namespaces):
3846 Return NULL not FALSE on errors as the return type is a pointer.
3848 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3850 * gio/glocalfile.c: (g_local_file_monitor_file):
3851 Don't call monitor_file on the default interface vtable (which
3852 is NULL) but simply return NULL. The caller, GFile, will create a
3853 polling monitor if NULL is returned.
3855 2007-10-09 Alexander Larsson <alexl@redhat.com>
3859 * gio-unix-2.0.pc.in:
3860 Add gio-unix-2.0.pc if OS_UNIX
3863 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3865 2007-10-09 Alexander Larsson <alexl@redhat.com>
3867 * gio/gunixmounts.[ch]:
3868 Make unix mount monitoring API sane.
3869 Now its just a object with mounts_changed
3870 and mountpoints_changed signals.
3872 * gio/glocaldirectorymonitor.c:
3873 * gio/gunixvolumemonitor.c:
3874 Use new mount monitor api
3876 2007-10-09 Alexander Larsson <alexl@redhat.com>
3878 * gio/gunixmounts.[ch]:
3879 Move guess type into one call for mounts and one for mountpoints
3882 * gio/gunixvolume.c:
3885 2007-10-09 Alexander Larsson <alexl@redhat.com>
3887 * gio/gunixmounts.[ch]:
3888 Remove _ prefix in preparation to make this semi-public
3889 Hide implementation of structs
3891 * gio/glocaldirectorymonitor.c:
3893 * gio/gunixvolume.c:
3894 * gio/gunixvolumemonitor.c:
3895 Update for above API changes
3897 2007-10-08 Alexander Larsson <alexl@redhat.com>
3900 Better polling fallback. This also handles the case where we have
3901 a monitor_file implementation, but it fails.
3903 2007-10-08 Alexander Larsson <alexl@redhat.com>
3907 * gio/gunixmounts.c:
3908 * programs/gio-monitor-dir.c:
3909 * programs/gio-monitor-file.c:
3910 Added cancellable to file monitoring calls.
3911 These are really sync calls and need this.
3913 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3915 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3916 (g_local_vfs_class_init):
3917 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3918 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3920 2007-10-05 Alexander Larsson <alexl@redhat.com>
3922 * gio/gdirectorymonitorprivate.h:
3923 * gio/gfilemonitorprivate.h:
3924 * gio/gdirectorymonitor.h:
3925 * gio/gfilemonitor.h:
3926 Remove *private.h and move to the public API, so that
3927 we can do implementations outside gio (such as in gvfs)
3929 * gio/gdirectorymonitor.c:
3930 * gio/gfilemonitor.c:
3931 * gio/glocaldirectorymonitor.c:
3932 * gio/gpollfilemonitor.c:
3933 * gio/inotify/inotify-helper.c:
3934 * gio/fam/fam-helper.c:
3935 Update to the new header names
3937 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3939 * gio/gdirectorymonitor.c:
3940 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3943 2007-10-04 Alexander Larsson <alexl@redhat.com>
3945 * gio/glocalfileinfo.c (get_access_rights):
3946 Set CAN_TRASH when we can move the file.
3947 We should really also check for a parent trash dir.
3949 2007-10-04 Alexander Larsson <alexl@redhat.com>
3951 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3952 Add can_trash access attribute
3954 2007-10-04 Alexander Larsson <alexl@redhat.com>
3957 (g_local_file_trash):
3958 Create info file first. This is per-spec and allows
3959 us to actually trash directories.
3961 2007-10-02 Alexander Larsson <alexl@redhat.com>
3963 * gio/gdesktopappinfo.c:
3964 Implement the new mime support code.
3965 Always set app as handling mimetype when being set as default for it
3967 2007-10-01 Alexander Larsson <alexl@redhat.com>
3969 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3970 Fix up check for xattrs:
3972 2007-10-01 Alexander Larsson <alexl@redhat.com>
3975 (g_app_info_set_as_default_for_extension):
3976 (g_app_info_add_supports_type):
3977 (g_app_info_can_remove_supports_type):
3978 (g_app_info_remove_supports_type):
3979 Make these fail nicely if not implemented
3981 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3983 * gio/glocalfileoutputstream.c:
3984 * gio/glocalfileoutputstream.h:
3989 * programs/gio-save.c:
3990 Add a GFileCreateFlags argument to operations that can create
3993 2007-10-01 Alexander Larsson <alexl@redhat.com>
3995 * gio/gappinfo.[ch]:
3996 * gio/gdesktopappinfo.c:
3997 Add more (stubbed out) mime API needed for nautilus
3999 2007-10-01 Alexander Larsson <alexl@redhat.com>
4002 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4003 Add g_app_info_set_as_default_for_extension.
4005 * gio/gdesktopappinfo.c:
4006 Dummy for g_app_info_set_as_default_for_extension
4007 Support flags in g_app_info_create_from_commandline
4009 * gio/gwin32appinfo.c:
4011 Update for API changes
4013 * gio/gthemedicon.c:
4014 Properly NULL-terminate list of icon names
4016 2007-09-28 Alexander Larsson <alexl@redhat.com>
4018 * gio/gloadableicon.h:
4019 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4021 2007-09-28 Alexander Larsson <alexl@redhat.com>
4024 Install headers in $includedir/gio-standalone/
4026 * gio-2.0.pc.in: Added.
4027 * gio-standalone.pc.in: Removed.
4030 Renamed pkg-config file to match glib (for future move)
4031 Update to the new include dir
4034 Add more TODO comments
4036 2007-09-28 Alexander Larsson <alexl@redhat.com>
4038 * gio/gdesktopappinfo.[ch]:
4039 Expose new_from_filename
4040 Add getter for is_hidden and handle it better
4042 2007-09-28 Alexander Larsson <alexl@redhat.com>
4044 * gio/gfileinfo.[ch]:
4045 Rename g_file_size_format_for_display to
4046 g_format_file_size_for_display.
4047 Now it doesn't have the g_file prefix, so we
4048 can later move it to glib.
4050 2007-09-28 Alexander Larsson <alexl@redhat.com>
4052 * gio/gappinfo.[ch]:
4053 Add g_app_info_get_id and g_app_info_get_executable.
4054 Make all getters non-reffing
4055 Make g_app_info_launch take GFile arguments.
4056 Add must_support_uris argument to g_app_info_get_default_for_type.
4058 * gio/gwin32appinfo.c:
4059 Update to GAppInfo api changes
4061 * gio/gdesktopappinfo.c:
4062 Update to GAppInfo api changes
4063 Implement supports_xdg_startup_notify
4065 * gio/gfileicon.c (g_file_icon_get_file):
4066 Make getter non-reffing.
4071 2007-09-27 Alexander Larsson <alexl@redhat.com>
4073 * gio/gfileinfo.[ch]:
4074 Add g_file_size_format_for_display helper
4076 2007-09-27 Alexander Larsson <alexl@redhat.com>
4078 * gio/glocalfileinfo.c:
4079 Set UNIX_GID from gid, not from uid
4081 2007-09-27 Alexander Larsson <alexl@redhat.com>
4084 Add g_file_set_attributes_async
4086 2007-09-27 Alexander Larsson <alexl@redhat.com>
4088 * gio/glocalfile.c (g_local_file_set_display_name):
4089 Fix set_display_name to actually rename to the right place.
4090 Use lstat to look for existing files so we don't overwrite
4093 2007-09-26 Alexander Larsson <alexl@redhat.com>
4096 Add g_file_set_display_name_async()
4098 2007-09-26 Alexander Larsson <alexl@redhat.com>
4101 Add load_partial_contents async calls
4104 Make internal function static
4106 2007-09-26 Alexander Larsson <alexl@redhat.com>
4108 * gio/glocalfileinfo.c:
4109 Correctly detect broken symlinks
4111 2007-09-26 Alexander Larsson <alexl@redhat.com>
4113 * gio/gcancellable.c (g_cancellable_cancel):
4114 Allow cancel on NULL cancellable
4116 2007-09-25 Alexander Larsson <alexl@redhat.com>
4118 * gio/gsimpleasyncresult.c:
4119 Don't allocate g_error manually.
4120 Fixes g_slice/g_new mixup crash
4122 2007-09-25 Alexander Larsson <alexl@redhat.com>
4124 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4125 Actually set active_backend.
4126 This means the monitor will be cancelled correctly.
4128 2007-09-25 Alexander Larsson <alexl@redhat.com>
4130 * gio/gdirectorymonitor.c:
4131 Set timeout to NULL when destroying
4133 2007-09-25 Alexander Larsson <alexl@redhat.com>
4136 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4137 that is a better description of the error.
4139 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4141 * gio/gvfs.c: (g_vfs_get_local):
4142 Make the local vfs variable static. The same instance should
4145 2007-09-24 Alexander Larsson <alexl@redhat.com>
4147 * gio/glocalfileinfo.c:
4148 Pass in actual length read into sniffer, not the length
4151 2007-09-21 Alexander Larsson <alexl@redhat.com>
4153 * gio/gfileenumerator.c:
4156 * gio/gfileinputstream.c:
4157 * gio/gfileoutputstream.c:
4158 * gio/ginputstream.c:
4159 * gio/goutputstream.c:
4160 Don't crash if async callbacks are NULL
4162 2007-09-20 Alexander Larsson <alexl@redhat.com>
4165 Add async enumerate_children method and default
4168 2007-09-20 Alexander Larsson <alexl@redhat.com>
4171 Add g_file_contains_file & g_file_get_relative_path, since they
4172 were needed for nautilus.
4173 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4178 Implement new methods
4180 2007-09-17 Alexander Larsson <alexl@redhat.com>
4183 * gio/gfileinputstream.[ch]:
4184 * gio/gfileoutputstream.[ch]:
4186 * gio/glocalfileenumerator.[ch]:
4187 * gio/glocalfileinfo.[ch]:
4188 * gio/glocalfileinputstream.c:
4189 * gio/glocalfileoutputstream.c:
4190 * gio/gpollfilemonitor.c:
4191 * programs/gio-copy.c:
4192 * programs/gio-info.c:
4193 * programs/gio-move.c:
4194 Rename get_file_info to query_info() to make it clearer
4195 that these are not simple getters, but do i/o.
4197 2007-09-17 Alexander Larsson <alexl@redhat.com>
4199 * gio/gdatainputstream.[ch]:
4200 * gio/test-streams.c:
4201 Use _read_XXX instead of _get_XXX for the i/o calls
4204 2007-09-17 Alexander Larsson <alexl@redhat.com>
4207 Added needed stuff to TODO comment
4209 2007-09-17 Alexander Larsson <alexl@redhat.com>
4211 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4212 Don't error out removing the backup copy if it doesn't
4215 2007-09-14 Alexander Larsson <alexl@redhat.com>
4217 * programs/Makefile.am:
4218 * programs/gvfs-*.c:
4220 Renamed apps from gvfs-xxx to gio-xxx.
4222 2007-09-14 Alexander Larsson <alexl@redhat.com>
4225 * gio/gfileoutputstream.[ch]:
4226 * gio/glocalfileoutputstream.c:
4227 * programs/gvfs-save.c:
4228 g_file_output_stream_get_etag doesn't do i/o, so remove
4229 cancellation and error.
4231 2007-09-14 Alexander Larsson <alexl@redhat.com>
4234 Add new_etag output to replace_contents functions
4236 2007-09-14 Alexander Larsson <alexl@redhat.com>
4238 * gio/gfileoutputstream.[ch]:
4239 Add async get_file_info and default implementation
4241 2007-09-14 Alexander Larsson <alexl@redhat.com>
4243 * gio/gfileinputstream.c:
4244 Implement fallback wrapper for async get_file_info
4246 2007-09-14 Alexander Larsson <alexl@redhat.com>
4249 Add etag out argument to load_contents
4254 2007-09-14 Alexander Larsson <alexl@redhat.com>
4256 * gio/gcontenttype.c (looks_like_text):
4257 Whitespace like tab, cr and lf do not make the
4260 2007-09-14 Alexander Larsson <alexl@redhat.com>
4262 * gio/gfileinputstream.[ch]:
4263 Add async get_file_info.
4265 2007-09-13 Alexander Larsson <alexl@redhat.com>
4267 * gio/goutputstream.c (g_output_stream_write_all):
4268 Allow NULL for bytes_written
4270 2007-09-13 Alexander Larsson <alexl@redhat.com>
4272 * gio/gmemoryinputstream.[ch]:
4273 Add accessors for data
4275 2007-09-13 Alexander Larsson <alexl@redhat.com>
4277 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4278 Don't crash if length is NULL