1 2008-06-10 Matthias Clasen <mclasen@redhat.com>
3 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
6 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
7 as icon for the desktop directory, also make user-home and
8 user-desktop the preferred icons.
10 2008-06-10 Matthias Clasen <mclasen@redhat.com>
13 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
14 to add a name to the front of the list.
16 2008-06-10 Matthias Clasen <mclasen@redhat.com>
18 Bug 537392 – Additional colon in xattr name
20 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
21 too. Reported by Alessandro Morandi
23 2008-06-10 Matthias Clasen <mclasen@redhat.com>
25 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
28 * glocalfile.c (get_fs_type): Add afs and autofs.
29 Patch by Danny Baumann.
31 2008-06-10 Matthias Clasen <mclasen@redhat.com>
33 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
35 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
36 is no parent. (Owen Taylor, patch by Christian Neumair)
38 2008-06-10 Paolo Borelli <pborelli@katamail.com>
40 * gfile.c (g_file_replace_contents): do not leak the output stream.
42 2008-06-10 Michael Natterer <mitch@imendio.com>
44 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
45 uninitialized memory as array index.
47 2008-06-10 Tor Lillqvist <tml@novell.com>
49 * gcontenttype.c (g_content_type_can_be_executable)
50 (g_content_type_get_icon) [Win32]: Add TODO comments.
52 2008-06-09 Matthias Clasen <mclasen@redhat.com>
54 * xdgmime/Makefile.am: Fix the build
56 2008-06-09 Matthias Clasen <mclasen@redhat.com>
58 * gcontenttype.c (g_content_type_get_icon): Use icons specified
59 in the shared mime database, if available.
61 * xdgmime/*: Sync with upstream. This brings support for
62 glob weights, generic icons, and changes the cache format to
65 2008-05-28 Michael Natterer <mitch@imendio.com>
67 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
68 the global CPPFLAGS now.
70 * tests/data-input-stream.c
71 * tests/data-output-stream.c
75 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
77 2008-05-27 Matthias Clasen <mclasen@redhat.com>
79 * === Released 2.17.0 ===
81 * tests/live-g-file.c: Clean up after the tests, so make distcheck
82 doesn't complain about leftover files.
84 2008-05-27 simon.zheng <simon.zheng@sun.com>
86 * glocalfile.c: (g_local_file_query_filesystem_info):
87 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
89 2008-05-26 Michael Natterer <mitch@imendio.com>
91 * gmemoryoutputstream.h: declare
92 g_memory_output_stream_get_data_size().
94 2008-05-26 Matthias Clasen <mclasen@redhat.com>
96 * tests/*: Make tests work
98 2008-05-26 Matthias Clasen <mclasen@redhat.com>
100 * gio.symbols: Add g_memory_output_stream_get_data_size.
102 2008-05-25 Ross Burton <ross@burtonini.com>
105 Fix typo in error message (#534764).
107 2008-05-25 Ross Burton <ross@burtonini.com>
110 Fix circular dependency loop for gioenumtypes.h (#534759).
112 2008-05-19 Hans Breuer <hans@breuer.org>
114 * Makefile.am : EXTRA_DIST += makefile.msc
116 2008-05-17 Matthias Clasen <mclasen@redhat.com>
119 * gcontenttype.c: (g_content_type_from_mime_type):
120 New function to create a content type from a mime type. (#527175,
123 2008-05-17 Matthias Clasen <mclasen@redhat.com>
125 Bug 532965 – Should not return filesystem::free for certain file systems
127 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
128 free space for ncpfs.
130 2008-05-17 Matthias Clasen <mclasen@redhat.com>
132 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
134 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
135 st_dev might be zero.
137 2008-05-16 Tor Lillqvist <tml@novell.com>
139 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
140 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
142 2008-05-13 Bastien Nocera <hadess@hadess.net>
144 * gfile.c (has_valid_scheme): A URI scheme must start with a
145 letter, even if later more characters are allowed (#532852)
147 2008-05-05 Michael Natterer <mitch@imendio.com>
149 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
150 code from being checked in that breaks the build of applications
151 which use G_DISABLE_SINGLE_INCLUDES.
153 * makegioalias.pl: make the alias file include "glib.h" instead of
156 * gio.symbols: whitespace change to force regeneration of the
157 alias file after above script change.
159 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
161 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
163 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
165 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
167 2008-04-28 David Zeuthen <davidz@redhat.com>
169 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
170 displaying mounts in a subdirectory not accessible to the
173 2008-04-22 Michael Natterer <mitch@imendio.com>
175 * Makefile.am: fix library versioning (it was 0.0.0).
177 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
179 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
180 Default disable all loggings.
181 * fen/fen-kernel.c: (printevent), (port_add_kevent),
182 (port_fetch_event_cb): Fixed two macro nits.
184 2008-04-16 Matthias Clasen <mclasen@redhat.com>
186 * xdgmime/xdgmime.c: Rework the timestamp checking code
187 to protect against duplicate directories in XDG_DATA_DIRS.
188 Fixes fd.o bug 12513, reported by Joe Shaw.
190 2008-04-16 Matthias Clasen <mclasen@redhat.com>
192 Partically revert the last commit after realizing that
193 xdg_mime_media_type_equal doesn't have to init at all.
196 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
198 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
200 2008-04-16 Matthias Clasen <mclasen@redhat.com>
202 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
203 reported by Joe Shaw and Federico Mena Quintero.
205 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
206 (xdg_mime_media_type_equal): Turn into a wrapper around the
209 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
210 functions throughout.
212 2008-04-16 Michael Meeks <michael.meeks@novell.com>
214 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
215 tolerate an empty TryExec= line without failing; nautilus used
216 to create launchers with these in previous versions. Fixes #528433
218 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
220 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
221 after name. Fixes #527132.
223 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
225 * gfile.c: (g_file_replace):
228 2008-04-07 Matthias Clasen <mclasen@redhat.com>
230 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
232 * gfile.c (file_copy_fallback): Fix the argument order. Patch
233 by Christian Kellner.
235 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
237 * gunixmounts.c: (g_unix_mount_guess_should_display):
238 Don't list the user directory as a mount, fix potential issue
239 when other users have a similar naming and don't special case the
240 gvfs mounts there since that's not required (#525866)
242 2008-03-31 Alexander Larsson <alexl@redhat.com>
244 * glocalfile.c (get_parent):
247 2008-03-31 A. Walton <awalton@svn.gnome.org>
249 * gfile.c (g_file_query_file_type):
250 Always return a GFileType enum value (#520715).
252 2008-03-31 Alexander Larsson <alexl@redhat.com>
254 * glocalfileenumerator.c:
255 Read readdir() info in chunks (of 1000) and sort
256 the chunks by inode before stat:ing.
257 This is a 20% performance increase in testing
258 gvfs-ls on /usr/bin with cold cache.
260 2008-03-31 Alexander Larsson <alexl@redhat.com>
262 * gmemoryoutputstream.c:
263 Clarify docs for g_memory_output_stream_get_size.
264 Add g_memory_output_stream_get_data_size.
266 2008-03-30 Matthias Clasen <mclasen@redhat.com>
270 * gfile.h: Add g_file_query_file_type convenience function
271 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
273 2008-03-30 Matthias Clasen <mclasen@redhat.com>
276 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
278 2008-03-28 A. Walton <awalton@svn.gnome.org>
280 * giomodule.c (_g_io_modules_ensure_loaded):
281 Adds GIO_EXTRA_MODULES environment variable support, closing bug
284 2008-03-28 Alexander Larsson <alexl@redhat.com>
287 (copy_stream_with_progress):
290 2008-03-28 Alexander Larsson <alexl@redhat.com>
293 (copy_stream_with_progress):
294 (file_copy_fallback):
295 Fallback to g_file_query_info for source size
296 if g_file_input_stream_query_info fails. (#524579)
298 2008-03-28 Alexander Larsson <alexl@redhat.com>
300 * glocalfile.c (g_local_file_move):
301 Reuse old string instead of adding new one.
303 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
305 * fen/*.[hc]: still copyright issue. I hate copyright.
307 2008-03-27 Alexander Larsson <alexl@redhat.com>
309 * glocalfile.c (g_local_file_move):
310 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
311 file over directory. This is according to the docs and what the move via
312 copy+remove fallback does.
314 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
316 * fen/*.[hc]: Updated copyright.
318 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
320 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
322 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
324 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
325 not emit attribute changed events when optimizing changed events.
326 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
329 2008-03-19 Matthias Clasen <mclasen@redhat.com>
331 * gmountoperation.[hc]: Small documentation additions
333 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
335 * gunixmounts.c: (guess_mount_type):
336 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
338 2008-03-19 Alexander Larsson <alexl@redhat.com>
341 (copy_stream_with_progress):
342 Bump block side for copy to 64k to minimize
343 overhead for low latency links. (#523015)
345 2008-03-16 Tor Lillqvist <tml@novell.com>
347 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
348 depend on gio.def on Windows.
350 2008-03-12 David Zeuthen <davidz@redhat.com>
354 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
356 2008-03-14 Alexander Larsson <alexl@redhat.com>
360 Avoid redudant tests (#521851)
361 Patch from Josselin Mouette
363 2008-03-14 Alexander Larsson <alexl@redhat.com>
366 (g_file_monitor_is_cancelled):
367 Fix C89 issue (#521672)
368 Patch from Jens Granseuer
370 2008-03-14 Alexander Larsson <alexl@redhat.com>
372 * fam/fam-helper.[ch]:
374 Shut down fam (including removing fam GSource) when
375 module is unloaded (#521513)
376 Patch from Joe Marcus Clarke
378 2008-03-14 Alexander Larsson <alexl@redhat.com>
381 (_g_io_modules_ensure_loaded):
384 2008-03-14 Alexander Larsson <alexl@redhat.com>
387 (g_local_file_query_filesystem_info):
388 Use right define name for f_fstypename member check
390 2008-03-14 Alexander Larsson <alexl@redhat.com>
393 * fen/Makefile.am: Added.
394 * fen/fen-data.[ch]: Added.
395 * fen/fen-dump.[ch]: Added.
396 * fen/fen-helper.[ch]: Added.
397 * fen/fen-kernel.[ch]: Added.
398 * fen/fen-missing.[ch]: Added.
399 * fen/fen-node.[ch]: Added.
400 * fen/fen-sub.[ch]: Added.
401 * fen/gfendirectorymonitor.[ch]: Added.
402 * fen/gfenfilemonitor.[ch]: Added.
404 Added Solaris FEN file notification backend.
405 Patch from Lin Ma <Lin.Ma@Sun.COM>
407 2008-03-13 Tor Lillqvist <tml@novell.com>
409 * Makefile.am: Actually use the gio.def file when linking the
410 library on Windows. Produce .lib library for Microsoft's toolchain
411 when possible. Install the .lib and .def file like for the other
414 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
416 * tests/live-g-file.c:
417 Include live-g-file in standard set of tests, making a temporary
418 directory in source structure.
420 Clean target directory before the tests (write mode only)
422 2008-03-12 Tor Lillqvist <tml@novell.com>
424 Bug 517419 - gio win32 directory monitor
425 Implementation by Vlad Grecescu.
428 * win32/gwin32directorymonitor.h
429 * win32/gwin32directorymonitor.c: New files.
431 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
433 * Makefile.am: Add the win32 subdirectory.
435 2008-03-12 Tor Lillqvist <tml@novell.com>
437 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
438 normal struct stat on Unix but struct _stati64 on Windows to have
439 access to 64-bit file size information. Use that instead of struct
440 stat in the functions declared here in this private header.
442 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
443 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
444 warnings about unused functions and variables. Don't set
445 meaningless attributes like inode numbers on Windows.
447 2008-03-12 Benjamin Otte <otte@gnome.org>
450 trim whitespace so gtk-doc groks the function name
452 2008-03-12 Tor Lillqvist <tml@novell.com>
454 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
455 returning FALSE, on Win32.
457 2008-03-11 Alexander Larsson <alexl@redhat.com>
460 * glocalfileinfo.[ch]:
461 Correctly implement can_trash by actually
462 looking for a trash dir, not just assuming
465 2008-03-10 Matthias Clasen <mclasen@redhat.com>
467 * === Released 2.16.1 ===
469 2008-03-11 Alexander Larsson <alexl@redhat.com>
472 Fix crashes in new constructor and properties code
474 2008-03-10 Murray Cumming <murrayc@murrayc.com>
476 * gfile.c: Minor spelling correction in documentation:
477 existance -> existence.
479 2008-03-10 Matthias Clasen <mclasen@redhat.com>
481 * === Released 2.16.0 ===
483 2008-03-10 Matthias Clasen <mclasen@redhat.com>
485 * gio.symbols: Remove g_file_contains_file here, too.
487 2008-03-10 Matthias Clasen <mclasen@redhat.com>
489 * gthemedicon.c: Add properties to make bindings happy. (#517676,
490 Samuel Cormier-Iijima)
492 2008-03-08 Tor Lillqvist <tml@novell.com>
494 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
497 2008-03-07 Alexander Larsson <alexl@redhat.com>
500 (g_local_file_query_filesystem_info):
501 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
502 Patch from Jasper Lievisse Adriaanse
504 2008-03-06 Tor Lillqvist <tml@novell.com>
506 * gfileinfo.h: Correct milliseconds to microseconds in the doc
507 comments for the *_USEC attributes.
509 2008-03-06 Alexander Larsson <alexl@redhat.com>
511 * gfile.c (g_file_query_exists):
512 Add g_return_val_if_fail check (#520700)
514 2008-03-06 Alexander Larsson <alexl@redhat.com>
519 * gunionvolumemonitor.c:
522 * tests/live-g-file.c:
523 * xdgmime/xdgmimecache.c:
524 Fix sparse warnings (#519489)
526 2008-03-05 Alexander Larsson <alexl@redhat.com>
529 Make cancellation threadsafe (i.e.
530 guarantee its only done once, and always
533 * glocaldirectorymonitor.c:
534 Make sure we the monitor lives while the
535 mounts_changed callback is being called (#520484)
537 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
539 * gbufferedinputstream.c: Fix typo in parameter
542 2008-03-04 Alexander Larsson <alexl@redhat.com>
545 Remove deprecated symbols we kept for one release.
547 2008-03-04 Murray Cumming <murrayc@murrayc.com>
550 * goutputstream.c: Tiny documentation corrections.
552 2008-03-03 Alexander Larsson <alexl@redhat.com>
554 * gunionvolumemonitor.c:
556 Fix the adopt_orphan_mount vfunc to take a
557 volume_monitor reference in an ABI compat way.
558 This change is not API compat, but the added
559 arg is not used in the only user of this vfunc, so
560 all we get is a harmless warning in gvfs (#520169)
562 2008-03-01 Benjamin Otte <otte@gnome.org>
565 clarify docs for g_file_delete().
567 2008-02-29 Alexander Larsson <alexl@redhat.com>
571 Make sure empty files get text/plain type (#518720)
573 2008-02-27 Alexander Larsson <alexl@redhat.com>
579 (g_unix_volume_mount):
580 Add missing GMountMountFlags argument
582 2008-02-26 Alexander Larsson <alexl@redhat.com>
585 (g_local_file_delete):
586 Handle filesystems (like ntfs-3g) that return EEXIST instead
587 of ENOTEMPTY (#518816)
589 2008-02-25 Matthias Clasen <mclasen@redhat.com>
591 * === Released 2.15.6 ===
593 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
595 * gfile.c (g_file_find_enclosing_mount):
596 * ginputstream.c (g_input_stream_set_pending):
597 * glocalfile.c (g_local_file_find_enclosing_mount):
598 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
599 * goutputstream.c (g_output_stream_set_pending):
601 Fixup translator comments (#518578).
603 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
605 * gfile.c (g_file_find_enclosing_mount):
607 * glocalfile.c (g_local_file_find_enclosing_mount):
610 Fix a few typos in translator comments and documentation.
612 2008-02-25 Alexander Larsson <alexl@redhat.com>
619 Add translator comments (#518578)
621 2008-02-25 Alexander Larsson <alexl@redhat.com>
624 Reintroduce g_file_contains_file, keep around for one
625 unstable release cycle to avoid crashing to many apps.
626 Make sure to delete after release.
628 2008-02-25 Alexander Larsson <alexl@redhat.com>
631 Remove deprecated g_file_contains_file.
633 2008-02-25 Alexander Larsson <alexl@redhat.com>
636 Emit actual change signals in an idle handler.
637 This avoids reentrance and locking problems in
638 the file notification backends.
640 2008-02-25 Alexander Larsson <alexl@redhat.com>
643 (g_unix_mount_guess_should_display):
644 Remove type guessing, instead just display
645 mounts in /media and in ~/.
647 2008-02-25 Alexander Larsson <alexl@redhat.com>
650 Make new strings reuse old ones.
652 2008-02-25 Alexander Larsson <alexl@redhat.com>
655 Implement trashing and filesystem::readonly for win32 (#517235)
656 Patch from Yevgen Muntyan
658 2008-02-23 Matthias Clasen <mclasen@redhat.com>
660 * gfileinfo.h: Documentation fixes.
662 2008-02-22 Alexander Larsson <alexl@redhat.com>
664 * gcontenttype.c (g_content_type_get_icon):
665 Look at old-style gnome mime icon names too, as many
666 have not moved to the new style.
668 2008-02-21 Matthias Clasen <mclasen@redhat.com>
670 * *.c: Correct the @include in for section docs.
672 2008-02-21 David Zeuthen <davidz@redhat.com>
674 * glocalfileinfo.c: (_g_local_file_info_get):
676 (g_content_type_get_icon): Implement this function by
677 moving bits from glocalfileinfo.c
678 (g_content_type_get_description): Unalias before getting
679 description (#517687)
681 * gfile.c: (g_file_class_init),
682 (g_file_query_filesystem_info_async),
683 (g_file_query_filesystem_info_finish),
684 (query_filesystem_info_data_free),
685 (query_filesystem_info_async_thread),
686 (g_file_real_query_filesystem_info_async),
687 (g_file_real_query_filesystem_info_finish):
688 * gfile.h: Implement async version of
689 g_file_query_filesystem_info()
691 * gfileinfo.h: Add new attributes for filesystem::use-preview
693 * gio.symbols: Update
695 * gthemedicon.c: (g_themed_icon_append_name):
696 * gthemedicon.h: Add new new convenience function.
698 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
699 (get_mounts), (get_volumes), (get_connected_drives),
700 (get_volume_for_uuid), (get_mount_for_uuid),
701 (g_union_volume_monitor_init), (populate_union_monitor),
702 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
703 (g_volume_monitor_adopt_orphan_mount):
705 * gvolumemonitor.h: Use recursive locks so it's safe for volume
706 monitor implementations to call into the main volume monitor. Also
707 separate object initialization and volume monitor initialization
708 such that non-native volume monitors can properly adopt their
711 2008-02-21 Alexander Larsson <alexl@redhat.com>
716 2008-02-21 Alexander Larsson <alexl@redhat.com>
719 Add more documentation about how GFiles work (from #517086)
721 2008-02-21 Alexander Larsson <alexl@redhat.com>
725 Add new g_file_has_prefix that does the same as g_file_contains_file.
726 Deprecate g_file_contains_file and add a macro that converts
727 it to g_file_has_prefix.
728 The reason for this change is that the contains_file() name seems to
729 imply that this does more work than what it does, but its really only
730 a name match (from #517086)
735 Update to match the above change.
737 2008-02-20 Benjamin Otte <otte@gnome.org>
739 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
740 (g_file_eject_mountable):
741 even more cases of not returning in error path
743 2008-02-20 Benjamin Otte <otte@gnome.org>
745 * gfile.c: (g_file_mount_mountable):
746 return from function in error path.
748 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
751 Remove trailing coma in GMountMountFlags struct
753 2008-02-18 Alexander Larsson <alexl@redhat.com>
757 * glocalfileoutputstream.c:
758 Use g_unlink/g_rename instead of unlink/rename;
759 do not pass raw filenames to g_set_error. (#517239)
760 Patch from Yevgen Muntyan.
762 2008-02-18 Alexander Larsson <alexl@redhat.com>
765 * glocalfileoutputstream.c:
766 Open files with O_BINARY on windows. (#517140)
768 2008-02-14 Alexander Larsson <alexl@redhat.com>
770 * glocalfileoutputstream.c:
771 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
773 2008-02-14 Alexander Larsson <alexl@redhat.com>
776 Copy permissions with file on copy (#514084)
777 This is what cp does and makes sure e.g. the
778 exec permissions are kept.
779 Its kinda weird in that it keeps the permission bits
780 the same while the uid and gid are different. However
781 the new uid is the user so its not a security issue,
782 and I've heard no complaints about cp on this issue.
784 2008-02-13 Ryan Lortie <desrt@desrt.ca>
786 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
788 2008-02-13 Alexander Larsson <alexl@redhat.com>
790 * inotify/inotify-path.c:
791 Define IN_ONLYDIR if not in header (#515346)
793 2008-02-12 Alexander Larsson <alexl@redhat.com>
795 * tests/live-g-file.c:
798 2008-02-11 Matthias Clasen <mclasen@redhat.com>
800 * === Released 2.15.5 ===
802 2008-02-11 Matthias Clasen <mclasen@redhat.com>
804 * gio.symbols: Add g_mount_mount_flags_get_type.
806 2008-02-11 Alexander Larsson <alexl@redhat.com>
809 (g_file_info_set_attribute_mask):
810 (g_file_attribute_matcher_matches_id):
811 Correctly handle NULL GAttributeMatcher meaning
812 matches nothing. (Fixes #513492)
814 2008-02-11 Alexander Larsson <alexl@redhat.com>
819 Added GMountMountFlags enum and added a flags
820 argument to all mount calls.
822 This is an API/ABI change for future extensibility,
823 as I think we will need at least an
824 inhibit-autorun flag (the panel needs this).
825 There are no flags defined yet though.
827 2008-02-11 Alexander Larsson <alexl@redhat.com>
830 Added new standard::description attribute.
831 Requested by Vincent, and useful for both
834 2008-02-11 Alexander Larsson <alexl@redhat.com>
839 2008-02-11 Matthias Clasen <mclasen@redhat.com>
841 * *.c: Documentation additions
843 2008-02-10 Matthias Clasen <mclasen@redhat.com>
845 * gappinfo.h: Formatting cleanup
846 * gappinfo.c: Fix up docs.
848 2008-02-09 Matthias Clasen <mclasen@redhat.com>
850 * gunixmounts.c: Consistently use getmntent_r() and fall
851 back to getmntent(). (#515492)
853 2008-02-09 Matthias Clasen <mclasen@redhat.com>
855 * gbufferedinputstream.c:
857 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
859 * tests/data-input-stream.c:
860 * tests/data-output-stream.c: Portability fixes.
862 2008-02-08 Alexander Larsson <alexl@redhat.com>
867 Add g_volume_should_automount.
870 2008-02-07 Tor Lillqvist <tml@novell.com>
872 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
873 Win32, too Unix-specific.
875 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
877 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
878 a local plt if the compiler doesn't support what we want. Bug #514702
880 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
882 reviewed by: <delete if not using a buddy>
885 * gunixinputstream.c:
886 * gunixoutputstream.c:
888 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
891 * tests/live-g-file.c:
892 * tests/live-g-file.txt:
893 New GIO testing module working over real data
895 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
897 * glocalfileoutputstream.c (g_local_file_output_stream_close):
898 Fallback to rename() if link() is not available
899 (when no support on target filesystem)
901 2008-02-06 Michael Natterer <mitch@imendio.com>
903 * gfileinfo.c (g_file_info_get_icon): replace
904 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
906 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
908 * gfile.c (g_file_create):
909 Documentation update of error codes
911 2008-02-06 Alexander Larsson <alexl@redhat.com>
914 Update to use both mimeapps.list and
915 defaults.list as discussed on xdg list.
917 2008-02-06 Benjamin Otte <otte@gnome.org>
920 * gfilenamecompleter.c:
921 Fix some typos in the documentation.
923 2008-02-06 Alexander Larsson <alexl@redhat.com>
925 * glocalfile.c (g_local_file_trash):
926 Don't succeed with trash if newly created
927 trash dir has the wrong owner. (#514696)
929 2008-02-05 Alexander Larsson <alexl@redhat.com>
931 * glocalfile.c (g_local_file_move):
932 Don't spew warnings when destination is not
935 2008-02-03 Hans Breuer <hans@breuer.org>
937 * makefile.msc : update
939 2008-02-01 Michael Natterer <mitch@imendio.com>
941 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
942 return value of xdg_mime_list_mime_parents() to a variable of the
945 2008-02-01 Alexander Larsson <alexl@redhat.com>
947 * gappinfo.c (g_app_info_launch_uris):
948 Actually call the launch_uris method, not
951 2008-02-01 Alexander Larsson <alexl@redhat.com>
953 * gdesktopappinfo.c (g_desktop_app_info_equal):
954 Ensure appinfos with no id but same pointer value
957 2008-02-01 Alexander Larsson <alexl@redhat.com>
959 * gappinfo.c (g_app_info_launch_default_for_uri):
962 2008-02-01 Alexander Larsson <alexl@redhat.com>
966 Add g_app_info_launch_default_for_uri utility
969 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
972 Doc fix for g_app_info_get_default_for_uri_scheme ()
975 2008-01-30 Alexander Larsson <alexl@redhat.com>
978 Add doc comment about uris vs GFiles to
982 Ensure uris passed to g_app_info_launch_uris()
983 are not roundtriped through GFile (as that
984 may be slightly destructive for e.g. mailto: links)
986 2008-01-30 Alexander Larsson <alexl@redhat.com>
988 * tests/data-input-stream.c:
989 * tests/data-output-stream.c:
990 C89 fixes from Jens Granseuer (#512849)
992 2008-01-30 Alexander Larsson <alexl@redhat.com>
995 Fix gamin/fam difference build issue. (#509419)
997 2008-01-29 Alexander Larsson <alexl@redhat.com>
1000 * gdesktopappinfo.c:
1001 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1003 2008-01-29 Alexander Larsson <alexl@redhat.com>
1005 * gdesktopappinfo.c:
1006 * gdesktopappinfo.h:
1007 giomodule-priv.h include moved to .c file.
1009 2008-01-29 Alexander Larsson <alexl@redhat.com>
1011 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1012 Remove unused prio/name fields.
1014 2008-01-29 Alexander Larsson <alexl@redhat.com>
1016 * gcontenttype.c (looks_like_text):
1017 Don't treat whitespace as control chars.
1019 2008-01-29 Alexander Larsson <alexl@redhat.com>
1021 * gdesktopappinfo.c:
1022 Lazily create the desktop files for appinfos created
1023 by g_app_info_create_from_commandline() when needed
1024 for mime associations. This allows run-time use
1025 of GAppInfo object without creating unnecessary
1028 2008-01-29 Alexander Larsson <alexl@redhat.com>
1031 Added new symbols to gio.symbols
1033 2008-01-29 Alexander Larsson <alexl@redhat.com>
1036 Add g_file_query_default_handler utility to easily look up
1037 the GAppInfo that handles a file.
1039 * gdesktopappinfo.[ch]:
1041 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1044 Remove unused function
1046 2008-01-29 Alexander Larsson <alexl@redhat.com>
1048 * gfileenumerator.c:
1049 Mention need to free returned value in
1050 g_file_enumerator_next_files_finish docs.
1051 Fix leak if g_file_enumerator_next_files_finish()
1054 2008-01-29 Alexander Larsson <alexl@redhat.com>
1057 (_g_unix_content_type_get_parents):
1058 Use list_parents, not get_parents from xdgmime, because
1059 the later doesn't use the cache.
1061 * xdgmime/xdgmimecache.c:
1062 (_xdg_mime_cache_list_mime_parents):
1063 Don't list the same type as parent multiple times.
1065 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1067 * === Released 2.15.4 ===
1069 2008-01-28 Alexander Larsson <alexl@redhat.com>
1072 Register local vfs with prio 0.
1075 Remove old name and prio class members
1077 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1079 * tests/g-file.c: Disable some tests that are failing in
1080 the absence of a http backend.
1082 2008-01-28 Alexander Larsson <alexl@redhat.com>
1086 Add registration hooks for extension points.
1087 Register the gio extension points.
1089 * fam/gfamdirectorymonitor.c:
1090 * fam/gfamfilemonitor.c:
1091 * glocaldirectorymonitor.[ch]:
1092 * glocalfilemonitor.[ch]:
1093 * gnativevolumemonitor.h:
1094 * gunionvolumemonitor.c:
1095 * gunixvolumemonitor.c:
1098 * inotify/ginotifydirectorymonitor.c:
1099 * inotify/ginotifyfilemonitor.c:
1100 Use the extension points registration instead
1101 of g_type_children().
1103 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1106 * gvolume.[hc]: Document new API.
1108 * gfile.c (g_file_copy_async): Fix docs
1110 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1112 * gbufferedinputstream.c:
1114 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1117 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1119 * glocalfile.c: Avoid trivial differences in translatable strings.
1121 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1123 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1124 build with gcc 3.4 (#509419)
1126 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1128 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1129 (#509994, Murray Cumming)
1131 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1133 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1134 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1135 this allows big jobs to be executed in chunks, instead of blocking
1136 the main loop for a long time.
1138 * gsimpleasyncresult.c:
1139 * giofile.c: Adapt callers.
1141 2008-01-25 Alexander Larsson <alexl@redhat.com>
1143 * gdesktopappinfo.c:
1144 Implement changes discussed on xdg list.
1145 Now we can add supported mimetypes by just using defaults.list
1146 We can also remove associations in defaults.list.
1148 2008-01-25 Alexander Larsson <alexl@redhat.com>
1150 * gdesktopappinfo.c:
1151 Don't make local copy of desktop file
1152 for mimetype changes if the file already
1153 supports the new mimetype.
1155 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1159 * gbufferedinputstream.c:
1160 * glocalfile.c: String improvements. (#511966,
1161 Theppitak Karoonboonyanan)
1163 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1165 * gioscheduler.h: Expand docs a bit.
1167 2008-01-24 Alexander Larsson <alexl@redhat.com>
1170 Add g_drive_get_identifier and
1171 g_drive_enumerate_identifiers
1174 Add g_volume_get_identifier and
1175 g_volume_enumerate_identifiers
1181 Implement identifiers for unix backend
1183 2008-01-24 Alexander Larsson <alexl@redhat.com>
1188 Add g_file_copy_async() (#511580)
1189 Based on patch from Carlos Garcia Campos
1191 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1193 * gioscheduler.c: Some documentation additions.
1195 2008-01-22 Alexander Larsson <alexl@redhat.com>
1197 * gdesktopappinfo.c:
1198 (g_desktop_app_info_new):
1199 Don't leak basename.
1201 2008-01-22 Alexander Larsson <alexl@redhat.com>
1203 * gdesktopappinfo.c:
1204 (g_desktop_app_info_new_from_filename):
1207 2008-01-22 Alexander Larsson <alexl@redhat.com>
1209 * glocalfileinfo.c (get_thumbnail_attributes):
1212 2008-01-22 Alexander Larsson <alexl@redhat.com>
1215 (canonicalize_filename):
1216 Canonicalize paths that start with more than
1220 (compare_two_files):
1221 (test_g_file_new_for_path):
1224 2008-01-22 Alexander Larsson <alexl@redhat.com>
1227 Allow UTF-8 in file:// parse names.
1229 * tests/Makefile.am:
1230 * tests/data-input-stream.c:
1231 * tests/data-output-stream.c:
1232 * tests/g-file-info.c:
1234 Added a bunch of tests from Tomas Bzatek
1236 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1238 * === Released 2.15.3 ===
1240 2008-01-21 Alexander Larsson <alexl@redhat.com>
1242 * gfileinputstream.[ch]:
1243 * gfileoutputstream.[ch]:
1245 Remove duplicated GSeekable functions. (#509990)
1246 Just use the g_seekable_xxx() calls instead.
1248 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1251 * gvolumemanager.c: Whitespace cleanups.
1253 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1254 Use the right mode when creating the file.
1256 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1258 * gfileenumerator.c:
1259 * gfileinputstream.c:
1261 * goutputstream.c: Documentation: Fixed minor typos
1262 and added more mentions of specific _finish() functions.
1264 2008-01-21 Alexander Larsson <alexl@redhat.com>
1266 * inotify/Makefile.am:
1267 * inotify/inotify-helper.c:
1268 * inotify/inotify-kernel.c:
1269 * inotify/inotify-path.c:
1270 * inotify/local_inotify.h: Removed.
1271 * inotify/local_inotify_syscalls.h: Removed.
1272 Removed the included copies of the inotify
1273 headers. We now only use the <sys/inotify.h>
1274 header which exists on modern systems.
1275 This fixes problems on ARM and SH5 (#510448)
1276 but is also generally much cleaner and future
1277 safe. For instance, if other OSes add support
1278 for inotify it should "just work".
1280 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1282 * inotify/*.c: Coding style fixes.
1283 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1284 for the 1/4 Hz timer.
1286 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1289 * gfilemonitor.[hc]:
1290 * gmemoryinputstream.c:
1291 * gmemoryoutputstream.c:
1292 * gmountoperation.c:
1293 * gthemedicon.c: Documentation updates
1295 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1297 * gfile.c: documentation: Fixed more minor
1300 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1302 * gmount.c: (g_mount_remount): documentation:
1303 Mention g_mount_remount_finish() instead of
1304 g_mount_unmount_finish().
1306 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1310 * gfile.c: Fixed some minor typos in the
1313 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1315 * gio/gvolumemonitor.c:
1316 (g_volume_monitor_get_connected_drives):
1317 (g_volume_monitor_get_volumes):
1318 (g_volume_monitor_get_mounts): Documentation:
1319 Clarify the ownership of the regurn GLists.
1321 2008-01-17 Alexander Larsson <alexl@redhat.com>
1324 Add the async find_enclosing_mount version
1325 to the header file too.
1327 2008-01-17 Alexander Larsson <alexl@redhat.com>
1330 Add async version of find_enclosing_mount
1331 with default implementation.
1333 2008-01-17 Alexander Larsson <alexl@redhat.com>
1338 Allow calls to implementation of copy and write
1339 even if the type of the file implementations is
1340 different. This can be used to implement native
1341 upload and download calls in a vfs.
1344 (g_local_file_move):
1345 Protect against the case where move is called
1346 with one file not being local.
1348 Make sure we call the progress callback once
1349 in the native move operation so that the caller
1350 knows how many bytes were copied.
1352 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1355 * gdatainputstream.c:
1357 * gfileoutputstream.c:
1362 * gunixmounts.c: Corrected some typos in the documentation:
1363 occured -> occurred.
1364 its -> it's (where appropriate).
1366 2008-01-16 Alexander Larsson <alexl@redhat.com>
1370 Add g_file_query_exists (#508771)
1372 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1377 * gvolume.c: For async functions that have no non-async
1378 version, document that the GAsyncReadyCallback may be NULL.
1381 2008-01-15 Alexander Larsson <alexl@redhat.com>
1383 * gmemoryinputstream.c:
1384 * gmemoryoutputstream.c:
1385 Don't do pointer arithmetic on void * (#508602)
1386 Patch from Kazuki IWAMOTO
1388 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1390 * === Released 2.15.2 ===
1392 2008-01-14 Alexander Larsson <alexl@redhat.com>
1394 * gfile.c (g_file_monitor_file):
1395 Don't set error here, since we fallback to polling monitor.
1397 2008-01-14 Alexander Larsson <alexl@redhat.com>
1400 (g_file_monitor_directory):
1401 (g_file_monitor_file):
1402 Add GError to file monitor calls
1404 * glocaldirectorymonitor.c:
1405 * glocaldirectorymonitor.h:
1407 * glocalfilemonitor.c:
1408 * glocalfilemonitor.h:
1410 Update for above change
1412 2008-01-14 Alexander Larsson <alexl@redhat.com>
1416 Handle root correctly in g_file_get_relative_path (#508719)
1418 2008-01-14 Alexander Larsson <alexl@redhat.com>
1421 Clean up docs and example for GAsyncResult (#508074)
1423 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1425 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1426 and correct some spelling mistakes. Bug #508108.
1428 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1430 * glocalfileinfo.c: Add a comment.
1432 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1434 * gfileinfo.c: GFileInfo description: Mention
1435 how to actually set attributes in a GFile and how to discover
1436 which attributes are settable. Bug #508378.
1438 2008-01-10 A. Walton <awalton@svn.gnome.org>
1440 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1441 (g_app_info_get_default_for_type):
1442 Check for NULL content types.
1444 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1446 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1448 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1450 * gfile.c: *_async() functions: Several small corrections
1451 to the documentation, mostly correcting copy/paste errors
1452 and improving some sentences.
1454 2008-01-09 Dan Winship <danw@gnome.org>
1456 * glocalfile.c (get_unique_filename): x86_64 fix
1458 2008-01-09 Alexander Larsson <alexl@redhat.com>
1463 Add g_unix_mount_guess_should_display and use
1464 for unix volume monitor backend.
1465 This means we more or less show what the
1466 gnome-vfs backend did.
1467 Based on patch from Padraig O'Briain
1469 2008-01-09 Alexander Larsson <alexl@redhat.com>
1473 Add g_themed_icon_new_with_default_fallbacks
1476 Use default fallbacks for icons
1478 2008-01-09 Alexander Larsson <alexl@redhat.com>
1481 * gmountoperation.[ch]:
1482 Change the API a bit so that unhandled methods
1483 get reported via the reply, rather than by
1484 the signal emission return value. This is because
1485 some handlers can't know this immediately without
1486 doing I/O, and this is an async operation that
1489 2008-01-09 Alexander Larsson <alexl@redhat.com>
1492 * fam/gfamdirectorymonitor.c:
1493 * fam/gfamfilemonitor.c:
1494 Fix double free crash (#508224)
1495 Patch from Joe Marcus Clarke
1497 008-01-07 Matthias Clasen <mclasen@redhat.com>
1499 * === Released 2.15.1 ===
1501 2008-01-07 Alexander Larsson <alexl@redhat.com>
1503 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1504 Fix warning (#507835)
1506 2008-01-07 Alexander Larsson <alexl@redhat.com>
1509 Pass --internal to glib-genmarshal
1512 * gmountoperation.c:
1514 Use better types for signal arguments (#507822)
1516 2008-01-07 Alexander Larsson <alexl@redhat.com>
1519 Build test subdir after .
1520 Remove gdirectorymonitor.[ch]
1522 * gdirectorymonitor.[ch]:
1526 Remove GDirectoryMonitor and make
1527 GFileMonitor the baseclass for both file and
1528 directory monitors. Lift the more generic
1529 rate limiting code from GDirectoryMonitor
1533 * fam/gfamdirectorymonitor.[ch]:
1534 * inotify/ginotifydirectorymonitor.[ch]:
1535 * inotify/inotify-helper.c:
1536 * glocaldirectorymonitor.[ch]:
1539 Update for the removed GDirectoryMonitor.
1541 * gmemoryoutputstream.c:
1542 Remove ununsed variable
1544 2008-01-07 Alexander Larsson <alexl@redhat.com>
1546 * gmemoryinputstream.c:
1547 Translate error strings
1550 * gmemoryoutputstream.[ch]:
1551 New implementation that avoids using GByteArray
1552 in implementation and API. (#506377)
1554 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1556 * tests/*: Add a test for memory input streams.
1558 * Makefile.am: Add tests to SUBDIRS.
1560 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1562 * glocalfilemonitor.c:
1563 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1566 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1568 * gdesktopappinfo.c: Fix a docs typo.
1570 * gfileattribute.c: Add information about extended attributes
1571 to the documentation. (#505058)
1573 2008-01-04 Alexander Larsson <alexl@redhat.com>
1576 * gmountoperation.c:
1577 Use the right type (uint) for the ask_password signal.
1579 2008-01-04 Alexander Larsson <alexl@redhat.com>
1584 Add g_app_info_supports_files()
1585 Remove desktop arg from g_app_info_should_show().
1587 * gdesktopappinfo.[ch]:
1588 Implement g_app_info_supports_files() and new should_show()
1589 Add g_desktop_app_info_set_desktop_env() to set the desktop
1590 for should_show(). (This will be set by gtk+ later)
1592 2008-01-04 Alexander Larsson <alexl@redhat.com>
1595 * gmemoryinputstream.[ch]:
1596 Improve API so that you can use multiple chunks
1597 of memory and custom destroy functions. (#506374)
1599 2008-01-03 Alexander Larsson <alexl@redhat.com>
1602 Handle NULL attribute matchers safely, as we return this
1603 for empty attribute matcher strings.
1605 2008-01-03 Alexander Larsson <alexl@redhat.com>
1607 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1608 Add /usr/local to list of internal mountpoints
1610 2008-01-03 Alexander Larsson <alexl@redhat.com>
1613 Check for HAVE_LCHOWN (#505887)
1615 2008-01-03 Alexander Larsson <alexl@redhat.com>
1619 Add define for selinux context attribute.
1620 Fix missing : -> :: namespace separator change
1621 Fix missing _ -> - name change for xattr-sys.
1624 2008-01-03 Alexander Larsson <alexl@redhat.com>
1627 Link to libglib and libgobject directly (#504879)
1628 Patch from Sebastien Bacher
1630 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1632 * gfile.c: Expanded the g_file_new_for_commandline_arg
1633 description a bit, based on the code and the docs of the
1634 other g_file_new_for_* functions.
1636 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1638 * gfilemonitor.h: Fixed typo in docs.
1640 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1642 Updates to GIO documentation. (#506395, Mikael Hermansson)
1644 * gcontenttype.c: Describe memory management for return value of
1645 g_content_types_get_registered(). Missing piece from #505815.
1646 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1647 GVolume, GDrive, GMounts, which hopefully gives the user less
1648 confusions when using this API. Following explainations from
1649 Alexander Larsson on gtk-devel-list.
1651 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1653 * gfileinfo.c: Expand the long description.
1655 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1658 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1659 fix builds with --disable-visibility. (#500273, Christian Persch)
1661 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1663 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1664 in the list of returned app infos.
1666 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1668 * gappinfo.c: Fix a cross-reference
1670 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1672 * gfileinputstream.c:
1673 * gfileoutputstream.c:
1677 * gdesktopappinfo.c:
1679 * gfileinfo.c: Documentation updates.
1681 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1683 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1686 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1688 * gcontenttype.c (g_content_types_get_registered): Don't return
1689 freed memory (#505815, Mikael Hermansson)
1691 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1693 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1694 used to detect statbuf->st_blocks. (#505042)
1696 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1698 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1699 environment handling. (#504829, Cosimo Cecchi)
1701 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1703 * gappinfo.c: Doc improvements
1705 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1708 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1710 * === Released 2.15.0 ===
1712 2007-12-20 Hans Breuer <hans@breuer.org>
1714 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1715 with symbols gwin32appinfo.obj, added gmount.obj
1716 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1718 2007-12-20 Alexander Larsson <alexl@redhat.com>
1724 * gfilenamecompleter.c:
1727 * gpollfilemonitor.c:
1728 File attribute renames:
1730 fs:: -> filesystem::
1731 id::fs -> id::filesystem
1733 2007-12-20 Alexander Larsson <alexl@redhat.com>
1742 Add GMountUnmountFlags to all unmount and
1744 Add g_mount_remount() call.
1746 2007-12-20 Alexander Larsson <alexl@redhat.com>
1748 * gvfs.c (get_default_vfs):
1749 Fix unused variable warning
1751 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1753 * pltcheck.sh: Update
1755 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1757 * gunionvolumemonitor.c:
1758 * gunixmount.c: Remove C99 comments
1760 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1762 * gio.symbols: Add some missing symbols
1764 2007-12-19 Alexander Larsson <alexl@redhat.com>
1767 Make g_io_modules_load_all_in_directory not unuse
1768 loaded modules so that users of it can do stuff
1770 Init internal "module" types.
1771 Initialize static prio and name for types so that
1772 we don't have to load modules to get it.
1774 * gnativevolumemonitor.h:
1776 Move is_supported to parent class so that
1777 non-native monitors can avoid being initialized
1778 too. (For instance GDaemonVolumeMonitor if we're
1779 not using GDaemonVfs.)
1781 * glocaldirectorymonitor.[ch]:
1782 * glocalfilemonitor.[ch]:
1783 * gunionvolumemonitor.c:
1784 * gunixvolumemonitor.c:
1786 Find plugins using the static prio+name to
1787 avoid unnecessarily loading the modules.
1789 2007-12-19 Alexander Larsson <alexl@redhat.com>
1794 2007-12-19 Alexander Larsson <alexl@redhat.com>
1796 * gunionvolumemonitor.c:
1797 Store the native type as GType, not class so that
1798 we can unload it. But still avoid unnecessarily
1801 2007-12-19 David Zeuthen <davidz@redhat.com>
1803 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1804 add signals 'disconnected' and 'eject-button' on GDrive. Add
1805 signal 'removed' on GVolume and 'unmounted' on GMount.
1807 * gdrive.c: (g_drive_base_init):
1809 * gfile.c: (g_file_mount_mountable),
1810 (g_file_mount_enclosing_volume):
1813 * gmount.c: (g_mount_base_init):
1815 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1816 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1817 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1821 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1823 * *.c: Fix up includes in the section docs.
1825 2007-12-17 Alexander Larsson <alexl@redhat.com>
1827 * gnativevolumemonitor.h:
1828 * gunionvolumemonitor.c:
1829 * gunixvolumemonitor.c:
1830 Add is_supported() to GNativeVolumeMonitorClass so
1831 that we can avoid having to create an object to see
1832 if the backend is supported at runtime.
1833 Also add name member and an env var to pick a specific
1834 volume monitor backend.
1838 Add cancellable to _g_mount_get_for_mount_path()
1840 * glocaldirectorymonitor.c:
1841 * glocalfilemonitor.c:
1842 Avoid loading and unloading modules while sorting.
1844 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1847 * gunixmounts.[hc]: Namespace waste reduction, move some
1848 g_get_unix_mount functions to the g_unix_mount namespace.
1851 * gunixvolumemonitor.c:
1853 * glocaldirectorymonitor.c: Update all callers.
1855 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1857 2007-12-17 Alexander Larsson <alexl@redhat.com>
1860 Add doc comments about what GFile operations are
1861 guaranteed to not block.
1863 2007-12-17 Alexander Larsson <alexl@redhat.com>
1866 Add missing #ifdef fixing OSX build.
1867 (#503334, patch from Richard Hult)
1869 2007-12-14 David Zeuthen <davidz@redhat.com>
1873 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1874 (g_mount_eject), (g_mount_eject_finish):
1876 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1877 (get_volume_for_uuid), (get_mount_for_uuid),
1878 (g_union_volume_monitor_class_init),
1879 (get_default_native_type_with_exclude), (get_default_native_type),
1880 (get_native_type), (update_native_type),
1881 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1882 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1883 (g_unix_mount_can_eject), (eject_unmount_cb),
1884 (eject_unmount_read_error), (eject_unmount_do),
1885 (g_unix_mount_unmount), (g_unix_mount_eject),
1886 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1887 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1888 (g_unix_mount_point_guess_can_eject):
1890 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1891 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1892 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1893 (g_unix_volume_mount), (g_unix_volume_eject),
1894 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1895 * gunixvolumemonitor.c: (get_volume_for_uuid),
1896 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1898 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1899 (g_volume_eject), (g_volume_eject_finish):
1901 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1902 (g_volume_monitor_get_mount_for_uuid):
1905 Provide eject() on both GMount and GVolume and utility functions
1906 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1907 ejected. Introduce the concept of UUID's and wire it into GVolume
1908 and GMount and provide API on GVolumeMonitor to find such
1909 instances. Also handle the case where an external
1910 GNativeVolumeMonitor fails to initialize. Lock around the
1911 _g_get_mount_for_mount_path() function such that volume monitor
1912 implementations won't have to do locking themselves.
1914 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1916 * gdesktopappinfo.c:
1922 * gvolume.h: Documentation updates
1924 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1927 * gfile.h: Doc updates
1929 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1932 * gdesktopappinfo.c: Use hash table iterators.
1934 2007-12-14 Alexander Larsson <alexl@redhat.com>
1937 * gfileattribute.[ch]:
1938 * gfileattribute-priv.h:
1939 Move GFileAttributeValue to a private header, as
1943 Make set_attribute take a type + a pointer instead
1944 of a GFileAttributeValue.
1947 Fix up for above changes.
1948 Add g_file_info_get_attribute_data to get
1949 all info in one call, g_file_info_get_attribute_status
1950 to get the status and g_file_info_get_attribute_as_string.
1954 * glocalfileinfo.[ch]:
1958 Make _guess_type static.
1960 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1963 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1964 made mkenums and friends use temporary files to avoid leaving
1965 empty generated files on failure (#503470).
1967 2007-12-14 Alexander Larsson <alexl@redhat.com>
1969 * gmountoperation.h:
1972 2007-12-14 Alexander Larsson <alexl@redhat.com>
1976 * gfileattribute.[ch]:
1979 * glocalfileoutputstream.c:
1980 * gmountoperation.[ch]:
1981 * goutputstream.[ch]:
1982 Clean up all flags enums to not have _FLAGS in them
1983 Make the names of some of the enums better.
1988 2007-12-14 Michael Natterer <mitch@imendio.com>
1990 * gio.symbols: fix g_io_scheduler symbol names.
1992 2007-12-14 Alexander Larsson <alexl@redhat.com>
1998 * gbufferedinputstream.h:
1999 * gbufferedoutputstream.h:
2002 * gdatainputstream.h:
2003 * gdataoutputstream.h:
2004 * gdesktopappinfo.h:
2005 * gdirectorymonitor.h:
2009 * gfileenumerator.h:
2012 * gfileinputstream.h:
2014 * gfilenamecompleter.h:
2015 * gfileoutputstream.h:
2016 * gfilterinputstream.h:
2017 * gfilteroutputstream.h:
2025 * gmemoryinputstream.h:
2026 * gmemoryoutputstream.h:
2028 * gmountoperation.h:
2031 * gsimpleasyncresult.h:
2033 * gunixinputstream.h:
2035 * gunixoutputstream.h:
2039 * inotify/Makefile.am:
2040 Only allow including <gio/gio.h> from apps
2042 2007-12-14 Alexander Larsson <alexl@redhat.com>
2044 * gioscheduler.[ch]:
2045 * gsimpleasyncresult.c:
2046 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2047 Split out the send_to_mainloop call into two versions instead
2048 of having the block argument.
2050 2007-12-13 Alexander Larsson <alexl@redhat.com>
2052 * gcancellable.[ch]:
2054 * gbufferedinputstream.c:
2055 * gfileenumerator.c:
2056 * gfileinputstream.c:
2057 * gfileoutputstream.c:
2061 g_push/pop_current_cancellable ->
2062 g_cancellable_push/pop_current
2064 2007-12-13 Alexander Larsson <alexl@redhat.com>
2068 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2070 2007-12-13 Alexander Larsson <alexl@redhat.com>
2072 * gmountoperation.h:
2073 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2075 2007-12-12 Alexander Larsson <alexl@redhat.com>
2078 Fix race condition when freeing proxy in
2079 g_io_job_send_to_mainloop().
2081 2007-12-12 Alexander Larsson <alexl@redhat.com>
2087 Make attribute namespace separator "::" instead of ":".
2088 Use - instead of _ as separator in attribute names.
2090 2007-12-12 Alexander Larsson <alexl@redhat.com>
2092 * gbufferedinputstream.h:
2093 * gbufferedoutputstream.h:
2094 * gdatainputstream.h:
2095 * gdataoutputstream.h:
2096 * gdirectorymonitor.h:
2097 * gfileenumerator.h:
2098 * gfileinputstream.h:
2100 * gfileoutputstream.h:
2101 * gfilterinputstream.h:
2102 * gfilteroutputstream.h:
2104 * glocalfileinputstream.h:
2105 * glocalfileoutputstream.h:
2106 * gmemoryinputstream.h:
2107 * gmemoryoutputstream.h:
2108 * gnativevolumemonitor.h:
2110 * gunixinputstream.h:
2111 * gunixoutputstream.h:
2114 s/parent/parent_instance/ in GObjects
2116 2007-12-12 Alexander Larsson <alexl@redhat.com>
2121 No need for padding for interfaces
2123 2007-12-12 Alexander Larsson <alexl@redhat.com>
2127 * gbufferedinputstream.c:
2128 * gbufferedoutputstream.c:
2131 * gdatainputstream.[ch]:
2132 * gdesktopappinfo.c:
2133 * gdirectorymonitor.c:
2135 * gfileattribute.[ch]:
2138 * gfileinputstream.h:
2139 * gfilemonitor.[ch]:
2140 * gfileoutputstream.[ch]:
2141 * gfilterinputstream.h:
2142 * gfilteroutputstream.h:
2145 * gloadableicon.[ch]:
2146 * gmemoryinputstream.c:
2147 * gmountoperation.c:
2149 Fix up a bunch of details in the docs.
2154 2007-12-11 David Zeuthen <davidz@redhat.com>
2156 Rework how volumes, drives and volume monitoring is
2157 done. Previosly the model was
2159 GDrive <1-1> GVolume
2161 where a GDrive instance represented a mount point and a GVolume
2162 instance represented a mounted file system. This patch changes it
2165 GDrive <1-N> GVolume <1-1> GMount
2167 where GMount now serves the purpose of the old GVolume and the new
2168 GVolume serves the purpose of the old GDrive. In addition the new
2169 GDrive interface is used to represent a collection of GVolume
2170 instances (typically partitions) and also contains utility to query
2171 the state of the physical drive the GDrive object represents (such
2172 as checking for media, polling the drive, ejecting the media etc.).
2174 Also implement mounting and unmounting in the Unix volume monitor
2175 backend. A subquent patch will introduce GDrive support for ejection
2179 * gdrive.c: (g_drive_is_media_check_automatic),
2180 (g_drive_is_media_removable), (g_drive_has_media),
2181 (g_drive_can_poll_for_media), (g_drive_eject),
2182 (g_drive_eject_finish), (g_drive_poll_for_media),
2183 (g_drive_poll_for_media_finish):
2185 * gfile.c: (g_file_find_enclosing_mount):
2188 * glocaldirectorymonitor.c:
2189 (g_local_directory_monitor_constructor), (mounts_changed):
2190 * glocalfile.c: (get_mount_info),
2191 (g_local_file_find_enclosing_mount),
2192 (g_local_file_file_iface_init):
2193 * gnativevolumemonitor.h:
2194 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2195 (get_connected_drives), (g_union_volume_monitor_class_init),
2196 (child_volume_added), (child_volume_removed),
2197 (child_volume_changed), (child_mount_added), (child_mount_removed),
2198 (child_mount_pre_unmount), (child_mount_changed),
2199 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2200 (g_union_volume_monitor_remove_monitor),
2201 (_g_mount_get_for_mount_path):
2202 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2203 (guess_system_internal), (_g_get_unix_mounts),
2204 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2205 (g_unix_mount_free), (g_unix_mount_compare),
2206 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2207 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2208 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2209 (type_to_icon), (g_unix_mount_guess_name),
2210 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2211 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2212 (_resolve_symlink), (_resolve_dev_root):
2214 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2215 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2216 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2217 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2218 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2219 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2220 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2221 (g_unix_volume_volume_iface_init):
2223 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2224 (get_mounts), (get_volumes), (get_connected_drives),
2225 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2226 (mountpoints_changed), (mounts_changed),
2227 (g_unix_volume_monitor_init),
2228 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2229 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2230 * gunixvolumemonitor.h:
2231 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2232 (g_volume_mount), (g_volume_mount_finish):
2234 * gvolumemonitor.c: (g_volume_monitor_class_init),
2235 (g_volume_monitor_get_connected_drives),
2236 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2239 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2241 * gmountoperation.h (GPasswordFlags): Close the gap
2243 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2245 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2247 * gdesktopappinfo.[hc]: Remove _-prefixes
2249 2007-12-10 Tor Lillqvist <tml@novell.com>
2251 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2254 2007-12-10 Alexander Larsson <alexl@redhat.com>
2256 * gfile.c (g_file_set_display_name):
2257 Don't hardcode '/' (#502727)
2259 2007-12-09 Hans Breuer <hans@breuer.org>
2261 * makefile.msc : follow lib naming convention
2262 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2263 for user and group name, tested with ../tests/gio-ls
2265 2007-12-09 A. Walton <awalton@svn.gnome.org>
2267 * gdesktopappinfo.c:
2273 * gfileenumerator.c:
2278 * gmemoryinputstream.c:
2279 * gmemoryoutputstream.c:
2281 * gsimpleasyncresult.c:
2282 More documentation cleanup and filling in missing information, bringing
2283 GIO to 99% symbol coverage.
2285 2007-12-08 Hans Breuer <hans@breuer.org>
2287 [gio compiles and links on win32, not sure how much already works]
2288 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2289 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2290 base on win32 API; prefer g_lstat() over lstat(); instead of
2291 localtime_r() use an all GLib implementation on win32;
2292 get_mount_info() still needs a win32 specifc implementation
2293 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2294 win32_get_file_user_info to get owner/group info without uid/gid
2295 * glocalfileinputstream.c : include <io.h> on win32
2296 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2297 definition, use g_win32_ftruncate() for G_OS_WIN32
2298 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2299 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2300 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2301 * makefile.msc : updated
2303 2007-12-07 Alexander Larsson <alexl@redhat.com>
2305 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2306 Avoid warning spew if error == NULL
2308 2007-12-07 Alexander Larsson <alexl@redhat.com>
2311 Update docs wrt etags
2313 2007-12-06 Alexander Larsson <alexl@redhat.com>
2316 Include sys/types.h for dev_t (#501919)
2318 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2322 Make abicheck and pltcheck pass.
2324 2007-12-05 Alexander Larsson <alexl@redhat.com>
2327 * giomodule-priv.h: Added.
2328 * glocaldirectorymonitor.c:
2329 * glocalfilemonitor.c:
2330 * gunionvolumemonitor.c:
2332 Actually add the declaration of _g_io_modules_ensure_loaded
2334 2007-12-05 Alexander Larsson <alexl@redhat.com>
2336 * gdatainputstream.c:
2341 * glocaldirectorymonitor.c:
2342 * glocalfilemonitor.c:
2343 * gunionvolumemonitor.c:
2345 Make g_io_modules_ensure_loaded a private function and
2346 don't pass in the dirname. This means we can do magic
2347 directory finding in the win32 version.
2348 Export the actual load-modules-in-directory code so that
2349 gvfs can reuse that.
2351 2007-12-05 Alexander Larsson <alexl@redhat.com>
2353 * gbufferedinputstream.c:
2354 * gbufferedoutputstream.c:
2357 * gfileenumerator.[ch]:
2358 * gfileinputstream.c:
2359 * gfileoutputstream.[ch]:
2360 * gfilterinputstream.c:
2361 * gfilteroutputstream.c:
2362 * ginputstream.[ch]:
2364 * glocalfileenumerator.c:
2365 * glocalfileinputstream.c:
2366 * glocalfileoutputstream.c:
2367 * gmemoryinputstream.c:
2368 * gmemoryoutputstream.c:
2369 * goutputstream.[ch]:
2372 * gunixinputstream.c:
2373 * gunixoutputstream.c:
2374 Rename all struct members named:
2375 read, write, close, truncate, or mount
2376 to foo_fn, as these are reserved names
2377 and could be defined as macros in libc.
2380 2007-12-04 Alexander Larsson <alexl@redhat.com>
2383 (g_output_stream_close):
2384 Only call flush if non-null.
2386 2007-11-30 Dan Winship <danw@gnome.org>
2388 * ginputstream.c (g_input_stream_set_pending): Make this take a
2389 GError and return a gboolean, and do the "outstanding operation"
2390 check (and the "stream is already closed" check) itself.
2391 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2393 * goutputstream.c (g_output_stream_set_pending)
2394 (g_output_stream_clear_pending): Likewise
2396 * gbufferedinputstream.c:
2397 * gfileinputstream.c:
2398 * gfileoutputstream.c: Update for that
2400 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2401 Like g_simple_async_report_error_in_idle, but takes a GError
2402 rather than building one.
2404 2007-11-30 Dan Winship <danw@gnome.org>
2406 * goutputstream.c: Don't cheat and unset the "pending" flag around
2407 inner calls. Instead, call the class method directly rather than
2408 the wrapper function that checks "pending"
2410 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2412 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2414 2007-12-03 Hans Breuer <hans@breuer.org>
2416 [start of port to win32/msvc]
2417 * gcancellable.c : HAVE_UNIST_H and _pipe()
2418 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2419 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2420 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2422 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2423 * glocalvfs.c : use HAVE_PWD_H
2424 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2425 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2426 * Makefile.am : added to EXTRA_DIST
2428 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2430 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2433 2007-12-03 Alexander Larsson <alexl@redhat.com>
2436 Handle OSX style xattrs API (#500506)
2438 2007-12-03 Alexander Larsson <alexl@redhat.com>
2442 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2444 2007-12-02 A. Walton <awalton@svn.gnome.org>
2448 Documentation accuracy fixes.
2450 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2452 * gioenumtypes.c.template: Fix typo.
2454 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2456 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2458 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2460 * gdirectorymonitor.c:
2461 * gfilemonitor.c: Add properties
2463 * gbufferedoutputstream.c: Don't mark buffer-size property
2466 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2468 * gbufferedoutputstream.c: Add auto-grow property.
2470 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2472 * *.c: Unify the capitalization of section headings.
2474 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2476 * gmountoperation.c: Add properties
2478 * gdatainputstream.c: Turn byte-order and newline-type into
2481 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2483 * gioenumtypes.[hc].template: Templates for enum registration
2485 * Makefile.am: Generate gioenumtypes.[hc]
2487 * gio.h: Include gioenumtypes.h
2489 * gfile.h: Add some explicit nicks.
2491 * gio.symbols: Add new symbols
2493 * pltcheck.sh: Adjust
2495 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2497 * *.c: Explain etags and link to the explanation
2499 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2501 * *.c: Explain I/O priority.
2503 * *.c: More coding style fixes.
2505 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2507 * gasyncresult.c: Add another paragraph to the intro,
2508 adjust coding style of example.
2510 2007-11-29 A. Walton <awalton@svn.gnome.org>
2513 Fixes unknown meaning in GAppLaunchContext docs.
2515 Clarify asynchronous ops.
2517 Fix entity tag docs.
2520 Provides missing gtk-doc section, fixes API docs slighly.
2521 * gsimpleasyncresult.c:
2522 Fill in missing info in docs.
2523 * gunixinputstream.c:
2524 * gunixoutputstream.c:
2525 Be more expressive in short description.
2527 Remove gtk-doc stubs for non-public API.
2529 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2531 * *.c: Coding style fixups
2533 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2535 * inotify/inotify-helper.c: Don't export the lock from libgio.
2537 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2540 * abicheck.sh: Fix copy-and-paste leftovers
2542 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2544 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2546 2007-11-28 Alexander Larsson <alexl@redhat.com>
2550 Removed unnecessary file
2552 * gdesktopappinfo.[ch]:
2555 * glocaldirectorymonitor.[ch]:
2557 * glocalfileenumerator.[ch]:
2558 * glocalfileinputstream.[ch]:
2559 * glocalfilemonitor.[ch]:
2560 * glocalfileoutputstream.[ch]:
2562 * gnativevolumemonitor.c:
2563 * gpollfilemonitor.[ch]:
2564 * gunionvolumemonitor.[ch]:
2567 * gunixvolumemonitor.[ch]:
2570 * inotify/ginotifydirectorymonitor.[ch]:
2571 * inotify/ginotifyfilemonitor.[ch]:
2572 * inotify/inotify-helper.c:
2573 Append _ to all internal functions
2577 Export symbols needed for modules
2579 2007-11-28 Alexander Larsson <alexl@redhat.com>
2582 * abicheck.sh: Added.
2583 * makegioalias.pl: Added.
2584 * pltcheck.sh: Added.
2585 * gio.symbols: Added.
2588 Initial work on adding symbol handling.
2591 Correct ifdef guard name
2594 * inotify/Makefile.am:
2595 * xdgmime/Makefile.am:
2596 Include toplevel Makefile.decl
2598 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2600 * gcontenttype.c: Move doc comments to the unix section.
2602 * *.[hc]: More trivial doc corrections.
2604 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2606 * gpollfilemonitor.c:
2610 * gdesktopappinfo.c:
2615 * gdatainputstream.c:
2616 * gdatainputstream.h:
2617 * gdataoutputstream.c:
2618 * gdataoutputstream.h:
2619 * gfileinfo.h: Doc cleanups
2621 2007-11-28 Andre Klapper <a9016009@gmx.de>
2623 * gdesktopappinfo.c: Fix a typo.
2625 2007-11-27 Andre Klapper <a9016009@gmx.de>
2627 * glocalfileoutputstream.c: Fix a typo.
2629 2007-11-27 Alexander Larsson <alexl@redhat.com>
2632 Don't include removed headers
2634 2007-11-27 Alexander Larsson <alexl@redhat.com>
2637 * gsocketinputstream.[ch]: Removed.
2638 * gsocketoutputstream.[ch]: Removed.
2639 * gunixinputstream.[ch]: Added.
2640 * gunixoutputstream.[ch]: Added.
2641 Renamed GSocket*Stream to GUnix*Stream and made
2642 it unix-only, since its not really only for sockets
2643 and it only works on unix (but is highly useful there).
2645 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2651 * gbufferedinputstream.c:
2652 * gbufferedinputstream.h:
2653 * gbufferedoutputstream.c:
2654 * gbufferedoutputstream.h:
2658 * gdatainputstream.c:
2659 * gdatainputstream.h:
2660 * gdataoutputstream.c:
2661 * gdataoutputstream.h:
2662 * gdirectorymonitor.c:
2663 * gdirectorymonitor.h:
2670 * gfileenumerator.c:
2671 * gfileenumerator.h:
2676 * gfileinputstream.c:
2677 * gfileinputstream.h:
2680 * gfilenamecompleter.c:
2681 * gfilenamecompleter.h:
2682 * gfileoutputstream.c:
2683 * gfileoutputstream.h:
2684 * gfilterinputstream.c:
2685 * gfilterinputstream.h:
2686 * gfilteroutputstream.c:
2687 * gfilteroutputstream.h:
2700 * glocalfileoutputstream.c:
2701 * gmemoryinputstream.c:
2702 * gmemoryinputstream.h:
2703 * gmemoryoutputstream.c:
2704 * gmemoryoutputstream.h:
2705 * gmountoperation.c:
2706 * gmountoperation.h:
2709 * gpollfilemonitor.c:
2712 * gsimpleasyncresult.c:
2713 * gsimpleasyncresult.h:
2714 * gsocketinputstream.c:
2715 * gsocketinputstream.h:
2716 * gsocketoutputstream.c:
2717 * gsocketoutputstream.h:
2724 * gunixvolumemonitor.c:
2733 Bumps documentation to 93% symbol coverage, touching most
2734 of the public files. Fixes broken function documentation prototypes.
2735 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2736 gtk-doc headers in private files.
2738 2007-11-27 Jürg Billeter <j@bitron.ch>
2740 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2741 (g_buffered_input_stream_read_byte):
2742 * gbufferedinputstream.h:
2743 New functions for efficient access to buffer and simple single byte
2746 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2747 (g_data_input_stream_read_until):
2748 * gdatainputstream.h:
2749 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2750 read_until with multiple stop chars.
2752 2007-11-27 Alexander Larsson <alexl@redhat.com>
2756 * inotify/Makefile.am:
2757 Use the user-specified giomoduledir
2759 2007-11-27 Alexander Larsson <alexl@redhat.com>
2763 Add catch-all gio.h header
2764 Don't install gdummyfile.h
2766 2007-11-26 Alexander Larsson <alexl@redhat.com>
2768 * Makefile.am (gioinclude_HEADERS):
2769 Remove trailing whitespace
2771 2007-11-26 Alexander Larsson <alexl@redhat.com>
2773 Merge gio-standalone into glib
2775 2007-11-25 Christian Kellner <gicmo@gnome.org>
2777 * gio/goutputstream.c:
2778 Fix small mistake in the docs.
2780 2007-11-21 Christian Persch <chpe@gnome.org>
2782 * gio/glocalfile.c: (g_local_file_trash):
2783 Convert filenames to UTF-8 for GError.
2784 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2785 as per xdg base dir spec.
2787 2007-11-21 Christian Persch <chpe@gnome.org>
2789 * gio/gdesktopappinfo.c:
2790 Use that g_key_file_to_data cannot fail.
2792 Use stock defines for the key file group and key names.
2795 2007-11-21 Alexander Larsson <alexl@redhat.com>
2798 (copy_stream_with_progress):
2799 Make sure we do a final progress callback with
2800 the full total size.
2802 2007-11-21 Alexander Larsson <alexl@redhat.com>
2805 Export g_file_copy_attributes
2806 Remove padding as its not needed for interfaces
2808 2007-11-20 Alexander Larsson <alexl@redhat.com>
2813 Add G_IO_ERROR_WOULD_MERGE for
2814 copy/move dir on dir with overwrite.
2816 2007-11-20 Alexander Larsson <alexl@redhat.com>
2819 * gio/glocalfileinfo.c:
2820 Add COPY_NAME (this is an optional
2821 non-modified utf8 version of the name) that
2824 2007-11-20 Alexander Larsson <alexl@redhat.com>
2826 * gio/glocalfileenumerator.c:
2827 Report errors as GIOError, not GFileError
2829 2007-11-16 Alexander Larsson <alexl@redhat.com>
2831 * gio/glocalfileoutputstream.c:
2832 * gio/gwin32appinfo.c:
2833 Fix typos in strings.
2834 Patch from Luca Ferretti <elle.uca@libero.it>
2836 2007-11-15 Alexander Larsson <alexl@redhat.com>
2839 Post release version bump
2841 === gio-standalone 0.1.2 ===
2843 2007-11-15 Alexander Larsson <alexl@redhat.com>
2845 * docs/reference/gio/Makefile.am:
2846 Fix up distcheck by removing weird
2852 2007-11-14 Alexander Larsson <alexl@redhat.com>
2854 * gio/gdesktopappinfo.c:
2855 * gio/glocaldirectorymonitor.c:
2857 * gio/glocalfileinfo.c:
2858 * gio/inotify/inotify-sub.c:
2859 * programs/gio-cat.c:
2860 * programs/gio-copy.c:
2861 * programs/gio-info.c:
2862 * programs/gio-ls.c:
2863 * programs/gio-monitor-dir.c:
2864 * programs/gio-monitor-file.c:
2865 * programs/gio-mount.c:
2866 * programs/gio-move.c:
2867 * programs/gio-rm.c:
2868 * programs/gio-save.c:
2869 * programs/gio-trash.c:
2870 Leak fixes from Kjartan Maraas
2872 2007-11-14 Alexander Larsson <alexl@redhat.com>
2874 * gio/fam/fam-helper.c:
2876 * gio/glocalfileinfo.c:
2880 * gio/inotify/inotify-diag.c:
2881 * gio/inotify/inotify-kernel.c:
2882 Various code cleanups from Kjartan Maraas
2884 2007-11-14 Alexander Larsson <alexl@redhat.com>
2886 * gio/gioscheduler.c:
2888 Set up threadpool so that we cache 2 unused
2889 idle threads for at 15 secs. This means we
2890 will reuse thread-local data (like dbus connections)
2893 2007-11-14 Alexander Larsson <alexl@redhat.com>
2895 * gio/fam/fam-helper.c:
2896 * gio/fam/gfamdirectorymonitor.c:
2897 * gio/fam/gfamfilemonitor.c:
2899 * gio/gcontenttype.c:
2900 * gio/gdatainputstream.c:
2901 * gio/gdataoutputstream.c:
2905 * gio/gfileattribute.h:
2906 * gio/gfileenumerator.c:
2908 * gio/ginputstream.c:
2911 * gio/glocalfileinfo.c:
2912 * gio/goutputstream.c:
2913 * gio/gpollfilemonitor.c:
2914 * gio/gsimpleasyncresult.c:
2915 * gio/gunixmounts.c:
2916 * gio/gunixmounts.h:
2917 * gio/inotify/ginotifydirectorymonitor.c:
2918 * gio/inotify/ginotifyfilemonitor.c:
2919 * gio/inotify/inotify-diag.c:
2920 * gio/inotify/inotify-kernel.c:
2921 * gio/inotify/inotify-path.c:
2923 * gio/test-streams.c:
2924 * programs/gio-info.c:
2925 * programs/gio-monitor-dir.c:
2926 * programs/gio-monitor-file.c:
2927 Various code cleanups from Kjartan Maraas
2929 2007-11-13 Alexander Larsson <alexl@redhat.com>
2932 Handle the uri-scheme calls for dummy files
2934 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2936 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2937 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2938 to avoid clash with the C++ keyword.
2940 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2942 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2943 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2945 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2947 * gio/glocaldirectorymonitor.c:
2948 * gio/glocalfilemonitor.c:
2949 * gio/gunionvolumemonitor.c:
2950 Don't use g_once_init_*() for initializations that could fail and
2951 could leave the initialization variable set to 0 but use GOnce.
2952 This prevents a deadlock on the second call when trying to create
2953 a monitor and no monitor type is available. Thanks to Sven Herzberg
2956 2007-11-11 Sven Herzberg <sven@imendio.com>
2958 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2959 #ifdef (make it work on MacOS X again)
2961 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2963 Fixes Changelog for last two commits (sorry guys).
2965 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2967 * gio/gbufferedinputstream.c:
2968 * gio/gdatainputstream.c:
2970 * gio/gfileoutputstream.c:
2971 * gio/gfilterinputstream.c:
2972 * gio/glocalfileinputstream.c:
2975 More consistency fixes in g*stream.c files.
2976 Significant clean of gfile's documentation, filling in of
2977 asynchronous operations documentation.
2979 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2981 * gio/gasyncresult.c:
2982 * gio/gbufferedinputstream.c:
2983 * gio/gbufferedoutputstream.c:
2984 * gio/gcancellable.c:
2985 * gio/gcontenttype.c:
2986 * gio/gdatainputstream.c:
2987 * gio/gdataoutputstream.c:
2988 * gio/gdesktopappinfo.c:
2991 * gio/gfileattribute.c:
2992 * gio/gio/gfileenumerator.c:
2994 * gio/gfileinputstream.c:
2995 * gio/gfilemonitor.c:
2996 * gio/gfileoutputstream.c:
2997 * gio/ginputstream.c:
2999 * gio/gioscheduler.c:
3000 * gio/gloadableicon.c:
3001 * gio/glocalfileoutputstream.c:
3002 * gio/gmemoryoutputstream.c:
3003 * gio/gmountoperation.c:
3004 * gio/goutputstream.c:
3006 * gio/gsimpleasyncresult.c:
3007 * gio/gunionvolumemonitor.c:
3008 * gio/gunixmounts.c:
3009 * gio/gunixvolume.c:
3013 * gio/gvolumemonitor.c:
3014 Updated documentation stubs, working towards consistency and
3017 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3019 * gio/gmemoryoutputstream.c:
3020 * gio/gmemoryoutputstream.h:
3021 Change g_memory_output_stream_set_free_on_close() to
3022 g_memory_output_stream_set_free_data() as this makes more sense and
3023 is more consistent with GMemoryInputStream.
3025 2007-11-07 Alexander Larsson <alexl@redhat.com>
3032 Change how we find the default vfs so that
3033 we can handle a gvfs failing to init
3035 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3037 * gio/gbufferedoutputstream.c:
3038 * gio/gdatainputstream.c:
3039 * gio/gdataoutputstream.c:
3040 * gio/gfileinputstream.c:
3041 * gio/gfileoutputstream.c:
3042 * gio/gfilterinputstream.c:
3043 * gio/gfilteroutputstream.c:
3044 * gio/ginputstream.c:
3045 * gio/gmemoryinputstream.c:
3046 * gio/gmemoryoutputstream.c:
3047 * gio/goutputstream.c:
3048 * gio/gsimpleasyncresult.c:
3049 * gio/gsocketinputstream.c:
3050 * gio/gsocketoutputstream.c:
3051 Add guards to the remaining public functions, add a TODO for
3052 an unimplemented function and remove some useless guards.
3054 2007-11-07 Alexander Larsson <alexl@redhat.com>
3057 Autoconf checks for the various types of
3058 getpwuid_r and getgrgid_r
3060 * gio/glocalfileinfo.c:
3061 Use the autoconf checks from above
3063 2007-11-07 Alexander Larsson <alexl@redhat.com>
3066 (g_local_file_query_filesystem_info):
3067 Some fixes for the statvfs case
3069 2007-11-07 Alexander Larsson <alexl@redhat.com>
3072 (g_local_file_query_filesystem_info):
3073 Pick the "best" of statfs / statvfs for the system
3074 if both are availible.
3076 2007-11-07 Alexander Larsson <alexl@redhat.com>
3078 Solaris fixes from Halton.Huo@Sun.COM:
3085 * gio/glocalfileinfo.c:
3086 Fix for solaris definition of getpwuid_r
3088 * gio/test-streams.c:
3089 Use G_GNUC_PRETTY_FUNCTION
3091 2007-11-07 Alexander Larsson <alexl@redhat.com>
3093 * gio/gdesktopappinfo.c:
3094 (update_default_list):
3095 Remove double semicolon.
3096 Patch from Jens Granseuer
3098 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3100 * docs/reference/gio/gio-sections.txt:
3101 * gio/gbufferedinputstream.c:
3102 * gio/gbufferedinputstream.h:
3103 * gio/gdatainputstream.c:
3104 * gio/gfileenumerator.c:
3105 * gio/gioscheduler.c:
3106 * gio/gunionvolumemonitor.c:
3108 * programs/gio-save.c:
3109 Fix typo: availible -> available. Unfortuntely this breaks API
3110 and ABI as g_buffered_input_stream_get_available() was renamed.
3112 * gio/gunixmounts.c:
3113 * gio/gbufferedinputstream.c:
3114 Add guards for public functions.
3116 2007-11-06 Ross Burton <ross@openedhand.com>
3118 * docs/reference/gio/Makefile.am:
3119 Fix invalid += usage which automake 1.10 doesn't like.
3121 2007-11-06 Alexander Larsson <alexl@redhat.com>
3124 (g_app_launch_context_class_init):
3127 Patch from Ross Burton
3129 2007-11-06 Alexander Larsson <alexl@redhat.com>
3132 Post release version bump
3134 === gio-standalone 0.1.1 ===
3136 2007-11-06 Alexander Larsson <alexl@redhat.com>
3139 Bump version to 0.1.1
3141 * gio/gsimpleasyncresult.c:
3142 (g_simple_async_result_set_from_error):
3143 Remove bogus g_return_if_fail
3145 2007-11-06 Alexander Larsson <alexl@redhat.com>
3148 The name is gio-standalone
3151 Add top src/builddir to includedir
3153 2007-11-06 Alexander Larsson <alexl@redhat.com>
3155 * docs/reference/gio/gio-sections.txt:
3157 * gio/gbufferedinputstream.c:
3158 * gio/gbufferedoutputstream.c:
3159 * gio/gcancellable.c:
3160 * gio/gdatainputstream.h:
3161 * gio/gdataoutputstream.c:
3162 * gio/gdataoutputstream.h:
3163 * gio/gdirectorymonitor.c:
3165 * gio/gfileattribute.c:
3166 * gio/gfileattribute.h:
3167 * gio/gfileenumerator.c:
3168 * gio/gfileenumerator.h:
3171 * gio/gfileinputstream.h:
3172 * gio/gfilemonitor.c:
3173 * gio/gfileoutputstream.h:
3174 * gio/glocalfilemonitor.h:
3175 * gio/glocalfileoutputstream.h:
3176 * gio/gmemoryinputstream.c:
3177 * gio/gmemoryoutputstream.c:
3178 * gio/gmountoperation.c:
3179 * gio/goutputstream.c:
3180 * gio/goutputstream.h:
3182 * gio/gsimpleasyncresult.c:
3183 * gio/gunixmounts.c:
3184 * gio/gunixmounts.h:
3186 * gio/inotify/inotify-helper.c:
3187 Fix gtk-doc warnings
3189 Patch from Ross Burton
3191 2007-11-06 Alexander Larsson <alexl@redhat.com>
3193 * gio/gfilenamecompleter.c:
3194 (g_filename_completer_get_completions):
3197 * gio/gunixvolume.c:
3198 Remove unused function
3200 Patches from Ross Burton
3202 2007-11-06 Alexander Larsson <alexl@redhat.com>
3207 Padding not needed for interfaces
3209 2007-11-06 Alexander Larsson <alexl@redhat.com>
3211 * gio/gfilemonitor.c:
3215 Make giotypes.h an internal file
3218 * gio/gbufferedinputstream.h:
3219 * gio/gbufferedoutputstream.h:
3220 * gio/gcancellable.h:
3221 * gio/gdatainputstream.h:
3222 * gio/gdataoutputstream.h:
3223 * gio/gdirectorymonitor.c:
3224 * gio/gdirectorymonitor.h:
3229 * gio/gfileattribute.h:
3230 * gio/gfileenumerator.h:
3235 * gio/gfilemonitor.c:
3236 * gio/gfilemonitor.h:
3237 * gio/gfilenamecompleter.c:
3238 * gio/gfilenamecompleter.h:
3239 * gio/gfilterinputstream.h:
3240 * gio/gfilteroutputstream.h:
3241 * gio/ginputstream.h:
3242 * gio/gmemoryinputstream.h:
3243 * gio/gmemoryoutputstream.h:
3244 * gio/gmountoperation.c:
3245 * gio/gmountoperation.h:
3246 * gio/gnativevolumemonitor.c:
3247 * gio/goutputstream.h:
3250 * gio/gsimpleasyncresult.c:
3251 * gio/gsimpleasyncresult.h:
3252 * gio/gsocketinputstream.h:
3253 * gio/gsocketoutputstream.h:
3254 * gio/gthemedicon.c:
3255 * gio/gthemedicon.h:
3259 * gio/gvolumemonitor.c:
3260 * gio/gvolumemonitor.h:
3261 Add padding in classes where it seems useful
3262 Don't include giotypes.h from public headers
3263 Move in Class definitions into c file where possible
3268 2007-11-06 Alexander Larsson <alexl@redhat.com>
3270 * docs/reference/gio/gio-docs.xml:
3271 Better structure for API docs
3273 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3276 * gio/gloadableicon.c:
3277 * gio/gsimpleasyncresult.c:
3278 * gio/gthemedicon.c:
3279 Add some more guards to public functions. Only files missing are now
3282 2007-11-06 Alexander Larsson <alexl@redhat.com>
3284 * docs/reference/gio/gio-docs.xml:
3285 Remove old files, add missing ones
3287 2007-11-06 Alexander Larsson <alexl@redhat.com>
3289 * docs/reference/gio/gio-sections.txt:
3292 Hide implementation classes
3294 * gio/gdriveprivate.h:
3295 * gio/gvolumeprivate.h:
3296 Remove non-existing function declarations
3298 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3301 Fix compilation warnings and add guards to the new functions.
3303 * gio/gasyncresult.c:
3305 Add guards to the public functions.
3308 Implement get_path().
3310 2007-11-06 Alexander Larsson <alexl@redhat.com>
3312 * gio/gfilenamecompleter.c:
3313 Make g_filename_completer_get_completions
3314 return char ** instead of GList for
3317 * docs/reference/gio/gio-docs.xml:
3318 * docs/reference/gio/gio-sections.txt:
3320 * gio/gasyncresult.c:
3321 * gio/gbufferedinputstream.c:
3322 * gio/gbufferedoutputstream.c:
3323 * gio/gcancellable.c:
3324 * gio/gcontenttype.c:
3325 * gio/gdatainputstream.c:
3326 * gio/gdataoutputstream.c:
3327 * gio/gdesktopappinfo.c:
3328 * gio/gdirectorymonitor.c:
3332 * gio/gfileattribute.c:
3333 * gio/gfileenumerator.c:
3336 * gio/gfileinputstream.c:
3337 * gio/gfilemonitor.c:
3338 * gio/gfilenamecompleter.c:
3339 * gio/gfilenamecompleter.h:
3340 * gio/gfileoutputstream.c:
3341 * gio/gfilterinputstream.c:
3343 * gio/ginputstream.c:
3345 * gio/gioscheduler.c:
3346 * gio/gloadableicon.c:
3347 * gio/glocaldirectorymonitor.c:
3349 * gio/glocalfileinputstream.c:
3350 * gio/glocalfilemonitor.c:
3351 * gio/glocalfileoutputstream.c:
3353 * gio/gmemoryinputstream.c:
3354 * gio/gmemoryoutputstream.c:
3355 * gio/gmountoperation.c:
3356 * gio/goutputstream.c:
3357 * gio/gpollfilemonitor.c:
3359 * gio/gsimpleasyncresult.c:
3360 * gio/gsocketinputstream.c:
3361 * gio/gsocketoutputstream.c:
3362 * gio/gthemedicon.c:
3363 * gio/gunionvolumemonitor.c:
3365 * gio/gunixmounts.c:
3366 * gio/gunixvolume.c:
3367 * gio/gunixvolumemonitor.c:
3371 * gio/gvolumemonitor.c:
3372 * gio/gwin32appinfo.c:
3373 Add (mostly stub) doc strings to public functions.
3374 Patch from Andrew Walton (awalton@gmail.com)
3376 2007-11-06 Alexander Larsson <alexl@redhat.com>
3378 * gio/gappinfo.[ch]:
3379 Added GAppLaunchContext object and pass that to launch.
3380 This allows simple implementation of both
3381 launch-on-screen and startup notification via a gtk+
3382 subclass of GAppLaunchContext
3384 * gio/gdesktopappinfo.c:
3385 Implement GAppLaunchContext API
3387 * gio/gwin32appinfo.c:
3390 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3392 * gio/gmountoperation.c:
3393 Add some guards to GMountOperation's public functions.
3395 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3399 * gio/gcancellable.c:
3400 * gio/gdirectorymonitor.c:
3402 * gio/gfileenumerator.c:
3403 * gio/gfilemonitor.c:,
3404 * gio/gfilenamecompleter.c:
3407 * gio/gioscheduler.c:
3411 * gio/gvolumemonitor.c:
3412 Add even more guards to various public functions.
3414 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3417 Add guards to the public functions of GAppInfo.
3419 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3421 * gio/gcontenttype.c:
3422 Add some more guards for public functions.
3424 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3426 * gio/fam/fam-module.c:
3427 * gio/fam/gfamdirectorymonitor.c:
3428 * gio/fam/gfamdirectorymonitor.h:
3429 * gio/fam/gfamfilemonitor.c:
3430 * gio/fam/gfamfilemonitor.h:
3431 * gio/inotify/ginotifydirectorymonitor.c:
3432 * gio/inotify/ginotifydirectorymonitor.h:
3433 * gio/inotify/ginotifyfilemonitor.c:
3434 * gio/inotify/ginotifyfilemonitor.h:
3435 Add proper copyright information and remove an unused variable
3436 in the GInotifyFileMonitor constructor.
3438 * gio/gcancellable.c:
3439 Add a guard for a public function and an assertion to prevent
3440 an undefined program state.
3442 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3444 * gio/gfileattribute.c:
3445 Don't run into an assertion if the given attribute value is NULL
3446 in g_file_attribute_value_get_*() but instead return a fallback
3447 value that makes sense in most situations. Passing them a attribute
3448 value with the wrong type will still run into an assertion.
3450 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3452 * gio/gfileattribute.c:
3454 Add even more guards to the public functions. Also fix the refcounting
3455 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3456 let g_file_info_list_attributes() filter the attributes by namespace
3457 instead of simply ignoring the namespace parameter.
3459 2007-11-03 Sven Herzberg <sven@imendio.com>
3461 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3462 (This makes gio work on MacOS X again)
3464 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3467 Build the gio subdirectory before the docs. Otherwise the build will
3470 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3471 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3472 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3473 Add guards to the public functions.
3475 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3477 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3478 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3479 to prevent a compiler warning.
3481 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3482 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3483 return something in the non-void function find_topdir_for().
3485 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3492 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3494 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3495 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3496 * gwin32appinfo.c (g_win32_app_info_launch):
3497 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3498 envp_for_startup_id, g_desktop_app_info_launch,
3499 g_desktop_app_info_launch_uris):
3501 Give an opaque 'startup_id' string instead of 'envp'.
3502 Support empty file lists for launching new windows.
3503 Fix infinite recursion bug when launching URIs.
3505 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3508 Add guard to the new g_file_get_uri_scheme() function.
3510 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3513 Convert a g_return_val_if_fail() to setting the GError instead as
3514 otherwise applications have to verify the parameter before otherwise
3515 and the parameter might come directly from the user.
3517 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3519 * gio/inotify/ginotify*.[ch]:
3520 Add missing copyright information.
3522 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3525 Add guards in the beginning of public functions to check for valid
3526 parameters and fix a bug in copy_stream_with_progress() that could've
3527 caused writing less bytes than reading.
3528 * gio/glocalfileinfo.c:
3529 Check for a NULL parameter and set the GError accordingly then.
3530 * gio/goutputstream.c:
3531 Fix the same bug as in gfile.c that could've caused writing less bytes
3532 than reading in g_output_stream_real_splice().
3534 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3537 Use the correct gvolumeprivate.h naming
3539 2007-11-01 Christian Kellner <gicmo@gnome.org>
3542 Remove leftover "$(daemon_sources)" entry.
3544 2007-11-01 Christian Kellner <gicmo@gnome.org>
3549 Add copyright information to source files.
3551 2007-11-01 Alexander Larsson <alexl@redhat.com>
3555 Add g_file_get_uri_scheme
3557 2007-11-01 Alexander Larsson <alexl@redhat.com>
3560 * gio/gdesktopappinfo.c:
3561 * gio/gwin32appinfo.c:
3562 Add g_app_info_get_default_for_uri_scheme.
3564 2007-11-01 Alexander Larsson <alexl@redhat.com>
3567 Correct filename for gdriveprivate.h
3569 2007-10-31 Alexander Larsson <alexl@redhat.com>
3572 Rename id:value to id:file
3575 * gio/glocalfileinfo.c:
3578 2007-10-31 Alexander Larsson <alexl@redhat.com>
3580 * gio/gunixvolume.c:
3582 Remove g_volume_get_platform_id, as thats not
3583 needed with the simpler union volume monitor
3585 2007-10-31 Alexander Larsson <alexl@redhat.com>
3588 * gio/guniondrive.[ch]: Removed.
3589 * gio/gunionvolume.[ch]: Removed.
3590 Remove GUnionDrive/Volume
3592 * gio/gunionvolumemonitor.c:
3593 Simplify union volume monitor, now we
3594 only have one native volume monitor and
3595 we use the actual volumes/drives from the
3596 child monitors instead of wrapping them
3598 * gio/gnativevolumemonitor.[ch]:
3599 Base class for native volume monitors.
3600 Includes priority and get_volume_for_mountpoint
3603 Add g_file_find_enclosing_volume
3606 Remove volume name fs attribute
3607 Add readonly fs attribute
3610 Implement readonly attribute
3611 remove volume name attribute
3612 Implement find_enclosing volume
3614 * gio/gunixmounts.c:
3615 Add a volume for "/".
3617 * gio/gunixvolume.[ch]:
3618 Set better name for /
3620 * gio/gunixvolumemonitor.[ch]:
3621 Derive from GNativeVolumeMonitor
3622 Implement get_volume_for_mountpoint
3625 GVolume typedef moved to gfile.h
3627 * gio/gvolumeprivate.h:
3628 Add g_volume_get_for_mount_path
3630 2007-10-31 Alexander Larsson <alexl@redhat.com>
3632 * gio/gunixmounts.[ch]:
3633 Add cache info to unix mount listers
3634 Make getmntent use threadsafe
3635 Add is_system_internal attribute for GUnixMount
3637 * gio/gunixvolume.c:
3638 (g_unix_volume_new):
3639 Use is_system_internal instead of own code
3641 * gio/glocaldirectorymonitor.c:
3642 * gio/gunixvolumemonitor.c:
3643 Update to new gunixmounts API
3648 2007-10-30 Alexander Larsson <alexl@redhat.com>
3651 Add volume name fsinfo attribute
3654 Read volume name info
3656 * gio/gunionvolumemonitor.c:
3657 Fix infinite loops when finalizing a union volume monitor
3659 2007-10-30 Alexander Larsson <alexl@redhat.com>
3661 * gio/goutputstream.[ch]:
3662 Add splice() with default implementation
3664 * gio/gsocketoutputstream.c:
3665 (g_socket_output_stream_write):
3666 Return error on cancellation correctly.
3668 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3670 * gio/glocalfile.c (g_local_file_trash):
3671 Do not leak a string.
3673 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3675 * gio/gfile.c (g_file_load_contents):
3676 Unref the stream after closing it.
3678 2007-10-25 Alexander Larsson <alexl@redhat.com>
3680 * gio/gioscheduler.h:
3683 2007-10-25 Alexander Larsson <alexl@redhat.com>
3687 Add g_file_has_uri_scheme and implement for local files
3689 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3691 * gio/gdesktopappinfo.c: do not leak a string.
3693 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3695 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3696 (g_local_directory_monitor_new):
3697 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3698 (g_local_file_monitor_new):
3699 Only look for the monitor type that should be used the first time
3700 and use g_qsort_with_data() instead of our own bubble sort
3703 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3706 * gio/fam/Makefile.am:
3707 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3708 * gio/fam/fam-helper.h:
3709 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3710 * gio/fam/gfamdirectorymonitor.c:
3711 * gio/fam/gfamdirectorymonitor.h:
3712 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3713 * gio/fam/gfamfilemonitor.h:
3714 * gio/glocaldirectorymonitor.c:
3715 * gio/glocaldirectorymonitor.h:
3716 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3717 * gio/glocalfilemonitor.h:
3718 * gio/inotify/Makefile.am:
3719 * gio/inotify/ginotifydirectorymonitor.c:
3720 * gio/inotify/ginotifydirectorymonitor.h:
3721 * gio/inotify/ginotifyfilemonitor.c:
3722 * gio/inotify/ginotifyfilemonitor.h:
3723 Implement the FAM and Inotify monitors as
3724 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3725 their own GIO module. GLocal(Directory|File)Monitor will use the
3726 monitor with the highest rank that is supported on that machine.
3728 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3731 Change GIO module dir to $(libdir)/gio/modules and change
3732 the log domain from GVFS to GIO. Also only export symbols starting
3733 with g_ in the resulting library.
3734 * gio/test-streams.c: (main):
3735 Set log handler for the GIO log domain.
3737 2007-10-22 Alexander Larsson <alexl@redhat.com>
3739 * gio/gfilenamecompleter.[ch]:
3740 Add g_filename_completer_set_dirs_only
3742 2007-10-22 Alexander Larsson <alexl@redhat.com>
3745 * gio/gurifuncs.[ch]:
3746 Add some simple URI helpers
3748 * gio/gfilenamecompleter.[ch]:
3749 Added object for filename (parse name actually) completion
3752 Handle ~ in parse names
3754 2007-10-17 Alexander Larsson <alexl@redhat.com>
3757 * gio/glocalfileinfo.c:
3758 Add and implement id:value attribute
3760 2007-10-17 Alexander Larsson <alexl@redhat.com>
3763 * gio/guniondrive.c:
3765 Add and implement g_drive_has_volumes
3767 2007-10-17 Alexander Larsson <alexl@redhat.com>
3770 * gio/glocalfileinfo.[ch]:
3771 Add unix:is_mountpoint and implement for local files
3773 2007-10-16 Alexander Larsson <alexl@redhat.com>
3775 * gio/gunionvolumemonitor.c:
3776 (g_union_volume_monitor_init):
3777 Fix up the unix type getting so that it works with gcc
3779 2007-10-12 Alexander Larsson <alexl@redhat.com>
3782 * gio/glocalfileinfo.c:
3783 Add thumbnail:failed to file info
3785 2007-10-12 Richard Hult <richard@imendio.com>
3787 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3788 optimizing away the get_type call (happens with some gcc versions,
3789 like the one shipped with OS X 10.4).
3791 2007-10-12 Alexander Larsson <alexl@redhat.com>
3793 * gio/glocalfileinfo.c:
3794 (_g_local_file_info_set_attribute):
3795 Fix build if not HAVE_XATTR
3796 Patch from Milosz Derezynski <internalerror@gmail.com>
3798 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3800 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3801 around for review, otherwise I would have asked you before
3804 2007-10-11 Alexander Larsson <alexl@redhat.com>
3807 Add thumbnail:path attribute
3809 * gio/glocalfileinfo.c:
3810 Implement thumbnail:path for local files
3812 2007-10-11 Alexander Larsson <alexl@redhat.com>
3814 * gio/glocalfileinfo.c:
3815 (_g_local_file_info_get):
3816 Avoid duplicate icon names
3818 2007-10-11 Alexander Larsson <alexl@redhat.com>
3820 * gio/gthemedicon.[ch]:
3821 Change g_themed_icon_get_names return type to const
3823 2007-10-10 Alexander Larsson <alexl@redhat.com>
3825 * gio/glocalfileinfo.c:
3826 Don't reference freed memory
3828 2007-10-10 Alexander Larsson <alexl@redhat.com>
3830 * gio/gfileattribute.c:
3833 * gio/glocalfileinfo.c:
3836 2007-10-10 Alexander Larsson <alexl@redhat.com>
3839 Check for NULL icons
3841 * gio/gfileattribute.c:
3842 Don't dup when getting objects (same as for string attributes)
3844 * gio/gicon.c (g_icon_equal):
3845 Safely handle NULLs in equal
3847 2007-10-10 Alexander Larsson <alexl@redhat.com>
3850 Fix c++ compilation issues
3851 Patch from Milosz Derezynski <internalerror@gmail.com>
3853 2007-10-10 Alexander Larsson <alexl@redhat.com>
3855 * programs/gio-monitor-dir.c:
3856 Don't crash if dir monitor not supported.
3858 2007-10-09 Alexander Larsson <alexl@redhat.com>
3861 Add missing G_END_DECLS
3863 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3865 * gio/gfile.c: (g_file_set_display_name),
3866 (g_file_query_settable_attributes),
3867 (g_file_query_writable_namespaces):
3868 Return NULL not FALSE on errors as the return type is a pointer.
3870 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3872 * gio/glocalfile.c: (g_local_file_monitor_file):
3873 Don't call monitor_file on the default interface vtable (which
3874 is NULL) but simply return NULL. The caller, GFile, will create a
3875 polling monitor if NULL is returned.
3877 2007-10-09 Alexander Larsson <alexl@redhat.com>
3881 * gio-unix-2.0.pc.in:
3882 Add gio-unix-2.0.pc if OS_UNIX
3885 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3887 2007-10-09 Alexander Larsson <alexl@redhat.com>
3889 * gio/gunixmounts.[ch]:
3890 Make unix mount monitoring API sane.
3891 Now its just a object with mounts_changed
3892 and mountpoints_changed signals.
3894 * gio/glocaldirectorymonitor.c:
3895 * gio/gunixvolumemonitor.c:
3896 Use new mount monitor api
3898 2007-10-09 Alexander Larsson <alexl@redhat.com>
3900 * gio/gunixmounts.[ch]:
3901 Move guess type into one call for mounts and one for mountpoints
3904 * gio/gunixvolume.c:
3907 2007-10-09 Alexander Larsson <alexl@redhat.com>
3909 * gio/gunixmounts.[ch]:
3910 Remove _ prefix in preparation to make this semi-public
3911 Hide implementation of structs
3913 * gio/glocaldirectorymonitor.c:
3915 * gio/gunixvolume.c:
3916 * gio/gunixvolumemonitor.c:
3917 Update for above API changes
3919 2007-10-08 Alexander Larsson <alexl@redhat.com>
3922 Better polling fallback. This also handles the case where we have
3923 a monitor_file implementation, but it fails.
3925 2007-10-08 Alexander Larsson <alexl@redhat.com>
3929 * gio/gunixmounts.c:
3930 * programs/gio-monitor-dir.c:
3931 * programs/gio-monitor-file.c:
3932 Added cancellable to file monitoring calls.
3933 These are really sync calls and need this.
3935 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3937 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3938 (g_local_vfs_class_init):
3939 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3940 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3942 2007-10-05 Alexander Larsson <alexl@redhat.com>
3944 * gio/gdirectorymonitorprivate.h:
3945 * gio/gfilemonitorprivate.h:
3946 * gio/gdirectorymonitor.h:
3947 * gio/gfilemonitor.h:
3948 Remove *private.h and move to the public API, so that
3949 we can do implementations outside gio (such as in gvfs)
3951 * gio/gdirectorymonitor.c:
3952 * gio/gfilemonitor.c:
3953 * gio/glocaldirectorymonitor.c:
3954 * gio/gpollfilemonitor.c:
3955 * gio/inotify/inotify-helper.c:
3956 * gio/fam/fam-helper.c:
3957 Update to the new header names
3959 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3961 * gio/gdirectorymonitor.c:
3962 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3965 2007-10-04 Alexander Larsson <alexl@redhat.com>
3967 * gio/glocalfileinfo.c (get_access_rights):
3968 Set CAN_TRASH when we can move the file.
3969 We should really also check for a parent trash dir.
3971 2007-10-04 Alexander Larsson <alexl@redhat.com>
3973 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3974 Add can_trash access attribute
3976 2007-10-04 Alexander Larsson <alexl@redhat.com>
3979 (g_local_file_trash):
3980 Create info file first. This is per-spec and allows
3981 us to actually trash directories.
3983 2007-10-02 Alexander Larsson <alexl@redhat.com>
3985 * gio/gdesktopappinfo.c:
3986 Implement the new mime support code.
3987 Always set app as handling mimetype when being set as default for it
3989 2007-10-01 Alexander Larsson <alexl@redhat.com>
3991 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3992 Fix up check for xattrs:
3994 2007-10-01 Alexander Larsson <alexl@redhat.com>
3997 (g_app_info_set_as_default_for_extension):
3998 (g_app_info_add_supports_type):
3999 (g_app_info_can_remove_supports_type):
4000 (g_app_info_remove_supports_type):
4001 Make these fail nicely if not implemented
4003 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4005 * gio/glocalfileoutputstream.c:
4006 * gio/glocalfileoutputstream.h:
4011 * programs/gio-save.c:
4012 Add a GFileCreateFlags argument to operations that can create
4015 2007-10-01 Alexander Larsson <alexl@redhat.com>
4017 * gio/gappinfo.[ch]:
4018 * gio/gdesktopappinfo.c:
4019 Add more (stubbed out) mime API needed for nautilus
4021 2007-10-01 Alexander Larsson <alexl@redhat.com>
4024 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4025 Add g_app_info_set_as_default_for_extension.
4027 * gio/gdesktopappinfo.c:
4028 Dummy for g_app_info_set_as_default_for_extension
4029 Support flags in g_app_info_create_from_commandline
4031 * gio/gwin32appinfo.c:
4033 Update for API changes
4035 * gio/gthemedicon.c:
4036 Properly NULL-terminate list of icon names
4038 2007-09-28 Alexander Larsson <alexl@redhat.com>
4040 * gio/gloadableicon.h:
4041 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4043 2007-09-28 Alexander Larsson <alexl@redhat.com>
4046 Install headers in $includedir/gio-standalone/
4048 * gio-2.0.pc.in: Added.
4049 * gio-standalone.pc.in: Removed.
4052 Renamed pkg-config file to match glib (for future move)
4053 Update to the new include dir
4056 Add more TODO comments
4058 2007-09-28 Alexander Larsson <alexl@redhat.com>
4060 * gio/gdesktopappinfo.[ch]:
4061 Expose new_from_filename
4062 Add getter for is_hidden and handle it better
4064 2007-09-28 Alexander Larsson <alexl@redhat.com>
4066 * gio/gfileinfo.[ch]:
4067 Rename g_file_size_format_for_display to
4068 g_format_file_size_for_display.
4069 Now it doesn't have the g_file prefix, so we
4070 can later move it to glib.
4072 2007-09-28 Alexander Larsson <alexl@redhat.com>
4074 * gio/gappinfo.[ch]:
4075 Add g_app_info_get_id and g_app_info_get_executable.
4076 Make all getters non-reffing
4077 Make g_app_info_launch take GFile arguments.
4078 Add must_support_uris argument to g_app_info_get_default_for_type.
4080 * gio/gwin32appinfo.c:
4081 Update to GAppInfo api changes
4083 * gio/gdesktopappinfo.c:
4084 Update to GAppInfo api changes
4085 Implement supports_xdg_startup_notify
4087 * gio/gfileicon.c (g_file_icon_get_file):
4088 Make getter non-reffing.
4093 2007-09-27 Alexander Larsson <alexl@redhat.com>
4095 * gio/gfileinfo.[ch]:
4096 Add g_file_size_format_for_display helper
4098 2007-09-27 Alexander Larsson <alexl@redhat.com>
4100 * gio/glocalfileinfo.c:
4101 Set UNIX_GID from gid, not from uid
4103 2007-09-27 Alexander Larsson <alexl@redhat.com>
4106 Add g_file_set_attributes_async
4108 2007-09-27 Alexander Larsson <alexl@redhat.com>
4110 * gio/glocalfile.c (g_local_file_set_display_name):
4111 Fix set_display_name to actually rename to the right place.
4112 Use lstat to look for existing files so we don't overwrite
4115 2007-09-26 Alexander Larsson <alexl@redhat.com>
4118 Add g_file_set_display_name_async()
4120 2007-09-26 Alexander Larsson <alexl@redhat.com>
4123 Add load_partial_contents async calls
4126 Make internal function static
4128 2007-09-26 Alexander Larsson <alexl@redhat.com>
4130 * gio/glocalfileinfo.c:
4131 Correctly detect broken symlinks
4133 2007-09-26 Alexander Larsson <alexl@redhat.com>
4135 * gio/gcancellable.c (g_cancellable_cancel):
4136 Allow cancel on NULL cancellable
4138 2007-09-25 Alexander Larsson <alexl@redhat.com>
4140 * gio/gsimpleasyncresult.c:
4141 Don't allocate g_error manually.
4142 Fixes g_slice/g_new mixup crash
4144 2007-09-25 Alexander Larsson <alexl@redhat.com>
4146 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4147 Actually set active_backend.
4148 This means the monitor will be cancelled correctly.
4150 2007-09-25 Alexander Larsson <alexl@redhat.com>
4152 * gio/gdirectorymonitor.c:
4153 Set timeout to NULL when destroying
4155 2007-09-25 Alexander Larsson <alexl@redhat.com>
4158 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4159 that is a better description of the error.
4161 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4163 * gio/gvfs.c: (g_vfs_get_local):
4164 Make the local vfs variable static. The same instance should
4167 2007-09-24 Alexander Larsson <alexl@redhat.com>
4169 * gio/glocalfileinfo.c:
4170 Pass in actual length read into sniffer, not the length
4173 2007-09-21 Alexander Larsson <alexl@redhat.com>
4175 * gio/gfileenumerator.c:
4178 * gio/gfileinputstream.c:
4179 * gio/gfileoutputstream.c:
4180 * gio/ginputstream.c:
4181 * gio/goutputstream.c:
4182 Don't crash if async callbacks are NULL
4184 2007-09-20 Alexander Larsson <alexl@redhat.com>
4187 Add async enumerate_children method and default
4190 2007-09-20 Alexander Larsson <alexl@redhat.com>
4193 Add g_file_contains_file & g_file_get_relative_path, since they
4194 were needed for nautilus.
4195 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4200 Implement new methods
4202 2007-09-17 Alexander Larsson <alexl@redhat.com>
4205 * gio/gfileinputstream.[ch]:
4206 * gio/gfileoutputstream.[ch]:
4208 * gio/glocalfileenumerator.[ch]:
4209 * gio/glocalfileinfo.[ch]:
4210 * gio/glocalfileinputstream.c:
4211 * gio/glocalfileoutputstream.c:
4212 * gio/gpollfilemonitor.c:
4213 * programs/gio-copy.c:
4214 * programs/gio-info.c:
4215 * programs/gio-move.c:
4216 Rename get_file_info to query_info() to make it clearer
4217 that these are not simple getters, but do i/o.
4219 2007-09-17 Alexander Larsson <alexl@redhat.com>
4221 * gio/gdatainputstream.[ch]:
4222 * gio/test-streams.c:
4223 Use _read_XXX instead of _get_XXX for the i/o calls
4226 2007-09-17 Alexander Larsson <alexl@redhat.com>
4229 Added needed stuff to TODO comment
4231 2007-09-17 Alexander Larsson <alexl@redhat.com>
4233 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4234 Don't error out removing the backup copy if it doesn't
4237 2007-09-14 Alexander Larsson <alexl@redhat.com>
4239 * programs/Makefile.am:
4240 * programs/gvfs-*.c:
4242 Renamed apps from gvfs-xxx to gio-xxx.
4244 2007-09-14 Alexander Larsson <alexl@redhat.com>
4247 * gio/gfileoutputstream.[ch]:
4248 * gio/glocalfileoutputstream.c:
4249 * programs/gvfs-save.c:
4250 g_file_output_stream_get_etag doesn't do i/o, so remove
4251 cancellation and error.
4253 2007-09-14 Alexander Larsson <alexl@redhat.com>
4256 Add new_etag output to replace_contents functions
4258 2007-09-14 Alexander Larsson <alexl@redhat.com>
4260 * gio/gfileoutputstream.[ch]:
4261 Add async get_file_info and default implementation
4263 2007-09-14 Alexander Larsson <alexl@redhat.com>
4265 * gio/gfileinputstream.c:
4266 Implement fallback wrapper for async get_file_info
4268 2007-09-14 Alexander Larsson <alexl@redhat.com>
4271 Add etag out argument to load_contents
4276 2007-09-14 Alexander Larsson <alexl@redhat.com>
4278 * gio/gcontenttype.c (looks_like_text):
4279 Whitespace like tab, cr and lf do not make the
4282 2007-09-14 Alexander Larsson <alexl@redhat.com>
4284 * gio/gfileinputstream.[ch]:
4285 Add async get_file_info.
4287 2007-09-13 Alexander Larsson <alexl@redhat.com>
4289 * gio/goutputstream.c (g_output_stream_write_all):
4290 Allow NULL for bytes_written
4292 2007-09-13 Alexander Larsson <alexl@redhat.com>
4294 * gio/gmemoryinputstream.[ch]:
4295 Add accessors for data
4297 2007-09-13 Alexander Larsson <alexl@redhat.com>
4299 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4300 Don't crash if length is NULL