1 2008-06-29 Matthias Clasen <mclasen@redhat.com>
3 Bug 540802 – g_list_prepend doesn't concat lists
5 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
6 one list to another. Pointed out by Jan Arne Petersen
8 2008-06-28 Michael Natterer <mitch@imendio.com>
10 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
12 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
14 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
15 to avoid problems with partial icon themes.
17 2008-06-17 Hans Breuer <hans@breuer.org>
19 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
20 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
21 access again on win32, see bug #538127
22 * giomodule.c : ensure GWin32VolumeMonitor is registered
23 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
24 * Makefile.am makefile.msc : updated
26 2008-06-16 Hans Breuer <hans@breuer.org>
28 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
29 and initialization in one step avoids c99ism
31 2008-06-16 Christian Persch <chpe@gnome.org>
34 * gio/gbufferedinputstream.c
36 * gio/gdatainputstream.c
37 * gio/gdesktopappinfo.c
39 * gio/gfileenumerator.c
40 * gio/gfileinputstream.c
41 * gio/gfileoutputstream.c
43 * gio/glocaldirectorymonitor.c
45 * gio/glocalfileenumerator.c
46 * gio/glocalfileinfo.c
47 * gio/glocalfilemonitor.c
48 * gio/glocalfileoutputstream.c
49 * gio/gmemoryinputstream.c
50 * gio/gmemoryoutputstream.c
52 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
55 2008-06-16 Tor Lillqvist <tml@novell.com>
57 Bug 538362 - Get Win32 icons back in the file chooser
59 * gcontenttype.c (g_content_type_get_icon): Look up the icon
60 corresponding to a file extension in the Registry. Patch by Hans
62 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
64 2008-06-16 Tor Lillqvist <tml@novell.com>
66 Patches by Hans Breuer:
68 * glocalfile.c (is_xp_or_later): Handle compiling against older
69 SDK headers with missing VerifyVersionInfo(). Conditioned on
70 _MSC_VER, but should probably use some better test.
71 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
72 uninitialised statfs_result variable on Win32.
74 2008-06-16 Michael Natterer <mitch@imendio.com>
76 * *.c: chain up unconditionally in finalize() and dispose(). Also
77 don't dereference these function pointers when calling them since
78 that has no meaning at all.
80 2008-06-16 Ross Burton <ross@burtonini.com>
83 Remove check for dispose implementation as it annoys Emmanuele.
85 2008-06-16 Ross Burton <ross@burtonini.com>
87 Bug 536252 – GFileEnumerator should allow access to the containing
93 Add g_file_enumerator_get_container() and a container writeable
94 construct-only property. Also shuffle around typedefs to make it
97 * glocalfileenumerator.c:
98 * glocalfileenumerator.h:
100 Instead of a string filename take a GFile in the constructor and
101 use it to set the container property.
106 2008-06-16 Matthias Clasen <mclasen@redhat.com>
108 * gfile.c: Make includes more uniform
110 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
112 * tests/live-g-file.c (sample_struct):
113 Use less fancy unicode filenames, so the test doesn't fail
114 on Mac OS X (#531476).
116 2008-06-12 Matthias Clasen <mclasen@redhat.com>
118 * === Released 2.17.2 ===
120 2008-06-12 Matthias Clasen <mclasen@redhat.com>
122 * === Released 2.17.1 ===
124 2008-06-11 A. Walton <awalton@gnome.org>
126 * tests/g-file.c (test_g_file_new_null):
127 Fix broken test case.
129 2008-06-11 Matthias Clasen <mclasen@redhat.com>
131 * pltcheck.sh: We use g_clear_error now.
133 2008-06-11 Matthias Clasen <mclasen@redhat.com>
135 * glocalfile.c (g_local_file_enumerate_children): Revert
136 an unintended change.
138 2008-06-11 Matthias Clasen <mclasen@redhat.com>
140 * gfile.c (g_file_replace_contents): Don't unref before the last use.
142 2008-06-10 Matthias Clasen <mclasen@redhat.com>
144 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
147 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
148 as icon for the desktop directory, also make user-home and
149 user-desktop the preferred icons.
151 2008-06-10 Matthias Clasen <mclasen@redhat.com>
154 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
155 to add a name to the front of the list.
157 2008-06-10 Matthias Clasen <mclasen@redhat.com>
159 Bug 537392 – Additional colon in xattr name
161 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
162 too. Reported by Alessandro Morandi
164 2008-06-10 Matthias Clasen <mclasen@redhat.com>
166 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
169 * glocalfile.c (get_fs_type): Add afs and autofs.
170 Patch by Danny Baumann.
172 2008-06-10 Matthias Clasen <mclasen@redhat.com>
174 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
176 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
177 is no parent. (Owen Taylor, patch by Christian Neumair)
179 2008-06-10 Paolo Borelli <pborelli@katamail.com>
181 * gfile.c (g_file_replace_contents): do not leak the output stream.
183 2008-06-10 Michael Natterer <mitch@imendio.com>
185 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
186 uninitialized memory as array index.
188 2008-06-10 Tor Lillqvist <tml@novell.com>
190 * gcontenttype.c (g_content_type_can_be_executable)
191 (g_content_type_get_icon) [Win32]: Add TODO comments.
193 2008-06-09 Matthias Clasen <mclasen@redhat.com>
195 * xdgmime/Makefile.am: Fix the build
197 2008-06-09 Matthias Clasen <mclasen@redhat.com>
199 * gcontenttype.c (g_content_type_get_icon): Use icons specified
200 in the shared mime database, if available.
202 * xdgmime/*: Sync with upstream. This brings support for
203 glob weights, generic icons, and changes the cache format to
206 2008-05-28 Michael Natterer <mitch@imendio.com>
208 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
209 the global CPPFLAGS now.
211 * tests/data-input-stream.c
212 * tests/data-output-stream.c
213 * tests/g-file-info.c
215 * tests/live-g-file.c
216 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
218 2008-05-27 Matthias Clasen <mclasen@redhat.com>
220 * === Released 2.17.0 ===
222 * tests/live-g-file.c: Clean up after the tests, so make distcheck
223 doesn't complain about leftover files.
225 2008-05-27 simon.zheng <simon.zheng@sun.com>
227 * glocalfile.c: (g_local_file_query_filesystem_info):
228 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
230 2008-05-26 Michael Natterer <mitch@imendio.com>
232 * gmemoryoutputstream.h: declare
233 g_memory_output_stream_get_data_size().
235 2008-05-26 Matthias Clasen <mclasen@redhat.com>
237 * tests/*: Make tests work
239 2008-05-26 Matthias Clasen <mclasen@redhat.com>
241 * gio.symbols: Add g_memory_output_stream_get_data_size.
243 2008-05-25 Ross Burton <ross@burtonini.com>
246 Fix typo in error message (#534764).
248 2008-05-25 Ross Burton <ross@burtonini.com>
251 Fix circular dependency loop for gioenumtypes.h (#534759).
253 2008-05-19 Hans Breuer <hans@breuer.org>
255 * Makefile.am : EXTRA_DIST += makefile.msc
257 2008-05-17 Matthias Clasen <mclasen@redhat.com>
260 * gcontenttype.c: (g_content_type_from_mime_type):
261 New function to create a content type from a mime type. (#527175,
264 2008-05-17 Matthias Clasen <mclasen@redhat.com>
266 Bug 532965 – Should not return filesystem::free for certain file systems
268 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
269 free space for ncpfs.
271 2008-05-17 Matthias Clasen <mclasen@redhat.com>
273 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
275 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
276 st_dev might be zero.
278 2008-05-16 Tor Lillqvist <tml@novell.com>
280 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
281 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
283 2008-05-13 Bastien Nocera <hadess@hadess.net>
285 * gfile.c (has_valid_scheme): A URI scheme must start with a
286 letter, even if later more characters are allowed (#532852)
288 2008-05-05 Michael Natterer <mitch@imendio.com>
290 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
291 code from being checked in that breaks the build of applications
292 which use G_DISABLE_SINGLE_INCLUDES.
294 * makegioalias.pl: make the alias file include "glib.h" instead of
297 * gio.symbols: whitespace change to force regeneration of the
298 alias file after above script change.
300 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
302 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
304 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
306 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
308 2008-04-28 David Zeuthen <davidz@redhat.com>
310 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
311 displaying mounts in a subdirectory not accessible to the
314 2008-04-22 Michael Natterer <mitch@imendio.com>
316 * Makefile.am: fix library versioning (it was 0.0.0).
318 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
320 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
321 Default disable all loggings.
322 * fen/fen-kernel.c: (printevent), (port_add_kevent),
323 (port_fetch_event_cb): Fixed two macro nits.
325 2008-04-16 Matthias Clasen <mclasen@redhat.com>
327 * xdgmime/xdgmime.c: Rework the timestamp checking code
328 to protect against duplicate directories in XDG_DATA_DIRS.
329 Fixes fd.o bug 12513, reported by Joe Shaw.
331 2008-04-16 Matthias Clasen <mclasen@redhat.com>
333 Partically revert the last commit after realizing that
334 xdg_mime_media_type_equal doesn't have to init at all.
337 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
339 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
341 2008-04-16 Matthias Clasen <mclasen@redhat.com>
343 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
344 reported by Joe Shaw and Federico Mena Quintero.
346 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
347 (xdg_mime_media_type_equal): Turn into a wrapper around the
350 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
351 functions throughout.
353 2008-04-16 Michael Meeks <michael.meeks@novell.com>
355 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
356 tolerate an empty TryExec= line without failing; nautilus used
357 to create launchers with these in previous versions. Fixes #528433
359 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
361 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
362 after name. Fixes #527132.
364 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
366 * gfile.c: (g_file_replace):
369 2008-04-07 Matthias Clasen <mclasen@redhat.com>
371 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
373 * gfile.c (file_copy_fallback): Fix the argument order. Patch
374 by Christian Kellner.
376 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
378 * gunixmounts.c: (g_unix_mount_guess_should_display):
379 Don't list the user directory as a mount, fix potential issue
380 when other users have a similar naming and don't special case the
381 gvfs mounts there since that's not required (#525866)
383 2008-03-31 Alexander Larsson <alexl@redhat.com>
385 * glocalfile.c (get_parent):
388 2008-03-31 A. Walton <awalton@svn.gnome.org>
390 * gfile.c (g_file_query_file_type):
391 Always return a GFileType enum value (#520715).
393 2008-03-31 Alexander Larsson <alexl@redhat.com>
395 * glocalfileenumerator.c:
396 Read readdir() info in chunks (of 1000) and sort
397 the chunks by inode before stat:ing.
398 This is a 20% performance increase in testing
399 gvfs-ls on /usr/bin with cold cache.
401 2008-03-31 Alexander Larsson <alexl@redhat.com>
403 * gmemoryoutputstream.c:
404 Clarify docs for g_memory_output_stream_get_size.
405 Add g_memory_output_stream_get_data_size.
407 2008-03-30 Matthias Clasen <mclasen@redhat.com>
411 * gfile.h: Add g_file_query_file_type convenience function
412 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
414 2008-03-30 Matthias Clasen <mclasen@redhat.com>
417 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
419 2008-03-28 A. Walton <awalton@svn.gnome.org>
421 * giomodule.c (_g_io_modules_ensure_loaded):
422 Adds GIO_EXTRA_MODULES environment variable support, closing bug
425 2008-03-28 Alexander Larsson <alexl@redhat.com>
428 (copy_stream_with_progress):
431 2008-03-28 Alexander Larsson <alexl@redhat.com>
434 (copy_stream_with_progress):
435 (file_copy_fallback):
436 Fallback to g_file_query_info for source size
437 if g_file_input_stream_query_info fails. (#524579)
439 2008-03-28 Alexander Larsson <alexl@redhat.com>
441 * glocalfile.c (g_local_file_move):
442 Reuse old string instead of adding new one.
444 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
446 * fen/*.[hc]: still copyright issue. I hate copyright.
448 2008-03-27 Alexander Larsson <alexl@redhat.com>
450 * glocalfile.c (g_local_file_move):
451 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
452 file over directory. This is according to the docs and what the move via
453 copy+remove fallback does.
455 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
457 * fen/*.[hc]: Updated copyright.
459 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
461 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
463 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
465 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
466 not emit attribute changed events when optimizing changed events.
467 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
470 2008-03-19 Matthias Clasen <mclasen@redhat.com>
472 * gmountoperation.[hc]: Small documentation additions
474 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
476 * gunixmounts.c: (guess_mount_type):
477 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
479 2008-03-19 Alexander Larsson <alexl@redhat.com>
482 (copy_stream_with_progress):
483 Bump block side for copy to 64k to minimize
484 overhead for low latency links. (#523015)
486 2008-03-16 Tor Lillqvist <tml@novell.com>
488 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
489 depend on gio.def on Windows.
491 2008-03-12 David Zeuthen <davidz@redhat.com>
495 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
497 2008-03-14 Alexander Larsson <alexl@redhat.com>
501 Avoid redudant tests (#521851)
502 Patch from Josselin Mouette
504 2008-03-14 Alexander Larsson <alexl@redhat.com>
507 (g_file_monitor_is_cancelled):
508 Fix C89 issue (#521672)
509 Patch from Jens Granseuer
511 2008-03-14 Alexander Larsson <alexl@redhat.com>
513 * fam/fam-helper.[ch]:
515 Shut down fam (including removing fam GSource) when
516 module is unloaded (#521513)
517 Patch from Joe Marcus Clarke
519 2008-03-14 Alexander Larsson <alexl@redhat.com>
522 (_g_io_modules_ensure_loaded):
525 2008-03-14 Alexander Larsson <alexl@redhat.com>
528 (g_local_file_query_filesystem_info):
529 Use right define name for f_fstypename member check
531 2008-03-14 Alexander Larsson <alexl@redhat.com>
534 * fen/Makefile.am: Added.
535 * fen/fen-data.[ch]: Added.
536 * fen/fen-dump.[ch]: Added.
537 * fen/fen-helper.[ch]: Added.
538 * fen/fen-kernel.[ch]: Added.
539 * fen/fen-missing.[ch]: Added.
540 * fen/fen-node.[ch]: Added.
541 * fen/fen-sub.[ch]: Added.
542 * fen/gfendirectorymonitor.[ch]: Added.
543 * fen/gfenfilemonitor.[ch]: Added.
545 Added Solaris FEN file notification backend.
546 Patch from Lin Ma <Lin.Ma@Sun.COM>
548 2008-03-13 Tor Lillqvist <tml@novell.com>
550 * Makefile.am: Actually use the gio.def file when linking the
551 library on Windows. Produce .lib library for Microsoft's toolchain
552 when possible. Install the .lib and .def file like for the other
555 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
557 * tests/live-g-file.c:
558 Include live-g-file in standard set of tests, making a temporary
559 directory in source structure.
561 Clean target directory before the tests (write mode only)
563 2008-03-12 Tor Lillqvist <tml@novell.com>
565 Bug 517419 - gio win32 directory monitor
566 Implementation by Vlad Grecescu.
569 * win32/gwin32directorymonitor.h
570 * win32/gwin32directorymonitor.c: New files.
572 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
574 * Makefile.am: Add the win32 subdirectory.
576 2008-03-12 Tor Lillqvist <tml@novell.com>
578 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
579 normal struct stat on Unix but struct _stati64 on Windows to have
580 access to 64-bit file size information. Use that instead of struct
581 stat in the functions declared here in this private header.
583 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
584 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
585 warnings about unused functions and variables. Don't set
586 meaningless attributes like inode numbers on Windows.
588 2008-03-12 Benjamin Otte <otte@gnome.org>
591 trim whitespace so gtk-doc groks the function name
593 2008-03-12 Tor Lillqvist <tml@novell.com>
595 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
596 returning FALSE, on Win32.
598 2008-03-11 Alexander Larsson <alexl@redhat.com>
601 * glocalfileinfo.[ch]:
602 Correctly implement can_trash by actually
603 looking for a trash dir, not just assuming
606 2008-03-10 Matthias Clasen <mclasen@redhat.com>
608 * === Released 2.16.1 ===
610 2008-03-11 Alexander Larsson <alexl@redhat.com>
613 Fix crashes in new constructor and properties code
615 2008-03-10 Murray Cumming <murrayc@murrayc.com>
617 * gfile.c: Minor spelling correction in documentation:
618 existance -> existence.
620 2008-03-10 Matthias Clasen <mclasen@redhat.com>
622 * === Released 2.16.0 ===
624 2008-03-10 Matthias Clasen <mclasen@redhat.com>
626 * gio.symbols: Remove g_file_contains_file here, too.
628 2008-03-10 Matthias Clasen <mclasen@redhat.com>
630 * gthemedicon.c: Add properties to make bindings happy. (#517676,
631 Samuel Cormier-Iijima)
633 2008-03-08 Tor Lillqvist <tml@novell.com>
635 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
638 2008-03-07 Alexander Larsson <alexl@redhat.com>
641 (g_local_file_query_filesystem_info):
642 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
643 Patch from Jasper Lievisse Adriaanse
645 2008-03-06 Tor Lillqvist <tml@novell.com>
647 * gfileinfo.h: Correct milliseconds to microseconds in the doc
648 comments for the *_USEC attributes.
650 2008-03-06 Alexander Larsson <alexl@redhat.com>
652 * gfile.c (g_file_query_exists):
653 Add g_return_val_if_fail check (#520700)
655 2008-03-06 Alexander Larsson <alexl@redhat.com>
660 * gunionvolumemonitor.c:
663 * tests/live-g-file.c:
664 * xdgmime/xdgmimecache.c:
665 Fix sparse warnings (#519489)
667 2008-03-05 Alexander Larsson <alexl@redhat.com>
670 Make cancellation threadsafe (i.e.
671 guarantee its only done once, and always
674 * glocaldirectorymonitor.c:
675 Make sure we the monitor lives while the
676 mounts_changed callback is being called (#520484)
678 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
680 * gbufferedinputstream.c: Fix typo in parameter
683 2008-03-04 Alexander Larsson <alexl@redhat.com>
686 Remove deprecated symbols we kept for one release.
688 2008-03-04 Murray Cumming <murrayc@murrayc.com>
691 * goutputstream.c: Tiny documentation corrections.
693 2008-03-03 Alexander Larsson <alexl@redhat.com>
695 * gunionvolumemonitor.c:
697 Fix the adopt_orphan_mount vfunc to take a
698 volume_monitor reference in an ABI compat way.
699 This change is not API compat, but the added
700 arg is not used in the only user of this vfunc, so
701 all we get is a harmless warning in gvfs (#520169)
703 2008-03-01 Benjamin Otte <otte@gnome.org>
706 clarify docs for g_file_delete().
708 2008-02-29 Alexander Larsson <alexl@redhat.com>
712 Make sure empty files get text/plain type (#518720)
714 2008-02-27 Alexander Larsson <alexl@redhat.com>
720 (g_unix_volume_mount):
721 Add missing GMountMountFlags argument
723 2008-02-26 Alexander Larsson <alexl@redhat.com>
726 (g_local_file_delete):
727 Handle filesystems (like ntfs-3g) that return EEXIST instead
728 of ENOTEMPTY (#518816)
730 2008-02-25 Matthias Clasen <mclasen@redhat.com>
732 * === Released 2.15.6 ===
734 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
736 * gfile.c (g_file_find_enclosing_mount):
737 * ginputstream.c (g_input_stream_set_pending):
738 * glocalfile.c (g_local_file_find_enclosing_mount):
739 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
740 * goutputstream.c (g_output_stream_set_pending):
742 Fixup translator comments (#518578).
744 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
746 * gfile.c (g_file_find_enclosing_mount):
748 * glocalfile.c (g_local_file_find_enclosing_mount):
751 Fix a few typos in translator comments and documentation.
753 2008-02-25 Alexander Larsson <alexl@redhat.com>
760 Add translator comments (#518578)
762 2008-02-25 Alexander Larsson <alexl@redhat.com>
765 Reintroduce g_file_contains_file, keep around for one
766 unstable release cycle to avoid crashing to many apps.
767 Make sure to delete after release.
769 2008-02-25 Alexander Larsson <alexl@redhat.com>
772 Remove deprecated g_file_contains_file.
774 2008-02-25 Alexander Larsson <alexl@redhat.com>
777 Emit actual change signals in an idle handler.
778 This avoids reentrance and locking problems in
779 the file notification backends.
781 2008-02-25 Alexander Larsson <alexl@redhat.com>
784 (g_unix_mount_guess_should_display):
785 Remove type guessing, instead just display
786 mounts in /media and in ~/.
788 2008-02-25 Alexander Larsson <alexl@redhat.com>
791 Make new strings reuse old ones.
793 2008-02-25 Alexander Larsson <alexl@redhat.com>
796 Implement trashing and filesystem::readonly for win32 (#517235)
797 Patch from Yevgen Muntyan
799 2008-02-23 Matthias Clasen <mclasen@redhat.com>
801 * gfileinfo.h: Documentation fixes.
803 2008-02-22 Alexander Larsson <alexl@redhat.com>
805 * gcontenttype.c (g_content_type_get_icon):
806 Look at old-style gnome mime icon names too, as many
807 have not moved to the new style.
809 2008-02-21 Matthias Clasen <mclasen@redhat.com>
811 * *.c: Correct the @include in for section docs.
813 2008-02-21 David Zeuthen <davidz@redhat.com>
815 * glocalfileinfo.c: (_g_local_file_info_get):
817 (g_content_type_get_icon): Implement this function by
818 moving bits from glocalfileinfo.c
819 (g_content_type_get_description): Unalias before getting
820 description (#517687)
822 * gfile.c: (g_file_class_init),
823 (g_file_query_filesystem_info_async),
824 (g_file_query_filesystem_info_finish),
825 (query_filesystem_info_data_free),
826 (query_filesystem_info_async_thread),
827 (g_file_real_query_filesystem_info_async),
828 (g_file_real_query_filesystem_info_finish):
829 * gfile.h: Implement async version of
830 g_file_query_filesystem_info()
832 * gfileinfo.h: Add new attributes for filesystem::use-preview
834 * gio.symbols: Update
836 * gthemedicon.c: (g_themed_icon_append_name):
837 * gthemedicon.h: Add new new convenience function.
839 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
840 (get_mounts), (get_volumes), (get_connected_drives),
841 (get_volume_for_uuid), (get_mount_for_uuid),
842 (g_union_volume_monitor_init), (populate_union_monitor),
843 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
844 (g_volume_monitor_adopt_orphan_mount):
846 * gvolumemonitor.h: Use recursive locks so it's safe for volume
847 monitor implementations to call into the main volume monitor. Also
848 separate object initialization and volume monitor initialization
849 such that non-native volume monitors can properly adopt their
852 2008-02-21 Alexander Larsson <alexl@redhat.com>
857 2008-02-21 Alexander Larsson <alexl@redhat.com>
860 Add more documentation about how GFiles work (from #517086)
862 2008-02-21 Alexander Larsson <alexl@redhat.com>
866 Add new g_file_has_prefix that does the same as g_file_contains_file.
867 Deprecate g_file_contains_file and add a macro that converts
868 it to g_file_has_prefix.
869 The reason for this change is that the contains_file() name seems to
870 imply that this does more work than what it does, but its really only
871 a name match (from #517086)
876 Update to match the above change.
878 2008-02-20 Benjamin Otte <otte@gnome.org>
880 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
881 (g_file_eject_mountable):
882 even more cases of not returning in error path
884 2008-02-20 Benjamin Otte <otte@gnome.org>
886 * gfile.c: (g_file_mount_mountable):
887 return from function in error path.
889 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
892 Remove trailing coma in GMountMountFlags struct
894 2008-02-18 Alexander Larsson <alexl@redhat.com>
898 * glocalfileoutputstream.c:
899 Use g_unlink/g_rename instead of unlink/rename;
900 do not pass raw filenames to g_set_error. (#517239)
901 Patch from Yevgen Muntyan.
903 2008-02-18 Alexander Larsson <alexl@redhat.com>
906 * glocalfileoutputstream.c:
907 Open files with O_BINARY on windows. (#517140)
909 2008-02-14 Alexander Larsson <alexl@redhat.com>
911 * glocalfileoutputstream.c:
912 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
914 2008-02-14 Alexander Larsson <alexl@redhat.com>
917 Copy permissions with file on copy (#514084)
918 This is what cp does and makes sure e.g. the
919 exec permissions are kept.
920 Its kinda weird in that it keeps the permission bits
921 the same while the uid and gid are different. However
922 the new uid is the user so its not a security issue,
923 and I've heard no complaints about cp on this issue.
925 2008-02-13 Ryan Lortie <desrt@desrt.ca>
927 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
929 2008-02-13 Alexander Larsson <alexl@redhat.com>
931 * inotify/inotify-path.c:
932 Define IN_ONLYDIR if not in header (#515346)
934 2008-02-12 Alexander Larsson <alexl@redhat.com>
936 * tests/live-g-file.c:
939 2008-02-11 Matthias Clasen <mclasen@redhat.com>
941 * === Released 2.15.5 ===
943 2008-02-11 Matthias Clasen <mclasen@redhat.com>
945 * gio.symbols: Add g_mount_mount_flags_get_type.
947 2008-02-11 Alexander Larsson <alexl@redhat.com>
950 (g_file_info_set_attribute_mask):
951 (g_file_attribute_matcher_matches_id):
952 Correctly handle NULL GAttributeMatcher meaning
953 matches nothing. (Fixes #513492)
955 2008-02-11 Alexander Larsson <alexl@redhat.com>
960 Added GMountMountFlags enum and added a flags
961 argument to all mount calls.
963 This is an API/ABI change for future extensibility,
964 as I think we will need at least an
965 inhibit-autorun flag (the panel needs this).
966 There are no flags defined yet though.
968 2008-02-11 Alexander Larsson <alexl@redhat.com>
971 Added new standard::description attribute.
972 Requested by Vincent, and useful for both
975 2008-02-11 Alexander Larsson <alexl@redhat.com>
980 2008-02-11 Matthias Clasen <mclasen@redhat.com>
982 * *.c: Documentation additions
984 2008-02-10 Matthias Clasen <mclasen@redhat.com>
986 * gappinfo.h: Formatting cleanup
987 * gappinfo.c: Fix up docs.
989 2008-02-09 Matthias Clasen <mclasen@redhat.com>
991 * gunixmounts.c: Consistently use getmntent_r() and fall
992 back to getmntent(). (#515492)
994 2008-02-09 Matthias Clasen <mclasen@redhat.com>
996 * gbufferedinputstream.c:
998 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1000 * tests/data-input-stream.c:
1001 * tests/data-output-stream.c: Portability fixes.
1003 2008-02-08 Alexander Larsson <alexl@redhat.com>
1008 Add g_volume_should_automount.
1011 2008-02-07 Tor Lillqvist <tml@novell.com>
1013 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1014 Win32, too Unix-specific.
1016 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1018 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1019 a local plt if the compiler doesn't support what we want. Bug #514702
1021 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1023 reviewed by: <delete if not using a buddy>
1026 * gunixinputstream.c:
1027 * gunixoutputstream.c:
1029 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1031 * tests/Makefile.am:
1032 * tests/live-g-file.c:
1033 * tests/live-g-file.txt:
1034 New GIO testing module working over real data
1036 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1038 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1039 Fallback to rename() if link() is not available
1040 (when no support on target filesystem)
1042 2008-02-06 Michael Natterer <mitch@imendio.com>
1044 * gfileinfo.c (g_file_info_get_icon): replace
1045 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1047 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1049 * gfile.c (g_file_create):
1050 Documentation update of error codes
1052 2008-02-06 Alexander Larsson <alexl@redhat.com>
1054 * gdesktopappinfo.c:
1055 Update to use both mimeapps.list and
1056 defaults.list as discussed on xdg list.
1058 2008-02-06 Benjamin Otte <otte@gnome.org>
1061 * gfilenamecompleter.c:
1062 Fix some typos in the documentation.
1064 2008-02-06 Alexander Larsson <alexl@redhat.com>
1066 * glocalfile.c (g_local_file_trash):
1067 Don't succeed with trash if newly created
1068 trash dir has the wrong owner. (#514696)
1070 2008-02-05 Alexander Larsson <alexl@redhat.com>
1072 * glocalfile.c (g_local_file_move):
1073 Don't spew warnings when destination is not
1076 2008-02-03 Hans Breuer <hans@breuer.org>
1078 * makefile.msc : update
1080 2008-02-01 Michael Natterer <mitch@imendio.com>
1082 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1083 return value of xdg_mime_list_mime_parents() to a variable of the
1086 2008-02-01 Alexander Larsson <alexl@redhat.com>
1088 * gappinfo.c (g_app_info_launch_uris):
1089 Actually call the launch_uris method, not
1092 2008-02-01 Alexander Larsson <alexl@redhat.com>
1094 * gdesktopappinfo.c (g_desktop_app_info_equal):
1095 Ensure appinfos with no id but same pointer value
1098 2008-02-01 Alexander Larsson <alexl@redhat.com>
1100 * gappinfo.c (g_app_info_launch_default_for_uri):
1103 2008-02-01 Alexander Larsson <alexl@redhat.com>
1107 Add g_app_info_launch_default_for_uri utility
1110 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1112 * gdesktopappinfo.c:
1113 Doc fix for g_app_info_get_default_for_uri_scheme ()
1116 2008-01-30 Alexander Larsson <alexl@redhat.com>
1119 Add doc comment about uris vs GFiles to
1122 * gdesktopappinfo.c:
1123 Ensure uris passed to g_app_info_launch_uris()
1124 are not roundtriped through GFile (as that
1125 may be slightly destructive for e.g. mailto: links)
1127 2008-01-30 Alexander Larsson <alexl@redhat.com>
1129 * tests/data-input-stream.c:
1130 * tests/data-output-stream.c:
1131 C89 fixes from Jens Granseuer (#512849)
1133 2008-01-30 Alexander Larsson <alexl@redhat.com>
1136 Fix gamin/fam difference build issue. (#509419)
1138 2008-01-29 Alexander Larsson <alexl@redhat.com>
1141 * gdesktopappinfo.c:
1142 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1144 2008-01-29 Alexander Larsson <alexl@redhat.com>
1146 * gdesktopappinfo.c:
1147 * gdesktopappinfo.h:
1148 giomodule-priv.h include moved to .c file.
1150 2008-01-29 Alexander Larsson <alexl@redhat.com>
1152 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1153 Remove unused prio/name fields.
1155 2008-01-29 Alexander Larsson <alexl@redhat.com>
1157 * gcontenttype.c (looks_like_text):
1158 Don't treat whitespace as control chars.
1160 2008-01-29 Alexander Larsson <alexl@redhat.com>
1162 * gdesktopappinfo.c:
1163 Lazily create the desktop files for appinfos created
1164 by g_app_info_create_from_commandline() when needed
1165 for mime associations. This allows run-time use
1166 of GAppInfo object without creating unnecessary
1169 2008-01-29 Alexander Larsson <alexl@redhat.com>
1172 Added new symbols to gio.symbols
1174 2008-01-29 Alexander Larsson <alexl@redhat.com>
1177 Add g_file_query_default_handler utility to easily look up
1178 the GAppInfo that handles a file.
1180 * gdesktopappinfo.[ch]:
1182 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1185 Remove unused function
1187 2008-01-29 Alexander Larsson <alexl@redhat.com>
1189 * gfileenumerator.c:
1190 Mention need to free returned value in
1191 g_file_enumerator_next_files_finish docs.
1192 Fix leak if g_file_enumerator_next_files_finish()
1195 2008-01-29 Alexander Larsson <alexl@redhat.com>
1198 (_g_unix_content_type_get_parents):
1199 Use list_parents, not get_parents from xdgmime, because
1200 the later doesn't use the cache.
1202 * xdgmime/xdgmimecache.c:
1203 (_xdg_mime_cache_list_mime_parents):
1204 Don't list the same type as parent multiple times.
1206 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1208 * === Released 2.15.4 ===
1210 2008-01-28 Alexander Larsson <alexl@redhat.com>
1213 Register local vfs with prio 0.
1216 Remove old name and prio class members
1218 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1220 * tests/g-file.c: Disable some tests that are failing in
1221 the absence of a http backend.
1223 2008-01-28 Alexander Larsson <alexl@redhat.com>
1227 Add registration hooks for extension points.
1228 Register the gio extension points.
1230 * fam/gfamdirectorymonitor.c:
1231 * fam/gfamfilemonitor.c:
1232 * glocaldirectorymonitor.[ch]:
1233 * glocalfilemonitor.[ch]:
1234 * gnativevolumemonitor.h:
1235 * gunionvolumemonitor.c:
1236 * gunixvolumemonitor.c:
1239 * inotify/ginotifydirectorymonitor.c:
1240 * inotify/ginotifyfilemonitor.c:
1241 Use the extension points registration instead
1242 of g_type_children().
1244 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1247 * gvolume.[hc]: Document new API.
1249 * gfile.c (g_file_copy_async): Fix docs
1251 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1253 * gbufferedinputstream.c:
1255 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1258 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1260 * glocalfile.c: Avoid trivial differences in translatable strings.
1262 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1264 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1265 build with gcc 3.4 (#509419)
1267 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1269 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1270 (#509994, Murray Cumming)
1272 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1274 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1275 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1276 this allows big jobs to be executed in chunks, instead of blocking
1277 the main loop for a long time.
1279 * gsimpleasyncresult.c:
1280 * giofile.c: Adapt callers.
1282 2008-01-25 Alexander Larsson <alexl@redhat.com>
1284 * gdesktopappinfo.c:
1285 Implement changes discussed on xdg list.
1286 Now we can add supported mimetypes by just using defaults.list
1287 We can also remove associations in defaults.list.
1289 2008-01-25 Alexander Larsson <alexl@redhat.com>
1291 * gdesktopappinfo.c:
1292 Don't make local copy of desktop file
1293 for mimetype changes if the file already
1294 supports the new mimetype.
1296 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1300 * gbufferedinputstream.c:
1301 * glocalfile.c: String improvements. (#511966,
1302 Theppitak Karoonboonyanan)
1304 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1306 * gioscheduler.h: Expand docs a bit.
1308 2008-01-24 Alexander Larsson <alexl@redhat.com>
1311 Add g_drive_get_identifier and
1312 g_drive_enumerate_identifiers
1315 Add g_volume_get_identifier and
1316 g_volume_enumerate_identifiers
1322 Implement identifiers for unix backend
1324 2008-01-24 Alexander Larsson <alexl@redhat.com>
1329 Add g_file_copy_async() (#511580)
1330 Based on patch from Carlos Garcia Campos
1332 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1334 * gioscheduler.c: Some documentation additions.
1336 2008-01-22 Alexander Larsson <alexl@redhat.com>
1338 * gdesktopappinfo.c:
1339 (g_desktop_app_info_new):
1340 Don't leak basename.
1342 2008-01-22 Alexander Larsson <alexl@redhat.com>
1344 * gdesktopappinfo.c:
1345 (g_desktop_app_info_new_from_filename):
1348 2008-01-22 Alexander Larsson <alexl@redhat.com>
1350 * glocalfileinfo.c (get_thumbnail_attributes):
1353 2008-01-22 Alexander Larsson <alexl@redhat.com>
1356 (canonicalize_filename):
1357 Canonicalize paths that start with more than
1361 (compare_two_files):
1362 (test_g_file_new_for_path):
1365 2008-01-22 Alexander Larsson <alexl@redhat.com>
1368 Allow UTF-8 in file:// parse names.
1370 * tests/Makefile.am:
1371 * tests/data-input-stream.c:
1372 * tests/data-output-stream.c:
1373 * tests/g-file-info.c:
1375 Added a bunch of tests from Tomas Bzatek
1377 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1379 * === Released 2.15.3 ===
1381 2008-01-21 Alexander Larsson <alexl@redhat.com>
1383 * gfileinputstream.[ch]:
1384 * gfileoutputstream.[ch]:
1386 Remove duplicated GSeekable functions. (#509990)
1387 Just use the g_seekable_xxx() calls instead.
1389 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1392 * gvolumemanager.c: Whitespace cleanups.
1394 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1395 Use the right mode when creating the file.
1397 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1399 * gfileenumerator.c:
1400 * gfileinputstream.c:
1402 * goutputstream.c: Documentation: Fixed minor typos
1403 and added more mentions of specific _finish() functions.
1405 2008-01-21 Alexander Larsson <alexl@redhat.com>
1407 * inotify/Makefile.am:
1408 * inotify/inotify-helper.c:
1409 * inotify/inotify-kernel.c:
1410 * inotify/inotify-path.c:
1411 * inotify/local_inotify.h: Removed.
1412 * inotify/local_inotify_syscalls.h: Removed.
1413 Removed the included copies of the inotify
1414 headers. We now only use the <sys/inotify.h>
1415 header which exists on modern systems.
1416 This fixes problems on ARM and SH5 (#510448)
1417 but is also generally much cleaner and future
1418 safe. For instance, if other OSes add support
1419 for inotify it should "just work".
1421 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1423 * inotify/*.c: Coding style fixes.
1424 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1425 for the 1/4 Hz timer.
1427 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1430 * gfilemonitor.[hc]:
1431 * gmemoryinputstream.c:
1432 * gmemoryoutputstream.c:
1433 * gmountoperation.c:
1434 * gthemedicon.c: Documentation updates
1436 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1438 * gfile.c: documentation: Fixed more minor
1441 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1443 * gmount.c: (g_mount_remount): documentation:
1444 Mention g_mount_remount_finish() instead of
1445 g_mount_unmount_finish().
1447 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1451 * gfile.c: Fixed some minor typos in the
1454 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1456 * gio/gvolumemonitor.c:
1457 (g_volume_monitor_get_connected_drives):
1458 (g_volume_monitor_get_volumes):
1459 (g_volume_monitor_get_mounts): Documentation:
1460 Clarify the ownership of the regurn GLists.
1462 2008-01-17 Alexander Larsson <alexl@redhat.com>
1465 Add the async find_enclosing_mount version
1466 to the header file too.
1468 2008-01-17 Alexander Larsson <alexl@redhat.com>
1471 Add async version of find_enclosing_mount
1472 with default implementation.
1474 2008-01-17 Alexander Larsson <alexl@redhat.com>
1479 Allow calls to implementation of copy and write
1480 even if the type of the file implementations is
1481 different. This can be used to implement native
1482 upload and download calls in a vfs.
1485 (g_local_file_move):
1486 Protect against the case where move is called
1487 with one file not being local.
1489 Make sure we call the progress callback once
1490 in the native move operation so that the caller
1491 knows how many bytes were copied.
1493 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1496 * gdatainputstream.c:
1498 * gfileoutputstream.c:
1503 * gunixmounts.c: Corrected some typos in the documentation:
1504 occured -> occurred.
1505 its -> it's (where appropriate).
1507 2008-01-16 Alexander Larsson <alexl@redhat.com>
1511 Add g_file_query_exists (#508771)
1513 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1518 * gvolume.c: For async functions that have no non-async
1519 version, document that the GAsyncReadyCallback may be NULL.
1522 2008-01-15 Alexander Larsson <alexl@redhat.com>
1524 * gmemoryinputstream.c:
1525 * gmemoryoutputstream.c:
1526 Don't do pointer arithmetic on void * (#508602)
1527 Patch from Kazuki IWAMOTO
1529 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1531 * === Released 2.15.2 ===
1533 2008-01-14 Alexander Larsson <alexl@redhat.com>
1535 * gfile.c (g_file_monitor_file):
1536 Don't set error here, since we fallback to polling monitor.
1538 2008-01-14 Alexander Larsson <alexl@redhat.com>
1541 (g_file_monitor_directory):
1542 (g_file_monitor_file):
1543 Add GError to file monitor calls
1545 * glocaldirectorymonitor.c:
1546 * glocaldirectorymonitor.h:
1548 * glocalfilemonitor.c:
1549 * glocalfilemonitor.h:
1551 Update for above change
1553 2008-01-14 Alexander Larsson <alexl@redhat.com>
1557 Handle root correctly in g_file_get_relative_path (#508719)
1559 2008-01-14 Alexander Larsson <alexl@redhat.com>
1562 Clean up docs and example for GAsyncResult (#508074)
1564 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1566 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1567 and correct some spelling mistakes. Bug #508108.
1569 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1571 * glocalfileinfo.c: Add a comment.
1573 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1575 * gfileinfo.c: GFileInfo description: Mention
1576 how to actually set attributes in a GFile and how to discover
1577 which attributes are settable. Bug #508378.
1579 2008-01-10 A. Walton <awalton@svn.gnome.org>
1581 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1582 (g_app_info_get_default_for_type):
1583 Check for NULL content types.
1585 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1587 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1589 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1591 * gfile.c: *_async() functions: Several small corrections
1592 to the documentation, mostly correcting copy/paste errors
1593 and improving some sentences.
1595 2008-01-09 Dan Winship <danw@gnome.org>
1597 * glocalfile.c (get_unique_filename): x86_64 fix
1599 2008-01-09 Alexander Larsson <alexl@redhat.com>
1604 Add g_unix_mount_guess_should_display and use
1605 for unix volume monitor backend.
1606 This means we more or less show what the
1607 gnome-vfs backend did.
1608 Based on patch from Padraig O'Briain
1610 2008-01-09 Alexander Larsson <alexl@redhat.com>
1614 Add g_themed_icon_new_with_default_fallbacks
1617 Use default fallbacks for icons
1619 2008-01-09 Alexander Larsson <alexl@redhat.com>
1622 * gmountoperation.[ch]:
1623 Change the API a bit so that unhandled methods
1624 get reported via the reply, rather than by
1625 the signal emission return value. This is because
1626 some handlers can't know this immediately without
1627 doing I/O, and this is an async operation that
1630 2008-01-09 Alexander Larsson <alexl@redhat.com>
1633 * fam/gfamdirectorymonitor.c:
1634 * fam/gfamfilemonitor.c:
1635 Fix double free crash (#508224)
1636 Patch from Joe Marcus Clarke
1638 008-01-07 Matthias Clasen <mclasen@redhat.com>
1640 * === Released 2.15.1 ===
1642 2008-01-07 Alexander Larsson <alexl@redhat.com>
1644 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1645 Fix warning (#507835)
1647 2008-01-07 Alexander Larsson <alexl@redhat.com>
1650 Pass --internal to glib-genmarshal
1653 * gmountoperation.c:
1655 Use better types for signal arguments (#507822)
1657 2008-01-07 Alexander Larsson <alexl@redhat.com>
1660 Build test subdir after .
1661 Remove gdirectorymonitor.[ch]
1663 * gdirectorymonitor.[ch]:
1667 Remove GDirectoryMonitor and make
1668 GFileMonitor the baseclass for both file and
1669 directory monitors. Lift the more generic
1670 rate limiting code from GDirectoryMonitor
1674 * fam/gfamdirectorymonitor.[ch]:
1675 * inotify/ginotifydirectorymonitor.[ch]:
1676 * inotify/inotify-helper.c:
1677 * glocaldirectorymonitor.[ch]:
1680 Update for the removed GDirectoryMonitor.
1682 * gmemoryoutputstream.c:
1683 Remove ununsed variable
1685 2008-01-07 Alexander Larsson <alexl@redhat.com>
1687 * gmemoryinputstream.c:
1688 Translate error strings
1691 * gmemoryoutputstream.[ch]:
1692 New implementation that avoids using GByteArray
1693 in implementation and API. (#506377)
1695 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1697 * tests/*: Add a test for memory input streams.
1699 * Makefile.am: Add tests to SUBDIRS.
1701 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1703 * glocalfilemonitor.c:
1704 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1707 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1709 * gdesktopappinfo.c: Fix a docs typo.
1711 * gfileattribute.c: Add information about extended attributes
1712 to the documentation. (#505058)
1714 2008-01-04 Alexander Larsson <alexl@redhat.com>
1717 * gmountoperation.c:
1718 Use the right type (uint) for the ask_password signal.
1720 2008-01-04 Alexander Larsson <alexl@redhat.com>
1725 Add g_app_info_supports_files()
1726 Remove desktop arg from g_app_info_should_show().
1728 * gdesktopappinfo.[ch]:
1729 Implement g_app_info_supports_files() and new should_show()
1730 Add g_desktop_app_info_set_desktop_env() to set the desktop
1731 for should_show(). (This will be set by gtk+ later)
1733 2008-01-04 Alexander Larsson <alexl@redhat.com>
1736 * gmemoryinputstream.[ch]:
1737 Improve API so that you can use multiple chunks
1738 of memory and custom destroy functions. (#506374)
1740 2008-01-03 Alexander Larsson <alexl@redhat.com>
1743 Handle NULL attribute matchers safely, as we return this
1744 for empty attribute matcher strings.
1746 2008-01-03 Alexander Larsson <alexl@redhat.com>
1748 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1749 Add /usr/local to list of internal mountpoints
1751 2008-01-03 Alexander Larsson <alexl@redhat.com>
1754 Check for HAVE_LCHOWN (#505887)
1756 2008-01-03 Alexander Larsson <alexl@redhat.com>
1760 Add define for selinux context attribute.
1761 Fix missing : -> :: namespace separator change
1762 Fix missing _ -> - name change for xattr-sys.
1765 2008-01-03 Alexander Larsson <alexl@redhat.com>
1768 Link to libglib and libgobject directly (#504879)
1769 Patch from Sebastien Bacher
1771 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1773 * gfile.c: Expanded the g_file_new_for_commandline_arg
1774 description a bit, based on the code and the docs of the
1775 other g_file_new_for_* functions.
1777 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1779 * gfilemonitor.h: Fixed typo in docs.
1781 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1783 Updates to GIO documentation. (#506395, Mikael Hermansson)
1785 * gcontenttype.c: Describe memory management for return value of
1786 g_content_types_get_registered(). Missing piece from #505815.
1787 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1788 GVolume, GDrive, GMounts, which hopefully gives the user less
1789 confusions when using this API. Following explainations from
1790 Alexander Larsson on gtk-devel-list.
1792 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1794 * gfileinfo.c: Expand the long description.
1796 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1799 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1800 fix builds with --disable-visibility. (#500273, Christian Persch)
1802 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1804 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1805 in the list of returned app infos.
1807 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1809 * gappinfo.c: Fix a cross-reference
1811 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1813 * gfileinputstream.c:
1814 * gfileoutputstream.c:
1818 * gdesktopappinfo.c:
1820 * gfileinfo.c: Documentation updates.
1822 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1824 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1827 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1829 * gcontenttype.c (g_content_types_get_registered): Don't return
1830 freed memory (#505815, Mikael Hermansson)
1832 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1834 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1835 used to detect statbuf->st_blocks. (#505042)
1837 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1839 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1840 environment handling. (#504829, Cosimo Cecchi)
1842 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1844 * gappinfo.c: Doc improvements
1846 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1849 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1851 * === Released 2.15.0 ===
1853 2007-12-20 Hans Breuer <hans@breuer.org>
1855 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1856 with symbols gwin32appinfo.obj, added gmount.obj
1857 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1859 2007-12-20 Alexander Larsson <alexl@redhat.com>
1865 * gfilenamecompleter.c:
1868 * gpollfilemonitor.c:
1869 File attribute renames:
1871 fs:: -> filesystem::
1872 id::fs -> id::filesystem
1874 2007-12-20 Alexander Larsson <alexl@redhat.com>
1883 Add GMountUnmountFlags to all unmount and
1885 Add g_mount_remount() call.
1887 2007-12-20 Alexander Larsson <alexl@redhat.com>
1889 * gvfs.c (get_default_vfs):
1890 Fix unused variable warning
1892 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1894 * pltcheck.sh: Update
1896 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1898 * gunionvolumemonitor.c:
1899 * gunixmount.c: Remove C99 comments
1901 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1903 * gio.symbols: Add some missing symbols
1905 2007-12-19 Alexander Larsson <alexl@redhat.com>
1908 Make g_io_modules_load_all_in_directory not unuse
1909 loaded modules so that users of it can do stuff
1911 Init internal "module" types.
1912 Initialize static prio and name for types so that
1913 we don't have to load modules to get it.
1915 * gnativevolumemonitor.h:
1917 Move is_supported to parent class so that
1918 non-native monitors can avoid being initialized
1919 too. (For instance GDaemonVolumeMonitor if we're
1920 not using GDaemonVfs.)
1922 * glocaldirectorymonitor.[ch]:
1923 * glocalfilemonitor.[ch]:
1924 * gunionvolumemonitor.c:
1925 * gunixvolumemonitor.c:
1927 Find plugins using the static prio+name to
1928 avoid unnecessarily loading the modules.
1930 2007-12-19 Alexander Larsson <alexl@redhat.com>
1935 2007-12-19 Alexander Larsson <alexl@redhat.com>
1937 * gunionvolumemonitor.c:
1938 Store the native type as GType, not class so that
1939 we can unload it. But still avoid unnecessarily
1942 2007-12-19 David Zeuthen <davidz@redhat.com>
1944 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1945 add signals 'disconnected' and 'eject-button' on GDrive. Add
1946 signal 'removed' on GVolume and 'unmounted' on GMount.
1948 * gdrive.c: (g_drive_base_init):
1950 * gfile.c: (g_file_mount_mountable),
1951 (g_file_mount_enclosing_volume):
1954 * gmount.c: (g_mount_base_init):
1956 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1957 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1958 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1962 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1964 * *.c: Fix up includes in the section docs.
1966 2007-12-17 Alexander Larsson <alexl@redhat.com>
1968 * gnativevolumemonitor.h:
1969 * gunionvolumemonitor.c:
1970 * gunixvolumemonitor.c:
1971 Add is_supported() to GNativeVolumeMonitorClass so
1972 that we can avoid having to create an object to see
1973 if the backend is supported at runtime.
1974 Also add name member and an env var to pick a specific
1975 volume monitor backend.
1979 Add cancellable to _g_mount_get_for_mount_path()
1981 * glocaldirectorymonitor.c:
1982 * glocalfilemonitor.c:
1983 Avoid loading and unloading modules while sorting.
1985 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1988 * gunixmounts.[hc]: Namespace waste reduction, move some
1989 g_get_unix_mount functions to the g_unix_mount namespace.
1992 * gunixvolumemonitor.c:
1994 * glocaldirectorymonitor.c: Update all callers.
1996 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1998 2007-12-17 Alexander Larsson <alexl@redhat.com>
2001 Add doc comments about what GFile operations are
2002 guaranteed to not block.
2004 2007-12-17 Alexander Larsson <alexl@redhat.com>
2007 Add missing #ifdef fixing OSX build.
2008 (#503334, patch from Richard Hult)
2010 2007-12-14 David Zeuthen <davidz@redhat.com>
2014 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2015 (g_mount_eject), (g_mount_eject_finish):
2017 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2018 (get_volume_for_uuid), (get_mount_for_uuid),
2019 (g_union_volume_monitor_class_init),
2020 (get_default_native_type_with_exclude), (get_default_native_type),
2021 (get_native_type), (update_native_type),
2022 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2023 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2024 (g_unix_mount_can_eject), (eject_unmount_cb),
2025 (eject_unmount_read_error), (eject_unmount_do),
2026 (g_unix_mount_unmount), (g_unix_mount_eject),
2027 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2028 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2029 (g_unix_mount_point_guess_can_eject):
2031 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2032 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2033 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2034 (g_unix_volume_mount), (g_unix_volume_eject),
2035 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2036 * gunixvolumemonitor.c: (get_volume_for_uuid),
2037 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2039 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2040 (g_volume_eject), (g_volume_eject_finish):
2042 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2043 (g_volume_monitor_get_mount_for_uuid):
2046 Provide eject() on both GMount and GVolume and utility functions
2047 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2048 ejected. Introduce the concept of UUID's and wire it into GVolume
2049 and GMount and provide API on GVolumeMonitor to find such
2050 instances. Also handle the case where an external
2051 GNativeVolumeMonitor fails to initialize. Lock around the
2052 _g_get_mount_for_mount_path() function such that volume monitor
2053 implementations won't have to do locking themselves.
2055 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2057 * gdesktopappinfo.c:
2063 * gvolume.h: Documentation updates
2065 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2068 * gfile.h: Doc updates
2070 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2073 * gdesktopappinfo.c: Use hash table iterators.
2075 2007-12-14 Alexander Larsson <alexl@redhat.com>
2078 * gfileattribute.[ch]:
2079 * gfileattribute-priv.h:
2080 Move GFileAttributeValue to a private header, as
2084 Make set_attribute take a type + a pointer instead
2085 of a GFileAttributeValue.
2088 Fix up for above changes.
2089 Add g_file_info_get_attribute_data to get
2090 all info in one call, g_file_info_get_attribute_status
2091 to get the status and g_file_info_get_attribute_as_string.
2095 * glocalfileinfo.[ch]:
2099 Make _guess_type static.
2101 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2104 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2105 made mkenums and friends use temporary files to avoid leaving
2106 empty generated files on failure (#503470).
2108 2007-12-14 Alexander Larsson <alexl@redhat.com>
2110 * gmountoperation.h:
2113 2007-12-14 Alexander Larsson <alexl@redhat.com>
2117 * gfileattribute.[ch]:
2120 * glocalfileoutputstream.c:
2121 * gmountoperation.[ch]:
2122 * goutputstream.[ch]:
2123 Clean up all flags enums to not have _FLAGS in them
2124 Make the names of some of the enums better.
2129 2007-12-14 Michael Natterer <mitch@imendio.com>
2131 * gio.symbols: fix g_io_scheduler symbol names.
2133 2007-12-14 Alexander Larsson <alexl@redhat.com>
2139 * gbufferedinputstream.h:
2140 * gbufferedoutputstream.h:
2143 * gdatainputstream.h:
2144 * gdataoutputstream.h:
2145 * gdesktopappinfo.h:
2146 * gdirectorymonitor.h:
2150 * gfileenumerator.h:
2153 * gfileinputstream.h:
2155 * gfilenamecompleter.h:
2156 * gfileoutputstream.h:
2157 * gfilterinputstream.h:
2158 * gfilteroutputstream.h:
2166 * gmemoryinputstream.h:
2167 * gmemoryoutputstream.h:
2169 * gmountoperation.h:
2172 * gsimpleasyncresult.h:
2174 * gunixinputstream.h:
2176 * gunixoutputstream.h:
2180 * inotify/Makefile.am:
2181 Only allow including <gio/gio.h> from apps
2183 2007-12-14 Alexander Larsson <alexl@redhat.com>
2185 * gioscheduler.[ch]:
2186 * gsimpleasyncresult.c:
2187 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2188 Split out the send_to_mainloop call into two versions instead
2189 of having the block argument.
2191 2007-12-13 Alexander Larsson <alexl@redhat.com>
2193 * gcancellable.[ch]:
2195 * gbufferedinputstream.c:
2196 * gfileenumerator.c:
2197 * gfileinputstream.c:
2198 * gfileoutputstream.c:
2202 g_push/pop_current_cancellable ->
2203 g_cancellable_push/pop_current
2205 2007-12-13 Alexander Larsson <alexl@redhat.com>
2209 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2211 2007-12-13 Alexander Larsson <alexl@redhat.com>
2213 * gmountoperation.h:
2214 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2216 2007-12-12 Alexander Larsson <alexl@redhat.com>
2219 Fix race condition when freeing proxy in
2220 g_io_job_send_to_mainloop().
2222 2007-12-12 Alexander Larsson <alexl@redhat.com>
2228 Make attribute namespace separator "::" instead of ":".
2229 Use - instead of _ as separator in attribute names.
2231 2007-12-12 Alexander Larsson <alexl@redhat.com>
2233 * gbufferedinputstream.h:
2234 * gbufferedoutputstream.h:
2235 * gdatainputstream.h:
2236 * gdataoutputstream.h:
2237 * gdirectorymonitor.h:
2238 * gfileenumerator.h:
2239 * gfileinputstream.h:
2241 * gfileoutputstream.h:
2242 * gfilterinputstream.h:
2243 * gfilteroutputstream.h:
2245 * glocalfileinputstream.h:
2246 * glocalfileoutputstream.h:
2247 * gmemoryinputstream.h:
2248 * gmemoryoutputstream.h:
2249 * gnativevolumemonitor.h:
2251 * gunixinputstream.h:
2252 * gunixoutputstream.h:
2255 s/parent/parent_instance/ in GObjects
2257 2007-12-12 Alexander Larsson <alexl@redhat.com>
2262 No need for padding for interfaces
2264 2007-12-12 Alexander Larsson <alexl@redhat.com>
2268 * gbufferedinputstream.c:
2269 * gbufferedoutputstream.c:
2272 * gdatainputstream.[ch]:
2273 * gdesktopappinfo.c:
2274 * gdirectorymonitor.c:
2276 * gfileattribute.[ch]:
2279 * gfileinputstream.h:
2280 * gfilemonitor.[ch]:
2281 * gfileoutputstream.[ch]:
2282 * gfilterinputstream.h:
2283 * gfilteroutputstream.h:
2286 * gloadableicon.[ch]:
2287 * gmemoryinputstream.c:
2288 * gmountoperation.c:
2290 Fix up a bunch of details in the docs.
2295 2007-12-11 David Zeuthen <davidz@redhat.com>
2297 Rework how volumes, drives and volume monitoring is
2298 done. Previosly the model was
2300 GDrive <1-1> GVolume
2302 where a GDrive instance represented a mount point and a GVolume
2303 instance represented a mounted file system. This patch changes it
2306 GDrive <1-N> GVolume <1-1> GMount
2308 where GMount now serves the purpose of the old GVolume and the new
2309 GVolume serves the purpose of the old GDrive. In addition the new
2310 GDrive interface is used to represent a collection of GVolume
2311 instances (typically partitions) and also contains utility to query
2312 the state of the physical drive the GDrive object represents (such
2313 as checking for media, polling the drive, ejecting the media etc.).
2315 Also implement mounting and unmounting in the Unix volume monitor
2316 backend. A subquent patch will introduce GDrive support for ejection
2320 * gdrive.c: (g_drive_is_media_check_automatic),
2321 (g_drive_is_media_removable), (g_drive_has_media),
2322 (g_drive_can_poll_for_media), (g_drive_eject),
2323 (g_drive_eject_finish), (g_drive_poll_for_media),
2324 (g_drive_poll_for_media_finish):
2326 * gfile.c: (g_file_find_enclosing_mount):
2329 * glocaldirectorymonitor.c:
2330 (g_local_directory_monitor_constructor), (mounts_changed):
2331 * glocalfile.c: (get_mount_info),
2332 (g_local_file_find_enclosing_mount),
2333 (g_local_file_file_iface_init):
2334 * gnativevolumemonitor.h:
2335 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2336 (get_connected_drives), (g_union_volume_monitor_class_init),
2337 (child_volume_added), (child_volume_removed),
2338 (child_volume_changed), (child_mount_added), (child_mount_removed),
2339 (child_mount_pre_unmount), (child_mount_changed),
2340 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2341 (g_union_volume_monitor_remove_monitor),
2342 (_g_mount_get_for_mount_path):
2343 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2344 (guess_system_internal), (_g_get_unix_mounts),
2345 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2346 (g_unix_mount_free), (g_unix_mount_compare),
2347 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2348 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2349 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2350 (type_to_icon), (g_unix_mount_guess_name),
2351 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2352 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2353 (_resolve_symlink), (_resolve_dev_root):
2355 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2356 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2357 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2358 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2359 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2360 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2361 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2362 (g_unix_volume_volume_iface_init):
2364 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2365 (get_mounts), (get_volumes), (get_connected_drives),
2366 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2367 (mountpoints_changed), (mounts_changed),
2368 (g_unix_volume_monitor_init),
2369 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2370 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2371 * gunixvolumemonitor.h:
2372 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2373 (g_volume_mount), (g_volume_mount_finish):
2375 * gvolumemonitor.c: (g_volume_monitor_class_init),
2376 (g_volume_monitor_get_connected_drives),
2377 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2380 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2382 * gmountoperation.h (GPasswordFlags): Close the gap
2384 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2386 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2388 * gdesktopappinfo.[hc]: Remove _-prefixes
2390 2007-12-10 Tor Lillqvist <tml@novell.com>
2392 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2395 2007-12-10 Alexander Larsson <alexl@redhat.com>
2397 * gfile.c (g_file_set_display_name):
2398 Don't hardcode '/' (#502727)
2400 2007-12-09 Hans Breuer <hans@breuer.org>
2402 * makefile.msc : follow lib naming convention
2403 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2404 for user and group name, tested with ../tests/gio-ls
2406 2007-12-09 A. Walton <awalton@svn.gnome.org>
2408 * gdesktopappinfo.c:
2414 * gfileenumerator.c:
2419 * gmemoryinputstream.c:
2420 * gmemoryoutputstream.c:
2422 * gsimpleasyncresult.c:
2423 More documentation cleanup and filling in missing information, bringing
2424 GIO to 99% symbol coverage.
2426 2007-12-08 Hans Breuer <hans@breuer.org>
2428 [gio compiles and links on win32, not sure how much already works]
2429 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2430 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2431 base on win32 API; prefer g_lstat() over lstat(); instead of
2432 localtime_r() use an all GLib implementation on win32;
2433 get_mount_info() still needs a win32 specifc implementation
2434 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2435 win32_get_file_user_info to get owner/group info without uid/gid
2436 * glocalfileinputstream.c : include <io.h> on win32
2437 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2438 definition, use g_win32_ftruncate() for G_OS_WIN32
2439 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2440 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2441 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2442 * makefile.msc : updated
2444 2007-12-07 Alexander Larsson <alexl@redhat.com>
2446 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2447 Avoid warning spew if error == NULL
2449 2007-12-07 Alexander Larsson <alexl@redhat.com>
2452 Update docs wrt etags
2454 2007-12-06 Alexander Larsson <alexl@redhat.com>
2457 Include sys/types.h for dev_t (#501919)
2459 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2463 Make abicheck and pltcheck pass.
2465 2007-12-05 Alexander Larsson <alexl@redhat.com>
2468 * giomodule-priv.h: Added.
2469 * glocaldirectorymonitor.c:
2470 * glocalfilemonitor.c:
2471 * gunionvolumemonitor.c:
2473 Actually add the declaration of _g_io_modules_ensure_loaded
2475 2007-12-05 Alexander Larsson <alexl@redhat.com>
2477 * gdatainputstream.c:
2482 * glocaldirectorymonitor.c:
2483 * glocalfilemonitor.c:
2484 * gunionvolumemonitor.c:
2486 Make g_io_modules_ensure_loaded a private function and
2487 don't pass in the dirname. This means we can do magic
2488 directory finding in the win32 version.
2489 Export the actual load-modules-in-directory code so that
2490 gvfs can reuse that.
2492 2007-12-05 Alexander Larsson <alexl@redhat.com>
2494 * gbufferedinputstream.c:
2495 * gbufferedoutputstream.c:
2498 * gfileenumerator.[ch]:
2499 * gfileinputstream.c:
2500 * gfileoutputstream.[ch]:
2501 * gfilterinputstream.c:
2502 * gfilteroutputstream.c:
2503 * ginputstream.[ch]:
2505 * glocalfileenumerator.c:
2506 * glocalfileinputstream.c:
2507 * glocalfileoutputstream.c:
2508 * gmemoryinputstream.c:
2509 * gmemoryoutputstream.c:
2510 * goutputstream.[ch]:
2513 * gunixinputstream.c:
2514 * gunixoutputstream.c:
2515 Rename all struct members named:
2516 read, write, close, truncate, or mount
2517 to foo_fn, as these are reserved names
2518 and could be defined as macros in libc.
2521 2007-12-04 Alexander Larsson <alexl@redhat.com>
2524 (g_output_stream_close):
2525 Only call flush if non-null.
2527 2007-11-30 Dan Winship <danw@gnome.org>
2529 * ginputstream.c (g_input_stream_set_pending): Make this take a
2530 GError and return a gboolean, and do the "outstanding operation"
2531 check (and the "stream is already closed" check) itself.
2532 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2534 * goutputstream.c (g_output_stream_set_pending)
2535 (g_output_stream_clear_pending): Likewise
2537 * gbufferedinputstream.c:
2538 * gfileinputstream.c:
2539 * gfileoutputstream.c: Update for that
2541 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2542 Like g_simple_async_report_error_in_idle, but takes a GError
2543 rather than building one.
2545 2007-11-30 Dan Winship <danw@gnome.org>
2547 * goutputstream.c: Don't cheat and unset the "pending" flag around
2548 inner calls. Instead, call the class method directly rather than
2549 the wrapper function that checks "pending"
2551 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2553 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2555 2007-12-03 Hans Breuer <hans@breuer.org>
2557 [start of port to win32/msvc]
2558 * gcancellable.c : HAVE_UNIST_H and _pipe()
2559 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2560 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2561 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2563 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2564 * glocalvfs.c : use HAVE_PWD_H
2565 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2566 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2567 * Makefile.am : added to EXTRA_DIST
2569 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2571 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2574 2007-12-03 Alexander Larsson <alexl@redhat.com>
2577 Handle OSX style xattrs API (#500506)
2579 2007-12-03 Alexander Larsson <alexl@redhat.com>
2583 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2585 2007-12-02 A. Walton <awalton@svn.gnome.org>
2589 Documentation accuracy fixes.
2591 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2593 * gioenumtypes.c.template: Fix typo.
2595 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2597 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2599 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2601 * gdirectorymonitor.c:
2602 * gfilemonitor.c: Add properties
2604 * gbufferedoutputstream.c: Don't mark buffer-size property
2607 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2609 * gbufferedoutputstream.c: Add auto-grow property.
2611 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2613 * *.c: Unify the capitalization of section headings.
2615 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2617 * gmountoperation.c: Add properties
2619 * gdatainputstream.c: Turn byte-order and newline-type into
2622 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2624 * gioenumtypes.[hc].template: Templates for enum registration
2626 * Makefile.am: Generate gioenumtypes.[hc]
2628 * gio.h: Include gioenumtypes.h
2630 * gfile.h: Add some explicit nicks.
2632 * gio.symbols: Add new symbols
2634 * pltcheck.sh: Adjust
2636 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2638 * *.c: Explain etags and link to the explanation
2640 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2642 * *.c: Explain I/O priority.
2644 * *.c: More coding style fixes.
2646 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2648 * gasyncresult.c: Add another paragraph to the intro,
2649 adjust coding style of example.
2651 2007-11-29 A. Walton <awalton@svn.gnome.org>
2654 Fixes unknown meaning in GAppLaunchContext docs.
2656 Clarify asynchronous ops.
2658 Fix entity tag docs.
2661 Provides missing gtk-doc section, fixes API docs slighly.
2662 * gsimpleasyncresult.c:
2663 Fill in missing info in docs.
2664 * gunixinputstream.c:
2665 * gunixoutputstream.c:
2666 Be more expressive in short description.
2668 Remove gtk-doc stubs for non-public API.
2670 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2672 * *.c: Coding style fixups
2674 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2676 * inotify/inotify-helper.c: Don't export the lock from libgio.
2678 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2681 * abicheck.sh: Fix copy-and-paste leftovers
2683 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2685 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2687 2007-11-28 Alexander Larsson <alexl@redhat.com>
2691 Removed unnecessary file
2693 * gdesktopappinfo.[ch]:
2696 * glocaldirectorymonitor.[ch]:
2698 * glocalfileenumerator.[ch]:
2699 * glocalfileinputstream.[ch]:
2700 * glocalfilemonitor.[ch]:
2701 * glocalfileoutputstream.[ch]:
2703 * gnativevolumemonitor.c:
2704 * gpollfilemonitor.[ch]:
2705 * gunionvolumemonitor.[ch]:
2708 * gunixvolumemonitor.[ch]:
2711 * inotify/ginotifydirectorymonitor.[ch]:
2712 * inotify/ginotifyfilemonitor.[ch]:
2713 * inotify/inotify-helper.c:
2714 Append _ to all internal functions
2718 Export symbols needed for modules
2720 2007-11-28 Alexander Larsson <alexl@redhat.com>
2723 * abicheck.sh: Added.
2724 * makegioalias.pl: Added.
2725 * pltcheck.sh: Added.
2726 * gio.symbols: Added.
2729 Initial work on adding symbol handling.
2732 Correct ifdef guard name
2735 * inotify/Makefile.am:
2736 * xdgmime/Makefile.am:
2737 Include toplevel Makefile.decl
2739 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2741 * gcontenttype.c: Move doc comments to the unix section.
2743 * *.[hc]: More trivial doc corrections.
2745 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2747 * gpollfilemonitor.c:
2751 * gdesktopappinfo.c:
2756 * gdatainputstream.c:
2757 * gdatainputstream.h:
2758 * gdataoutputstream.c:
2759 * gdataoutputstream.h:
2760 * gfileinfo.h: Doc cleanups
2762 2007-11-28 Andre Klapper <a9016009@gmx.de>
2764 * gdesktopappinfo.c: Fix a typo.
2766 2007-11-27 Andre Klapper <a9016009@gmx.de>
2768 * glocalfileoutputstream.c: Fix a typo.
2770 2007-11-27 Alexander Larsson <alexl@redhat.com>
2773 Don't include removed headers
2775 2007-11-27 Alexander Larsson <alexl@redhat.com>
2778 * gsocketinputstream.[ch]: Removed.
2779 * gsocketoutputstream.[ch]: Removed.
2780 * gunixinputstream.[ch]: Added.
2781 * gunixoutputstream.[ch]: Added.
2782 Renamed GSocket*Stream to GUnix*Stream and made
2783 it unix-only, since its not really only for sockets
2784 and it only works on unix (but is highly useful there).
2786 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2792 * gbufferedinputstream.c:
2793 * gbufferedinputstream.h:
2794 * gbufferedoutputstream.c:
2795 * gbufferedoutputstream.h:
2799 * gdatainputstream.c:
2800 * gdatainputstream.h:
2801 * gdataoutputstream.c:
2802 * gdataoutputstream.h:
2803 * gdirectorymonitor.c:
2804 * gdirectorymonitor.h:
2811 * gfileenumerator.c:
2812 * gfileenumerator.h:
2817 * gfileinputstream.c:
2818 * gfileinputstream.h:
2821 * gfilenamecompleter.c:
2822 * gfilenamecompleter.h:
2823 * gfileoutputstream.c:
2824 * gfileoutputstream.h:
2825 * gfilterinputstream.c:
2826 * gfilterinputstream.h:
2827 * gfilteroutputstream.c:
2828 * gfilteroutputstream.h:
2841 * glocalfileoutputstream.c:
2842 * gmemoryinputstream.c:
2843 * gmemoryinputstream.h:
2844 * gmemoryoutputstream.c:
2845 * gmemoryoutputstream.h:
2846 * gmountoperation.c:
2847 * gmountoperation.h:
2850 * gpollfilemonitor.c:
2853 * gsimpleasyncresult.c:
2854 * gsimpleasyncresult.h:
2855 * gsocketinputstream.c:
2856 * gsocketinputstream.h:
2857 * gsocketoutputstream.c:
2858 * gsocketoutputstream.h:
2865 * gunixvolumemonitor.c:
2874 Bumps documentation to 93% symbol coverage, touching most
2875 of the public files. Fixes broken function documentation prototypes.
2876 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2877 gtk-doc headers in private files.
2879 2007-11-27 Jürg Billeter <j@bitron.ch>
2881 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2882 (g_buffered_input_stream_read_byte):
2883 * gbufferedinputstream.h:
2884 New functions for efficient access to buffer and simple single byte
2887 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2888 (g_data_input_stream_read_until):
2889 * gdatainputstream.h:
2890 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2891 read_until with multiple stop chars.
2893 2007-11-27 Alexander Larsson <alexl@redhat.com>
2897 * inotify/Makefile.am:
2898 Use the user-specified giomoduledir
2900 2007-11-27 Alexander Larsson <alexl@redhat.com>
2904 Add catch-all gio.h header
2905 Don't install gdummyfile.h
2907 2007-11-26 Alexander Larsson <alexl@redhat.com>
2909 * Makefile.am (gioinclude_HEADERS):
2910 Remove trailing whitespace
2912 2007-11-26 Alexander Larsson <alexl@redhat.com>
2914 Merge gio-standalone into glib
2916 2007-11-25 Christian Kellner <gicmo@gnome.org>
2918 * gio/goutputstream.c:
2919 Fix small mistake in the docs.
2921 2007-11-21 Christian Persch <chpe@gnome.org>
2923 * gio/glocalfile.c: (g_local_file_trash):
2924 Convert filenames to UTF-8 for GError.
2925 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2926 as per xdg base dir spec.
2928 2007-11-21 Christian Persch <chpe@gnome.org>
2930 * gio/gdesktopappinfo.c:
2931 Use that g_key_file_to_data cannot fail.
2933 Use stock defines for the key file group and key names.
2936 2007-11-21 Alexander Larsson <alexl@redhat.com>
2939 (copy_stream_with_progress):
2940 Make sure we do a final progress callback with
2941 the full total size.
2943 2007-11-21 Alexander Larsson <alexl@redhat.com>
2946 Export g_file_copy_attributes
2947 Remove padding as its not needed for interfaces
2949 2007-11-20 Alexander Larsson <alexl@redhat.com>
2954 Add G_IO_ERROR_WOULD_MERGE for
2955 copy/move dir on dir with overwrite.
2957 2007-11-20 Alexander Larsson <alexl@redhat.com>
2960 * gio/glocalfileinfo.c:
2961 Add COPY_NAME (this is an optional
2962 non-modified utf8 version of the name) that
2965 2007-11-20 Alexander Larsson <alexl@redhat.com>
2967 * gio/glocalfileenumerator.c:
2968 Report errors as GIOError, not GFileError
2970 2007-11-16 Alexander Larsson <alexl@redhat.com>
2972 * gio/glocalfileoutputstream.c:
2973 * gio/gwin32appinfo.c:
2974 Fix typos in strings.
2975 Patch from Luca Ferretti <elle.uca@libero.it>
2977 2007-11-15 Alexander Larsson <alexl@redhat.com>
2980 Post release version bump
2982 === gio-standalone 0.1.2 ===
2984 2007-11-15 Alexander Larsson <alexl@redhat.com>
2986 * docs/reference/gio/Makefile.am:
2987 Fix up distcheck by removing weird
2993 2007-11-14 Alexander Larsson <alexl@redhat.com>
2995 * gio/gdesktopappinfo.c:
2996 * gio/glocaldirectorymonitor.c:
2998 * gio/glocalfileinfo.c:
2999 * gio/inotify/inotify-sub.c:
3000 * programs/gio-cat.c:
3001 * programs/gio-copy.c:
3002 * programs/gio-info.c:
3003 * programs/gio-ls.c:
3004 * programs/gio-monitor-dir.c:
3005 * programs/gio-monitor-file.c:
3006 * programs/gio-mount.c:
3007 * programs/gio-move.c:
3008 * programs/gio-rm.c:
3009 * programs/gio-save.c:
3010 * programs/gio-trash.c:
3011 Leak fixes from Kjartan Maraas
3013 2007-11-14 Alexander Larsson <alexl@redhat.com>
3015 * gio/fam/fam-helper.c:
3017 * gio/glocalfileinfo.c:
3021 * gio/inotify/inotify-diag.c:
3022 * gio/inotify/inotify-kernel.c:
3023 Various code cleanups from Kjartan Maraas
3025 2007-11-14 Alexander Larsson <alexl@redhat.com>
3027 * gio/gioscheduler.c:
3029 Set up threadpool so that we cache 2 unused
3030 idle threads for at 15 secs. This means we
3031 will reuse thread-local data (like dbus connections)
3034 2007-11-14 Alexander Larsson <alexl@redhat.com>
3036 * gio/fam/fam-helper.c:
3037 * gio/fam/gfamdirectorymonitor.c:
3038 * gio/fam/gfamfilemonitor.c:
3040 * gio/gcontenttype.c:
3041 * gio/gdatainputstream.c:
3042 * gio/gdataoutputstream.c:
3046 * gio/gfileattribute.h:
3047 * gio/gfileenumerator.c:
3049 * gio/ginputstream.c:
3052 * gio/glocalfileinfo.c:
3053 * gio/goutputstream.c:
3054 * gio/gpollfilemonitor.c:
3055 * gio/gsimpleasyncresult.c:
3056 * gio/gunixmounts.c:
3057 * gio/gunixmounts.h:
3058 * gio/inotify/ginotifydirectorymonitor.c:
3059 * gio/inotify/ginotifyfilemonitor.c:
3060 * gio/inotify/inotify-diag.c:
3061 * gio/inotify/inotify-kernel.c:
3062 * gio/inotify/inotify-path.c:
3064 * gio/test-streams.c:
3065 * programs/gio-info.c:
3066 * programs/gio-monitor-dir.c:
3067 * programs/gio-monitor-file.c:
3068 Various code cleanups from Kjartan Maraas
3070 2007-11-13 Alexander Larsson <alexl@redhat.com>
3073 Handle the uri-scheme calls for dummy files
3075 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3077 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3078 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3079 to avoid clash with the C++ keyword.
3081 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3083 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3084 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3086 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3088 * gio/glocaldirectorymonitor.c:
3089 * gio/glocalfilemonitor.c:
3090 * gio/gunionvolumemonitor.c:
3091 Don't use g_once_init_*() for initializations that could fail and
3092 could leave the initialization variable set to 0 but use GOnce.
3093 This prevents a deadlock on the second call when trying to create
3094 a monitor and no monitor type is available. Thanks to Sven Herzberg
3097 2007-11-11 Sven Herzberg <sven@imendio.com>
3099 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3100 #ifdef (make it work on MacOS X again)
3102 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3104 Fixes Changelog for last two commits (sorry guys).
3106 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3108 * gio/gbufferedinputstream.c:
3109 * gio/gdatainputstream.c:
3111 * gio/gfileoutputstream.c:
3112 * gio/gfilterinputstream.c:
3113 * gio/glocalfileinputstream.c:
3116 More consistency fixes in g*stream.c files.
3117 Significant clean of gfile's documentation, filling in of
3118 asynchronous operations documentation.
3120 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3122 * gio/gasyncresult.c:
3123 * gio/gbufferedinputstream.c:
3124 * gio/gbufferedoutputstream.c:
3125 * gio/gcancellable.c:
3126 * gio/gcontenttype.c:
3127 * gio/gdatainputstream.c:
3128 * gio/gdataoutputstream.c:
3129 * gio/gdesktopappinfo.c:
3132 * gio/gfileattribute.c:
3133 * gio/gio/gfileenumerator.c:
3135 * gio/gfileinputstream.c:
3136 * gio/gfilemonitor.c:
3137 * gio/gfileoutputstream.c:
3138 * gio/ginputstream.c:
3140 * gio/gioscheduler.c:
3141 * gio/gloadableicon.c:
3142 * gio/glocalfileoutputstream.c:
3143 * gio/gmemoryoutputstream.c:
3144 * gio/gmountoperation.c:
3145 * gio/goutputstream.c:
3147 * gio/gsimpleasyncresult.c:
3148 * gio/gunionvolumemonitor.c:
3149 * gio/gunixmounts.c:
3150 * gio/gunixvolume.c:
3154 * gio/gvolumemonitor.c:
3155 Updated documentation stubs, working towards consistency and
3158 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3160 * gio/gmemoryoutputstream.c:
3161 * gio/gmemoryoutputstream.h:
3162 Change g_memory_output_stream_set_free_on_close() to
3163 g_memory_output_stream_set_free_data() as this makes more sense and
3164 is more consistent with GMemoryInputStream.
3166 2007-11-07 Alexander Larsson <alexl@redhat.com>
3173 Change how we find the default vfs so that
3174 we can handle a gvfs failing to init
3176 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3178 * gio/gbufferedoutputstream.c:
3179 * gio/gdatainputstream.c:
3180 * gio/gdataoutputstream.c:
3181 * gio/gfileinputstream.c:
3182 * gio/gfileoutputstream.c:
3183 * gio/gfilterinputstream.c:
3184 * gio/gfilteroutputstream.c:
3185 * gio/ginputstream.c:
3186 * gio/gmemoryinputstream.c:
3187 * gio/gmemoryoutputstream.c:
3188 * gio/goutputstream.c:
3189 * gio/gsimpleasyncresult.c:
3190 * gio/gsocketinputstream.c:
3191 * gio/gsocketoutputstream.c:
3192 Add guards to the remaining public functions, add a TODO for
3193 an unimplemented function and remove some useless guards.
3195 2007-11-07 Alexander Larsson <alexl@redhat.com>
3198 Autoconf checks for the various types of
3199 getpwuid_r and getgrgid_r
3201 * gio/glocalfileinfo.c:
3202 Use the autoconf checks from above
3204 2007-11-07 Alexander Larsson <alexl@redhat.com>
3207 (g_local_file_query_filesystem_info):
3208 Some fixes for the statvfs case
3210 2007-11-07 Alexander Larsson <alexl@redhat.com>
3213 (g_local_file_query_filesystem_info):
3214 Pick the "best" of statfs / statvfs for the system
3215 if both are availible.
3217 2007-11-07 Alexander Larsson <alexl@redhat.com>
3219 Solaris fixes from Halton.Huo@Sun.COM:
3226 * gio/glocalfileinfo.c:
3227 Fix for solaris definition of getpwuid_r
3229 * gio/test-streams.c:
3230 Use G_GNUC_PRETTY_FUNCTION
3232 2007-11-07 Alexander Larsson <alexl@redhat.com>
3234 * gio/gdesktopappinfo.c:
3235 (update_default_list):
3236 Remove double semicolon.
3237 Patch from Jens Granseuer
3239 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3241 * docs/reference/gio/gio-sections.txt:
3242 * gio/gbufferedinputstream.c:
3243 * gio/gbufferedinputstream.h:
3244 * gio/gdatainputstream.c:
3245 * gio/gfileenumerator.c:
3246 * gio/gioscheduler.c:
3247 * gio/gunionvolumemonitor.c:
3249 * programs/gio-save.c:
3250 Fix typo: availible -> available. Unfortuntely this breaks API
3251 and ABI as g_buffered_input_stream_get_available() was renamed.
3253 * gio/gunixmounts.c:
3254 * gio/gbufferedinputstream.c:
3255 Add guards for public functions.
3257 2007-11-06 Ross Burton <ross@openedhand.com>
3259 * docs/reference/gio/Makefile.am:
3260 Fix invalid += usage which automake 1.10 doesn't like.
3262 2007-11-06 Alexander Larsson <alexl@redhat.com>
3265 (g_app_launch_context_class_init):
3268 Patch from Ross Burton
3270 2007-11-06 Alexander Larsson <alexl@redhat.com>
3273 Post release version bump
3275 === gio-standalone 0.1.1 ===
3277 2007-11-06 Alexander Larsson <alexl@redhat.com>
3280 Bump version to 0.1.1
3282 * gio/gsimpleasyncresult.c:
3283 (g_simple_async_result_set_from_error):
3284 Remove bogus g_return_if_fail
3286 2007-11-06 Alexander Larsson <alexl@redhat.com>
3289 The name is gio-standalone
3292 Add top src/builddir to includedir
3294 2007-11-06 Alexander Larsson <alexl@redhat.com>
3296 * docs/reference/gio/gio-sections.txt:
3298 * gio/gbufferedinputstream.c:
3299 * gio/gbufferedoutputstream.c:
3300 * gio/gcancellable.c:
3301 * gio/gdatainputstream.h:
3302 * gio/gdataoutputstream.c:
3303 * gio/gdataoutputstream.h:
3304 * gio/gdirectorymonitor.c:
3306 * gio/gfileattribute.c:
3307 * gio/gfileattribute.h:
3308 * gio/gfileenumerator.c:
3309 * gio/gfileenumerator.h:
3312 * gio/gfileinputstream.h:
3313 * gio/gfilemonitor.c:
3314 * gio/gfileoutputstream.h:
3315 * gio/glocalfilemonitor.h:
3316 * gio/glocalfileoutputstream.h:
3317 * gio/gmemoryinputstream.c:
3318 * gio/gmemoryoutputstream.c:
3319 * gio/gmountoperation.c:
3320 * gio/goutputstream.c:
3321 * gio/goutputstream.h:
3323 * gio/gsimpleasyncresult.c:
3324 * gio/gunixmounts.c:
3325 * gio/gunixmounts.h:
3327 * gio/inotify/inotify-helper.c:
3328 Fix gtk-doc warnings
3330 Patch from Ross Burton
3332 2007-11-06 Alexander Larsson <alexl@redhat.com>
3334 * gio/gfilenamecompleter.c:
3335 (g_filename_completer_get_completions):
3338 * gio/gunixvolume.c:
3339 Remove unused function
3341 Patches from Ross Burton
3343 2007-11-06 Alexander Larsson <alexl@redhat.com>
3348 Padding not needed for interfaces
3350 2007-11-06 Alexander Larsson <alexl@redhat.com>
3352 * gio/gfilemonitor.c:
3356 Make giotypes.h an internal file
3359 * gio/gbufferedinputstream.h:
3360 * gio/gbufferedoutputstream.h:
3361 * gio/gcancellable.h:
3362 * gio/gdatainputstream.h:
3363 * gio/gdataoutputstream.h:
3364 * gio/gdirectorymonitor.c:
3365 * gio/gdirectorymonitor.h:
3370 * gio/gfileattribute.h:
3371 * gio/gfileenumerator.h:
3376 * gio/gfilemonitor.c:
3377 * gio/gfilemonitor.h:
3378 * gio/gfilenamecompleter.c:
3379 * gio/gfilenamecompleter.h:
3380 * gio/gfilterinputstream.h:
3381 * gio/gfilteroutputstream.h:
3382 * gio/ginputstream.h:
3383 * gio/gmemoryinputstream.h:
3384 * gio/gmemoryoutputstream.h:
3385 * gio/gmountoperation.c:
3386 * gio/gmountoperation.h:
3387 * gio/gnativevolumemonitor.c:
3388 * gio/goutputstream.h:
3391 * gio/gsimpleasyncresult.c:
3392 * gio/gsimpleasyncresult.h:
3393 * gio/gsocketinputstream.h:
3394 * gio/gsocketoutputstream.h:
3395 * gio/gthemedicon.c:
3396 * gio/gthemedicon.h:
3400 * gio/gvolumemonitor.c:
3401 * gio/gvolumemonitor.h:
3402 Add padding in classes where it seems useful
3403 Don't include giotypes.h from public headers
3404 Move in Class definitions into c file where possible
3409 2007-11-06 Alexander Larsson <alexl@redhat.com>
3411 * docs/reference/gio/gio-docs.xml:
3412 Better structure for API docs
3414 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3417 * gio/gloadableicon.c:
3418 * gio/gsimpleasyncresult.c:
3419 * gio/gthemedicon.c:
3420 Add some more guards to public functions. Only files missing are now
3423 2007-11-06 Alexander Larsson <alexl@redhat.com>
3425 * docs/reference/gio/gio-docs.xml:
3426 Remove old files, add missing ones
3428 2007-11-06 Alexander Larsson <alexl@redhat.com>
3430 * docs/reference/gio/gio-sections.txt:
3433 Hide implementation classes
3435 * gio/gdriveprivate.h:
3436 * gio/gvolumeprivate.h:
3437 Remove non-existing function declarations
3439 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3442 Fix compilation warnings and add guards to the new functions.
3444 * gio/gasyncresult.c:
3446 Add guards to the public functions.
3449 Implement get_path().
3451 2007-11-06 Alexander Larsson <alexl@redhat.com>
3453 * gio/gfilenamecompleter.c:
3454 Make g_filename_completer_get_completions
3455 return char ** instead of GList for
3458 * docs/reference/gio/gio-docs.xml:
3459 * docs/reference/gio/gio-sections.txt:
3461 * gio/gasyncresult.c:
3462 * gio/gbufferedinputstream.c:
3463 * gio/gbufferedoutputstream.c:
3464 * gio/gcancellable.c:
3465 * gio/gcontenttype.c:
3466 * gio/gdatainputstream.c:
3467 * gio/gdataoutputstream.c:
3468 * gio/gdesktopappinfo.c:
3469 * gio/gdirectorymonitor.c:
3473 * gio/gfileattribute.c:
3474 * gio/gfileenumerator.c:
3477 * gio/gfileinputstream.c:
3478 * gio/gfilemonitor.c:
3479 * gio/gfilenamecompleter.c:
3480 * gio/gfilenamecompleter.h:
3481 * gio/gfileoutputstream.c:
3482 * gio/gfilterinputstream.c:
3484 * gio/ginputstream.c:
3486 * gio/gioscheduler.c:
3487 * gio/gloadableicon.c:
3488 * gio/glocaldirectorymonitor.c:
3490 * gio/glocalfileinputstream.c:
3491 * gio/glocalfilemonitor.c:
3492 * gio/glocalfileoutputstream.c:
3494 * gio/gmemoryinputstream.c:
3495 * gio/gmemoryoutputstream.c:
3496 * gio/gmountoperation.c:
3497 * gio/goutputstream.c:
3498 * gio/gpollfilemonitor.c:
3500 * gio/gsimpleasyncresult.c:
3501 * gio/gsocketinputstream.c:
3502 * gio/gsocketoutputstream.c:
3503 * gio/gthemedicon.c:
3504 * gio/gunionvolumemonitor.c:
3506 * gio/gunixmounts.c:
3507 * gio/gunixvolume.c:
3508 * gio/gunixvolumemonitor.c:
3512 * gio/gvolumemonitor.c:
3513 * gio/gwin32appinfo.c:
3514 Add (mostly stub) doc strings to public functions.
3515 Patch from Andrew Walton (awalton@gmail.com)
3517 2007-11-06 Alexander Larsson <alexl@redhat.com>
3519 * gio/gappinfo.[ch]:
3520 Added GAppLaunchContext object and pass that to launch.
3521 This allows simple implementation of both
3522 launch-on-screen and startup notification via a gtk+
3523 subclass of GAppLaunchContext
3525 * gio/gdesktopappinfo.c:
3526 Implement GAppLaunchContext API
3528 * gio/gwin32appinfo.c:
3531 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3533 * gio/gmountoperation.c:
3534 Add some guards to GMountOperation's public functions.
3536 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3540 * gio/gcancellable.c:
3541 * gio/gdirectorymonitor.c:
3543 * gio/gfileenumerator.c:
3544 * gio/gfilemonitor.c:,
3545 * gio/gfilenamecompleter.c:
3548 * gio/gioscheduler.c:
3552 * gio/gvolumemonitor.c:
3553 Add even more guards to various public functions.
3555 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3558 Add guards to the public functions of GAppInfo.
3560 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3562 * gio/gcontenttype.c:
3563 Add some more guards for public functions.
3565 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3567 * gio/fam/fam-module.c:
3568 * gio/fam/gfamdirectorymonitor.c:
3569 * gio/fam/gfamdirectorymonitor.h:
3570 * gio/fam/gfamfilemonitor.c:
3571 * gio/fam/gfamfilemonitor.h:
3572 * gio/inotify/ginotifydirectorymonitor.c:
3573 * gio/inotify/ginotifydirectorymonitor.h:
3574 * gio/inotify/ginotifyfilemonitor.c:
3575 * gio/inotify/ginotifyfilemonitor.h:
3576 Add proper copyright information and remove an unused variable
3577 in the GInotifyFileMonitor constructor.
3579 * gio/gcancellable.c:
3580 Add a guard for a public function and an assertion to prevent
3581 an undefined program state.
3583 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3585 * gio/gfileattribute.c:
3586 Don't run into an assertion if the given attribute value is NULL
3587 in g_file_attribute_value_get_*() but instead return a fallback
3588 value that makes sense in most situations. Passing them a attribute
3589 value with the wrong type will still run into an assertion.
3591 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3593 * gio/gfileattribute.c:
3595 Add even more guards to the public functions. Also fix the refcounting
3596 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3597 let g_file_info_list_attributes() filter the attributes by namespace
3598 instead of simply ignoring the namespace parameter.
3600 2007-11-03 Sven Herzberg <sven@imendio.com>
3602 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3603 (This makes gio work on MacOS X again)
3605 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3608 Build the gio subdirectory before the docs. Otherwise the build will
3611 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3612 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3613 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3614 Add guards to the public functions.
3616 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3618 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3619 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3620 to prevent a compiler warning.
3622 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3623 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3624 return something in the non-void function find_topdir_for().
3626 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3633 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3635 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3636 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3637 * gwin32appinfo.c (g_win32_app_info_launch):
3638 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3639 envp_for_startup_id, g_desktop_app_info_launch,
3640 g_desktop_app_info_launch_uris):
3642 Give an opaque 'startup_id' string instead of 'envp'.
3643 Support empty file lists for launching new windows.
3644 Fix infinite recursion bug when launching URIs.
3646 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3649 Add guard to the new g_file_get_uri_scheme() function.
3651 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3654 Convert a g_return_val_if_fail() to setting the GError instead as
3655 otherwise applications have to verify the parameter before otherwise
3656 and the parameter might come directly from the user.
3658 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3660 * gio/inotify/ginotify*.[ch]:
3661 Add missing copyright information.
3663 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3666 Add guards in the beginning of public functions to check for valid
3667 parameters and fix a bug in copy_stream_with_progress() that could've
3668 caused writing less bytes than reading.
3669 * gio/glocalfileinfo.c:
3670 Check for a NULL parameter and set the GError accordingly then.
3671 * gio/goutputstream.c:
3672 Fix the same bug as in gfile.c that could've caused writing less bytes
3673 than reading in g_output_stream_real_splice().
3675 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3678 Use the correct gvolumeprivate.h naming
3680 2007-11-01 Christian Kellner <gicmo@gnome.org>
3683 Remove leftover "$(daemon_sources)" entry.
3685 2007-11-01 Christian Kellner <gicmo@gnome.org>
3690 Add copyright information to source files.
3692 2007-11-01 Alexander Larsson <alexl@redhat.com>
3696 Add g_file_get_uri_scheme
3698 2007-11-01 Alexander Larsson <alexl@redhat.com>
3701 * gio/gdesktopappinfo.c:
3702 * gio/gwin32appinfo.c:
3703 Add g_app_info_get_default_for_uri_scheme.
3705 2007-11-01 Alexander Larsson <alexl@redhat.com>
3708 Correct filename for gdriveprivate.h
3710 2007-10-31 Alexander Larsson <alexl@redhat.com>
3713 Rename id:value to id:file
3716 * gio/glocalfileinfo.c:
3719 2007-10-31 Alexander Larsson <alexl@redhat.com>
3721 * gio/gunixvolume.c:
3723 Remove g_volume_get_platform_id, as thats not
3724 needed with the simpler union volume monitor
3726 2007-10-31 Alexander Larsson <alexl@redhat.com>
3729 * gio/guniondrive.[ch]: Removed.
3730 * gio/gunionvolume.[ch]: Removed.
3731 Remove GUnionDrive/Volume
3733 * gio/gunionvolumemonitor.c:
3734 Simplify union volume monitor, now we
3735 only have one native volume monitor and
3736 we use the actual volumes/drives from the
3737 child monitors instead of wrapping them
3739 * gio/gnativevolumemonitor.[ch]:
3740 Base class for native volume monitors.
3741 Includes priority and get_volume_for_mountpoint
3744 Add g_file_find_enclosing_volume
3747 Remove volume name fs attribute
3748 Add readonly fs attribute
3751 Implement readonly attribute
3752 remove volume name attribute
3753 Implement find_enclosing volume
3755 * gio/gunixmounts.c:
3756 Add a volume for "/".
3758 * gio/gunixvolume.[ch]:
3759 Set better name for /
3761 * gio/gunixvolumemonitor.[ch]:
3762 Derive from GNativeVolumeMonitor
3763 Implement get_volume_for_mountpoint
3766 GVolume typedef moved to gfile.h
3768 * gio/gvolumeprivate.h:
3769 Add g_volume_get_for_mount_path
3771 2007-10-31 Alexander Larsson <alexl@redhat.com>
3773 * gio/gunixmounts.[ch]:
3774 Add cache info to unix mount listers
3775 Make getmntent use threadsafe
3776 Add is_system_internal attribute for GUnixMount
3778 * gio/gunixvolume.c:
3779 (g_unix_volume_new):
3780 Use is_system_internal instead of own code
3782 * gio/glocaldirectorymonitor.c:
3783 * gio/gunixvolumemonitor.c:
3784 Update to new gunixmounts API
3789 2007-10-30 Alexander Larsson <alexl@redhat.com>
3792 Add volume name fsinfo attribute
3795 Read volume name info
3797 * gio/gunionvolumemonitor.c:
3798 Fix infinite loops when finalizing a union volume monitor
3800 2007-10-30 Alexander Larsson <alexl@redhat.com>
3802 * gio/goutputstream.[ch]:
3803 Add splice() with default implementation
3805 * gio/gsocketoutputstream.c:
3806 (g_socket_output_stream_write):
3807 Return error on cancellation correctly.
3809 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3811 * gio/glocalfile.c (g_local_file_trash):
3812 Do not leak a string.
3814 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3816 * gio/gfile.c (g_file_load_contents):
3817 Unref the stream after closing it.
3819 2007-10-25 Alexander Larsson <alexl@redhat.com>
3821 * gio/gioscheduler.h:
3824 2007-10-25 Alexander Larsson <alexl@redhat.com>
3828 Add g_file_has_uri_scheme and implement for local files
3830 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3832 * gio/gdesktopappinfo.c: do not leak a string.
3834 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3836 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3837 (g_local_directory_monitor_new):
3838 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3839 (g_local_file_monitor_new):
3840 Only look for the monitor type that should be used the first time
3841 and use g_qsort_with_data() instead of our own bubble sort
3844 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3847 * gio/fam/Makefile.am:
3848 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3849 * gio/fam/fam-helper.h:
3850 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3851 * gio/fam/gfamdirectorymonitor.c:
3852 * gio/fam/gfamdirectorymonitor.h:
3853 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3854 * gio/fam/gfamfilemonitor.h:
3855 * gio/glocaldirectorymonitor.c:
3856 * gio/glocaldirectorymonitor.h:
3857 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3858 * gio/glocalfilemonitor.h:
3859 * gio/inotify/Makefile.am:
3860 * gio/inotify/ginotifydirectorymonitor.c:
3861 * gio/inotify/ginotifydirectorymonitor.h:
3862 * gio/inotify/ginotifyfilemonitor.c:
3863 * gio/inotify/ginotifyfilemonitor.h:
3864 Implement the FAM and Inotify monitors as
3865 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3866 their own GIO module. GLocal(Directory|File)Monitor will use the
3867 monitor with the highest rank that is supported on that machine.
3869 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3872 Change GIO module dir to $(libdir)/gio/modules and change
3873 the log domain from GVFS to GIO. Also only export symbols starting
3874 with g_ in the resulting library.
3875 * gio/test-streams.c: (main):
3876 Set log handler for the GIO log domain.
3878 2007-10-22 Alexander Larsson <alexl@redhat.com>
3880 * gio/gfilenamecompleter.[ch]:
3881 Add g_filename_completer_set_dirs_only
3883 2007-10-22 Alexander Larsson <alexl@redhat.com>
3886 * gio/gurifuncs.[ch]:
3887 Add some simple URI helpers
3889 * gio/gfilenamecompleter.[ch]:
3890 Added object for filename (parse name actually) completion
3893 Handle ~ in parse names
3895 2007-10-17 Alexander Larsson <alexl@redhat.com>
3898 * gio/glocalfileinfo.c:
3899 Add and implement id:value attribute
3901 2007-10-17 Alexander Larsson <alexl@redhat.com>
3904 * gio/guniondrive.c:
3906 Add and implement g_drive_has_volumes
3908 2007-10-17 Alexander Larsson <alexl@redhat.com>
3911 * gio/glocalfileinfo.[ch]:
3912 Add unix:is_mountpoint and implement for local files
3914 2007-10-16 Alexander Larsson <alexl@redhat.com>
3916 * gio/gunionvolumemonitor.c:
3917 (g_union_volume_monitor_init):
3918 Fix up the unix type getting so that it works with gcc
3920 2007-10-12 Alexander Larsson <alexl@redhat.com>
3923 * gio/glocalfileinfo.c:
3924 Add thumbnail:failed to file info
3926 2007-10-12 Richard Hult <richard@imendio.com>
3928 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3929 optimizing away the get_type call (happens with some gcc versions,
3930 like the one shipped with OS X 10.4).
3932 2007-10-12 Alexander Larsson <alexl@redhat.com>
3934 * gio/glocalfileinfo.c:
3935 (_g_local_file_info_set_attribute):
3936 Fix build if not HAVE_XATTR
3937 Patch from Milosz Derezynski <internalerror@gmail.com>
3939 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3941 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3942 around for review, otherwise I would have asked you before
3945 2007-10-11 Alexander Larsson <alexl@redhat.com>
3948 Add thumbnail:path attribute
3950 * gio/glocalfileinfo.c:
3951 Implement thumbnail:path for local files
3953 2007-10-11 Alexander Larsson <alexl@redhat.com>
3955 * gio/glocalfileinfo.c:
3956 (_g_local_file_info_get):
3957 Avoid duplicate icon names
3959 2007-10-11 Alexander Larsson <alexl@redhat.com>
3961 * gio/gthemedicon.[ch]:
3962 Change g_themed_icon_get_names return type to const
3964 2007-10-10 Alexander Larsson <alexl@redhat.com>
3966 * gio/glocalfileinfo.c:
3967 Don't reference freed memory
3969 2007-10-10 Alexander Larsson <alexl@redhat.com>
3971 * gio/gfileattribute.c:
3974 * gio/glocalfileinfo.c:
3977 2007-10-10 Alexander Larsson <alexl@redhat.com>
3980 Check for NULL icons
3982 * gio/gfileattribute.c:
3983 Don't dup when getting objects (same as for string attributes)
3985 * gio/gicon.c (g_icon_equal):
3986 Safely handle NULLs in equal
3988 2007-10-10 Alexander Larsson <alexl@redhat.com>
3991 Fix c++ compilation issues
3992 Patch from Milosz Derezynski <internalerror@gmail.com>
3994 2007-10-10 Alexander Larsson <alexl@redhat.com>
3996 * programs/gio-monitor-dir.c:
3997 Don't crash if dir monitor not supported.
3999 2007-10-09 Alexander Larsson <alexl@redhat.com>
4002 Add missing G_END_DECLS
4004 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4006 * gio/gfile.c: (g_file_set_display_name),
4007 (g_file_query_settable_attributes),
4008 (g_file_query_writable_namespaces):
4009 Return NULL not FALSE on errors as the return type is a pointer.
4011 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4013 * gio/glocalfile.c: (g_local_file_monitor_file):
4014 Don't call monitor_file on the default interface vtable (which
4015 is NULL) but simply return NULL. The caller, GFile, will create a
4016 polling monitor if NULL is returned.
4018 2007-10-09 Alexander Larsson <alexl@redhat.com>
4022 * gio-unix-2.0.pc.in:
4023 Add gio-unix-2.0.pc if OS_UNIX
4026 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4028 2007-10-09 Alexander Larsson <alexl@redhat.com>
4030 * gio/gunixmounts.[ch]:
4031 Make unix mount monitoring API sane.
4032 Now its just a object with mounts_changed
4033 and mountpoints_changed signals.
4035 * gio/glocaldirectorymonitor.c:
4036 * gio/gunixvolumemonitor.c:
4037 Use new mount monitor api
4039 2007-10-09 Alexander Larsson <alexl@redhat.com>
4041 * gio/gunixmounts.[ch]:
4042 Move guess type into one call for mounts and one for mountpoints
4045 * gio/gunixvolume.c:
4048 2007-10-09 Alexander Larsson <alexl@redhat.com>
4050 * gio/gunixmounts.[ch]:
4051 Remove _ prefix in preparation to make this semi-public
4052 Hide implementation of structs
4054 * gio/glocaldirectorymonitor.c:
4056 * gio/gunixvolume.c:
4057 * gio/gunixvolumemonitor.c:
4058 Update for above API changes
4060 2007-10-08 Alexander Larsson <alexl@redhat.com>
4063 Better polling fallback. This also handles the case where we have
4064 a monitor_file implementation, but it fails.
4066 2007-10-08 Alexander Larsson <alexl@redhat.com>
4070 * gio/gunixmounts.c:
4071 * programs/gio-monitor-dir.c:
4072 * programs/gio-monitor-file.c:
4073 Added cancellable to file monitoring calls.
4074 These are really sync calls and need this.
4076 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4078 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4079 (g_local_vfs_class_init):
4080 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4081 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4083 2007-10-05 Alexander Larsson <alexl@redhat.com>
4085 * gio/gdirectorymonitorprivate.h:
4086 * gio/gfilemonitorprivate.h:
4087 * gio/gdirectorymonitor.h:
4088 * gio/gfilemonitor.h:
4089 Remove *private.h and move to the public API, so that
4090 we can do implementations outside gio (such as in gvfs)
4092 * gio/gdirectorymonitor.c:
4093 * gio/gfilemonitor.c:
4094 * gio/glocaldirectorymonitor.c:
4095 * gio/gpollfilemonitor.c:
4096 * gio/inotify/inotify-helper.c:
4097 * gio/fam/fam-helper.c:
4098 Update to the new header names
4100 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4102 * gio/gdirectorymonitor.c:
4103 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4106 2007-10-04 Alexander Larsson <alexl@redhat.com>
4108 * gio/glocalfileinfo.c (get_access_rights):
4109 Set CAN_TRASH when we can move the file.
4110 We should really also check for a parent trash dir.
4112 2007-10-04 Alexander Larsson <alexl@redhat.com>
4114 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4115 Add can_trash access attribute
4117 2007-10-04 Alexander Larsson <alexl@redhat.com>
4120 (g_local_file_trash):
4121 Create info file first. This is per-spec and allows
4122 us to actually trash directories.
4124 2007-10-02 Alexander Larsson <alexl@redhat.com>
4126 * gio/gdesktopappinfo.c:
4127 Implement the new mime support code.
4128 Always set app as handling mimetype when being set as default for it
4130 2007-10-01 Alexander Larsson <alexl@redhat.com>
4132 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4133 Fix up check for xattrs:
4135 2007-10-01 Alexander Larsson <alexl@redhat.com>
4138 (g_app_info_set_as_default_for_extension):
4139 (g_app_info_add_supports_type):
4140 (g_app_info_can_remove_supports_type):
4141 (g_app_info_remove_supports_type):
4142 Make these fail nicely if not implemented
4144 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4146 * gio/glocalfileoutputstream.c:
4147 * gio/glocalfileoutputstream.h:
4152 * programs/gio-save.c:
4153 Add a GFileCreateFlags argument to operations that can create
4156 2007-10-01 Alexander Larsson <alexl@redhat.com>
4158 * gio/gappinfo.[ch]:
4159 * gio/gdesktopappinfo.c:
4160 Add more (stubbed out) mime API needed for nautilus
4162 2007-10-01 Alexander Larsson <alexl@redhat.com>
4165 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4166 Add g_app_info_set_as_default_for_extension.
4168 * gio/gdesktopappinfo.c:
4169 Dummy for g_app_info_set_as_default_for_extension
4170 Support flags in g_app_info_create_from_commandline
4172 * gio/gwin32appinfo.c:
4174 Update for API changes
4176 * gio/gthemedicon.c:
4177 Properly NULL-terminate list of icon names
4179 2007-09-28 Alexander Larsson <alexl@redhat.com>
4181 * gio/gloadableicon.h:
4182 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4184 2007-09-28 Alexander Larsson <alexl@redhat.com>
4187 Install headers in $includedir/gio-standalone/
4189 * gio-2.0.pc.in: Added.
4190 * gio-standalone.pc.in: Removed.
4193 Renamed pkg-config file to match glib (for future move)
4194 Update to the new include dir
4197 Add more TODO comments
4199 2007-09-28 Alexander Larsson <alexl@redhat.com>
4201 * gio/gdesktopappinfo.[ch]:
4202 Expose new_from_filename
4203 Add getter for is_hidden and handle it better
4205 2007-09-28 Alexander Larsson <alexl@redhat.com>
4207 * gio/gfileinfo.[ch]:
4208 Rename g_file_size_format_for_display to
4209 g_format_file_size_for_display.
4210 Now it doesn't have the g_file prefix, so we
4211 can later move it to glib.
4213 2007-09-28 Alexander Larsson <alexl@redhat.com>
4215 * gio/gappinfo.[ch]:
4216 Add g_app_info_get_id and g_app_info_get_executable.
4217 Make all getters non-reffing
4218 Make g_app_info_launch take GFile arguments.
4219 Add must_support_uris argument to g_app_info_get_default_for_type.
4221 * gio/gwin32appinfo.c:
4222 Update to GAppInfo api changes
4224 * gio/gdesktopappinfo.c:
4225 Update to GAppInfo api changes
4226 Implement supports_xdg_startup_notify
4228 * gio/gfileicon.c (g_file_icon_get_file):
4229 Make getter non-reffing.
4234 2007-09-27 Alexander Larsson <alexl@redhat.com>
4236 * gio/gfileinfo.[ch]:
4237 Add g_file_size_format_for_display helper
4239 2007-09-27 Alexander Larsson <alexl@redhat.com>
4241 * gio/glocalfileinfo.c:
4242 Set UNIX_GID from gid, not from uid
4244 2007-09-27 Alexander Larsson <alexl@redhat.com>
4247 Add g_file_set_attributes_async
4249 2007-09-27 Alexander Larsson <alexl@redhat.com>
4251 * gio/glocalfile.c (g_local_file_set_display_name):
4252 Fix set_display_name to actually rename to the right place.
4253 Use lstat to look for existing files so we don't overwrite
4256 2007-09-26 Alexander Larsson <alexl@redhat.com>
4259 Add g_file_set_display_name_async()
4261 2007-09-26 Alexander Larsson <alexl@redhat.com>
4264 Add load_partial_contents async calls
4267 Make internal function static
4269 2007-09-26 Alexander Larsson <alexl@redhat.com>
4271 * gio/glocalfileinfo.c:
4272 Correctly detect broken symlinks
4274 2007-09-26 Alexander Larsson <alexl@redhat.com>
4276 * gio/gcancellable.c (g_cancellable_cancel):
4277 Allow cancel on NULL cancellable
4279 2007-09-25 Alexander Larsson <alexl@redhat.com>
4281 * gio/gsimpleasyncresult.c:
4282 Don't allocate g_error manually.
4283 Fixes g_slice/g_new mixup crash
4285 2007-09-25 Alexander Larsson <alexl@redhat.com>
4287 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4288 Actually set active_backend.
4289 This means the monitor will be cancelled correctly.
4291 2007-09-25 Alexander Larsson <alexl@redhat.com>
4293 * gio/gdirectorymonitor.c:
4294 Set timeout to NULL when destroying
4296 2007-09-25 Alexander Larsson <alexl@redhat.com>
4299 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4300 that is a better description of the error.
4302 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4304 * gio/gvfs.c: (g_vfs_get_local):
4305 Make the local vfs variable static. The same instance should
4308 2007-09-24 Alexander Larsson <alexl@redhat.com>
4310 * gio/glocalfileinfo.c:
4311 Pass in actual length read into sniffer, not the length
4314 2007-09-21 Alexander Larsson <alexl@redhat.com>
4316 * gio/gfileenumerator.c:
4319 * gio/gfileinputstream.c:
4320 * gio/gfileoutputstream.c:
4321 * gio/ginputstream.c:
4322 * gio/goutputstream.c:
4323 Don't crash if async callbacks are NULL
4325 2007-09-20 Alexander Larsson <alexl@redhat.com>
4328 Add async enumerate_children method and default
4331 2007-09-20 Alexander Larsson <alexl@redhat.com>
4334 Add g_file_contains_file & g_file_get_relative_path, since they
4335 were needed for nautilus.
4336 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4341 Implement new methods
4343 2007-09-17 Alexander Larsson <alexl@redhat.com>
4346 * gio/gfileinputstream.[ch]:
4347 * gio/gfileoutputstream.[ch]:
4349 * gio/glocalfileenumerator.[ch]:
4350 * gio/glocalfileinfo.[ch]:
4351 * gio/glocalfileinputstream.c:
4352 * gio/glocalfileoutputstream.c:
4353 * gio/gpollfilemonitor.c:
4354 * programs/gio-copy.c:
4355 * programs/gio-info.c:
4356 * programs/gio-move.c:
4357 Rename get_file_info to query_info() to make it clearer
4358 that these are not simple getters, but do i/o.
4360 2007-09-17 Alexander Larsson <alexl@redhat.com>
4362 * gio/gdatainputstream.[ch]:
4363 * gio/test-streams.c:
4364 Use _read_XXX instead of _get_XXX for the i/o calls
4367 2007-09-17 Alexander Larsson <alexl@redhat.com>
4370 Added needed stuff to TODO comment
4372 2007-09-17 Alexander Larsson <alexl@redhat.com>
4374 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4375 Don't error out removing the backup copy if it doesn't
4378 2007-09-14 Alexander Larsson <alexl@redhat.com>
4380 * programs/Makefile.am:
4381 * programs/gvfs-*.c:
4383 Renamed apps from gvfs-xxx to gio-xxx.
4385 2007-09-14 Alexander Larsson <alexl@redhat.com>
4388 * gio/gfileoutputstream.[ch]:
4389 * gio/glocalfileoutputstream.c:
4390 * programs/gvfs-save.c:
4391 g_file_output_stream_get_etag doesn't do i/o, so remove
4392 cancellation and error.
4394 2007-09-14 Alexander Larsson <alexl@redhat.com>
4397 Add new_etag output to replace_contents functions
4399 2007-09-14 Alexander Larsson <alexl@redhat.com>
4401 * gio/gfileoutputstream.[ch]:
4402 Add async get_file_info and default implementation
4404 2007-09-14 Alexander Larsson <alexl@redhat.com>
4406 * gio/gfileinputstream.c:
4407 Implement fallback wrapper for async get_file_info
4409 2007-09-14 Alexander Larsson <alexl@redhat.com>
4412 Add etag out argument to load_contents
4417 2007-09-14 Alexander Larsson <alexl@redhat.com>
4419 * gio/gcontenttype.c (looks_like_text):
4420 Whitespace like tab, cr and lf do not make the
4423 2007-09-14 Alexander Larsson <alexl@redhat.com>
4425 * gio/gfileinputstream.[ch]:
4426 Add async get_file_info.
4428 2007-09-13 Alexander Larsson <alexl@redhat.com>
4430 * gio/goutputstream.c (g_output_stream_write_all):
4431 Allow NULL for bytes_written
4433 2007-09-13 Alexander Larsson <alexl@redhat.com>
4435 * gio/gmemoryinputstream.[ch]:
4436 Add accessors for data
4438 2007-09-13 Alexander Larsson <alexl@redhat.com>
4440 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4441 Don't crash if length is NULL