1 2008-06-29 Matthias Clasen <mclasen@redhat.com>
4 * tests/memory-output-stream.c: Add some tests for
7 2008-06-29 Matthias Clasen <mclasen@redhat.com>
9 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
12 * gmemoryoutputstream.c (array_resize): Handle truncation to
13 zero correctly. Reported by Akira Tagoh
15 2008-06-29 Matthias Clasen <mclasen@redhat.com>
17 * gmemoryoutputstream.c: Trivial doc fixes
19 2008-06-29 Matthias Clasen <mclasen@redhat.com>
21 Bug 540802 – g_list_prepend doesn't concat lists
23 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
24 one list to another. Pointed out by Jan Arne Petersen
26 2008-06-28 Michael Natterer <mitch@imendio.com>
28 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
30 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
32 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
33 to avoid problems with partial icon themes.
35 2008-06-17 Hans Breuer <hans@breuer.org>
37 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
38 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
39 access again on win32, see bug #538127
40 * giomodule.c : ensure GWin32VolumeMonitor is registered
41 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
42 * Makefile.am makefile.msc : updated
44 2008-06-16 Hans Breuer <hans@breuer.org>
46 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
47 and initialization in one step avoids c99ism
49 2008-06-16 Christian Persch <chpe@gnome.org>
52 * gio/gbufferedinputstream.c
54 * gio/gdatainputstream.c
55 * gio/gdesktopappinfo.c
57 * gio/gfileenumerator.c
58 * gio/gfileinputstream.c
59 * gio/gfileoutputstream.c
61 * gio/glocaldirectorymonitor.c
63 * gio/glocalfileenumerator.c
64 * gio/glocalfileinfo.c
65 * gio/glocalfilemonitor.c
66 * gio/glocalfileoutputstream.c
67 * gio/gmemoryinputstream.c
68 * gio/gmemoryoutputstream.c
70 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
73 2008-06-16 Tor Lillqvist <tml@novell.com>
75 Bug 538362 - Get Win32 icons back in the file chooser
77 * gcontenttype.c (g_content_type_get_icon): Look up the icon
78 corresponding to a file extension in the Registry. Patch by Hans
80 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
82 2008-06-16 Tor Lillqvist <tml@novell.com>
84 Patches by Hans Breuer:
86 * glocalfile.c (is_xp_or_later): Handle compiling against older
87 SDK headers with missing VerifyVersionInfo(). Conditioned on
88 _MSC_VER, but should probably use some better test.
89 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
90 uninitialised statfs_result variable on Win32.
92 2008-06-16 Michael Natterer <mitch@imendio.com>
94 * *.c: chain up unconditionally in finalize() and dispose(). Also
95 don't dereference these function pointers when calling them since
96 that has no meaning at all.
98 2008-06-16 Ross Burton <ross@burtonini.com>
101 Remove check for dispose implementation as it annoys Emmanuele.
103 2008-06-16 Ross Burton <ross@burtonini.com>
105 Bug 536252 – GFileEnumerator should allow access to the containing
111 Add g_file_enumerator_get_container() and a container writeable
112 construct-only property. Also shuffle around typedefs to make it
115 * glocalfileenumerator.c:
116 * glocalfileenumerator.h:
118 Instead of a string filename take a GFile in the constructor and
119 use it to set the container property.
124 2008-06-16 Matthias Clasen <mclasen@redhat.com>
126 * gfile.c: Make includes more uniform
128 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
130 * tests/live-g-file.c (sample_struct):
131 Use less fancy unicode filenames, so the test doesn't fail
132 on Mac OS X (#531476).
134 2008-06-12 Matthias Clasen <mclasen@redhat.com>
136 * === Released 2.17.2 ===
138 2008-06-12 Matthias Clasen <mclasen@redhat.com>
140 * === Released 2.17.1 ===
142 2008-06-11 A. Walton <awalton@gnome.org>
144 * tests/g-file.c (test_g_file_new_null):
145 Fix broken test case.
147 2008-06-11 Matthias Clasen <mclasen@redhat.com>
149 * pltcheck.sh: We use g_clear_error now.
151 2008-06-11 Matthias Clasen <mclasen@redhat.com>
153 * glocalfile.c (g_local_file_enumerate_children): Revert
154 an unintended change.
156 2008-06-11 Matthias Clasen <mclasen@redhat.com>
158 * gfile.c (g_file_replace_contents): Don't unref before the last use.
160 2008-06-10 Matthias Clasen <mclasen@redhat.com>
162 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
165 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
166 as icon for the desktop directory, also make user-home and
167 user-desktop the preferred icons.
169 2008-06-10 Matthias Clasen <mclasen@redhat.com>
172 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
173 to add a name to the front of the list.
175 2008-06-10 Matthias Clasen <mclasen@redhat.com>
177 Bug 537392 – Additional colon in xattr name
179 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
180 too. Reported by Alessandro Morandi
182 2008-06-10 Matthias Clasen <mclasen@redhat.com>
184 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
187 * glocalfile.c (get_fs_type): Add afs and autofs.
188 Patch by Danny Baumann.
190 2008-06-10 Matthias Clasen <mclasen@redhat.com>
192 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
194 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
195 is no parent. (Owen Taylor, patch by Christian Neumair)
197 2008-06-10 Paolo Borelli <pborelli@katamail.com>
199 * gfile.c (g_file_replace_contents): do not leak the output stream.
201 2008-06-10 Michael Natterer <mitch@imendio.com>
203 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
204 uninitialized memory as array index.
206 2008-06-10 Tor Lillqvist <tml@novell.com>
208 * gcontenttype.c (g_content_type_can_be_executable)
209 (g_content_type_get_icon) [Win32]: Add TODO comments.
211 2008-06-09 Matthias Clasen <mclasen@redhat.com>
213 * xdgmime/Makefile.am: Fix the build
215 2008-06-09 Matthias Clasen <mclasen@redhat.com>
217 * gcontenttype.c (g_content_type_get_icon): Use icons specified
218 in the shared mime database, if available.
220 * xdgmime/*: Sync with upstream. This brings support for
221 glob weights, generic icons, and changes the cache format to
224 2008-05-28 Michael Natterer <mitch@imendio.com>
226 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
227 the global CPPFLAGS now.
229 * tests/data-input-stream.c
230 * tests/data-output-stream.c
231 * tests/g-file-info.c
233 * tests/live-g-file.c
234 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
236 2008-05-27 Matthias Clasen <mclasen@redhat.com>
238 * === Released 2.17.0 ===
240 * tests/live-g-file.c: Clean up after the tests, so make distcheck
241 doesn't complain about leftover files.
243 2008-05-27 simon.zheng <simon.zheng@sun.com>
245 * glocalfile.c: (g_local_file_query_filesystem_info):
246 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
248 2008-05-26 Michael Natterer <mitch@imendio.com>
250 * gmemoryoutputstream.h: declare
251 g_memory_output_stream_get_data_size().
253 2008-05-26 Matthias Clasen <mclasen@redhat.com>
255 * tests/*: Make tests work
257 2008-05-26 Matthias Clasen <mclasen@redhat.com>
259 * gio.symbols: Add g_memory_output_stream_get_data_size.
261 2008-05-25 Ross Burton <ross@burtonini.com>
264 Fix typo in error message (#534764).
266 2008-05-25 Ross Burton <ross@burtonini.com>
269 Fix circular dependency loop for gioenumtypes.h (#534759).
271 2008-05-19 Hans Breuer <hans@breuer.org>
273 * Makefile.am : EXTRA_DIST += makefile.msc
275 2008-05-17 Matthias Clasen <mclasen@redhat.com>
278 * gcontenttype.c: (g_content_type_from_mime_type):
279 New function to create a content type from a mime type. (#527175,
282 2008-05-17 Matthias Clasen <mclasen@redhat.com>
284 Bug 532965 – Should not return filesystem::free for certain file systems
286 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
287 free space for ncpfs.
289 2008-05-17 Matthias Clasen <mclasen@redhat.com>
291 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
293 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
294 st_dev might be zero.
296 2008-05-16 Tor Lillqvist <tml@novell.com>
298 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
299 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
301 2008-05-13 Bastien Nocera <hadess@hadess.net>
303 * gfile.c (has_valid_scheme): A URI scheme must start with a
304 letter, even if later more characters are allowed (#532852)
306 2008-05-05 Michael Natterer <mitch@imendio.com>
308 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
309 code from being checked in that breaks the build of applications
310 which use G_DISABLE_SINGLE_INCLUDES.
312 * makegioalias.pl: make the alias file include "glib.h" instead of
315 * gio.symbols: whitespace change to force regeneration of the
316 alias file after above script change.
318 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
320 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
322 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
324 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
326 2008-04-28 David Zeuthen <davidz@redhat.com>
328 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
329 displaying mounts in a subdirectory not accessible to the
332 2008-04-22 Michael Natterer <mitch@imendio.com>
334 * Makefile.am: fix library versioning (it was 0.0.0).
336 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
338 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
339 Default disable all loggings.
340 * fen/fen-kernel.c: (printevent), (port_add_kevent),
341 (port_fetch_event_cb): Fixed two macro nits.
343 2008-04-16 Matthias Clasen <mclasen@redhat.com>
345 * xdgmime/xdgmime.c: Rework the timestamp checking code
346 to protect against duplicate directories in XDG_DATA_DIRS.
347 Fixes fd.o bug 12513, reported by Joe Shaw.
349 2008-04-16 Matthias Clasen <mclasen@redhat.com>
351 Partically revert the last commit after realizing that
352 xdg_mime_media_type_equal doesn't have to init at all.
355 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
357 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
359 2008-04-16 Matthias Clasen <mclasen@redhat.com>
361 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
362 reported by Joe Shaw and Federico Mena Quintero.
364 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
365 (xdg_mime_media_type_equal): Turn into a wrapper around the
368 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
369 functions throughout.
371 2008-04-16 Michael Meeks <michael.meeks@novell.com>
373 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
374 tolerate an empty TryExec= line without failing; nautilus used
375 to create launchers with these in previous versions. Fixes #528433
377 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
379 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
380 after name. Fixes #527132.
382 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
384 * gfile.c: (g_file_replace):
387 2008-04-07 Matthias Clasen <mclasen@redhat.com>
389 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
391 * gfile.c (file_copy_fallback): Fix the argument order. Patch
392 by Christian Kellner.
394 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
396 * gunixmounts.c: (g_unix_mount_guess_should_display):
397 Don't list the user directory as a mount, fix potential issue
398 when other users have a similar naming and don't special case the
399 gvfs mounts there since that's not required (#525866)
401 2008-03-31 Alexander Larsson <alexl@redhat.com>
403 * glocalfile.c (get_parent):
406 2008-03-31 A. Walton <awalton@svn.gnome.org>
408 * gfile.c (g_file_query_file_type):
409 Always return a GFileType enum value (#520715).
411 2008-03-31 Alexander Larsson <alexl@redhat.com>
413 * glocalfileenumerator.c:
414 Read readdir() info in chunks (of 1000) and sort
415 the chunks by inode before stat:ing.
416 This is a 20% performance increase in testing
417 gvfs-ls on /usr/bin with cold cache.
419 2008-03-31 Alexander Larsson <alexl@redhat.com>
421 * gmemoryoutputstream.c:
422 Clarify docs for g_memory_output_stream_get_size.
423 Add g_memory_output_stream_get_data_size.
425 2008-03-30 Matthias Clasen <mclasen@redhat.com>
429 * gfile.h: Add g_file_query_file_type convenience function
430 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
432 2008-03-30 Matthias Clasen <mclasen@redhat.com>
435 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
437 2008-03-28 A. Walton <awalton@svn.gnome.org>
439 * giomodule.c (_g_io_modules_ensure_loaded):
440 Adds GIO_EXTRA_MODULES environment variable support, closing bug
443 2008-03-28 Alexander Larsson <alexl@redhat.com>
446 (copy_stream_with_progress):
449 2008-03-28 Alexander Larsson <alexl@redhat.com>
452 (copy_stream_with_progress):
453 (file_copy_fallback):
454 Fallback to g_file_query_info for source size
455 if g_file_input_stream_query_info fails. (#524579)
457 2008-03-28 Alexander Larsson <alexl@redhat.com>
459 * glocalfile.c (g_local_file_move):
460 Reuse old string instead of adding new one.
462 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
464 * fen/*.[hc]: still copyright issue. I hate copyright.
466 2008-03-27 Alexander Larsson <alexl@redhat.com>
468 * glocalfile.c (g_local_file_move):
469 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
470 file over directory. This is according to the docs and what the move via
471 copy+remove fallback does.
473 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
475 * fen/*.[hc]: Updated copyright.
477 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
479 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
481 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
483 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
484 not emit attribute changed events when optimizing changed events.
485 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
488 2008-03-19 Matthias Clasen <mclasen@redhat.com>
490 * gmountoperation.[hc]: Small documentation additions
492 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
494 * gunixmounts.c: (guess_mount_type):
495 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
497 2008-03-19 Alexander Larsson <alexl@redhat.com>
500 (copy_stream_with_progress):
501 Bump block side for copy to 64k to minimize
502 overhead for low latency links. (#523015)
504 2008-03-16 Tor Lillqvist <tml@novell.com>
506 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
507 depend on gio.def on Windows.
509 2008-03-12 David Zeuthen <davidz@redhat.com>
513 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
515 2008-03-14 Alexander Larsson <alexl@redhat.com>
519 Avoid redudant tests (#521851)
520 Patch from Josselin Mouette
522 2008-03-14 Alexander Larsson <alexl@redhat.com>
525 (g_file_monitor_is_cancelled):
526 Fix C89 issue (#521672)
527 Patch from Jens Granseuer
529 2008-03-14 Alexander Larsson <alexl@redhat.com>
531 * fam/fam-helper.[ch]:
533 Shut down fam (including removing fam GSource) when
534 module is unloaded (#521513)
535 Patch from Joe Marcus Clarke
537 2008-03-14 Alexander Larsson <alexl@redhat.com>
540 (_g_io_modules_ensure_loaded):
543 2008-03-14 Alexander Larsson <alexl@redhat.com>
546 (g_local_file_query_filesystem_info):
547 Use right define name for f_fstypename member check
549 2008-03-14 Alexander Larsson <alexl@redhat.com>
552 * fen/Makefile.am: Added.
553 * fen/fen-data.[ch]: Added.
554 * fen/fen-dump.[ch]: Added.
555 * fen/fen-helper.[ch]: Added.
556 * fen/fen-kernel.[ch]: Added.
557 * fen/fen-missing.[ch]: Added.
558 * fen/fen-node.[ch]: Added.
559 * fen/fen-sub.[ch]: Added.
560 * fen/gfendirectorymonitor.[ch]: Added.
561 * fen/gfenfilemonitor.[ch]: Added.
563 Added Solaris FEN file notification backend.
564 Patch from Lin Ma <Lin.Ma@Sun.COM>
566 2008-03-13 Tor Lillqvist <tml@novell.com>
568 * Makefile.am: Actually use the gio.def file when linking the
569 library on Windows. Produce .lib library for Microsoft's toolchain
570 when possible. Install the .lib and .def file like for the other
573 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
575 * tests/live-g-file.c:
576 Include live-g-file in standard set of tests, making a temporary
577 directory in source structure.
579 Clean target directory before the tests (write mode only)
581 2008-03-12 Tor Lillqvist <tml@novell.com>
583 Bug 517419 - gio win32 directory monitor
584 Implementation by Vlad Grecescu.
587 * win32/gwin32directorymonitor.h
588 * win32/gwin32directorymonitor.c: New files.
590 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
592 * Makefile.am: Add the win32 subdirectory.
594 2008-03-12 Tor Lillqvist <tml@novell.com>
596 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
597 normal struct stat on Unix but struct _stati64 on Windows to have
598 access to 64-bit file size information. Use that instead of struct
599 stat in the functions declared here in this private header.
601 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
602 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
603 warnings about unused functions and variables. Don't set
604 meaningless attributes like inode numbers on Windows.
606 2008-03-12 Benjamin Otte <otte@gnome.org>
609 trim whitespace so gtk-doc groks the function name
611 2008-03-12 Tor Lillqvist <tml@novell.com>
613 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
614 returning FALSE, on Win32.
616 2008-03-11 Alexander Larsson <alexl@redhat.com>
619 * glocalfileinfo.[ch]:
620 Correctly implement can_trash by actually
621 looking for a trash dir, not just assuming
624 2008-03-10 Matthias Clasen <mclasen@redhat.com>
626 * === Released 2.16.1 ===
628 2008-03-11 Alexander Larsson <alexl@redhat.com>
631 Fix crashes in new constructor and properties code
633 2008-03-10 Murray Cumming <murrayc@murrayc.com>
635 * gfile.c: Minor spelling correction in documentation:
636 existance -> existence.
638 2008-03-10 Matthias Clasen <mclasen@redhat.com>
640 * === Released 2.16.0 ===
642 2008-03-10 Matthias Clasen <mclasen@redhat.com>
644 * gio.symbols: Remove g_file_contains_file here, too.
646 2008-03-10 Matthias Clasen <mclasen@redhat.com>
648 * gthemedicon.c: Add properties to make bindings happy. (#517676,
649 Samuel Cormier-Iijima)
651 2008-03-08 Tor Lillqvist <tml@novell.com>
653 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
656 2008-03-07 Alexander Larsson <alexl@redhat.com>
659 (g_local_file_query_filesystem_info):
660 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
661 Patch from Jasper Lievisse Adriaanse
663 2008-03-06 Tor Lillqvist <tml@novell.com>
665 * gfileinfo.h: Correct milliseconds to microseconds in the doc
666 comments for the *_USEC attributes.
668 2008-03-06 Alexander Larsson <alexl@redhat.com>
670 * gfile.c (g_file_query_exists):
671 Add g_return_val_if_fail check (#520700)
673 2008-03-06 Alexander Larsson <alexl@redhat.com>
678 * gunionvolumemonitor.c:
681 * tests/live-g-file.c:
682 * xdgmime/xdgmimecache.c:
683 Fix sparse warnings (#519489)
685 2008-03-05 Alexander Larsson <alexl@redhat.com>
688 Make cancellation threadsafe (i.e.
689 guarantee its only done once, and always
692 * glocaldirectorymonitor.c:
693 Make sure we the monitor lives while the
694 mounts_changed callback is being called (#520484)
696 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
698 * gbufferedinputstream.c: Fix typo in parameter
701 2008-03-04 Alexander Larsson <alexl@redhat.com>
704 Remove deprecated symbols we kept for one release.
706 2008-03-04 Murray Cumming <murrayc@murrayc.com>
709 * goutputstream.c: Tiny documentation corrections.
711 2008-03-03 Alexander Larsson <alexl@redhat.com>
713 * gunionvolumemonitor.c:
715 Fix the adopt_orphan_mount vfunc to take a
716 volume_monitor reference in an ABI compat way.
717 This change is not API compat, but the added
718 arg is not used in the only user of this vfunc, so
719 all we get is a harmless warning in gvfs (#520169)
721 2008-03-01 Benjamin Otte <otte@gnome.org>
724 clarify docs for g_file_delete().
726 2008-02-29 Alexander Larsson <alexl@redhat.com>
730 Make sure empty files get text/plain type (#518720)
732 2008-02-27 Alexander Larsson <alexl@redhat.com>
738 (g_unix_volume_mount):
739 Add missing GMountMountFlags argument
741 2008-02-26 Alexander Larsson <alexl@redhat.com>
744 (g_local_file_delete):
745 Handle filesystems (like ntfs-3g) that return EEXIST instead
746 of ENOTEMPTY (#518816)
748 2008-02-25 Matthias Clasen <mclasen@redhat.com>
750 * === Released 2.15.6 ===
752 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
754 * gfile.c (g_file_find_enclosing_mount):
755 * ginputstream.c (g_input_stream_set_pending):
756 * glocalfile.c (g_local_file_find_enclosing_mount):
757 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
758 * goutputstream.c (g_output_stream_set_pending):
760 Fixup translator comments (#518578).
762 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
764 * gfile.c (g_file_find_enclosing_mount):
766 * glocalfile.c (g_local_file_find_enclosing_mount):
769 Fix a few typos in translator comments and documentation.
771 2008-02-25 Alexander Larsson <alexl@redhat.com>
778 Add translator comments (#518578)
780 2008-02-25 Alexander Larsson <alexl@redhat.com>
783 Reintroduce g_file_contains_file, keep around for one
784 unstable release cycle to avoid crashing to many apps.
785 Make sure to delete after release.
787 2008-02-25 Alexander Larsson <alexl@redhat.com>
790 Remove deprecated g_file_contains_file.
792 2008-02-25 Alexander Larsson <alexl@redhat.com>
795 Emit actual change signals in an idle handler.
796 This avoids reentrance and locking problems in
797 the file notification backends.
799 2008-02-25 Alexander Larsson <alexl@redhat.com>
802 (g_unix_mount_guess_should_display):
803 Remove type guessing, instead just display
804 mounts in /media and in ~/.
806 2008-02-25 Alexander Larsson <alexl@redhat.com>
809 Make new strings reuse old ones.
811 2008-02-25 Alexander Larsson <alexl@redhat.com>
814 Implement trashing and filesystem::readonly for win32 (#517235)
815 Patch from Yevgen Muntyan
817 2008-02-23 Matthias Clasen <mclasen@redhat.com>
819 * gfileinfo.h: Documentation fixes.
821 2008-02-22 Alexander Larsson <alexl@redhat.com>
823 * gcontenttype.c (g_content_type_get_icon):
824 Look at old-style gnome mime icon names too, as many
825 have not moved to the new style.
827 2008-02-21 Matthias Clasen <mclasen@redhat.com>
829 * *.c: Correct the @include in for section docs.
831 2008-02-21 David Zeuthen <davidz@redhat.com>
833 * glocalfileinfo.c: (_g_local_file_info_get):
835 (g_content_type_get_icon): Implement this function by
836 moving bits from glocalfileinfo.c
837 (g_content_type_get_description): Unalias before getting
838 description (#517687)
840 * gfile.c: (g_file_class_init),
841 (g_file_query_filesystem_info_async),
842 (g_file_query_filesystem_info_finish),
843 (query_filesystem_info_data_free),
844 (query_filesystem_info_async_thread),
845 (g_file_real_query_filesystem_info_async),
846 (g_file_real_query_filesystem_info_finish):
847 * gfile.h: Implement async version of
848 g_file_query_filesystem_info()
850 * gfileinfo.h: Add new attributes for filesystem::use-preview
852 * gio.symbols: Update
854 * gthemedicon.c: (g_themed_icon_append_name):
855 * gthemedicon.h: Add new new convenience function.
857 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
858 (get_mounts), (get_volumes), (get_connected_drives),
859 (get_volume_for_uuid), (get_mount_for_uuid),
860 (g_union_volume_monitor_init), (populate_union_monitor),
861 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
862 (g_volume_monitor_adopt_orphan_mount):
864 * gvolumemonitor.h: Use recursive locks so it's safe for volume
865 monitor implementations to call into the main volume monitor. Also
866 separate object initialization and volume monitor initialization
867 such that non-native volume monitors can properly adopt their
870 2008-02-21 Alexander Larsson <alexl@redhat.com>
875 2008-02-21 Alexander Larsson <alexl@redhat.com>
878 Add more documentation about how GFiles work (from #517086)
880 2008-02-21 Alexander Larsson <alexl@redhat.com>
884 Add new g_file_has_prefix that does the same as g_file_contains_file.
885 Deprecate g_file_contains_file and add a macro that converts
886 it to g_file_has_prefix.
887 The reason for this change is that the contains_file() name seems to
888 imply that this does more work than what it does, but its really only
889 a name match (from #517086)
894 Update to match the above change.
896 2008-02-20 Benjamin Otte <otte@gnome.org>
898 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
899 (g_file_eject_mountable):
900 even more cases of not returning in error path
902 2008-02-20 Benjamin Otte <otte@gnome.org>
904 * gfile.c: (g_file_mount_mountable):
905 return from function in error path.
907 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
910 Remove trailing coma in GMountMountFlags struct
912 2008-02-18 Alexander Larsson <alexl@redhat.com>
916 * glocalfileoutputstream.c:
917 Use g_unlink/g_rename instead of unlink/rename;
918 do not pass raw filenames to g_set_error. (#517239)
919 Patch from Yevgen Muntyan.
921 2008-02-18 Alexander Larsson <alexl@redhat.com>
924 * glocalfileoutputstream.c:
925 Open files with O_BINARY on windows. (#517140)
927 2008-02-14 Alexander Larsson <alexl@redhat.com>
929 * glocalfileoutputstream.c:
930 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
932 2008-02-14 Alexander Larsson <alexl@redhat.com>
935 Copy permissions with file on copy (#514084)
936 This is what cp does and makes sure e.g. the
937 exec permissions are kept.
938 Its kinda weird in that it keeps the permission bits
939 the same while the uid and gid are different. However
940 the new uid is the user so its not a security issue,
941 and I've heard no complaints about cp on this issue.
943 2008-02-13 Ryan Lortie <desrt@desrt.ca>
945 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
947 2008-02-13 Alexander Larsson <alexl@redhat.com>
949 * inotify/inotify-path.c:
950 Define IN_ONLYDIR if not in header (#515346)
952 2008-02-12 Alexander Larsson <alexl@redhat.com>
954 * tests/live-g-file.c:
957 2008-02-11 Matthias Clasen <mclasen@redhat.com>
959 * === Released 2.15.5 ===
961 2008-02-11 Matthias Clasen <mclasen@redhat.com>
963 * gio.symbols: Add g_mount_mount_flags_get_type.
965 2008-02-11 Alexander Larsson <alexl@redhat.com>
968 (g_file_info_set_attribute_mask):
969 (g_file_attribute_matcher_matches_id):
970 Correctly handle NULL GAttributeMatcher meaning
971 matches nothing. (Fixes #513492)
973 2008-02-11 Alexander Larsson <alexl@redhat.com>
978 Added GMountMountFlags enum and added a flags
979 argument to all mount calls.
981 This is an API/ABI change for future extensibility,
982 as I think we will need at least an
983 inhibit-autorun flag (the panel needs this).
984 There are no flags defined yet though.
986 2008-02-11 Alexander Larsson <alexl@redhat.com>
989 Added new standard::description attribute.
990 Requested by Vincent, and useful for both
993 2008-02-11 Alexander Larsson <alexl@redhat.com>
998 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1000 * *.c: Documentation additions
1002 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1004 * gappinfo.h: Formatting cleanup
1005 * gappinfo.c: Fix up docs.
1007 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1009 * gunixmounts.c: Consistently use getmntent_r() and fall
1010 back to getmntent(). (#515492)
1012 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1014 * gbufferedinputstream.c:
1016 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1018 * tests/data-input-stream.c:
1019 * tests/data-output-stream.c: Portability fixes.
1021 2008-02-08 Alexander Larsson <alexl@redhat.com>
1026 Add g_volume_should_automount.
1029 2008-02-07 Tor Lillqvist <tml@novell.com>
1031 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1032 Win32, too Unix-specific.
1034 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1036 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1037 a local plt if the compiler doesn't support what we want. Bug #514702
1039 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1041 reviewed by: <delete if not using a buddy>
1044 * gunixinputstream.c:
1045 * gunixoutputstream.c:
1047 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1049 * tests/Makefile.am:
1050 * tests/live-g-file.c:
1051 * tests/live-g-file.txt:
1052 New GIO testing module working over real data
1054 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1056 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1057 Fallback to rename() if link() is not available
1058 (when no support on target filesystem)
1060 2008-02-06 Michael Natterer <mitch@imendio.com>
1062 * gfileinfo.c (g_file_info_get_icon): replace
1063 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1065 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1067 * gfile.c (g_file_create):
1068 Documentation update of error codes
1070 2008-02-06 Alexander Larsson <alexl@redhat.com>
1072 * gdesktopappinfo.c:
1073 Update to use both mimeapps.list and
1074 defaults.list as discussed on xdg list.
1076 2008-02-06 Benjamin Otte <otte@gnome.org>
1079 * gfilenamecompleter.c:
1080 Fix some typos in the documentation.
1082 2008-02-06 Alexander Larsson <alexl@redhat.com>
1084 * glocalfile.c (g_local_file_trash):
1085 Don't succeed with trash if newly created
1086 trash dir has the wrong owner. (#514696)
1088 2008-02-05 Alexander Larsson <alexl@redhat.com>
1090 * glocalfile.c (g_local_file_move):
1091 Don't spew warnings when destination is not
1094 2008-02-03 Hans Breuer <hans@breuer.org>
1096 * makefile.msc : update
1098 2008-02-01 Michael Natterer <mitch@imendio.com>
1100 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1101 return value of xdg_mime_list_mime_parents() to a variable of the
1104 2008-02-01 Alexander Larsson <alexl@redhat.com>
1106 * gappinfo.c (g_app_info_launch_uris):
1107 Actually call the launch_uris method, not
1110 2008-02-01 Alexander Larsson <alexl@redhat.com>
1112 * gdesktopappinfo.c (g_desktop_app_info_equal):
1113 Ensure appinfos with no id but same pointer value
1116 2008-02-01 Alexander Larsson <alexl@redhat.com>
1118 * gappinfo.c (g_app_info_launch_default_for_uri):
1121 2008-02-01 Alexander Larsson <alexl@redhat.com>
1125 Add g_app_info_launch_default_for_uri utility
1128 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1130 * gdesktopappinfo.c:
1131 Doc fix for g_app_info_get_default_for_uri_scheme ()
1134 2008-01-30 Alexander Larsson <alexl@redhat.com>
1137 Add doc comment about uris vs GFiles to
1140 * gdesktopappinfo.c:
1141 Ensure uris passed to g_app_info_launch_uris()
1142 are not roundtriped through GFile (as that
1143 may be slightly destructive for e.g. mailto: links)
1145 2008-01-30 Alexander Larsson <alexl@redhat.com>
1147 * tests/data-input-stream.c:
1148 * tests/data-output-stream.c:
1149 C89 fixes from Jens Granseuer (#512849)
1151 2008-01-30 Alexander Larsson <alexl@redhat.com>
1154 Fix gamin/fam difference build issue. (#509419)
1156 2008-01-29 Alexander Larsson <alexl@redhat.com>
1159 * gdesktopappinfo.c:
1160 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1162 2008-01-29 Alexander Larsson <alexl@redhat.com>
1164 * gdesktopappinfo.c:
1165 * gdesktopappinfo.h:
1166 giomodule-priv.h include moved to .c file.
1168 2008-01-29 Alexander Larsson <alexl@redhat.com>
1170 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1171 Remove unused prio/name fields.
1173 2008-01-29 Alexander Larsson <alexl@redhat.com>
1175 * gcontenttype.c (looks_like_text):
1176 Don't treat whitespace as control chars.
1178 2008-01-29 Alexander Larsson <alexl@redhat.com>
1180 * gdesktopappinfo.c:
1181 Lazily create the desktop files for appinfos created
1182 by g_app_info_create_from_commandline() when needed
1183 for mime associations. This allows run-time use
1184 of GAppInfo object without creating unnecessary
1187 2008-01-29 Alexander Larsson <alexl@redhat.com>
1190 Added new symbols to gio.symbols
1192 2008-01-29 Alexander Larsson <alexl@redhat.com>
1195 Add g_file_query_default_handler utility to easily look up
1196 the GAppInfo that handles a file.
1198 * gdesktopappinfo.[ch]:
1200 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1203 Remove unused function
1205 2008-01-29 Alexander Larsson <alexl@redhat.com>
1207 * gfileenumerator.c:
1208 Mention need to free returned value in
1209 g_file_enumerator_next_files_finish docs.
1210 Fix leak if g_file_enumerator_next_files_finish()
1213 2008-01-29 Alexander Larsson <alexl@redhat.com>
1216 (_g_unix_content_type_get_parents):
1217 Use list_parents, not get_parents from xdgmime, because
1218 the later doesn't use the cache.
1220 * xdgmime/xdgmimecache.c:
1221 (_xdg_mime_cache_list_mime_parents):
1222 Don't list the same type as parent multiple times.
1224 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1226 * === Released 2.15.4 ===
1228 2008-01-28 Alexander Larsson <alexl@redhat.com>
1231 Register local vfs with prio 0.
1234 Remove old name and prio class members
1236 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1238 * tests/g-file.c: Disable some tests that are failing in
1239 the absence of a http backend.
1241 2008-01-28 Alexander Larsson <alexl@redhat.com>
1245 Add registration hooks for extension points.
1246 Register the gio extension points.
1248 * fam/gfamdirectorymonitor.c:
1249 * fam/gfamfilemonitor.c:
1250 * glocaldirectorymonitor.[ch]:
1251 * glocalfilemonitor.[ch]:
1252 * gnativevolumemonitor.h:
1253 * gunionvolumemonitor.c:
1254 * gunixvolumemonitor.c:
1257 * inotify/ginotifydirectorymonitor.c:
1258 * inotify/ginotifyfilemonitor.c:
1259 Use the extension points registration instead
1260 of g_type_children().
1262 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1265 * gvolume.[hc]: Document new API.
1267 * gfile.c (g_file_copy_async): Fix docs
1269 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1271 * gbufferedinputstream.c:
1273 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1276 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1278 * glocalfile.c: Avoid trivial differences in translatable strings.
1280 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1282 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1283 build with gcc 3.4 (#509419)
1285 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1287 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1288 (#509994, Murray Cumming)
1290 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1292 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1293 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1294 this allows big jobs to be executed in chunks, instead of blocking
1295 the main loop for a long time.
1297 * gsimpleasyncresult.c:
1298 * giofile.c: Adapt callers.
1300 2008-01-25 Alexander Larsson <alexl@redhat.com>
1302 * gdesktopappinfo.c:
1303 Implement changes discussed on xdg list.
1304 Now we can add supported mimetypes by just using defaults.list
1305 We can also remove associations in defaults.list.
1307 2008-01-25 Alexander Larsson <alexl@redhat.com>
1309 * gdesktopappinfo.c:
1310 Don't make local copy of desktop file
1311 for mimetype changes if the file already
1312 supports the new mimetype.
1314 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1318 * gbufferedinputstream.c:
1319 * glocalfile.c: String improvements. (#511966,
1320 Theppitak Karoonboonyanan)
1322 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1324 * gioscheduler.h: Expand docs a bit.
1326 2008-01-24 Alexander Larsson <alexl@redhat.com>
1329 Add g_drive_get_identifier and
1330 g_drive_enumerate_identifiers
1333 Add g_volume_get_identifier and
1334 g_volume_enumerate_identifiers
1340 Implement identifiers for unix backend
1342 2008-01-24 Alexander Larsson <alexl@redhat.com>
1347 Add g_file_copy_async() (#511580)
1348 Based on patch from Carlos Garcia Campos
1350 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1352 * gioscheduler.c: Some documentation additions.
1354 2008-01-22 Alexander Larsson <alexl@redhat.com>
1356 * gdesktopappinfo.c:
1357 (g_desktop_app_info_new):
1358 Don't leak basename.
1360 2008-01-22 Alexander Larsson <alexl@redhat.com>
1362 * gdesktopappinfo.c:
1363 (g_desktop_app_info_new_from_filename):
1366 2008-01-22 Alexander Larsson <alexl@redhat.com>
1368 * glocalfileinfo.c (get_thumbnail_attributes):
1371 2008-01-22 Alexander Larsson <alexl@redhat.com>
1374 (canonicalize_filename):
1375 Canonicalize paths that start with more than
1379 (compare_two_files):
1380 (test_g_file_new_for_path):
1383 2008-01-22 Alexander Larsson <alexl@redhat.com>
1386 Allow UTF-8 in file:// parse names.
1388 * tests/Makefile.am:
1389 * tests/data-input-stream.c:
1390 * tests/data-output-stream.c:
1391 * tests/g-file-info.c:
1393 Added a bunch of tests from Tomas Bzatek
1395 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1397 * === Released 2.15.3 ===
1399 2008-01-21 Alexander Larsson <alexl@redhat.com>
1401 * gfileinputstream.[ch]:
1402 * gfileoutputstream.[ch]:
1404 Remove duplicated GSeekable functions. (#509990)
1405 Just use the g_seekable_xxx() calls instead.
1407 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1410 * gvolumemanager.c: Whitespace cleanups.
1412 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1413 Use the right mode when creating the file.
1415 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1417 * gfileenumerator.c:
1418 * gfileinputstream.c:
1420 * goutputstream.c: Documentation: Fixed minor typos
1421 and added more mentions of specific _finish() functions.
1423 2008-01-21 Alexander Larsson <alexl@redhat.com>
1425 * inotify/Makefile.am:
1426 * inotify/inotify-helper.c:
1427 * inotify/inotify-kernel.c:
1428 * inotify/inotify-path.c:
1429 * inotify/local_inotify.h: Removed.
1430 * inotify/local_inotify_syscalls.h: Removed.
1431 Removed the included copies of the inotify
1432 headers. We now only use the <sys/inotify.h>
1433 header which exists on modern systems.
1434 This fixes problems on ARM and SH5 (#510448)
1435 but is also generally much cleaner and future
1436 safe. For instance, if other OSes add support
1437 for inotify it should "just work".
1439 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1441 * inotify/*.c: Coding style fixes.
1442 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1443 for the 1/4 Hz timer.
1445 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1448 * gfilemonitor.[hc]:
1449 * gmemoryinputstream.c:
1450 * gmemoryoutputstream.c:
1451 * gmountoperation.c:
1452 * gthemedicon.c: Documentation updates
1454 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1456 * gfile.c: documentation: Fixed more minor
1459 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1461 * gmount.c: (g_mount_remount): documentation:
1462 Mention g_mount_remount_finish() instead of
1463 g_mount_unmount_finish().
1465 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1469 * gfile.c: Fixed some minor typos in the
1472 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1474 * gio/gvolumemonitor.c:
1475 (g_volume_monitor_get_connected_drives):
1476 (g_volume_monitor_get_volumes):
1477 (g_volume_monitor_get_mounts): Documentation:
1478 Clarify the ownership of the regurn GLists.
1480 2008-01-17 Alexander Larsson <alexl@redhat.com>
1483 Add the async find_enclosing_mount version
1484 to the header file too.
1486 2008-01-17 Alexander Larsson <alexl@redhat.com>
1489 Add async version of find_enclosing_mount
1490 with default implementation.
1492 2008-01-17 Alexander Larsson <alexl@redhat.com>
1497 Allow calls to implementation of copy and write
1498 even if the type of the file implementations is
1499 different. This can be used to implement native
1500 upload and download calls in a vfs.
1503 (g_local_file_move):
1504 Protect against the case where move is called
1505 with one file not being local.
1507 Make sure we call the progress callback once
1508 in the native move operation so that the caller
1509 knows how many bytes were copied.
1511 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1514 * gdatainputstream.c:
1516 * gfileoutputstream.c:
1521 * gunixmounts.c: Corrected some typos in the documentation:
1522 occured -> occurred.
1523 its -> it's (where appropriate).
1525 2008-01-16 Alexander Larsson <alexl@redhat.com>
1529 Add g_file_query_exists (#508771)
1531 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1536 * gvolume.c: For async functions that have no non-async
1537 version, document that the GAsyncReadyCallback may be NULL.
1540 2008-01-15 Alexander Larsson <alexl@redhat.com>
1542 * gmemoryinputstream.c:
1543 * gmemoryoutputstream.c:
1544 Don't do pointer arithmetic on void * (#508602)
1545 Patch from Kazuki IWAMOTO
1547 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1549 * === Released 2.15.2 ===
1551 2008-01-14 Alexander Larsson <alexl@redhat.com>
1553 * gfile.c (g_file_monitor_file):
1554 Don't set error here, since we fallback to polling monitor.
1556 2008-01-14 Alexander Larsson <alexl@redhat.com>
1559 (g_file_monitor_directory):
1560 (g_file_monitor_file):
1561 Add GError to file monitor calls
1563 * glocaldirectorymonitor.c:
1564 * glocaldirectorymonitor.h:
1566 * glocalfilemonitor.c:
1567 * glocalfilemonitor.h:
1569 Update for above change
1571 2008-01-14 Alexander Larsson <alexl@redhat.com>
1575 Handle root correctly in g_file_get_relative_path (#508719)
1577 2008-01-14 Alexander Larsson <alexl@redhat.com>
1580 Clean up docs and example for GAsyncResult (#508074)
1582 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1584 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1585 and correct some spelling mistakes. Bug #508108.
1587 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1589 * glocalfileinfo.c: Add a comment.
1591 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1593 * gfileinfo.c: GFileInfo description: Mention
1594 how to actually set attributes in a GFile and how to discover
1595 which attributes are settable. Bug #508378.
1597 2008-01-10 A. Walton <awalton@svn.gnome.org>
1599 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1600 (g_app_info_get_default_for_type):
1601 Check for NULL content types.
1603 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1605 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1607 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1609 * gfile.c: *_async() functions: Several small corrections
1610 to the documentation, mostly correcting copy/paste errors
1611 and improving some sentences.
1613 2008-01-09 Dan Winship <danw@gnome.org>
1615 * glocalfile.c (get_unique_filename): x86_64 fix
1617 2008-01-09 Alexander Larsson <alexl@redhat.com>
1622 Add g_unix_mount_guess_should_display and use
1623 for unix volume monitor backend.
1624 This means we more or less show what the
1625 gnome-vfs backend did.
1626 Based on patch from Padraig O'Briain
1628 2008-01-09 Alexander Larsson <alexl@redhat.com>
1632 Add g_themed_icon_new_with_default_fallbacks
1635 Use default fallbacks for icons
1637 2008-01-09 Alexander Larsson <alexl@redhat.com>
1640 * gmountoperation.[ch]:
1641 Change the API a bit so that unhandled methods
1642 get reported via the reply, rather than by
1643 the signal emission return value. This is because
1644 some handlers can't know this immediately without
1645 doing I/O, and this is an async operation that
1648 2008-01-09 Alexander Larsson <alexl@redhat.com>
1651 * fam/gfamdirectorymonitor.c:
1652 * fam/gfamfilemonitor.c:
1653 Fix double free crash (#508224)
1654 Patch from Joe Marcus Clarke
1656 008-01-07 Matthias Clasen <mclasen@redhat.com>
1658 * === Released 2.15.1 ===
1660 2008-01-07 Alexander Larsson <alexl@redhat.com>
1662 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1663 Fix warning (#507835)
1665 2008-01-07 Alexander Larsson <alexl@redhat.com>
1668 Pass --internal to glib-genmarshal
1671 * gmountoperation.c:
1673 Use better types for signal arguments (#507822)
1675 2008-01-07 Alexander Larsson <alexl@redhat.com>
1678 Build test subdir after .
1679 Remove gdirectorymonitor.[ch]
1681 * gdirectorymonitor.[ch]:
1685 Remove GDirectoryMonitor and make
1686 GFileMonitor the baseclass for both file and
1687 directory monitors. Lift the more generic
1688 rate limiting code from GDirectoryMonitor
1692 * fam/gfamdirectorymonitor.[ch]:
1693 * inotify/ginotifydirectorymonitor.[ch]:
1694 * inotify/inotify-helper.c:
1695 * glocaldirectorymonitor.[ch]:
1698 Update for the removed GDirectoryMonitor.
1700 * gmemoryoutputstream.c:
1701 Remove ununsed variable
1703 2008-01-07 Alexander Larsson <alexl@redhat.com>
1705 * gmemoryinputstream.c:
1706 Translate error strings
1709 * gmemoryoutputstream.[ch]:
1710 New implementation that avoids using GByteArray
1711 in implementation and API. (#506377)
1713 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1715 * tests/*: Add a test for memory input streams.
1717 * Makefile.am: Add tests to SUBDIRS.
1719 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1721 * glocalfilemonitor.c:
1722 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1725 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1727 * gdesktopappinfo.c: Fix a docs typo.
1729 * gfileattribute.c: Add information about extended attributes
1730 to the documentation. (#505058)
1732 2008-01-04 Alexander Larsson <alexl@redhat.com>
1735 * gmountoperation.c:
1736 Use the right type (uint) for the ask_password signal.
1738 2008-01-04 Alexander Larsson <alexl@redhat.com>
1743 Add g_app_info_supports_files()
1744 Remove desktop arg from g_app_info_should_show().
1746 * gdesktopappinfo.[ch]:
1747 Implement g_app_info_supports_files() and new should_show()
1748 Add g_desktop_app_info_set_desktop_env() to set the desktop
1749 for should_show(). (This will be set by gtk+ later)
1751 2008-01-04 Alexander Larsson <alexl@redhat.com>
1754 * gmemoryinputstream.[ch]:
1755 Improve API so that you can use multiple chunks
1756 of memory and custom destroy functions. (#506374)
1758 2008-01-03 Alexander Larsson <alexl@redhat.com>
1761 Handle NULL attribute matchers safely, as we return this
1762 for empty attribute matcher strings.
1764 2008-01-03 Alexander Larsson <alexl@redhat.com>
1766 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1767 Add /usr/local to list of internal mountpoints
1769 2008-01-03 Alexander Larsson <alexl@redhat.com>
1772 Check for HAVE_LCHOWN (#505887)
1774 2008-01-03 Alexander Larsson <alexl@redhat.com>
1778 Add define for selinux context attribute.
1779 Fix missing : -> :: namespace separator change
1780 Fix missing _ -> - name change for xattr-sys.
1783 2008-01-03 Alexander Larsson <alexl@redhat.com>
1786 Link to libglib and libgobject directly (#504879)
1787 Patch from Sebastien Bacher
1789 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1791 * gfile.c: Expanded the g_file_new_for_commandline_arg
1792 description a bit, based on the code and the docs of the
1793 other g_file_new_for_* functions.
1795 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1797 * gfilemonitor.h: Fixed typo in docs.
1799 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1801 Updates to GIO documentation. (#506395, Mikael Hermansson)
1803 * gcontenttype.c: Describe memory management for return value of
1804 g_content_types_get_registered(). Missing piece from #505815.
1805 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1806 GVolume, GDrive, GMounts, which hopefully gives the user less
1807 confusions when using this API. Following explainations from
1808 Alexander Larsson on gtk-devel-list.
1810 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1812 * gfileinfo.c: Expand the long description.
1814 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1817 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1818 fix builds with --disable-visibility. (#500273, Christian Persch)
1820 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1822 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1823 in the list of returned app infos.
1825 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1827 * gappinfo.c: Fix a cross-reference
1829 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1831 * gfileinputstream.c:
1832 * gfileoutputstream.c:
1836 * gdesktopappinfo.c:
1838 * gfileinfo.c: Documentation updates.
1840 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1842 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1845 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1847 * gcontenttype.c (g_content_types_get_registered): Don't return
1848 freed memory (#505815, Mikael Hermansson)
1850 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1852 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1853 used to detect statbuf->st_blocks. (#505042)
1855 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1857 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1858 environment handling. (#504829, Cosimo Cecchi)
1860 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1862 * gappinfo.c: Doc improvements
1864 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1867 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1869 * === Released 2.15.0 ===
1871 2007-12-20 Hans Breuer <hans@breuer.org>
1873 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1874 with symbols gwin32appinfo.obj, added gmount.obj
1875 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1877 2007-12-20 Alexander Larsson <alexl@redhat.com>
1883 * gfilenamecompleter.c:
1886 * gpollfilemonitor.c:
1887 File attribute renames:
1889 fs:: -> filesystem::
1890 id::fs -> id::filesystem
1892 2007-12-20 Alexander Larsson <alexl@redhat.com>
1901 Add GMountUnmountFlags to all unmount and
1903 Add g_mount_remount() call.
1905 2007-12-20 Alexander Larsson <alexl@redhat.com>
1907 * gvfs.c (get_default_vfs):
1908 Fix unused variable warning
1910 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1912 * pltcheck.sh: Update
1914 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1916 * gunionvolumemonitor.c:
1917 * gunixmount.c: Remove C99 comments
1919 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1921 * gio.symbols: Add some missing symbols
1923 2007-12-19 Alexander Larsson <alexl@redhat.com>
1926 Make g_io_modules_load_all_in_directory not unuse
1927 loaded modules so that users of it can do stuff
1929 Init internal "module" types.
1930 Initialize static prio and name for types so that
1931 we don't have to load modules to get it.
1933 * gnativevolumemonitor.h:
1935 Move is_supported to parent class so that
1936 non-native monitors can avoid being initialized
1937 too. (For instance GDaemonVolumeMonitor if we're
1938 not using GDaemonVfs.)
1940 * glocaldirectorymonitor.[ch]:
1941 * glocalfilemonitor.[ch]:
1942 * gunionvolumemonitor.c:
1943 * gunixvolumemonitor.c:
1945 Find plugins using the static prio+name to
1946 avoid unnecessarily loading the modules.
1948 2007-12-19 Alexander Larsson <alexl@redhat.com>
1953 2007-12-19 Alexander Larsson <alexl@redhat.com>
1955 * gunionvolumemonitor.c:
1956 Store the native type as GType, not class so that
1957 we can unload it. But still avoid unnecessarily
1960 2007-12-19 David Zeuthen <davidz@redhat.com>
1962 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1963 add signals 'disconnected' and 'eject-button' on GDrive. Add
1964 signal 'removed' on GVolume and 'unmounted' on GMount.
1966 * gdrive.c: (g_drive_base_init):
1968 * gfile.c: (g_file_mount_mountable),
1969 (g_file_mount_enclosing_volume):
1972 * gmount.c: (g_mount_base_init):
1974 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1975 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1976 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1980 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1982 * *.c: Fix up includes in the section docs.
1984 2007-12-17 Alexander Larsson <alexl@redhat.com>
1986 * gnativevolumemonitor.h:
1987 * gunionvolumemonitor.c:
1988 * gunixvolumemonitor.c:
1989 Add is_supported() to GNativeVolumeMonitorClass so
1990 that we can avoid having to create an object to see
1991 if the backend is supported at runtime.
1992 Also add name member and an env var to pick a specific
1993 volume monitor backend.
1997 Add cancellable to _g_mount_get_for_mount_path()
1999 * glocaldirectorymonitor.c:
2000 * glocalfilemonitor.c:
2001 Avoid loading and unloading modules while sorting.
2003 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2006 * gunixmounts.[hc]: Namespace waste reduction, move some
2007 g_get_unix_mount functions to the g_unix_mount namespace.
2010 * gunixvolumemonitor.c:
2012 * glocaldirectorymonitor.c: Update all callers.
2014 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2016 2007-12-17 Alexander Larsson <alexl@redhat.com>
2019 Add doc comments about what GFile operations are
2020 guaranteed to not block.
2022 2007-12-17 Alexander Larsson <alexl@redhat.com>
2025 Add missing #ifdef fixing OSX build.
2026 (#503334, patch from Richard Hult)
2028 2007-12-14 David Zeuthen <davidz@redhat.com>
2032 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2033 (g_mount_eject), (g_mount_eject_finish):
2035 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2036 (get_volume_for_uuid), (get_mount_for_uuid),
2037 (g_union_volume_monitor_class_init),
2038 (get_default_native_type_with_exclude), (get_default_native_type),
2039 (get_native_type), (update_native_type),
2040 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2041 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2042 (g_unix_mount_can_eject), (eject_unmount_cb),
2043 (eject_unmount_read_error), (eject_unmount_do),
2044 (g_unix_mount_unmount), (g_unix_mount_eject),
2045 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2046 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2047 (g_unix_mount_point_guess_can_eject):
2049 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2050 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2051 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2052 (g_unix_volume_mount), (g_unix_volume_eject),
2053 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2054 * gunixvolumemonitor.c: (get_volume_for_uuid),
2055 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2057 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2058 (g_volume_eject), (g_volume_eject_finish):
2060 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2061 (g_volume_monitor_get_mount_for_uuid):
2064 Provide eject() on both GMount and GVolume and utility functions
2065 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2066 ejected. Introduce the concept of UUID's and wire it into GVolume
2067 and GMount and provide API on GVolumeMonitor to find such
2068 instances. Also handle the case where an external
2069 GNativeVolumeMonitor fails to initialize. Lock around the
2070 _g_get_mount_for_mount_path() function such that volume monitor
2071 implementations won't have to do locking themselves.
2073 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2075 * gdesktopappinfo.c:
2081 * gvolume.h: Documentation updates
2083 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2086 * gfile.h: Doc updates
2088 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2091 * gdesktopappinfo.c: Use hash table iterators.
2093 2007-12-14 Alexander Larsson <alexl@redhat.com>
2096 * gfileattribute.[ch]:
2097 * gfileattribute-priv.h:
2098 Move GFileAttributeValue to a private header, as
2102 Make set_attribute take a type + a pointer instead
2103 of a GFileAttributeValue.
2106 Fix up for above changes.
2107 Add g_file_info_get_attribute_data to get
2108 all info in one call, g_file_info_get_attribute_status
2109 to get the status and g_file_info_get_attribute_as_string.
2113 * glocalfileinfo.[ch]:
2117 Make _guess_type static.
2119 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2122 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2123 made mkenums and friends use temporary files to avoid leaving
2124 empty generated files on failure (#503470).
2126 2007-12-14 Alexander Larsson <alexl@redhat.com>
2128 * gmountoperation.h:
2131 2007-12-14 Alexander Larsson <alexl@redhat.com>
2135 * gfileattribute.[ch]:
2138 * glocalfileoutputstream.c:
2139 * gmountoperation.[ch]:
2140 * goutputstream.[ch]:
2141 Clean up all flags enums to not have _FLAGS in them
2142 Make the names of some of the enums better.
2147 2007-12-14 Michael Natterer <mitch@imendio.com>
2149 * gio.symbols: fix g_io_scheduler symbol names.
2151 2007-12-14 Alexander Larsson <alexl@redhat.com>
2157 * gbufferedinputstream.h:
2158 * gbufferedoutputstream.h:
2161 * gdatainputstream.h:
2162 * gdataoutputstream.h:
2163 * gdesktopappinfo.h:
2164 * gdirectorymonitor.h:
2168 * gfileenumerator.h:
2171 * gfileinputstream.h:
2173 * gfilenamecompleter.h:
2174 * gfileoutputstream.h:
2175 * gfilterinputstream.h:
2176 * gfilteroutputstream.h:
2184 * gmemoryinputstream.h:
2185 * gmemoryoutputstream.h:
2187 * gmountoperation.h:
2190 * gsimpleasyncresult.h:
2192 * gunixinputstream.h:
2194 * gunixoutputstream.h:
2198 * inotify/Makefile.am:
2199 Only allow including <gio/gio.h> from apps
2201 2007-12-14 Alexander Larsson <alexl@redhat.com>
2203 * gioscheduler.[ch]:
2204 * gsimpleasyncresult.c:
2205 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2206 Split out the send_to_mainloop call into two versions instead
2207 of having the block argument.
2209 2007-12-13 Alexander Larsson <alexl@redhat.com>
2211 * gcancellable.[ch]:
2213 * gbufferedinputstream.c:
2214 * gfileenumerator.c:
2215 * gfileinputstream.c:
2216 * gfileoutputstream.c:
2220 g_push/pop_current_cancellable ->
2221 g_cancellable_push/pop_current
2223 2007-12-13 Alexander Larsson <alexl@redhat.com>
2227 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2229 2007-12-13 Alexander Larsson <alexl@redhat.com>
2231 * gmountoperation.h:
2232 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2234 2007-12-12 Alexander Larsson <alexl@redhat.com>
2237 Fix race condition when freeing proxy in
2238 g_io_job_send_to_mainloop().
2240 2007-12-12 Alexander Larsson <alexl@redhat.com>
2246 Make attribute namespace separator "::" instead of ":".
2247 Use - instead of _ as separator in attribute names.
2249 2007-12-12 Alexander Larsson <alexl@redhat.com>
2251 * gbufferedinputstream.h:
2252 * gbufferedoutputstream.h:
2253 * gdatainputstream.h:
2254 * gdataoutputstream.h:
2255 * gdirectorymonitor.h:
2256 * gfileenumerator.h:
2257 * gfileinputstream.h:
2259 * gfileoutputstream.h:
2260 * gfilterinputstream.h:
2261 * gfilteroutputstream.h:
2263 * glocalfileinputstream.h:
2264 * glocalfileoutputstream.h:
2265 * gmemoryinputstream.h:
2266 * gmemoryoutputstream.h:
2267 * gnativevolumemonitor.h:
2269 * gunixinputstream.h:
2270 * gunixoutputstream.h:
2273 s/parent/parent_instance/ in GObjects
2275 2007-12-12 Alexander Larsson <alexl@redhat.com>
2280 No need for padding for interfaces
2282 2007-12-12 Alexander Larsson <alexl@redhat.com>
2286 * gbufferedinputstream.c:
2287 * gbufferedoutputstream.c:
2290 * gdatainputstream.[ch]:
2291 * gdesktopappinfo.c:
2292 * gdirectorymonitor.c:
2294 * gfileattribute.[ch]:
2297 * gfileinputstream.h:
2298 * gfilemonitor.[ch]:
2299 * gfileoutputstream.[ch]:
2300 * gfilterinputstream.h:
2301 * gfilteroutputstream.h:
2304 * gloadableicon.[ch]:
2305 * gmemoryinputstream.c:
2306 * gmountoperation.c:
2308 Fix up a bunch of details in the docs.
2313 2007-12-11 David Zeuthen <davidz@redhat.com>
2315 Rework how volumes, drives and volume monitoring is
2316 done. Previosly the model was
2318 GDrive <1-1> GVolume
2320 where a GDrive instance represented a mount point and a GVolume
2321 instance represented a mounted file system. This patch changes it
2324 GDrive <1-N> GVolume <1-1> GMount
2326 where GMount now serves the purpose of the old GVolume and the new
2327 GVolume serves the purpose of the old GDrive. In addition the new
2328 GDrive interface is used to represent a collection of GVolume
2329 instances (typically partitions) and also contains utility to query
2330 the state of the physical drive the GDrive object represents (such
2331 as checking for media, polling the drive, ejecting the media etc.).
2333 Also implement mounting and unmounting in the Unix volume monitor
2334 backend. A subquent patch will introduce GDrive support for ejection
2338 * gdrive.c: (g_drive_is_media_check_automatic),
2339 (g_drive_is_media_removable), (g_drive_has_media),
2340 (g_drive_can_poll_for_media), (g_drive_eject),
2341 (g_drive_eject_finish), (g_drive_poll_for_media),
2342 (g_drive_poll_for_media_finish):
2344 * gfile.c: (g_file_find_enclosing_mount):
2347 * glocaldirectorymonitor.c:
2348 (g_local_directory_monitor_constructor), (mounts_changed):
2349 * glocalfile.c: (get_mount_info),
2350 (g_local_file_find_enclosing_mount),
2351 (g_local_file_file_iface_init):
2352 * gnativevolumemonitor.h:
2353 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2354 (get_connected_drives), (g_union_volume_monitor_class_init),
2355 (child_volume_added), (child_volume_removed),
2356 (child_volume_changed), (child_mount_added), (child_mount_removed),
2357 (child_mount_pre_unmount), (child_mount_changed),
2358 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2359 (g_union_volume_monitor_remove_monitor),
2360 (_g_mount_get_for_mount_path):
2361 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2362 (guess_system_internal), (_g_get_unix_mounts),
2363 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2364 (g_unix_mount_free), (g_unix_mount_compare),
2365 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2366 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2367 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2368 (type_to_icon), (g_unix_mount_guess_name),
2369 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2370 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2371 (_resolve_symlink), (_resolve_dev_root):
2373 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2374 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2375 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2376 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2377 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2378 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2379 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2380 (g_unix_volume_volume_iface_init):
2382 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2383 (get_mounts), (get_volumes), (get_connected_drives),
2384 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2385 (mountpoints_changed), (mounts_changed),
2386 (g_unix_volume_monitor_init),
2387 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2388 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2389 * gunixvolumemonitor.h:
2390 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2391 (g_volume_mount), (g_volume_mount_finish):
2393 * gvolumemonitor.c: (g_volume_monitor_class_init),
2394 (g_volume_monitor_get_connected_drives),
2395 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2398 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2400 * gmountoperation.h (GPasswordFlags): Close the gap
2402 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2404 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2406 * gdesktopappinfo.[hc]: Remove _-prefixes
2408 2007-12-10 Tor Lillqvist <tml@novell.com>
2410 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2413 2007-12-10 Alexander Larsson <alexl@redhat.com>
2415 * gfile.c (g_file_set_display_name):
2416 Don't hardcode '/' (#502727)
2418 2007-12-09 Hans Breuer <hans@breuer.org>
2420 * makefile.msc : follow lib naming convention
2421 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2422 for user and group name, tested with ../tests/gio-ls
2424 2007-12-09 A. Walton <awalton@svn.gnome.org>
2426 * gdesktopappinfo.c:
2432 * gfileenumerator.c:
2437 * gmemoryinputstream.c:
2438 * gmemoryoutputstream.c:
2440 * gsimpleasyncresult.c:
2441 More documentation cleanup and filling in missing information, bringing
2442 GIO to 99% symbol coverage.
2444 2007-12-08 Hans Breuer <hans@breuer.org>
2446 [gio compiles and links on win32, not sure how much already works]
2447 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2448 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2449 base on win32 API; prefer g_lstat() over lstat(); instead of
2450 localtime_r() use an all GLib implementation on win32;
2451 get_mount_info() still needs a win32 specifc implementation
2452 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2453 win32_get_file_user_info to get owner/group info without uid/gid
2454 * glocalfileinputstream.c : include <io.h> on win32
2455 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2456 definition, use g_win32_ftruncate() for G_OS_WIN32
2457 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2458 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2459 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2460 * makefile.msc : updated
2462 2007-12-07 Alexander Larsson <alexl@redhat.com>
2464 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2465 Avoid warning spew if error == NULL
2467 2007-12-07 Alexander Larsson <alexl@redhat.com>
2470 Update docs wrt etags
2472 2007-12-06 Alexander Larsson <alexl@redhat.com>
2475 Include sys/types.h for dev_t (#501919)
2477 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2481 Make abicheck and pltcheck pass.
2483 2007-12-05 Alexander Larsson <alexl@redhat.com>
2486 * giomodule-priv.h: Added.
2487 * glocaldirectorymonitor.c:
2488 * glocalfilemonitor.c:
2489 * gunionvolumemonitor.c:
2491 Actually add the declaration of _g_io_modules_ensure_loaded
2493 2007-12-05 Alexander Larsson <alexl@redhat.com>
2495 * gdatainputstream.c:
2500 * glocaldirectorymonitor.c:
2501 * glocalfilemonitor.c:
2502 * gunionvolumemonitor.c:
2504 Make g_io_modules_ensure_loaded a private function and
2505 don't pass in the dirname. This means we can do magic
2506 directory finding in the win32 version.
2507 Export the actual load-modules-in-directory code so that
2508 gvfs can reuse that.
2510 2007-12-05 Alexander Larsson <alexl@redhat.com>
2512 * gbufferedinputstream.c:
2513 * gbufferedoutputstream.c:
2516 * gfileenumerator.[ch]:
2517 * gfileinputstream.c:
2518 * gfileoutputstream.[ch]:
2519 * gfilterinputstream.c:
2520 * gfilteroutputstream.c:
2521 * ginputstream.[ch]:
2523 * glocalfileenumerator.c:
2524 * glocalfileinputstream.c:
2525 * glocalfileoutputstream.c:
2526 * gmemoryinputstream.c:
2527 * gmemoryoutputstream.c:
2528 * goutputstream.[ch]:
2531 * gunixinputstream.c:
2532 * gunixoutputstream.c:
2533 Rename all struct members named:
2534 read, write, close, truncate, or mount
2535 to foo_fn, as these are reserved names
2536 and could be defined as macros in libc.
2539 2007-12-04 Alexander Larsson <alexl@redhat.com>
2542 (g_output_stream_close):
2543 Only call flush if non-null.
2545 2007-11-30 Dan Winship <danw@gnome.org>
2547 * ginputstream.c (g_input_stream_set_pending): Make this take a
2548 GError and return a gboolean, and do the "outstanding operation"
2549 check (and the "stream is already closed" check) itself.
2550 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2552 * goutputstream.c (g_output_stream_set_pending)
2553 (g_output_stream_clear_pending): Likewise
2555 * gbufferedinputstream.c:
2556 * gfileinputstream.c:
2557 * gfileoutputstream.c: Update for that
2559 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2560 Like g_simple_async_report_error_in_idle, but takes a GError
2561 rather than building one.
2563 2007-11-30 Dan Winship <danw@gnome.org>
2565 * goutputstream.c: Don't cheat and unset the "pending" flag around
2566 inner calls. Instead, call the class method directly rather than
2567 the wrapper function that checks "pending"
2569 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2571 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2573 2007-12-03 Hans Breuer <hans@breuer.org>
2575 [start of port to win32/msvc]
2576 * gcancellable.c : HAVE_UNIST_H and _pipe()
2577 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2578 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2579 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2581 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2582 * glocalvfs.c : use HAVE_PWD_H
2583 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2584 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2585 * Makefile.am : added to EXTRA_DIST
2587 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2589 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2592 2007-12-03 Alexander Larsson <alexl@redhat.com>
2595 Handle OSX style xattrs API (#500506)
2597 2007-12-03 Alexander Larsson <alexl@redhat.com>
2601 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2603 2007-12-02 A. Walton <awalton@svn.gnome.org>
2607 Documentation accuracy fixes.
2609 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2611 * gioenumtypes.c.template: Fix typo.
2613 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2615 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2617 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2619 * gdirectorymonitor.c:
2620 * gfilemonitor.c: Add properties
2622 * gbufferedoutputstream.c: Don't mark buffer-size property
2625 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2627 * gbufferedoutputstream.c: Add auto-grow property.
2629 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2631 * *.c: Unify the capitalization of section headings.
2633 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2635 * gmountoperation.c: Add properties
2637 * gdatainputstream.c: Turn byte-order and newline-type into
2640 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2642 * gioenumtypes.[hc].template: Templates for enum registration
2644 * Makefile.am: Generate gioenumtypes.[hc]
2646 * gio.h: Include gioenumtypes.h
2648 * gfile.h: Add some explicit nicks.
2650 * gio.symbols: Add new symbols
2652 * pltcheck.sh: Adjust
2654 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2656 * *.c: Explain etags and link to the explanation
2658 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2660 * *.c: Explain I/O priority.
2662 * *.c: More coding style fixes.
2664 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2666 * gasyncresult.c: Add another paragraph to the intro,
2667 adjust coding style of example.
2669 2007-11-29 A. Walton <awalton@svn.gnome.org>
2672 Fixes unknown meaning in GAppLaunchContext docs.
2674 Clarify asynchronous ops.
2676 Fix entity tag docs.
2679 Provides missing gtk-doc section, fixes API docs slighly.
2680 * gsimpleasyncresult.c:
2681 Fill in missing info in docs.
2682 * gunixinputstream.c:
2683 * gunixoutputstream.c:
2684 Be more expressive in short description.
2686 Remove gtk-doc stubs for non-public API.
2688 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2690 * *.c: Coding style fixups
2692 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2694 * inotify/inotify-helper.c: Don't export the lock from libgio.
2696 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2699 * abicheck.sh: Fix copy-and-paste leftovers
2701 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2703 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2705 2007-11-28 Alexander Larsson <alexl@redhat.com>
2709 Removed unnecessary file
2711 * gdesktopappinfo.[ch]:
2714 * glocaldirectorymonitor.[ch]:
2716 * glocalfileenumerator.[ch]:
2717 * glocalfileinputstream.[ch]:
2718 * glocalfilemonitor.[ch]:
2719 * glocalfileoutputstream.[ch]:
2721 * gnativevolumemonitor.c:
2722 * gpollfilemonitor.[ch]:
2723 * gunionvolumemonitor.[ch]:
2726 * gunixvolumemonitor.[ch]:
2729 * inotify/ginotifydirectorymonitor.[ch]:
2730 * inotify/ginotifyfilemonitor.[ch]:
2731 * inotify/inotify-helper.c:
2732 Append _ to all internal functions
2736 Export symbols needed for modules
2738 2007-11-28 Alexander Larsson <alexl@redhat.com>
2741 * abicheck.sh: Added.
2742 * makegioalias.pl: Added.
2743 * pltcheck.sh: Added.
2744 * gio.symbols: Added.
2747 Initial work on adding symbol handling.
2750 Correct ifdef guard name
2753 * inotify/Makefile.am:
2754 * xdgmime/Makefile.am:
2755 Include toplevel Makefile.decl
2757 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2759 * gcontenttype.c: Move doc comments to the unix section.
2761 * *.[hc]: More trivial doc corrections.
2763 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2765 * gpollfilemonitor.c:
2769 * gdesktopappinfo.c:
2774 * gdatainputstream.c:
2775 * gdatainputstream.h:
2776 * gdataoutputstream.c:
2777 * gdataoutputstream.h:
2778 * gfileinfo.h: Doc cleanups
2780 2007-11-28 Andre Klapper <a9016009@gmx.de>
2782 * gdesktopappinfo.c: Fix a typo.
2784 2007-11-27 Andre Klapper <a9016009@gmx.de>
2786 * glocalfileoutputstream.c: Fix a typo.
2788 2007-11-27 Alexander Larsson <alexl@redhat.com>
2791 Don't include removed headers
2793 2007-11-27 Alexander Larsson <alexl@redhat.com>
2796 * gsocketinputstream.[ch]: Removed.
2797 * gsocketoutputstream.[ch]: Removed.
2798 * gunixinputstream.[ch]: Added.
2799 * gunixoutputstream.[ch]: Added.
2800 Renamed GSocket*Stream to GUnix*Stream and made
2801 it unix-only, since its not really only for sockets
2802 and it only works on unix (but is highly useful there).
2804 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2810 * gbufferedinputstream.c:
2811 * gbufferedinputstream.h:
2812 * gbufferedoutputstream.c:
2813 * gbufferedoutputstream.h:
2817 * gdatainputstream.c:
2818 * gdatainputstream.h:
2819 * gdataoutputstream.c:
2820 * gdataoutputstream.h:
2821 * gdirectorymonitor.c:
2822 * gdirectorymonitor.h:
2829 * gfileenumerator.c:
2830 * gfileenumerator.h:
2835 * gfileinputstream.c:
2836 * gfileinputstream.h:
2839 * gfilenamecompleter.c:
2840 * gfilenamecompleter.h:
2841 * gfileoutputstream.c:
2842 * gfileoutputstream.h:
2843 * gfilterinputstream.c:
2844 * gfilterinputstream.h:
2845 * gfilteroutputstream.c:
2846 * gfilteroutputstream.h:
2859 * glocalfileoutputstream.c:
2860 * gmemoryinputstream.c:
2861 * gmemoryinputstream.h:
2862 * gmemoryoutputstream.c:
2863 * gmemoryoutputstream.h:
2864 * gmountoperation.c:
2865 * gmountoperation.h:
2868 * gpollfilemonitor.c:
2871 * gsimpleasyncresult.c:
2872 * gsimpleasyncresult.h:
2873 * gsocketinputstream.c:
2874 * gsocketinputstream.h:
2875 * gsocketoutputstream.c:
2876 * gsocketoutputstream.h:
2883 * gunixvolumemonitor.c:
2892 Bumps documentation to 93% symbol coverage, touching most
2893 of the public files. Fixes broken function documentation prototypes.
2894 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2895 gtk-doc headers in private files.
2897 2007-11-27 Jürg Billeter <j@bitron.ch>
2899 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2900 (g_buffered_input_stream_read_byte):
2901 * gbufferedinputstream.h:
2902 New functions for efficient access to buffer and simple single byte
2905 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2906 (g_data_input_stream_read_until):
2907 * gdatainputstream.h:
2908 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2909 read_until with multiple stop chars.
2911 2007-11-27 Alexander Larsson <alexl@redhat.com>
2915 * inotify/Makefile.am:
2916 Use the user-specified giomoduledir
2918 2007-11-27 Alexander Larsson <alexl@redhat.com>
2922 Add catch-all gio.h header
2923 Don't install gdummyfile.h
2925 2007-11-26 Alexander Larsson <alexl@redhat.com>
2927 * Makefile.am (gioinclude_HEADERS):
2928 Remove trailing whitespace
2930 2007-11-26 Alexander Larsson <alexl@redhat.com>
2932 Merge gio-standalone into glib
2934 2007-11-25 Christian Kellner <gicmo@gnome.org>
2936 * gio/goutputstream.c:
2937 Fix small mistake in the docs.
2939 2007-11-21 Christian Persch <chpe@gnome.org>
2941 * gio/glocalfile.c: (g_local_file_trash):
2942 Convert filenames to UTF-8 for GError.
2943 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2944 as per xdg base dir spec.
2946 2007-11-21 Christian Persch <chpe@gnome.org>
2948 * gio/gdesktopappinfo.c:
2949 Use that g_key_file_to_data cannot fail.
2951 Use stock defines for the key file group and key names.
2954 2007-11-21 Alexander Larsson <alexl@redhat.com>
2957 (copy_stream_with_progress):
2958 Make sure we do a final progress callback with
2959 the full total size.
2961 2007-11-21 Alexander Larsson <alexl@redhat.com>
2964 Export g_file_copy_attributes
2965 Remove padding as its not needed for interfaces
2967 2007-11-20 Alexander Larsson <alexl@redhat.com>
2972 Add G_IO_ERROR_WOULD_MERGE for
2973 copy/move dir on dir with overwrite.
2975 2007-11-20 Alexander Larsson <alexl@redhat.com>
2978 * gio/glocalfileinfo.c:
2979 Add COPY_NAME (this is an optional
2980 non-modified utf8 version of the name) that
2983 2007-11-20 Alexander Larsson <alexl@redhat.com>
2985 * gio/glocalfileenumerator.c:
2986 Report errors as GIOError, not GFileError
2988 2007-11-16 Alexander Larsson <alexl@redhat.com>
2990 * gio/glocalfileoutputstream.c:
2991 * gio/gwin32appinfo.c:
2992 Fix typos in strings.
2993 Patch from Luca Ferretti <elle.uca@libero.it>
2995 2007-11-15 Alexander Larsson <alexl@redhat.com>
2998 Post release version bump
3000 === gio-standalone 0.1.2 ===
3002 2007-11-15 Alexander Larsson <alexl@redhat.com>
3004 * docs/reference/gio/Makefile.am:
3005 Fix up distcheck by removing weird
3011 2007-11-14 Alexander Larsson <alexl@redhat.com>
3013 * gio/gdesktopappinfo.c:
3014 * gio/glocaldirectorymonitor.c:
3016 * gio/glocalfileinfo.c:
3017 * gio/inotify/inotify-sub.c:
3018 * programs/gio-cat.c:
3019 * programs/gio-copy.c:
3020 * programs/gio-info.c:
3021 * programs/gio-ls.c:
3022 * programs/gio-monitor-dir.c:
3023 * programs/gio-monitor-file.c:
3024 * programs/gio-mount.c:
3025 * programs/gio-move.c:
3026 * programs/gio-rm.c:
3027 * programs/gio-save.c:
3028 * programs/gio-trash.c:
3029 Leak fixes from Kjartan Maraas
3031 2007-11-14 Alexander Larsson <alexl@redhat.com>
3033 * gio/fam/fam-helper.c:
3035 * gio/glocalfileinfo.c:
3039 * gio/inotify/inotify-diag.c:
3040 * gio/inotify/inotify-kernel.c:
3041 Various code cleanups from Kjartan Maraas
3043 2007-11-14 Alexander Larsson <alexl@redhat.com>
3045 * gio/gioscheduler.c:
3047 Set up threadpool so that we cache 2 unused
3048 idle threads for at 15 secs. This means we
3049 will reuse thread-local data (like dbus connections)
3052 2007-11-14 Alexander Larsson <alexl@redhat.com>
3054 * gio/fam/fam-helper.c:
3055 * gio/fam/gfamdirectorymonitor.c:
3056 * gio/fam/gfamfilemonitor.c:
3058 * gio/gcontenttype.c:
3059 * gio/gdatainputstream.c:
3060 * gio/gdataoutputstream.c:
3064 * gio/gfileattribute.h:
3065 * gio/gfileenumerator.c:
3067 * gio/ginputstream.c:
3070 * gio/glocalfileinfo.c:
3071 * gio/goutputstream.c:
3072 * gio/gpollfilemonitor.c:
3073 * gio/gsimpleasyncresult.c:
3074 * gio/gunixmounts.c:
3075 * gio/gunixmounts.h:
3076 * gio/inotify/ginotifydirectorymonitor.c:
3077 * gio/inotify/ginotifyfilemonitor.c:
3078 * gio/inotify/inotify-diag.c:
3079 * gio/inotify/inotify-kernel.c:
3080 * gio/inotify/inotify-path.c:
3082 * gio/test-streams.c:
3083 * programs/gio-info.c:
3084 * programs/gio-monitor-dir.c:
3085 * programs/gio-monitor-file.c:
3086 Various code cleanups from Kjartan Maraas
3088 2007-11-13 Alexander Larsson <alexl@redhat.com>
3091 Handle the uri-scheme calls for dummy files
3093 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3095 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3096 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3097 to avoid clash with the C++ keyword.
3099 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3101 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3102 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3104 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3106 * gio/glocaldirectorymonitor.c:
3107 * gio/glocalfilemonitor.c:
3108 * gio/gunionvolumemonitor.c:
3109 Don't use g_once_init_*() for initializations that could fail and
3110 could leave the initialization variable set to 0 but use GOnce.
3111 This prevents a deadlock on the second call when trying to create
3112 a monitor and no monitor type is available. Thanks to Sven Herzberg
3115 2007-11-11 Sven Herzberg <sven@imendio.com>
3117 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3118 #ifdef (make it work on MacOS X again)
3120 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3122 Fixes Changelog for last two commits (sorry guys).
3124 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3126 * gio/gbufferedinputstream.c:
3127 * gio/gdatainputstream.c:
3129 * gio/gfileoutputstream.c:
3130 * gio/gfilterinputstream.c:
3131 * gio/glocalfileinputstream.c:
3134 More consistency fixes in g*stream.c files.
3135 Significant clean of gfile's documentation, filling in of
3136 asynchronous operations documentation.
3138 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3140 * gio/gasyncresult.c:
3141 * gio/gbufferedinputstream.c:
3142 * gio/gbufferedoutputstream.c:
3143 * gio/gcancellable.c:
3144 * gio/gcontenttype.c:
3145 * gio/gdatainputstream.c:
3146 * gio/gdataoutputstream.c:
3147 * gio/gdesktopappinfo.c:
3150 * gio/gfileattribute.c:
3151 * gio/gio/gfileenumerator.c:
3153 * gio/gfileinputstream.c:
3154 * gio/gfilemonitor.c:
3155 * gio/gfileoutputstream.c:
3156 * gio/ginputstream.c:
3158 * gio/gioscheduler.c:
3159 * gio/gloadableicon.c:
3160 * gio/glocalfileoutputstream.c:
3161 * gio/gmemoryoutputstream.c:
3162 * gio/gmountoperation.c:
3163 * gio/goutputstream.c:
3165 * gio/gsimpleasyncresult.c:
3166 * gio/gunionvolumemonitor.c:
3167 * gio/gunixmounts.c:
3168 * gio/gunixvolume.c:
3172 * gio/gvolumemonitor.c:
3173 Updated documentation stubs, working towards consistency and
3176 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3178 * gio/gmemoryoutputstream.c:
3179 * gio/gmemoryoutputstream.h:
3180 Change g_memory_output_stream_set_free_on_close() to
3181 g_memory_output_stream_set_free_data() as this makes more sense and
3182 is more consistent with GMemoryInputStream.
3184 2007-11-07 Alexander Larsson <alexl@redhat.com>
3191 Change how we find the default vfs so that
3192 we can handle a gvfs failing to init
3194 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3196 * gio/gbufferedoutputstream.c:
3197 * gio/gdatainputstream.c:
3198 * gio/gdataoutputstream.c:
3199 * gio/gfileinputstream.c:
3200 * gio/gfileoutputstream.c:
3201 * gio/gfilterinputstream.c:
3202 * gio/gfilteroutputstream.c:
3203 * gio/ginputstream.c:
3204 * gio/gmemoryinputstream.c:
3205 * gio/gmemoryoutputstream.c:
3206 * gio/goutputstream.c:
3207 * gio/gsimpleasyncresult.c:
3208 * gio/gsocketinputstream.c:
3209 * gio/gsocketoutputstream.c:
3210 Add guards to the remaining public functions, add a TODO for
3211 an unimplemented function and remove some useless guards.
3213 2007-11-07 Alexander Larsson <alexl@redhat.com>
3216 Autoconf checks for the various types of
3217 getpwuid_r and getgrgid_r
3219 * gio/glocalfileinfo.c:
3220 Use the autoconf checks from above
3222 2007-11-07 Alexander Larsson <alexl@redhat.com>
3225 (g_local_file_query_filesystem_info):
3226 Some fixes for the statvfs case
3228 2007-11-07 Alexander Larsson <alexl@redhat.com>
3231 (g_local_file_query_filesystem_info):
3232 Pick the "best" of statfs / statvfs for the system
3233 if both are availible.
3235 2007-11-07 Alexander Larsson <alexl@redhat.com>
3237 Solaris fixes from Halton.Huo@Sun.COM:
3244 * gio/glocalfileinfo.c:
3245 Fix for solaris definition of getpwuid_r
3247 * gio/test-streams.c:
3248 Use G_GNUC_PRETTY_FUNCTION
3250 2007-11-07 Alexander Larsson <alexl@redhat.com>
3252 * gio/gdesktopappinfo.c:
3253 (update_default_list):
3254 Remove double semicolon.
3255 Patch from Jens Granseuer
3257 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3259 * docs/reference/gio/gio-sections.txt:
3260 * gio/gbufferedinputstream.c:
3261 * gio/gbufferedinputstream.h:
3262 * gio/gdatainputstream.c:
3263 * gio/gfileenumerator.c:
3264 * gio/gioscheduler.c:
3265 * gio/gunionvolumemonitor.c:
3267 * programs/gio-save.c:
3268 Fix typo: availible -> available. Unfortuntely this breaks API
3269 and ABI as g_buffered_input_stream_get_available() was renamed.
3271 * gio/gunixmounts.c:
3272 * gio/gbufferedinputstream.c:
3273 Add guards for public functions.
3275 2007-11-06 Ross Burton <ross@openedhand.com>
3277 * docs/reference/gio/Makefile.am:
3278 Fix invalid += usage which automake 1.10 doesn't like.
3280 2007-11-06 Alexander Larsson <alexl@redhat.com>
3283 (g_app_launch_context_class_init):
3286 Patch from Ross Burton
3288 2007-11-06 Alexander Larsson <alexl@redhat.com>
3291 Post release version bump
3293 === gio-standalone 0.1.1 ===
3295 2007-11-06 Alexander Larsson <alexl@redhat.com>
3298 Bump version to 0.1.1
3300 * gio/gsimpleasyncresult.c:
3301 (g_simple_async_result_set_from_error):
3302 Remove bogus g_return_if_fail
3304 2007-11-06 Alexander Larsson <alexl@redhat.com>
3307 The name is gio-standalone
3310 Add top src/builddir to includedir
3312 2007-11-06 Alexander Larsson <alexl@redhat.com>
3314 * docs/reference/gio/gio-sections.txt:
3316 * gio/gbufferedinputstream.c:
3317 * gio/gbufferedoutputstream.c:
3318 * gio/gcancellable.c:
3319 * gio/gdatainputstream.h:
3320 * gio/gdataoutputstream.c:
3321 * gio/gdataoutputstream.h:
3322 * gio/gdirectorymonitor.c:
3324 * gio/gfileattribute.c:
3325 * gio/gfileattribute.h:
3326 * gio/gfileenumerator.c:
3327 * gio/gfileenumerator.h:
3330 * gio/gfileinputstream.h:
3331 * gio/gfilemonitor.c:
3332 * gio/gfileoutputstream.h:
3333 * gio/glocalfilemonitor.h:
3334 * gio/glocalfileoutputstream.h:
3335 * gio/gmemoryinputstream.c:
3336 * gio/gmemoryoutputstream.c:
3337 * gio/gmountoperation.c:
3338 * gio/goutputstream.c:
3339 * gio/goutputstream.h:
3341 * gio/gsimpleasyncresult.c:
3342 * gio/gunixmounts.c:
3343 * gio/gunixmounts.h:
3345 * gio/inotify/inotify-helper.c:
3346 Fix gtk-doc warnings
3348 Patch from Ross Burton
3350 2007-11-06 Alexander Larsson <alexl@redhat.com>
3352 * gio/gfilenamecompleter.c:
3353 (g_filename_completer_get_completions):
3356 * gio/gunixvolume.c:
3357 Remove unused function
3359 Patches from Ross Burton
3361 2007-11-06 Alexander Larsson <alexl@redhat.com>
3366 Padding not needed for interfaces
3368 2007-11-06 Alexander Larsson <alexl@redhat.com>
3370 * gio/gfilemonitor.c:
3374 Make giotypes.h an internal file
3377 * gio/gbufferedinputstream.h:
3378 * gio/gbufferedoutputstream.h:
3379 * gio/gcancellable.h:
3380 * gio/gdatainputstream.h:
3381 * gio/gdataoutputstream.h:
3382 * gio/gdirectorymonitor.c:
3383 * gio/gdirectorymonitor.h:
3388 * gio/gfileattribute.h:
3389 * gio/gfileenumerator.h:
3394 * gio/gfilemonitor.c:
3395 * gio/gfilemonitor.h:
3396 * gio/gfilenamecompleter.c:
3397 * gio/gfilenamecompleter.h:
3398 * gio/gfilterinputstream.h:
3399 * gio/gfilteroutputstream.h:
3400 * gio/ginputstream.h:
3401 * gio/gmemoryinputstream.h:
3402 * gio/gmemoryoutputstream.h:
3403 * gio/gmountoperation.c:
3404 * gio/gmountoperation.h:
3405 * gio/gnativevolumemonitor.c:
3406 * gio/goutputstream.h:
3409 * gio/gsimpleasyncresult.c:
3410 * gio/gsimpleasyncresult.h:
3411 * gio/gsocketinputstream.h:
3412 * gio/gsocketoutputstream.h:
3413 * gio/gthemedicon.c:
3414 * gio/gthemedicon.h:
3418 * gio/gvolumemonitor.c:
3419 * gio/gvolumemonitor.h:
3420 Add padding in classes where it seems useful
3421 Don't include giotypes.h from public headers
3422 Move in Class definitions into c file where possible
3427 2007-11-06 Alexander Larsson <alexl@redhat.com>
3429 * docs/reference/gio/gio-docs.xml:
3430 Better structure for API docs
3432 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3435 * gio/gloadableicon.c:
3436 * gio/gsimpleasyncresult.c:
3437 * gio/gthemedicon.c:
3438 Add some more guards to public functions. Only files missing are now
3441 2007-11-06 Alexander Larsson <alexl@redhat.com>
3443 * docs/reference/gio/gio-docs.xml:
3444 Remove old files, add missing ones
3446 2007-11-06 Alexander Larsson <alexl@redhat.com>
3448 * docs/reference/gio/gio-sections.txt:
3451 Hide implementation classes
3453 * gio/gdriveprivate.h:
3454 * gio/gvolumeprivate.h:
3455 Remove non-existing function declarations
3457 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3460 Fix compilation warnings and add guards to the new functions.
3462 * gio/gasyncresult.c:
3464 Add guards to the public functions.
3467 Implement get_path().
3469 2007-11-06 Alexander Larsson <alexl@redhat.com>
3471 * gio/gfilenamecompleter.c:
3472 Make g_filename_completer_get_completions
3473 return char ** instead of GList for
3476 * docs/reference/gio/gio-docs.xml:
3477 * docs/reference/gio/gio-sections.txt:
3479 * gio/gasyncresult.c:
3480 * gio/gbufferedinputstream.c:
3481 * gio/gbufferedoutputstream.c:
3482 * gio/gcancellable.c:
3483 * gio/gcontenttype.c:
3484 * gio/gdatainputstream.c:
3485 * gio/gdataoutputstream.c:
3486 * gio/gdesktopappinfo.c:
3487 * gio/gdirectorymonitor.c:
3491 * gio/gfileattribute.c:
3492 * gio/gfileenumerator.c:
3495 * gio/gfileinputstream.c:
3496 * gio/gfilemonitor.c:
3497 * gio/gfilenamecompleter.c:
3498 * gio/gfilenamecompleter.h:
3499 * gio/gfileoutputstream.c:
3500 * gio/gfilterinputstream.c:
3502 * gio/ginputstream.c:
3504 * gio/gioscheduler.c:
3505 * gio/gloadableicon.c:
3506 * gio/glocaldirectorymonitor.c:
3508 * gio/glocalfileinputstream.c:
3509 * gio/glocalfilemonitor.c:
3510 * gio/glocalfileoutputstream.c:
3512 * gio/gmemoryinputstream.c:
3513 * gio/gmemoryoutputstream.c:
3514 * gio/gmountoperation.c:
3515 * gio/goutputstream.c:
3516 * gio/gpollfilemonitor.c:
3518 * gio/gsimpleasyncresult.c:
3519 * gio/gsocketinputstream.c:
3520 * gio/gsocketoutputstream.c:
3521 * gio/gthemedicon.c:
3522 * gio/gunionvolumemonitor.c:
3524 * gio/gunixmounts.c:
3525 * gio/gunixvolume.c:
3526 * gio/gunixvolumemonitor.c:
3530 * gio/gvolumemonitor.c:
3531 * gio/gwin32appinfo.c:
3532 Add (mostly stub) doc strings to public functions.
3533 Patch from Andrew Walton (awalton@gmail.com)
3535 2007-11-06 Alexander Larsson <alexl@redhat.com>
3537 * gio/gappinfo.[ch]:
3538 Added GAppLaunchContext object and pass that to launch.
3539 This allows simple implementation of both
3540 launch-on-screen and startup notification via a gtk+
3541 subclass of GAppLaunchContext
3543 * gio/gdesktopappinfo.c:
3544 Implement GAppLaunchContext API
3546 * gio/gwin32appinfo.c:
3549 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3551 * gio/gmountoperation.c:
3552 Add some guards to GMountOperation's public functions.
3554 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3558 * gio/gcancellable.c:
3559 * gio/gdirectorymonitor.c:
3561 * gio/gfileenumerator.c:
3562 * gio/gfilemonitor.c:,
3563 * gio/gfilenamecompleter.c:
3566 * gio/gioscheduler.c:
3570 * gio/gvolumemonitor.c:
3571 Add even more guards to various public functions.
3573 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3576 Add guards to the public functions of GAppInfo.
3578 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3580 * gio/gcontenttype.c:
3581 Add some more guards for public functions.
3583 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3585 * gio/fam/fam-module.c:
3586 * gio/fam/gfamdirectorymonitor.c:
3587 * gio/fam/gfamdirectorymonitor.h:
3588 * gio/fam/gfamfilemonitor.c:
3589 * gio/fam/gfamfilemonitor.h:
3590 * gio/inotify/ginotifydirectorymonitor.c:
3591 * gio/inotify/ginotifydirectorymonitor.h:
3592 * gio/inotify/ginotifyfilemonitor.c:
3593 * gio/inotify/ginotifyfilemonitor.h:
3594 Add proper copyright information and remove an unused variable
3595 in the GInotifyFileMonitor constructor.
3597 * gio/gcancellable.c:
3598 Add a guard for a public function and an assertion to prevent
3599 an undefined program state.
3601 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3603 * gio/gfileattribute.c:
3604 Don't run into an assertion if the given attribute value is NULL
3605 in g_file_attribute_value_get_*() but instead return a fallback
3606 value that makes sense in most situations. Passing them a attribute
3607 value with the wrong type will still run into an assertion.
3609 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3611 * gio/gfileattribute.c:
3613 Add even more guards to the public functions. Also fix the refcounting
3614 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3615 let g_file_info_list_attributes() filter the attributes by namespace
3616 instead of simply ignoring the namespace parameter.
3618 2007-11-03 Sven Herzberg <sven@imendio.com>
3620 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3621 (This makes gio work on MacOS X again)
3623 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3626 Build the gio subdirectory before the docs. Otherwise the build will
3629 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3630 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3631 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3632 Add guards to the public functions.
3634 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3636 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3637 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3638 to prevent a compiler warning.
3640 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3641 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3642 return something in the non-void function find_topdir_for().
3644 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3651 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3653 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3654 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3655 * gwin32appinfo.c (g_win32_app_info_launch):
3656 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3657 envp_for_startup_id, g_desktop_app_info_launch,
3658 g_desktop_app_info_launch_uris):
3660 Give an opaque 'startup_id' string instead of 'envp'.
3661 Support empty file lists for launching new windows.
3662 Fix infinite recursion bug when launching URIs.
3664 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3667 Add guard to the new g_file_get_uri_scheme() function.
3669 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3672 Convert a g_return_val_if_fail() to setting the GError instead as
3673 otherwise applications have to verify the parameter before otherwise
3674 and the parameter might come directly from the user.
3676 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3678 * gio/inotify/ginotify*.[ch]:
3679 Add missing copyright information.
3681 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3684 Add guards in the beginning of public functions to check for valid
3685 parameters and fix a bug in copy_stream_with_progress() that could've
3686 caused writing less bytes than reading.
3687 * gio/glocalfileinfo.c:
3688 Check for a NULL parameter and set the GError accordingly then.
3689 * gio/goutputstream.c:
3690 Fix the same bug as in gfile.c that could've caused writing less bytes
3691 than reading in g_output_stream_real_splice().
3693 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3696 Use the correct gvolumeprivate.h naming
3698 2007-11-01 Christian Kellner <gicmo@gnome.org>
3701 Remove leftover "$(daemon_sources)" entry.
3703 2007-11-01 Christian Kellner <gicmo@gnome.org>
3708 Add copyright information to source files.
3710 2007-11-01 Alexander Larsson <alexl@redhat.com>
3714 Add g_file_get_uri_scheme
3716 2007-11-01 Alexander Larsson <alexl@redhat.com>
3719 * gio/gdesktopappinfo.c:
3720 * gio/gwin32appinfo.c:
3721 Add g_app_info_get_default_for_uri_scheme.
3723 2007-11-01 Alexander Larsson <alexl@redhat.com>
3726 Correct filename for gdriveprivate.h
3728 2007-10-31 Alexander Larsson <alexl@redhat.com>
3731 Rename id:value to id:file
3734 * gio/glocalfileinfo.c:
3737 2007-10-31 Alexander Larsson <alexl@redhat.com>
3739 * gio/gunixvolume.c:
3741 Remove g_volume_get_platform_id, as thats not
3742 needed with the simpler union volume monitor
3744 2007-10-31 Alexander Larsson <alexl@redhat.com>
3747 * gio/guniondrive.[ch]: Removed.
3748 * gio/gunionvolume.[ch]: Removed.
3749 Remove GUnionDrive/Volume
3751 * gio/gunionvolumemonitor.c:
3752 Simplify union volume monitor, now we
3753 only have one native volume monitor and
3754 we use the actual volumes/drives from the
3755 child monitors instead of wrapping them
3757 * gio/gnativevolumemonitor.[ch]:
3758 Base class for native volume monitors.
3759 Includes priority and get_volume_for_mountpoint
3762 Add g_file_find_enclosing_volume
3765 Remove volume name fs attribute
3766 Add readonly fs attribute
3769 Implement readonly attribute
3770 remove volume name attribute
3771 Implement find_enclosing volume
3773 * gio/gunixmounts.c:
3774 Add a volume for "/".
3776 * gio/gunixvolume.[ch]:
3777 Set better name for /
3779 * gio/gunixvolumemonitor.[ch]:
3780 Derive from GNativeVolumeMonitor
3781 Implement get_volume_for_mountpoint
3784 GVolume typedef moved to gfile.h
3786 * gio/gvolumeprivate.h:
3787 Add g_volume_get_for_mount_path
3789 2007-10-31 Alexander Larsson <alexl@redhat.com>
3791 * gio/gunixmounts.[ch]:
3792 Add cache info to unix mount listers
3793 Make getmntent use threadsafe
3794 Add is_system_internal attribute for GUnixMount
3796 * gio/gunixvolume.c:
3797 (g_unix_volume_new):
3798 Use is_system_internal instead of own code
3800 * gio/glocaldirectorymonitor.c:
3801 * gio/gunixvolumemonitor.c:
3802 Update to new gunixmounts API
3807 2007-10-30 Alexander Larsson <alexl@redhat.com>
3810 Add volume name fsinfo attribute
3813 Read volume name info
3815 * gio/gunionvolumemonitor.c:
3816 Fix infinite loops when finalizing a union volume monitor
3818 2007-10-30 Alexander Larsson <alexl@redhat.com>
3820 * gio/goutputstream.[ch]:
3821 Add splice() with default implementation
3823 * gio/gsocketoutputstream.c:
3824 (g_socket_output_stream_write):
3825 Return error on cancellation correctly.
3827 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3829 * gio/glocalfile.c (g_local_file_trash):
3830 Do not leak a string.
3832 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3834 * gio/gfile.c (g_file_load_contents):
3835 Unref the stream after closing it.
3837 2007-10-25 Alexander Larsson <alexl@redhat.com>
3839 * gio/gioscheduler.h:
3842 2007-10-25 Alexander Larsson <alexl@redhat.com>
3846 Add g_file_has_uri_scheme and implement for local files
3848 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3850 * gio/gdesktopappinfo.c: do not leak a string.
3852 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3854 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3855 (g_local_directory_monitor_new):
3856 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3857 (g_local_file_monitor_new):
3858 Only look for the monitor type that should be used the first time
3859 and use g_qsort_with_data() instead of our own bubble sort
3862 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3865 * gio/fam/Makefile.am:
3866 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3867 * gio/fam/fam-helper.h:
3868 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3869 * gio/fam/gfamdirectorymonitor.c:
3870 * gio/fam/gfamdirectorymonitor.h:
3871 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3872 * gio/fam/gfamfilemonitor.h:
3873 * gio/glocaldirectorymonitor.c:
3874 * gio/glocaldirectorymonitor.h:
3875 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3876 * gio/glocalfilemonitor.h:
3877 * gio/inotify/Makefile.am:
3878 * gio/inotify/ginotifydirectorymonitor.c:
3879 * gio/inotify/ginotifydirectorymonitor.h:
3880 * gio/inotify/ginotifyfilemonitor.c:
3881 * gio/inotify/ginotifyfilemonitor.h:
3882 Implement the FAM and Inotify monitors as
3883 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3884 their own GIO module. GLocal(Directory|File)Monitor will use the
3885 monitor with the highest rank that is supported on that machine.
3887 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3890 Change GIO module dir to $(libdir)/gio/modules and change
3891 the log domain from GVFS to GIO. Also only export symbols starting
3892 with g_ in the resulting library.
3893 * gio/test-streams.c: (main):
3894 Set log handler for the GIO log domain.
3896 2007-10-22 Alexander Larsson <alexl@redhat.com>
3898 * gio/gfilenamecompleter.[ch]:
3899 Add g_filename_completer_set_dirs_only
3901 2007-10-22 Alexander Larsson <alexl@redhat.com>
3904 * gio/gurifuncs.[ch]:
3905 Add some simple URI helpers
3907 * gio/gfilenamecompleter.[ch]:
3908 Added object for filename (parse name actually) completion
3911 Handle ~ in parse names
3913 2007-10-17 Alexander Larsson <alexl@redhat.com>
3916 * gio/glocalfileinfo.c:
3917 Add and implement id:value attribute
3919 2007-10-17 Alexander Larsson <alexl@redhat.com>
3922 * gio/guniondrive.c:
3924 Add and implement g_drive_has_volumes
3926 2007-10-17 Alexander Larsson <alexl@redhat.com>
3929 * gio/glocalfileinfo.[ch]:
3930 Add unix:is_mountpoint and implement for local files
3932 2007-10-16 Alexander Larsson <alexl@redhat.com>
3934 * gio/gunionvolumemonitor.c:
3935 (g_union_volume_monitor_init):
3936 Fix up the unix type getting so that it works with gcc
3938 2007-10-12 Alexander Larsson <alexl@redhat.com>
3941 * gio/glocalfileinfo.c:
3942 Add thumbnail:failed to file info
3944 2007-10-12 Richard Hult <richard@imendio.com>
3946 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3947 optimizing away the get_type call (happens with some gcc versions,
3948 like the one shipped with OS X 10.4).
3950 2007-10-12 Alexander Larsson <alexl@redhat.com>
3952 * gio/glocalfileinfo.c:
3953 (_g_local_file_info_set_attribute):
3954 Fix build if not HAVE_XATTR
3955 Patch from Milosz Derezynski <internalerror@gmail.com>
3957 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3959 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3960 around for review, otherwise I would have asked you before
3963 2007-10-11 Alexander Larsson <alexl@redhat.com>
3966 Add thumbnail:path attribute
3968 * gio/glocalfileinfo.c:
3969 Implement thumbnail:path for local files
3971 2007-10-11 Alexander Larsson <alexl@redhat.com>
3973 * gio/glocalfileinfo.c:
3974 (_g_local_file_info_get):
3975 Avoid duplicate icon names
3977 2007-10-11 Alexander Larsson <alexl@redhat.com>
3979 * gio/gthemedicon.[ch]:
3980 Change g_themed_icon_get_names return type to const
3982 2007-10-10 Alexander Larsson <alexl@redhat.com>
3984 * gio/glocalfileinfo.c:
3985 Don't reference freed memory
3987 2007-10-10 Alexander Larsson <alexl@redhat.com>
3989 * gio/gfileattribute.c:
3992 * gio/glocalfileinfo.c:
3995 2007-10-10 Alexander Larsson <alexl@redhat.com>
3998 Check for NULL icons
4000 * gio/gfileattribute.c:
4001 Don't dup when getting objects (same as for string attributes)
4003 * gio/gicon.c (g_icon_equal):
4004 Safely handle NULLs in equal
4006 2007-10-10 Alexander Larsson <alexl@redhat.com>
4009 Fix c++ compilation issues
4010 Patch from Milosz Derezynski <internalerror@gmail.com>
4012 2007-10-10 Alexander Larsson <alexl@redhat.com>
4014 * programs/gio-monitor-dir.c:
4015 Don't crash if dir monitor not supported.
4017 2007-10-09 Alexander Larsson <alexl@redhat.com>
4020 Add missing G_END_DECLS
4022 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4024 * gio/gfile.c: (g_file_set_display_name),
4025 (g_file_query_settable_attributes),
4026 (g_file_query_writable_namespaces):
4027 Return NULL not FALSE on errors as the return type is a pointer.
4029 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4031 * gio/glocalfile.c: (g_local_file_monitor_file):
4032 Don't call monitor_file on the default interface vtable (which
4033 is NULL) but simply return NULL. The caller, GFile, will create a
4034 polling monitor if NULL is returned.
4036 2007-10-09 Alexander Larsson <alexl@redhat.com>
4040 * gio-unix-2.0.pc.in:
4041 Add gio-unix-2.0.pc if OS_UNIX
4044 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4046 2007-10-09 Alexander Larsson <alexl@redhat.com>
4048 * gio/gunixmounts.[ch]:
4049 Make unix mount monitoring API sane.
4050 Now its just a object with mounts_changed
4051 and mountpoints_changed signals.
4053 * gio/glocaldirectorymonitor.c:
4054 * gio/gunixvolumemonitor.c:
4055 Use new mount monitor api
4057 2007-10-09 Alexander Larsson <alexl@redhat.com>
4059 * gio/gunixmounts.[ch]:
4060 Move guess type into one call for mounts and one for mountpoints
4063 * gio/gunixvolume.c:
4066 2007-10-09 Alexander Larsson <alexl@redhat.com>
4068 * gio/gunixmounts.[ch]:
4069 Remove _ prefix in preparation to make this semi-public
4070 Hide implementation of structs
4072 * gio/glocaldirectorymonitor.c:
4074 * gio/gunixvolume.c:
4075 * gio/gunixvolumemonitor.c:
4076 Update for above API changes
4078 2007-10-08 Alexander Larsson <alexl@redhat.com>
4081 Better polling fallback. This also handles the case where we have
4082 a monitor_file implementation, but it fails.
4084 2007-10-08 Alexander Larsson <alexl@redhat.com>
4088 * gio/gunixmounts.c:
4089 * programs/gio-monitor-dir.c:
4090 * programs/gio-monitor-file.c:
4091 Added cancellable to file monitoring calls.
4092 These are really sync calls and need this.
4094 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4096 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4097 (g_local_vfs_class_init):
4098 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4099 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4101 2007-10-05 Alexander Larsson <alexl@redhat.com>
4103 * gio/gdirectorymonitorprivate.h:
4104 * gio/gfilemonitorprivate.h:
4105 * gio/gdirectorymonitor.h:
4106 * gio/gfilemonitor.h:
4107 Remove *private.h and move to the public API, so that
4108 we can do implementations outside gio (such as in gvfs)
4110 * gio/gdirectorymonitor.c:
4111 * gio/gfilemonitor.c:
4112 * gio/glocaldirectorymonitor.c:
4113 * gio/gpollfilemonitor.c:
4114 * gio/inotify/inotify-helper.c:
4115 * gio/fam/fam-helper.c:
4116 Update to the new header names
4118 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4120 * gio/gdirectorymonitor.c:
4121 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4124 2007-10-04 Alexander Larsson <alexl@redhat.com>
4126 * gio/glocalfileinfo.c (get_access_rights):
4127 Set CAN_TRASH when we can move the file.
4128 We should really also check for a parent trash dir.
4130 2007-10-04 Alexander Larsson <alexl@redhat.com>
4132 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4133 Add can_trash access attribute
4135 2007-10-04 Alexander Larsson <alexl@redhat.com>
4138 (g_local_file_trash):
4139 Create info file first. This is per-spec and allows
4140 us to actually trash directories.
4142 2007-10-02 Alexander Larsson <alexl@redhat.com>
4144 * gio/gdesktopappinfo.c:
4145 Implement the new mime support code.
4146 Always set app as handling mimetype when being set as default for it
4148 2007-10-01 Alexander Larsson <alexl@redhat.com>
4150 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4151 Fix up check for xattrs:
4153 2007-10-01 Alexander Larsson <alexl@redhat.com>
4156 (g_app_info_set_as_default_for_extension):
4157 (g_app_info_add_supports_type):
4158 (g_app_info_can_remove_supports_type):
4159 (g_app_info_remove_supports_type):
4160 Make these fail nicely if not implemented
4162 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4164 * gio/glocalfileoutputstream.c:
4165 * gio/glocalfileoutputstream.h:
4170 * programs/gio-save.c:
4171 Add a GFileCreateFlags argument to operations that can create
4174 2007-10-01 Alexander Larsson <alexl@redhat.com>
4176 * gio/gappinfo.[ch]:
4177 * gio/gdesktopappinfo.c:
4178 Add more (stubbed out) mime API needed for nautilus
4180 2007-10-01 Alexander Larsson <alexl@redhat.com>
4183 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4184 Add g_app_info_set_as_default_for_extension.
4186 * gio/gdesktopappinfo.c:
4187 Dummy for g_app_info_set_as_default_for_extension
4188 Support flags in g_app_info_create_from_commandline
4190 * gio/gwin32appinfo.c:
4192 Update for API changes
4194 * gio/gthemedicon.c:
4195 Properly NULL-terminate list of icon names
4197 2007-09-28 Alexander Larsson <alexl@redhat.com>
4199 * gio/gloadableicon.h:
4200 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4202 2007-09-28 Alexander Larsson <alexl@redhat.com>
4205 Install headers in $includedir/gio-standalone/
4207 * gio-2.0.pc.in: Added.
4208 * gio-standalone.pc.in: Removed.
4211 Renamed pkg-config file to match glib (for future move)
4212 Update to the new include dir
4215 Add more TODO comments
4217 2007-09-28 Alexander Larsson <alexl@redhat.com>
4219 * gio/gdesktopappinfo.[ch]:
4220 Expose new_from_filename
4221 Add getter for is_hidden and handle it better
4223 2007-09-28 Alexander Larsson <alexl@redhat.com>
4225 * gio/gfileinfo.[ch]:
4226 Rename g_file_size_format_for_display to
4227 g_format_file_size_for_display.
4228 Now it doesn't have the g_file prefix, so we
4229 can later move it to glib.
4231 2007-09-28 Alexander Larsson <alexl@redhat.com>
4233 * gio/gappinfo.[ch]:
4234 Add g_app_info_get_id and g_app_info_get_executable.
4235 Make all getters non-reffing
4236 Make g_app_info_launch take GFile arguments.
4237 Add must_support_uris argument to g_app_info_get_default_for_type.
4239 * gio/gwin32appinfo.c:
4240 Update to GAppInfo api changes
4242 * gio/gdesktopappinfo.c:
4243 Update to GAppInfo api changes
4244 Implement supports_xdg_startup_notify
4246 * gio/gfileicon.c (g_file_icon_get_file):
4247 Make getter non-reffing.
4252 2007-09-27 Alexander Larsson <alexl@redhat.com>
4254 * gio/gfileinfo.[ch]:
4255 Add g_file_size_format_for_display helper
4257 2007-09-27 Alexander Larsson <alexl@redhat.com>
4259 * gio/glocalfileinfo.c:
4260 Set UNIX_GID from gid, not from uid
4262 2007-09-27 Alexander Larsson <alexl@redhat.com>
4265 Add g_file_set_attributes_async
4267 2007-09-27 Alexander Larsson <alexl@redhat.com>
4269 * gio/glocalfile.c (g_local_file_set_display_name):
4270 Fix set_display_name to actually rename to the right place.
4271 Use lstat to look for existing files so we don't overwrite
4274 2007-09-26 Alexander Larsson <alexl@redhat.com>
4277 Add g_file_set_display_name_async()
4279 2007-09-26 Alexander Larsson <alexl@redhat.com>
4282 Add load_partial_contents async calls
4285 Make internal function static
4287 2007-09-26 Alexander Larsson <alexl@redhat.com>
4289 * gio/glocalfileinfo.c:
4290 Correctly detect broken symlinks
4292 2007-09-26 Alexander Larsson <alexl@redhat.com>
4294 * gio/gcancellable.c (g_cancellable_cancel):
4295 Allow cancel on NULL cancellable
4297 2007-09-25 Alexander Larsson <alexl@redhat.com>
4299 * gio/gsimpleasyncresult.c:
4300 Don't allocate g_error manually.
4301 Fixes g_slice/g_new mixup crash
4303 2007-09-25 Alexander Larsson <alexl@redhat.com>
4305 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4306 Actually set active_backend.
4307 This means the monitor will be cancelled correctly.
4309 2007-09-25 Alexander Larsson <alexl@redhat.com>
4311 * gio/gdirectorymonitor.c:
4312 Set timeout to NULL when destroying
4314 2007-09-25 Alexander Larsson <alexl@redhat.com>
4317 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4318 that is a better description of the error.
4320 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4322 * gio/gvfs.c: (g_vfs_get_local):
4323 Make the local vfs variable static. The same instance should
4326 2007-09-24 Alexander Larsson <alexl@redhat.com>
4328 * gio/glocalfileinfo.c:
4329 Pass in actual length read into sniffer, not the length
4332 2007-09-21 Alexander Larsson <alexl@redhat.com>
4334 * gio/gfileenumerator.c:
4337 * gio/gfileinputstream.c:
4338 * gio/gfileoutputstream.c:
4339 * gio/ginputstream.c:
4340 * gio/goutputstream.c:
4341 Don't crash if async callbacks are NULL
4343 2007-09-20 Alexander Larsson <alexl@redhat.com>
4346 Add async enumerate_children method and default
4349 2007-09-20 Alexander Larsson <alexl@redhat.com>
4352 Add g_file_contains_file & g_file_get_relative_path, since they
4353 were needed for nautilus.
4354 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4359 Implement new methods
4361 2007-09-17 Alexander Larsson <alexl@redhat.com>
4364 * gio/gfileinputstream.[ch]:
4365 * gio/gfileoutputstream.[ch]:
4367 * gio/glocalfileenumerator.[ch]:
4368 * gio/glocalfileinfo.[ch]:
4369 * gio/glocalfileinputstream.c:
4370 * gio/glocalfileoutputstream.c:
4371 * gio/gpollfilemonitor.c:
4372 * programs/gio-copy.c:
4373 * programs/gio-info.c:
4374 * programs/gio-move.c:
4375 Rename get_file_info to query_info() to make it clearer
4376 that these are not simple getters, but do i/o.
4378 2007-09-17 Alexander Larsson <alexl@redhat.com>
4380 * gio/gdatainputstream.[ch]:
4381 * gio/test-streams.c:
4382 Use _read_XXX instead of _get_XXX for the i/o calls
4385 2007-09-17 Alexander Larsson <alexl@redhat.com>
4388 Added needed stuff to TODO comment
4390 2007-09-17 Alexander Larsson <alexl@redhat.com>
4392 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4393 Don't error out removing the backup copy if it doesn't
4396 2007-09-14 Alexander Larsson <alexl@redhat.com>
4398 * programs/Makefile.am:
4399 * programs/gvfs-*.c:
4401 Renamed apps from gvfs-xxx to gio-xxx.
4403 2007-09-14 Alexander Larsson <alexl@redhat.com>
4406 * gio/gfileoutputstream.[ch]:
4407 * gio/glocalfileoutputstream.c:
4408 * programs/gvfs-save.c:
4409 g_file_output_stream_get_etag doesn't do i/o, so remove
4410 cancellation and error.
4412 2007-09-14 Alexander Larsson <alexl@redhat.com>
4415 Add new_etag output to replace_contents functions
4417 2007-09-14 Alexander Larsson <alexl@redhat.com>
4419 * gio/gfileoutputstream.[ch]:
4420 Add async get_file_info and default implementation
4422 2007-09-14 Alexander Larsson <alexl@redhat.com>
4424 * gio/gfileinputstream.c:
4425 Implement fallback wrapper for async get_file_info
4427 2007-09-14 Alexander Larsson <alexl@redhat.com>
4430 Add etag out argument to load_contents
4435 2007-09-14 Alexander Larsson <alexl@redhat.com>
4437 * gio/gcontenttype.c (looks_like_text):
4438 Whitespace like tab, cr and lf do not make the
4441 2007-09-14 Alexander Larsson <alexl@redhat.com>
4443 * gio/gfileinputstream.[ch]:
4444 Add async get_file_info.
4446 2007-09-13 Alexander Larsson <alexl@redhat.com>
4448 * gio/goutputstream.c (g_output_stream_write_all):
4449 Allow NULL for bytes_written
4451 2007-09-13 Alexander Larsson <alexl@redhat.com>
4453 * gio/gmemoryinputstream.[ch]:
4454 Add accessors for data
4456 2007-09-13 Alexander Larsson <alexl@redhat.com>
4458 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4459 Don't crash if length is NULL