1 2008-07-01 Cody Russell <bratsche@gnome.org>
5 * gio/gwin32volumemonitor.c:
6 * gio/gwin32mount.c: Fixed some include problems.
8 2008-07-01 Cody Russell <bratsche@gnome.org>
12 Moved all relevant typedefs into these files.
15 Updated wrt added files.
17 Split types into separate file for easier maintainership. (#538564)
19 2008-06-30 Matthias Clasen <mclasen@redhat.com>
21 Bug 540331 – g_file_append_to () documentation: can return NULL
23 * gfile.c (g_file_append_to): Clarify docs.
26 2008-06-30 Matthias Clasen <mclasen@redhat.com>
28 Bug 539090 – g_content_type_from_mime_type() should unalias
30 * gcontentype.c (g_content_type_from_mime_type): Unalias.
31 Patch by Markus Bergman
33 2008-06-30 Matthias Clasen <mclasen@redhat.com>
35 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
38 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
39 on ppc and alpha. Reported by Mart Raudsepp
41 2008-06-29 Matthias Clasen <mclasen@redhat.com>
44 * tests/memory-output-stream.c: Add some tests for
47 2008-06-29 Matthias Clasen <mclasen@redhat.com>
49 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
52 * gmemoryoutputstream.c (array_resize): Handle truncation to
53 zero correctly. Reported by Akira Tagoh
55 2008-06-29 Matthias Clasen <mclasen@redhat.com>
57 * gmemoryoutputstream.c: Trivial doc fixes
59 2008-06-29 Matthias Clasen <mclasen@redhat.com>
61 Bug 540802 – g_list_prepend doesn't concat lists
63 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
64 one list to another. Pointed out by Jan Arne Petersen
66 2008-06-28 Michael Natterer <mitch@imendio.com>
68 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
70 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
72 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
73 to avoid problems with partial icon themes.
75 2008-06-17 Hans Breuer <hans@breuer.org>
77 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
78 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
79 access again on win32, see bug #538127
80 * giomodule.c : ensure GWin32VolumeMonitor is registered
81 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
82 * Makefile.am makefile.msc : updated
84 2008-06-16 Hans Breuer <hans@breuer.org>
86 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
87 and initialization in one step avoids c99ism
89 2008-06-16 Christian Persch <chpe@gnome.org>
92 * gio/gbufferedinputstream.c
94 * gio/gdatainputstream.c
95 * gio/gdesktopappinfo.c
97 * gio/gfileenumerator.c
98 * gio/gfileinputstream.c
99 * gio/gfileoutputstream.c
101 * gio/glocaldirectorymonitor.c
103 * gio/glocalfileenumerator.c
104 * gio/glocalfileinfo.c
105 * gio/glocalfilemonitor.c
106 * gio/glocalfileoutputstream.c
107 * gio/gmemoryinputstream.c
108 * gio/gmemoryoutputstream.c
109 * gio/goutputstream.c
110 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
113 2008-06-16 Tor Lillqvist <tml@novell.com>
115 Bug 538362 - Get Win32 icons back in the file chooser
117 * gcontenttype.c (g_content_type_get_icon): Look up the icon
118 corresponding to a file extension in the Registry. Patch by Hans
120 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
122 2008-06-16 Tor Lillqvist <tml@novell.com>
124 Patches by Hans Breuer:
126 * glocalfile.c (is_xp_or_later): Handle compiling against older
127 SDK headers with missing VerifyVersionInfo(). Conditioned on
128 _MSC_VER, but should probably use some better test.
129 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
130 uninitialised statfs_result variable on Win32.
132 2008-06-16 Michael Natterer <mitch@imendio.com>
134 * *.c: chain up unconditionally in finalize() and dispose(). Also
135 don't dereference these function pointers when calling them since
136 that has no meaning at all.
138 2008-06-16 Ross Burton <ross@burtonini.com>
141 Remove check for dispose implementation as it annoys Emmanuele.
143 2008-06-16 Ross Burton <ross@burtonini.com>
145 Bug 536252 – GFileEnumerator should allow access to the containing
151 Add g_file_enumerator_get_container() and a container writeable
152 construct-only property. Also shuffle around typedefs to make it
155 * glocalfileenumerator.c:
156 * glocalfileenumerator.h:
158 Instead of a string filename take a GFile in the constructor and
159 use it to set the container property.
164 2008-06-16 Matthias Clasen <mclasen@redhat.com>
166 * gfile.c: Make includes more uniform
168 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
170 * tests/live-g-file.c (sample_struct):
171 Use less fancy unicode filenames, so the test doesn't fail
172 on Mac OS X (#531476).
174 2008-06-12 Matthias Clasen <mclasen@redhat.com>
176 * === Released 2.17.2 ===
178 2008-06-12 Matthias Clasen <mclasen@redhat.com>
180 * === Released 2.17.1 ===
182 2008-06-11 A. Walton <awalton@gnome.org>
184 * tests/g-file.c (test_g_file_new_null):
185 Fix broken test case.
187 2008-06-11 Matthias Clasen <mclasen@redhat.com>
189 * pltcheck.sh: We use g_clear_error now.
191 2008-06-11 Matthias Clasen <mclasen@redhat.com>
193 * glocalfile.c (g_local_file_enumerate_children): Revert
194 an unintended change.
196 2008-06-11 Matthias Clasen <mclasen@redhat.com>
198 * gfile.c (g_file_replace_contents): Don't unref before the last use.
200 2008-06-10 Matthias Clasen <mclasen@redhat.com>
202 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
205 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
206 as icon for the desktop directory, also make user-home and
207 user-desktop the preferred icons.
209 2008-06-10 Matthias Clasen <mclasen@redhat.com>
212 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
213 to add a name to the front of the list.
215 2008-06-10 Matthias Clasen <mclasen@redhat.com>
217 Bug 537392 – Additional colon in xattr name
219 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
220 too. Reported by Alessandro Morandi
222 2008-06-10 Matthias Clasen <mclasen@redhat.com>
224 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
227 * glocalfile.c (get_fs_type): Add afs and autofs.
228 Patch by Danny Baumann.
230 2008-06-10 Matthias Clasen <mclasen@redhat.com>
232 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
234 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
235 is no parent. (Owen Taylor, patch by Christian Neumair)
237 2008-06-10 Paolo Borelli <pborelli@katamail.com>
239 * gfile.c (g_file_replace_contents): do not leak the output stream.
241 2008-06-10 Michael Natterer <mitch@imendio.com>
243 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
244 uninitialized memory as array index.
246 2008-06-10 Tor Lillqvist <tml@novell.com>
248 * gcontenttype.c (g_content_type_can_be_executable)
249 (g_content_type_get_icon) [Win32]: Add TODO comments.
251 2008-06-09 Matthias Clasen <mclasen@redhat.com>
253 * xdgmime/Makefile.am: Fix the build
255 2008-06-09 Matthias Clasen <mclasen@redhat.com>
257 * gcontenttype.c (g_content_type_get_icon): Use icons specified
258 in the shared mime database, if available.
260 * xdgmime/*: Sync with upstream. This brings support for
261 glob weights, generic icons, and changes the cache format to
264 2008-05-28 Michael Natterer <mitch@imendio.com>
266 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
267 the global CPPFLAGS now.
269 * tests/data-input-stream.c
270 * tests/data-output-stream.c
271 * tests/g-file-info.c
273 * tests/live-g-file.c
274 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
276 2008-05-27 Matthias Clasen <mclasen@redhat.com>
278 * === Released 2.17.0 ===
280 * tests/live-g-file.c: Clean up after the tests, so make distcheck
281 doesn't complain about leftover files.
283 2008-05-27 simon.zheng <simon.zheng@sun.com>
285 * glocalfile.c: (g_local_file_query_filesystem_info):
286 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
288 2008-05-26 Michael Natterer <mitch@imendio.com>
290 * gmemoryoutputstream.h: declare
291 g_memory_output_stream_get_data_size().
293 2008-05-26 Matthias Clasen <mclasen@redhat.com>
295 * tests/*: Make tests work
297 2008-05-26 Matthias Clasen <mclasen@redhat.com>
299 * gio.symbols: Add g_memory_output_stream_get_data_size.
301 2008-05-25 Ross Burton <ross@burtonini.com>
304 Fix typo in error message (#534764).
306 2008-05-25 Ross Burton <ross@burtonini.com>
309 Fix circular dependency loop for gioenumtypes.h (#534759).
311 2008-05-19 Hans Breuer <hans@breuer.org>
313 * Makefile.am : EXTRA_DIST += makefile.msc
315 2008-05-17 Matthias Clasen <mclasen@redhat.com>
318 * gcontenttype.c: (g_content_type_from_mime_type):
319 New function to create a content type from a mime type. (#527175,
322 2008-05-17 Matthias Clasen <mclasen@redhat.com>
324 Bug 532965 – Should not return filesystem::free for certain file systems
326 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
327 free space for ncpfs.
329 2008-05-17 Matthias Clasen <mclasen@redhat.com>
331 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
333 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
334 st_dev might be zero.
336 2008-05-16 Tor Lillqvist <tml@novell.com>
338 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
339 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
341 2008-05-13 Bastien Nocera <hadess@hadess.net>
343 * gfile.c (has_valid_scheme): A URI scheme must start with a
344 letter, even if later more characters are allowed (#532852)
346 2008-05-05 Michael Natterer <mitch@imendio.com>
348 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
349 code from being checked in that breaks the build of applications
350 which use G_DISABLE_SINGLE_INCLUDES.
352 * makegioalias.pl: make the alias file include "glib.h" instead of
355 * gio.symbols: whitespace change to force regeneration of the
356 alias file after above script change.
358 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
360 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
362 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
364 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
366 2008-04-28 David Zeuthen <davidz@redhat.com>
368 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
369 displaying mounts in a subdirectory not accessible to the
372 2008-04-22 Michael Natterer <mitch@imendio.com>
374 * Makefile.am: fix library versioning (it was 0.0.0).
376 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
378 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
379 Default disable all loggings.
380 * fen/fen-kernel.c: (printevent), (port_add_kevent),
381 (port_fetch_event_cb): Fixed two macro nits.
383 2008-04-16 Matthias Clasen <mclasen@redhat.com>
385 * xdgmime/xdgmime.c: Rework the timestamp checking code
386 to protect against duplicate directories in XDG_DATA_DIRS.
387 Fixes fd.o bug 12513, reported by Joe Shaw.
389 2008-04-16 Matthias Clasen <mclasen@redhat.com>
391 Partically revert the last commit after realizing that
392 xdg_mime_media_type_equal doesn't have to init at all.
395 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
397 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
399 2008-04-16 Matthias Clasen <mclasen@redhat.com>
401 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
402 reported by Joe Shaw and Federico Mena Quintero.
404 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
405 (xdg_mime_media_type_equal): Turn into a wrapper around the
408 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
409 functions throughout.
411 2008-04-16 Michael Meeks <michael.meeks@novell.com>
413 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
414 tolerate an empty TryExec= line without failing; nautilus used
415 to create launchers with these in previous versions. Fixes #528433
417 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
419 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
420 after name. Fixes #527132.
422 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
424 * gfile.c: (g_file_replace):
427 2008-04-07 Matthias Clasen <mclasen@redhat.com>
429 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
431 * gfile.c (file_copy_fallback): Fix the argument order. Patch
432 by Christian Kellner.
434 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
436 * gunixmounts.c: (g_unix_mount_guess_should_display):
437 Don't list the user directory as a mount, fix potential issue
438 when other users have a similar naming and don't special case the
439 gvfs mounts there since that's not required (#525866)
441 2008-03-31 Alexander Larsson <alexl@redhat.com>
443 * glocalfile.c (get_parent):
446 2008-03-31 A. Walton <awalton@svn.gnome.org>
448 * gfile.c (g_file_query_file_type):
449 Always return a GFileType enum value (#520715).
451 2008-03-31 Alexander Larsson <alexl@redhat.com>
453 * glocalfileenumerator.c:
454 Read readdir() info in chunks (of 1000) and sort
455 the chunks by inode before stat:ing.
456 This is a 20% performance increase in testing
457 gvfs-ls on /usr/bin with cold cache.
459 2008-03-31 Alexander Larsson <alexl@redhat.com>
461 * gmemoryoutputstream.c:
462 Clarify docs for g_memory_output_stream_get_size.
463 Add g_memory_output_stream_get_data_size.
465 2008-03-30 Matthias Clasen <mclasen@redhat.com>
469 * gfile.h: Add g_file_query_file_type convenience function
470 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
472 2008-03-30 Matthias Clasen <mclasen@redhat.com>
475 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
477 2008-03-28 A. Walton <awalton@svn.gnome.org>
479 * giomodule.c (_g_io_modules_ensure_loaded):
480 Adds GIO_EXTRA_MODULES environment variable support, closing bug
483 2008-03-28 Alexander Larsson <alexl@redhat.com>
486 (copy_stream_with_progress):
489 2008-03-28 Alexander Larsson <alexl@redhat.com>
492 (copy_stream_with_progress):
493 (file_copy_fallback):
494 Fallback to g_file_query_info for source size
495 if g_file_input_stream_query_info fails. (#524579)
497 2008-03-28 Alexander Larsson <alexl@redhat.com>
499 * glocalfile.c (g_local_file_move):
500 Reuse old string instead of adding new one.
502 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
504 * fen/*.[hc]: still copyright issue. I hate copyright.
506 2008-03-27 Alexander Larsson <alexl@redhat.com>
508 * glocalfile.c (g_local_file_move):
509 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
510 file over directory. This is according to the docs and what the move via
511 copy+remove fallback does.
513 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
515 * fen/*.[hc]: Updated copyright.
517 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
519 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
521 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
523 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
524 not emit attribute changed events when optimizing changed events.
525 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
528 2008-03-19 Matthias Clasen <mclasen@redhat.com>
530 * gmountoperation.[hc]: Small documentation additions
532 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
534 * gunixmounts.c: (guess_mount_type):
535 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
537 2008-03-19 Alexander Larsson <alexl@redhat.com>
540 (copy_stream_with_progress):
541 Bump block side for copy to 64k to minimize
542 overhead for low latency links. (#523015)
544 2008-03-16 Tor Lillqvist <tml@novell.com>
546 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
547 depend on gio.def on Windows.
549 2008-03-12 David Zeuthen <davidz@redhat.com>
553 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
555 2008-03-14 Alexander Larsson <alexl@redhat.com>
559 Avoid redudant tests (#521851)
560 Patch from Josselin Mouette
562 2008-03-14 Alexander Larsson <alexl@redhat.com>
565 (g_file_monitor_is_cancelled):
566 Fix C89 issue (#521672)
567 Patch from Jens Granseuer
569 2008-03-14 Alexander Larsson <alexl@redhat.com>
571 * fam/fam-helper.[ch]:
573 Shut down fam (including removing fam GSource) when
574 module is unloaded (#521513)
575 Patch from Joe Marcus Clarke
577 2008-03-14 Alexander Larsson <alexl@redhat.com>
580 (_g_io_modules_ensure_loaded):
583 2008-03-14 Alexander Larsson <alexl@redhat.com>
586 (g_local_file_query_filesystem_info):
587 Use right define name for f_fstypename member check
589 2008-03-14 Alexander Larsson <alexl@redhat.com>
592 * fen/Makefile.am: Added.
593 * fen/fen-data.[ch]: Added.
594 * fen/fen-dump.[ch]: Added.
595 * fen/fen-helper.[ch]: Added.
596 * fen/fen-kernel.[ch]: Added.
597 * fen/fen-missing.[ch]: Added.
598 * fen/fen-node.[ch]: Added.
599 * fen/fen-sub.[ch]: Added.
600 * fen/gfendirectorymonitor.[ch]: Added.
601 * fen/gfenfilemonitor.[ch]: Added.
603 Added Solaris FEN file notification backend.
604 Patch from Lin Ma <Lin.Ma@Sun.COM>
606 2008-03-13 Tor Lillqvist <tml@novell.com>
608 * Makefile.am: Actually use the gio.def file when linking the
609 library on Windows. Produce .lib library for Microsoft's toolchain
610 when possible. Install the .lib and .def file like for the other
613 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
615 * tests/live-g-file.c:
616 Include live-g-file in standard set of tests, making a temporary
617 directory in source structure.
619 Clean target directory before the tests (write mode only)
621 2008-03-12 Tor Lillqvist <tml@novell.com>
623 Bug 517419 - gio win32 directory monitor
624 Implementation by Vlad Grecescu.
627 * win32/gwin32directorymonitor.h
628 * win32/gwin32directorymonitor.c: New files.
630 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
632 * Makefile.am: Add the win32 subdirectory.
634 2008-03-12 Tor Lillqvist <tml@novell.com>
636 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
637 normal struct stat on Unix but struct _stati64 on Windows to have
638 access to 64-bit file size information. Use that instead of struct
639 stat in the functions declared here in this private header.
641 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
642 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
643 warnings about unused functions and variables. Don't set
644 meaningless attributes like inode numbers on Windows.
646 2008-03-12 Benjamin Otte <otte@gnome.org>
649 trim whitespace so gtk-doc groks the function name
651 2008-03-12 Tor Lillqvist <tml@novell.com>
653 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
654 returning FALSE, on Win32.
656 2008-03-11 Alexander Larsson <alexl@redhat.com>
659 * glocalfileinfo.[ch]:
660 Correctly implement can_trash by actually
661 looking for a trash dir, not just assuming
664 2008-03-10 Matthias Clasen <mclasen@redhat.com>
666 * === Released 2.16.1 ===
668 2008-03-11 Alexander Larsson <alexl@redhat.com>
671 Fix crashes in new constructor and properties code
673 2008-03-10 Murray Cumming <murrayc@murrayc.com>
675 * gfile.c: Minor spelling correction in documentation:
676 existance -> existence.
678 2008-03-10 Matthias Clasen <mclasen@redhat.com>
680 * === Released 2.16.0 ===
682 2008-03-10 Matthias Clasen <mclasen@redhat.com>
684 * gio.symbols: Remove g_file_contains_file here, too.
686 2008-03-10 Matthias Clasen <mclasen@redhat.com>
688 * gthemedicon.c: Add properties to make bindings happy. (#517676,
689 Samuel Cormier-Iijima)
691 2008-03-08 Tor Lillqvist <tml@novell.com>
693 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
696 2008-03-07 Alexander Larsson <alexl@redhat.com>
699 (g_local_file_query_filesystem_info):
700 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
701 Patch from Jasper Lievisse Adriaanse
703 2008-03-06 Tor Lillqvist <tml@novell.com>
705 * gfileinfo.h: Correct milliseconds to microseconds in the doc
706 comments for the *_USEC attributes.
708 2008-03-06 Alexander Larsson <alexl@redhat.com>
710 * gfile.c (g_file_query_exists):
711 Add g_return_val_if_fail check (#520700)
713 2008-03-06 Alexander Larsson <alexl@redhat.com>
718 * gunionvolumemonitor.c:
721 * tests/live-g-file.c:
722 * xdgmime/xdgmimecache.c:
723 Fix sparse warnings (#519489)
725 2008-03-05 Alexander Larsson <alexl@redhat.com>
728 Make cancellation threadsafe (i.e.
729 guarantee its only done once, and always
732 * glocaldirectorymonitor.c:
733 Make sure we the monitor lives while the
734 mounts_changed callback is being called (#520484)
736 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
738 * gbufferedinputstream.c: Fix typo in parameter
741 2008-03-04 Alexander Larsson <alexl@redhat.com>
744 Remove deprecated symbols we kept for one release.
746 2008-03-04 Murray Cumming <murrayc@murrayc.com>
749 * goutputstream.c: Tiny documentation corrections.
751 2008-03-03 Alexander Larsson <alexl@redhat.com>
753 * gunionvolumemonitor.c:
755 Fix the adopt_orphan_mount vfunc to take a
756 volume_monitor reference in an ABI compat way.
757 This change is not API compat, but the added
758 arg is not used in the only user of this vfunc, so
759 all we get is a harmless warning in gvfs (#520169)
761 2008-03-01 Benjamin Otte <otte@gnome.org>
764 clarify docs for g_file_delete().
766 2008-02-29 Alexander Larsson <alexl@redhat.com>
770 Make sure empty files get text/plain type (#518720)
772 2008-02-27 Alexander Larsson <alexl@redhat.com>
778 (g_unix_volume_mount):
779 Add missing GMountMountFlags argument
781 2008-02-26 Alexander Larsson <alexl@redhat.com>
784 (g_local_file_delete):
785 Handle filesystems (like ntfs-3g) that return EEXIST instead
786 of ENOTEMPTY (#518816)
788 2008-02-25 Matthias Clasen <mclasen@redhat.com>
790 * === Released 2.15.6 ===
792 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
794 * gfile.c (g_file_find_enclosing_mount):
795 * ginputstream.c (g_input_stream_set_pending):
796 * glocalfile.c (g_local_file_find_enclosing_mount):
797 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
798 * goutputstream.c (g_output_stream_set_pending):
800 Fixup translator comments (#518578).
802 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
804 * gfile.c (g_file_find_enclosing_mount):
806 * glocalfile.c (g_local_file_find_enclosing_mount):
809 Fix a few typos in translator comments and documentation.
811 2008-02-25 Alexander Larsson <alexl@redhat.com>
818 Add translator comments (#518578)
820 2008-02-25 Alexander Larsson <alexl@redhat.com>
823 Reintroduce g_file_contains_file, keep around for one
824 unstable release cycle to avoid crashing to many apps.
825 Make sure to delete after release.
827 2008-02-25 Alexander Larsson <alexl@redhat.com>
830 Remove deprecated g_file_contains_file.
832 2008-02-25 Alexander Larsson <alexl@redhat.com>
835 Emit actual change signals in an idle handler.
836 This avoids reentrance and locking problems in
837 the file notification backends.
839 2008-02-25 Alexander Larsson <alexl@redhat.com>
842 (g_unix_mount_guess_should_display):
843 Remove type guessing, instead just display
844 mounts in /media and in ~/.
846 2008-02-25 Alexander Larsson <alexl@redhat.com>
849 Make new strings reuse old ones.
851 2008-02-25 Alexander Larsson <alexl@redhat.com>
854 Implement trashing and filesystem::readonly for win32 (#517235)
855 Patch from Yevgen Muntyan
857 2008-02-23 Matthias Clasen <mclasen@redhat.com>
859 * gfileinfo.h: Documentation fixes.
861 2008-02-22 Alexander Larsson <alexl@redhat.com>
863 * gcontenttype.c (g_content_type_get_icon):
864 Look at old-style gnome mime icon names too, as many
865 have not moved to the new style.
867 2008-02-21 Matthias Clasen <mclasen@redhat.com>
869 * *.c: Correct the @include in for section docs.
871 2008-02-21 David Zeuthen <davidz@redhat.com>
873 * glocalfileinfo.c: (_g_local_file_info_get):
875 (g_content_type_get_icon): Implement this function by
876 moving bits from glocalfileinfo.c
877 (g_content_type_get_description): Unalias before getting
878 description (#517687)
880 * gfile.c: (g_file_class_init),
881 (g_file_query_filesystem_info_async),
882 (g_file_query_filesystem_info_finish),
883 (query_filesystem_info_data_free),
884 (query_filesystem_info_async_thread),
885 (g_file_real_query_filesystem_info_async),
886 (g_file_real_query_filesystem_info_finish):
887 * gfile.h: Implement async version of
888 g_file_query_filesystem_info()
890 * gfileinfo.h: Add new attributes for filesystem::use-preview
892 * gio.symbols: Update
894 * gthemedicon.c: (g_themed_icon_append_name):
895 * gthemedicon.h: Add new new convenience function.
897 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
898 (get_mounts), (get_volumes), (get_connected_drives),
899 (get_volume_for_uuid), (get_mount_for_uuid),
900 (g_union_volume_monitor_init), (populate_union_monitor),
901 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
902 (g_volume_monitor_adopt_orphan_mount):
904 * gvolumemonitor.h: Use recursive locks so it's safe for volume
905 monitor implementations to call into the main volume monitor. Also
906 separate object initialization and volume monitor initialization
907 such that non-native volume monitors can properly adopt their
910 2008-02-21 Alexander Larsson <alexl@redhat.com>
915 2008-02-21 Alexander Larsson <alexl@redhat.com>
918 Add more documentation about how GFiles work (from #517086)
920 2008-02-21 Alexander Larsson <alexl@redhat.com>
924 Add new g_file_has_prefix that does the same as g_file_contains_file.
925 Deprecate g_file_contains_file and add a macro that converts
926 it to g_file_has_prefix.
927 The reason for this change is that the contains_file() name seems to
928 imply that this does more work than what it does, but its really only
929 a name match (from #517086)
934 Update to match the above change.
936 2008-02-20 Benjamin Otte <otte@gnome.org>
938 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
939 (g_file_eject_mountable):
940 even more cases of not returning in error path
942 2008-02-20 Benjamin Otte <otte@gnome.org>
944 * gfile.c: (g_file_mount_mountable):
945 return from function in error path.
947 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
950 Remove trailing coma in GMountMountFlags struct
952 2008-02-18 Alexander Larsson <alexl@redhat.com>
956 * glocalfileoutputstream.c:
957 Use g_unlink/g_rename instead of unlink/rename;
958 do not pass raw filenames to g_set_error. (#517239)
959 Patch from Yevgen Muntyan.
961 2008-02-18 Alexander Larsson <alexl@redhat.com>
964 * glocalfileoutputstream.c:
965 Open files with O_BINARY on windows. (#517140)
967 2008-02-14 Alexander Larsson <alexl@redhat.com>
969 * glocalfileoutputstream.c:
970 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
972 2008-02-14 Alexander Larsson <alexl@redhat.com>
975 Copy permissions with file on copy (#514084)
976 This is what cp does and makes sure e.g. the
977 exec permissions are kept.
978 Its kinda weird in that it keeps the permission bits
979 the same while the uid and gid are different. However
980 the new uid is the user so its not a security issue,
981 and I've heard no complaints about cp on this issue.
983 2008-02-13 Ryan Lortie <desrt@desrt.ca>
985 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
987 2008-02-13 Alexander Larsson <alexl@redhat.com>
989 * inotify/inotify-path.c:
990 Define IN_ONLYDIR if not in header (#515346)
992 2008-02-12 Alexander Larsson <alexl@redhat.com>
994 * tests/live-g-file.c:
997 2008-02-11 Matthias Clasen <mclasen@redhat.com>
999 * === Released 2.15.5 ===
1001 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1003 * gio.symbols: Add g_mount_mount_flags_get_type.
1005 2008-02-11 Alexander Larsson <alexl@redhat.com>
1008 (g_file_info_set_attribute_mask):
1009 (g_file_attribute_matcher_matches_id):
1010 Correctly handle NULL GAttributeMatcher meaning
1011 matches nothing. (Fixes #513492)
1013 2008-02-11 Alexander Larsson <alexl@redhat.com>
1018 Added GMountMountFlags enum and added a flags
1019 argument to all mount calls.
1021 This is an API/ABI change for future extensibility,
1022 as I think we will need at least an
1023 inhibit-autorun flag (the panel needs this).
1024 There are no flags defined yet though.
1026 2008-02-11 Alexander Larsson <alexl@redhat.com>
1029 Added new standard::description attribute.
1030 Requested by Vincent, and useful for both
1033 2008-02-11 Alexander Larsson <alexl@redhat.com>
1035 * gdesktopappinfo.c:
1038 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1040 * *.c: Documentation additions
1042 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1044 * gappinfo.h: Formatting cleanup
1045 * gappinfo.c: Fix up docs.
1047 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1049 * gunixmounts.c: Consistently use getmntent_r() and fall
1050 back to getmntent(). (#515492)
1052 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1054 * gbufferedinputstream.c:
1056 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1058 * tests/data-input-stream.c:
1059 * tests/data-output-stream.c: Portability fixes.
1061 2008-02-08 Alexander Larsson <alexl@redhat.com>
1066 Add g_volume_should_automount.
1069 2008-02-07 Tor Lillqvist <tml@novell.com>
1071 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1072 Win32, too Unix-specific.
1074 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1076 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1077 a local plt if the compiler doesn't support what we want. Bug #514702
1079 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1081 reviewed by: <delete if not using a buddy>
1084 * gunixinputstream.c:
1085 * gunixoutputstream.c:
1087 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1089 * tests/Makefile.am:
1090 * tests/live-g-file.c:
1091 * tests/live-g-file.txt:
1092 New GIO testing module working over real data
1094 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1096 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1097 Fallback to rename() if link() is not available
1098 (when no support on target filesystem)
1100 2008-02-06 Michael Natterer <mitch@imendio.com>
1102 * gfileinfo.c (g_file_info_get_icon): replace
1103 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1105 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1107 * gfile.c (g_file_create):
1108 Documentation update of error codes
1110 2008-02-06 Alexander Larsson <alexl@redhat.com>
1112 * gdesktopappinfo.c:
1113 Update to use both mimeapps.list and
1114 defaults.list as discussed on xdg list.
1116 2008-02-06 Benjamin Otte <otte@gnome.org>
1119 * gfilenamecompleter.c:
1120 Fix some typos in the documentation.
1122 2008-02-06 Alexander Larsson <alexl@redhat.com>
1124 * glocalfile.c (g_local_file_trash):
1125 Don't succeed with trash if newly created
1126 trash dir has the wrong owner. (#514696)
1128 2008-02-05 Alexander Larsson <alexl@redhat.com>
1130 * glocalfile.c (g_local_file_move):
1131 Don't spew warnings when destination is not
1134 2008-02-03 Hans Breuer <hans@breuer.org>
1136 * makefile.msc : update
1138 2008-02-01 Michael Natterer <mitch@imendio.com>
1140 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1141 return value of xdg_mime_list_mime_parents() to a variable of the
1144 2008-02-01 Alexander Larsson <alexl@redhat.com>
1146 * gappinfo.c (g_app_info_launch_uris):
1147 Actually call the launch_uris method, not
1150 2008-02-01 Alexander Larsson <alexl@redhat.com>
1152 * gdesktopappinfo.c (g_desktop_app_info_equal):
1153 Ensure appinfos with no id but same pointer value
1156 2008-02-01 Alexander Larsson <alexl@redhat.com>
1158 * gappinfo.c (g_app_info_launch_default_for_uri):
1161 2008-02-01 Alexander Larsson <alexl@redhat.com>
1165 Add g_app_info_launch_default_for_uri utility
1168 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1170 * gdesktopappinfo.c:
1171 Doc fix for g_app_info_get_default_for_uri_scheme ()
1174 2008-01-30 Alexander Larsson <alexl@redhat.com>
1177 Add doc comment about uris vs GFiles to
1180 * gdesktopappinfo.c:
1181 Ensure uris passed to g_app_info_launch_uris()
1182 are not roundtriped through GFile (as that
1183 may be slightly destructive for e.g. mailto: links)
1185 2008-01-30 Alexander Larsson <alexl@redhat.com>
1187 * tests/data-input-stream.c:
1188 * tests/data-output-stream.c:
1189 C89 fixes from Jens Granseuer (#512849)
1191 2008-01-30 Alexander Larsson <alexl@redhat.com>
1194 Fix gamin/fam difference build issue. (#509419)
1196 2008-01-29 Alexander Larsson <alexl@redhat.com>
1199 * gdesktopappinfo.c:
1200 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1202 2008-01-29 Alexander Larsson <alexl@redhat.com>
1204 * gdesktopappinfo.c:
1205 * gdesktopappinfo.h:
1206 giomodule-priv.h include moved to .c file.
1208 2008-01-29 Alexander Larsson <alexl@redhat.com>
1210 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1211 Remove unused prio/name fields.
1213 2008-01-29 Alexander Larsson <alexl@redhat.com>
1215 * gcontenttype.c (looks_like_text):
1216 Don't treat whitespace as control chars.
1218 2008-01-29 Alexander Larsson <alexl@redhat.com>
1220 * gdesktopappinfo.c:
1221 Lazily create the desktop files for appinfos created
1222 by g_app_info_create_from_commandline() when needed
1223 for mime associations. This allows run-time use
1224 of GAppInfo object without creating unnecessary
1227 2008-01-29 Alexander Larsson <alexl@redhat.com>
1230 Added new symbols to gio.symbols
1232 2008-01-29 Alexander Larsson <alexl@redhat.com>
1235 Add g_file_query_default_handler utility to easily look up
1236 the GAppInfo that handles a file.
1238 * gdesktopappinfo.[ch]:
1240 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1243 Remove unused function
1245 2008-01-29 Alexander Larsson <alexl@redhat.com>
1247 * gfileenumerator.c:
1248 Mention need to free returned value in
1249 g_file_enumerator_next_files_finish docs.
1250 Fix leak if g_file_enumerator_next_files_finish()
1253 2008-01-29 Alexander Larsson <alexl@redhat.com>
1256 (_g_unix_content_type_get_parents):
1257 Use list_parents, not get_parents from xdgmime, because
1258 the later doesn't use the cache.
1260 * xdgmime/xdgmimecache.c:
1261 (_xdg_mime_cache_list_mime_parents):
1262 Don't list the same type as parent multiple times.
1264 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1266 * === Released 2.15.4 ===
1268 2008-01-28 Alexander Larsson <alexl@redhat.com>
1271 Register local vfs with prio 0.
1274 Remove old name and prio class members
1276 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1278 * tests/g-file.c: Disable some tests that are failing in
1279 the absence of a http backend.
1281 2008-01-28 Alexander Larsson <alexl@redhat.com>
1285 Add registration hooks for extension points.
1286 Register the gio extension points.
1288 * fam/gfamdirectorymonitor.c:
1289 * fam/gfamfilemonitor.c:
1290 * glocaldirectorymonitor.[ch]:
1291 * glocalfilemonitor.[ch]:
1292 * gnativevolumemonitor.h:
1293 * gunionvolumemonitor.c:
1294 * gunixvolumemonitor.c:
1297 * inotify/ginotifydirectorymonitor.c:
1298 * inotify/ginotifyfilemonitor.c:
1299 Use the extension points registration instead
1300 of g_type_children().
1302 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1305 * gvolume.[hc]: Document new API.
1307 * gfile.c (g_file_copy_async): Fix docs
1309 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1311 * gbufferedinputstream.c:
1313 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1316 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1318 * glocalfile.c: Avoid trivial differences in translatable strings.
1320 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1322 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1323 build with gcc 3.4 (#509419)
1325 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1327 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1328 (#509994, Murray Cumming)
1330 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1332 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1333 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1334 this allows big jobs to be executed in chunks, instead of blocking
1335 the main loop for a long time.
1337 * gsimpleasyncresult.c:
1338 * giofile.c: Adapt callers.
1340 2008-01-25 Alexander Larsson <alexl@redhat.com>
1342 * gdesktopappinfo.c:
1343 Implement changes discussed on xdg list.
1344 Now we can add supported mimetypes by just using defaults.list
1345 We can also remove associations in defaults.list.
1347 2008-01-25 Alexander Larsson <alexl@redhat.com>
1349 * gdesktopappinfo.c:
1350 Don't make local copy of desktop file
1351 for mimetype changes if the file already
1352 supports the new mimetype.
1354 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1358 * gbufferedinputstream.c:
1359 * glocalfile.c: String improvements. (#511966,
1360 Theppitak Karoonboonyanan)
1362 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1364 * gioscheduler.h: Expand docs a bit.
1366 2008-01-24 Alexander Larsson <alexl@redhat.com>
1369 Add g_drive_get_identifier and
1370 g_drive_enumerate_identifiers
1373 Add g_volume_get_identifier and
1374 g_volume_enumerate_identifiers
1380 Implement identifiers for unix backend
1382 2008-01-24 Alexander Larsson <alexl@redhat.com>
1387 Add g_file_copy_async() (#511580)
1388 Based on patch from Carlos Garcia Campos
1390 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1392 * gioscheduler.c: Some documentation additions.
1394 2008-01-22 Alexander Larsson <alexl@redhat.com>
1396 * gdesktopappinfo.c:
1397 (g_desktop_app_info_new):
1398 Don't leak basename.
1400 2008-01-22 Alexander Larsson <alexl@redhat.com>
1402 * gdesktopappinfo.c:
1403 (g_desktop_app_info_new_from_filename):
1406 2008-01-22 Alexander Larsson <alexl@redhat.com>
1408 * glocalfileinfo.c (get_thumbnail_attributes):
1411 2008-01-22 Alexander Larsson <alexl@redhat.com>
1414 (canonicalize_filename):
1415 Canonicalize paths that start with more than
1419 (compare_two_files):
1420 (test_g_file_new_for_path):
1423 2008-01-22 Alexander Larsson <alexl@redhat.com>
1426 Allow UTF-8 in file:// parse names.
1428 * tests/Makefile.am:
1429 * tests/data-input-stream.c:
1430 * tests/data-output-stream.c:
1431 * tests/g-file-info.c:
1433 Added a bunch of tests from Tomas Bzatek
1435 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1437 * === Released 2.15.3 ===
1439 2008-01-21 Alexander Larsson <alexl@redhat.com>
1441 * gfileinputstream.[ch]:
1442 * gfileoutputstream.[ch]:
1444 Remove duplicated GSeekable functions. (#509990)
1445 Just use the g_seekable_xxx() calls instead.
1447 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1450 * gvolumemanager.c: Whitespace cleanups.
1452 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1453 Use the right mode when creating the file.
1455 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1457 * gfileenumerator.c:
1458 * gfileinputstream.c:
1460 * goutputstream.c: Documentation: Fixed minor typos
1461 and added more mentions of specific _finish() functions.
1463 2008-01-21 Alexander Larsson <alexl@redhat.com>
1465 * inotify/Makefile.am:
1466 * inotify/inotify-helper.c:
1467 * inotify/inotify-kernel.c:
1468 * inotify/inotify-path.c:
1469 * inotify/local_inotify.h: Removed.
1470 * inotify/local_inotify_syscalls.h: Removed.
1471 Removed the included copies of the inotify
1472 headers. We now only use the <sys/inotify.h>
1473 header which exists on modern systems.
1474 This fixes problems on ARM and SH5 (#510448)
1475 but is also generally much cleaner and future
1476 safe. For instance, if other OSes add support
1477 for inotify it should "just work".
1479 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1481 * inotify/*.c: Coding style fixes.
1482 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1483 for the 1/4 Hz timer.
1485 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1488 * gfilemonitor.[hc]:
1489 * gmemoryinputstream.c:
1490 * gmemoryoutputstream.c:
1491 * gmountoperation.c:
1492 * gthemedicon.c: Documentation updates
1494 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1496 * gfile.c: documentation: Fixed more minor
1499 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1501 * gmount.c: (g_mount_remount): documentation:
1502 Mention g_mount_remount_finish() instead of
1503 g_mount_unmount_finish().
1505 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1509 * gfile.c: Fixed some minor typos in the
1512 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1514 * gio/gvolumemonitor.c:
1515 (g_volume_monitor_get_connected_drives):
1516 (g_volume_monitor_get_volumes):
1517 (g_volume_monitor_get_mounts): Documentation:
1518 Clarify the ownership of the regurn GLists.
1520 2008-01-17 Alexander Larsson <alexl@redhat.com>
1523 Add the async find_enclosing_mount version
1524 to the header file too.
1526 2008-01-17 Alexander Larsson <alexl@redhat.com>
1529 Add async version of find_enclosing_mount
1530 with default implementation.
1532 2008-01-17 Alexander Larsson <alexl@redhat.com>
1537 Allow calls to implementation of copy and write
1538 even if the type of the file implementations is
1539 different. This can be used to implement native
1540 upload and download calls in a vfs.
1543 (g_local_file_move):
1544 Protect against the case where move is called
1545 with one file not being local.
1547 Make sure we call the progress callback once
1548 in the native move operation so that the caller
1549 knows how many bytes were copied.
1551 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1554 * gdatainputstream.c:
1556 * gfileoutputstream.c:
1561 * gunixmounts.c: Corrected some typos in the documentation:
1562 occured -> occurred.
1563 its -> it's (where appropriate).
1565 2008-01-16 Alexander Larsson <alexl@redhat.com>
1569 Add g_file_query_exists (#508771)
1571 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1576 * gvolume.c: For async functions that have no non-async
1577 version, document that the GAsyncReadyCallback may be NULL.
1580 2008-01-15 Alexander Larsson <alexl@redhat.com>
1582 * gmemoryinputstream.c:
1583 * gmemoryoutputstream.c:
1584 Don't do pointer arithmetic on void * (#508602)
1585 Patch from Kazuki IWAMOTO
1587 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1589 * === Released 2.15.2 ===
1591 2008-01-14 Alexander Larsson <alexl@redhat.com>
1593 * gfile.c (g_file_monitor_file):
1594 Don't set error here, since we fallback to polling monitor.
1596 2008-01-14 Alexander Larsson <alexl@redhat.com>
1599 (g_file_monitor_directory):
1600 (g_file_monitor_file):
1601 Add GError to file monitor calls
1603 * glocaldirectorymonitor.c:
1604 * glocaldirectorymonitor.h:
1606 * glocalfilemonitor.c:
1607 * glocalfilemonitor.h:
1609 Update for above change
1611 2008-01-14 Alexander Larsson <alexl@redhat.com>
1615 Handle root correctly in g_file_get_relative_path (#508719)
1617 2008-01-14 Alexander Larsson <alexl@redhat.com>
1620 Clean up docs and example for GAsyncResult (#508074)
1622 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1624 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1625 and correct some spelling mistakes. Bug #508108.
1627 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1629 * glocalfileinfo.c: Add a comment.
1631 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1633 * gfileinfo.c: GFileInfo description: Mention
1634 how to actually set attributes in a GFile and how to discover
1635 which attributes are settable. Bug #508378.
1637 2008-01-10 A. Walton <awalton@svn.gnome.org>
1639 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1640 (g_app_info_get_default_for_type):
1641 Check for NULL content types.
1643 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1645 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1647 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1649 * gfile.c: *_async() functions: Several small corrections
1650 to the documentation, mostly correcting copy/paste errors
1651 and improving some sentences.
1653 2008-01-09 Dan Winship <danw@gnome.org>
1655 * glocalfile.c (get_unique_filename): x86_64 fix
1657 2008-01-09 Alexander Larsson <alexl@redhat.com>
1662 Add g_unix_mount_guess_should_display and use
1663 for unix volume monitor backend.
1664 This means we more or less show what the
1665 gnome-vfs backend did.
1666 Based on patch from Padraig O'Briain
1668 2008-01-09 Alexander Larsson <alexl@redhat.com>
1672 Add g_themed_icon_new_with_default_fallbacks
1675 Use default fallbacks for icons
1677 2008-01-09 Alexander Larsson <alexl@redhat.com>
1680 * gmountoperation.[ch]:
1681 Change the API a bit so that unhandled methods
1682 get reported via the reply, rather than by
1683 the signal emission return value. This is because
1684 some handlers can't know this immediately without
1685 doing I/O, and this is an async operation that
1688 2008-01-09 Alexander Larsson <alexl@redhat.com>
1691 * fam/gfamdirectorymonitor.c:
1692 * fam/gfamfilemonitor.c:
1693 Fix double free crash (#508224)
1694 Patch from Joe Marcus Clarke
1696 008-01-07 Matthias Clasen <mclasen@redhat.com>
1698 * === Released 2.15.1 ===
1700 2008-01-07 Alexander Larsson <alexl@redhat.com>
1702 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1703 Fix warning (#507835)
1705 2008-01-07 Alexander Larsson <alexl@redhat.com>
1708 Pass --internal to glib-genmarshal
1711 * gmountoperation.c:
1713 Use better types for signal arguments (#507822)
1715 2008-01-07 Alexander Larsson <alexl@redhat.com>
1718 Build test subdir after .
1719 Remove gdirectorymonitor.[ch]
1721 * gdirectorymonitor.[ch]:
1725 Remove GDirectoryMonitor and make
1726 GFileMonitor the baseclass for both file and
1727 directory monitors. Lift the more generic
1728 rate limiting code from GDirectoryMonitor
1732 * fam/gfamdirectorymonitor.[ch]:
1733 * inotify/ginotifydirectorymonitor.[ch]:
1734 * inotify/inotify-helper.c:
1735 * glocaldirectorymonitor.[ch]:
1738 Update for the removed GDirectoryMonitor.
1740 * gmemoryoutputstream.c:
1741 Remove ununsed variable
1743 2008-01-07 Alexander Larsson <alexl@redhat.com>
1745 * gmemoryinputstream.c:
1746 Translate error strings
1749 * gmemoryoutputstream.[ch]:
1750 New implementation that avoids using GByteArray
1751 in implementation and API. (#506377)
1753 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1755 * tests/*: Add a test for memory input streams.
1757 * Makefile.am: Add tests to SUBDIRS.
1759 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1761 * glocalfilemonitor.c:
1762 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1765 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1767 * gdesktopappinfo.c: Fix a docs typo.
1769 * gfileattribute.c: Add information about extended attributes
1770 to the documentation. (#505058)
1772 2008-01-04 Alexander Larsson <alexl@redhat.com>
1775 * gmountoperation.c:
1776 Use the right type (uint) for the ask_password signal.
1778 2008-01-04 Alexander Larsson <alexl@redhat.com>
1783 Add g_app_info_supports_files()
1784 Remove desktop arg from g_app_info_should_show().
1786 * gdesktopappinfo.[ch]:
1787 Implement g_app_info_supports_files() and new should_show()
1788 Add g_desktop_app_info_set_desktop_env() to set the desktop
1789 for should_show(). (This will be set by gtk+ later)
1791 2008-01-04 Alexander Larsson <alexl@redhat.com>
1794 * gmemoryinputstream.[ch]:
1795 Improve API so that you can use multiple chunks
1796 of memory and custom destroy functions. (#506374)
1798 2008-01-03 Alexander Larsson <alexl@redhat.com>
1801 Handle NULL attribute matchers safely, as we return this
1802 for empty attribute matcher strings.
1804 2008-01-03 Alexander Larsson <alexl@redhat.com>
1806 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1807 Add /usr/local to list of internal mountpoints
1809 2008-01-03 Alexander Larsson <alexl@redhat.com>
1812 Check for HAVE_LCHOWN (#505887)
1814 2008-01-03 Alexander Larsson <alexl@redhat.com>
1818 Add define for selinux context attribute.
1819 Fix missing : -> :: namespace separator change
1820 Fix missing _ -> - name change for xattr-sys.
1823 2008-01-03 Alexander Larsson <alexl@redhat.com>
1826 Link to libglib and libgobject directly (#504879)
1827 Patch from Sebastien Bacher
1829 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1831 * gfile.c: Expanded the g_file_new_for_commandline_arg
1832 description a bit, based on the code and the docs of the
1833 other g_file_new_for_* functions.
1835 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1837 * gfilemonitor.h: Fixed typo in docs.
1839 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1841 Updates to GIO documentation. (#506395, Mikael Hermansson)
1843 * gcontenttype.c: Describe memory management for return value of
1844 g_content_types_get_registered(). Missing piece from #505815.
1845 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1846 GVolume, GDrive, GMounts, which hopefully gives the user less
1847 confusions when using this API. Following explainations from
1848 Alexander Larsson on gtk-devel-list.
1850 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1852 * gfileinfo.c: Expand the long description.
1854 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1857 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1858 fix builds with --disable-visibility. (#500273, Christian Persch)
1860 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1862 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1863 in the list of returned app infos.
1865 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1867 * gappinfo.c: Fix a cross-reference
1869 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1871 * gfileinputstream.c:
1872 * gfileoutputstream.c:
1876 * gdesktopappinfo.c:
1878 * gfileinfo.c: Documentation updates.
1880 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1882 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1885 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1887 * gcontenttype.c (g_content_types_get_registered): Don't return
1888 freed memory (#505815, Mikael Hermansson)
1890 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1892 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1893 used to detect statbuf->st_blocks. (#505042)
1895 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1897 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1898 environment handling. (#504829, Cosimo Cecchi)
1900 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1902 * gappinfo.c: Doc improvements
1904 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1907 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1909 * === Released 2.15.0 ===
1911 2007-12-20 Hans Breuer <hans@breuer.org>
1913 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1914 with symbols gwin32appinfo.obj, added gmount.obj
1915 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1917 2007-12-20 Alexander Larsson <alexl@redhat.com>
1923 * gfilenamecompleter.c:
1926 * gpollfilemonitor.c:
1927 File attribute renames:
1929 fs:: -> filesystem::
1930 id::fs -> id::filesystem
1932 2007-12-20 Alexander Larsson <alexl@redhat.com>
1941 Add GMountUnmountFlags to all unmount and
1943 Add g_mount_remount() call.
1945 2007-12-20 Alexander Larsson <alexl@redhat.com>
1947 * gvfs.c (get_default_vfs):
1948 Fix unused variable warning
1950 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1952 * pltcheck.sh: Update
1954 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1956 * gunionvolumemonitor.c:
1957 * gunixmount.c: Remove C99 comments
1959 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1961 * gio.symbols: Add some missing symbols
1963 2007-12-19 Alexander Larsson <alexl@redhat.com>
1966 Make g_io_modules_load_all_in_directory not unuse
1967 loaded modules so that users of it can do stuff
1969 Init internal "module" types.
1970 Initialize static prio and name for types so that
1971 we don't have to load modules to get it.
1973 * gnativevolumemonitor.h:
1975 Move is_supported to parent class so that
1976 non-native monitors can avoid being initialized
1977 too. (For instance GDaemonVolumeMonitor if we're
1978 not using GDaemonVfs.)
1980 * glocaldirectorymonitor.[ch]:
1981 * glocalfilemonitor.[ch]:
1982 * gunionvolumemonitor.c:
1983 * gunixvolumemonitor.c:
1985 Find plugins using the static prio+name to
1986 avoid unnecessarily loading the modules.
1988 2007-12-19 Alexander Larsson <alexl@redhat.com>
1993 2007-12-19 Alexander Larsson <alexl@redhat.com>
1995 * gunionvolumemonitor.c:
1996 Store the native type as GType, not class so that
1997 we can unload it. But still avoid unnecessarily
2000 2007-12-19 David Zeuthen <davidz@redhat.com>
2002 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2003 add signals 'disconnected' and 'eject-button' on GDrive. Add
2004 signal 'removed' on GVolume and 'unmounted' on GMount.
2006 * gdrive.c: (g_drive_base_init):
2008 * gfile.c: (g_file_mount_mountable),
2009 (g_file_mount_enclosing_volume):
2012 * gmount.c: (g_mount_base_init):
2014 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2015 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2016 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2020 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2022 * *.c: Fix up includes in the section docs.
2024 2007-12-17 Alexander Larsson <alexl@redhat.com>
2026 * gnativevolumemonitor.h:
2027 * gunionvolumemonitor.c:
2028 * gunixvolumemonitor.c:
2029 Add is_supported() to GNativeVolumeMonitorClass so
2030 that we can avoid having to create an object to see
2031 if the backend is supported at runtime.
2032 Also add name member and an env var to pick a specific
2033 volume monitor backend.
2037 Add cancellable to _g_mount_get_for_mount_path()
2039 * glocaldirectorymonitor.c:
2040 * glocalfilemonitor.c:
2041 Avoid loading and unloading modules while sorting.
2043 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2046 * gunixmounts.[hc]: Namespace waste reduction, move some
2047 g_get_unix_mount functions to the g_unix_mount namespace.
2050 * gunixvolumemonitor.c:
2052 * glocaldirectorymonitor.c: Update all callers.
2054 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2056 2007-12-17 Alexander Larsson <alexl@redhat.com>
2059 Add doc comments about what GFile operations are
2060 guaranteed to not block.
2062 2007-12-17 Alexander Larsson <alexl@redhat.com>
2065 Add missing #ifdef fixing OSX build.
2066 (#503334, patch from Richard Hult)
2068 2007-12-14 David Zeuthen <davidz@redhat.com>
2072 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2073 (g_mount_eject), (g_mount_eject_finish):
2075 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2076 (get_volume_for_uuid), (get_mount_for_uuid),
2077 (g_union_volume_monitor_class_init),
2078 (get_default_native_type_with_exclude), (get_default_native_type),
2079 (get_native_type), (update_native_type),
2080 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2081 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2082 (g_unix_mount_can_eject), (eject_unmount_cb),
2083 (eject_unmount_read_error), (eject_unmount_do),
2084 (g_unix_mount_unmount), (g_unix_mount_eject),
2085 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2086 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2087 (g_unix_mount_point_guess_can_eject):
2089 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2090 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2091 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2092 (g_unix_volume_mount), (g_unix_volume_eject),
2093 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2094 * gunixvolumemonitor.c: (get_volume_for_uuid),
2095 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2097 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2098 (g_volume_eject), (g_volume_eject_finish):
2100 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2101 (g_volume_monitor_get_mount_for_uuid):
2104 Provide eject() on both GMount and GVolume and utility functions
2105 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2106 ejected. Introduce the concept of UUID's and wire it into GVolume
2107 and GMount and provide API on GVolumeMonitor to find such
2108 instances. Also handle the case where an external
2109 GNativeVolumeMonitor fails to initialize. Lock around the
2110 _g_get_mount_for_mount_path() function such that volume monitor
2111 implementations won't have to do locking themselves.
2113 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2115 * gdesktopappinfo.c:
2121 * gvolume.h: Documentation updates
2123 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2126 * gfile.h: Doc updates
2128 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2131 * gdesktopappinfo.c: Use hash table iterators.
2133 2007-12-14 Alexander Larsson <alexl@redhat.com>
2136 * gfileattribute.[ch]:
2137 * gfileattribute-priv.h:
2138 Move GFileAttributeValue to a private header, as
2142 Make set_attribute take a type + a pointer instead
2143 of a GFileAttributeValue.
2146 Fix up for above changes.
2147 Add g_file_info_get_attribute_data to get
2148 all info in one call, g_file_info_get_attribute_status
2149 to get the status and g_file_info_get_attribute_as_string.
2153 * glocalfileinfo.[ch]:
2157 Make _guess_type static.
2159 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2162 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2163 made mkenums and friends use temporary files to avoid leaving
2164 empty generated files on failure (#503470).
2166 2007-12-14 Alexander Larsson <alexl@redhat.com>
2168 * gmountoperation.h:
2171 2007-12-14 Alexander Larsson <alexl@redhat.com>
2175 * gfileattribute.[ch]:
2178 * glocalfileoutputstream.c:
2179 * gmountoperation.[ch]:
2180 * goutputstream.[ch]:
2181 Clean up all flags enums to not have _FLAGS in them
2182 Make the names of some of the enums better.
2187 2007-12-14 Michael Natterer <mitch@imendio.com>
2189 * gio.symbols: fix g_io_scheduler symbol names.
2191 2007-12-14 Alexander Larsson <alexl@redhat.com>
2197 * gbufferedinputstream.h:
2198 * gbufferedoutputstream.h:
2201 * gdatainputstream.h:
2202 * gdataoutputstream.h:
2203 * gdesktopappinfo.h:
2204 * gdirectorymonitor.h:
2208 * gfileenumerator.h:
2211 * gfileinputstream.h:
2213 * gfilenamecompleter.h:
2214 * gfileoutputstream.h:
2215 * gfilterinputstream.h:
2216 * gfilteroutputstream.h:
2224 * gmemoryinputstream.h:
2225 * gmemoryoutputstream.h:
2227 * gmountoperation.h:
2230 * gsimpleasyncresult.h:
2232 * gunixinputstream.h:
2234 * gunixoutputstream.h:
2238 * inotify/Makefile.am:
2239 Only allow including <gio/gio.h> from apps
2241 2007-12-14 Alexander Larsson <alexl@redhat.com>
2243 * gioscheduler.[ch]:
2244 * gsimpleasyncresult.c:
2245 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2246 Split out the send_to_mainloop call into two versions instead
2247 of having the block argument.
2249 2007-12-13 Alexander Larsson <alexl@redhat.com>
2251 * gcancellable.[ch]:
2253 * gbufferedinputstream.c:
2254 * gfileenumerator.c:
2255 * gfileinputstream.c:
2256 * gfileoutputstream.c:
2260 g_push/pop_current_cancellable ->
2261 g_cancellable_push/pop_current
2263 2007-12-13 Alexander Larsson <alexl@redhat.com>
2267 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2269 2007-12-13 Alexander Larsson <alexl@redhat.com>
2271 * gmountoperation.h:
2272 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2274 2007-12-12 Alexander Larsson <alexl@redhat.com>
2277 Fix race condition when freeing proxy in
2278 g_io_job_send_to_mainloop().
2280 2007-12-12 Alexander Larsson <alexl@redhat.com>
2286 Make attribute namespace separator "::" instead of ":".
2287 Use - instead of _ as separator in attribute names.
2289 2007-12-12 Alexander Larsson <alexl@redhat.com>
2291 * gbufferedinputstream.h:
2292 * gbufferedoutputstream.h:
2293 * gdatainputstream.h:
2294 * gdataoutputstream.h:
2295 * gdirectorymonitor.h:
2296 * gfileenumerator.h:
2297 * gfileinputstream.h:
2299 * gfileoutputstream.h:
2300 * gfilterinputstream.h:
2301 * gfilteroutputstream.h:
2303 * glocalfileinputstream.h:
2304 * glocalfileoutputstream.h:
2305 * gmemoryinputstream.h:
2306 * gmemoryoutputstream.h:
2307 * gnativevolumemonitor.h:
2309 * gunixinputstream.h:
2310 * gunixoutputstream.h:
2313 s/parent/parent_instance/ in GObjects
2315 2007-12-12 Alexander Larsson <alexl@redhat.com>
2320 No need for padding for interfaces
2322 2007-12-12 Alexander Larsson <alexl@redhat.com>
2326 * gbufferedinputstream.c:
2327 * gbufferedoutputstream.c:
2330 * gdatainputstream.[ch]:
2331 * gdesktopappinfo.c:
2332 * gdirectorymonitor.c:
2334 * gfileattribute.[ch]:
2337 * gfileinputstream.h:
2338 * gfilemonitor.[ch]:
2339 * gfileoutputstream.[ch]:
2340 * gfilterinputstream.h:
2341 * gfilteroutputstream.h:
2344 * gloadableicon.[ch]:
2345 * gmemoryinputstream.c:
2346 * gmountoperation.c:
2348 Fix up a bunch of details in the docs.
2353 2007-12-11 David Zeuthen <davidz@redhat.com>
2355 Rework how volumes, drives and volume monitoring is
2356 done. Previosly the model was
2358 GDrive <1-1> GVolume
2360 where a GDrive instance represented a mount point and a GVolume
2361 instance represented a mounted file system. This patch changes it
2364 GDrive <1-N> GVolume <1-1> GMount
2366 where GMount now serves the purpose of the old GVolume and the new
2367 GVolume serves the purpose of the old GDrive. In addition the new
2368 GDrive interface is used to represent a collection of GVolume
2369 instances (typically partitions) and also contains utility to query
2370 the state of the physical drive the GDrive object represents (such
2371 as checking for media, polling the drive, ejecting the media etc.).
2373 Also implement mounting and unmounting in the Unix volume monitor
2374 backend. A subquent patch will introduce GDrive support for ejection
2378 * gdrive.c: (g_drive_is_media_check_automatic),
2379 (g_drive_is_media_removable), (g_drive_has_media),
2380 (g_drive_can_poll_for_media), (g_drive_eject),
2381 (g_drive_eject_finish), (g_drive_poll_for_media),
2382 (g_drive_poll_for_media_finish):
2384 * gfile.c: (g_file_find_enclosing_mount):
2387 * glocaldirectorymonitor.c:
2388 (g_local_directory_monitor_constructor), (mounts_changed):
2389 * glocalfile.c: (get_mount_info),
2390 (g_local_file_find_enclosing_mount),
2391 (g_local_file_file_iface_init):
2392 * gnativevolumemonitor.h:
2393 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2394 (get_connected_drives), (g_union_volume_monitor_class_init),
2395 (child_volume_added), (child_volume_removed),
2396 (child_volume_changed), (child_mount_added), (child_mount_removed),
2397 (child_mount_pre_unmount), (child_mount_changed),
2398 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2399 (g_union_volume_monitor_remove_monitor),
2400 (_g_mount_get_for_mount_path):
2401 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2402 (guess_system_internal), (_g_get_unix_mounts),
2403 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2404 (g_unix_mount_free), (g_unix_mount_compare),
2405 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2406 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2407 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2408 (type_to_icon), (g_unix_mount_guess_name),
2409 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2410 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2411 (_resolve_symlink), (_resolve_dev_root):
2413 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2414 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2415 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2416 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2417 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2418 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2419 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2420 (g_unix_volume_volume_iface_init):
2422 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2423 (get_mounts), (get_volumes), (get_connected_drives),
2424 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2425 (mountpoints_changed), (mounts_changed),
2426 (g_unix_volume_monitor_init),
2427 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2428 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2429 * gunixvolumemonitor.h:
2430 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2431 (g_volume_mount), (g_volume_mount_finish):
2433 * gvolumemonitor.c: (g_volume_monitor_class_init),
2434 (g_volume_monitor_get_connected_drives),
2435 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2438 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2440 * gmountoperation.h (GPasswordFlags): Close the gap
2442 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2444 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2446 * gdesktopappinfo.[hc]: Remove _-prefixes
2448 2007-12-10 Tor Lillqvist <tml@novell.com>
2450 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2453 2007-12-10 Alexander Larsson <alexl@redhat.com>
2455 * gfile.c (g_file_set_display_name):
2456 Don't hardcode '/' (#502727)
2458 2007-12-09 Hans Breuer <hans@breuer.org>
2460 * makefile.msc : follow lib naming convention
2461 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2462 for user and group name, tested with ../tests/gio-ls
2464 2007-12-09 A. Walton <awalton@svn.gnome.org>
2466 * gdesktopappinfo.c:
2472 * gfileenumerator.c:
2477 * gmemoryinputstream.c:
2478 * gmemoryoutputstream.c:
2480 * gsimpleasyncresult.c:
2481 More documentation cleanup and filling in missing information, bringing
2482 GIO to 99% symbol coverage.
2484 2007-12-08 Hans Breuer <hans@breuer.org>
2486 [gio compiles and links on win32, not sure how much already works]
2487 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2488 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2489 base on win32 API; prefer g_lstat() over lstat(); instead of
2490 localtime_r() use an all GLib implementation on win32;
2491 get_mount_info() still needs a win32 specifc implementation
2492 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2493 win32_get_file_user_info to get owner/group info without uid/gid
2494 * glocalfileinputstream.c : include <io.h> on win32
2495 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2496 definition, use g_win32_ftruncate() for G_OS_WIN32
2497 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2498 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2499 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2500 * makefile.msc : updated
2502 2007-12-07 Alexander Larsson <alexl@redhat.com>
2504 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2505 Avoid warning spew if error == NULL
2507 2007-12-07 Alexander Larsson <alexl@redhat.com>
2510 Update docs wrt etags
2512 2007-12-06 Alexander Larsson <alexl@redhat.com>
2515 Include sys/types.h for dev_t (#501919)
2517 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2521 Make abicheck and pltcheck pass.
2523 2007-12-05 Alexander Larsson <alexl@redhat.com>
2526 * giomodule-priv.h: Added.
2527 * glocaldirectorymonitor.c:
2528 * glocalfilemonitor.c:
2529 * gunionvolumemonitor.c:
2531 Actually add the declaration of _g_io_modules_ensure_loaded
2533 2007-12-05 Alexander Larsson <alexl@redhat.com>
2535 * gdatainputstream.c:
2540 * glocaldirectorymonitor.c:
2541 * glocalfilemonitor.c:
2542 * gunionvolumemonitor.c:
2544 Make g_io_modules_ensure_loaded a private function and
2545 don't pass in the dirname. This means we can do magic
2546 directory finding in the win32 version.
2547 Export the actual load-modules-in-directory code so that
2548 gvfs can reuse that.
2550 2007-12-05 Alexander Larsson <alexl@redhat.com>
2552 * gbufferedinputstream.c:
2553 * gbufferedoutputstream.c:
2556 * gfileenumerator.[ch]:
2557 * gfileinputstream.c:
2558 * gfileoutputstream.[ch]:
2559 * gfilterinputstream.c:
2560 * gfilteroutputstream.c:
2561 * ginputstream.[ch]:
2563 * glocalfileenumerator.c:
2564 * glocalfileinputstream.c:
2565 * glocalfileoutputstream.c:
2566 * gmemoryinputstream.c:
2567 * gmemoryoutputstream.c:
2568 * goutputstream.[ch]:
2571 * gunixinputstream.c:
2572 * gunixoutputstream.c:
2573 Rename all struct members named:
2574 read, write, close, truncate, or mount
2575 to foo_fn, as these are reserved names
2576 and could be defined as macros in libc.
2579 2007-12-04 Alexander Larsson <alexl@redhat.com>
2582 (g_output_stream_close):
2583 Only call flush if non-null.
2585 2007-11-30 Dan Winship <danw@gnome.org>
2587 * ginputstream.c (g_input_stream_set_pending): Make this take a
2588 GError and return a gboolean, and do the "outstanding operation"
2589 check (and the "stream is already closed" check) itself.
2590 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2592 * goutputstream.c (g_output_stream_set_pending)
2593 (g_output_stream_clear_pending): Likewise
2595 * gbufferedinputstream.c:
2596 * gfileinputstream.c:
2597 * gfileoutputstream.c: Update for that
2599 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2600 Like g_simple_async_report_error_in_idle, but takes a GError
2601 rather than building one.
2603 2007-11-30 Dan Winship <danw@gnome.org>
2605 * goutputstream.c: Don't cheat and unset the "pending" flag around
2606 inner calls. Instead, call the class method directly rather than
2607 the wrapper function that checks "pending"
2609 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2611 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2613 2007-12-03 Hans Breuer <hans@breuer.org>
2615 [start of port to win32/msvc]
2616 * gcancellable.c : HAVE_UNIST_H and _pipe()
2617 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2618 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2619 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2621 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2622 * glocalvfs.c : use HAVE_PWD_H
2623 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2624 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2625 * Makefile.am : added to EXTRA_DIST
2627 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2629 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2632 2007-12-03 Alexander Larsson <alexl@redhat.com>
2635 Handle OSX style xattrs API (#500506)
2637 2007-12-03 Alexander Larsson <alexl@redhat.com>
2641 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2643 2007-12-02 A. Walton <awalton@svn.gnome.org>
2647 Documentation accuracy fixes.
2649 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2651 * gioenumtypes.c.template: Fix typo.
2653 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2655 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2657 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2659 * gdirectorymonitor.c:
2660 * gfilemonitor.c: Add properties
2662 * gbufferedoutputstream.c: Don't mark buffer-size property
2665 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2667 * gbufferedoutputstream.c: Add auto-grow property.
2669 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2671 * *.c: Unify the capitalization of section headings.
2673 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2675 * gmountoperation.c: Add properties
2677 * gdatainputstream.c: Turn byte-order and newline-type into
2680 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2682 * gioenumtypes.[hc].template: Templates for enum registration
2684 * Makefile.am: Generate gioenumtypes.[hc]
2686 * gio.h: Include gioenumtypes.h
2688 * gfile.h: Add some explicit nicks.
2690 * gio.symbols: Add new symbols
2692 * pltcheck.sh: Adjust
2694 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2696 * *.c: Explain etags and link to the explanation
2698 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2700 * *.c: Explain I/O priority.
2702 * *.c: More coding style fixes.
2704 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2706 * gasyncresult.c: Add another paragraph to the intro,
2707 adjust coding style of example.
2709 2007-11-29 A. Walton <awalton@svn.gnome.org>
2712 Fixes unknown meaning in GAppLaunchContext docs.
2714 Clarify asynchronous ops.
2716 Fix entity tag docs.
2719 Provides missing gtk-doc section, fixes API docs slighly.
2720 * gsimpleasyncresult.c:
2721 Fill in missing info in docs.
2722 * gunixinputstream.c:
2723 * gunixoutputstream.c:
2724 Be more expressive in short description.
2726 Remove gtk-doc stubs for non-public API.
2728 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2730 * *.c: Coding style fixups
2732 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2734 * inotify/inotify-helper.c: Don't export the lock from libgio.
2736 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2739 * abicheck.sh: Fix copy-and-paste leftovers
2741 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2743 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2745 2007-11-28 Alexander Larsson <alexl@redhat.com>
2749 Removed unnecessary file
2751 * gdesktopappinfo.[ch]:
2754 * glocaldirectorymonitor.[ch]:
2756 * glocalfileenumerator.[ch]:
2757 * glocalfileinputstream.[ch]:
2758 * glocalfilemonitor.[ch]:
2759 * glocalfileoutputstream.[ch]:
2761 * gnativevolumemonitor.c:
2762 * gpollfilemonitor.[ch]:
2763 * gunionvolumemonitor.[ch]:
2766 * gunixvolumemonitor.[ch]:
2769 * inotify/ginotifydirectorymonitor.[ch]:
2770 * inotify/ginotifyfilemonitor.[ch]:
2771 * inotify/inotify-helper.c:
2772 Append _ to all internal functions
2776 Export symbols needed for modules
2778 2007-11-28 Alexander Larsson <alexl@redhat.com>
2781 * abicheck.sh: Added.
2782 * makegioalias.pl: Added.
2783 * pltcheck.sh: Added.
2784 * gio.symbols: Added.
2787 Initial work on adding symbol handling.
2790 Correct ifdef guard name
2793 * inotify/Makefile.am:
2794 * xdgmime/Makefile.am:
2795 Include toplevel Makefile.decl
2797 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2799 * gcontenttype.c: Move doc comments to the unix section.
2801 * *.[hc]: More trivial doc corrections.
2803 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2805 * gpollfilemonitor.c:
2809 * gdesktopappinfo.c:
2814 * gdatainputstream.c:
2815 * gdatainputstream.h:
2816 * gdataoutputstream.c:
2817 * gdataoutputstream.h:
2818 * gfileinfo.h: Doc cleanups
2820 2007-11-28 Andre Klapper <a9016009@gmx.de>
2822 * gdesktopappinfo.c: Fix a typo.
2824 2007-11-27 Andre Klapper <a9016009@gmx.de>
2826 * glocalfileoutputstream.c: Fix a typo.
2828 2007-11-27 Alexander Larsson <alexl@redhat.com>
2831 Don't include removed headers
2833 2007-11-27 Alexander Larsson <alexl@redhat.com>
2836 * gsocketinputstream.[ch]: Removed.
2837 * gsocketoutputstream.[ch]: Removed.
2838 * gunixinputstream.[ch]: Added.
2839 * gunixoutputstream.[ch]: Added.
2840 Renamed GSocket*Stream to GUnix*Stream and made
2841 it unix-only, since its not really only for sockets
2842 and it only works on unix (but is highly useful there).
2844 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2850 * gbufferedinputstream.c:
2851 * gbufferedinputstream.h:
2852 * gbufferedoutputstream.c:
2853 * gbufferedoutputstream.h:
2857 * gdatainputstream.c:
2858 * gdatainputstream.h:
2859 * gdataoutputstream.c:
2860 * gdataoutputstream.h:
2861 * gdirectorymonitor.c:
2862 * gdirectorymonitor.h:
2869 * gfileenumerator.c:
2870 * gfileenumerator.h:
2875 * gfileinputstream.c:
2876 * gfileinputstream.h:
2879 * gfilenamecompleter.c:
2880 * gfilenamecompleter.h:
2881 * gfileoutputstream.c:
2882 * gfileoutputstream.h:
2883 * gfilterinputstream.c:
2884 * gfilterinputstream.h:
2885 * gfilteroutputstream.c:
2886 * gfilteroutputstream.h:
2899 * glocalfileoutputstream.c:
2900 * gmemoryinputstream.c:
2901 * gmemoryinputstream.h:
2902 * gmemoryoutputstream.c:
2903 * gmemoryoutputstream.h:
2904 * gmountoperation.c:
2905 * gmountoperation.h:
2908 * gpollfilemonitor.c:
2911 * gsimpleasyncresult.c:
2912 * gsimpleasyncresult.h:
2913 * gsocketinputstream.c:
2914 * gsocketinputstream.h:
2915 * gsocketoutputstream.c:
2916 * gsocketoutputstream.h:
2923 * gunixvolumemonitor.c:
2932 Bumps documentation to 93% symbol coverage, touching most
2933 of the public files. Fixes broken function documentation prototypes.
2934 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2935 gtk-doc headers in private files.
2937 2007-11-27 Jürg Billeter <j@bitron.ch>
2939 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2940 (g_buffered_input_stream_read_byte):
2941 * gbufferedinputstream.h:
2942 New functions for efficient access to buffer and simple single byte
2945 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2946 (g_data_input_stream_read_until):
2947 * gdatainputstream.h:
2948 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2949 read_until with multiple stop chars.
2951 2007-11-27 Alexander Larsson <alexl@redhat.com>
2955 * inotify/Makefile.am:
2956 Use the user-specified giomoduledir
2958 2007-11-27 Alexander Larsson <alexl@redhat.com>
2962 Add catch-all gio.h header
2963 Don't install gdummyfile.h
2965 2007-11-26 Alexander Larsson <alexl@redhat.com>
2967 * Makefile.am (gioinclude_HEADERS):
2968 Remove trailing whitespace
2970 2007-11-26 Alexander Larsson <alexl@redhat.com>
2972 Merge gio-standalone into glib
2974 2007-11-25 Christian Kellner <gicmo@gnome.org>
2976 * gio/goutputstream.c:
2977 Fix small mistake in the docs.
2979 2007-11-21 Christian Persch <chpe@gnome.org>
2981 * gio/glocalfile.c: (g_local_file_trash):
2982 Convert filenames to UTF-8 for GError.
2983 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2984 as per xdg base dir spec.
2986 2007-11-21 Christian Persch <chpe@gnome.org>
2988 * gio/gdesktopappinfo.c:
2989 Use that g_key_file_to_data cannot fail.
2991 Use stock defines for the key file group and key names.
2994 2007-11-21 Alexander Larsson <alexl@redhat.com>
2997 (copy_stream_with_progress):
2998 Make sure we do a final progress callback with
2999 the full total size.
3001 2007-11-21 Alexander Larsson <alexl@redhat.com>
3004 Export g_file_copy_attributes
3005 Remove padding as its not needed for interfaces
3007 2007-11-20 Alexander Larsson <alexl@redhat.com>
3012 Add G_IO_ERROR_WOULD_MERGE for
3013 copy/move dir on dir with overwrite.
3015 2007-11-20 Alexander Larsson <alexl@redhat.com>
3018 * gio/glocalfileinfo.c:
3019 Add COPY_NAME (this is an optional
3020 non-modified utf8 version of the name) that
3023 2007-11-20 Alexander Larsson <alexl@redhat.com>
3025 * gio/glocalfileenumerator.c:
3026 Report errors as GIOError, not GFileError
3028 2007-11-16 Alexander Larsson <alexl@redhat.com>
3030 * gio/glocalfileoutputstream.c:
3031 * gio/gwin32appinfo.c:
3032 Fix typos in strings.
3033 Patch from Luca Ferretti <elle.uca@libero.it>
3035 2007-11-15 Alexander Larsson <alexl@redhat.com>
3038 Post release version bump
3040 === gio-standalone 0.1.2 ===
3042 2007-11-15 Alexander Larsson <alexl@redhat.com>
3044 * docs/reference/gio/Makefile.am:
3045 Fix up distcheck by removing weird
3051 2007-11-14 Alexander Larsson <alexl@redhat.com>
3053 * gio/gdesktopappinfo.c:
3054 * gio/glocaldirectorymonitor.c:
3056 * gio/glocalfileinfo.c:
3057 * gio/inotify/inotify-sub.c:
3058 * programs/gio-cat.c:
3059 * programs/gio-copy.c:
3060 * programs/gio-info.c:
3061 * programs/gio-ls.c:
3062 * programs/gio-monitor-dir.c:
3063 * programs/gio-monitor-file.c:
3064 * programs/gio-mount.c:
3065 * programs/gio-move.c:
3066 * programs/gio-rm.c:
3067 * programs/gio-save.c:
3068 * programs/gio-trash.c:
3069 Leak fixes from Kjartan Maraas
3071 2007-11-14 Alexander Larsson <alexl@redhat.com>
3073 * gio/fam/fam-helper.c:
3075 * gio/glocalfileinfo.c:
3079 * gio/inotify/inotify-diag.c:
3080 * gio/inotify/inotify-kernel.c:
3081 Various code cleanups from Kjartan Maraas
3083 2007-11-14 Alexander Larsson <alexl@redhat.com>
3085 * gio/gioscheduler.c:
3087 Set up threadpool so that we cache 2 unused
3088 idle threads for at 15 secs. This means we
3089 will reuse thread-local data (like dbus connections)
3092 2007-11-14 Alexander Larsson <alexl@redhat.com>
3094 * gio/fam/fam-helper.c:
3095 * gio/fam/gfamdirectorymonitor.c:
3096 * gio/fam/gfamfilemonitor.c:
3098 * gio/gcontenttype.c:
3099 * gio/gdatainputstream.c:
3100 * gio/gdataoutputstream.c:
3104 * gio/gfileattribute.h:
3105 * gio/gfileenumerator.c:
3107 * gio/ginputstream.c:
3110 * gio/glocalfileinfo.c:
3111 * gio/goutputstream.c:
3112 * gio/gpollfilemonitor.c:
3113 * gio/gsimpleasyncresult.c:
3114 * gio/gunixmounts.c:
3115 * gio/gunixmounts.h:
3116 * gio/inotify/ginotifydirectorymonitor.c:
3117 * gio/inotify/ginotifyfilemonitor.c:
3118 * gio/inotify/inotify-diag.c:
3119 * gio/inotify/inotify-kernel.c:
3120 * gio/inotify/inotify-path.c:
3122 * gio/test-streams.c:
3123 * programs/gio-info.c:
3124 * programs/gio-monitor-dir.c:
3125 * programs/gio-monitor-file.c:
3126 Various code cleanups from Kjartan Maraas
3128 2007-11-13 Alexander Larsson <alexl@redhat.com>
3131 Handle the uri-scheme calls for dummy files
3133 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3135 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3136 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3137 to avoid clash with the C++ keyword.
3139 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3141 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3142 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3144 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3146 * gio/glocaldirectorymonitor.c:
3147 * gio/glocalfilemonitor.c:
3148 * gio/gunionvolumemonitor.c:
3149 Don't use g_once_init_*() for initializations that could fail and
3150 could leave the initialization variable set to 0 but use GOnce.
3151 This prevents a deadlock on the second call when trying to create
3152 a monitor and no monitor type is available. Thanks to Sven Herzberg
3155 2007-11-11 Sven Herzberg <sven@imendio.com>
3157 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3158 #ifdef (make it work on MacOS X again)
3160 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3162 Fixes Changelog for last two commits (sorry guys).
3164 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3166 * gio/gbufferedinputstream.c:
3167 * gio/gdatainputstream.c:
3169 * gio/gfileoutputstream.c:
3170 * gio/gfilterinputstream.c:
3171 * gio/glocalfileinputstream.c:
3174 More consistency fixes in g*stream.c files.
3175 Significant clean of gfile's documentation, filling in of
3176 asynchronous operations documentation.
3178 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3180 * gio/gasyncresult.c:
3181 * gio/gbufferedinputstream.c:
3182 * gio/gbufferedoutputstream.c:
3183 * gio/gcancellable.c:
3184 * gio/gcontenttype.c:
3185 * gio/gdatainputstream.c:
3186 * gio/gdataoutputstream.c:
3187 * gio/gdesktopappinfo.c:
3190 * gio/gfileattribute.c:
3191 * gio/gio/gfileenumerator.c:
3193 * gio/gfileinputstream.c:
3194 * gio/gfilemonitor.c:
3195 * gio/gfileoutputstream.c:
3196 * gio/ginputstream.c:
3198 * gio/gioscheduler.c:
3199 * gio/gloadableicon.c:
3200 * gio/glocalfileoutputstream.c:
3201 * gio/gmemoryoutputstream.c:
3202 * gio/gmountoperation.c:
3203 * gio/goutputstream.c:
3205 * gio/gsimpleasyncresult.c:
3206 * gio/gunionvolumemonitor.c:
3207 * gio/gunixmounts.c:
3208 * gio/gunixvolume.c:
3212 * gio/gvolumemonitor.c:
3213 Updated documentation stubs, working towards consistency and
3216 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3218 * gio/gmemoryoutputstream.c:
3219 * gio/gmemoryoutputstream.h:
3220 Change g_memory_output_stream_set_free_on_close() to
3221 g_memory_output_stream_set_free_data() as this makes more sense and
3222 is more consistent with GMemoryInputStream.
3224 2007-11-07 Alexander Larsson <alexl@redhat.com>
3231 Change how we find the default vfs so that
3232 we can handle a gvfs failing to init
3234 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3236 * gio/gbufferedoutputstream.c:
3237 * gio/gdatainputstream.c:
3238 * gio/gdataoutputstream.c:
3239 * gio/gfileinputstream.c:
3240 * gio/gfileoutputstream.c:
3241 * gio/gfilterinputstream.c:
3242 * gio/gfilteroutputstream.c:
3243 * gio/ginputstream.c:
3244 * gio/gmemoryinputstream.c:
3245 * gio/gmemoryoutputstream.c:
3246 * gio/goutputstream.c:
3247 * gio/gsimpleasyncresult.c:
3248 * gio/gsocketinputstream.c:
3249 * gio/gsocketoutputstream.c:
3250 Add guards to the remaining public functions, add a TODO for
3251 an unimplemented function and remove some useless guards.
3253 2007-11-07 Alexander Larsson <alexl@redhat.com>
3256 Autoconf checks for the various types of
3257 getpwuid_r and getgrgid_r
3259 * gio/glocalfileinfo.c:
3260 Use the autoconf checks from above
3262 2007-11-07 Alexander Larsson <alexl@redhat.com>
3265 (g_local_file_query_filesystem_info):
3266 Some fixes for the statvfs case
3268 2007-11-07 Alexander Larsson <alexl@redhat.com>
3271 (g_local_file_query_filesystem_info):
3272 Pick the "best" of statfs / statvfs for the system
3273 if both are availible.
3275 2007-11-07 Alexander Larsson <alexl@redhat.com>
3277 Solaris fixes from Halton.Huo@Sun.COM:
3284 * gio/glocalfileinfo.c:
3285 Fix for solaris definition of getpwuid_r
3287 * gio/test-streams.c:
3288 Use G_GNUC_PRETTY_FUNCTION
3290 2007-11-07 Alexander Larsson <alexl@redhat.com>
3292 * gio/gdesktopappinfo.c:
3293 (update_default_list):
3294 Remove double semicolon.
3295 Patch from Jens Granseuer
3297 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3299 * docs/reference/gio/gio-sections.txt:
3300 * gio/gbufferedinputstream.c:
3301 * gio/gbufferedinputstream.h:
3302 * gio/gdatainputstream.c:
3303 * gio/gfileenumerator.c:
3304 * gio/gioscheduler.c:
3305 * gio/gunionvolumemonitor.c:
3307 * programs/gio-save.c:
3308 Fix typo: availible -> available. Unfortuntely this breaks API
3309 and ABI as g_buffered_input_stream_get_available() was renamed.
3311 * gio/gunixmounts.c:
3312 * gio/gbufferedinputstream.c:
3313 Add guards for public functions.
3315 2007-11-06 Ross Burton <ross@openedhand.com>
3317 * docs/reference/gio/Makefile.am:
3318 Fix invalid += usage which automake 1.10 doesn't like.
3320 2007-11-06 Alexander Larsson <alexl@redhat.com>
3323 (g_app_launch_context_class_init):
3326 Patch from Ross Burton
3328 2007-11-06 Alexander Larsson <alexl@redhat.com>
3331 Post release version bump
3333 === gio-standalone 0.1.1 ===
3335 2007-11-06 Alexander Larsson <alexl@redhat.com>
3338 Bump version to 0.1.1
3340 * gio/gsimpleasyncresult.c:
3341 (g_simple_async_result_set_from_error):
3342 Remove bogus g_return_if_fail
3344 2007-11-06 Alexander Larsson <alexl@redhat.com>
3347 The name is gio-standalone
3350 Add top src/builddir to includedir
3352 2007-11-06 Alexander Larsson <alexl@redhat.com>
3354 * docs/reference/gio/gio-sections.txt:
3356 * gio/gbufferedinputstream.c:
3357 * gio/gbufferedoutputstream.c:
3358 * gio/gcancellable.c:
3359 * gio/gdatainputstream.h:
3360 * gio/gdataoutputstream.c:
3361 * gio/gdataoutputstream.h:
3362 * gio/gdirectorymonitor.c:
3364 * gio/gfileattribute.c:
3365 * gio/gfileattribute.h:
3366 * gio/gfileenumerator.c:
3367 * gio/gfileenumerator.h:
3370 * gio/gfileinputstream.h:
3371 * gio/gfilemonitor.c:
3372 * gio/gfileoutputstream.h:
3373 * gio/glocalfilemonitor.h:
3374 * gio/glocalfileoutputstream.h:
3375 * gio/gmemoryinputstream.c:
3376 * gio/gmemoryoutputstream.c:
3377 * gio/gmountoperation.c:
3378 * gio/goutputstream.c:
3379 * gio/goutputstream.h:
3381 * gio/gsimpleasyncresult.c:
3382 * gio/gunixmounts.c:
3383 * gio/gunixmounts.h:
3385 * gio/inotify/inotify-helper.c:
3386 Fix gtk-doc warnings
3388 Patch from Ross Burton
3390 2007-11-06 Alexander Larsson <alexl@redhat.com>
3392 * gio/gfilenamecompleter.c:
3393 (g_filename_completer_get_completions):
3396 * gio/gunixvolume.c:
3397 Remove unused function
3399 Patches from Ross Burton
3401 2007-11-06 Alexander Larsson <alexl@redhat.com>
3406 Padding not needed for interfaces
3408 2007-11-06 Alexander Larsson <alexl@redhat.com>
3410 * gio/gfilemonitor.c:
3414 Make giotypes.h an internal file
3417 * gio/gbufferedinputstream.h:
3418 * gio/gbufferedoutputstream.h:
3419 * gio/gcancellable.h:
3420 * gio/gdatainputstream.h:
3421 * gio/gdataoutputstream.h:
3422 * gio/gdirectorymonitor.c:
3423 * gio/gdirectorymonitor.h:
3428 * gio/gfileattribute.h:
3429 * gio/gfileenumerator.h:
3434 * gio/gfilemonitor.c:
3435 * gio/gfilemonitor.h:
3436 * gio/gfilenamecompleter.c:
3437 * gio/gfilenamecompleter.h:
3438 * gio/gfilterinputstream.h:
3439 * gio/gfilteroutputstream.h:
3440 * gio/ginputstream.h:
3441 * gio/gmemoryinputstream.h:
3442 * gio/gmemoryoutputstream.h:
3443 * gio/gmountoperation.c:
3444 * gio/gmountoperation.h:
3445 * gio/gnativevolumemonitor.c:
3446 * gio/goutputstream.h:
3449 * gio/gsimpleasyncresult.c:
3450 * gio/gsimpleasyncresult.h:
3451 * gio/gsocketinputstream.h:
3452 * gio/gsocketoutputstream.h:
3453 * gio/gthemedicon.c:
3454 * gio/gthemedicon.h:
3458 * gio/gvolumemonitor.c:
3459 * gio/gvolumemonitor.h:
3460 Add padding in classes where it seems useful
3461 Don't include giotypes.h from public headers
3462 Move in Class definitions into c file where possible
3467 2007-11-06 Alexander Larsson <alexl@redhat.com>
3469 * docs/reference/gio/gio-docs.xml:
3470 Better structure for API docs
3472 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3475 * gio/gloadableicon.c:
3476 * gio/gsimpleasyncresult.c:
3477 * gio/gthemedicon.c:
3478 Add some more guards to public functions. Only files missing are now
3481 2007-11-06 Alexander Larsson <alexl@redhat.com>
3483 * docs/reference/gio/gio-docs.xml:
3484 Remove old files, add missing ones
3486 2007-11-06 Alexander Larsson <alexl@redhat.com>
3488 * docs/reference/gio/gio-sections.txt:
3491 Hide implementation classes
3493 * gio/gdriveprivate.h:
3494 * gio/gvolumeprivate.h:
3495 Remove non-existing function declarations
3497 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3500 Fix compilation warnings and add guards to the new functions.
3502 * gio/gasyncresult.c:
3504 Add guards to the public functions.
3507 Implement get_path().
3509 2007-11-06 Alexander Larsson <alexl@redhat.com>
3511 * gio/gfilenamecompleter.c:
3512 Make g_filename_completer_get_completions
3513 return char ** instead of GList for
3516 * docs/reference/gio/gio-docs.xml:
3517 * docs/reference/gio/gio-sections.txt:
3519 * gio/gasyncresult.c:
3520 * gio/gbufferedinputstream.c:
3521 * gio/gbufferedoutputstream.c:
3522 * gio/gcancellable.c:
3523 * gio/gcontenttype.c:
3524 * gio/gdatainputstream.c:
3525 * gio/gdataoutputstream.c:
3526 * gio/gdesktopappinfo.c:
3527 * gio/gdirectorymonitor.c:
3531 * gio/gfileattribute.c:
3532 * gio/gfileenumerator.c:
3535 * gio/gfileinputstream.c:
3536 * gio/gfilemonitor.c:
3537 * gio/gfilenamecompleter.c:
3538 * gio/gfilenamecompleter.h:
3539 * gio/gfileoutputstream.c:
3540 * gio/gfilterinputstream.c:
3542 * gio/ginputstream.c:
3544 * gio/gioscheduler.c:
3545 * gio/gloadableicon.c:
3546 * gio/glocaldirectorymonitor.c:
3548 * gio/glocalfileinputstream.c:
3549 * gio/glocalfilemonitor.c:
3550 * gio/glocalfileoutputstream.c:
3552 * gio/gmemoryinputstream.c:
3553 * gio/gmemoryoutputstream.c:
3554 * gio/gmountoperation.c:
3555 * gio/goutputstream.c:
3556 * gio/gpollfilemonitor.c:
3558 * gio/gsimpleasyncresult.c:
3559 * gio/gsocketinputstream.c:
3560 * gio/gsocketoutputstream.c:
3561 * gio/gthemedicon.c:
3562 * gio/gunionvolumemonitor.c:
3564 * gio/gunixmounts.c:
3565 * gio/gunixvolume.c:
3566 * gio/gunixvolumemonitor.c:
3570 * gio/gvolumemonitor.c:
3571 * gio/gwin32appinfo.c:
3572 Add (mostly stub) doc strings to public functions.
3573 Patch from Andrew Walton (awalton@gmail.com)
3575 2007-11-06 Alexander Larsson <alexl@redhat.com>
3577 * gio/gappinfo.[ch]:
3578 Added GAppLaunchContext object and pass that to launch.
3579 This allows simple implementation of both
3580 launch-on-screen and startup notification via a gtk+
3581 subclass of GAppLaunchContext
3583 * gio/gdesktopappinfo.c:
3584 Implement GAppLaunchContext API
3586 * gio/gwin32appinfo.c:
3589 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3591 * gio/gmountoperation.c:
3592 Add some guards to GMountOperation's public functions.
3594 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3598 * gio/gcancellable.c:
3599 * gio/gdirectorymonitor.c:
3601 * gio/gfileenumerator.c:
3602 * gio/gfilemonitor.c:,
3603 * gio/gfilenamecompleter.c:
3606 * gio/gioscheduler.c:
3610 * gio/gvolumemonitor.c:
3611 Add even more guards to various public functions.
3613 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3616 Add guards to the public functions of GAppInfo.
3618 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3620 * gio/gcontenttype.c:
3621 Add some more guards for public functions.
3623 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3625 * gio/fam/fam-module.c:
3626 * gio/fam/gfamdirectorymonitor.c:
3627 * gio/fam/gfamdirectorymonitor.h:
3628 * gio/fam/gfamfilemonitor.c:
3629 * gio/fam/gfamfilemonitor.h:
3630 * gio/inotify/ginotifydirectorymonitor.c:
3631 * gio/inotify/ginotifydirectorymonitor.h:
3632 * gio/inotify/ginotifyfilemonitor.c:
3633 * gio/inotify/ginotifyfilemonitor.h:
3634 Add proper copyright information and remove an unused variable
3635 in the GInotifyFileMonitor constructor.
3637 * gio/gcancellable.c:
3638 Add a guard for a public function and an assertion to prevent
3639 an undefined program state.
3641 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3643 * gio/gfileattribute.c:
3644 Don't run into an assertion if the given attribute value is NULL
3645 in g_file_attribute_value_get_*() but instead return a fallback
3646 value that makes sense in most situations. Passing them a attribute
3647 value with the wrong type will still run into an assertion.
3649 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3651 * gio/gfileattribute.c:
3653 Add even more guards to the public functions. Also fix the refcounting
3654 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3655 let g_file_info_list_attributes() filter the attributes by namespace
3656 instead of simply ignoring the namespace parameter.
3658 2007-11-03 Sven Herzberg <sven@imendio.com>
3660 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3661 (This makes gio work on MacOS X again)
3663 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3666 Build the gio subdirectory before the docs. Otherwise the build will
3669 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3670 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3671 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3672 Add guards to the public functions.
3674 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3676 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3677 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3678 to prevent a compiler warning.
3680 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3681 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3682 return something in the non-void function find_topdir_for().
3684 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3691 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3693 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3694 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3695 * gwin32appinfo.c (g_win32_app_info_launch):
3696 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3697 envp_for_startup_id, g_desktop_app_info_launch,
3698 g_desktop_app_info_launch_uris):
3700 Give an opaque 'startup_id' string instead of 'envp'.
3701 Support empty file lists for launching new windows.
3702 Fix infinite recursion bug when launching URIs.
3704 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3707 Add guard to the new g_file_get_uri_scheme() function.
3709 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3712 Convert a g_return_val_if_fail() to setting the GError instead as
3713 otherwise applications have to verify the parameter before otherwise
3714 and the parameter might come directly from the user.
3716 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3718 * gio/inotify/ginotify*.[ch]:
3719 Add missing copyright information.
3721 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3724 Add guards in the beginning of public functions to check for valid
3725 parameters and fix a bug in copy_stream_with_progress() that could've
3726 caused writing less bytes than reading.
3727 * gio/glocalfileinfo.c:
3728 Check for a NULL parameter and set the GError accordingly then.
3729 * gio/goutputstream.c:
3730 Fix the same bug as in gfile.c that could've caused writing less bytes
3731 than reading in g_output_stream_real_splice().
3733 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3736 Use the correct gvolumeprivate.h naming
3738 2007-11-01 Christian Kellner <gicmo@gnome.org>
3741 Remove leftover "$(daemon_sources)" entry.
3743 2007-11-01 Christian Kellner <gicmo@gnome.org>
3748 Add copyright information to source files.
3750 2007-11-01 Alexander Larsson <alexl@redhat.com>
3754 Add g_file_get_uri_scheme
3756 2007-11-01 Alexander Larsson <alexl@redhat.com>
3759 * gio/gdesktopappinfo.c:
3760 * gio/gwin32appinfo.c:
3761 Add g_app_info_get_default_for_uri_scheme.
3763 2007-11-01 Alexander Larsson <alexl@redhat.com>
3766 Correct filename for gdriveprivate.h
3768 2007-10-31 Alexander Larsson <alexl@redhat.com>
3771 Rename id:value to id:file
3774 * gio/glocalfileinfo.c:
3777 2007-10-31 Alexander Larsson <alexl@redhat.com>
3779 * gio/gunixvolume.c:
3781 Remove g_volume_get_platform_id, as thats not
3782 needed with the simpler union volume monitor
3784 2007-10-31 Alexander Larsson <alexl@redhat.com>
3787 * gio/guniondrive.[ch]: Removed.
3788 * gio/gunionvolume.[ch]: Removed.
3789 Remove GUnionDrive/Volume
3791 * gio/gunionvolumemonitor.c:
3792 Simplify union volume monitor, now we
3793 only have one native volume monitor and
3794 we use the actual volumes/drives from the
3795 child monitors instead of wrapping them
3797 * gio/gnativevolumemonitor.[ch]:
3798 Base class for native volume monitors.
3799 Includes priority and get_volume_for_mountpoint
3802 Add g_file_find_enclosing_volume
3805 Remove volume name fs attribute
3806 Add readonly fs attribute
3809 Implement readonly attribute
3810 remove volume name attribute
3811 Implement find_enclosing volume
3813 * gio/gunixmounts.c:
3814 Add a volume for "/".
3816 * gio/gunixvolume.[ch]:
3817 Set better name for /
3819 * gio/gunixvolumemonitor.[ch]:
3820 Derive from GNativeVolumeMonitor
3821 Implement get_volume_for_mountpoint
3824 GVolume typedef moved to gfile.h
3826 * gio/gvolumeprivate.h:
3827 Add g_volume_get_for_mount_path
3829 2007-10-31 Alexander Larsson <alexl@redhat.com>
3831 * gio/gunixmounts.[ch]:
3832 Add cache info to unix mount listers
3833 Make getmntent use threadsafe
3834 Add is_system_internal attribute for GUnixMount
3836 * gio/gunixvolume.c:
3837 (g_unix_volume_new):
3838 Use is_system_internal instead of own code
3840 * gio/glocaldirectorymonitor.c:
3841 * gio/gunixvolumemonitor.c:
3842 Update to new gunixmounts API
3847 2007-10-30 Alexander Larsson <alexl@redhat.com>
3850 Add volume name fsinfo attribute
3853 Read volume name info
3855 * gio/gunionvolumemonitor.c:
3856 Fix infinite loops when finalizing a union volume monitor
3858 2007-10-30 Alexander Larsson <alexl@redhat.com>
3860 * gio/goutputstream.[ch]:
3861 Add splice() with default implementation
3863 * gio/gsocketoutputstream.c:
3864 (g_socket_output_stream_write):
3865 Return error on cancellation correctly.
3867 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3869 * gio/glocalfile.c (g_local_file_trash):
3870 Do not leak a string.
3872 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3874 * gio/gfile.c (g_file_load_contents):
3875 Unref the stream after closing it.
3877 2007-10-25 Alexander Larsson <alexl@redhat.com>
3879 * gio/gioscheduler.h:
3882 2007-10-25 Alexander Larsson <alexl@redhat.com>
3886 Add g_file_has_uri_scheme and implement for local files
3888 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3890 * gio/gdesktopappinfo.c: do not leak a string.
3892 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3894 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3895 (g_local_directory_monitor_new):
3896 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3897 (g_local_file_monitor_new):
3898 Only look for the monitor type that should be used the first time
3899 and use g_qsort_with_data() instead of our own bubble sort
3902 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3905 * gio/fam/Makefile.am:
3906 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3907 * gio/fam/fam-helper.h:
3908 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3909 * gio/fam/gfamdirectorymonitor.c:
3910 * gio/fam/gfamdirectorymonitor.h:
3911 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3912 * gio/fam/gfamfilemonitor.h:
3913 * gio/glocaldirectorymonitor.c:
3914 * gio/glocaldirectorymonitor.h:
3915 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3916 * gio/glocalfilemonitor.h:
3917 * gio/inotify/Makefile.am:
3918 * gio/inotify/ginotifydirectorymonitor.c:
3919 * gio/inotify/ginotifydirectorymonitor.h:
3920 * gio/inotify/ginotifyfilemonitor.c:
3921 * gio/inotify/ginotifyfilemonitor.h:
3922 Implement the FAM and Inotify monitors as
3923 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3924 their own GIO module. GLocal(Directory|File)Monitor will use the
3925 monitor with the highest rank that is supported on that machine.
3927 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3930 Change GIO module dir to $(libdir)/gio/modules and change
3931 the log domain from GVFS to GIO. Also only export symbols starting
3932 with g_ in the resulting library.
3933 * gio/test-streams.c: (main):
3934 Set log handler for the GIO log domain.
3936 2007-10-22 Alexander Larsson <alexl@redhat.com>
3938 * gio/gfilenamecompleter.[ch]:
3939 Add g_filename_completer_set_dirs_only
3941 2007-10-22 Alexander Larsson <alexl@redhat.com>
3944 * gio/gurifuncs.[ch]:
3945 Add some simple URI helpers
3947 * gio/gfilenamecompleter.[ch]:
3948 Added object for filename (parse name actually) completion
3951 Handle ~ in parse names
3953 2007-10-17 Alexander Larsson <alexl@redhat.com>
3956 * gio/glocalfileinfo.c:
3957 Add and implement id:value attribute
3959 2007-10-17 Alexander Larsson <alexl@redhat.com>
3962 * gio/guniondrive.c:
3964 Add and implement g_drive_has_volumes
3966 2007-10-17 Alexander Larsson <alexl@redhat.com>
3969 * gio/glocalfileinfo.[ch]:
3970 Add unix:is_mountpoint and implement for local files
3972 2007-10-16 Alexander Larsson <alexl@redhat.com>
3974 * gio/gunionvolumemonitor.c:
3975 (g_union_volume_monitor_init):
3976 Fix up the unix type getting so that it works with gcc
3978 2007-10-12 Alexander Larsson <alexl@redhat.com>
3981 * gio/glocalfileinfo.c:
3982 Add thumbnail:failed to file info
3984 2007-10-12 Richard Hult <richard@imendio.com>
3986 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3987 optimizing away the get_type call (happens with some gcc versions,
3988 like the one shipped with OS X 10.4).
3990 2007-10-12 Alexander Larsson <alexl@redhat.com>
3992 * gio/glocalfileinfo.c:
3993 (_g_local_file_info_set_attribute):
3994 Fix build if not HAVE_XATTR
3995 Patch from Milosz Derezynski <internalerror@gmail.com>
3997 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3999 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4000 around for review, otherwise I would have asked you before
4003 2007-10-11 Alexander Larsson <alexl@redhat.com>
4006 Add thumbnail:path attribute
4008 * gio/glocalfileinfo.c:
4009 Implement thumbnail:path for local files
4011 2007-10-11 Alexander Larsson <alexl@redhat.com>
4013 * gio/glocalfileinfo.c:
4014 (_g_local_file_info_get):
4015 Avoid duplicate icon names
4017 2007-10-11 Alexander Larsson <alexl@redhat.com>
4019 * gio/gthemedicon.[ch]:
4020 Change g_themed_icon_get_names return type to const
4022 2007-10-10 Alexander Larsson <alexl@redhat.com>
4024 * gio/glocalfileinfo.c:
4025 Don't reference freed memory
4027 2007-10-10 Alexander Larsson <alexl@redhat.com>
4029 * gio/gfileattribute.c:
4032 * gio/glocalfileinfo.c:
4035 2007-10-10 Alexander Larsson <alexl@redhat.com>
4038 Check for NULL icons
4040 * gio/gfileattribute.c:
4041 Don't dup when getting objects (same as for string attributes)
4043 * gio/gicon.c (g_icon_equal):
4044 Safely handle NULLs in equal
4046 2007-10-10 Alexander Larsson <alexl@redhat.com>
4049 Fix c++ compilation issues
4050 Patch from Milosz Derezynski <internalerror@gmail.com>
4052 2007-10-10 Alexander Larsson <alexl@redhat.com>
4054 * programs/gio-monitor-dir.c:
4055 Don't crash if dir monitor not supported.
4057 2007-10-09 Alexander Larsson <alexl@redhat.com>
4060 Add missing G_END_DECLS
4062 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4064 * gio/gfile.c: (g_file_set_display_name),
4065 (g_file_query_settable_attributes),
4066 (g_file_query_writable_namespaces):
4067 Return NULL not FALSE on errors as the return type is a pointer.
4069 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4071 * gio/glocalfile.c: (g_local_file_monitor_file):
4072 Don't call monitor_file on the default interface vtable (which
4073 is NULL) but simply return NULL. The caller, GFile, will create a
4074 polling monitor if NULL is returned.
4076 2007-10-09 Alexander Larsson <alexl@redhat.com>
4080 * gio-unix-2.0.pc.in:
4081 Add gio-unix-2.0.pc if OS_UNIX
4084 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4086 2007-10-09 Alexander Larsson <alexl@redhat.com>
4088 * gio/gunixmounts.[ch]:
4089 Make unix mount monitoring API sane.
4090 Now its just a object with mounts_changed
4091 and mountpoints_changed signals.
4093 * gio/glocaldirectorymonitor.c:
4094 * gio/gunixvolumemonitor.c:
4095 Use new mount monitor api
4097 2007-10-09 Alexander Larsson <alexl@redhat.com>
4099 * gio/gunixmounts.[ch]:
4100 Move guess type into one call for mounts and one for mountpoints
4103 * gio/gunixvolume.c:
4106 2007-10-09 Alexander Larsson <alexl@redhat.com>
4108 * gio/gunixmounts.[ch]:
4109 Remove _ prefix in preparation to make this semi-public
4110 Hide implementation of structs
4112 * gio/glocaldirectorymonitor.c:
4114 * gio/gunixvolume.c:
4115 * gio/gunixvolumemonitor.c:
4116 Update for above API changes
4118 2007-10-08 Alexander Larsson <alexl@redhat.com>
4121 Better polling fallback. This also handles the case where we have
4122 a monitor_file implementation, but it fails.
4124 2007-10-08 Alexander Larsson <alexl@redhat.com>
4128 * gio/gunixmounts.c:
4129 * programs/gio-monitor-dir.c:
4130 * programs/gio-monitor-file.c:
4131 Added cancellable to file monitoring calls.
4132 These are really sync calls and need this.
4134 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4136 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4137 (g_local_vfs_class_init):
4138 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4139 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4141 2007-10-05 Alexander Larsson <alexl@redhat.com>
4143 * gio/gdirectorymonitorprivate.h:
4144 * gio/gfilemonitorprivate.h:
4145 * gio/gdirectorymonitor.h:
4146 * gio/gfilemonitor.h:
4147 Remove *private.h and move to the public API, so that
4148 we can do implementations outside gio (such as in gvfs)
4150 * gio/gdirectorymonitor.c:
4151 * gio/gfilemonitor.c:
4152 * gio/glocaldirectorymonitor.c:
4153 * gio/gpollfilemonitor.c:
4154 * gio/inotify/inotify-helper.c:
4155 * gio/fam/fam-helper.c:
4156 Update to the new header names
4158 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4160 * gio/gdirectorymonitor.c:
4161 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4164 2007-10-04 Alexander Larsson <alexl@redhat.com>
4166 * gio/glocalfileinfo.c (get_access_rights):
4167 Set CAN_TRASH when we can move the file.
4168 We should really also check for a parent trash dir.
4170 2007-10-04 Alexander Larsson <alexl@redhat.com>
4172 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4173 Add can_trash access attribute
4175 2007-10-04 Alexander Larsson <alexl@redhat.com>
4178 (g_local_file_trash):
4179 Create info file first. This is per-spec and allows
4180 us to actually trash directories.
4182 2007-10-02 Alexander Larsson <alexl@redhat.com>
4184 * gio/gdesktopappinfo.c:
4185 Implement the new mime support code.
4186 Always set app as handling mimetype when being set as default for it
4188 2007-10-01 Alexander Larsson <alexl@redhat.com>
4190 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4191 Fix up check for xattrs:
4193 2007-10-01 Alexander Larsson <alexl@redhat.com>
4196 (g_app_info_set_as_default_for_extension):
4197 (g_app_info_add_supports_type):
4198 (g_app_info_can_remove_supports_type):
4199 (g_app_info_remove_supports_type):
4200 Make these fail nicely if not implemented
4202 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4204 * gio/glocalfileoutputstream.c:
4205 * gio/glocalfileoutputstream.h:
4210 * programs/gio-save.c:
4211 Add a GFileCreateFlags argument to operations that can create
4214 2007-10-01 Alexander Larsson <alexl@redhat.com>
4216 * gio/gappinfo.[ch]:
4217 * gio/gdesktopappinfo.c:
4218 Add more (stubbed out) mime API needed for nautilus
4220 2007-10-01 Alexander Larsson <alexl@redhat.com>
4223 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4224 Add g_app_info_set_as_default_for_extension.
4226 * gio/gdesktopappinfo.c:
4227 Dummy for g_app_info_set_as_default_for_extension
4228 Support flags in g_app_info_create_from_commandline
4230 * gio/gwin32appinfo.c:
4232 Update for API changes
4234 * gio/gthemedicon.c:
4235 Properly NULL-terminate list of icon names
4237 2007-09-28 Alexander Larsson <alexl@redhat.com>
4239 * gio/gloadableicon.h:
4240 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4242 2007-09-28 Alexander Larsson <alexl@redhat.com>
4245 Install headers in $includedir/gio-standalone/
4247 * gio-2.0.pc.in: Added.
4248 * gio-standalone.pc.in: Removed.
4251 Renamed pkg-config file to match glib (for future move)
4252 Update to the new include dir
4255 Add more TODO comments
4257 2007-09-28 Alexander Larsson <alexl@redhat.com>
4259 * gio/gdesktopappinfo.[ch]:
4260 Expose new_from_filename
4261 Add getter for is_hidden and handle it better
4263 2007-09-28 Alexander Larsson <alexl@redhat.com>
4265 * gio/gfileinfo.[ch]:
4266 Rename g_file_size_format_for_display to
4267 g_format_file_size_for_display.
4268 Now it doesn't have the g_file prefix, so we
4269 can later move it to glib.
4271 2007-09-28 Alexander Larsson <alexl@redhat.com>
4273 * gio/gappinfo.[ch]:
4274 Add g_app_info_get_id and g_app_info_get_executable.
4275 Make all getters non-reffing
4276 Make g_app_info_launch take GFile arguments.
4277 Add must_support_uris argument to g_app_info_get_default_for_type.
4279 * gio/gwin32appinfo.c:
4280 Update to GAppInfo api changes
4282 * gio/gdesktopappinfo.c:
4283 Update to GAppInfo api changes
4284 Implement supports_xdg_startup_notify
4286 * gio/gfileicon.c (g_file_icon_get_file):
4287 Make getter non-reffing.
4292 2007-09-27 Alexander Larsson <alexl@redhat.com>
4294 * gio/gfileinfo.[ch]:
4295 Add g_file_size_format_for_display helper
4297 2007-09-27 Alexander Larsson <alexl@redhat.com>
4299 * gio/glocalfileinfo.c:
4300 Set UNIX_GID from gid, not from uid
4302 2007-09-27 Alexander Larsson <alexl@redhat.com>
4305 Add g_file_set_attributes_async
4307 2007-09-27 Alexander Larsson <alexl@redhat.com>
4309 * gio/glocalfile.c (g_local_file_set_display_name):
4310 Fix set_display_name to actually rename to the right place.
4311 Use lstat to look for existing files so we don't overwrite
4314 2007-09-26 Alexander Larsson <alexl@redhat.com>
4317 Add g_file_set_display_name_async()
4319 2007-09-26 Alexander Larsson <alexl@redhat.com>
4322 Add load_partial_contents async calls
4325 Make internal function static
4327 2007-09-26 Alexander Larsson <alexl@redhat.com>
4329 * gio/glocalfileinfo.c:
4330 Correctly detect broken symlinks
4332 2007-09-26 Alexander Larsson <alexl@redhat.com>
4334 * gio/gcancellable.c (g_cancellable_cancel):
4335 Allow cancel on NULL cancellable
4337 2007-09-25 Alexander Larsson <alexl@redhat.com>
4339 * gio/gsimpleasyncresult.c:
4340 Don't allocate g_error manually.
4341 Fixes g_slice/g_new mixup crash
4343 2007-09-25 Alexander Larsson <alexl@redhat.com>
4345 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4346 Actually set active_backend.
4347 This means the monitor will be cancelled correctly.
4349 2007-09-25 Alexander Larsson <alexl@redhat.com>
4351 * gio/gdirectorymonitor.c:
4352 Set timeout to NULL when destroying
4354 2007-09-25 Alexander Larsson <alexl@redhat.com>
4357 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4358 that is a better description of the error.
4360 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4362 * gio/gvfs.c: (g_vfs_get_local):
4363 Make the local vfs variable static. The same instance should
4366 2007-09-24 Alexander Larsson <alexl@redhat.com>
4368 * gio/glocalfileinfo.c:
4369 Pass in actual length read into sniffer, not the length
4372 2007-09-21 Alexander Larsson <alexl@redhat.com>
4374 * gio/gfileenumerator.c:
4377 * gio/gfileinputstream.c:
4378 * gio/gfileoutputstream.c:
4379 * gio/ginputstream.c:
4380 * gio/goutputstream.c:
4381 Don't crash if async callbacks are NULL
4383 2007-09-20 Alexander Larsson <alexl@redhat.com>
4386 Add async enumerate_children method and default
4389 2007-09-20 Alexander Larsson <alexl@redhat.com>
4392 Add g_file_contains_file & g_file_get_relative_path, since they
4393 were needed for nautilus.
4394 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4399 Implement new methods
4401 2007-09-17 Alexander Larsson <alexl@redhat.com>
4404 * gio/gfileinputstream.[ch]:
4405 * gio/gfileoutputstream.[ch]:
4407 * gio/glocalfileenumerator.[ch]:
4408 * gio/glocalfileinfo.[ch]:
4409 * gio/glocalfileinputstream.c:
4410 * gio/glocalfileoutputstream.c:
4411 * gio/gpollfilemonitor.c:
4412 * programs/gio-copy.c:
4413 * programs/gio-info.c:
4414 * programs/gio-move.c:
4415 Rename get_file_info to query_info() to make it clearer
4416 that these are not simple getters, but do i/o.
4418 2007-09-17 Alexander Larsson <alexl@redhat.com>
4420 * gio/gdatainputstream.[ch]:
4421 * gio/test-streams.c:
4422 Use _read_XXX instead of _get_XXX for the i/o calls
4425 2007-09-17 Alexander Larsson <alexl@redhat.com>
4428 Added needed stuff to TODO comment
4430 2007-09-17 Alexander Larsson <alexl@redhat.com>
4432 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4433 Don't error out removing the backup copy if it doesn't
4436 2007-09-14 Alexander Larsson <alexl@redhat.com>
4438 * programs/Makefile.am:
4439 * programs/gvfs-*.c:
4441 Renamed apps from gvfs-xxx to gio-xxx.
4443 2007-09-14 Alexander Larsson <alexl@redhat.com>
4446 * gio/gfileoutputstream.[ch]:
4447 * gio/glocalfileoutputstream.c:
4448 * programs/gvfs-save.c:
4449 g_file_output_stream_get_etag doesn't do i/o, so remove
4450 cancellation and error.
4452 2007-09-14 Alexander Larsson <alexl@redhat.com>
4455 Add new_etag output to replace_contents functions
4457 2007-09-14 Alexander Larsson <alexl@redhat.com>
4459 * gio/gfileoutputstream.[ch]:
4460 Add async get_file_info and default implementation
4462 2007-09-14 Alexander Larsson <alexl@redhat.com>
4464 * gio/gfileinputstream.c:
4465 Implement fallback wrapper for async get_file_info
4467 2007-09-14 Alexander Larsson <alexl@redhat.com>
4470 Add etag out argument to load_contents
4475 2007-09-14 Alexander Larsson <alexl@redhat.com>
4477 * gio/gcontenttype.c (looks_like_text):
4478 Whitespace like tab, cr and lf do not make the
4481 2007-09-14 Alexander Larsson <alexl@redhat.com>
4483 * gio/gfileinputstream.[ch]:
4484 Add async get_file_info.
4486 2007-09-13 Alexander Larsson <alexl@redhat.com>
4488 * gio/goutputstream.c (g_output_stream_write_all):
4489 Allow NULL for bytes_written
4491 2007-09-13 Alexander Larsson <alexl@redhat.com>
4493 * gio/gmemoryinputstream.[ch]:
4494 Add accessors for data
4496 2007-09-13 Alexander Larsson <alexl@redhat.com>
4498 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4499 Don't crash if length is NULL