1 2008-06-28 Michael Natterer <mitch@imendio.com>
3 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
5 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
7 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
8 to avoid problems with partial icon themes.
10 2008-06-17 Hans Breuer <hans@breuer.org>
12 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
13 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
14 access again on win32, see bug #538127
15 * giomodule.c : ensure GWin32VolumeMonitor is registered
16 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
17 * Makefile.am makefile.msc : updated
19 2008-06-16 Hans Breuer <hans@breuer.org>
21 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
22 and initialization in one step avoids c99ism
24 2008-06-16 Christian Persch <chpe@gnome.org>
27 * gio/gbufferedinputstream.c
29 * gio/gdatainputstream.c
30 * gio/gdesktopappinfo.c
32 * gio/gfileenumerator.c
33 * gio/gfileinputstream.c
34 * gio/gfileoutputstream.c
36 * gio/glocaldirectorymonitor.c
38 * gio/glocalfileenumerator.c
39 * gio/glocalfileinfo.c
40 * gio/glocalfilemonitor.c
41 * gio/glocalfileoutputstream.c
42 * gio/gmemoryinputstream.c
43 * gio/gmemoryoutputstream.c
45 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
48 2008-06-16 Tor Lillqvist <tml@novell.com>
50 Bug 538362 - Get Win32 icons back in the file chooser
52 * gcontenttype.c (g_content_type_get_icon): Look up the icon
53 corresponding to a file extension in the Registry. Patch by Hans
55 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
57 2008-06-16 Tor Lillqvist <tml@novell.com>
59 Patches by Hans Breuer:
61 * glocalfile.c (is_xp_or_later): Handle compiling against older
62 SDK headers with missing VerifyVersionInfo(). Conditioned on
63 _MSC_VER, but should probably use some better test.
64 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
65 uninitialised statfs_result variable on Win32.
67 2008-06-16 Michael Natterer <mitch@imendio.com>
69 * *.c: chain up unconditionally in finalize() and dispose(). Also
70 don't dereference these function pointers when calling them since
71 that has no meaning at all.
73 2008-06-16 Ross Burton <ross@burtonini.com>
76 Remove check for dispose implementation as it annoys Emmanuele.
78 2008-06-16 Ross Burton <ross@burtonini.com>
80 Bug 536252 – GFileEnumerator should allow access to the containing
86 Add g_file_enumerator_get_container() and a container writeable
87 construct-only property. Also shuffle around typedefs to make it
90 * glocalfileenumerator.c:
91 * glocalfileenumerator.h:
93 Instead of a string filename take a GFile in the constructor and
94 use it to set the container property.
99 2008-06-16 Matthias Clasen <mclasen@redhat.com>
101 * gfile.c: Make includes more uniform
103 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
105 * tests/live-g-file.c (sample_struct):
106 Use less fancy unicode filenames, so the test doesn't fail
107 on Mac OS X (#531476).
109 2008-06-12 Matthias Clasen <mclasen@redhat.com>
111 * === Released 2.17.2 ===
113 2008-06-12 Matthias Clasen <mclasen@redhat.com>
115 * === Released 2.17.1 ===
117 2008-06-11 A. Walton <awalton@gnome.org>
119 * tests/g-file.c (test_g_file_new_null):
120 Fix broken test case.
122 2008-06-11 Matthias Clasen <mclasen@redhat.com>
124 * pltcheck.sh: We use g_clear_error now.
126 2008-06-11 Matthias Clasen <mclasen@redhat.com>
128 * glocalfile.c (g_local_file_enumerate_children): Revert
129 an unintended change.
131 2008-06-11 Matthias Clasen <mclasen@redhat.com>
133 * gfile.c (g_file_replace_contents): Don't unref before the last use.
135 2008-06-10 Matthias Clasen <mclasen@redhat.com>
137 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
140 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
141 as icon for the desktop directory, also make user-home and
142 user-desktop the preferred icons.
144 2008-06-10 Matthias Clasen <mclasen@redhat.com>
147 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
148 to add a name to the front of the list.
150 2008-06-10 Matthias Clasen <mclasen@redhat.com>
152 Bug 537392 – Additional colon in xattr name
154 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
155 too. Reported by Alessandro Morandi
157 2008-06-10 Matthias Clasen <mclasen@redhat.com>
159 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
162 * glocalfile.c (get_fs_type): Add afs and autofs.
163 Patch by Danny Baumann.
165 2008-06-10 Matthias Clasen <mclasen@redhat.com>
167 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
169 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
170 is no parent. (Owen Taylor, patch by Christian Neumair)
172 2008-06-10 Paolo Borelli <pborelli@katamail.com>
174 * gfile.c (g_file_replace_contents): do not leak the output stream.
176 2008-06-10 Michael Natterer <mitch@imendio.com>
178 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
179 uninitialized memory as array index.
181 2008-06-10 Tor Lillqvist <tml@novell.com>
183 * gcontenttype.c (g_content_type_can_be_executable)
184 (g_content_type_get_icon) [Win32]: Add TODO comments.
186 2008-06-09 Matthias Clasen <mclasen@redhat.com>
188 * xdgmime/Makefile.am: Fix the build
190 2008-06-09 Matthias Clasen <mclasen@redhat.com>
192 * gcontenttype.c (g_content_type_get_icon): Use icons specified
193 in the shared mime database, if available.
195 * xdgmime/*: Sync with upstream. This brings support for
196 glob weights, generic icons, and changes the cache format to
199 2008-05-28 Michael Natterer <mitch@imendio.com>
201 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
202 the global CPPFLAGS now.
204 * tests/data-input-stream.c
205 * tests/data-output-stream.c
206 * tests/g-file-info.c
208 * tests/live-g-file.c
209 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
211 2008-05-27 Matthias Clasen <mclasen@redhat.com>
213 * === Released 2.17.0 ===
215 * tests/live-g-file.c: Clean up after the tests, so make distcheck
216 doesn't complain about leftover files.
218 2008-05-27 simon.zheng <simon.zheng@sun.com>
220 * glocalfile.c: (g_local_file_query_filesystem_info):
221 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
223 2008-05-26 Michael Natterer <mitch@imendio.com>
225 * gmemoryoutputstream.h: declare
226 g_memory_output_stream_get_data_size().
228 2008-05-26 Matthias Clasen <mclasen@redhat.com>
230 * tests/*: Make tests work
232 2008-05-26 Matthias Clasen <mclasen@redhat.com>
234 * gio.symbols: Add g_memory_output_stream_get_data_size.
236 2008-05-25 Ross Burton <ross@burtonini.com>
239 Fix typo in error message (#534764).
241 2008-05-25 Ross Burton <ross@burtonini.com>
244 Fix circular dependency loop for gioenumtypes.h (#534759).
246 2008-05-19 Hans Breuer <hans@breuer.org>
248 * Makefile.am : EXTRA_DIST += makefile.msc
250 2008-05-17 Matthias Clasen <mclasen@redhat.com>
253 * gcontenttype.c: (g_content_type_from_mime_type):
254 New function to create a content type from a mime type. (#527175,
257 2008-05-17 Matthias Clasen <mclasen@redhat.com>
259 Bug 532965 – Should not return filesystem::free for certain file systems
261 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
262 free space for ncpfs.
264 2008-05-17 Matthias Clasen <mclasen@redhat.com>
266 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
268 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
269 st_dev might be zero.
271 2008-05-16 Tor Lillqvist <tml@novell.com>
273 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
274 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
276 2008-05-13 Bastien Nocera <hadess@hadess.net>
278 * gfile.c (has_valid_scheme): A URI scheme must start with a
279 letter, even if later more characters are allowed (#532852)
281 2008-05-05 Michael Natterer <mitch@imendio.com>
283 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
284 code from being checked in that breaks the build of applications
285 which use G_DISABLE_SINGLE_INCLUDES.
287 * makegioalias.pl: make the alias file include "glib.h" instead of
290 * gio.symbols: whitespace change to force regeneration of the
291 alias file after above script change.
293 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
295 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
297 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
299 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
301 2008-04-28 David Zeuthen <davidz@redhat.com>
303 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
304 displaying mounts in a subdirectory not accessible to the
307 2008-04-22 Michael Natterer <mitch@imendio.com>
309 * Makefile.am: fix library versioning (it was 0.0.0).
311 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
313 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
314 Default disable all loggings.
315 * fen/fen-kernel.c: (printevent), (port_add_kevent),
316 (port_fetch_event_cb): Fixed two macro nits.
318 2008-04-16 Matthias Clasen <mclasen@redhat.com>
320 * xdgmime/xdgmime.c: Rework the timestamp checking code
321 to protect against duplicate directories in XDG_DATA_DIRS.
322 Fixes fd.o bug 12513, reported by Joe Shaw.
324 2008-04-16 Matthias Clasen <mclasen@redhat.com>
326 Partically revert the last commit after realizing that
327 xdg_mime_media_type_equal doesn't have to init at all.
330 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
332 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
334 2008-04-16 Matthias Clasen <mclasen@redhat.com>
336 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
337 reported by Joe Shaw and Federico Mena Quintero.
339 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
340 (xdg_mime_media_type_equal): Turn into a wrapper around the
343 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
344 functions throughout.
346 2008-04-16 Michael Meeks <michael.meeks@novell.com>
348 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
349 tolerate an empty TryExec= line without failing; nautilus used
350 to create launchers with these in previous versions. Fixes #528433
352 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
354 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
355 after name. Fixes #527132.
357 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
359 * gfile.c: (g_file_replace):
362 2008-04-07 Matthias Clasen <mclasen@redhat.com>
364 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
366 * gfile.c (file_copy_fallback): Fix the argument order. Patch
367 by Christian Kellner.
369 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
371 * gunixmounts.c: (g_unix_mount_guess_should_display):
372 Don't list the user directory as a mount, fix potential issue
373 when other users have a similar naming and don't special case the
374 gvfs mounts there since that's not required (#525866)
376 2008-03-31 Alexander Larsson <alexl@redhat.com>
378 * glocalfile.c (get_parent):
381 2008-03-31 A. Walton <awalton@svn.gnome.org>
383 * gfile.c (g_file_query_file_type):
384 Always return a GFileType enum value (#520715).
386 2008-03-31 Alexander Larsson <alexl@redhat.com>
388 * glocalfileenumerator.c:
389 Read readdir() info in chunks (of 1000) and sort
390 the chunks by inode before stat:ing.
391 This is a 20% performance increase in testing
392 gvfs-ls on /usr/bin with cold cache.
394 2008-03-31 Alexander Larsson <alexl@redhat.com>
396 * gmemoryoutputstream.c:
397 Clarify docs for g_memory_output_stream_get_size.
398 Add g_memory_output_stream_get_data_size.
400 2008-03-30 Matthias Clasen <mclasen@redhat.com>
404 * gfile.h: Add g_file_query_file_type convenience function
405 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
407 2008-03-30 Matthias Clasen <mclasen@redhat.com>
410 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
412 2008-03-28 A. Walton <awalton@svn.gnome.org>
414 * giomodule.c (_g_io_modules_ensure_loaded):
415 Adds GIO_EXTRA_MODULES environment variable support, closing bug
418 2008-03-28 Alexander Larsson <alexl@redhat.com>
421 (copy_stream_with_progress):
424 2008-03-28 Alexander Larsson <alexl@redhat.com>
427 (copy_stream_with_progress):
428 (file_copy_fallback):
429 Fallback to g_file_query_info for source size
430 if g_file_input_stream_query_info fails. (#524579)
432 2008-03-28 Alexander Larsson <alexl@redhat.com>
434 * glocalfile.c (g_local_file_move):
435 Reuse old string instead of adding new one.
437 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
439 * fen/*.[hc]: still copyright issue. I hate copyright.
441 2008-03-27 Alexander Larsson <alexl@redhat.com>
443 * glocalfile.c (g_local_file_move):
444 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
445 file over directory. This is according to the docs and what the move via
446 copy+remove fallback does.
448 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
450 * fen/*.[hc]: Updated copyright.
452 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
454 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
456 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
458 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
459 not emit attribute changed events when optimizing changed events.
460 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
463 2008-03-19 Matthias Clasen <mclasen@redhat.com>
465 * gmountoperation.[hc]: Small documentation additions
467 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
469 * gunixmounts.c: (guess_mount_type):
470 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
472 2008-03-19 Alexander Larsson <alexl@redhat.com>
475 (copy_stream_with_progress):
476 Bump block side for copy to 64k to minimize
477 overhead for low latency links. (#523015)
479 2008-03-16 Tor Lillqvist <tml@novell.com>
481 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
482 depend on gio.def on Windows.
484 2008-03-12 David Zeuthen <davidz@redhat.com>
488 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
490 2008-03-14 Alexander Larsson <alexl@redhat.com>
494 Avoid redudant tests (#521851)
495 Patch from Josselin Mouette
497 2008-03-14 Alexander Larsson <alexl@redhat.com>
500 (g_file_monitor_is_cancelled):
501 Fix C89 issue (#521672)
502 Patch from Jens Granseuer
504 2008-03-14 Alexander Larsson <alexl@redhat.com>
506 * fam/fam-helper.[ch]:
508 Shut down fam (including removing fam GSource) when
509 module is unloaded (#521513)
510 Patch from Joe Marcus Clarke
512 2008-03-14 Alexander Larsson <alexl@redhat.com>
515 (_g_io_modules_ensure_loaded):
518 2008-03-14 Alexander Larsson <alexl@redhat.com>
521 (g_local_file_query_filesystem_info):
522 Use right define name for f_fstypename member check
524 2008-03-14 Alexander Larsson <alexl@redhat.com>
527 * fen/Makefile.am: Added.
528 * fen/fen-data.[ch]: Added.
529 * fen/fen-dump.[ch]: Added.
530 * fen/fen-helper.[ch]: Added.
531 * fen/fen-kernel.[ch]: Added.
532 * fen/fen-missing.[ch]: Added.
533 * fen/fen-node.[ch]: Added.
534 * fen/fen-sub.[ch]: Added.
535 * fen/gfendirectorymonitor.[ch]: Added.
536 * fen/gfenfilemonitor.[ch]: Added.
538 Added Solaris FEN file notification backend.
539 Patch from Lin Ma <Lin.Ma@Sun.COM>
541 2008-03-13 Tor Lillqvist <tml@novell.com>
543 * Makefile.am: Actually use the gio.def file when linking the
544 library on Windows. Produce .lib library for Microsoft's toolchain
545 when possible. Install the .lib and .def file like for the other
548 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
550 * tests/live-g-file.c:
551 Include live-g-file in standard set of tests, making a temporary
552 directory in source structure.
554 Clean target directory before the tests (write mode only)
556 2008-03-12 Tor Lillqvist <tml@novell.com>
558 Bug 517419 - gio win32 directory monitor
559 Implementation by Vlad Grecescu.
562 * win32/gwin32directorymonitor.h
563 * win32/gwin32directorymonitor.c: New files.
565 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
567 * Makefile.am: Add the win32 subdirectory.
569 2008-03-12 Tor Lillqvist <tml@novell.com>
571 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
572 normal struct stat on Unix but struct _stati64 on Windows to have
573 access to 64-bit file size information. Use that instead of struct
574 stat in the functions declared here in this private header.
576 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
577 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
578 warnings about unused functions and variables. Don't set
579 meaningless attributes like inode numbers on Windows.
581 2008-03-12 Benjamin Otte <otte@gnome.org>
584 trim whitespace so gtk-doc groks the function name
586 2008-03-12 Tor Lillqvist <tml@novell.com>
588 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
589 returning FALSE, on Win32.
591 2008-03-11 Alexander Larsson <alexl@redhat.com>
594 * glocalfileinfo.[ch]:
595 Correctly implement can_trash by actually
596 looking for a trash dir, not just assuming
599 2008-03-10 Matthias Clasen <mclasen@redhat.com>
601 * === Released 2.16.1 ===
603 2008-03-11 Alexander Larsson <alexl@redhat.com>
606 Fix crashes in new constructor and properties code
608 2008-03-10 Murray Cumming <murrayc@murrayc.com>
610 * gfile.c: Minor spelling correction in documentation:
611 existance -> existence.
613 2008-03-10 Matthias Clasen <mclasen@redhat.com>
615 * === Released 2.16.0 ===
617 2008-03-10 Matthias Clasen <mclasen@redhat.com>
619 * gio.symbols: Remove g_file_contains_file here, too.
621 2008-03-10 Matthias Clasen <mclasen@redhat.com>
623 * gthemedicon.c: Add properties to make bindings happy. (#517676,
624 Samuel Cormier-Iijima)
626 2008-03-08 Tor Lillqvist <tml@novell.com>
628 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
631 2008-03-07 Alexander Larsson <alexl@redhat.com>
634 (g_local_file_query_filesystem_info):
635 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
636 Patch from Jasper Lievisse Adriaanse
638 2008-03-06 Tor Lillqvist <tml@novell.com>
640 * gfileinfo.h: Correct milliseconds to microseconds in the doc
641 comments for the *_USEC attributes.
643 2008-03-06 Alexander Larsson <alexl@redhat.com>
645 * gfile.c (g_file_query_exists):
646 Add g_return_val_if_fail check (#520700)
648 2008-03-06 Alexander Larsson <alexl@redhat.com>
653 * gunionvolumemonitor.c:
656 * tests/live-g-file.c:
657 * xdgmime/xdgmimecache.c:
658 Fix sparse warnings (#519489)
660 2008-03-05 Alexander Larsson <alexl@redhat.com>
663 Make cancellation threadsafe (i.e.
664 guarantee its only done once, and always
667 * glocaldirectorymonitor.c:
668 Make sure we the monitor lives while the
669 mounts_changed callback is being called (#520484)
671 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
673 * gbufferedinputstream.c: Fix typo in parameter
676 2008-03-04 Alexander Larsson <alexl@redhat.com>
679 Remove deprecated symbols we kept for one release.
681 2008-03-04 Murray Cumming <murrayc@murrayc.com>
684 * goutputstream.c: Tiny documentation corrections.
686 2008-03-03 Alexander Larsson <alexl@redhat.com>
688 * gunionvolumemonitor.c:
690 Fix the adopt_orphan_mount vfunc to take a
691 volume_monitor reference in an ABI compat way.
692 This change is not API compat, but the added
693 arg is not used in the only user of this vfunc, so
694 all we get is a harmless warning in gvfs (#520169)
696 2008-03-01 Benjamin Otte <otte@gnome.org>
699 clarify docs for g_file_delete().
701 2008-02-29 Alexander Larsson <alexl@redhat.com>
705 Make sure empty files get text/plain type (#518720)
707 2008-02-27 Alexander Larsson <alexl@redhat.com>
713 (g_unix_volume_mount):
714 Add missing GMountMountFlags argument
716 2008-02-26 Alexander Larsson <alexl@redhat.com>
719 (g_local_file_delete):
720 Handle filesystems (like ntfs-3g) that return EEXIST instead
721 of ENOTEMPTY (#518816)
723 2008-02-25 Matthias Clasen <mclasen@redhat.com>
725 * === Released 2.15.6 ===
727 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
729 * gfile.c (g_file_find_enclosing_mount):
730 * ginputstream.c (g_input_stream_set_pending):
731 * glocalfile.c (g_local_file_find_enclosing_mount):
732 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
733 * goutputstream.c (g_output_stream_set_pending):
735 Fixup translator comments (#518578).
737 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
739 * gfile.c (g_file_find_enclosing_mount):
741 * glocalfile.c (g_local_file_find_enclosing_mount):
744 Fix a few typos in translator comments and documentation.
746 2008-02-25 Alexander Larsson <alexl@redhat.com>
753 Add translator comments (#518578)
755 2008-02-25 Alexander Larsson <alexl@redhat.com>
758 Reintroduce g_file_contains_file, keep around for one
759 unstable release cycle to avoid crashing to many apps.
760 Make sure to delete after release.
762 2008-02-25 Alexander Larsson <alexl@redhat.com>
765 Remove deprecated g_file_contains_file.
767 2008-02-25 Alexander Larsson <alexl@redhat.com>
770 Emit actual change signals in an idle handler.
771 This avoids reentrance and locking problems in
772 the file notification backends.
774 2008-02-25 Alexander Larsson <alexl@redhat.com>
777 (g_unix_mount_guess_should_display):
778 Remove type guessing, instead just display
779 mounts in /media and in ~/.
781 2008-02-25 Alexander Larsson <alexl@redhat.com>
784 Make new strings reuse old ones.
786 2008-02-25 Alexander Larsson <alexl@redhat.com>
789 Implement trashing and filesystem::readonly for win32 (#517235)
790 Patch from Yevgen Muntyan
792 2008-02-23 Matthias Clasen <mclasen@redhat.com>
794 * gfileinfo.h: Documentation fixes.
796 2008-02-22 Alexander Larsson <alexl@redhat.com>
798 * gcontenttype.c (g_content_type_get_icon):
799 Look at old-style gnome mime icon names too, as many
800 have not moved to the new style.
802 2008-02-21 Matthias Clasen <mclasen@redhat.com>
804 * *.c: Correct the @include in for section docs.
806 2008-02-21 David Zeuthen <davidz@redhat.com>
808 * glocalfileinfo.c: (_g_local_file_info_get):
810 (g_content_type_get_icon): Implement this function by
811 moving bits from glocalfileinfo.c
812 (g_content_type_get_description): Unalias before getting
813 description (#517687)
815 * gfile.c: (g_file_class_init),
816 (g_file_query_filesystem_info_async),
817 (g_file_query_filesystem_info_finish),
818 (query_filesystem_info_data_free),
819 (query_filesystem_info_async_thread),
820 (g_file_real_query_filesystem_info_async),
821 (g_file_real_query_filesystem_info_finish):
822 * gfile.h: Implement async version of
823 g_file_query_filesystem_info()
825 * gfileinfo.h: Add new attributes for filesystem::use-preview
827 * gio.symbols: Update
829 * gthemedicon.c: (g_themed_icon_append_name):
830 * gthemedicon.h: Add new new convenience function.
832 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
833 (get_mounts), (get_volumes), (get_connected_drives),
834 (get_volume_for_uuid), (get_mount_for_uuid),
835 (g_union_volume_monitor_init), (populate_union_monitor),
836 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
837 (g_volume_monitor_adopt_orphan_mount):
839 * gvolumemonitor.h: Use recursive locks so it's safe for volume
840 monitor implementations to call into the main volume monitor. Also
841 separate object initialization and volume monitor initialization
842 such that non-native volume monitors can properly adopt their
845 2008-02-21 Alexander Larsson <alexl@redhat.com>
850 2008-02-21 Alexander Larsson <alexl@redhat.com>
853 Add more documentation about how GFiles work (from #517086)
855 2008-02-21 Alexander Larsson <alexl@redhat.com>
859 Add new g_file_has_prefix that does the same as g_file_contains_file.
860 Deprecate g_file_contains_file and add a macro that converts
861 it to g_file_has_prefix.
862 The reason for this change is that the contains_file() name seems to
863 imply that this does more work than what it does, but its really only
864 a name match (from #517086)
869 Update to match the above change.
871 2008-02-20 Benjamin Otte <otte@gnome.org>
873 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
874 (g_file_eject_mountable):
875 even more cases of not returning in error path
877 2008-02-20 Benjamin Otte <otte@gnome.org>
879 * gfile.c: (g_file_mount_mountable):
880 return from function in error path.
882 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
885 Remove trailing coma in GMountMountFlags struct
887 2008-02-18 Alexander Larsson <alexl@redhat.com>
891 * glocalfileoutputstream.c:
892 Use g_unlink/g_rename instead of unlink/rename;
893 do not pass raw filenames to g_set_error. (#517239)
894 Patch from Yevgen Muntyan.
896 2008-02-18 Alexander Larsson <alexl@redhat.com>
899 * glocalfileoutputstream.c:
900 Open files with O_BINARY on windows. (#517140)
902 2008-02-14 Alexander Larsson <alexl@redhat.com>
904 * glocalfileoutputstream.c:
905 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
907 2008-02-14 Alexander Larsson <alexl@redhat.com>
910 Copy permissions with file on copy (#514084)
911 This is what cp does and makes sure e.g. the
912 exec permissions are kept.
913 Its kinda weird in that it keeps the permission bits
914 the same while the uid and gid are different. However
915 the new uid is the user so its not a security issue,
916 and I've heard no complaints about cp on this issue.
918 2008-02-13 Ryan Lortie <desrt@desrt.ca>
920 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
922 2008-02-13 Alexander Larsson <alexl@redhat.com>
924 * inotify/inotify-path.c:
925 Define IN_ONLYDIR if not in header (#515346)
927 2008-02-12 Alexander Larsson <alexl@redhat.com>
929 * tests/live-g-file.c:
932 2008-02-11 Matthias Clasen <mclasen@redhat.com>
934 * === Released 2.15.5 ===
936 2008-02-11 Matthias Clasen <mclasen@redhat.com>
938 * gio.symbols: Add g_mount_mount_flags_get_type.
940 2008-02-11 Alexander Larsson <alexl@redhat.com>
943 (g_file_info_set_attribute_mask):
944 (g_file_attribute_matcher_matches_id):
945 Correctly handle NULL GAttributeMatcher meaning
946 matches nothing. (Fixes #513492)
948 2008-02-11 Alexander Larsson <alexl@redhat.com>
953 Added GMountMountFlags enum and added a flags
954 argument to all mount calls.
956 This is an API/ABI change for future extensibility,
957 as I think we will need at least an
958 inhibit-autorun flag (the panel needs this).
959 There are no flags defined yet though.
961 2008-02-11 Alexander Larsson <alexl@redhat.com>
964 Added new standard::description attribute.
965 Requested by Vincent, and useful for both
968 2008-02-11 Alexander Larsson <alexl@redhat.com>
973 2008-02-11 Matthias Clasen <mclasen@redhat.com>
975 * *.c: Documentation additions
977 2008-02-10 Matthias Clasen <mclasen@redhat.com>
979 * gappinfo.h: Formatting cleanup
980 * gappinfo.c: Fix up docs.
982 2008-02-09 Matthias Clasen <mclasen@redhat.com>
984 * gunixmounts.c: Consistently use getmntent_r() and fall
985 back to getmntent(). (#515492)
987 2008-02-09 Matthias Clasen <mclasen@redhat.com>
989 * gbufferedinputstream.c:
991 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
993 * tests/data-input-stream.c:
994 * tests/data-output-stream.c: Portability fixes.
996 2008-02-08 Alexander Larsson <alexl@redhat.com>
1001 Add g_volume_should_automount.
1004 2008-02-07 Tor Lillqvist <tml@novell.com>
1006 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1007 Win32, too Unix-specific.
1009 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1011 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1012 a local plt if the compiler doesn't support what we want. Bug #514702
1014 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1016 reviewed by: <delete if not using a buddy>
1019 * gunixinputstream.c:
1020 * gunixoutputstream.c:
1022 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1024 * tests/Makefile.am:
1025 * tests/live-g-file.c:
1026 * tests/live-g-file.txt:
1027 New GIO testing module working over real data
1029 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1031 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1032 Fallback to rename() if link() is not available
1033 (when no support on target filesystem)
1035 2008-02-06 Michael Natterer <mitch@imendio.com>
1037 * gfileinfo.c (g_file_info_get_icon): replace
1038 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1040 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1042 * gfile.c (g_file_create):
1043 Documentation update of error codes
1045 2008-02-06 Alexander Larsson <alexl@redhat.com>
1047 * gdesktopappinfo.c:
1048 Update to use both mimeapps.list and
1049 defaults.list as discussed on xdg list.
1051 2008-02-06 Benjamin Otte <otte@gnome.org>
1054 * gfilenamecompleter.c:
1055 Fix some typos in the documentation.
1057 2008-02-06 Alexander Larsson <alexl@redhat.com>
1059 * glocalfile.c (g_local_file_trash):
1060 Don't succeed with trash if newly created
1061 trash dir has the wrong owner. (#514696)
1063 2008-02-05 Alexander Larsson <alexl@redhat.com>
1065 * glocalfile.c (g_local_file_move):
1066 Don't spew warnings when destination is not
1069 2008-02-03 Hans Breuer <hans@breuer.org>
1071 * makefile.msc : update
1073 2008-02-01 Michael Natterer <mitch@imendio.com>
1075 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1076 return value of xdg_mime_list_mime_parents() to a variable of the
1079 2008-02-01 Alexander Larsson <alexl@redhat.com>
1081 * gappinfo.c (g_app_info_launch_uris):
1082 Actually call the launch_uris method, not
1085 2008-02-01 Alexander Larsson <alexl@redhat.com>
1087 * gdesktopappinfo.c (g_desktop_app_info_equal):
1088 Ensure appinfos with no id but same pointer value
1091 2008-02-01 Alexander Larsson <alexl@redhat.com>
1093 * gappinfo.c (g_app_info_launch_default_for_uri):
1096 2008-02-01 Alexander Larsson <alexl@redhat.com>
1100 Add g_app_info_launch_default_for_uri utility
1103 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1105 * gdesktopappinfo.c:
1106 Doc fix for g_app_info_get_default_for_uri_scheme ()
1109 2008-01-30 Alexander Larsson <alexl@redhat.com>
1112 Add doc comment about uris vs GFiles to
1115 * gdesktopappinfo.c:
1116 Ensure uris passed to g_app_info_launch_uris()
1117 are not roundtriped through GFile (as that
1118 may be slightly destructive for e.g. mailto: links)
1120 2008-01-30 Alexander Larsson <alexl@redhat.com>
1122 * tests/data-input-stream.c:
1123 * tests/data-output-stream.c:
1124 C89 fixes from Jens Granseuer (#512849)
1126 2008-01-30 Alexander Larsson <alexl@redhat.com>
1129 Fix gamin/fam difference build issue. (#509419)
1131 2008-01-29 Alexander Larsson <alexl@redhat.com>
1134 * gdesktopappinfo.c:
1135 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1137 2008-01-29 Alexander Larsson <alexl@redhat.com>
1139 * gdesktopappinfo.c:
1140 * gdesktopappinfo.h:
1141 giomodule-priv.h include moved to .c file.
1143 2008-01-29 Alexander Larsson <alexl@redhat.com>
1145 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1146 Remove unused prio/name fields.
1148 2008-01-29 Alexander Larsson <alexl@redhat.com>
1150 * gcontenttype.c (looks_like_text):
1151 Don't treat whitespace as control chars.
1153 2008-01-29 Alexander Larsson <alexl@redhat.com>
1155 * gdesktopappinfo.c:
1156 Lazily create the desktop files for appinfos created
1157 by g_app_info_create_from_commandline() when needed
1158 for mime associations. This allows run-time use
1159 of GAppInfo object without creating unnecessary
1162 2008-01-29 Alexander Larsson <alexl@redhat.com>
1165 Added new symbols to gio.symbols
1167 2008-01-29 Alexander Larsson <alexl@redhat.com>
1170 Add g_file_query_default_handler utility to easily look up
1171 the GAppInfo that handles a file.
1173 * gdesktopappinfo.[ch]:
1175 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1178 Remove unused function
1180 2008-01-29 Alexander Larsson <alexl@redhat.com>
1182 * gfileenumerator.c:
1183 Mention need to free returned value in
1184 g_file_enumerator_next_files_finish docs.
1185 Fix leak if g_file_enumerator_next_files_finish()
1188 2008-01-29 Alexander Larsson <alexl@redhat.com>
1191 (_g_unix_content_type_get_parents):
1192 Use list_parents, not get_parents from xdgmime, because
1193 the later doesn't use the cache.
1195 * xdgmime/xdgmimecache.c:
1196 (_xdg_mime_cache_list_mime_parents):
1197 Don't list the same type as parent multiple times.
1199 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1201 * === Released 2.15.4 ===
1203 2008-01-28 Alexander Larsson <alexl@redhat.com>
1206 Register local vfs with prio 0.
1209 Remove old name and prio class members
1211 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1213 * tests/g-file.c: Disable some tests that are failing in
1214 the absence of a http backend.
1216 2008-01-28 Alexander Larsson <alexl@redhat.com>
1220 Add registration hooks for extension points.
1221 Register the gio extension points.
1223 * fam/gfamdirectorymonitor.c:
1224 * fam/gfamfilemonitor.c:
1225 * glocaldirectorymonitor.[ch]:
1226 * glocalfilemonitor.[ch]:
1227 * gnativevolumemonitor.h:
1228 * gunionvolumemonitor.c:
1229 * gunixvolumemonitor.c:
1232 * inotify/ginotifydirectorymonitor.c:
1233 * inotify/ginotifyfilemonitor.c:
1234 Use the extension points registration instead
1235 of g_type_children().
1237 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1240 * gvolume.[hc]: Document new API.
1242 * gfile.c (g_file_copy_async): Fix docs
1244 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1246 * gbufferedinputstream.c:
1248 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1251 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1253 * glocalfile.c: Avoid trivial differences in translatable strings.
1255 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1257 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1258 build with gcc 3.4 (#509419)
1260 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1262 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1263 (#509994, Murray Cumming)
1265 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1267 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1268 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1269 this allows big jobs to be executed in chunks, instead of blocking
1270 the main loop for a long time.
1272 * gsimpleasyncresult.c:
1273 * giofile.c: Adapt callers.
1275 2008-01-25 Alexander Larsson <alexl@redhat.com>
1277 * gdesktopappinfo.c:
1278 Implement changes discussed on xdg list.
1279 Now we can add supported mimetypes by just using defaults.list
1280 We can also remove associations in defaults.list.
1282 2008-01-25 Alexander Larsson <alexl@redhat.com>
1284 * gdesktopappinfo.c:
1285 Don't make local copy of desktop file
1286 for mimetype changes if the file already
1287 supports the new mimetype.
1289 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1293 * gbufferedinputstream.c:
1294 * glocalfile.c: String improvements. (#511966,
1295 Theppitak Karoonboonyanan)
1297 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1299 * gioscheduler.h: Expand docs a bit.
1301 2008-01-24 Alexander Larsson <alexl@redhat.com>
1304 Add g_drive_get_identifier and
1305 g_drive_enumerate_identifiers
1308 Add g_volume_get_identifier and
1309 g_volume_enumerate_identifiers
1315 Implement identifiers for unix backend
1317 2008-01-24 Alexander Larsson <alexl@redhat.com>
1322 Add g_file_copy_async() (#511580)
1323 Based on patch from Carlos Garcia Campos
1325 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1327 * gioscheduler.c: Some documentation additions.
1329 2008-01-22 Alexander Larsson <alexl@redhat.com>
1331 * gdesktopappinfo.c:
1332 (g_desktop_app_info_new):
1333 Don't leak basename.
1335 2008-01-22 Alexander Larsson <alexl@redhat.com>
1337 * gdesktopappinfo.c:
1338 (g_desktop_app_info_new_from_filename):
1341 2008-01-22 Alexander Larsson <alexl@redhat.com>
1343 * glocalfileinfo.c (get_thumbnail_attributes):
1346 2008-01-22 Alexander Larsson <alexl@redhat.com>
1349 (canonicalize_filename):
1350 Canonicalize paths that start with more than
1354 (compare_two_files):
1355 (test_g_file_new_for_path):
1358 2008-01-22 Alexander Larsson <alexl@redhat.com>
1361 Allow UTF-8 in file:// parse names.
1363 * tests/Makefile.am:
1364 * tests/data-input-stream.c:
1365 * tests/data-output-stream.c:
1366 * tests/g-file-info.c:
1368 Added a bunch of tests from Tomas Bzatek
1370 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1372 * === Released 2.15.3 ===
1374 2008-01-21 Alexander Larsson <alexl@redhat.com>
1376 * gfileinputstream.[ch]:
1377 * gfileoutputstream.[ch]:
1379 Remove duplicated GSeekable functions. (#509990)
1380 Just use the g_seekable_xxx() calls instead.
1382 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1385 * gvolumemanager.c: Whitespace cleanups.
1387 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1388 Use the right mode when creating the file.
1390 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1392 * gfileenumerator.c:
1393 * gfileinputstream.c:
1395 * goutputstream.c: Documentation: Fixed minor typos
1396 and added more mentions of specific _finish() functions.
1398 2008-01-21 Alexander Larsson <alexl@redhat.com>
1400 * inotify/Makefile.am:
1401 * inotify/inotify-helper.c:
1402 * inotify/inotify-kernel.c:
1403 * inotify/inotify-path.c:
1404 * inotify/local_inotify.h: Removed.
1405 * inotify/local_inotify_syscalls.h: Removed.
1406 Removed the included copies of the inotify
1407 headers. We now only use the <sys/inotify.h>
1408 header which exists on modern systems.
1409 This fixes problems on ARM and SH5 (#510448)
1410 but is also generally much cleaner and future
1411 safe. For instance, if other OSes add support
1412 for inotify it should "just work".
1414 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1416 * inotify/*.c: Coding style fixes.
1417 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1418 for the 1/4 Hz timer.
1420 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1423 * gfilemonitor.[hc]:
1424 * gmemoryinputstream.c:
1425 * gmemoryoutputstream.c:
1426 * gmountoperation.c:
1427 * gthemedicon.c: Documentation updates
1429 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1431 * gfile.c: documentation: Fixed more minor
1434 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1436 * gmount.c: (g_mount_remount): documentation:
1437 Mention g_mount_remount_finish() instead of
1438 g_mount_unmount_finish().
1440 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1444 * gfile.c: Fixed some minor typos in the
1447 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1449 * gio/gvolumemonitor.c:
1450 (g_volume_monitor_get_connected_drives):
1451 (g_volume_monitor_get_volumes):
1452 (g_volume_monitor_get_mounts): Documentation:
1453 Clarify the ownership of the regurn GLists.
1455 2008-01-17 Alexander Larsson <alexl@redhat.com>
1458 Add the async find_enclosing_mount version
1459 to the header file too.
1461 2008-01-17 Alexander Larsson <alexl@redhat.com>
1464 Add async version of find_enclosing_mount
1465 with default implementation.
1467 2008-01-17 Alexander Larsson <alexl@redhat.com>
1472 Allow calls to implementation of copy and write
1473 even if the type of the file implementations is
1474 different. This can be used to implement native
1475 upload and download calls in a vfs.
1478 (g_local_file_move):
1479 Protect against the case where move is called
1480 with one file not being local.
1482 Make sure we call the progress callback once
1483 in the native move operation so that the caller
1484 knows how many bytes were copied.
1486 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1489 * gdatainputstream.c:
1491 * gfileoutputstream.c:
1496 * gunixmounts.c: Corrected some typos in the documentation:
1497 occured -> occurred.
1498 its -> it's (where appropriate).
1500 2008-01-16 Alexander Larsson <alexl@redhat.com>
1504 Add g_file_query_exists (#508771)
1506 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1511 * gvolume.c: For async functions that have no non-async
1512 version, document that the GAsyncReadyCallback may be NULL.
1515 2008-01-15 Alexander Larsson <alexl@redhat.com>
1517 * gmemoryinputstream.c:
1518 * gmemoryoutputstream.c:
1519 Don't do pointer arithmetic on void * (#508602)
1520 Patch from Kazuki IWAMOTO
1522 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1524 * === Released 2.15.2 ===
1526 2008-01-14 Alexander Larsson <alexl@redhat.com>
1528 * gfile.c (g_file_monitor_file):
1529 Don't set error here, since we fallback to polling monitor.
1531 2008-01-14 Alexander Larsson <alexl@redhat.com>
1534 (g_file_monitor_directory):
1535 (g_file_monitor_file):
1536 Add GError to file monitor calls
1538 * glocaldirectorymonitor.c:
1539 * glocaldirectorymonitor.h:
1541 * glocalfilemonitor.c:
1542 * glocalfilemonitor.h:
1544 Update for above change
1546 2008-01-14 Alexander Larsson <alexl@redhat.com>
1550 Handle root correctly in g_file_get_relative_path (#508719)
1552 2008-01-14 Alexander Larsson <alexl@redhat.com>
1555 Clean up docs and example for GAsyncResult (#508074)
1557 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1559 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1560 and correct some spelling mistakes. Bug #508108.
1562 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1564 * glocalfileinfo.c: Add a comment.
1566 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1568 * gfileinfo.c: GFileInfo description: Mention
1569 how to actually set attributes in a GFile and how to discover
1570 which attributes are settable. Bug #508378.
1572 2008-01-10 A. Walton <awalton@svn.gnome.org>
1574 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1575 (g_app_info_get_default_for_type):
1576 Check for NULL content types.
1578 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1580 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1582 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1584 * gfile.c: *_async() functions: Several small corrections
1585 to the documentation, mostly correcting copy/paste errors
1586 and improving some sentences.
1588 2008-01-09 Dan Winship <danw@gnome.org>
1590 * glocalfile.c (get_unique_filename): x86_64 fix
1592 2008-01-09 Alexander Larsson <alexl@redhat.com>
1597 Add g_unix_mount_guess_should_display and use
1598 for unix volume monitor backend.
1599 This means we more or less show what the
1600 gnome-vfs backend did.
1601 Based on patch from Padraig O'Briain
1603 2008-01-09 Alexander Larsson <alexl@redhat.com>
1607 Add g_themed_icon_new_with_default_fallbacks
1610 Use default fallbacks for icons
1612 2008-01-09 Alexander Larsson <alexl@redhat.com>
1615 * gmountoperation.[ch]:
1616 Change the API a bit so that unhandled methods
1617 get reported via the reply, rather than by
1618 the signal emission return value. This is because
1619 some handlers can't know this immediately without
1620 doing I/O, and this is an async operation that
1623 2008-01-09 Alexander Larsson <alexl@redhat.com>
1626 * fam/gfamdirectorymonitor.c:
1627 * fam/gfamfilemonitor.c:
1628 Fix double free crash (#508224)
1629 Patch from Joe Marcus Clarke
1631 008-01-07 Matthias Clasen <mclasen@redhat.com>
1633 * === Released 2.15.1 ===
1635 2008-01-07 Alexander Larsson <alexl@redhat.com>
1637 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1638 Fix warning (#507835)
1640 2008-01-07 Alexander Larsson <alexl@redhat.com>
1643 Pass --internal to glib-genmarshal
1646 * gmountoperation.c:
1648 Use better types for signal arguments (#507822)
1650 2008-01-07 Alexander Larsson <alexl@redhat.com>
1653 Build test subdir after .
1654 Remove gdirectorymonitor.[ch]
1656 * gdirectorymonitor.[ch]:
1660 Remove GDirectoryMonitor and make
1661 GFileMonitor the baseclass for both file and
1662 directory monitors. Lift the more generic
1663 rate limiting code from GDirectoryMonitor
1667 * fam/gfamdirectorymonitor.[ch]:
1668 * inotify/ginotifydirectorymonitor.[ch]:
1669 * inotify/inotify-helper.c:
1670 * glocaldirectorymonitor.[ch]:
1673 Update for the removed GDirectoryMonitor.
1675 * gmemoryoutputstream.c:
1676 Remove ununsed variable
1678 2008-01-07 Alexander Larsson <alexl@redhat.com>
1680 * gmemoryinputstream.c:
1681 Translate error strings
1684 * gmemoryoutputstream.[ch]:
1685 New implementation that avoids using GByteArray
1686 in implementation and API. (#506377)
1688 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1690 * tests/*: Add a test for memory input streams.
1692 * Makefile.am: Add tests to SUBDIRS.
1694 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1696 * glocalfilemonitor.c:
1697 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1700 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1702 * gdesktopappinfo.c: Fix a docs typo.
1704 * gfileattribute.c: Add information about extended attributes
1705 to the documentation. (#505058)
1707 2008-01-04 Alexander Larsson <alexl@redhat.com>
1710 * gmountoperation.c:
1711 Use the right type (uint) for the ask_password signal.
1713 2008-01-04 Alexander Larsson <alexl@redhat.com>
1718 Add g_app_info_supports_files()
1719 Remove desktop arg from g_app_info_should_show().
1721 * gdesktopappinfo.[ch]:
1722 Implement g_app_info_supports_files() and new should_show()
1723 Add g_desktop_app_info_set_desktop_env() to set the desktop
1724 for should_show(). (This will be set by gtk+ later)
1726 2008-01-04 Alexander Larsson <alexl@redhat.com>
1729 * gmemoryinputstream.[ch]:
1730 Improve API so that you can use multiple chunks
1731 of memory and custom destroy functions. (#506374)
1733 2008-01-03 Alexander Larsson <alexl@redhat.com>
1736 Handle NULL attribute matchers safely, as we return this
1737 for empty attribute matcher strings.
1739 2008-01-03 Alexander Larsson <alexl@redhat.com>
1741 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1742 Add /usr/local to list of internal mountpoints
1744 2008-01-03 Alexander Larsson <alexl@redhat.com>
1747 Check for HAVE_LCHOWN (#505887)
1749 2008-01-03 Alexander Larsson <alexl@redhat.com>
1753 Add define for selinux context attribute.
1754 Fix missing : -> :: namespace separator change
1755 Fix missing _ -> - name change for xattr-sys.
1758 2008-01-03 Alexander Larsson <alexl@redhat.com>
1761 Link to libglib and libgobject directly (#504879)
1762 Patch from Sebastien Bacher
1764 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1766 * gfile.c: Expanded the g_file_new_for_commandline_arg
1767 description a bit, based on the code and the docs of the
1768 other g_file_new_for_* functions.
1770 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1772 * gfilemonitor.h: Fixed typo in docs.
1774 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1776 Updates to GIO documentation. (#506395, Mikael Hermansson)
1778 * gcontenttype.c: Describe memory management for return value of
1779 g_content_types_get_registered(). Missing piece from #505815.
1780 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1781 GVolume, GDrive, GMounts, which hopefully gives the user less
1782 confusions when using this API. Following explainations from
1783 Alexander Larsson on gtk-devel-list.
1785 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1787 * gfileinfo.c: Expand the long description.
1789 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1792 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1793 fix builds with --disable-visibility. (#500273, Christian Persch)
1795 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1797 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1798 in the list of returned app infos.
1800 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1802 * gappinfo.c: Fix a cross-reference
1804 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1806 * gfileinputstream.c:
1807 * gfileoutputstream.c:
1811 * gdesktopappinfo.c:
1813 * gfileinfo.c: Documentation updates.
1815 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1817 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1820 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1822 * gcontenttype.c (g_content_types_get_registered): Don't return
1823 freed memory (#505815, Mikael Hermansson)
1825 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1827 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1828 used to detect statbuf->st_blocks. (#505042)
1830 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1832 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1833 environment handling. (#504829, Cosimo Cecchi)
1835 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1837 * gappinfo.c: Doc improvements
1839 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1842 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1844 * === Released 2.15.0 ===
1846 2007-12-20 Hans Breuer <hans@breuer.org>
1848 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1849 with symbols gwin32appinfo.obj, added gmount.obj
1850 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1852 2007-12-20 Alexander Larsson <alexl@redhat.com>
1858 * gfilenamecompleter.c:
1861 * gpollfilemonitor.c:
1862 File attribute renames:
1864 fs:: -> filesystem::
1865 id::fs -> id::filesystem
1867 2007-12-20 Alexander Larsson <alexl@redhat.com>
1876 Add GMountUnmountFlags to all unmount and
1878 Add g_mount_remount() call.
1880 2007-12-20 Alexander Larsson <alexl@redhat.com>
1882 * gvfs.c (get_default_vfs):
1883 Fix unused variable warning
1885 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1887 * pltcheck.sh: Update
1889 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1891 * gunionvolumemonitor.c:
1892 * gunixmount.c: Remove C99 comments
1894 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1896 * gio.symbols: Add some missing symbols
1898 2007-12-19 Alexander Larsson <alexl@redhat.com>
1901 Make g_io_modules_load_all_in_directory not unuse
1902 loaded modules so that users of it can do stuff
1904 Init internal "module" types.
1905 Initialize static prio and name for types so that
1906 we don't have to load modules to get it.
1908 * gnativevolumemonitor.h:
1910 Move is_supported to parent class so that
1911 non-native monitors can avoid being initialized
1912 too. (For instance GDaemonVolumeMonitor if we're
1913 not using GDaemonVfs.)
1915 * glocaldirectorymonitor.[ch]:
1916 * glocalfilemonitor.[ch]:
1917 * gunionvolumemonitor.c:
1918 * gunixvolumemonitor.c:
1920 Find plugins using the static prio+name to
1921 avoid unnecessarily loading the modules.
1923 2007-12-19 Alexander Larsson <alexl@redhat.com>
1928 2007-12-19 Alexander Larsson <alexl@redhat.com>
1930 * gunionvolumemonitor.c:
1931 Store the native type as GType, not class so that
1932 we can unload it. But still avoid unnecessarily
1935 2007-12-19 David Zeuthen <davidz@redhat.com>
1937 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1938 add signals 'disconnected' and 'eject-button' on GDrive. Add
1939 signal 'removed' on GVolume and 'unmounted' on GMount.
1941 * gdrive.c: (g_drive_base_init):
1943 * gfile.c: (g_file_mount_mountable),
1944 (g_file_mount_enclosing_volume):
1947 * gmount.c: (g_mount_base_init):
1949 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1950 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1951 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1955 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1957 * *.c: Fix up includes in the section docs.
1959 2007-12-17 Alexander Larsson <alexl@redhat.com>
1961 * gnativevolumemonitor.h:
1962 * gunionvolumemonitor.c:
1963 * gunixvolumemonitor.c:
1964 Add is_supported() to GNativeVolumeMonitorClass so
1965 that we can avoid having to create an object to see
1966 if the backend is supported at runtime.
1967 Also add name member and an env var to pick a specific
1968 volume monitor backend.
1972 Add cancellable to _g_mount_get_for_mount_path()
1974 * glocaldirectorymonitor.c:
1975 * glocalfilemonitor.c:
1976 Avoid loading and unloading modules while sorting.
1978 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1981 * gunixmounts.[hc]: Namespace waste reduction, move some
1982 g_get_unix_mount functions to the g_unix_mount namespace.
1985 * gunixvolumemonitor.c:
1987 * glocaldirectorymonitor.c: Update all callers.
1989 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1991 2007-12-17 Alexander Larsson <alexl@redhat.com>
1994 Add doc comments about what GFile operations are
1995 guaranteed to not block.
1997 2007-12-17 Alexander Larsson <alexl@redhat.com>
2000 Add missing #ifdef fixing OSX build.
2001 (#503334, patch from Richard Hult)
2003 2007-12-14 David Zeuthen <davidz@redhat.com>
2007 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2008 (g_mount_eject), (g_mount_eject_finish):
2010 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2011 (get_volume_for_uuid), (get_mount_for_uuid),
2012 (g_union_volume_monitor_class_init),
2013 (get_default_native_type_with_exclude), (get_default_native_type),
2014 (get_native_type), (update_native_type),
2015 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2016 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2017 (g_unix_mount_can_eject), (eject_unmount_cb),
2018 (eject_unmount_read_error), (eject_unmount_do),
2019 (g_unix_mount_unmount), (g_unix_mount_eject),
2020 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2021 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2022 (g_unix_mount_point_guess_can_eject):
2024 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2025 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2026 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2027 (g_unix_volume_mount), (g_unix_volume_eject),
2028 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2029 * gunixvolumemonitor.c: (get_volume_for_uuid),
2030 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2032 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2033 (g_volume_eject), (g_volume_eject_finish):
2035 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2036 (g_volume_monitor_get_mount_for_uuid):
2039 Provide eject() on both GMount and GVolume and utility functions
2040 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2041 ejected. Introduce the concept of UUID's and wire it into GVolume
2042 and GMount and provide API on GVolumeMonitor to find such
2043 instances. Also handle the case where an external
2044 GNativeVolumeMonitor fails to initialize. Lock around the
2045 _g_get_mount_for_mount_path() function such that volume monitor
2046 implementations won't have to do locking themselves.
2048 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2050 * gdesktopappinfo.c:
2056 * gvolume.h: Documentation updates
2058 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2061 * gfile.h: Doc updates
2063 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2066 * gdesktopappinfo.c: Use hash table iterators.
2068 2007-12-14 Alexander Larsson <alexl@redhat.com>
2071 * gfileattribute.[ch]:
2072 * gfileattribute-priv.h:
2073 Move GFileAttributeValue to a private header, as
2077 Make set_attribute take a type + a pointer instead
2078 of a GFileAttributeValue.
2081 Fix up for above changes.
2082 Add g_file_info_get_attribute_data to get
2083 all info in one call, g_file_info_get_attribute_status
2084 to get the status and g_file_info_get_attribute_as_string.
2088 * glocalfileinfo.[ch]:
2092 Make _guess_type static.
2094 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2097 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2098 made mkenums and friends use temporary files to avoid leaving
2099 empty generated files on failure (#503470).
2101 2007-12-14 Alexander Larsson <alexl@redhat.com>
2103 * gmountoperation.h:
2106 2007-12-14 Alexander Larsson <alexl@redhat.com>
2110 * gfileattribute.[ch]:
2113 * glocalfileoutputstream.c:
2114 * gmountoperation.[ch]:
2115 * goutputstream.[ch]:
2116 Clean up all flags enums to not have _FLAGS in them
2117 Make the names of some of the enums better.
2122 2007-12-14 Michael Natterer <mitch@imendio.com>
2124 * gio.symbols: fix g_io_scheduler symbol names.
2126 2007-12-14 Alexander Larsson <alexl@redhat.com>
2132 * gbufferedinputstream.h:
2133 * gbufferedoutputstream.h:
2136 * gdatainputstream.h:
2137 * gdataoutputstream.h:
2138 * gdesktopappinfo.h:
2139 * gdirectorymonitor.h:
2143 * gfileenumerator.h:
2146 * gfileinputstream.h:
2148 * gfilenamecompleter.h:
2149 * gfileoutputstream.h:
2150 * gfilterinputstream.h:
2151 * gfilteroutputstream.h:
2159 * gmemoryinputstream.h:
2160 * gmemoryoutputstream.h:
2162 * gmountoperation.h:
2165 * gsimpleasyncresult.h:
2167 * gunixinputstream.h:
2169 * gunixoutputstream.h:
2173 * inotify/Makefile.am:
2174 Only allow including <gio/gio.h> from apps
2176 2007-12-14 Alexander Larsson <alexl@redhat.com>
2178 * gioscheduler.[ch]:
2179 * gsimpleasyncresult.c:
2180 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2181 Split out the send_to_mainloop call into two versions instead
2182 of having the block argument.
2184 2007-12-13 Alexander Larsson <alexl@redhat.com>
2186 * gcancellable.[ch]:
2188 * gbufferedinputstream.c:
2189 * gfileenumerator.c:
2190 * gfileinputstream.c:
2191 * gfileoutputstream.c:
2195 g_push/pop_current_cancellable ->
2196 g_cancellable_push/pop_current
2198 2007-12-13 Alexander Larsson <alexl@redhat.com>
2202 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2204 2007-12-13 Alexander Larsson <alexl@redhat.com>
2206 * gmountoperation.h:
2207 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2209 2007-12-12 Alexander Larsson <alexl@redhat.com>
2212 Fix race condition when freeing proxy in
2213 g_io_job_send_to_mainloop().
2215 2007-12-12 Alexander Larsson <alexl@redhat.com>
2221 Make attribute namespace separator "::" instead of ":".
2222 Use - instead of _ as separator in attribute names.
2224 2007-12-12 Alexander Larsson <alexl@redhat.com>
2226 * gbufferedinputstream.h:
2227 * gbufferedoutputstream.h:
2228 * gdatainputstream.h:
2229 * gdataoutputstream.h:
2230 * gdirectorymonitor.h:
2231 * gfileenumerator.h:
2232 * gfileinputstream.h:
2234 * gfileoutputstream.h:
2235 * gfilterinputstream.h:
2236 * gfilteroutputstream.h:
2238 * glocalfileinputstream.h:
2239 * glocalfileoutputstream.h:
2240 * gmemoryinputstream.h:
2241 * gmemoryoutputstream.h:
2242 * gnativevolumemonitor.h:
2244 * gunixinputstream.h:
2245 * gunixoutputstream.h:
2248 s/parent/parent_instance/ in GObjects
2250 2007-12-12 Alexander Larsson <alexl@redhat.com>
2255 No need for padding for interfaces
2257 2007-12-12 Alexander Larsson <alexl@redhat.com>
2261 * gbufferedinputstream.c:
2262 * gbufferedoutputstream.c:
2265 * gdatainputstream.[ch]:
2266 * gdesktopappinfo.c:
2267 * gdirectorymonitor.c:
2269 * gfileattribute.[ch]:
2272 * gfileinputstream.h:
2273 * gfilemonitor.[ch]:
2274 * gfileoutputstream.[ch]:
2275 * gfilterinputstream.h:
2276 * gfilteroutputstream.h:
2279 * gloadableicon.[ch]:
2280 * gmemoryinputstream.c:
2281 * gmountoperation.c:
2283 Fix up a bunch of details in the docs.
2288 2007-12-11 David Zeuthen <davidz@redhat.com>
2290 Rework how volumes, drives and volume monitoring is
2291 done. Previosly the model was
2293 GDrive <1-1> GVolume
2295 where a GDrive instance represented a mount point and a GVolume
2296 instance represented a mounted file system. This patch changes it
2299 GDrive <1-N> GVolume <1-1> GMount
2301 where GMount now serves the purpose of the old GVolume and the new
2302 GVolume serves the purpose of the old GDrive. In addition the new
2303 GDrive interface is used to represent a collection of GVolume
2304 instances (typically partitions) and also contains utility to query
2305 the state of the physical drive the GDrive object represents (such
2306 as checking for media, polling the drive, ejecting the media etc.).
2308 Also implement mounting and unmounting in the Unix volume monitor
2309 backend. A subquent patch will introduce GDrive support for ejection
2313 * gdrive.c: (g_drive_is_media_check_automatic),
2314 (g_drive_is_media_removable), (g_drive_has_media),
2315 (g_drive_can_poll_for_media), (g_drive_eject),
2316 (g_drive_eject_finish), (g_drive_poll_for_media),
2317 (g_drive_poll_for_media_finish):
2319 * gfile.c: (g_file_find_enclosing_mount):
2322 * glocaldirectorymonitor.c:
2323 (g_local_directory_monitor_constructor), (mounts_changed):
2324 * glocalfile.c: (get_mount_info),
2325 (g_local_file_find_enclosing_mount),
2326 (g_local_file_file_iface_init):
2327 * gnativevolumemonitor.h:
2328 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2329 (get_connected_drives), (g_union_volume_monitor_class_init),
2330 (child_volume_added), (child_volume_removed),
2331 (child_volume_changed), (child_mount_added), (child_mount_removed),
2332 (child_mount_pre_unmount), (child_mount_changed),
2333 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2334 (g_union_volume_monitor_remove_monitor),
2335 (_g_mount_get_for_mount_path):
2336 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2337 (guess_system_internal), (_g_get_unix_mounts),
2338 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2339 (g_unix_mount_free), (g_unix_mount_compare),
2340 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2341 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2342 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2343 (type_to_icon), (g_unix_mount_guess_name),
2344 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2345 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2346 (_resolve_symlink), (_resolve_dev_root):
2348 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2349 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2350 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2351 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2352 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2353 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2354 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2355 (g_unix_volume_volume_iface_init):
2357 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2358 (get_mounts), (get_volumes), (get_connected_drives),
2359 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2360 (mountpoints_changed), (mounts_changed),
2361 (g_unix_volume_monitor_init),
2362 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2363 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2364 * gunixvolumemonitor.h:
2365 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2366 (g_volume_mount), (g_volume_mount_finish):
2368 * gvolumemonitor.c: (g_volume_monitor_class_init),
2369 (g_volume_monitor_get_connected_drives),
2370 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2373 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2375 * gmountoperation.h (GPasswordFlags): Close the gap
2377 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2379 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2381 * gdesktopappinfo.[hc]: Remove _-prefixes
2383 2007-12-10 Tor Lillqvist <tml@novell.com>
2385 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2388 2007-12-10 Alexander Larsson <alexl@redhat.com>
2390 * gfile.c (g_file_set_display_name):
2391 Don't hardcode '/' (#502727)
2393 2007-12-09 Hans Breuer <hans@breuer.org>
2395 * makefile.msc : follow lib naming convention
2396 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2397 for user and group name, tested with ../tests/gio-ls
2399 2007-12-09 A. Walton <awalton@svn.gnome.org>
2401 * gdesktopappinfo.c:
2407 * gfileenumerator.c:
2412 * gmemoryinputstream.c:
2413 * gmemoryoutputstream.c:
2415 * gsimpleasyncresult.c:
2416 More documentation cleanup and filling in missing information, bringing
2417 GIO to 99% symbol coverage.
2419 2007-12-08 Hans Breuer <hans@breuer.org>
2421 [gio compiles and links on win32, not sure how much already works]
2422 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2423 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2424 base on win32 API; prefer g_lstat() over lstat(); instead of
2425 localtime_r() use an all GLib implementation on win32;
2426 get_mount_info() still needs a win32 specifc implementation
2427 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2428 win32_get_file_user_info to get owner/group info without uid/gid
2429 * glocalfileinputstream.c : include <io.h> on win32
2430 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2431 definition, use g_win32_ftruncate() for G_OS_WIN32
2432 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2433 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2434 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2435 * makefile.msc : updated
2437 2007-12-07 Alexander Larsson <alexl@redhat.com>
2439 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2440 Avoid warning spew if error == NULL
2442 2007-12-07 Alexander Larsson <alexl@redhat.com>
2445 Update docs wrt etags
2447 2007-12-06 Alexander Larsson <alexl@redhat.com>
2450 Include sys/types.h for dev_t (#501919)
2452 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2456 Make abicheck and pltcheck pass.
2458 2007-12-05 Alexander Larsson <alexl@redhat.com>
2461 * giomodule-priv.h: Added.
2462 * glocaldirectorymonitor.c:
2463 * glocalfilemonitor.c:
2464 * gunionvolumemonitor.c:
2466 Actually add the declaration of _g_io_modules_ensure_loaded
2468 2007-12-05 Alexander Larsson <alexl@redhat.com>
2470 * gdatainputstream.c:
2475 * glocaldirectorymonitor.c:
2476 * glocalfilemonitor.c:
2477 * gunionvolumemonitor.c:
2479 Make g_io_modules_ensure_loaded a private function and
2480 don't pass in the dirname. This means we can do magic
2481 directory finding in the win32 version.
2482 Export the actual load-modules-in-directory code so that
2483 gvfs can reuse that.
2485 2007-12-05 Alexander Larsson <alexl@redhat.com>
2487 * gbufferedinputstream.c:
2488 * gbufferedoutputstream.c:
2491 * gfileenumerator.[ch]:
2492 * gfileinputstream.c:
2493 * gfileoutputstream.[ch]:
2494 * gfilterinputstream.c:
2495 * gfilteroutputstream.c:
2496 * ginputstream.[ch]:
2498 * glocalfileenumerator.c:
2499 * glocalfileinputstream.c:
2500 * glocalfileoutputstream.c:
2501 * gmemoryinputstream.c:
2502 * gmemoryoutputstream.c:
2503 * goutputstream.[ch]:
2506 * gunixinputstream.c:
2507 * gunixoutputstream.c:
2508 Rename all struct members named:
2509 read, write, close, truncate, or mount
2510 to foo_fn, as these are reserved names
2511 and could be defined as macros in libc.
2514 2007-12-04 Alexander Larsson <alexl@redhat.com>
2517 (g_output_stream_close):
2518 Only call flush if non-null.
2520 2007-11-30 Dan Winship <danw@gnome.org>
2522 * ginputstream.c (g_input_stream_set_pending): Make this take a
2523 GError and return a gboolean, and do the "outstanding operation"
2524 check (and the "stream is already closed" check) itself.
2525 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2527 * goutputstream.c (g_output_stream_set_pending)
2528 (g_output_stream_clear_pending): Likewise
2530 * gbufferedinputstream.c:
2531 * gfileinputstream.c:
2532 * gfileoutputstream.c: Update for that
2534 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2535 Like g_simple_async_report_error_in_idle, but takes a GError
2536 rather than building one.
2538 2007-11-30 Dan Winship <danw@gnome.org>
2540 * goutputstream.c: Don't cheat and unset the "pending" flag around
2541 inner calls. Instead, call the class method directly rather than
2542 the wrapper function that checks "pending"
2544 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2546 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2548 2007-12-03 Hans Breuer <hans@breuer.org>
2550 [start of port to win32/msvc]
2551 * gcancellable.c : HAVE_UNIST_H and _pipe()
2552 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2553 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2554 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2556 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2557 * glocalvfs.c : use HAVE_PWD_H
2558 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2559 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2560 * Makefile.am : added to EXTRA_DIST
2562 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2564 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2567 2007-12-03 Alexander Larsson <alexl@redhat.com>
2570 Handle OSX style xattrs API (#500506)
2572 2007-12-03 Alexander Larsson <alexl@redhat.com>
2576 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2578 2007-12-02 A. Walton <awalton@svn.gnome.org>
2582 Documentation accuracy fixes.
2584 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2586 * gioenumtypes.c.template: Fix typo.
2588 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2590 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2592 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2594 * gdirectorymonitor.c:
2595 * gfilemonitor.c: Add properties
2597 * gbufferedoutputstream.c: Don't mark buffer-size property
2600 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2602 * gbufferedoutputstream.c: Add auto-grow property.
2604 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2606 * *.c: Unify the capitalization of section headings.
2608 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2610 * gmountoperation.c: Add properties
2612 * gdatainputstream.c: Turn byte-order and newline-type into
2615 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2617 * gioenumtypes.[hc].template: Templates for enum registration
2619 * Makefile.am: Generate gioenumtypes.[hc]
2621 * gio.h: Include gioenumtypes.h
2623 * gfile.h: Add some explicit nicks.
2625 * gio.symbols: Add new symbols
2627 * pltcheck.sh: Adjust
2629 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2631 * *.c: Explain etags and link to the explanation
2633 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2635 * *.c: Explain I/O priority.
2637 * *.c: More coding style fixes.
2639 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2641 * gasyncresult.c: Add another paragraph to the intro,
2642 adjust coding style of example.
2644 2007-11-29 A. Walton <awalton@svn.gnome.org>
2647 Fixes unknown meaning in GAppLaunchContext docs.
2649 Clarify asynchronous ops.
2651 Fix entity tag docs.
2654 Provides missing gtk-doc section, fixes API docs slighly.
2655 * gsimpleasyncresult.c:
2656 Fill in missing info in docs.
2657 * gunixinputstream.c:
2658 * gunixoutputstream.c:
2659 Be more expressive in short description.
2661 Remove gtk-doc stubs for non-public API.
2663 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2665 * *.c: Coding style fixups
2667 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2669 * inotify/inotify-helper.c: Don't export the lock from libgio.
2671 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2674 * abicheck.sh: Fix copy-and-paste leftovers
2676 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2678 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2680 2007-11-28 Alexander Larsson <alexl@redhat.com>
2684 Removed unnecessary file
2686 * gdesktopappinfo.[ch]:
2689 * glocaldirectorymonitor.[ch]:
2691 * glocalfileenumerator.[ch]:
2692 * glocalfileinputstream.[ch]:
2693 * glocalfilemonitor.[ch]:
2694 * glocalfileoutputstream.[ch]:
2696 * gnativevolumemonitor.c:
2697 * gpollfilemonitor.[ch]:
2698 * gunionvolumemonitor.[ch]:
2701 * gunixvolumemonitor.[ch]:
2704 * inotify/ginotifydirectorymonitor.[ch]:
2705 * inotify/ginotifyfilemonitor.[ch]:
2706 * inotify/inotify-helper.c:
2707 Append _ to all internal functions
2711 Export symbols needed for modules
2713 2007-11-28 Alexander Larsson <alexl@redhat.com>
2716 * abicheck.sh: Added.
2717 * makegioalias.pl: Added.
2718 * pltcheck.sh: Added.
2719 * gio.symbols: Added.
2722 Initial work on adding symbol handling.
2725 Correct ifdef guard name
2728 * inotify/Makefile.am:
2729 * xdgmime/Makefile.am:
2730 Include toplevel Makefile.decl
2732 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2734 * gcontenttype.c: Move doc comments to the unix section.
2736 * *.[hc]: More trivial doc corrections.
2738 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2740 * gpollfilemonitor.c:
2744 * gdesktopappinfo.c:
2749 * gdatainputstream.c:
2750 * gdatainputstream.h:
2751 * gdataoutputstream.c:
2752 * gdataoutputstream.h:
2753 * gfileinfo.h: Doc cleanups
2755 2007-11-28 Andre Klapper <a9016009@gmx.de>
2757 * gdesktopappinfo.c: Fix a typo.
2759 2007-11-27 Andre Klapper <a9016009@gmx.de>
2761 * glocalfileoutputstream.c: Fix a typo.
2763 2007-11-27 Alexander Larsson <alexl@redhat.com>
2766 Don't include removed headers
2768 2007-11-27 Alexander Larsson <alexl@redhat.com>
2771 * gsocketinputstream.[ch]: Removed.
2772 * gsocketoutputstream.[ch]: Removed.
2773 * gunixinputstream.[ch]: Added.
2774 * gunixoutputstream.[ch]: Added.
2775 Renamed GSocket*Stream to GUnix*Stream and made
2776 it unix-only, since its not really only for sockets
2777 and it only works on unix (but is highly useful there).
2779 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2785 * gbufferedinputstream.c:
2786 * gbufferedinputstream.h:
2787 * gbufferedoutputstream.c:
2788 * gbufferedoutputstream.h:
2792 * gdatainputstream.c:
2793 * gdatainputstream.h:
2794 * gdataoutputstream.c:
2795 * gdataoutputstream.h:
2796 * gdirectorymonitor.c:
2797 * gdirectorymonitor.h:
2804 * gfileenumerator.c:
2805 * gfileenumerator.h:
2810 * gfileinputstream.c:
2811 * gfileinputstream.h:
2814 * gfilenamecompleter.c:
2815 * gfilenamecompleter.h:
2816 * gfileoutputstream.c:
2817 * gfileoutputstream.h:
2818 * gfilterinputstream.c:
2819 * gfilterinputstream.h:
2820 * gfilteroutputstream.c:
2821 * gfilteroutputstream.h:
2834 * glocalfileoutputstream.c:
2835 * gmemoryinputstream.c:
2836 * gmemoryinputstream.h:
2837 * gmemoryoutputstream.c:
2838 * gmemoryoutputstream.h:
2839 * gmountoperation.c:
2840 * gmountoperation.h:
2843 * gpollfilemonitor.c:
2846 * gsimpleasyncresult.c:
2847 * gsimpleasyncresult.h:
2848 * gsocketinputstream.c:
2849 * gsocketinputstream.h:
2850 * gsocketoutputstream.c:
2851 * gsocketoutputstream.h:
2858 * gunixvolumemonitor.c:
2867 Bumps documentation to 93% symbol coverage, touching most
2868 of the public files. Fixes broken function documentation prototypes.
2869 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2870 gtk-doc headers in private files.
2872 2007-11-27 Jürg Billeter <j@bitron.ch>
2874 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2875 (g_buffered_input_stream_read_byte):
2876 * gbufferedinputstream.h:
2877 New functions for efficient access to buffer and simple single byte
2880 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2881 (g_data_input_stream_read_until):
2882 * gdatainputstream.h:
2883 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2884 read_until with multiple stop chars.
2886 2007-11-27 Alexander Larsson <alexl@redhat.com>
2890 * inotify/Makefile.am:
2891 Use the user-specified giomoduledir
2893 2007-11-27 Alexander Larsson <alexl@redhat.com>
2897 Add catch-all gio.h header
2898 Don't install gdummyfile.h
2900 2007-11-26 Alexander Larsson <alexl@redhat.com>
2902 * Makefile.am (gioinclude_HEADERS):
2903 Remove trailing whitespace
2905 2007-11-26 Alexander Larsson <alexl@redhat.com>
2907 Merge gio-standalone into glib
2909 2007-11-25 Christian Kellner <gicmo@gnome.org>
2911 * gio/goutputstream.c:
2912 Fix small mistake in the docs.
2914 2007-11-21 Christian Persch <chpe@gnome.org>
2916 * gio/glocalfile.c: (g_local_file_trash):
2917 Convert filenames to UTF-8 for GError.
2918 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2919 as per xdg base dir spec.
2921 2007-11-21 Christian Persch <chpe@gnome.org>
2923 * gio/gdesktopappinfo.c:
2924 Use that g_key_file_to_data cannot fail.
2926 Use stock defines for the key file group and key names.
2929 2007-11-21 Alexander Larsson <alexl@redhat.com>
2932 (copy_stream_with_progress):
2933 Make sure we do a final progress callback with
2934 the full total size.
2936 2007-11-21 Alexander Larsson <alexl@redhat.com>
2939 Export g_file_copy_attributes
2940 Remove padding as its not needed for interfaces
2942 2007-11-20 Alexander Larsson <alexl@redhat.com>
2947 Add G_IO_ERROR_WOULD_MERGE for
2948 copy/move dir on dir with overwrite.
2950 2007-11-20 Alexander Larsson <alexl@redhat.com>
2953 * gio/glocalfileinfo.c:
2954 Add COPY_NAME (this is an optional
2955 non-modified utf8 version of the name) that
2958 2007-11-20 Alexander Larsson <alexl@redhat.com>
2960 * gio/glocalfileenumerator.c:
2961 Report errors as GIOError, not GFileError
2963 2007-11-16 Alexander Larsson <alexl@redhat.com>
2965 * gio/glocalfileoutputstream.c:
2966 * gio/gwin32appinfo.c:
2967 Fix typos in strings.
2968 Patch from Luca Ferretti <elle.uca@libero.it>
2970 2007-11-15 Alexander Larsson <alexl@redhat.com>
2973 Post release version bump
2975 === gio-standalone 0.1.2 ===
2977 2007-11-15 Alexander Larsson <alexl@redhat.com>
2979 * docs/reference/gio/Makefile.am:
2980 Fix up distcheck by removing weird
2986 2007-11-14 Alexander Larsson <alexl@redhat.com>
2988 * gio/gdesktopappinfo.c:
2989 * gio/glocaldirectorymonitor.c:
2991 * gio/glocalfileinfo.c:
2992 * gio/inotify/inotify-sub.c:
2993 * programs/gio-cat.c:
2994 * programs/gio-copy.c:
2995 * programs/gio-info.c:
2996 * programs/gio-ls.c:
2997 * programs/gio-monitor-dir.c:
2998 * programs/gio-monitor-file.c:
2999 * programs/gio-mount.c:
3000 * programs/gio-move.c:
3001 * programs/gio-rm.c:
3002 * programs/gio-save.c:
3003 * programs/gio-trash.c:
3004 Leak fixes from Kjartan Maraas
3006 2007-11-14 Alexander Larsson <alexl@redhat.com>
3008 * gio/fam/fam-helper.c:
3010 * gio/glocalfileinfo.c:
3014 * gio/inotify/inotify-diag.c:
3015 * gio/inotify/inotify-kernel.c:
3016 Various code cleanups from Kjartan Maraas
3018 2007-11-14 Alexander Larsson <alexl@redhat.com>
3020 * gio/gioscheduler.c:
3022 Set up threadpool so that we cache 2 unused
3023 idle threads for at 15 secs. This means we
3024 will reuse thread-local data (like dbus connections)
3027 2007-11-14 Alexander Larsson <alexl@redhat.com>
3029 * gio/fam/fam-helper.c:
3030 * gio/fam/gfamdirectorymonitor.c:
3031 * gio/fam/gfamfilemonitor.c:
3033 * gio/gcontenttype.c:
3034 * gio/gdatainputstream.c:
3035 * gio/gdataoutputstream.c:
3039 * gio/gfileattribute.h:
3040 * gio/gfileenumerator.c:
3042 * gio/ginputstream.c:
3045 * gio/glocalfileinfo.c:
3046 * gio/goutputstream.c:
3047 * gio/gpollfilemonitor.c:
3048 * gio/gsimpleasyncresult.c:
3049 * gio/gunixmounts.c:
3050 * gio/gunixmounts.h:
3051 * gio/inotify/ginotifydirectorymonitor.c:
3052 * gio/inotify/ginotifyfilemonitor.c:
3053 * gio/inotify/inotify-diag.c:
3054 * gio/inotify/inotify-kernel.c:
3055 * gio/inotify/inotify-path.c:
3057 * gio/test-streams.c:
3058 * programs/gio-info.c:
3059 * programs/gio-monitor-dir.c:
3060 * programs/gio-monitor-file.c:
3061 Various code cleanups from Kjartan Maraas
3063 2007-11-13 Alexander Larsson <alexl@redhat.com>
3066 Handle the uri-scheme calls for dummy files
3068 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3070 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3071 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3072 to avoid clash with the C++ keyword.
3074 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3076 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3077 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3079 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3081 * gio/glocaldirectorymonitor.c:
3082 * gio/glocalfilemonitor.c:
3083 * gio/gunionvolumemonitor.c:
3084 Don't use g_once_init_*() for initializations that could fail and
3085 could leave the initialization variable set to 0 but use GOnce.
3086 This prevents a deadlock on the second call when trying to create
3087 a monitor and no monitor type is available. Thanks to Sven Herzberg
3090 2007-11-11 Sven Herzberg <sven@imendio.com>
3092 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3093 #ifdef (make it work on MacOS X again)
3095 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3097 Fixes Changelog for last two commits (sorry guys).
3099 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3101 * gio/gbufferedinputstream.c:
3102 * gio/gdatainputstream.c:
3104 * gio/gfileoutputstream.c:
3105 * gio/gfilterinputstream.c:
3106 * gio/glocalfileinputstream.c:
3109 More consistency fixes in g*stream.c files.
3110 Significant clean of gfile's documentation, filling in of
3111 asynchronous operations documentation.
3113 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3115 * gio/gasyncresult.c:
3116 * gio/gbufferedinputstream.c:
3117 * gio/gbufferedoutputstream.c:
3118 * gio/gcancellable.c:
3119 * gio/gcontenttype.c:
3120 * gio/gdatainputstream.c:
3121 * gio/gdataoutputstream.c:
3122 * gio/gdesktopappinfo.c:
3125 * gio/gfileattribute.c:
3126 * gio/gio/gfileenumerator.c:
3128 * gio/gfileinputstream.c:
3129 * gio/gfilemonitor.c:
3130 * gio/gfileoutputstream.c:
3131 * gio/ginputstream.c:
3133 * gio/gioscheduler.c:
3134 * gio/gloadableicon.c:
3135 * gio/glocalfileoutputstream.c:
3136 * gio/gmemoryoutputstream.c:
3137 * gio/gmountoperation.c:
3138 * gio/goutputstream.c:
3140 * gio/gsimpleasyncresult.c:
3141 * gio/gunionvolumemonitor.c:
3142 * gio/gunixmounts.c:
3143 * gio/gunixvolume.c:
3147 * gio/gvolumemonitor.c:
3148 Updated documentation stubs, working towards consistency and
3151 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3153 * gio/gmemoryoutputstream.c:
3154 * gio/gmemoryoutputstream.h:
3155 Change g_memory_output_stream_set_free_on_close() to
3156 g_memory_output_stream_set_free_data() as this makes more sense and
3157 is more consistent with GMemoryInputStream.
3159 2007-11-07 Alexander Larsson <alexl@redhat.com>
3166 Change how we find the default vfs so that
3167 we can handle a gvfs failing to init
3169 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3171 * gio/gbufferedoutputstream.c:
3172 * gio/gdatainputstream.c:
3173 * gio/gdataoutputstream.c:
3174 * gio/gfileinputstream.c:
3175 * gio/gfileoutputstream.c:
3176 * gio/gfilterinputstream.c:
3177 * gio/gfilteroutputstream.c:
3178 * gio/ginputstream.c:
3179 * gio/gmemoryinputstream.c:
3180 * gio/gmemoryoutputstream.c:
3181 * gio/goutputstream.c:
3182 * gio/gsimpleasyncresult.c:
3183 * gio/gsocketinputstream.c:
3184 * gio/gsocketoutputstream.c:
3185 Add guards to the remaining public functions, add a TODO for
3186 an unimplemented function and remove some useless guards.
3188 2007-11-07 Alexander Larsson <alexl@redhat.com>
3191 Autoconf checks for the various types of
3192 getpwuid_r and getgrgid_r
3194 * gio/glocalfileinfo.c:
3195 Use the autoconf checks from above
3197 2007-11-07 Alexander Larsson <alexl@redhat.com>
3200 (g_local_file_query_filesystem_info):
3201 Some fixes for the statvfs case
3203 2007-11-07 Alexander Larsson <alexl@redhat.com>
3206 (g_local_file_query_filesystem_info):
3207 Pick the "best" of statfs / statvfs for the system
3208 if both are availible.
3210 2007-11-07 Alexander Larsson <alexl@redhat.com>
3212 Solaris fixes from Halton.Huo@Sun.COM:
3219 * gio/glocalfileinfo.c:
3220 Fix for solaris definition of getpwuid_r
3222 * gio/test-streams.c:
3223 Use G_GNUC_PRETTY_FUNCTION
3225 2007-11-07 Alexander Larsson <alexl@redhat.com>
3227 * gio/gdesktopappinfo.c:
3228 (update_default_list):
3229 Remove double semicolon.
3230 Patch from Jens Granseuer
3232 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3234 * docs/reference/gio/gio-sections.txt:
3235 * gio/gbufferedinputstream.c:
3236 * gio/gbufferedinputstream.h:
3237 * gio/gdatainputstream.c:
3238 * gio/gfileenumerator.c:
3239 * gio/gioscheduler.c:
3240 * gio/gunionvolumemonitor.c:
3242 * programs/gio-save.c:
3243 Fix typo: availible -> available. Unfortuntely this breaks API
3244 and ABI as g_buffered_input_stream_get_available() was renamed.
3246 * gio/gunixmounts.c:
3247 * gio/gbufferedinputstream.c:
3248 Add guards for public functions.
3250 2007-11-06 Ross Burton <ross@openedhand.com>
3252 * docs/reference/gio/Makefile.am:
3253 Fix invalid += usage which automake 1.10 doesn't like.
3255 2007-11-06 Alexander Larsson <alexl@redhat.com>
3258 (g_app_launch_context_class_init):
3261 Patch from Ross Burton
3263 2007-11-06 Alexander Larsson <alexl@redhat.com>
3266 Post release version bump
3268 === gio-standalone 0.1.1 ===
3270 2007-11-06 Alexander Larsson <alexl@redhat.com>
3273 Bump version to 0.1.1
3275 * gio/gsimpleasyncresult.c:
3276 (g_simple_async_result_set_from_error):
3277 Remove bogus g_return_if_fail
3279 2007-11-06 Alexander Larsson <alexl@redhat.com>
3282 The name is gio-standalone
3285 Add top src/builddir to includedir
3287 2007-11-06 Alexander Larsson <alexl@redhat.com>
3289 * docs/reference/gio/gio-sections.txt:
3291 * gio/gbufferedinputstream.c:
3292 * gio/gbufferedoutputstream.c:
3293 * gio/gcancellable.c:
3294 * gio/gdatainputstream.h:
3295 * gio/gdataoutputstream.c:
3296 * gio/gdataoutputstream.h:
3297 * gio/gdirectorymonitor.c:
3299 * gio/gfileattribute.c:
3300 * gio/gfileattribute.h:
3301 * gio/gfileenumerator.c:
3302 * gio/gfileenumerator.h:
3305 * gio/gfileinputstream.h:
3306 * gio/gfilemonitor.c:
3307 * gio/gfileoutputstream.h:
3308 * gio/glocalfilemonitor.h:
3309 * gio/glocalfileoutputstream.h:
3310 * gio/gmemoryinputstream.c:
3311 * gio/gmemoryoutputstream.c:
3312 * gio/gmountoperation.c:
3313 * gio/goutputstream.c:
3314 * gio/goutputstream.h:
3316 * gio/gsimpleasyncresult.c:
3317 * gio/gunixmounts.c:
3318 * gio/gunixmounts.h:
3320 * gio/inotify/inotify-helper.c:
3321 Fix gtk-doc warnings
3323 Patch from Ross Burton
3325 2007-11-06 Alexander Larsson <alexl@redhat.com>
3327 * gio/gfilenamecompleter.c:
3328 (g_filename_completer_get_completions):
3331 * gio/gunixvolume.c:
3332 Remove unused function
3334 Patches from Ross Burton
3336 2007-11-06 Alexander Larsson <alexl@redhat.com>
3341 Padding not needed for interfaces
3343 2007-11-06 Alexander Larsson <alexl@redhat.com>
3345 * gio/gfilemonitor.c:
3349 Make giotypes.h an internal file
3352 * gio/gbufferedinputstream.h:
3353 * gio/gbufferedoutputstream.h:
3354 * gio/gcancellable.h:
3355 * gio/gdatainputstream.h:
3356 * gio/gdataoutputstream.h:
3357 * gio/gdirectorymonitor.c:
3358 * gio/gdirectorymonitor.h:
3363 * gio/gfileattribute.h:
3364 * gio/gfileenumerator.h:
3369 * gio/gfilemonitor.c:
3370 * gio/gfilemonitor.h:
3371 * gio/gfilenamecompleter.c:
3372 * gio/gfilenamecompleter.h:
3373 * gio/gfilterinputstream.h:
3374 * gio/gfilteroutputstream.h:
3375 * gio/ginputstream.h:
3376 * gio/gmemoryinputstream.h:
3377 * gio/gmemoryoutputstream.h:
3378 * gio/gmountoperation.c:
3379 * gio/gmountoperation.h:
3380 * gio/gnativevolumemonitor.c:
3381 * gio/goutputstream.h:
3384 * gio/gsimpleasyncresult.c:
3385 * gio/gsimpleasyncresult.h:
3386 * gio/gsocketinputstream.h:
3387 * gio/gsocketoutputstream.h:
3388 * gio/gthemedicon.c:
3389 * gio/gthemedicon.h:
3393 * gio/gvolumemonitor.c:
3394 * gio/gvolumemonitor.h:
3395 Add padding in classes where it seems useful
3396 Don't include giotypes.h from public headers
3397 Move in Class definitions into c file where possible
3402 2007-11-06 Alexander Larsson <alexl@redhat.com>
3404 * docs/reference/gio/gio-docs.xml:
3405 Better structure for API docs
3407 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3410 * gio/gloadableicon.c:
3411 * gio/gsimpleasyncresult.c:
3412 * gio/gthemedicon.c:
3413 Add some more guards to public functions. Only files missing are now
3416 2007-11-06 Alexander Larsson <alexl@redhat.com>
3418 * docs/reference/gio/gio-docs.xml:
3419 Remove old files, add missing ones
3421 2007-11-06 Alexander Larsson <alexl@redhat.com>
3423 * docs/reference/gio/gio-sections.txt:
3426 Hide implementation classes
3428 * gio/gdriveprivate.h:
3429 * gio/gvolumeprivate.h:
3430 Remove non-existing function declarations
3432 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3435 Fix compilation warnings and add guards to the new functions.
3437 * gio/gasyncresult.c:
3439 Add guards to the public functions.
3442 Implement get_path().
3444 2007-11-06 Alexander Larsson <alexl@redhat.com>
3446 * gio/gfilenamecompleter.c:
3447 Make g_filename_completer_get_completions
3448 return char ** instead of GList for
3451 * docs/reference/gio/gio-docs.xml:
3452 * docs/reference/gio/gio-sections.txt:
3454 * gio/gasyncresult.c:
3455 * gio/gbufferedinputstream.c:
3456 * gio/gbufferedoutputstream.c:
3457 * gio/gcancellable.c:
3458 * gio/gcontenttype.c:
3459 * gio/gdatainputstream.c:
3460 * gio/gdataoutputstream.c:
3461 * gio/gdesktopappinfo.c:
3462 * gio/gdirectorymonitor.c:
3466 * gio/gfileattribute.c:
3467 * gio/gfileenumerator.c:
3470 * gio/gfileinputstream.c:
3471 * gio/gfilemonitor.c:
3472 * gio/gfilenamecompleter.c:
3473 * gio/gfilenamecompleter.h:
3474 * gio/gfileoutputstream.c:
3475 * gio/gfilterinputstream.c:
3477 * gio/ginputstream.c:
3479 * gio/gioscheduler.c:
3480 * gio/gloadableicon.c:
3481 * gio/glocaldirectorymonitor.c:
3483 * gio/glocalfileinputstream.c:
3484 * gio/glocalfilemonitor.c:
3485 * gio/glocalfileoutputstream.c:
3487 * gio/gmemoryinputstream.c:
3488 * gio/gmemoryoutputstream.c:
3489 * gio/gmountoperation.c:
3490 * gio/goutputstream.c:
3491 * gio/gpollfilemonitor.c:
3493 * gio/gsimpleasyncresult.c:
3494 * gio/gsocketinputstream.c:
3495 * gio/gsocketoutputstream.c:
3496 * gio/gthemedicon.c:
3497 * gio/gunionvolumemonitor.c:
3499 * gio/gunixmounts.c:
3500 * gio/gunixvolume.c:
3501 * gio/gunixvolumemonitor.c:
3505 * gio/gvolumemonitor.c:
3506 * gio/gwin32appinfo.c:
3507 Add (mostly stub) doc strings to public functions.
3508 Patch from Andrew Walton (awalton@gmail.com)
3510 2007-11-06 Alexander Larsson <alexl@redhat.com>
3512 * gio/gappinfo.[ch]:
3513 Added GAppLaunchContext object and pass that to launch.
3514 This allows simple implementation of both
3515 launch-on-screen and startup notification via a gtk+
3516 subclass of GAppLaunchContext
3518 * gio/gdesktopappinfo.c:
3519 Implement GAppLaunchContext API
3521 * gio/gwin32appinfo.c:
3524 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3526 * gio/gmountoperation.c:
3527 Add some guards to GMountOperation's public functions.
3529 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3533 * gio/gcancellable.c:
3534 * gio/gdirectorymonitor.c:
3536 * gio/gfileenumerator.c:
3537 * gio/gfilemonitor.c:,
3538 * gio/gfilenamecompleter.c:
3541 * gio/gioscheduler.c:
3545 * gio/gvolumemonitor.c:
3546 Add even more guards to various public functions.
3548 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3551 Add guards to the public functions of GAppInfo.
3553 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3555 * gio/gcontenttype.c:
3556 Add some more guards for public functions.
3558 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3560 * gio/fam/fam-module.c:
3561 * gio/fam/gfamdirectorymonitor.c:
3562 * gio/fam/gfamdirectorymonitor.h:
3563 * gio/fam/gfamfilemonitor.c:
3564 * gio/fam/gfamfilemonitor.h:
3565 * gio/inotify/ginotifydirectorymonitor.c:
3566 * gio/inotify/ginotifydirectorymonitor.h:
3567 * gio/inotify/ginotifyfilemonitor.c:
3568 * gio/inotify/ginotifyfilemonitor.h:
3569 Add proper copyright information and remove an unused variable
3570 in the GInotifyFileMonitor constructor.
3572 * gio/gcancellable.c:
3573 Add a guard for a public function and an assertion to prevent
3574 an undefined program state.
3576 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3578 * gio/gfileattribute.c:
3579 Don't run into an assertion if the given attribute value is NULL
3580 in g_file_attribute_value_get_*() but instead return a fallback
3581 value that makes sense in most situations. Passing them a attribute
3582 value with the wrong type will still run into an assertion.
3584 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3586 * gio/gfileattribute.c:
3588 Add even more guards to the public functions. Also fix the refcounting
3589 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3590 let g_file_info_list_attributes() filter the attributes by namespace
3591 instead of simply ignoring the namespace parameter.
3593 2007-11-03 Sven Herzberg <sven@imendio.com>
3595 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3596 (This makes gio work on MacOS X again)
3598 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3601 Build the gio subdirectory before the docs. Otherwise the build will
3604 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3605 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3606 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3607 Add guards to the public functions.
3609 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3611 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3612 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3613 to prevent a compiler warning.
3615 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3616 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3617 return something in the non-void function find_topdir_for().
3619 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3626 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3628 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3629 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3630 * gwin32appinfo.c (g_win32_app_info_launch):
3631 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3632 envp_for_startup_id, g_desktop_app_info_launch,
3633 g_desktop_app_info_launch_uris):
3635 Give an opaque 'startup_id' string instead of 'envp'.
3636 Support empty file lists for launching new windows.
3637 Fix infinite recursion bug when launching URIs.
3639 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3642 Add guard to the new g_file_get_uri_scheme() function.
3644 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3647 Convert a g_return_val_if_fail() to setting the GError instead as
3648 otherwise applications have to verify the parameter before otherwise
3649 and the parameter might come directly from the user.
3651 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3653 * gio/inotify/ginotify*.[ch]:
3654 Add missing copyright information.
3656 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3659 Add guards in the beginning of public functions to check for valid
3660 parameters and fix a bug in copy_stream_with_progress() that could've
3661 caused writing less bytes than reading.
3662 * gio/glocalfileinfo.c:
3663 Check for a NULL parameter and set the GError accordingly then.
3664 * gio/goutputstream.c:
3665 Fix the same bug as in gfile.c that could've caused writing less bytes
3666 than reading in g_output_stream_real_splice().
3668 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3671 Use the correct gvolumeprivate.h naming
3673 2007-11-01 Christian Kellner <gicmo@gnome.org>
3676 Remove leftover "$(daemon_sources)" entry.
3678 2007-11-01 Christian Kellner <gicmo@gnome.org>
3683 Add copyright information to source files.
3685 2007-11-01 Alexander Larsson <alexl@redhat.com>
3689 Add g_file_get_uri_scheme
3691 2007-11-01 Alexander Larsson <alexl@redhat.com>
3694 * gio/gdesktopappinfo.c:
3695 * gio/gwin32appinfo.c:
3696 Add g_app_info_get_default_for_uri_scheme.
3698 2007-11-01 Alexander Larsson <alexl@redhat.com>
3701 Correct filename for gdriveprivate.h
3703 2007-10-31 Alexander Larsson <alexl@redhat.com>
3706 Rename id:value to id:file
3709 * gio/glocalfileinfo.c:
3712 2007-10-31 Alexander Larsson <alexl@redhat.com>
3714 * gio/gunixvolume.c:
3716 Remove g_volume_get_platform_id, as thats not
3717 needed with the simpler union volume monitor
3719 2007-10-31 Alexander Larsson <alexl@redhat.com>
3722 * gio/guniondrive.[ch]: Removed.
3723 * gio/gunionvolume.[ch]: Removed.
3724 Remove GUnionDrive/Volume
3726 * gio/gunionvolumemonitor.c:
3727 Simplify union volume monitor, now we
3728 only have one native volume monitor and
3729 we use the actual volumes/drives from the
3730 child monitors instead of wrapping them
3732 * gio/gnativevolumemonitor.[ch]:
3733 Base class for native volume monitors.
3734 Includes priority and get_volume_for_mountpoint
3737 Add g_file_find_enclosing_volume
3740 Remove volume name fs attribute
3741 Add readonly fs attribute
3744 Implement readonly attribute
3745 remove volume name attribute
3746 Implement find_enclosing volume
3748 * gio/gunixmounts.c:
3749 Add a volume for "/".
3751 * gio/gunixvolume.[ch]:
3752 Set better name for /
3754 * gio/gunixvolumemonitor.[ch]:
3755 Derive from GNativeVolumeMonitor
3756 Implement get_volume_for_mountpoint
3759 GVolume typedef moved to gfile.h
3761 * gio/gvolumeprivate.h:
3762 Add g_volume_get_for_mount_path
3764 2007-10-31 Alexander Larsson <alexl@redhat.com>
3766 * gio/gunixmounts.[ch]:
3767 Add cache info to unix mount listers
3768 Make getmntent use threadsafe
3769 Add is_system_internal attribute for GUnixMount
3771 * gio/gunixvolume.c:
3772 (g_unix_volume_new):
3773 Use is_system_internal instead of own code
3775 * gio/glocaldirectorymonitor.c:
3776 * gio/gunixvolumemonitor.c:
3777 Update to new gunixmounts API
3782 2007-10-30 Alexander Larsson <alexl@redhat.com>
3785 Add volume name fsinfo attribute
3788 Read volume name info
3790 * gio/gunionvolumemonitor.c:
3791 Fix infinite loops when finalizing a union volume monitor
3793 2007-10-30 Alexander Larsson <alexl@redhat.com>
3795 * gio/goutputstream.[ch]:
3796 Add splice() with default implementation
3798 * gio/gsocketoutputstream.c:
3799 (g_socket_output_stream_write):
3800 Return error on cancellation correctly.
3802 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3804 * gio/glocalfile.c (g_local_file_trash):
3805 Do not leak a string.
3807 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3809 * gio/gfile.c (g_file_load_contents):
3810 Unref the stream after closing it.
3812 2007-10-25 Alexander Larsson <alexl@redhat.com>
3814 * gio/gioscheduler.h:
3817 2007-10-25 Alexander Larsson <alexl@redhat.com>
3821 Add g_file_has_uri_scheme and implement for local files
3823 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3825 * gio/gdesktopappinfo.c: do not leak a string.
3827 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3829 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3830 (g_local_directory_monitor_new):
3831 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3832 (g_local_file_monitor_new):
3833 Only look for the monitor type that should be used the first time
3834 and use g_qsort_with_data() instead of our own bubble sort
3837 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3840 * gio/fam/Makefile.am:
3841 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3842 * gio/fam/fam-helper.h:
3843 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3844 * gio/fam/gfamdirectorymonitor.c:
3845 * gio/fam/gfamdirectorymonitor.h:
3846 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3847 * gio/fam/gfamfilemonitor.h:
3848 * gio/glocaldirectorymonitor.c:
3849 * gio/glocaldirectorymonitor.h:
3850 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3851 * gio/glocalfilemonitor.h:
3852 * gio/inotify/Makefile.am:
3853 * gio/inotify/ginotifydirectorymonitor.c:
3854 * gio/inotify/ginotifydirectorymonitor.h:
3855 * gio/inotify/ginotifyfilemonitor.c:
3856 * gio/inotify/ginotifyfilemonitor.h:
3857 Implement the FAM and Inotify monitors as
3858 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3859 their own GIO module. GLocal(Directory|File)Monitor will use the
3860 monitor with the highest rank that is supported on that machine.
3862 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3865 Change GIO module dir to $(libdir)/gio/modules and change
3866 the log domain from GVFS to GIO. Also only export symbols starting
3867 with g_ in the resulting library.
3868 * gio/test-streams.c: (main):
3869 Set log handler for the GIO log domain.
3871 2007-10-22 Alexander Larsson <alexl@redhat.com>
3873 * gio/gfilenamecompleter.[ch]:
3874 Add g_filename_completer_set_dirs_only
3876 2007-10-22 Alexander Larsson <alexl@redhat.com>
3879 * gio/gurifuncs.[ch]:
3880 Add some simple URI helpers
3882 * gio/gfilenamecompleter.[ch]:
3883 Added object for filename (parse name actually) completion
3886 Handle ~ in parse names
3888 2007-10-17 Alexander Larsson <alexl@redhat.com>
3891 * gio/glocalfileinfo.c:
3892 Add and implement id:value attribute
3894 2007-10-17 Alexander Larsson <alexl@redhat.com>
3897 * gio/guniondrive.c:
3899 Add and implement g_drive_has_volumes
3901 2007-10-17 Alexander Larsson <alexl@redhat.com>
3904 * gio/glocalfileinfo.[ch]:
3905 Add unix:is_mountpoint and implement for local files
3907 2007-10-16 Alexander Larsson <alexl@redhat.com>
3909 * gio/gunionvolumemonitor.c:
3910 (g_union_volume_monitor_init):
3911 Fix up the unix type getting so that it works with gcc
3913 2007-10-12 Alexander Larsson <alexl@redhat.com>
3916 * gio/glocalfileinfo.c:
3917 Add thumbnail:failed to file info
3919 2007-10-12 Richard Hult <richard@imendio.com>
3921 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3922 optimizing away the get_type call (happens with some gcc versions,
3923 like the one shipped with OS X 10.4).
3925 2007-10-12 Alexander Larsson <alexl@redhat.com>
3927 * gio/glocalfileinfo.c:
3928 (_g_local_file_info_set_attribute):
3929 Fix build if not HAVE_XATTR
3930 Patch from Milosz Derezynski <internalerror@gmail.com>
3932 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3934 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3935 around for review, otherwise I would have asked you before
3938 2007-10-11 Alexander Larsson <alexl@redhat.com>
3941 Add thumbnail:path attribute
3943 * gio/glocalfileinfo.c:
3944 Implement thumbnail:path for local files
3946 2007-10-11 Alexander Larsson <alexl@redhat.com>
3948 * gio/glocalfileinfo.c:
3949 (_g_local_file_info_get):
3950 Avoid duplicate icon names
3952 2007-10-11 Alexander Larsson <alexl@redhat.com>
3954 * gio/gthemedicon.[ch]:
3955 Change g_themed_icon_get_names return type to const
3957 2007-10-10 Alexander Larsson <alexl@redhat.com>
3959 * gio/glocalfileinfo.c:
3960 Don't reference freed memory
3962 2007-10-10 Alexander Larsson <alexl@redhat.com>
3964 * gio/gfileattribute.c:
3967 * gio/glocalfileinfo.c:
3970 2007-10-10 Alexander Larsson <alexl@redhat.com>
3973 Check for NULL icons
3975 * gio/gfileattribute.c:
3976 Don't dup when getting objects (same as for string attributes)
3978 * gio/gicon.c (g_icon_equal):
3979 Safely handle NULLs in equal
3981 2007-10-10 Alexander Larsson <alexl@redhat.com>
3984 Fix c++ compilation issues
3985 Patch from Milosz Derezynski <internalerror@gmail.com>
3987 2007-10-10 Alexander Larsson <alexl@redhat.com>
3989 * programs/gio-monitor-dir.c:
3990 Don't crash if dir monitor not supported.
3992 2007-10-09 Alexander Larsson <alexl@redhat.com>
3995 Add missing G_END_DECLS
3997 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3999 * gio/gfile.c: (g_file_set_display_name),
4000 (g_file_query_settable_attributes),
4001 (g_file_query_writable_namespaces):
4002 Return NULL not FALSE on errors as the return type is a pointer.
4004 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4006 * gio/glocalfile.c: (g_local_file_monitor_file):
4007 Don't call monitor_file on the default interface vtable (which
4008 is NULL) but simply return NULL. The caller, GFile, will create a
4009 polling monitor if NULL is returned.
4011 2007-10-09 Alexander Larsson <alexl@redhat.com>
4015 * gio-unix-2.0.pc.in:
4016 Add gio-unix-2.0.pc if OS_UNIX
4019 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4021 2007-10-09 Alexander Larsson <alexl@redhat.com>
4023 * gio/gunixmounts.[ch]:
4024 Make unix mount monitoring API sane.
4025 Now its just a object with mounts_changed
4026 and mountpoints_changed signals.
4028 * gio/glocaldirectorymonitor.c:
4029 * gio/gunixvolumemonitor.c:
4030 Use new mount monitor api
4032 2007-10-09 Alexander Larsson <alexl@redhat.com>
4034 * gio/gunixmounts.[ch]:
4035 Move guess type into one call for mounts and one for mountpoints
4038 * gio/gunixvolume.c:
4041 2007-10-09 Alexander Larsson <alexl@redhat.com>
4043 * gio/gunixmounts.[ch]:
4044 Remove _ prefix in preparation to make this semi-public
4045 Hide implementation of structs
4047 * gio/glocaldirectorymonitor.c:
4049 * gio/gunixvolume.c:
4050 * gio/gunixvolumemonitor.c:
4051 Update for above API changes
4053 2007-10-08 Alexander Larsson <alexl@redhat.com>
4056 Better polling fallback. This also handles the case where we have
4057 a monitor_file implementation, but it fails.
4059 2007-10-08 Alexander Larsson <alexl@redhat.com>
4063 * gio/gunixmounts.c:
4064 * programs/gio-monitor-dir.c:
4065 * programs/gio-monitor-file.c:
4066 Added cancellable to file monitoring calls.
4067 These are really sync calls and need this.
4069 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4071 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4072 (g_local_vfs_class_init):
4073 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4074 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4076 2007-10-05 Alexander Larsson <alexl@redhat.com>
4078 * gio/gdirectorymonitorprivate.h:
4079 * gio/gfilemonitorprivate.h:
4080 * gio/gdirectorymonitor.h:
4081 * gio/gfilemonitor.h:
4082 Remove *private.h and move to the public API, so that
4083 we can do implementations outside gio (such as in gvfs)
4085 * gio/gdirectorymonitor.c:
4086 * gio/gfilemonitor.c:
4087 * gio/glocaldirectorymonitor.c:
4088 * gio/gpollfilemonitor.c:
4089 * gio/inotify/inotify-helper.c:
4090 * gio/fam/fam-helper.c:
4091 Update to the new header names
4093 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4095 * gio/gdirectorymonitor.c:
4096 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4099 2007-10-04 Alexander Larsson <alexl@redhat.com>
4101 * gio/glocalfileinfo.c (get_access_rights):
4102 Set CAN_TRASH when we can move the file.
4103 We should really also check for a parent trash dir.
4105 2007-10-04 Alexander Larsson <alexl@redhat.com>
4107 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4108 Add can_trash access attribute
4110 2007-10-04 Alexander Larsson <alexl@redhat.com>
4113 (g_local_file_trash):
4114 Create info file first. This is per-spec and allows
4115 us to actually trash directories.
4117 2007-10-02 Alexander Larsson <alexl@redhat.com>
4119 * gio/gdesktopappinfo.c:
4120 Implement the new mime support code.
4121 Always set app as handling mimetype when being set as default for it
4123 2007-10-01 Alexander Larsson <alexl@redhat.com>
4125 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4126 Fix up check for xattrs:
4128 2007-10-01 Alexander Larsson <alexl@redhat.com>
4131 (g_app_info_set_as_default_for_extension):
4132 (g_app_info_add_supports_type):
4133 (g_app_info_can_remove_supports_type):
4134 (g_app_info_remove_supports_type):
4135 Make these fail nicely if not implemented
4137 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4139 * gio/glocalfileoutputstream.c:
4140 * gio/glocalfileoutputstream.h:
4145 * programs/gio-save.c:
4146 Add a GFileCreateFlags argument to operations that can create
4149 2007-10-01 Alexander Larsson <alexl@redhat.com>
4151 * gio/gappinfo.[ch]:
4152 * gio/gdesktopappinfo.c:
4153 Add more (stubbed out) mime API needed for nautilus
4155 2007-10-01 Alexander Larsson <alexl@redhat.com>
4158 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4159 Add g_app_info_set_as_default_for_extension.
4161 * gio/gdesktopappinfo.c:
4162 Dummy for g_app_info_set_as_default_for_extension
4163 Support flags in g_app_info_create_from_commandline
4165 * gio/gwin32appinfo.c:
4167 Update for API changes
4169 * gio/gthemedicon.c:
4170 Properly NULL-terminate list of icon names
4172 2007-09-28 Alexander Larsson <alexl@redhat.com>
4174 * gio/gloadableicon.h:
4175 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4177 2007-09-28 Alexander Larsson <alexl@redhat.com>
4180 Install headers in $includedir/gio-standalone/
4182 * gio-2.0.pc.in: Added.
4183 * gio-standalone.pc.in: Removed.
4186 Renamed pkg-config file to match glib (for future move)
4187 Update to the new include dir
4190 Add more TODO comments
4192 2007-09-28 Alexander Larsson <alexl@redhat.com>
4194 * gio/gdesktopappinfo.[ch]:
4195 Expose new_from_filename
4196 Add getter for is_hidden and handle it better
4198 2007-09-28 Alexander Larsson <alexl@redhat.com>
4200 * gio/gfileinfo.[ch]:
4201 Rename g_file_size_format_for_display to
4202 g_format_file_size_for_display.
4203 Now it doesn't have the g_file prefix, so we
4204 can later move it to glib.
4206 2007-09-28 Alexander Larsson <alexl@redhat.com>
4208 * gio/gappinfo.[ch]:
4209 Add g_app_info_get_id and g_app_info_get_executable.
4210 Make all getters non-reffing
4211 Make g_app_info_launch take GFile arguments.
4212 Add must_support_uris argument to g_app_info_get_default_for_type.
4214 * gio/gwin32appinfo.c:
4215 Update to GAppInfo api changes
4217 * gio/gdesktopappinfo.c:
4218 Update to GAppInfo api changes
4219 Implement supports_xdg_startup_notify
4221 * gio/gfileicon.c (g_file_icon_get_file):
4222 Make getter non-reffing.
4227 2007-09-27 Alexander Larsson <alexl@redhat.com>
4229 * gio/gfileinfo.[ch]:
4230 Add g_file_size_format_for_display helper
4232 2007-09-27 Alexander Larsson <alexl@redhat.com>
4234 * gio/glocalfileinfo.c:
4235 Set UNIX_GID from gid, not from uid
4237 2007-09-27 Alexander Larsson <alexl@redhat.com>
4240 Add g_file_set_attributes_async
4242 2007-09-27 Alexander Larsson <alexl@redhat.com>
4244 * gio/glocalfile.c (g_local_file_set_display_name):
4245 Fix set_display_name to actually rename to the right place.
4246 Use lstat to look for existing files so we don't overwrite
4249 2007-09-26 Alexander Larsson <alexl@redhat.com>
4252 Add g_file_set_display_name_async()
4254 2007-09-26 Alexander Larsson <alexl@redhat.com>
4257 Add load_partial_contents async calls
4260 Make internal function static
4262 2007-09-26 Alexander Larsson <alexl@redhat.com>
4264 * gio/glocalfileinfo.c:
4265 Correctly detect broken symlinks
4267 2007-09-26 Alexander Larsson <alexl@redhat.com>
4269 * gio/gcancellable.c (g_cancellable_cancel):
4270 Allow cancel on NULL cancellable
4272 2007-09-25 Alexander Larsson <alexl@redhat.com>
4274 * gio/gsimpleasyncresult.c:
4275 Don't allocate g_error manually.
4276 Fixes g_slice/g_new mixup crash
4278 2007-09-25 Alexander Larsson <alexl@redhat.com>
4280 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4281 Actually set active_backend.
4282 This means the monitor will be cancelled correctly.
4284 2007-09-25 Alexander Larsson <alexl@redhat.com>
4286 * gio/gdirectorymonitor.c:
4287 Set timeout to NULL when destroying
4289 2007-09-25 Alexander Larsson <alexl@redhat.com>
4292 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4293 that is a better description of the error.
4295 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4297 * gio/gvfs.c: (g_vfs_get_local):
4298 Make the local vfs variable static. The same instance should
4301 2007-09-24 Alexander Larsson <alexl@redhat.com>
4303 * gio/glocalfileinfo.c:
4304 Pass in actual length read into sniffer, not the length
4307 2007-09-21 Alexander Larsson <alexl@redhat.com>
4309 * gio/gfileenumerator.c:
4312 * gio/gfileinputstream.c:
4313 * gio/gfileoutputstream.c:
4314 * gio/ginputstream.c:
4315 * gio/goutputstream.c:
4316 Don't crash if async callbacks are NULL
4318 2007-09-20 Alexander Larsson <alexl@redhat.com>
4321 Add async enumerate_children method and default
4324 2007-09-20 Alexander Larsson <alexl@redhat.com>
4327 Add g_file_contains_file & g_file_get_relative_path, since they
4328 were needed for nautilus.
4329 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4334 Implement new methods
4336 2007-09-17 Alexander Larsson <alexl@redhat.com>
4339 * gio/gfileinputstream.[ch]:
4340 * gio/gfileoutputstream.[ch]:
4342 * gio/glocalfileenumerator.[ch]:
4343 * gio/glocalfileinfo.[ch]:
4344 * gio/glocalfileinputstream.c:
4345 * gio/glocalfileoutputstream.c:
4346 * gio/gpollfilemonitor.c:
4347 * programs/gio-copy.c:
4348 * programs/gio-info.c:
4349 * programs/gio-move.c:
4350 Rename get_file_info to query_info() to make it clearer
4351 that these are not simple getters, but do i/o.
4353 2007-09-17 Alexander Larsson <alexl@redhat.com>
4355 * gio/gdatainputstream.[ch]:
4356 * gio/test-streams.c:
4357 Use _read_XXX instead of _get_XXX for the i/o calls
4360 2007-09-17 Alexander Larsson <alexl@redhat.com>
4363 Added needed stuff to TODO comment
4365 2007-09-17 Alexander Larsson <alexl@redhat.com>
4367 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4368 Don't error out removing the backup copy if it doesn't
4371 2007-09-14 Alexander Larsson <alexl@redhat.com>
4373 * programs/Makefile.am:
4374 * programs/gvfs-*.c:
4376 Renamed apps from gvfs-xxx to gio-xxx.
4378 2007-09-14 Alexander Larsson <alexl@redhat.com>
4381 * gio/gfileoutputstream.[ch]:
4382 * gio/glocalfileoutputstream.c:
4383 * programs/gvfs-save.c:
4384 g_file_output_stream_get_etag doesn't do i/o, so remove
4385 cancellation and error.
4387 2007-09-14 Alexander Larsson <alexl@redhat.com>
4390 Add new_etag output to replace_contents functions
4392 2007-09-14 Alexander Larsson <alexl@redhat.com>
4394 * gio/gfileoutputstream.[ch]:
4395 Add async get_file_info and default implementation
4397 2007-09-14 Alexander Larsson <alexl@redhat.com>
4399 * gio/gfileinputstream.c:
4400 Implement fallback wrapper for async get_file_info
4402 2007-09-14 Alexander Larsson <alexl@redhat.com>
4405 Add etag out argument to load_contents
4410 2007-09-14 Alexander Larsson <alexl@redhat.com>
4412 * gio/gcontenttype.c (looks_like_text):
4413 Whitespace like tab, cr and lf do not make the
4416 2007-09-14 Alexander Larsson <alexl@redhat.com>
4418 * gio/gfileinputstream.[ch]:
4419 Add async get_file_info.
4421 2007-09-13 Alexander Larsson <alexl@redhat.com>
4423 * gio/goutputstream.c (g_output_stream_write_all):
4424 Allow NULL for bytes_written
4426 2007-09-13 Alexander Larsson <alexl@redhat.com>
4428 * gio/gmemoryinputstream.[ch]:
4429 Add accessors for data
4431 2007-09-13 Alexander Larsson <alexl@redhat.com>
4433 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4434 Don't crash if length is NULL