1 2008-06-29 Matthias Clasen <mclasen@redhat.com>
3 * gmemoryoutputstream.c: Trivial doc fixes
5 2008-06-29 Matthias Clasen <mclasen@redhat.com>
7 Bug 540802 – g_list_prepend doesn't concat lists
9 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
10 one list to another. Pointed out by Jan Arne Petersen
12 2008-06-28 Michael Natterer <mitch@imendio.com>
14 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
16 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
18 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
19 to avoid problems with partial icon themes.
21 2008-06-17 Hans Breuer <hans@breuer.org>
23 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
24 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
25 access again on win32, see bug #538127
26 * giomodule.c : ensure GWin32VolumeMonitor is registered
27 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
28 * Makefile.am makefile.msc : updated
30 2008-06-16 Hans Breuer <hans@breuer.org>
32 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
33 and initialization in one step avoids c99ism
35 2008-06-16 Christian Persch <chpe@gnome.org>
38 * gio/gbufferedinputstream.c
40 * gio/gdatainputstream.c
41 * gio/gdesktopappinfo.c
43 * gio/gfileenumerator.c
44 * gio/gfileinputstream.c
45 * gio/gfileoutputstream.c
47 * gio/glocaldirectorymonitor.c
49 * gio/glocalfileenumerator.c
50 * gio/glocalfileinfo.c
51 * gio/glocalfilemonitor.c
52 * gio/glocalfileoutputstream.c
53 * gio/gmemoryinputstream.c
54 * gio/gmemoryoutputstream.c
56 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
59 2008-06-16 Tor Lillqvist <tml@novell.com>
61 Bug 538362 - Get Win32 icons back in the file chooser
63 * gcontenttype.c (g_content_type_get_icon): Look up the icon
64 corresponding to a file extension in the Registry. Patch by Hans
66 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
68 2008-06-16 Tor Lillqvist <tml@novell.com>
70 Patches by Hans Breuer:
72 * glocalfile.c (is_xp_or_later): Handle compiling against older
73 SDK headers with missing VerifyVersionInfo(). Conditioned on
74 _MSC_VER, but should probably use some better test.
75 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
76 uninitialised statfs_result variable on Win32.
78 2008-06-16 Michael Natterer <mitch@imendio.com>
80 * *.c: chain up unconditionally in finalize() and dispose(). Also
81 don't dereference these function pointers when calling them since
82 that has no meaning at all.
84 2008-06-16 Ross Burton <ross@burtonini.com>
87 Remove check for dispose implementation as it annoys Emmanuele.
89 2008-06-16 Ross Burton <ross@burtonini.com>
91 Bug 536252 – GFileEnumerator should allow access to the containing
97 Add g_file_enumerator_get_container() and a container writeable
98 construct-only property. Also shuffle around typedefs to make it
101 * glocalfileenumerator.c:
102 * glocalfileenumerator.h:
104 Instead of a string filename take a GFile in the constructor and
105 use it to set the container property.
110 2008-06-16 Matthias Clasen <mclasen@redhat.com>
112 * gfile.c: Make includes more uniform
114 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
116 * tests/live-g-file.c (sample_struct):
117 Use less fancy unicode filenames, so the test doesn't fail
118 on Mac OS X (#531476).
120 2008-06-12 Matthias Clasen <mclasen@redhat.com>
122 * === Released 2.17.2 ===
124 2008-06-12 Matthias Clasen <mclasen@redhat.com>
126 * === Released 2.17.1 ===
128 2008-06-11 A. Walton <awalton@gnome.org>
130 * tests/g-file.c (test_g_file_new_null):
131 Fix broken test case.
133 2008-06-11 Matthias Clasen <mclasen@redhat.com>
135 * pltcheck.sh: We use g_clear_error now.
137 2008-06-11 Matthias Clasen <mclasen@redhat.com>
139 * glocalfile.c (g_local_file_enumerate_children): Revert
140 an unintended change.
142 2008-06-11 Matthias Clasen <mclasen@redhat.com>
144 * gfile.c (g_file_replace_contents): Don't unref before the last use.
146 2008-06-10 Matthias Clasen <mclasen@redhat.com>
148 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
151 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
152 as icon for the desktop directory, also make user-home and
153 user-desktop the preferred icons.
155 2008-06-10 Matthias Clasen <mclasen@redhat.com>
158 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
159 to add a name to the front of the list.
161 2008-06-10 Matthias Clasen <mclasen@redhat.com>
163 Bug 537392 – Additional colon in xattr name
165 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
166 too. Reported by Alessandro Morandi
168 2008-06-10 Matthias Clasen <mclasen@redhat.com>
170 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
173 * glocalfile.c (get_fs_type): Add afs and autofs.
174 Patch by Danny Baumann.
176 2008-06-10 Matthias Clasen <mclasen@redhat.com>
178 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
180 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
181 is no parent. (Owen Taylor, patch by Christian Neumair)
183 2008-06-10 Paolo Borelli <pborelli@katamail.com>
185 * gfile.c (g_file_replace_contents): do not leak the output stream.
187 2008-06-10 Michael Natterer <mitch@imendio.com>
189 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
190 uninitialized memory as array index.
192 2008-06-10 Tor Lillqvist <tml@novell.com>
194 * gcontenttype.c (g_content_type_can_be_executable)
195 (g_content_type_get_icon) [Win32]: Add TODO comments.
197 2008-06-09 Matthias Clasen <mclasen@redhat.com>
199 * xdgmime/Makefile.am: Fix the build
201 2008-06-09 Matthias Clasen <mclasen@redhat.com>
203 * gcontenttype.c (g_content_type_get_icon): Use icons specified
204 in the shared mime database, if available.
206 * xdgmime/*: Sync with upstream. This brings support for
207 glob weights, generic icons, and changes the cache format to
210 2008-05-28 Michael Natterer <mitch@imendio.com>
212 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
213 the global CPPFLAGS now.
215 * tests/data-input-stream.c
216 * tests/data-output-stream.c
217 * tests/g-file-info.c
219 * tests/live-g-file.c
220 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
222 2008-05-27 Matthias Clasen <mclasen@redhat.com>
224 * === Released 2.17.0 ===
226 * tests/live-g-file.c: Clean up after the tests, so make distcheck
227 doesn't complain about leftover files.
229 2008-05-27 simon.zheng <simon.zheng@sun.com>
231 * glocalfile.c: (g_local_file_query_filesystem_info):
232 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
234 2008-05-26 Michael Natterer <mitch@imendio.com>
236 * gmemoryoutputstream.h: declare
237 g_memory_output_stream_get_data_size().
239 2008-05-26 Matthias Clasen <mclasen@redhat.com>
241 * tests/*: Make tests work
243 2008-05-26 Matthias Clasen <mclasen@redhat.com>
245 * gio.symbols: Add g_memory_output_stream_get_data_size.
247 2008-05-25 Ross Burton <ross@burtonini.com>
250 Fix typo in error message (#534764).
252 2008-05-25 Ross Burton <ross@burtonini.com>
255 Fix circular dependency loop for gioenumtypes.h (#534759).
257 2008-05-19 Hans Breuer <hans@breuer.org>
259 * Makefile.am : EXTRA_DIST += makefile.msc
261 2008-05-17 Matthias Clasen <mclasen@redhat.com>
264 * gcontenttype.c: (g_content_type_from_mime_type):
265 New function to create a content type from a mime type. (#527175,
268 2008-05-17 Matthias Clasen <mclasen@redhat.com>
270 Bug 532965 – Should not return filesystem::free for certain file systems
272 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
273 free space for ncpfs.
275 2008-05-17 Matthias Clasen <mclasen@redhat.com>
277 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
279 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
280 st_dev might be zero.
282 2008-05-16 Tor Lillqvist <tml@novell.com>
284 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
285 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
287 2008-05-13 Bastien Nocera <hadess@hadess.net>
289 * gfile.c (has_valid_scheme): A URI scheme must start with a
290 letter, even if later more characters are allowed (#532852)
292 2008-05-05 Michael Natterer <mitch@imendio.com>
294 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
295 code from being checked in that breaks the build of applications
296 which use G_DISABLE_SINGLE_INCLUDES.
298 * makegioalias.pl: make the alias file include "glib.h" instead of
301 * gio.symbols: whitespace change to force regeneration of the
302 alias file after above script change.
304 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
306 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
308 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
310 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
312 2008-04-28 David Zeuthen <davidz@redhat.com>
314 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
315 displaying mounts in a subdirectory not accessible to the
318 2008-04-22 Michael Natterer <mitch@imendio.com>
320 * Makefile.am: fix library versioning (it was 0.0.0).
322 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
324 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
325 Default disable all loggings.
326 * fen/fen-kernel.c: (printevent), (port_add_kevent),
327 (port_fetch_event_cb): Fixed two macro nits.
329 2008-04-16 Matthias Clasen <mclasen@redhat.com>
331 * xdgmime/xdgmime.c: Rework the timestamp checking code
332 to protect against duplicate directories in XDG_DATA_DIRS.
333 Fixes fd.o bug 12513, reported by Joe Shaw.
335 2008-04-16 Matthias Clasen <mclasen@redhat.com>
337 Partically revert the last commit after realizing that
338 xdg_mime_media_type_equal doesn't have to init at all.
341 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
343 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
345 2008-04-16 Matthias Clasen <mclasen@redhat.com>
347 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
348 reported by Joe Shaw and Federico Mena Quintero.
350 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
351 (xdg_mime_media_type_equal): Turn into a wrapper around the
354 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
355 functions throughout.
357 2008-04-16 Michael Meeks <michael.meeks@novell.com>
359 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
360 tolerate an empty TryExec= line without failing; nautilus used
361 to create launchers with these in previous versions. Fixes #528433
363 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
365 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
366 after name. Fixes #527132.
368 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
370 * gfile.c: (g_file_replace):
373 2008-04-07 Matthias Clasen <mclasen@redhat.com>
375 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
377 * gfile.c (file_copy_fallback): Fix the argument order. Patch
378 by Christian Kellner.
380 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
382 * gunixmounts.c: (g_unix_mount_guess_should_display):
383 Don't list the user directory as a mount, fix potential issue
384 when other users have a similar naming and don't special case the
385 gvfs mounts there since that's not required (#525866)
387 2008-03-31 Alexander Larsson <alexl@redhat.com>
389 * glocalfile.c (get_parent):
392 2008-03-31 A. Walton <awalton@svn.gnome.org>
394 * gfile.c (g_file_query_file_type):
395 Always return a GFileType enum value (#520715).
397 2008-03-31 Alexander Larsson <alexl@redhat.com>
399 * glocalfileenumerator.c:
400 Read readdir() info in chunks (of 1000) and sort
401 the chunks by inode before stat:ing.
402 This is a 20% performance increase in testing
403 gvfs-ls on /usr/bin with cold cache.
405 2008-03-31 Alexander Larsson <alexl@redhat.com>
407 * gmemoryoutputstream.c:
408 Clarify docs for g_memory_output_stream_get_size.
409 Add g_memory_output_stream_get_data_size.
411 2008-03-30 Matthias Clasen <mclasen@redhat.com>
415 * gfile.h: Add g_file_query_file_type convenience function
416 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
418 2008-03-30 Matthias Clasen <mclasen@redhat.com>
421 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
423 2008-03-28 A. Walton <awalton@svn.gnome.org>
425 * giomodule.c (_g_io_modules_ensure_loaded):
426 Adds GIO_EXTRA_MODULES environment variable support, closing bug
429 2008-03-28 Alexander Larsson <alexl@redhat.com>
432 (copy_stream_with_progress):
435 2008-03-28 Alexander Larsson <alexl@redhat.com>
438 (copy_stream_with_progress):
439 (file_copy_fallback):
440 Fallback to g_file_query_info for source size
441 if g_file_input_stream_query_info fails. (#524579)
443 2008-03-28 Alexander Larsson <alexl@redhat.com>
445 * glocalfile.c (g_local_file_move):
446 Reuse old string instead of adding new one.
448 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
450 * fen/*.[hc]: still copyright issue. I hate copyright.
452 2008-03-27 Alexander Larsson <alexl@redhat.com>
454 * glocalfile.c (g_local_file_move):
455 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
456 file over directory. This is according to the docs and what the move via
457 copy+remove fallback does.
459 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
461 * fen/*.[hc]: Updated copyright.
463 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
465 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
467 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
469 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
470 not emit attribute changed events when optimizing changed events.
471 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
474 2008-03-19 Matthias Clasen <mclasen@redhat.com>
476 * gmountoperation.[hc]: Small documentation additions
478 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
480 * gunixmounts.c: (guess_mount_type):
481 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
483 2008-03-19 Alexander Larsson <alexl@redhat.com>
486 (copy_stream_with_progress):
487 Bump block side for copy to 64k to minimize
488 overhead for low latency links. (#523015)
490 2008-03-16 Tor Lillqvist <tml@novell.com>
492 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
493 depend on gio.def on Windows.
495 2008-03-12 David Zeuthen <davidz@redhat.com>
499 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
501 2008-03-14 Alexander Larsson <alexl@redhat.com>
505 Avoid redudant tests (#521851)
506 Patch from Josselin Mouette
508 2008-03-14 Alexander Larsson <alexl@redhat.com>
511 (g_file_monitor_is_cancelled):
512 Fix C89 issue (#521672)
513 Patch from Jens Granseuer
515 2008-03-14 Alexander Larsson <alexl@redhat.com>
517 * fam/fam-helper.[ch]:
519 Shut down fam (including removing fam GSource) when
520 module is unloaded (#521513)
521 Patch from Joe Marcus Clarke
523 2008-03-14 Alexander Larsson <alexl@redhat.com>
526 (_g_io_modules_ensure_loaded):
529 2008-03-14 Alexander Larsson <alexl@redhat.com>
532 (g_local_file_query_filesystem_info):
533 Use right define name for f_fstypename member check
535 2008-03-14 Alexander Larsson <alexl@redhat.com>
538 * fen/Makefile.am: Added.
539 * fen/fen-data.[ch]: Added.
540 * fen/fen-dump.[ch]: Added.
541 * fen/fen-helper.[ch]: Added.
542 * fen/fen-kernel.[ch]: Added.
543 * fen/fen-missing.[ch]: Added.
544 * fen/fen-node.[ch]: Added.
545 * fen/fen-sub.[ch]: Added.
546 * fen/gfendirectorymonitor.[ch]: Added.
547 * fen/gfenfilemonitor.[ch]: Added.
549 Added Solaris FEN file notification backend.
550 Patch from Lin Ma <Lin.Ma@Sun.COM>
552 2008-03-13 Tor Lillqvist <tml@novell.com>
554 * Makefile.am: Actually use the gio.def file when linking the
555 library on Windows. Produce .lib library for Microsoft's toolchain
556 when possible. Install the .lib and .def file like for the other
559 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
561 * tests/live-g-file.c:
562 Include live-g-file in standard set of tests, making a temporary
563 directory in source structure.
565 Clean target directory before the tests (write mode only)
567 2008-03-12 Tor Lillqvist <tml@novell.com>
569 Bug 517419 - gio win32 directory monitor
570 Implementation by Vlad Grecescu.
573 * win32/gwin32directorymonitor.h
574 * win32/gwin32directorymonitor.c: New files.
576 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
578 * Makefile.am: Add the win32 subdirectory.
580 2008-03-12 Tor Lillqvist <tml@novell.com>
582 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
583 normal struct stat on Unix but struct _stati64 on Windows to have
584 access to 64-bit file size information. Use that instead of struct
585 stat in the functions declared here in this private header.
587 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
588 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
589 warnings about unused functions and variables. Don't set
590 meaningless attributes like inode numbers on Windows.
592 2008-03-12 Benjamin Otte <otte@gnome.org>
595 trim whitespace so gtk-doc groks the function name
597 2008-03-12 Tor Lillqvist <tml@novell.com>
599 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
600 returning FALSE, on Win32.
602 2008-03-11 Alexander Larsson <alexl@redhat.com>
605 * glocalfileinfo.[ch]:
606 Correctly implement can_trash by actually
607 looking for a trash dir, not just assuming
610 2008-03-10 Matthias Clasen <mclasen@redhat.com>
612 * === Released 2.16.1 ===
614 2008-03-11 Alexander Larsson <alexl@redhat.com>
617 Fix crashes in new constructor and properties code
619 2008-03-10 Murray Cumming <murrayc@murrayc.com>
621 * gfile.c: Minor spelling correction in documentation:
622 existance -> existence.
624 2008-03-10 Matthias Clasen <mclasen@redhat.com>
626 * === Released 2.16.0 ===
628 2008-03-10 Matthias Clasen <mclasen@redhat.com>
630 * gio.symbols: Remove g_file_contains_file here, too.
632 2008-03-10 Matthias Clasen <mclasen@redhat.com>
634 * gthemedicon.c: Add properties to make bindings happy. (#517676,
635 Samuel Cormier-Iijima)
637 2008-03-08 Tor Lillqvist <tml@novell.com>
639 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
642 2008-03-07 Alexander Larsson <alexl@redhat.com>
645 (g_local_file_query_filesystem_info):
646 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
647 Patch from Jasper Lievisse Adriaanse
649 2008-03-06 Tor Lillqvist <tml@novell.com>
651 * gfileinfo.h: Correct milliseconds to microseconds in the doc
652 comments for the *_USEC attributes.
654 2008-03-06 Alexander Larsson <alexl@redhat.com>
656 * gfile.c (g_file_query_exists):
657 Add g_return_val_if_fail check (#520700)
659 2008-03-06 Alexander Larsson <alexl@redhat.com>
664 * gunionvolumemonitor.c:
667 * tests/live-g-file.c:
668 * xdgmime/xdgmimecache.c:
669 Fix sparse warnings (#519489)
671 2008-03-05 Alexander Larsson <alexl@redhat.com>
674 Make cancellation threadsafe (i.e.
675 guarantee its only done once, and always
678 * glocaldirectorymonitor.c:
679 Make sure we the monitor lives while the
680 mounts_changed callback is being called (#520484)
682 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
684 * gbufferedinputstream.c: Fix typo in parameter
687 2008-03-04 Alexander Larsson <alexl@redhat.com>
690 Remove deprecated symbols we kept for one release.
692 2008-03-04 Murray Cumming <murrayc@murrayc.com>
695 * goutputstream.c: Tiny documentation corrections.
697 2008-03-03 Alexander Larsson <alexl@redhat.com>
699 * gunionvolumemonitor.c:
701 Fix the adopt_orphan_mount vfunc to take a
702 volume_monitor reference in an ABI compat way.
703 This change is not API compat, but the added
704 arg is not used in the only user of this vfunc, so
705 all we get is a harmless warning in gvfs (#520169)
707 2008-03-01 Benjamin Otte <otte@gnome.org>
710 clarify docs for g_file_delete().
712 2008-02-29 Alexander Larsson <alexl@redhat.com>
716 Make sure empty files get text/plain type (#518720)
718 2008-02-27 Alexander Larsson <alexl@redhat.com>
724 (g_unix_volume_mount):
725 Add missing GMountMountFlags argument
727 2008-02-26 Alexander Larsson <alexl@redhat.com>
730 (g_local_file_delete):
731 Handle filesystems (like ntfs-3g) that return EEXIST instead
732 of ENOTEMPTY (#518816)
734 2008-02-25 Matthias Clasen <mclasen@redhat.com>
736 * === Released 2.15.6 ===
738 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
740 * gfile.c (g_file_find_enclosing_mount):
741 * ginputstream.c (g_input_stream_set_pending):
742 * glocalfile.c (g_local_file_find_enclosing_mount):
743 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
744 * goutputstream.c (g_output_stream_set_pending):
746 Fixup translator comments (#518578).
748 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
750 * gfile.c (g_file_find_enclosing_mount):
752 * glocalfile.c (g_local_file_find_enclosing_mount):
755 Fix a few typos in translator comments and documentation.
757 2008-02-25 Alexander Larsson <alexl@redhat.com>
764 Add translator comments (#518578)
766 2008-02-25 Alexander Larsson <alexl@redhat.com>
769 Reintroduce g_file_contains_file, keep around for one
770 unstable release cycle to avoid crashing to many apps.
771 Make sure to delete after release.
773 2008-02-25 Alexander Larsson <alexl@redhat.com>
776 Remove deprecated g_file_contains_file.
778 2008-02-25 Alexander Larsson <alexl@redhat.com>
781 Emit actual change signals in an idle handler.
782 This avoids reentrance and locking problems in
783 the file notification backends.
785 2008-02-25 Alexander Larsson <alexl@redhat.com>
788 (g_unix_mount_guess_should_display):
789 Remove type guessing, instead just display
790 mounts in /media and in ~/.
792 2008-02-25 Alexander Larsson <alexl@redhat.com>
795 Make new strings reuse old ones.
797 2008-02-25 Alexander Larsson <alexl@redhat.com>
800 Implement trashing and filesystem::readonly for win32 (#517235)
801 Patch from Yevgen Muntyan
803 2008-02-23 Matthias Clasen <mclasen@redhat.com>
805 * gfileinfo.h: Documentation fixes.
807 2008-02-22 Alexander Larsson <alexl@redhat.com>
809 * gcontenttype.c (g_content_type_get_icon):
810 Look at old-style gnome mime icon names too, as many
811 have not moved to the new style.
813 2008-02-21 Matthias Clasen <mclasen@redhat.com>
815 * *.c: Correct the @include in for section docs.
817 2008-02-21 David Zeuthen <davidz@redhat.com>
819 * glocalfileinfo.c: (_g_local_file_info_get):
821 (g_content_type_get_icon): Implement this function by
822 moving bits from glocalfileinfo.c
823 (g_content_type_get_description): Unalias before getting
824 description (#517687)
826 * gfile.c: (g_file_class_init),
827 (g_file_query_filesystem_info_async),
828 (g_file_query_filesystem_info_finish),
829 (query_filesystem_info_data_free),
830 (query_filesystem_info_async_thread),
831 (g_file_real_query_filesystem_info_async),
832 (g_file_real_query_filesystem_info_finish):
833 * gfile.h: Implement async version of
834 g_file_query_filesystem_info()
836 * gfileinfo.h: Add new attributes for filesystem::use-preview
838 * gio.symbols: Update
840 * gthemedicon.c: (g_themed_icon_append_name):
841 * gthemedicon.h: Add new new convenience function.
843 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
844 (get_mounts), (get_volumes), (get_connected_drives),
845 (get_volume_for_uuid), (get_mount_for_uuid),
846 (g_union_volume_monitor_init), (populate_union_monitor),
847 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
848 (g_volume_monitor_adopt_orphan_mount):
850 * gvolumemonitor.h: Use recursive locks so it's safe for volume
851 monitor implementations to call into the main volume monitor. Also
852 separate object initialization and volume monitor initialization
853 such that non-native volume monitors can properly adopt their
856 2008-02-21 Alexander Larsson <alexl@redhat.com>
861 2008-02-21 Alexander Larsson <alexl@redhat.com>
864 Add more documentation about how GFiles work (from #517086)
866 2008-02-21 Alexander Larsson <alexl@redhat.com>
870 Add new g_file_has_prefix that does the same as g_file_contains_file.
871 Deprecate g_file_contains_file and add a macro that converts
872 it to g_file_has_prefix.
873 The reason for this change is that the contains_file() name seems to
874 imply that this does more work than what it does, but its really only
875 a name match (from #517086)
880 Update to match the above change.
882 2008-02-20 Benjamin Otte <otte@gnome.org>
884 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
885 (g_file_eject_mountable):
886 even more cases of not returning in error path
888 2008-02-20 Benjamin Otte <otte@gnome.org>
890 * gfile.c: (g_file_mount_mountable):
891 return from function in error path.
893 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
896 Remove trailing coma in GMountMountFlags struct
898 2008-02-18 Alexander Larsson <alexl@redhat.com>
902 * glocalfileoutputstream.c:
903 Use g_unlink/g_rename instead of unlink/rename;
904 do not pass raw filenames to g_set_error. (#517239)
905 Patch from Yevgen Muntyan.
907 2008-02-18 Alexander Larsson <alexl@redhat.com>
910 * glocalfileoutputstream.c:
911 Open files with O_BINARY on windows. (#517140)
913 2008-02-14 Alexander Larsson <alexl@redhat.com>
915 * glocalfileoutputstream.c:
916 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
918 2008-02-14 Alexander Larsson <alexl@redhat.com>
921 Copy permissions with file on copy (#514084)
922 This is what cp does and makes sure e.g. the
923 exec permissions are kept.
924 Its kinda weird in that it keeps the permission bits
925 the same while the uid and gid are different. However
926 the new uid is the user so its not a security issue,
927 and I've heard no complaints about cp on this issue.
929 2008-02-13 Ryan Lortie <desrt@desrt.ca>
931 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
933 2008-02-13 Alexander Larsson <alexl@redhat.com>
935 * inotify/inotify-path.c:
936 Define IN_ONLYDIR if not in header (#515346)
938 2008-02-12 Alexander Larsson <alexl@redhat.com>
940 * tests/live-g-file.c:
943 2008-02-11 Matthias Clasen <mclasen@redhat.com>
945 * === Released 2.15.5 ===
947 2008-02-11 Matthias Clasen <mclasen@redhat.com>
949 * gio.symbols: Add g_mount_mount_flags_get_type.
951 2008-02-11 Alexander Larsson <alexl@redhat.com>
954 (g_file_info_set_attribute_mask):
955 (g_file_attribute_matcher_matches_id):
956 Correctly handle NULL GAttributeMatcher meaning
957 matches nothing. (Fixes #513492)
959 2008-02-11 Alexander Larsson <alexl@redhat.com>
964 Added GMountMountFlags enum and added a flags
965 argument to all mount calls.
967 This is an API/ABI change for future extensibility,
968 as I think we will need at least an
969 inhibit-autorun flag (the panel needs this).
970 There are no flags defined yet though.
972 2008-02-11 Alexander Larsson <alexl@redhat.com>
975 Added new standard::description attribute.
976 Requested by Vincent, and useful for both
979 2008-02-11 Alexander Larsson <alexl@redhat.com>
984 2008-02-11 Matthias Clasen <mclasen@redhat.com>
986 * *.c: Documentation additions
988 2008-02-10 Matthias Clasen <mclasen@redhat.com>
990 * gappinfo.h: Formatting cleanup
991 * gappinfo.c: Fix up docs.
993 2008-02-09 Matthias Clasen <mclasen@redhat.com>
995 * gunixmounts.c: Consistently use getmntent_r() and fall
996 back to getmntent(). (#515492)
998 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1000 * gbufferedinputstream.c:
1002 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1004 * tests/data-input-stream.c:
1005 * tests/data-output-stream.c: Portability fixes.
1007 2008-02-08 Alexander Larsson <alexl@redhat.com>
1012 Add g_volume_should_automount.
1015 2008-02-07 Tor Lillqvist <tml@novell.com>
1017 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1018 Win32, too Unix-specific.
1020 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1022 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1023 a local plt if the compiler doesn't support what we want. Bug #514702
1025 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1027 reviewed by: <delete if not using a buddy>
1030 * gunixinputstream.c:
1031 * gunixoutputstream.c:
1033 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1035 * tests/Makefile.am:
1036 * tests/live-g-file.c:
1037 * tests/live-g-file.txt:
1038 New GIO testing module working over real data
1040 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1042 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1043 Fallback to rename() if link() is not available
1044 (when no support on target filesystem)
1046 2008-02-06 Michael Natterer <mitch@imendio.com>
1048 * gfileinfo.c (g_file_info_get_icon): replace
1049 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1051 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1053 * gfile.c (g_file_create):
1054 Documentation update of error codes
1056 2008-02-06 Alexander Larsson <alexl@redhat.com>
1058 * gdesktopappinfo.c:
1059 Update to use both mimeapps.list and
1060 defaults.list as discussed on xdg list.
1062 2008-02-06 Benjamin Otte <otte@gnome.org>
1065 * gfilenamecompleter.c:
1066 Fix some typos in the documentation.
1068 2008-02-06 Alexander Larsson <alexl@redhat.com>
1070 * glocalfile.c (g_local_file_trash):
1071 Don't succeed with trash if newly created
1072 trash dir has the wrong owner. (#514696)
1074 2008-02-05 Alexander Larsson <alexl@redhat.com>
1076 * glocalfile.c (g_local_file_move):
1077 Don't spew warnings when destination is not
1080 2008-02-03 Hans Breuer <hans@breuer.org>
1082 * makefile.msc : update
1084 2008-02-01 Michael Natterer <mitch@imendio.com>
1086 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1087 return value of xdg_mime_list_mime_parents() to a variable of the
1090 2008-02-01 Alexander Larsson <alexl@redhat.com>
1092 * gappinfo.c (g_app_info_launch_uris):
1093 Actually call the launch_uris method, not
1096 2008-02-01 Alexander Larsson <alexl@redhat.com>
1098 * gdesktopappinfo.c (g_desktop_app_info_equal):
1099 Ensure appinfos with no id but same pointer value
1102 2008-02-01 Alexander Larsson <alexl@redhat.com>
1104 * gappinfo.c (g_app_info_launch_default_for_uri):
1107 2008-02-01 Alexander Larsson <alexl@redhat.com>
1111 Add g_app_info_launch_default_for_uri utility
1114 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1116 * gdesktopappinfo.c:
1117 Doc fix for g_app_info_get_default_for_uri_scheme ()
1120 2008-01-30 Alexander Larsson <alexl@redhat.com>
1123 Add doc comment about uris vs GFiles to
1126 * gdesktopappinfo.c:
1127 Ensure uris passed to g_app_info_launch_uris()
1128 are not roundtriped through GFile (as that
1129 may be slightly destructive for e.g. mailto: links)
1131 2008-01-30 Alexander Larsson <alexl@redhat.com>
1133 * tests/data-input-stream.c:
1134 * tests/data-output-stream.c:
1135 C89 fixes from Jens Granseuer (#512849)
1137 2008-01-30 Alexander Larsson <alexl@redhat.com>
1140 Fix gamin/fam difference build issue. (#509419)
1142 2008-01-29 Alexander Larsson <alexl@redhat.com>
1145 * gdesktopappinfo.c:
1146 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1148 2008-01-29 Alexander Larsson <alexl@redhat.com>
1150 * gdesktopappinfo.c:
1151 * gdesktopappinfo.h:
1152 giomodule-priv.h include moved to .c file.
1154 2008-01-29 Alexander Larsson <alexl@redhat.com>
1156 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1157 Remove unused prio/name fields.
1159 2008-01-29 Alexander Larsson <alexl@redhat.com>
1161 * gcontenttype.c (looks_like_text):
1162 Don't treat whitespace as control chars.
1164 2008-01-29 Alexander Larsson <alexl@redhat.com>
1166 * gdesktopappinfo.c:
1167 Lazily create the desktop files for appinfos created
1168 by g_app_info_create_from_commandline() when needed
1169 for mime associations. This allows run-time use
1170 of GAppInfo object without creating unnecessary
1173 2008-01-29 Alexander Larsson <alexl@redhat.com>
1176 Added new symbols to gio.symbols
1178 2008-01-29 Alexander Larsson <alexl@redhat.com>
1181 Add g_file_query_default_handler utility to easily look up
1182 the GAppInfo that handles a file.
1184 * gdesktopappinfo.[ch]:
1186 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1189 Remove unused function
1191 2008-01-29 Alexander Larsson <alexl@redhat.com>
1193 * gfileenumerator.c:
1194 Mention need to free returned value in
1195 g_file_enumerator_next_files_finish docs.
1196 Fix leak if g_file_enumerator_next_files_finish()
1199 2008-01-29 Alexander Larsson <alexl@redhat.com>
1202 (_g_unix_content_type_get_parents):
1203 Use list_parents, not get_parents from xdgmime, because
1204 the later doesn't use the cache.
1206 * xdgmime/xdgmimecache.c:
1207 (_xdg_mime_cache_list_mime_parents):
1208 Don't list the same type as parent multiple times.
1210 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1212 * === Released 2.15.4 ===
1214 2008-01-28 Alexander Larsson <alexl@redhat.com>
1217 Register local vfs with prio 0.
1220 Remove old name and prio class members
1222 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1224 * tests/g-file.c: Disable some tests that are failing in
1225 the absence of a http backend.
1227 2008-01-28 Alexander Larsson <alexl@redhat.com>
1231 Add registration hooks for extension points.
1232 Register the gio extension points.
1234 * fam/gfamdirectorymonitor.c:
1235 * fam/gfamfilemonitor.c:
1236 * glocaldirectorymonitor.[ch]:
1237 * glocalfilemonitor.[ch]:
1238 * gnativevolumemonitor.h:
1239 * gunionvolumemonitor.c:
1240 * gunixvolumemonitor.c:
1243 * inotify/ginotifydirectorymonitor.c:
1244 * inotify/ginotifyfilemonitor.c:
1245 Use the extension points registration instead
1246 of g_type_children().
1248 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1251 * gvolume.[hc]: Document new API.
1253 * gfile.c (g_file_copy_async): Fix docs
1255 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1257 * gbufferedinputstream.c:
1259 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1262 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1264 * glocalfile.c: Avoid trivial differences in translatable strings.
1266 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1268 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1269 build with gcc 3.4 (#509419)
1271 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1273 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1274 (#509994, Murray Cumming)
1276 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1278 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1279 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1280 this allows big jobs to be executed in chunks, instead of blocking
1281 the main loop for a long time.
1283 * gsimpleasyncresult.c:
1284 * giofile.c: Adapt callers.
1286 2008-01-25 Alexander Larsson <alexl@redhat.com>
1288 * gdesktopappinfo.c:
1289 Implement changes discussed on xdg list.
1290 Now we can add supported mimetypes by just using defaults.list
1291 We can also remove associations in defaults.list.
1293 2008-01-25 Alexander Larsson <alexl@redhat.com>
1295 * gdesktopappinfo.c:
1296 Don't make local copy of desktop file
1297 for mimetype changes if the file already
1298 supports the new mimetype.
1300 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1304 * gbufferedinputstream.c:
1305 * glocalfile.c: String improvements. (#511966,
1306 Theppitak Karoonboonyanan)
1308 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1310 * gioscheduler.h: Expand docs a bit.
1312 2008-01-24 Alexander Larsson <alexl@redhat.com>
1315 Add g_drive_get_identifier and
1316 g_drive_enumerate_identifiers
1319 Add g_volume_get_identifier and
1320 g_volume_enumerate_identifiers
1326 Implement identifiers for unix backend
1328 2008-01-24 Alexander Larsson <alexl@redhat.com>
1333 Add g_file_copy_async() (#511580)
1334 Based on patch from Carlos Garcia Campos
1336 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1338 * gioscheduler.c: Some documentation additions.
1340 2008-01-22 Alexander Larsson <alexl@redhat.com>
1342 * gdesktopappinfo.c:
1343 (g_desktop_app_info_new):
1344 Don't leak basename.
1346 2008-01-22 Alexander Larsson <alexl@redhat.com>
1348 * gdesktopappinfo.c:
1349 (g_desktop_app_info_new_from_filename):
1352 2008-01-22 Alexander Larsson <alexl@redhat.com>
1354 * glocalfileinfo.c (get_thumbnail_attributes):
1357 2008-01-22 Alexander Larsson <alexl@redhat.com>
1360 (canonicalize_filename):
1361 Canonicalize paths that start with more than
1365 (compare_two_files):
1366 (test_g_file_new_for_path):
1369 2008-01-22 Alexander Larsson <alexl@redhat.com>
1372 Allow UTF-8 in file:// parse names.
1374 * tests/Makefile.am:
1375 * tests/data-input-stream.c:
1376 * tests/data-output-stream.c:
1377 * tests/g-file-info.c:
1379 Added a bunch of tests from Tomas Bzatek
1381 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1383 * === Released 2.15.3 ===
1385 2008-01-21 Alexander Larsson <alexl@redhat.com>
1387 * gfileinputstream.[ch]:
1388 * gfileoutputstream.[ch]:
1390 Remove duplicated GSeekable functions. (#509990)
1391 Just use the g_seekable_xxx() calls instead.
1393 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1396 * gvolumemanager.c: Whitespace cleanups.
1398 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1399 Use the right mode when creating the file.
1401 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1403 * gfileenumerator.c:
1404 * gfileinputstream.c:
1406 * goutputstream.c: Documentation: Fixed minor typos
1407 and added more mentions of specific _finish() functions.
1409 2008-01-21 Alexander Larsson <alexl@redhat.com>
1411 * inotify/Makefile.am:
1412 * inotify/inotify-helper.c:
1413 * inotify/inotify-kernel.c:
1414 * inotify/inotify-path.c:
1415 * inotify/local_inotify.h: Removed.
1416 * inotify/local_inotify_syscalls.h: Removed.
1417 Removed the included copies of the inotify
1418 headers. We now only use the <sys/inotify.h>
1419 header which exists on modern systems.
1420 This fixes problems on ARM and SH5 (#510448)
1421 but is also generally much cleaner and future
1422 safe. For instance, if other OSes add support
1423 for inotify it should "just work".
1425 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1427 * inotify/*.c: Coding style fixes.
1428 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1429 for the 1/4 Hz timer.
1431 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1434 * gfilemonitor.[hc]:
1435 * gmemoryinputstream.c:
1436 * gmemoryoutputstream.c:
1437 * gmountoperation.c:
1438 * gthemedicon.c: Documentation updates
1440 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1442 * gfile.c: documentation: Fixed more minor
1445 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1447 * gmount.c: (g_mount_remount): documentation:
1448 Mention g_mount_remount_finish() instead of
1449 g_mount_unmount_finish().
1451 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1455 * gfile.c: Fixed some minor typos in the
1458 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1460 * gio/gvolumemonitor.c:
1461 (g_volume_monitor_get_connected_drives):
1462 (g_volume_monitor_get_volumes):
1463 (g_volume_monitor_get_mounts): Documentation:
1464 Clarify the ownership of the regurn GLists.
1466 2008-01-17 Alexander Larsson <alexl@redhat.com>
1469 Add the async find_enclosing_mount version
1470 to the header file too.
1472 2008-01-17 Alexander Larsson <alexl@redhat.com>
1475 Add async version of find_enclosing_mount
1476 with default implementation.
1478 2008-01-17 Alexander Larsson <alexl@redhat.com>
1483 Allow calls to implementation of copy and write
1484 even if the type of the file implementations is
1485 different. This can be used to implement native
1486 upload and download calls in a vfs.
1489 (g_local_file_move):
1490 Protect against the case where move is called
1491 with one file not being local.
1493 Make sure we call the progress callback once
1494 in the native move operation so that the caller
1495 knows how many bytes were copied.
1497 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1500 * gdatainputstream.c:
1502 * gfileoutputstream.c:
1507 * gunixmounts.c: Corrected some typos in the documentation:
1508 occured -> occurred.
1509 its -> it's (where appropriate).
1511 2008-01-16 Alexander Larsson <alexl@redhat.com>
1515 Add g_file_query_exists (#508771)
1517 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1522 * gvolume.c: For async functions that have no non-async
1523 version, document that the GAsyncReadyCallback may be NULL.
1526 2008-01-15 Alexander Larsson <alexl@redhat.com>
1528 * gmemoryinputstream.c:
1529 * gmemoryoutputstream.c:
1530 Don't do pointer arithmetic on void * (#508602)
1531 Patch from Kazuki IWAMOTO
1533 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1535 * === Released 2.15.2 ===
1537 2008-01-14 Alexander Larsson <alexl@redhat.com>
1539 * gfile.c (g_file_monitor_file):
1540 Don't set error here, since we fallback to polling monitor.
1542 2008-01-14 Alexander Larsson <alexl@redhat.com>
1545 (g_file_monitor_directory):
1546 (g_file_monitor_file):
1547 Add GError to file monitor calls
1549 * glocaldirectorymonitor.c:
1550 * glocaldirectorymonitor.h:
1552 * glocalfilemonitor.c:
1553 * glocalfilemonitor.h:
1555 Update for above change
1557 2008-01-14 Alexander Larsson <alexl@redhat.com>
1561 Handle root correctly in g_file_get_relative_path (#508719)
1563 2008-01-14 Alexander Larsson <alexl@redhat.com>
1566 Clean up docs and example for GAsyncResult (#508074)
1568 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1570 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1571 and correct some spelling mistakes. Bug #508108.
1573 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1575 * glocalfileinfo.c: Add a comment.
1577 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1579 * gfileinfo.c: GFileInfo description: Mention
1580 how to actually set attributes in a GFile and how to discover
1581 which attributes are settable. Bug #508378.
1583 2008-01-10 A. Walton <awalton@svn.gnome.org>
1585 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1586 (g_app_info_get_default_for_type):
1587 Check for NULL content types.
1589 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1591 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1593 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1595 * gfile.c: *_async() functions: Several small corrections
1596 to the documentation, mostly correcting copy/paste errors
1597 and improving some sentences.
1599 2008-01-09 Dan Winship <danw@gnome.org>
1601 * glocalfile.c (get_unique_filename): x86_64 fix
1603 2008-01-09 Alexander Larsson <alexl@redhat.com>
1608 Add g_unix_mount_guess_should_display and use
1609 for unix volume monitor backend.
1610 This means we more or less show what the
1611 gnome-vfs backend did.
1612 Based on patch from Padraig O'Briain
1614 2008-01-09 Alexander Larsson <alexl@redhat.com>
1618 Add g_themed_icon_new_with_default_fallbacks
1621 Use default fallbacks for icons
1623 2008-01-09 Alexander Larsson <alexl@redhat.com>
1626 * gmountoperation.[ch]:
1627 Change the API a bit so that unhandled methods
1628 get reported via the reply, rather than by
1629 the signal emission return value. This is because
1630 some handlers can't know this immediately without
1631 doing I/O, and this is an async operation that
1634 2008-01-09 Alexander Larsson <alexl@redhat.com>
1637 * fam/gfamdirectorymonitor.c:
1638 * fam/gfamfilemonitor.c:
1639 Fix double free crash (#508224)
1640 Patch from Joe Marcus Clarke
1642 008-01-07 Matthias Clasen <mclasen@redhat.com>
1644 * === Released 2.15.1 ===
1646 2008-01-07 Alexander Larsson <alexl@redhat.com>
1648 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1649 Fix warning (#507835)
1651 2008-01-07 Alexander Larsson <alexl@redhat.com>
1654 Pass --internal to glib-genmarshal
1657 * gmountoperation.c:
1659 Use better types for signal arguments (#507822)
1661 2008-01-07 Alexander Larsson <alexl@redhat.com>
1664 Build test subdir after .
1665 Remove gdirectorymonitor.[ch]
1667 * gdirectorymonitor.[ch]:
1671 Remove GDirectoryMonitor and make
1672 GFileMonitor the baseclass for both file and
1673 directory monitors. Lift the more generic
1674 rate limiting code from GDirectoryMonitor
1678 * fam/gfamdirectorymonitor.[ch]:
1679 * inotify/ginotifydirectorymonitor.[ch]:
1680 * inotify/inotify-helper.c:
1681 * glocaldirectorymonitor.[ch]:
1684 Update for the removed GDirectoryMonitor.
1686 * gmemoryoutputstream.c:
1687 Remove ununsed variable
1689 2008-01-07 Alexander Larsson <alexl@redhat.com>
1691 * gmemoryinputstream.c:
1692 Translate error strings
1695 * gmemoryoutputstream.[ch]:
1696 New implementation that avoids using GByteArray
1697 in implementation and API. (#506377)
1699 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1701 * tests/*: Add a test for memory input streams.
1703 * Makefile.am: Add tests to SUBDIRS.
1705 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1707 * glocalfilemonitor.c:
1708 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1711 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1713 * gdesktopappinfo.c: Fix a docs typo.
1715 * gfileattribute.c: Add information about extended attributes
1716 to the documentation. (#505058)
1718 2008-01-04 Alexander Larsson <alexl@redhat.com>
1721 * gmountoperation.c:
1722 Use the right type (uint) for the ask_password signal.
1724 2008-01-04 Alexander Larsson <alexl@redhat.com>
1729 Add g_app_info_supports_files()
1730 Remove desktop arg from g_app_info_should_show().
1732 * gdesktopappinfo.[ch]:
1733 Implement g_app_info_supports_files() and new should_show()
1734 Add g_desktop_app_info_set_desktop_env() to set the desktop
1735 for should_show(). (This will be set by gtk+ later)
1737 2008-01-04 Alexander Larsson <alexl@redhat.com>
1740 * gmemoryinputstream.[ch]:
1741 Improve API so that you can use multiple chunks
1742 of memory and custom destroy functions. (#506374)
1744 2008-01-03 Alexander Larsson <alexl@redhat.com>
1747 Handle NULL attribute matchers safely, as we return this
1748 for empty attribute matcher strings.
1750 2008-01-03 Alexander Larsson <alexl@redhat.com>
1752 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1753 Add /usr/local to list of internal mountpoints
1755 2008-01-03 Alexander Larsson <alexl@redhat.com>
1758 Check for HAVE_LCHOWN (#505887)
1760 2008-01-03 Alexander Larsson <alexl@redhat.com>
1764 Add define for selinux context attribute.
1765 Fix missing : -> :: namespace separator change
1766 Fix missing _ -> - name change for xattr-sys.
1769 2008-01-03 Alexander Larsson <alexl@redhat.com>
1772 Link to libglib and libgobject directly (#504879)
1773 Patch from Sebastien Bacher
1775 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1777 * gfile.c: Expanded the g_file_new_for_commandline_arg
1778 description a bit, based on the code and the docs of the
1779 other g_file_new_for_* functions.
1781 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1783 * gfilemonitor.h: Fixed typo in docs.
1785 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1787 Updates to GIO documentation. (#506395, Mikael Hermansson)
1789 * gcontenttype.c: Describe memory management for return value of
1790 g_content_types_get_registered(). Missing piece from #505815.
1791 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1792 GVolume, GDrive, GMounts, which hopefully gives the user less
1793 confusions when using this API. Following explainations from
1794 Alexander Larsson on gtk-devel-list.
1796 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1798 * gfileinfo.c: Expand the long description.
1800 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1803 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1804 fix builds with --disable-visibility. (#500273, Christian Persch)
1806 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1808 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1809 in the list of returned app infos.
1811 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1813 * gappinfo.c: Fix a cross-reference
1815 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1817 * gfileinputstream.c:
1818 * gfileoutputstream.c:
1822 * gdesktopappinfo.c:
1824 * gfileinfo.c: Documentation updates.
1826 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1828 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1831 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1833 * gcontenttype.c (g_content_types_get_registered): Don't return
1834 freed memory (#505815, Mikael Hermansson)
1836 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1838 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1839 used to detect statbuf->st_blocks. (#505042)
1841 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1843 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1844 environment handling. (#504829, Cosimo Cecchi)
1846 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1848 * gappinfo.c: Doc improvements
1850 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1853 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1855 * === Released 2.15.0 ===
1857 2007-12-20 Hans Breuer <hans@breuer.org>
1859 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1860 with symbols gwin32appinfo.obj, added gmount.obj
1861 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1863 2007-12-20 Alexander Larsson <alexl@redhat.com>
1869 * gfilenamecompleter.c:
1872 * gpollfilemonitor.c:
1873 File attribute renames:
1875 fs:: -> filesystem::
1876 id::fs -> id::filesystem
1878 2007-12-20 Alexander Larsson <alexl@redhat.com>
1887 Add GMountUnmountFlags to all unmount and
1889 Add g_mount_remount() call.
1891 2007-12-20 Alexander Larsson <alexl@redhat.com>
1893 * gvfs.c (get_default_vfs):
1894 Fix unused variable warning
1896 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1898 * pltcheck.sh: Update
1900 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1902 * gunionvolumemonitor.c:
1903 * gunixmount.c: Remove C99 comments
1905 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1907 * gio.symbols: Add some missing symbols
1909 2007-12-19 Alexander Larsson <alexl@redhat.com>
1912 Make g_io_modules_load_all_in_directory not unuse
1913 loaded modules so that users of it can do stuff
1915 Init internal "module" types.
1916 Initialize static prio and name for types so that
1917 we don't have to load modules to get it.
1919 * gnativevolumemonitor.h:
1921 Move is_supported to parent class so that
1922 non-native monitors can avoid being initialized
1923 too. (For instance GDaemonVolumeMonitor if we're
1924 not using GDaemonVfs.)
1926 * glocaldirectorymonitor.[ch]:
1927 * glocalfilemonitor.[ch]:
1928 * gunionvolumemonitor.c:
1929 * gunixvolumemonitor.c:
1931 Find plugins using the static prio+name to
1932 avoid unnecessarily loading the modules.
1934 2007-12-19 Alexander Larsson <alexl@redhat.com>
1939 2007-12-19 Alexander Larsson <alexl@redhat.com>
1941 * gunionvolumemonitor.c:
1942 Store the native type as GType, not class so that
1943 we can unload it. But still avoid unnecessarily
1946 2007-12-19 David Zeuthen <davidz@redhat.com>
1948 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1949 add signals 'disconnected' and 'eject-button' on GDrive. Add
1950 signal 'removed' on GVolume and 'unmounted' on GMount.
1952 * gdrive.c: (g_drive_base_init):
1954 * gfile.c: (g_file_mount_mountable),
1955 (g_file_mount_enclosing_volume):
1958 * gmount.c: (g_mount_base_init):
1960 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1961 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1962 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1966 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1968 * *.c: Fix up includes in the section docs.
1970 2007-12-17 Alexander Larsson <alexl@redhat.com>
1972 * gnativevolumemonitor.h:
1973 * gunionvolumemonitor.c:
1974 * gunixvolumemonitor.c:
1975 Add is_supported() to GNativeVolumeMonitorClass so
1976 that we can avoid having to create an object to see
1977 if the backend is supported at runtime.
1978 Also add name member and an env var to pick a specific
1979 volume monitor backend.
1983 Add cancellable to _g_mount_get_for_mount_path()
1985 * glocaldirectorymonitor.c:
1986 * glocalfilemonitor.c:
1987 Avoid loading and unloading modules while sorting.
1989 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1992 * gunixmounts.[hc]: Namespace waste reduction, move some
1993 g_get_unix_mount functions to the g_unix_mount namespace.
1996 * gunixvolumemonitor.c:
1998 * glocaldirectorymonitor.c: Update all callers.
2000 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2002 2007-12-17 Alexander Larsson <alexl@redhat.com>
2005 Add doc comments about what GFile operations are
2006 guaranteed to not block.
2008 2007-12-17 Alexander Larsson <alexl@redhat.com>
2011 Add missing #ifdef fixing OSX build.
2012 (#503334, patch from Richard Hult)
2014 2007-12-14 David Zeuthen <davidz@redhat.com>
2018 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2019 (g_mount_eject), (g_mount_eject_finish):
2021 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2022 (get_volume_for_uuid), (get_mount_for_uuid),
2023 (g_union_volume_monitor_class_init),
2024 (get_default_native_type_with_exclude), (get_default_native_type),
2025 (get_native_type), (update_native_type),
2026 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2027 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2028 (g_unix_mount_can_eject), (eject_unmount_cb),
2029 (eject_unmount_read_error), (eject_unmount_do),
2030 (g_unix_mount_unmount), (g_unix_mount_eject),
2031 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2032 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2033 (g_unix_mount_point_guess_can_eject):
2035 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2036 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2037 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2038 (g_unix_volume_mount), (g_unix_volume_eject),
2039 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2040 * gunixvolumemonitor.c: (get_volume_for_uuid),
2041 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2043 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2044 (g_volume_eject), (g_volume_eject_finish):
2046 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2047 (g_volume_monitor_get_mount_for_uuid):
2050 Provide eject() on both GMount and GVolume and utility functions
2051 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2052 ejected. Introduce the concept of UUID's and wire it into GVolume
2053 and GMount and provide API on GVolumeMonitor to find such
2054 instances. Also handle the case where an external
2055 GNativeVolumeMonitor fails to initialize. Lock around the
2056 _g_get_mount_for_mount_path() function such that volume monitor
2057 implementations won't have to do locking themselves.
2059 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2061 * gdesktopappinfo.c:
2067 * gvolume.h: Documentation updates
2069 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2072 * gfile.h: Doc updates
2074 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2077 * gdesktopappinfo.c: Use hash table iterators.
2079 2007-12-14 Alexander Larsson <alexl@redhat.com>
2082 * gfileattribute.[ch]:
2083 * gfileattribute-priv.h:
2084 Move GFileAttributeValue to a private header, as
2088 Make set_attribute take a type + a pointer instead
2089 of a GFileAttributeValue.
2092 Fix up for above changes.
2093 Add g_file_info_get_attribute_data to get
2094 all info in one call, g_file_info_get_attribute_status
2095 to get the status and g_file_info_get_attribute_as_string.
2099 * glocalfileinfo.[ch]:
2103 Make _guess_type static.
2105 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2108 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2109 made mkenums and friends use temporary files to avoid leaving
2110 empty generated files on failure (#503470).
2112 2007-12-14 Alexander Larsson <alexl@redhat.com>
2114 * gmountoperation.h:
2117 2007-12-14 Alexander Larsson <alexl@redhat.com>
2121 * gfileattribute.[ch]:
2124 * glocalfileoutputstream.c:
2125 * gmountoperation.[ch]:
2126 * goutputstream.[ch]:
2127 Clean up all flags enums to not have _FLAGS in them
2128 Make the names of some of the enums better.
2133 2007-12-14 Michael Natterer <mitch@imendio.com>
2135 * gio.symbols: fix g_io_scheduler symbol names.
2137 2007-12-14 Alexander Larsson <alexl@redhat.com>
2143 * gbufferedinputstream.h:
2144 * gbufferedoutputstream.h:
2147 * gdatainputstream.h:
2148 * gdataoutputstream.h:
2149 * gdesktopappinfo.h:
2150 * gdirectorymonitor.h:
2154 * gfileenumerator.h:
2157 * gfileinputstream.h:
2159 * gfilenamecompleter.h:
2160 * gfileoutputstream.h:
2161 * gfilterinputstream.h:
2162 * gfilteroutputstream.h:
2170 * gmemoryinputstream.h:
2171 * gmemoryoutputstream.h:
2173 * gmountoperation.h:
2176 * gsimpleasyncresult.h:
2178 * gunixinputstream.h:
2180 * gunixoutputstream.h:
2184 * inotify/Makefile.am:
2185 Only allow including <gio/gio.h> from apps
2187 2007-12-14 Alexander Larsson <alexl@redhat.com>
2189 * gioscheduler.[ch]:
2190 * gsimpleasyncresult.c:
2191 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2192 Split out the send_to_mainloop call into two versions instead
2193 of having the block argument.
2195 2007-12-13 Alexander Larsson <alexl@redhat.com>
2197 * gcancellable.[ch]:
2199 * gbufferedinputstream.c:
2200 * gfileenumerator.c:
2201 * gfileinputstream.c:
2202 * gfileoutputstream.c:
2206 g_push/pop_current_cancellable ->
2207 g_cancellable_push/pop_current
2209 2007-12-13 Alexander Larsson <alexl@redhat.com>
2213 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2215 2007-12-13 Alexander Larsson <alexl@redhat.com>
2217 * gmountoperation.h:
2218 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2220 2007-12-12 Alexander Larsson <alexl@redhat.com>
2223 Fix race condition when freeing proxy in
2224 g_io_job_send_to_mainloop().
2226 2007-12-12 Alexander Larsson <alexl@redhat.com>
2232 Make attribute namespace separator "::" instead of ":".
2233 Use - instead of _ as separator in attribute names.
2235 2007-12-12 Alexander Larsson <alexl@redhat.com>
2237 * gbufferedinputstream.h:
2238 * gbufferedoutputstream.h:
2239 * gdatainputstream.h:
2240 * gdataoutputstream.h:
2241 * gdirectorymonitor.h:
2242 * gfileenumerator.h:
2243 * gfileinputstream.h:
2245 * gfileoutputstream.h:
2246 * gfilterinputstream.h:
2247 * gfilteroutputstream.h:
2249 * glocalfileinputstream.h:
2250 * glocalfileoutputstream.h:
2251 * gmemoryinputstream.h:
2252 * gmemoryoutputstream.h:
2253 * gnativevolumemonitor.h:
2255 * gunixinputstream.h:
2256 * gunixoutputstream.h:
2259 s/parent/parent_instance/ in GObjects
2261 2007-12-12 Alexander Larsson <alexl@redhat.com>
2266 No need for padding for interfaces
2268 2007-12-12 Alexander Larsson <alexl@redhat.com>
2272 * gbufferedinputstream.c:
2273 * gbufferedoutputstream.c:
2276 * gdatainputstream.[ch]:
2277 * gdesktopappinfo.c:
2278 * gdirectorymonitor.c:
2280 * gfileattribute.[ch]:
2283 * gfileinputstream.h:
2284 * gfilemonitor.[ch]:
2285 * gfileoutputstream.[ch]:
2286 * gfilterinputstream.h:
2287 * gfilteroutputstream.h:
2290 * gloadableicon.[ch]:
2291 * gmemoryinputstream.c:
2292 * gmountoperation.c:
2294 Fix up a bunch of details in the docs.
2299 2007-12-11 David Zeuthen <davidz@redhat.com>
2301 Rework how volumes, drives and volume monitoring is
2302 done. Previosly the model was
2304 GDrive <1-1> GVolume
2306 where a GDrive instance represented a mount point and a GVolume
2307 instance represented a mounted file system. This patch changes it
2310 GDrive <1-N> GVolume <1-1> GMount
2312 where GMount now serves the purpose of the old GVolume and the new
2313 GVolume serves the purpose of the old GDrive. In addition the new
2314 GDrive interface is used to represent a collection of GVolume
2315 instances (typically partitions) and also contains utility to query
2316 the state of the physical drive the GDrive object represents (such
2317 as checking for media, polling the drive, ejecting the media etc.).
2319 Also implement mounting and unmounting in the Unix volume monitor
2320 backend. A subquent patch will introduce GDrive support for ejection
2324 * gdrive.c: (g_drive_is_media_check_automatic),
2325 (g_drive_is_media_removable), (g_drive_has_media),
2326 (g_drive_can_poll_for_media), (g_drive_eject),
2327 (g_drive_eject_finish), (g_drive_poll_for_media),
2328 (g_drive_poll_for_media_finish):
2330 * gfile.c: (g_file_find_enclosing_mount):
2333 * glocaldirectorymonitor.c:
2334 (g_local_directory_monitor_constructor), (mounts_changed):
2335 * glocalfile.c: (get_mount_info),
2336 (g_local_file_find_enclosing_mount),
2337 (g_local_file_file_iface_init):
2338 * gnativevolumemonitor.h:
2339 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2340 (get_connected_drives), (g_union_volume_monitor_class_init),
2341 (child_volume_added), (child_volume_removed),
2342 (child_volume_changed), (child_mount_added), (child_mount_removed),
2343 (child_mount_pre_unmount), (child_mount_changed),
2344 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2345 (g_union_volume_monitor_remove_monitor),
2346 (_g_mount_get_for_mount_path):
2347 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2348 (guess_system_internal), (_g_get_unix_mounts),
2349 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2350 (g_unix_mount_free), (g_unix_mount_compare),
2351 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2352 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2353 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2354 (type_to_icon), (g_unix_mount_guess_name),
2355 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2356 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2357 (_resolve_symlink), (_resolve_dev_root):
2359 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2360 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2361 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2362 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2363 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2364 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2365 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2366 (g_unix_volume_volume_iface_init):
2368 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2369 (get_mounts), (get_volumes), (get_connected_drives),
2370 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2371 (mountpoints_changed), (mounts_changed),
2372 (g_unix_volume_monitor_init),
2373 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2374 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2375 * gunixvolumemonitor.h:
2376 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2377 (g_volume_mount), (g_volume_mount_finish):
2379 * gvolumemonitor.c: (g_volume_monitor_class_init),
2380 (g_volume_monitor_get_connected_drives),
2381 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2384 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2386 * gmountoperation.h (GPasswordFlags): Close the gap
2388 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2390 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2392 * gdesktopappinfo.[hc]: Remove _-prefixes
2394 2007-12-10 Tor Lillqvist <tml@novell.com>
2396 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2399 2007-12-10 Alexander Larsson <alexl@redhat.com>
2401 * gfile.c (g_file_set_display_name):
2402 Don't hardcode '/' (#502727)
2404 2007-12-09 Hans Breuer <hans@breuer.org>
2406 * makefile.msc : follow lib naming convention
2407 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2408 for user and group name, tested with ../tests/gio-ls
2410 2007-12-09 A. Walton <awalton@svn.gnome.org>
2412 * gdesktopappinfo.c:
2418 * gfileenumerator.c:
2423 * gmemoryinputstream.c:
2424 * gmemoryoutputstream.c:
2426 * gsimpleasyncresult.c:
2427 More documentation cleanup and filling in missing information, bringing
2428 GIO to 99% symbol coverage.
2430 2007-12-08 Hans Breuer <hans@breuer.org>
2432 [gio compiles and links on win32, not sure how much already works]
2433 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2434 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2435 base on win32 API; prefer g_lstat() over lstat(); instead of
2436 localtime_r() use an all GLib implementation on win32;
2437 get_mount_info() still needs a win32 specifc implementation
2438 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2439 win32_get_file_user_info to get owner/group info without uid/gid
2440 * glocalfileinputstream.c : include <io.h> on win32
2441 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2442 definition, use g_win32_ftruncate() for G_OS_WIN32
2443 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2444 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2445 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2446 * makefile.msc : updated
2448 2007-12-07 Alexander Larsson <alexl@redhat.com>
2450 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2451 Avoid warning spew if error == NULL
2453 2007-12-07 Alexander Larsson <alexl@redhat.com>
2456 Update docs wrt etags
2458 2007-12-06 Alexander Larsson <alexl@redhat.com>
2461 Include sys/types.h for dev_t (#501919)
2463 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2467 Make abicheck and pltcheck pass.
2469 2007-12-05 Alexander Larsson <alexl@redhat.com>
2472 * giomodule-priv.h: Added.
2473 * glocaldirectorymonitor.c:
2474 * glocalfilemonitor.c:
2475 * gunionvolumemonitor.c:
2477 Actually add the declaration of _g_io_modules_ensure_loaded
2479 2007-12-05 Alexander Larsson <alexl@redhat.com>
2481 * gdatainputstream.c:
2486 * glocaldirectorymonitor.c:
2487 * glocalfilemonitor.c:
2488 * gunionvolumemonitor.c:
2490 Make g_io_modules_ensure_loaded a private function and
2491 don't pass in the dirname. This means we can do magic
2492 directory finding in the win32 version.
2493 Export the actual load-modules-in-directory code so that
2494 gvfs can reuse that.
2496 2007-12-05 Alexander Larsson <alexl@redhat.com>
2498 * gbufferedinputstream.c:
2499 * gbufferedoutputstream.c:
2502 * gfileenumerator.[ch]:
2503 * gfileinputstream.c:
2504 * gfileoutputstream.[ch]:
2505 * gfilterinputstream.c:
2506 * gfilteroutputstream.c:
2507 * ginputstream.[ch]:
2509 * glocalfileenumerator.c:
2510 * glocalfileinputstream.c:
2511 * glocalfileoutputstream.c:
2512 * gmemoryinputstream.c:
2513 * gmemoryoutputstream.c:
2514 * goutputstream.[ch]:
2517 * gunixinputstream.c:
2518 * gunixoutputstream.c:
2519 Rename all struct members named:
2520 read, write, close, truncate, or mount
2521 to foo_fn, as these are reserved names
2522 and could be defined as macros in libc.
2525 2007-12-04 Alexander Larsson <alexl@redhat.com>
2528 (g_output_stream_close):
2529 Only call flush if non-null.
2531 2007-11-30 Dan Winship <danw@gnome.org>
2533 * ginputstream.c (g_input_stream_set_pending): Make this take a
2534 GError and return a gboolean, and do the "outstanding operation"
2535 check (and the "stream is already closed" check) itself.
2536 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2538 * goutputstream.c (g_output_stream_set_pending)
2539 (g_output_stream_clear_pending): Likewise
2541 * gbufferedinputstream.c:
2542 * gfileinputstream.c:
2543 * gfileoutputstream.c: Update for that
2545 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2546 Like g_simple_async_report_error_in_idle, but takes a GError
2547 rather than building one.
2549 2007-11-30 Dan Winship <danw@gnome.org>
2551 * goutputstream.c: Don't cheat and unset the "pending" flag around
2552 inner calls. Instead, call the class method directly rather than
2553 the wrapper function that checks "pending"
2555 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2557 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2559 2007-12-03 Hans Breuer <hans@breuer.org>
2561 [start of port to win32/msvc]
2562 * gcancellable.c : HAVE_UNIST_H and _pipe()
2563 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2564 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2565 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2567 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2568 * glocalvfs.c : use HAVE_PWD_H
2569 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2570 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2571 * Makefile.am : added to EXTRA_DIST
2573 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2575 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2578 2007-12-03 Alexander Larsson <alexl@redhat.com>
2581 Handle OSX style xattrs API (#500506)
2583 2007-12-03 Alexander Larsson <alexl@redhat.com>
2587 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2589 2007-12-02 A. Walton <awalton@svn.gnome.org>
2593 Documentation accuracy fixes.
2595 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2597 * gioenumtypes.c.template: Fix typo.
2599 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2601 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2603 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2605 * gdirectorymonitor.c:
2606 * gfilemonitor.c: Add properties
2608 * gbufferedoutputstream.c: Don't mark buffer-size property
2611 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2613 * gbufferedoutputstream.c: Add auto-grow property.
2615 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2617 * *.c: Unify the capitalization of section headings.
2619 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2621 * gmountoperation.c: Add properties
2623 * gdatainputstream.c: Turn byte-order and newline-type into
2626 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2628 * gioenumtypes.[hc].template: Templates for enum registration
2630 * Makefile.am: Generate gioenumtypes.[hc]
2632 * gio.h: Include gioenumtypes.h
2634 * gfile.h: Add some explicit nicks.
2636 * gio.symbols: Add new symbols
2638 * pltcheck.sh: Adjust
2640 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2642 * *.c: Explain etags and link to the explanation
2644 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2646 * *.c: Explain I/O priority.
2648 * *.c: More coding style fixes.
2650 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2652 * gasyncresult.c: Add another paragraph to the intro,
2653 adjust coding style of example.
2655 2007-11-29 A. Walton <awalton@svn.gnome.org>
2658 Fixes unknown meaning in GAppLaunchContext docs.
2660 Clarify asynchronous ops.
2662 Fix entity tag docs.
2665 Provides missing gtk-doc section, fixes API docs slighly.
2666 * gsimpleasyncresult.c:
2667 Fill in missing info in docs.
2668 * gunixinputstream.c:
2669 * gunixoutputstream.c:
2670 Be more expressive in short description.
2672 Remove gtk-doc stubs for non-public API.
2674 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2676 * *.c: Coding style fixups
2678 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2680 * inotify/inotify-helper.c: Don't export the lock from libgio.
2682 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2685 * abicheck.sh: Fix copy-and-paste leftovers
2687 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2689 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2691 2007-11-28 Alexander Larsson <alexl@redhat.com>
2695 Removed unnecessary file
2697 * gdesktopappinfo.[ch]:
2700 * glocaldirectorymonitor.[ch]:
2702 * glocalfileenumerator.[ch]:
2703 * glocalfileinputstream.[ch]:
2704 * glocalfilemonitor.[ch]:
2705 * glocalfileoutputstream.[ch]:
2707 * gnativevolumemonitor.c:
2708 * gpollfilemonitor.[ch]:
2709 * gunionvolumemonitor.[ch]:
2712 * gunixvolumemonitor.[ch]:
2715 * inotify/ginotifydirectorymonitor.[ch]:
2716 * inotify/ginotifyfilemonitor.[ch]:
2717 * inotify/inotify-helper.c:
2718 Append _ to all internal functions
2722 Export symbols needed for modules
2724 2007-11-28 Alexander Larsson <alexl@redhat.com>
2727 * abicheck.sh: Added.
2728 * makegioalias.pl: Added.
2729 * pltcheck.sh: Added.
2730 * gio.symbols: Added.
2733 Initial work on adding symbol handling.
2736 Correct ifdef guard name
2739 * inotify/Makefile.am:
2740 * xdgmime/Makefile.am:
2741 Include toplevel Makefile.decl
2743 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2745 * gcontenttype.c: Move doc comments to the unix section.
2747 * *.[hc]: More trivial doc corrections.
2749 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2751 * gpollfilemonitor.c:
2755 * gdesktopappinfo.c:
2760 * gdatainputstream.c:
2761 * gdatainputstream.h:
2762 * gdataoutputstream.c:
2763 * gdataoutputstream.h:
2764 * gfileinfo.h: Doc cleanups
2766 2007-11-28 Andre Klapper <a9016009@gmx.de>
2768 * gdesktopappinfo.c: Fix a typo.
2770 2007-11-27 Andre Klapper <a9016009@gmx.de>
2772 * glocalfileoutputstream.c: Fix a typo.
2774 2007-11-27 Alexander Larsson <alexl@redhat.com>
2777 Don't include removed headers
2779 2007-11-27 Alexander Larsson <alexl@redhat.com>
2782 * gsocketinputstream.[ch]: Removed.
2783 * gsocketoutputstream.[ch]: Removed.
2784 * gunixinputstream.[ch]: Added.
2785 * gunixoutputstream.[ch]: Added.
2786 Renamed GSocket*Stream to GUnix*Stream and made
2787 it unix-only, since its not really only for sockets
2788 and it only works on unix (but is highly useful there).
2790 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2796 * gbufferedinputstream.c:
2797 * gbufferedinputstream.h:
2798 * gbufferedoutputstream.c:
2799 * gbufferedoutputstream.h:
2803 * gdatainputstream.c:
2804 * gdatainputstream.h:
2805 * gdataoutputstream.c:
2806 * gdataoutputstream.h:
2807 * gdirectorymonitor.c:
2808 * gdirectorymonitor.h:
2815 * gfileenumerator.c:
2816 * gfileenumerator.h:
2821 * gfileinputstream.c:
2822 * gfileinputstream.h:
2825 * gfilenamecompleter.c:
2826 * gfilenamecompleter.h:
2827 * gfileoutputstream.c:
2828 * gfileoutputstream.h:
2829 * gfilterinputstream.c:
2830 * gfilterinputstream.h:
2831 * gfilteroutputstream.c:
2832 * gfilteroutputstream.h:
2845 * glocalfileoutputstream.c:
2846 * gmemoryinputstream.c:
2847 * gmemoryinputstream.h:
2848 * gmemoryoutputstream.c:
2849 * gmemoryoutputstream.h:
2850 * gmountoperation.c:
2851 * gmountoperation.h:
2854 * gpollfilemonitor.c:
2857 * gsimpleasyncresult.c:
2858 * gsimpleasyncresult.h:
2859 * gsocketinputstream.c:
2860 * gsocketinputstream.h:
2861 * gsocketoutputstream.c:
2862 * gsocketoutputstream.h:
2869 * gunixvolumemonitor.c:
2878 Bumps documentation to 93% symbol coverage, touching most
2879 of the public files. Fixes broken function documentation prototypes.
2880 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2881 gtk-doc headers in private files.
2883 2007-11-27 Jürg Billeter <j@bitron.ch>
2885 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2886 (g_buffered_input_stream_read_byte):
2887 * gbufferedinputstream.h:
2888 New functions for efficient access to buffer and simple single byte
2891 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2892 (g_data_input_stream_read_until):
2893 * gdatainputstream.h:
2894 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2895 read_until with multiple stop chars.
2897 2007-11-27 Alexander Larsson <alexl@redhat.com>
2901 * inotify/Makefile.am:
2902 Use the user-specified giomoduledir
2904 2007-11-27 Alexander Larsson <alexl@redhat.com>
2908 Add catch-all gio.h header
2909 Don't install gdummyfile.h
2911 2007-11-26 Alexander Larsson <alexl@redhat.com>
2913 * Makefile.am (gioinclude_HEADERS):
2914 Remove trailing whitespace
2916 2007-11-26 Alexander Larsson <alexl@redhat.com>
2918 Merge gio-standalone into glib
2920 2007-11-25 Christian Kellner <gicmo@gnome.org>
2922 * gio/goutputstream.c:
2923 Fix small mistake in the docs.
2925 2007-11-21 Christian Persch <chpe@gnome.org>
2927 * gio/glocalfile.c: (g_local_file_trash):
2928 Convert filenames to UTF-8 for GError.
2929 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2930 as per xdg base dir spec.
2932 2007-11-21 Christian Persch <chpe@gnome.org>
2934 * gio/gdesktopappinfo.c:
2935 Use that g_key_file_to_data cannot fail.
2937 Use stock defines for the key file group and key names.
2940 2007-11-21 Alexander Larsson <alexl@redhat.com>
2943 (copy_stream_with_progress):
2944 Make sure we do a final progress callback with
2945 the full total size.
2947 2007-11-21 Alexander Larsson <alexl@redhat.com>
2950 Export g_file_copy_attributes
2951 Remove padding as its not needed for interfaces
2953 2007-11-20 Alexander Larsson <alexl@redhat.com>
2958 Add G_IO_ERROR_WOULD_MERGE for
2959 copy/move dir on dir with overwrite.
2961 2007-11-20 Alexander Larsson <alexl@redhat.com>
2964 * gio/glocalfileinfo.c:
2965 Add COPY_NAME (this is an optional
2966 non-modified utf8 version of the name) that
2969 2007-11-20 Alexander Larsson <alexl@redhat.com>
2971 * gio/glocalfileenumerator.c:
2972 Report errors as GIOError, not GFileError
2974 2007-11-16 Alexander Larsson <alexl@redhat.com>
2976 * gio/glocalfileoutputstream.c:
2977 * gio/gwin32appinfo.c:
2978 Fix typos in strings.
2979 Patch from Luca Ferretti <elle.uca@libero.it>
2981 2007-11-15 Alexander Larsson <alexl@redhat.com>
2984 Post release version bump
2986 === gio-standalone 0.1.2 ===
2988 2007-11-15 Alexander Larsson <alexl@redhat.com>
2990 * docs/reference/gio/Makefile.am:
2991 Fix up distcheck by removing weird
2997 2007-11-14 Alexander Larsson <alexl@redhat.com>
2999 * gio/gdesktopappinfo.c:
3000 * gio/glocaldirectorymonitor.c:
3002 * gio/glocalfileinfo.c:
3003 * gio/inotify/inotify-sub.c:
3004 * programs/gio-cat.c:
3005 * programs/gio-copy.c:
3006 * programs/gio-info.c:
3007 * programs/gio-ls.c:
3008 * programs/gio-monitor-dir.c:
3009 * programs/gio-monitor-file.c:
3010 * programs/gio-mount.c:
3011 * programs/gio-move.c:
3012 * programs/gio-rm.c:
3013 * programs/gio-save.c:
3014 * programs/gio-trash.c:
3015 Leak fixes from Kjartan Maraas
3017 2007-11-14 Alexander Larsson <alexl@redhat.com>
3019 * gio/fam/fam-helper.c:
3021 * gio/glocalfileinfo.c:
3025 * gio/inotify/inotify-diag.c:
3026 * gio/inotify/inotify-kernel.c:
3027 Various code cleanups from Kjartan Maraas
3029 2007-11-14 Alexander Larsson <alexl@redhat.com>
3031 * gio/gioscheduler.c:
3033 Set up threadpool so that we cache 2 unused
3034 idle threads for at 15 secs. This means we
3035 will reuse thread-local data (like dbus connections)
3038 2007-11-14 Alexander Larsson <alexl@redhat.com>
3040 * gio/fam/fam-helper.c:
3041 * gio/fam/gfamdirectorymonitor.c:
3042 * gio/fam/gfamfilemonitor.c:
3044 * gio/gcontenttype.c:
3045 * gio/gdatainputstream.c:
3046 * gio/gdataoutputstream.c:
3050 * gio/gfileattribute.h:
3051 * gio/gfileenumerator.c:
3053 * gio/ginputstream.c:
3056 * gio/glocalfileinfo.c:
3057 * gio/goutputstream.c:
3058 * gio/gpollfilemonitor.c:
3059 * gio/gsimpleasyncresult.c:
3060 * gio/gunixmounts.c:
3061 * gio/gunixmounts.h:
3062 * gio/inotify/ginotifydirectorymonitor.c:
3063 * gio/inotify/ginotifyfilemonitor.c:
3064 * gio/inotify/inotify-diag.c:
3065 * gio/inotify/inotify-kernel.c:
3066 * gio/inotify/inotify-path.c:
3068 * gio/test-streams.c:
3069 * programs/gio-info.c:
3070 * programs/gio-monitor-dir.c:
3071 * programs/gio-monitor-file.c:
3072 Various code cleanups from Kjartan Maraas
3074 2007-11-13 Alexander Larsson <alexl@redhat.com>
3077 Handle the uri-scheme calls for dummy files
3079 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3081 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3082 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3083 to avoid clash with the C++ keyword.
3085 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3087 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3088 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3090 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3092 * gio/glocaldirectorymonitor.c:
3093 * gio/glocalfilemonitor.c:
3094 * gio/gunionvolumemonitor.c:
3095 Don't use g_once_init_*() for initializations that could fail and
3096 could leave the initialization variable set to 0 but use GOnce.
3097 This prevents a deadlock on the second call when trying to create
3098 a monitor and no monitor type is available. Thanks to Sven Herzberg
3101 2007-11-11 Sven Herzberg <sven@imendio.com>
3103 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3104 #ifdef (make it work on MacOS X again)
3106 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3108 Fixes Changelog for last two commits (sorry guys).
3110 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3112 * gio/gbufferedinputstream.c:
3113 * gio/gdatainputstream.c:
3115 * gio/gfileoutputstream.c:
3116 * gio/gfilterinputstream.c:
3117 * gio/glocalfileinputstream.c:
3120 More consistency fixes in g*stream.c files.
3121 Significant clean of gfile's documentation, filling in of
3122 asynchronous operations documentation.
3124 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3126 * gio/gasyncresult.c:
3127 * gio/gbufferedinputstream.c:
3128 * gio/gbufferedoutputstream.c:
3129 * gio/gcancellable.c:
3130 * gio/gcontenttype.c:
3131 * gio/gdatainputstream.c:
3132 * gio/gdataoutputstream.c:
3133 * gio/gdesktopappinfo.c:
3136 * gio/gfileattribute.c:
3137 * gio/gio/gfileenumerator.c:
3139 * gio/gfileinputstream.c:
3140 * gio/gfilemonitor.c:
3141 * gio/gfileoutputstream.c:
3142 * gio/ginputstream.c:
3144 * gio/gioscheduler.c:
3145 * gio/gloadableicon.c:
3146 * gio/glocalfileoutputstream.c:
3147 * gio/gmemoryoutputstream.c:
3148 * gio/gmountoperation.c:
3149 * gio/goutputstream.c:
3151 * gio/gsimpleasyncresult.c:
3152 * gio/gunionvolumemonitor.c:
3153 * gio/gunixmounts.c:
3154 * gio/gunixvolume.c:
3158 * gio/gvolumemonitor.c:
3159 Updated documentation stubs, working towards consistency and
3162 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3164 * gio/gmemoryoutputstream.c:
3165 * gio/gmemoryoutputstream.h:
3166 Change g_memory_output_stream_set_free_on_close() to
3167 g_memory_output_stream_set_free_data() as this makes more sense and
3168 is more consistent with GMemoryInputStream.
3170 2007-11-07 Alexander Larsson <alexl@redhat.com>
3177 Change how we find the default vfs so that
3178 we can handle a gvfs failing to init
3180 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3182 * gio/gbufferedoutputstream.c:
3183 * gio/gdatainputstream.c:
3184 * gio/gdataoutputstream.c:
3185 * gio/gfileinputstream.c:
3186 * gio/gfileoutputstream.c:
3187 * gio/gfilterinputstream.c:
3188 * gio/gfilteroutputstream.c:
3189 * gio/ginputstream.c:
3190 * gio/gmemoryinputstream.c:
3191 * gio/gmemoryoutputstream.c:
3192 * gio/goutputstream.c:
3193 * gio/gsimpleasyncresult.c:
3194 * gio/gsocketinputstream.c:
3195 * gio/gsocketoutputstream.c:
3196 Add guards to the remaining public functions, add a TODO for
3197 an unimplemented function and remove some useless guards.
3199 2007-11-07 Alexander Larsson <alexl@redhat.com>
3202 Autoconf checks for the various types of
3203 getpwuid_r and getgrgid_r
3205 * gio/glocalfileinfo.c:
3206 Use the autoconf checks from above
3208 2007-11-07 Alexander Larsson <alexl@redhat.com>
3211 (g_local_file_query_filesystem_info):
3212 Some fixes for the statvfs case
3214 2007-11-07 Alexander Larsson <alexl@redhat.com>
3217 (g_local_file_query_filesystem_info):
3218 Pick the "best" of statfs / statvfs for the system
3219 if both are availible.
3221 2007-11-07 Alexander Larsson <alexl@redhat.com>
3223 Solaris fixes from Halton.Huo@Sun.COM:
3230 * gio/glocalfileinfo.c:
3231 Fix for solaris definition of getpwuid_r
3233 * gio/test-streams.c:
3234 Use G_GNUC_PRETTY_FUNCTION
3236 2007-11-07 Alexander Larsson <alexl@redhat.com>
3238 * gio/gdesktopappinfo.c:
3239 (update_default_list):
3240 Remove double semicolon.
3241 Patch from Jens Granseuer
3243 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3245 * docs/reference/gio/gio-sections.txt:
3246 * gio/gbufferedinputstream.c:
3247 * gio/gbufferedinputstream.h:
3248 * gio/gdatainputstream.c:
3249 * gio/gfileenumerator.c:
3250 * gio/gioscheduler.c:
3251 * gio/gunionvolumemonitor.c:
3253 * programs/gio-save.c:
3254 Fix typo: availible -> available. Unfortuntely this breaks API
3255 and ABI as g_buffered_input_stream_get_available() was renamed.
3257 * gio/gunixmounts.c:
3258 * gio/gbufferedinputstream.c:
3259 Add guards for public functions.
3261 2007-11-06 Ross Burton <ross@openedhand.com>
3263 * docs/reference/gio/Makefile.am:
3264 Fix invalid += usage which automake 1.10 doesn't like.
3266 2007-11-06 Alexander Larsson <alexl@redhat.com>
3269 (g_app_launch_context_class_init):
3272 Patch from Ross Burton
3274 2007-11-06 Alexander Larsson <alexl@redhat.com>
3277 Post release version bump
3279 === gio-standalone 0.1.1 ===
3281 2007-11-06 Alexander Larsson <alexl@redhat.com>
3284 Bump version to 0.1.1
3286 * gio/gsimpleasyncresult.c:
3287 (g_simple_async_result_set_from_error):
3288 Remove bogus g_return_if_fail
3290 2007-11-06 Alexander Larsson <alexl@redhat.com>
3293 The name is gio-standalone
3296 Add top src/builddir to includedir
3298 2007-11-06 Alexander Larsson <alexl@redhat.com>
3300 * docs/reference/gio/gio-sections.txt:
3302 * gio/gbufferedinputstream.c:
3303 * gio/gbufferedoutputstream.c:
3304 * gio/gcancellable.c:
3305 * gio/gdatainputstream.h:
3306 * gio/gdataoutputstream.c:
3307 * gio/gdataoutputstream.h:
3308 * gio/gdirectorymonitor.c:
3310 * gio/gfileattribute.c:
3311 * gio/gfileattribute.h:
3312 * gio/gfileenumerator.c:
3313 * gio/gfileenumerator.h:
3316 * gio/gfileinputstream.h:
3317 * gio/gfilemonitor.c:
3318 * gio/gfileoutputstream.h:
3319 * gio/glocalfilemonitor.h:
3320 * gio/glocalfileoutputstream.h:
3321 * gio/gmemoryinputstream.c:
3322 * gio/gmemoryoutputstream.c:
3323 * gio/gmountoperation.c:
3324 * gio/goutputstream.c:
3325 * gio/goutputstream.h:
3327 * gio/gsimpleasyncresult.c:
3328 * gio/gunixmounts.c:
3329 * gio/gunixmounts.h:
3331 * gio/inotify/inotify-helper.c:
3332 Fix gtk-doc warnings
3334 Patch from Ross Burton
3336 2007-11-06 Alexander Larsson <alexl@redhat.com>
3338 * gio/gfilenamecompleter.c:
3339 (g_filename_completer_get_completions):
3342 * gio/gunixvolume.c:
3343 Remove unused function
3345 Patches from Ross Burton
3347 2007-11-06 Alexander Larsson <alexl@redhat.com>
3352 Padding not needed for interfaces
3354 2007-11-06 Alexander Larsson <alexl@redhat.com>
3356 * gio/gfilemonitor.c:
3360 Make giotypes.h an internal file
3363 * gio/gbufferedinputstream.h:
3364 * gio/gbufferedoutputstream.h:
3365 * gio/gcancellable.h:
3366 * gio/gdatainputstream.h:
3367 * gio/gdataoutputstream.h:
3368 * gio/gdirectorymonitor.c:
3369 * gio/gdirectorymonitor.h:
3374 * gio/gfileattribute.h:
3375 * gio/gfileenumerator.h:
3380 * gio/gfilemonitor.c:
3381 * gio/gfilemonitor.h:
3382 * gio/gfilenamecompleter.c:
3383 * gio/gfilenamecompleter.h:
3384 * gio/gfilterinputstream.h:
3385 * gio/gfilteroutputstream.h:
3386 * gio/ginputstream.h:
3387 * gio/gmemoryinputstream.h:
3388 * gio/gmemoryoutputstream.h:
3389 * gio/gmountoperation.c:
3390 * gio/gmountoperation.h:
3391 * gio/gnativevolumemonitor.c:
3392 * gio/goutputstream.h:
3395 * gio/gsimpleasyncresult.c:
3396 * gio/gsimpleasyncresult.h:
3397 * gio/gsocketinputstream.h:
3398 * gio/gsocketoutputstream.h:
3399 * gio/gthemedicon.c:
3400 * gio/gthemedicon.h:
3404 * gio/gvolumemonitor.c:
3405 * gio/gvolumemonitor.h:
3406 Add padding in classes where it seems useful
3407 Don't include giotypes.h from public headers
3408 Move in Class definitions into c file where possible
3413 2007-11-06 Alexander Larsson <alexl@redhat.com>
3415 * docs/reference/gio/gio-docs.xml:
3416 Better structure for API docs
3418 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3421 * gio/gloadableicon.c:
3422 * gio/gsimpleasyncresult.c:
3423 * gio/gthemedicon.c:
3424 Add some more guards to public functions. Only files missing are now
3427 2007-11-06 Alexander Larsson <alexl@redhat.com>
3429 * docs/reference/gio/gio-docs.xml:
3430 Remove old files, add missing ones
3432 2007-11-06 Alexander Larsson <alexl@redhat.com>
3434 * docs/reference/gio/gio-sections.txt:
3437 Hide implementation classes
3439 * gio/gdriveprivate.h:
3440 * gio/gvolumeprivate.h:
3441 Remove non-existing function declarations
3443 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3446 Fix compilation warnings and add guards to the new functions.
3448 * gio/gasyncresult.c:
3450 Add guards to the public functions.
3453 Implement get_path().
3455 2007-11-06 Alexander Larsson <alexl@redhat.com>
3457 * gio/gfilenamecompleter.c:
3458 Make g_filename_completer_get_completions
3459 return char ** instead of GList for
3462 * docs/reference/gio/gio-docs.xml:
3463 * docs/reference/gio/gio-sections.txt:
3465 * gio/gasyncresult.c:
3466 * gio/gbufferedinputstream.c:
3467 * gio/gbufferedoutputstream.c:
3468 * gio/gcancellable.c:
3469 * gio/gcontenttype.c:
3470 * gio/gdatainputstream.c:
3471 * gio/gdataoutputstream.c:
3472 * gio/gdesktopappinfo.c:
3473 * gio/gdirectorymonitor.c:
3477 * gio/gfileattribute.c:
3478 * gio/gfileenumerator.c:
3481 * gio/gfileinputstream.c:
3482 * gio/gfilemonitor.c:
3483 * gio/gfilenamecompleter.c:
3484 * gio/gfilenamecompleter.h:
3485 * gio/gfileoutputstream.c:
3486 * gio/gfilterinputstream.c:
3488 * gio/ginputstream.c:
3490 * gio/gioscheduler.c:
3491 * gio/gloadableicon.c:
3492 * gio/glocaldirectorymonitor.c:
3494 * gio/glocalfileinputstream.c:
3495 * gio/glocalfilemonitor.c:
3496 * gio/glocalfileoutputstream.c:
3498 * gio/gmemoryinputstream.c:
3499 * gio/gmemoryoutputstream.c:
3500 * gio/gmountoperation.c:
3501 * gio/goutputstream.c:
3502 * gio/gpollfilemonitor.c:
3504 * gio/gsimpleasyncresult.c:
3505 * gio/gsocketinputstream.c:
3506 * gio/gsocketoutputstream.c:
3507 * gio/gthemedicon.c:
3508 * gio/gunionvolumemonitor.c:
3510 * gio/gunixmounts.c:
3511 * gio/gunixvolume.c:
3512 * gio/gunixvolumemonitor.c:
3516 * gio/gvolumemonitor.c:
3517 * gio/gwin32appinfo.c:
3518 Add (mostly stub) doc strings to public functions.
3519 Patch from Andrew Walton (awalton@gmail.com)
3521 2007-11-06 Alexander Larsson <alexl@redhat.com>
3523 * gio/gappinfo.[ch]:
3524 Added GAppLaunchContext object and pass that to launch.
3525 This allows simple implementation of both
3526 launch-on-screen and startup notification via a gtk+
3527 subclass of GAppLaunchContext
3529 * gio/gdesktopappinfo.c:
3530 Implement GAppLaunchContext API
3532 * gio/gwin32appinfo.c:
3535 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3537 * gio/gmountoperation.c:
3538 Add some guards to GMountOperation's public functions.
3540 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3544 * gio/gcancellable.c:
3545 * gio/gdirectorymonitor.c:
3547 * gio/gfileenumerator.c:
3548 * gio/gfilemonitor.c:,
3549 * gio/gfilenamecompleter.c:
3552 * gio/gioscheduler.c:
3556 * gio/gvolumemonitor.c:
3557 Add even more guards to various public functions.
3559 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3562 Add guards to the public functions of GAppInfo.
3564 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3566 * gio/gcontenttype.c:
3567 Add some more guards for public functions.
3569 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3571 * gio/fam/fam-module.c:
3572 * gio/fam/gfamdirectorymonitor.c:
3573 * gio/fam/gfamdirectorymonitor.h:
3574 * gio/fam/gfamfilemonitor.c:
3575 * gio/fam/gfamfilemonitor.h:
3576 * gio/inotify/ginotifydirectorymonitor.c:
3577 * gio/inotify/ginotifydirectorymonitor.h:
3578 * gio/inotify/ginotifyfilemonitor.c:
3579 * gio/inotify/ginotifyfilemonitor.h:
3580 Add proper copyright information and remove an unused variable
3581 in the GInotifyFileMonitor constructor.
3583 * gio/gcancellable.c:
3584 Add a guard for a public function and an assertion to prevent
3585 an undefined program state.
3587 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3589 * gio/gfileattribute.c:
3590 Don't run into an assertion if the given attribute value is NULL
3591 in g_file_attribute_value_get_*() but instead return a fallback
3592 value that makes sense in most situations. Passing them a attribute
3593 value with the wrong type will still run into an assertion.
3595 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3597 * gio/gfileattribute.c:
3599 Add even more guards to the public functions. Also fix the refcounting
3600 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3601 let g_file_info_list_attributes() filter the attributes by namespace
3602 instead of simply ignoring the namespace parameter.
3604 2007-11-03 Sven Herzberg <sven@imendio.com>
3606 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3607 (This makes gio work on MacOS X again)
3609 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3612 Build the gio subdirectory before the docs. Otherwise the build will
3615 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3616 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3617 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3618 Add guards to the public functions.
3620 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3622 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3623 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3624 to prevent a compiler warning.
3626 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3627 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3628 return something in the non-void function find_topdir_for().
3630 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3637 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3639 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3640 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3641 * gwin32appinfo.c (g_win32_app_info_launch):
3642 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3643 envp_for_startup_id, g_desktop_app_info_launch,
3644 g_desktop_app_info_launch_uris):
3646 Give an opaque 'startup_id' string instead of 'envp'.
3647 Support empty file lists for launching new windows.
3648 Fix infinite recursion bug when launching URIs.
3650 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3653 Add guard to the new g_file_get_uri_scheme() function.
3655 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3658 Convert a g_return_val_if_fail() to setting the GError instead as
3659 otherwise applications have to verify the parameter before otherwise
3660 and the parameter might come directly from the user.
3662 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3664 * gio/inotify/ginotify*.[ch]:
3665 Add missing copyright information.
3667 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3670 Add guards in the beginning of public functions to check for valid
3671 parameters and fix a bug in copy_stream_with_progress() that could've
3672 caused writing less bytes than reading.
3673 * gio/glocalfileinfo.c:
3674 Check for a NULL parameter and set the GError accordingly then.
3675 * gio/goutputstream.c:
3676 Fix the same bug as in gfile.c that could've caused writing less bytes
3677 than reading in g_output_stream_real_splice().
3679 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3682 Use the correct gvolumeprivate.h naming
3684 2007-11-01 Christian Kellner <gicmo@gnome.org>
3687 Remove leftover "$(daemon_sources)" entry.
3689 2007-11-01 Christian Kellner <gicmo@gnome.org>
3694 Add copyright information to source files.
3696 2007-11-01 Alexander Larsson <alexl@redhat.com>
3700 Add g_file_get_uri_scheme
3702 2007-11-01 Alexander Larsson <alexl@redhat.com>
3705 * gio/gdesktopappinfo.c:
3706 * gio/gwin32appinfo.c:
3707 Add g_app_info_get_default_for_uri_scheme.
3709 2007-11-01 Alexander Larsson <alexl@redhat.com>
3712 Correct filename for gdriveprivate.h
3714 2007-10-31 Alexander Larsson <alexl@redhat.com>
3717 Rename id:value to id:file
3720 * gio/glocalfileinfo.c:
3723 2007-10-31 Alexander Larsson <alexl@redhat.com>
3725 * gio/gunixvolume.c:
3727 Remove g_volume_get_platform_id, as thats not
3728 needed with the simpler union volume monitor
3730 2007-10-31 Alexander Larsson <alexl@redhat.com>
3733 * gio/guniondrive.[ch]: Removed.
3734 * gio/gunionvolume.[ch]: Removed.
3735 Remove GUnionDrive/Volume
3737 * gio/gunionvolumemonitor.c:
3738 Simplify union volume monitor, now we
3739 only have one native volume monitor and
3740 we use the actual volumes/drives from the
3741 child monitors instead of wrapping them
3743 * gio/gnativevolumemonitor.[ch]:
3744 Base class for native volume monitors.
3745 Includes priority and get_volume_for_mountpoint
3748 Add g_file_find_enclosing_volume
3751 Remove volume name fs attribute
3752 Add readonly fs attribute
3755 Implement readonly attribute
3756 remove volume name attribute
3757 Implement find_enclosing volume
3759 * gio/gunixmounts.c:
3760 Add a volume for "/".
3762 * gio/gunixvolume.[ch]:
3763 Set better name for /
3765 * gio/gunixvolumemonitor.[ch]:
3766 Derive from GNativeVolumeMonitor
3767 Implement get_volume_for_mountpoint
3770 GVolume typedef moved to gfile.h
3772 * gio/gvolumeprivate.h:
3773 Add g_volume_get_for_mount_path
3775 2007-10-31 Alexander Larsson <alexl@redhat.com>
3777 * gio/gunixmounts.[ch]:
3778 Add cache info to unix mount listers
3779 Make getmntent use threadsafe
3780 Add is_system_internal attribute for GUnixMount
3782 * gio/gunixvolume.c:
3783 (g_unix_volume_new):
3784 Use is_system_internal instead of own code
3786 * gio/glocaldirectorymonitor.c:
3787 * gio/gunixvolumemonitor.c:
3788 Update to new gunixmounts API
3793 2007-10-30 Alexander Larsson <alexl@redhat.com>
3796 Add volume name fsinfo attribute
3799 Read volume name info
3801 * gio/gunionvolumemonitor.c:
3802 Fix infinite loops when finalizing a union volume monitor
3804 2007-10-30 Alexander Larsson <alexl@redhat.com>
3806 * gio/goutputstream.[ch]:
3807 Add splice() with default implementation
3809 * gio/gsocketoutputstream.c:
3810 (g_socket_output_stream_write):
3811 Return error on cancellation correctly.
3813 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3815 * gio/glocalfile.c (g_local_file_trash):
3816 Do not leak a string.
3818 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3820 * gio/gfile.c (g_file_load_contents):
3821 Unref the stream after closing it.
3823 2007-10-25 Alexander Larsson <alexl@redhat.com>
3825 * gio/gioscheduler.h:
3828 2007-10-25 Alexander Larsson <alexl@redhat.com>
3832 Add g_file_has_uri_scheme and implement for local files
3834 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3836 * gio/gdesktopappinfo.c: do not leak a string.
3838 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3840 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3841 (g_local_directory_monitor_new):
3842 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3843 (g_local_file_monitor_new):
3844 Only look for the monitor type that should be used the first time
3845 and use g_qsort_with_data() instead of our own bubble sort
3848 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3851 * gio/fam/Makefile.am:
3852 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3853 * gio/fam/fam-helper.h:
3854 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3855 * gio/fam/gfamdirectorymonitor.c:
3856 * gio/fam/gfamdirectorymonitor.h:
3857 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3858 * gio/fam/gfamfilemonitor.h:
3859 * gio/glocaldirectorymonitor.c:
3860 * gio/glocaldirectorymonitor.h:
3861 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3862 * gio/glocalfilemonitor.h:
3863 * gio/inotify/Makefile.am:
3864 * gio/inotify/ginotifydirectorymonitor.c:
3865 * gio/inotify/ginotifydirectorymonitor.h:
3866 * gio/inotify/ginotifyfilemonitor.c:
3867 * gio/inotify/ginotifyfilemonitor.h:
3868 Implement the FAM and Inotify monitors as
3869 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3870 their own GIO module. GLocal(Directory|File)Monitor will use the
3871 monitor with the highest rank that is supported on that machine.
3873 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3876 Change GIO module dir to $(libdir)/gio/modules and change
3877 the log domain from GVFS to GIO. Also only export symbols starting
3878 with g_ in the resulting library.
3879 * gio/test-streams.c: (main):
3880 Set log handler for the GIO log domain.
3882 2007-10-22 Alexander Larsson <alexl@redhat.com>
3884 * gio/gfilenamecompleter.[ch]:
3885 Add g_filename_completer_set_dirs_only
3887 2007-10-22 Alexander Larsson <alexl@redhat.com>
3890 * gio/gurifuncs.[ch]:
3891 Add some simple URI helpers
3893 * gio/gfilenamecompleter.[ch]:
3894 Added object for filename (parse name actually) completion
3897 Handle ~ in parse names
3899 2007-10-17 Alexander Larsson <alexl@redhat.com>
3902 * gio/glocalfileinfo.c:
3903 Add and implement id:value attribute
3905 2007-10-17 Alexander Larsson <alexl@redhat.com>
3908 * gio/guniondrive.c:
3910 Add and implement g_drive_has_volumes
3912 2007-10-17 Alexander Larsson <alexl@redhat.com>
3915 * gio/glocalfileinfo.[ch]:
3916 Add unix:is_mountpoint and implement for local files
3918 2007-10-16 Alexander Larsson <alexl@redhat.com>
3920 * gio/gunionvolumemonitor.c:
3921 (g_union_volume_monitor_init):
3922 Fix up the unix type getting so that it works with gcc
3924 2007-10-12 Alexander Larsson <alexl@redhat.com>
3927 * gio/glocalfileinfo.c:
3928 Add thumbnail:failed to file info
3930 2007-10-12 Richard Hult <richard@imendio.com>
3932 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3933 optimizing away the get_type call (happens with some gcc versions,
3934 like the one shipped with OS X 10.4).
3936 2007-10-12 Alexander Larsson <alexl@redhat.com>
3938 * gio/glocalfileinfo.c:
3939 (_g_local_file_info_set_attribute):
3940 Fix build if not HAVE_XATTR
3941 Patch from Milosz Derezynski <internalerror@gmail.com>
3943 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3945 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3946 around for review, otherwise I would have asked you before
3949 2007-10-11 Alexander Larsson <alexl@redhat.com>
3952 Add thumbnail:path attribute
3954 * gio/glocalfileinfo.c:
3955 Implement thumbnail:path for local files
3957 2007-10-11 Alexander Larsson <alexl@redhat.com>
3959 * gio/glocalfileinfo.c:
3960 (_g_local_file_info_get):
3961 Avoid duplicate icon names
3963 2007-10-11 Alexander Larsson <alexl@redhat.com>
3965 * gio/gthemedicon.[ch]:
3966 Change g_themed_icon_get_names return type to const
3968 2007-10-10 Alexander Larsson <alexl@redhat.com>
3970 * gio/glocalfileinfo.c:
3971 Don't reference freed memory
3973 2007-10-10 Alexander Larsson <alexl@redhat.com>
3975 * gio/gfileattribute.c:
3978 * gio/glocalfileinfo.c:
3981 2007-10-10 Alexander Larsson <alexl@redhat.com>
3984 Check for NULL icons
3986 * gio/gfileattribute.c:
3987 Don't dup when getting objects (same as for string attributes)
3989 * gio/gicon.c (g_icon_equal):
3990 Safely handle NULLs in equal
3992 2007-10-10 Alexander Larsson <alexl@redhat.com>
3995 Fix c++ compilation issues
3996 Patch from Milosz Derezynski <internalerror@gmail.com>
3998 2007-10-10 Alexander Larsson <alexl@redhat.com>
4000 * programs/gio-monitor-dir.c:
4001 Don't crash if dir monitor not supported.
4003 2007-10-09 Alexander Larsson <alexl@redhat.com>
4006 Add missing G_END_DECLS
4008 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4010 * gio/gfile.c: (g_file_set_display_name),
4011 (g_file_query_settable_attributes),
4012 (g_file_query_writable_namespaces):
4013 Return NULL not FALSE on errors as the return type is a pointer.
4015 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4017 * gio/glocalfile.c: (g_local_file_monitor_file):
4018 Don't call monitor_file on the default interface vtable (which
4019 is NULL) but simply return NULL. The caller, GFile, will create a
4020 polling monitor if NULL is returned.
4022 2007-10-09 Alexander Larsson <alexl@redhat.com>
4026 * gio-unix-2.0.pc.in:
4027 Add gio-unix-2.0.pc if OS_UNIX
4030 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4032 2007-10-09 Alexander Larsson <alexl@redhat.com>
4034 * gio/gunixmounts.[ch]:
4035 Make unix mount monitoring API sane.
4036 Now its just a object with mounts_changed
4037 and mountpoints_changed signals.
4039 * gio/glocaldirectorymonitor.c:
4040 * gio/gunixvolumemonitor.c:
4041 Use new mount monitor api
4043 2007-10-09 Alexander Larsson <alexl@redhat.com>
4045 * gio/gunixmounts.[ch]:
4046 Move guess type into one call for mounts and one for mountpoints
4049 * gio/gunixvolume.c:
4052 2007-10-09 Alexander Larsson <alexl@redhat.com>
4054 * gio/gunixmounts.[ch]:
4055 Remove _ prefix in preparation to make this semi-public
4056 Hide implementation of structs
4058 * gio/glocaldirectorymonitor.c:
4060 * gio/gunixvolume.c:
4061 * gio/gunixvolumemonitor.c:
4062 Update for above API changes
4064 2007-10-08 Alexander Larsson <alexl@redhat.com>
4067 Better polling fallback. This also handles the case where we have
4068 a monitor_file implementation, but it fails.
4070 2007-10-08 Alexander Larsson <alexl@redhat.com>
4074 * gio/gunixmounts.c:
4075 * programs/gio-monitor-dir.c:
4076 * programs/gio-monitor-file.c:
4077 Added cancellable to file monitoring calls.
4078 These are really sync calls and need this.
4080 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4082 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4083 (g_local_vfs_class_init):
4084 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4085 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4087 2007-10-05 Alexander Larsson <alexl@redhat.com>
4089 * gio/gdirectorymonitorprivate.h:
4090 * gio/gfilemonitorprivate.h:
4091 * gio/gdirectorymonitor.h:
4092 * gio/gfilemonitor.h:
4093 Remove *private.h and move to the public API, so that
4094 we can do implementations outside gio (such as in gvfs)
4096 * gio/gdirectorymonitor.c:
4097 * gio/gfilemonitor.c:
4098 * gio/glocaldirectorymonitor.c:
4099 * gio/gpollfilemonitor.c:
4100 * gio/inotify/inotify-helper.c:
4101 * gio/fam/fam-helper.c:
4102 Update to the new header names
4104 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4106 * gio/gdirectorymonitor.c:
4107 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4110 2007-10-04 Alexander Larsson <alexl@redhat.com>
4112 * gio/glocalfileinfo.c (get_access_rights):
4113 Set CAN_TRASH when we can move the file.
4114 We should really also check for a parent trash dir.
4116 2007-10-04 Alexander Larsson <alexl@redhat.com>
4118 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4119 Add can_trash access attribute
4121 2007-10-04 Alexander Larsson <alexl@redhat.com>
4124 (g_local_file_trash):
4125 Create info file first. This is per-spec and allows
4126 us to actually trash directories.
4128 2007-10-02 Alexander Larsson <alexl@redhat.com>
4130 * gio/gdesktopappinfo.c:
4131 Implement the new mime support code.
4132 Always set app as handling mimetype when being set as default for it
4134 2007-10-01 Alexander Larsson <alexl@redhat.com>
4136 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4137 Fix up check for xattrs:
4139 2007-10-01 Alexander Larsson <alexl@redhat.com>
4142 (g_app_info_set_as_default_for_extension):
4143 (g_app_info_add_supports_type):
4144 (g_app_info_can_remove_supports_type):
4145 (g_app_info_remove_supports_type):
4146 Make these fail nicely if not implemented
4148 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4150 * gio/glocalfileoutputstream.c:
4151 * gio/glocalfileoutputstream.h:
4156 * programs/gio-save.c:
4157 Add a GFileCreateFlags argument to operations that can create
4160 2007-10-01 Alexander Larsson <alexl@redhat.com>
4162 * gio/gappinfo.[ch]:
4163 * gio/gdesktopappinfo.c:
4164 Add more (stubbed out) mime API needed for nautilus
4166 2007-10-01 Alexander Larsson <alexl@redhat.com>
4169 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4170 Add g_app_info_set_as_default_for_extension.
4172 * gio/gdesktopappinfo.c:
4173 Dummy for g_app_info_set_as_default_for_extension
4174 Support flags in g_app_info_create_from_commandline
4176 * gio/gwin32appinfo.c:
4178 Update for API changes
4180 * gio/gthemedicon.c:
4181 Properly NULL-terminate list of icon names
4183 2007-09-28 Alexander Larsson <alexl@redhat.com>
4185 * gio/gloadableicon.h:
4186 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4188 2007-09-28 Alexander Larsson <alexl@redhat.com>
4191 Install headers in $includedir/gio-standalone/
4193 * gio-2.0.pc.in: Added.
4194 * gio-standalone.pc.in: Removed.
4197 Renamed pkg-config file to match glib (for future move)
4198 Update to the new include dir
4201 Add more TODO comments
4203 2007-09-28 Alexander Larsson <alexl@redhat.com>
4205 * gio/gdesktopappinfo.[ch]:
4206 Expose new_from_filename
4207 Add getter for is_hidden and handle it better
4209 2007-09-28 Alexander Larsson <alexl@redhat.com>
4211 * gio/gfileinfo.[ch]:
4212 Rename g_file_size_format_for_display to
4213 g_format_file_size_for_display.
4214 Now it doesn't have the g_file prefix, so we
4215 can later move it to glib.
4217 2007-09-28 Alexander Larsson <alexl@redhat.com>
4219 * gio/gappinfo.[ch]:
4220 Add g_app_info_get_id and g_app_info_get_executable.
4221 Make all getters non-reffing
4222 Make g_app_info_launch take GFile arguments.
4223 Add must_support_uris argument to g_app_info_get_default_for_type.
4225 * gio/gwin32appinfo.c:
4226 Update to GAppInfo api changes
4228 * gio/gdesktopappinfo.c:
4229 Update to GAppInfo api changes
4230 Implement supports_xdg_startup_notify
4232 * gio/gfileicon.c (g_file_icon_get_file):
4233 Make getter non-reffing.
4238 2007-09-27 Alexander Larsson <alexl@redhat.com>
4240 * gio/gfileinfo.[ch]:
4241 Add g_file_size_format_for_display helper
4243 2007-09-27 Alexander Larsson <alexl@redhat.com>
4245 * gio/glocalfileinfo.c:
4246 Set UNIX_GID from gid, not from uid
4248 2007-09-27 Alexander Larsson <alexl@redhat.com>
4251 Add g_file_set_attributes_async
4253 2007-09-27 Alexander Larsson <alexl@redhat.com>
4255 * gio/glocalfile.c (g_local_file_set_display_name):
4256 Fix set_display_name to actually rename to the right place.
4257 Use lstat to look for existing files so we don't overwrite
4260 2007-09-26 Alexander Larsson <alexl@redhat.com>
4263 Add g_file_set_display_name_async()
4265 2007-09-26 Alexander Larsson <alexl@redhat.com>
4268 Add load_partial_contents async calls
4271 Make internal function static
4273 2007-09-26 Alexander Larsson <alexl@redhat.com>
4275 * gio/glocalfileinfo.c:
4276 Correctly detect broken symlinks
4278 2007-09-26 Alexander Larsson <alexl@redhat.com>
4280 * gio/gcancellable.c (g_cancellable_cancel):
4281 Allow cancel on NULL cancellable
4283 2007-09-25 Alexander Larsson <alexl@redhat.com>
4285 * gio/gsimpleasyncresult.c:
4286 Don't allocate g_error manually.
4287 Fixes g_slice/g_new mixup crash
4289 2007-09-25 Alexander Larsson <alexl@redhat.com>
4291 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4292 Actually set active_backend.
4293 This means the monitor will be cancelled correctly.
4295 2007-09-25 Alexander Larsson <alexl@redhat.com>
4297 * gio/gdirectorymonitor.c:
4298 Set timeout to NULL when destroying
4300 2007-09-25 Alexander Larsson <alexl@redhat.com>
4303 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4304 that is a better description of the error.
4306 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4308 * gio/gvfs.c: (g_vfs_get_local):
4309 Make the local vfs variable static. The same instance should
4312 2007-09-24 Alexander Larsson <alexl@redhat.com>
4314 * gio/glocalfileinfo.c:
4315 Pass in actual length read into sniffer, not the length
4318 2007-09-21 Alexander Larsson <alexl@redhat.com>
4320 * gio/gfileenumerator.c:
4323 * gio/gfileinputstream.c:
4324 * gio/gfileoutputstream.c:
4325 * gio/ginputstream.c:
4326 * gio/goutputstream.c:
4327 Don't crash if async callbacks are NULL
4329 2007-09-20 Alexander Larsson <alexl@redhat.com>
4332 Add async enumerate_children method and default
4335 2007-09-20 Alexander Larsson <alexl@redhat.com>
4338 Add g_file_contains_file & g_file_get_relative_path, since they
4339 were needed for nautilus.
4340 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4345 Implement new methods
4347 2007-09-17 Alexander Larsson <alexl@redhat.com>
4350 * gio/gfileinputstream.[ch]:
4351 * gio/gfileoutputstream.[ch]:
4353 * gio/glocalfileenumerator.[ch]:
4354 * gio/glocalfileinfo.[ch]:
4355 * gio/glocalfileinputstream.c:
4356 * gio/glocalfileoutputstream.c:
4357 * gio/gpollfilemonitor.c:
4358 * programs/gio-copy.c:
4359 * programs/gio-info.c:
4360 * programs/gio-move.c:
4361 Rename get_file_info to query_info() to make it clearer
4362 that these are not simple getters, but do i/o.
4364 2007-09-17 Alexander Larsson <alexl@redhat.com>
4366 * gio/gdatainputstream.[ch]:
4367 * gio/test-streams.c:
4368 Use _read_XXX instead of _get_XXX for the i/o calls
4371 2007-09-17 Alexander Larsson <alexl@redhat.com>
4374 Added needed stuff to TODO comment
4376 2007-09-17 Alexander Larsson <alexl@redhat.com>
4378 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4379 Don't error out removing the backup copy if it doesn't
4382 2007-09-14 Alexander Larsson <alexl@redhat.com>
4384 * programs/Makefile.am:
4385 * programs/gvfs-*.c:
4387 Renamed apps from gvfs-xxx to gio-xxx.
4389 2007-09-14 Alexander Larsson <alexl@redhat.com>
4392 * gio/gfileoutputstream.[ch]:
4393 * gio/glocalfileoutputstream.c:
4394 * programs/gvfs-save.c:
4395 g_file_output_stream_get_etag doesn't do i/o, so remove
4396 cancellation and error.
4398 2007-09-14 Alexander Larsson <alexl@redhat.com>
4401 Add new_etag output to replace_contents functions
4403 2007-09-14 Alexander Larsson <alexl@redhat.com>
4405 * gio/gfileoutputstream.[ch]:
4406 Add async get_file_info and default implementation
4408 2007-09-14 Alexander Larsson <alexl@redhat.com>
4410 * gio/gfileinputstream.c:
4411 Implement fallback wrapper for async get_file_info
4413 2007-09-14 Alexander Larsson <alexl@redhat.com>
4416 Add etag out argument to load_contents
4421 2007-09-14 Alexander Larsson <alexl@redhat.com>
4423 * gio/gcontenttype.c (looks_like_text):
4424 Whitespace like tab, cr and lf do not make the
4427 2007-09-14 Alexander Larsson <alexl@redhat.com>
4429 * gio/gfileinputstream.[ch]:
4430 Add async get_file_info.
4432 2007-09-13 Alexander Larsson <alexl@redhat.com>
4434 * gio/goutputstream.c (g_output_stream_write_all):
4435 Allow NULL for bytes_written
4437 2007-09-13 Alexander Larsson <alexl@redhat.com>
4439 * gio/gmemoryinputstream.[ch]:
4440 Add accessors for data
4442 2007-09-13 Alexander Larsson <alexl@redhat.com>
4444 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4445 Don't crash if length is NULL