1 2008-07-18 Matthias Clasen <mclasen@redhat.com>
3 Bug 543040 – async reading on dummy file will crash on
6 * gfile.c (open_read_async_thread): Cope with read_fn being
7 NULL. Reported by Lin Ma.
9 2008-07-18 Matthias Clasen <mclasen@redhat.com>
12 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
14 2008-07-16 Matthias Clasen <mclasen@redhat.com>
18 * giomodule.c: Rename a chapter id to avoid filename conflict.
20 2008-07-16 Matthias Clasen <mclasen@redhat.com>
22 Bug 540616 – mem leak in filechooser button
24 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
25 the mount entry. Reported by Chrisitan Persch
27 2008-07-16 Matthias Clasen <mclasen@redhat.com>
29 * gfile.c: Small documentation fixes.
31 2008-07-15 Matthias Clasen <mclasen@redhat.com>
33 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
35 2008-07-08 Matthias Clasen <mclasen@redhat.com>
40 * gmount.c: Documentation improvements.
42 2008-07-08 Matthias Clasen <mclasen@redhat.com>
45 * gmount.[hc]: Add g_mount_guess_content_type().
47 2008-07-06 David Zeuthen <davidz@redhat.com>
50 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
51 is needed for easily handling adoption of foreign volumes by
52 out-of-process volume monitors (#541793)
54 2008-07-06 David Zeuthen <davidz@redhat.com>
56 * gvolumemonitor.[ch]:
57 * gunionvolumemonitor.c: Export the eject-button signal on the
58 volume monitor class (#541794).
60 2008-07-06 Matthias Clasen <mclasen@redhat.com>
62 * gappinfo.c: More doc tweaks
64 2008-07-05 Matthias Clasen <mclasen@redhat.com>
66 * gappinfo.c: Clarify some docs
68 2008-07-03 Matthias Clasen <mclasen@redhat.com>
70 * gdesktopappinfo.c: Fix a stupid mistake.
72 2008-07-02 Matthias Clasen <mclasen@redhat.com>
74 * === Released 2.17.3 ===
76 2008-07-02 Matthias Clasen <mclasen@redhat.com>
78 * gfilemonitor.c: Fix the build.
80 2008-07-02 Matthias Clasen <mclasen@redhat.com>
82 Bug 536160 – Add g_file_monitor()
85 * gfile.[hc]: Add g_file_monitor which can return either
86 a file or a directory monitor. Proposed by Behdad Esfahbod
88 2008-07-02 Matthias Clasen <mclasen@redhat.com>
90 536733 – gio build failure on Irix
92 * glocalfile.c: Use a configure check for structfs.f_bavail.
94 2008-07-02 Matthias Clasen <mclasen@redhat.com>
96 Bug 534639 – add g_desktop_app_info_new_from_keyfile
99 * gdesktopappinfo.[hc]: Add a function to create a
100 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
102 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
104 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
106 2008-07-01 Matthias Clasen <mclasen@redhat.com>
108 * gunixmounts.c: Fix a doc typo.
110 2008-07-01 Cody Russell <bratsche@gnome.org>
112 * gio/gcontenttype.c:
113 * gio/gwin32appinfo.c:
114 * gio/gwin32volumemonitor.c:
115 * gio/gwin32mount.c: Fixed some include problems.
117 2008-07-01 Cody Russell <bratsche@gnome.org>
121 Moved all relevant typedefs into these files.
124 Updated wrt added files.
126 Split types into separate file for easier maintainership. (#538564)
128 2008-06-30 Matthias Clasen <mclasen@redhat.com>
130 Bug 540331 – g_file_append_to () documentation: can return NULL
132 * gfile.c (g_file_append_to): Clarify docs.
135 2008-06-30 Matthias Clasen <mclasen@redhat.com>
137 Bug 539090 – g_content_type_from_mime_type() should unalias
139 * gcontentype.c (g_content_type_from_mime_type): Unalias.
140 Patch by Markus Bergman
142 2008-06-30 Matthias Clasen <mclasen@redhat.com>
144 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
147 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
148 on ppc and alpha. Reported by Mart Raudsepp
150 2008-06-29 Matthias Clasen <mclasen@redhat.com>
153 * tests/memory-output-stream.c: Add some tests for
156 2008-06-29 Matthias Clasen <mclasen@redhat.com>
158 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
161 * gmemoryoutputstream.c (array_resize): Handle truncation to
162 zero correctly. Reported by Akira Tagoh
164 2008-06-29 Matthias Clasen <mclasen@redhat.com>
166 * gmemoryoutputstream.c: Trivial doc fixes
168 2008-06-29 Matthias Clasen <mclasen@redhat.com>
170 Bug 540802 – g_list_prepend doesn't concat lists
172 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
173 one list to another. Pointed out by Jan Arne Petersen
175 2008-06-28 Michael Natterer <mitch@imendio.com>
177 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
179 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
181 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
182 to avoid problems with partial icon themes.
184 2008-06-17 Hans Breuer <hans@breuer.org>
186 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
187 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
188 access again on win32, see bug #538127
189 * giomodule.c : ensure GWin32VolumeMonitor is registered
190 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
191 * Makefile.am makefile.msc : updated
193 2008-06-16 Hans Breuer <hans@breuer.org>
195 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
196 and initialization in one step avoids c99ism
198 2008-06-16 Christian Persch <chpe@gnome.org>
201 * gio/gbufferedinputstream.c
203 * gio/gdatainputstream.c
204 * gio/gdesktopappinfo.c
206 * gio/gfileenumerator.c
207 * gio/gfileinputstream.c
208 * gio/gfileoutputstream.c
210 * gio/glocaldirectorymonitor.c
212 * gio/glocalfileenumerator.c
213 * gio/glocalfileinfo.c
214 * gio/glocalfilemonitor.c
215 * gio/glocalfileoutputstream.c
216 * gio/gmemoryinputstream.c
217 * gio/gmemoryoutputstream.c
218 * gio/goutputstream.c
219 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
222 2008-06-16 Tor Lillqvist <tml@novell.com>
224 Bug 538362 - Get Win32 icons back in the file chooser
226 * gcontenttype.c (g_content_type_get_icon): Look up the icon
227 corresponding to a file extension in the Registry. Patch by Hans
229 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
231 2008-06-16 Tor Lillqvist <tml@novell.com>
233 Patches by Hans Breuer:
235 * glocalfile.c (is_xp_or_later): Handle compiling against older
236 SDK headers with missing VerifyVersionInfo(). Conditioned on
237 _MSC_VER, but should probably use some better test.
238 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
239 uninitialised statfs_result variable on Win32.
241 2008-06-16 Michael Natterer <mitch@imendio.com>
243 * *.c: chain up unconditionally in finalize() and dispose(). Also
244 don't dereference these function pointers when calling them since
245 that has no meaning at all.
247 2008-06-16 Ross Burton <ross@burtonini.com>
250 Remove check for dispose implementation as it annoys Emmanuele.
252 2008-06-16 Ross Burton <ross@burtonini.com>
254 Bug 536252 – GFileEnumerator should allow access to the containing
260 Add g_file_enumerator_get_container() and a container writeable
261 construct-only property. Also shuffle around typedefs to make it
264 * glocalfileenumerator.c:
265 * glocalfileenumerator.h:
267 Instead of a string filename take a GFile in the constructor and
268 use it to set the container property.
273 2008-06-16 Matthias Clasen <mclasen@redhat.com>
275 * gfile.c: Make includes more uniform
277 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
279 * tests/live-g-file.c (sample_struct):
280 Use less fancy unicode filenames, so the test doesn't fail
281 on Mac OS X (#531476).
283 2008-06-12 Matthias Clasen <mclasen@redhat.com>
285 * === Released 2.17.2 ===
287 2008-06-12 Matthias Clasen <mclasen@redhat.com>
289 * === Released 2.17.1 ===
291 2008-06-11 A. Walton <awalton@gnome.org>
293 * tests/g-file.c (test_g_file_new_null):
294 Fix broken test case.
296 2008-06-11 Matthias Clasen <mclasen@redhat.com>
298 * pltcheck.sh: We use g_clear_error now.
300 2008-06-11 Matthias Clasen <mclasen@redhat.com>
302 * glocalfile.c (g_local_file_enumerate_children): Revert
303 an unintended change.
305 2008-06-11 Matthias Clasen <mclasen@redhat.com>
307 * gfile.c (g_file_replace_contents): Don't unref before the last use.
309 2008-06-10 Matthias Clasen <mclasen@redhat.com>
311 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
314 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
315 as icon for the desktop directory, also make user-home and
316 user-desktop the preferred icons.
318 2008-06-10 Matthias Clasen <mclasen@redhat.com>
321 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
322 to add a name to the front of the list.
324 2008-06-10 Matthias Clasen <mclasen@redhat.com>
326 Bug 537392 – Additional colon in xattr name
328 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
329 too. Reported by Alessandro Morandi
331 2008-06-10 Matthias Clasen <mclasen@redhat.com>
333 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
336 * glocalfile.c (get_fs_type): Add afs and autofs.
337 Patch by Danny Baumann.
339 2008-06-10 Matthias Clasen <mclasen@redhat.com>
341 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
343 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
344 is no parent. (Owen Taylor, patch by Christian Neumair)
346 2008-06-10 Paolo Borelli <pborelli@katamail.com>
348 * gfile.c (g_file_replace_contents): do not leak the output stream.
350 2008-06-10 Michael Natterer <mitch@imendio.com>
352 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
353 uninitialized memory as array index.
355 2008-06-10 Tor Lillqvist <tml@novell.com>
357 * gcontenttype.c (g_content_type_can_be_executable)
358 (g_content_type_get_icon) [Win32]: Add TODO comments.
360 2008-06-09 Matthias Clasen <mclasen@redhat.com>
362 * xdgmime/Makefile.am: Fix the build
364 2008-06-09 Matthias Clasen <mclasen@redhat.com>
366 * gcontenttype.c (g_content_type_get_icon): Use icons specified
367 in the shared mime database, if available.
369 * xdgmime/*: Sync with upstream. This brings support for
370 glob weights, generic icons, and changes the cache format to
373 2008-05-28 Michael Natterer <mitch@imendio.com>
375 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
376 the global CPPFLAGS now.
378 * tests/data-input-stream.c
379 * tests/data-output-stream.c
380 * tests/g-file-info.c
382 * tests/live-g-file.c
383 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
385 2008-05-27 Matthias Clasen <mclasen@redhat.com>
387 * === Released 2.17.0 ===
389 * tests/live-g-file.c: Clean up after the tests, so make distcheck
390 doesn't complain about leftover files.
392 2008-05-27 simon.zheng <simon.zheng@sun.com>
394 * glocalfile.c: (g_local_file_query_filesystem_info):
395 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
397 2008-05-26 Michael Natterer <mitch@imendio.com>
399 * gmemoryoutputstream.h: declare
400 g_memory_output_stream_get_data_size().
402 2008-05-26 Matthias Clasen <mclasen@redhat.com>
404 * tests/*: Make tests work
406 2008-05-26 Matthias Clasen <mclasen@redhat.com>
408 * gio.symbols: Add g_memory_output_stream_get_data_size.
410 2008-05-25 Ross Burton <ross@burtonini.com>
413 Fix typo in error message (#534764).
415 2008-05-25 Ross Burton <ross@burtonini.com>
418 Fix circular dependency loop for gioenumtypes.h (#534759).
420 2008-05-19 Hans Breuer <hans@breuer.org>
422 * Makefile.am : EXTRA_DIST += makefile.msc
424 2008-05-17 Matthias Clasen <mclasen@redhat.com>
427 * gcontenttype.c: (g_content_type_from_mime_type):
428 New function to create a content type from a mime type. (#527175,
431 2008-05-17 Matthias Clasen <mclasen@redhat.com>
433 Bug 532965 – Should not return filesystem::free for certain file systems
435 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
436 free space for ncpfs.
438 2008-05-17 Matthias Clasen <mclasen@redhat.com>
440 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
442 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
443 st_dev might be zero.
445 2008-05-16 Tor Lillqvist <tml@novell.com>
447 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
448 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
450 2008-05-13 Bastien Nocera <hadess@hadess.net>
452 * gfile.c (has_valid_scheme): A URI scheme must start with a
453 letter, even if later more characters are allowed (#532852)
455 2008-05-05 Michael Natterer <mitch@imendio.com>
457 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
458 code from being checked in that breaks the build of applications
459 which use G_DISABLE_SINGLE_INCLUDES.
461 * makegioalias.pl: make the alias file include "glib.h" instead of
464 * gio.symbols: whitespace change to force regeneration of the
465 alias file after above script change.
467 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
469 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
471 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
473 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
475 2008-04-28 David Zeuthen <davidz@redhat.com>
477 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
478 displaying mounts in a subdirectory not accessible to the
481 2008-04-22 Michael Natterer <mitch@imendio.com>
483 * Makefile.am: fix library versioning (it was 0.0.0).
485 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
487 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
488 Default disable all loggings.
489 * fen/fen-kernel.c: (printevent), (port_add_kevent),
490 (port_fetch_event_cb): Fixed two macro nits.
492 2008-04-16 Matthias Clasen <mclasen@redhat.com>
494 * xdgmime/xdgmime.c: Rework the timestamp checking code
495 to protect against duplicate directories in XDG_DATA_DIRS.
496 Fixes fd.o bug 12513, reported by Joe Shaw.
498 2008-04-16 Matthias Clasen <mclasen@redhat.com>
500 Partically revert the last commit after realizing that
501 xdg_mime_media_type_equal doesn't have to init at all.
504 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
506 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
508 2008-04-16 Matthias Clasen <mclasen@redhat.com>
510 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
511 reported by Joe Shaw and Federico Mena Quintero.
513 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
514 (xdg_mime_media_type_equal): Turn into a wrapper around the
517 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
518 functions throughout.
520 2008-04-16 Michael Meeks <michael.meeks@novell.com>
522 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
523 tolerate an empty TryExec= line without failing; nautilus used
524 to create launchers with these in previous versions. Fixes #528433
526 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
528 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
529 after name. Fixes #527132.
531 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
533 * gfile.c: (g_file_replace):
536 2008-04-07 Matthias Clasen <mclasen@redhat.com>
538 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
540 * gfile.c (file_copy_fallback): Fix the argument order. Patch
541 by Christian Kellner.
543 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
545 * gunixmounts.c: (g_unix_mount_guess_should_display):
546 Don't list the user directory as a mount, fix potential issue
547 when other users have a similar naming and don't special case the
548 gvfs mounts there since that's not required (#525866)
550 2008-03-31 Alexander Larsson <alexl@redhat.com>
552 * glocalfile.c (get_parent):
555 2008-03-31 A. Walton <awalton@svn.gnome.org>
557 * gfile.c (g_file_query_file_type):
558 Always return a GFileType enum value (#520715).
560 2008-03-31 Alexander Larsson <alexl@redhat.com>
562 * glocalfileenumerator.c:
563 Read readdir() info in chunks (of 1000) and sort
564 the chunks by inode before stat:ing.
565 This is a 20% performance increase in testing
566 gvfs-ls on /usr/bin with cold cache.
568 2008-03-31 Alexander Larsson <alexl@redhat.com>
570 * gmemoryoutputstream.c:
571 Clarify docs for g_memory_output_stream_get_size.
572 Add g_memory_output_stream_get_data_size.
574 2008-03-30 Matthias Clasen <mclasen@redhat.com>
578 * gfile.h: Add g_file_query_file_type convenience function
579 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
581 2008-03-30 Matthias Clasen <mclasen@redhat.com>
584 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
586 2008-03-28 A. Walton <awalton@svn.gnome.org>
588 * giomodule.c (_g_io_modules_ensure_loaded):
589 Adds GIO_EXTRA_MODULES environment variable support, closing bug
592 2008-03-28 Alexander Larsson <alexl@redhat.com>
595 (copy_stream_with_progress):
598 2008-03-28 Alexander Larsson <alexl@redhat.com>
601 (copy_stream_with_progress):
602 (file_copy_fallback):
603 Fallback to g_file_query_info for source size
604 if g_file_input_stream_query_info fails. (#524579)
606 2008-03-28 Alexander Larsson <alexl@redhat.com>
608 * glocalfile.c (g_local_file_move):
609 Reuse old string instead of adding new one.
611 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
613 * fen/*.[hc]: still copyright issue. I hate copyright.
615 2008-03-27 Alexander Larsson <alexl@redhat.com>
617 * glocalfile.c (g_local_file_move):
618 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
619 file over directory. This is according to the docs and what the move via
620 copy+remove fallback does.
622 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
624 * fen/*.[hc]: Updated copyright.
626 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
628 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
630 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
632 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
633 not emit attribute changed events when optimizing changed events.
634 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
637 2008-03-19 Matthias Clasen <mclasen@redhat.com>
639 * gmountoperation.[hc]: Small documentation additions
641 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
643 * gunixmounts.c: (guess_mount_type):
644 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
646 2008-03-19 Alexander Larsson <alexl@redhat.com>
649 (copy_stream_with_progress):
650 Bump block side for copy to 64k to minimize
651 overhead for low latency links. (#523015)
653 2008-03-16 Tor Lillqvist <tml@novell.com>
655 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
656 depend on gio.def on Windows.
658 2008-03-12 David Zeuthen <davidz@redhat.com>
662 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
664 2008-03-14 Alexander Larsson <alexl@redhat.com>
668 Avoid redudant tests (#521851)
669 Patch from Josselin Mouette
671 2008-03-14 Alexander Larsson <alexl@redhat.com>
674 (g_file_monitor_is_cancelled):
675 Fix C89 issue (#521672)
676 Patch from Jens Granseuer
678 2008-03-14 Alexander Larsson <alexl@redhat.com>
680 * fam/fam-helper.[ch]:
682 Shut down fam (including removing fam GSource) when
683 module is unloaded (#521513)
684 Patch from Joe Marcus Clarke
686 2008-03-14 Alexander Larsson <alexl@redhat.com>
689 (_g_io_modules_ensure_loaded):
692 2008-03-14 Alexander Larsson <alexl@redhat.com>
695 (g_local_file_query_filesystem_info):
696 Use right define name for f_fstypename member check
698 2008-03-14 Alexander Larsson <alexl@redhat.com>
701 * fen/Makefile.am: Added.
702 * fen/fen-data.[ch]: Added.
703 * fen/fen-dump.[ch]: Added.
704 * fen/fen-helper.[ch]: Added.
705 * fen/fen-kernel.[ch]: Added.
706 * fen/fen-missing.[ch]: Added.
707 * fen/fen-node.[ch]: Added.
708 * fen/fen-sub.[ch]: Added.
709 * fen/gfendirectorymonitor.[ch]: Added.
710 * fen/gfenfilemonitor.[ch]: Added.
712 Added Solaris FEN file notification backend.
713 Patch from Lin Ma <Lin.Ma@Sun.COM>
715 2008-03-13 Tor Lillqvist <tml@novell.com>
717 * Makefile.am: Actually use the gio.def file when linking the
718 library on Windows. Produce .lib library for Microsoft's toolchain
719 when possible. Install the .lib and .def file like for the other
722 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
724 * tests/live-g-file.c:
725 Include live-g-file in standard set of tests, making a temporary
726 directory in source structure.
728 Clean target directory before the tests (write mode only)
730 2008-03-12 Tor Lillqvist <tml@novell.com>
732 Bug 517419 - gio win32 directory monitor
733 Implementation by Vlad Grecescu.
736 * win32/gwin32directorymonitor.h
737 * win32/gwin32directorymonitor.c: New files.
739 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
741 * Makefile.am: Add the win32 subdirectory.
743 2008-03-12 Tor Lillqvist <tml@novell.com>
745 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
746 normal struct stat on Unix but struct _stati64 on Windows to have
747 access to 64-bit file size information. Use that instead of struct
748 stat in the functions declared here in this private header.
750 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
751 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
752 warnings about unused functions and variables. Don't set
753 meaningless attributes like inode numbers on Windows.
755 2008-03-12 Benjamin Otte <otte@gnome.org>
758 trim whitespace so gtk-doc groks the function name
760 2008-03-12 Tor Lillqvist <tml@novell.com>
762 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
763 returning FALSE, on Win32.
765 2008-03-11 Alexander Larsson <alexl@redhat.com>
768 * glocalfileinfo.[ch]:
769 Correctly implement can_trash by actually
770 looking for a trash dir, not just assuming
773 2008-03-10 Matthias Clasen <mclasen@redhat.com>
775 * === Released 2.16.1 ===
777 2008-03-11 Alexander Larsson <alexl@redhat.com>
780 Fix crashes in new constructor and properties code
782 2008-03-10 Murray Cumming <murrayc@murrayc.com>
784 * gfile.c: Minor spelling correction in documentation:
785 existance -> existence.
787 2008-03-10 Matthias Clasen <mclasen@redhat.com>
789 * === Released 2.16.0 ===
791 2008-03-10 Matthias Clasen <mclasen@redhat.com>
793 * gio.symbols: Remove g_file_contains_file here, too.
795 2008-03-10 Matthias Clasen <mclasen@redhat.com>
797 * gthemedicon.c: Add properties to make bindings happy. (#517676,
798 Samuel Cormier-Iijima)
800 2008-03-08 Tor Lillqvist <tml@novell.com>
802 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
805 2008-03-07 Alexander Larsson <alexl@redhat.com>
808 (g_local_file_query_filesystem_info):
809 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
810 Patch from Jasper Lievisse Adriaanse
812 2008-03-06 Tor Lillqvist <tml@novell.com>
814 * gfileinfo.h: Correct milliseconds to microseconds in the doc
815 comments for the *_USEC attributes.
817 2008-03-06 Alexander Larsson <alexl@redhat.com>
819 * gfile.c (g_file_query_exists):
820 Add g_return_val_if_fail check (#520700)
822 2008-03-06 Alexander Larsson <alexl@redhat.com>
827 * gunionvolumemonitor.c:
830 * tests/live-g-file.c:
831 * xdgmime/xdgmimecache.c:
832 Fix sparse warnings (#519489)
834 2008-03-05 Alexander Larsson <alexl@redhat.com>
837 Make cancellation threadsafe (i.e.
838 guarantee its only done once, and always
841 * glocaldirectorymonitor.c:
842 Make sure we the monitor lives while the
843 mounts_changed callback is being called (#520484)
845 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
847 * gbufferedinputstream.c: Fix typo in parameter
850 2008-03-04 Alexander Larsson <alexl@redhat.com>
853 Remove deprecated symbols we kept for one release.
855 2008-03-04 Murray Cumming <murrayc@murrayc.com>
858 * goutputstream.c: Tiny documentation corrections.
860 2008-03-03 Alexander Larsson <alexl@redhat.com>
862 * gunionvolumemonitor.c:
864 Fix the adopt_orphan_mount vfunc to take a
865 volume_monitor reference in an ABI compat way.
866 This change is not API compat, but the added
867 arg is not used in the only user of this vfunc, so
868 all we get is a harmless warning in gvfs (#520169)
870 2008-03-01 Benjamin Otte <otte@gnome.org>
873 clarify docs for g_file_delete().
875 2008-02-29 Alexander Larsson <alexl@redhat.com>
879 Make sure empty files get text/plain type (#518720)
881 2008-02-27 Alexander Larsson <alexl@redhat.com>
887 (g_unix_volume_mount):
888 Add missing GMountMountFlags argument
890 2008-02-26 Alexander Larsson <alexl@redhat.com>
893 (g_local_file_delete):
894 Handle filesystems (like ntfs-3g) that return EEXIST instead
895 of ENOTEMPTY (#518816)
897 2008-02-25 Matthias Clasen <mclasen@redhat.com>
899 * === Released 2.15.6 ===
901 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
903 * gfile.c (g_file_find_enclosing_mount):
904 * ginputstream.c (g_input_stream_set_pending):
905 * glocalfile.c (g_local_file_find_enclosing_mount):
906 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
907 * goutputstream.c (g_output_stream_set_pending):
909 Fixup translator comments (#518578).
911 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
913 * gfile.c (g_file_find_enclosing_mount):
915 * glocalfile.c (g_local_file_find_enclosing_mount):
918 Fix a few typos in translator comments and documentation.
920 2008-02-25 Alexander Larsson <alexl@redhat.com>
927 Add translator comments (#518578)
929 2008-02-25 Alexander Larsson <alexl@redhat.com>
932 Reintroduce g_file_contains_file, keep around for one
933 unstable release cycle to avoid crashing to many apps.
934 Make sure to delete after release.
936 2008-02-25 Alexander Larsson <alexl@redhat.com>
939 Remove deprecated g_file_contains_file.
941 2008-02-25 Alexander Larsson <alexl@redhat.com>
944 Emit actual change signals in an idle handler.
945 This avoids reentrance and locking problems in
946 the file notification backends.
948 2008-02-25 Alexander Larsson <alexl@redhat.com>
951 (g_unix_mount_guess_should_display):
952 Remove type guessing, instead just display
953 mounts in /media and in ~/.
955 2008-02-25 Alexander Larsson <alexl@redhat.com>
958 Make new strings reuse old ones.
960 2008-02-25 Alexander Larsson <alexl@redhat.com>
963 Implement trashing and filesystem::readonly for win32 (#517235)
964 Patch from Yevgen Muntyan
966 2008-02-23 Matthias Clasen <mclasen@redhat.com>
968 * gfileinfo.h: Documentation fixes.
970 2008-02-22 Alexander Larsson <alexl@redhat.com>
972 * gcontenttype.c (g_content_type_get_icon):
973 Look at old-style gnome mime icon names too, as many
974 have not moved to the new style.
976 2008-02-21 Matthias Clasen <mclasen@redhat.com>
978 * *.c: Correct the @include in for section docs.
980 2008-02-21 David Zeuthen <davidz@redhat.com>
982 * glocalfileinfo.c: (_g_local_file_info_get):
984 (g_content_type_get_icon): Implement this function by
985 moving bits from glocalfileinfo.c
986 (g_content_type_get_description): Unalias before getting
987 description (#517687)
989 * gfile.c: (g_file_class_init),
990 (g_file_query_filesystem_info_async),
991 (g_file_query_filesystem_info_finish),
992 (query_filesystem_info_data_free),
993 (query_filesystem_info_async_thread),
994 (g_file_real_query_filesystem_info_async),
995 (g_file_real_query_filesystem_info_finish):
996 * gfile.h: Implement async version of
997 g_file_query_filesystem_info()
999 * gfileinfo.h: Add new attributes for filesystem::use-preview
1001 * gio.symbols: Update
1003 * gthemedicon.c: (g_themed_icon_append_name):
1004 * gthemedicon.h: Add new new convenience function.
1006 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1007 (get_mounts), (get_volumes), (get_connected_drives),
1008 (get_volume_for_uuid), (get_mount_for_uuid),
1009 (g_union_volume_monitor_init), (populate_union_monitor),
1010 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1011 (g_volume_monitor_adopt_orphan_mount):
1013 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1014 monitor implementations to call into the main volume monitor. Also
1015 separate object initialization and volume monitor initialization
1016 such that non-native volume monitors can properly adopt their
1019 2008-02-21 Alexander Larsson <alexl@redhat.com>
1024 2008-02-21 Alexander Larsson <alexl@redhat.com>
1027 Add more documentation about how GFiles work (from #517086)
1029 2008-02-21 Alexander Larsson <alexl@redhat.com>
1033 Add new g_file_has_prefix that does the same as g_file_contains_file.
1034 Deprecate g_file_contains_file and add a macro that converts
1035 it to g_file_has_prefix.
1036 The reason for this change is that the contains_file() name seems to
1037 imply that this does more work than what it does, but its really only
1038 a name match (from #517086)
1043 Update to match the above change.
1045 2008-02-20 Benjamin Otte <otte@gnome.org>
1047 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1048 (g_file_eject_mountable):
1049 even more cases of not returning in error path
1051 2008-02-20 Benjamin Otte <otte@gnome.org>
1053 * gfile.c: (g_file_mount_mountable):
1054 return from function in error path.
1056 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1059 Remove trailing coma in GMountMountFlags struct
1061 2008-02-18 Alexander Larsson <alexl@redhat.com>
1065 * glocalfileoutputstream.c:
1066 Use g_unlink/g_rename instead of unlink/rename;
1067 do not pass raw filenames to g_set_error. (#517239)
1068 Patch from Yevgen Muntyan.
1070 2008-02-18 Alexander Larsson <alexl@redhat.com>
1073 * glocalfileoutputstream.c:
1074 Open files with O_BINARY on windows. (#517140)
1076 2008-02-14 Alexander Larsson <alexl@redhat.com>
1078 * glocalfileoutputstream.c:
1079 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1081 2008-02-14 Alexander Larsson <alexl@redhat.com>
1084 Copy permissions with file on copy (#514084)
1085 This is what cp does and makes sure e.g. the
1086 exec permissions are kept.
1087 Its kinda weird in that it keeps the permission bits
1088 the same while the uid and gid are different. However
1089 the new uid is the user so its not a security issue,
1090 and I've heard no complaints about cp on this issue.
1092 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1094 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1096 2008-02-13 Alexander Larsson <alexl@redhat.com>
1098 * inotify/inotify-path.c:
1099 Define IN_ONLYDIR if not in header (#515346)
1101 2008-02-12 Alexander Larsson <alexl@redhat.com>
1103 * tests/live-g-file.c:
1106 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1108 * === Released 2.15.5 ===
1110 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1112 * gio.symbols: Add g_mount_mount_flags_get_type.
1114 2008-02-11 Alexander Larsson <alexl@redhat.com>
1117 (g_file_info_set_attribute_mask):
1118 (g_file_attribute_matcher_matches_id):
1119 Correctly handle NULL GAttributeMatcher meaning
1120 matches nothing. (Fixes #513492)
1122 2008-02-11 Alexander Larsson <alexl@redhat.com>
1127 Added GMountMountFlags enum and added a flags
1128 argument to all mount calls.
1130 This is an API/ABI change for future extensibility,
1131 as I think we will need at least an
1132 inhibit-autorun flag (the panel needs this).
1133 There are no flags defined yet though.
1135 2008-02-11 Alexander Larsson <alexl@redhat.com>
1138 Added new standard::description attribute.
1139 Requested by Vincent, and useful for both
1142 2008-02-11 Alexander Larsson <alexl@redhat.com>
1144 * gdesktopappinfo.c:
1147 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1149 * *.c: Documentation additions
1151 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1153 * gappinfo.h: Formatting cleanup
1154 * gappinfo.c: Fix up docs.
1156 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1158 * gunixmounts.c: Consistently use getmntent_r() and fall
1159 back to getmntent(). (#515492)
1161 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1163 * gbufferedinputstream.c:
1165 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1167 * tests/data-input-stream.c:
1168 * tests/data-output-stream.c: Portability fixes.
1170 2008-02-08 Alexander Larsson <alexl@redhat.com>
1175 Add g_volume_should_automount.
1178 2008-02-07 Tor Lillqvist <tml@novell.com>
1180 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1181 Win32, too Unix-specific.
1183 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1185 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1186 a local plt if the compiler doesn't support what we want. Bug #514702
1188 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1190 reviewed by: <delete if not using a buddy>
1193 * gunixinputstream.c:
1194 * gunixoutputstream.c:
1196 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1198 * tests/Makefile.am:
1199 * tests/live-g-file.c:
1200 * tests/live-g-file.txt:
1201 New GIO testing module working over real data
1203 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1205 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1206 Fallback to rename() if link() is not available
1207 (when no support on target filesystem)
1209 2008-02-06 Michael Natterer <mitch@imendio.com>
1211 * gfileinfo.c (g_file_info_get_icon): replace
1212 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1214 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1216 * gfile.c (g_file_create):
1217 Documentation update of error codes
1219 2008-02-06 Alexander Larsson <alexl@redhat.com>
1221 * gdesktopappinfo.c:
1222 Update to use both mimeapps.list and
1223 defaults.list as discussed on xdg list.
1225 2008-02-06 Benjamin Otte <otte@gnome.org>
1228 * gfilenamecompleter.c:
1229 Fix some typos in the documentation.
1231 2008-02-06 Alexander Larsson <alexl@redhat.com>
1233 * glocalfile.c (g_local_file_trash):
1234 Don't succeed with trash if newly created
1235 trash dir has the wrong owner. (#514696)
1237 2008-02-05 Alexander Larsson <alexl@redhat.com>
1239 * glocalfile.c (g_local_file_move):
1240 Don't spew warnings when destination is not
1243 2008-02-03 Hans Breuer <hans@breuer.org>
1245 * makefile.msc : update
1247 2008-02-01 Michael Natterer <mitch@imendio.com>
1249 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1250 return value of xdg_mime_list_mime_parents() to a variable of the
1253 2008-02-01 Alexander Larsson <alexl@redhat.com>
1255 * gappinfo.c (g_app_info_launch_uris):
1256 Actually call the launch_uris method, not
1259 2008-02-01 Alexander Larsson <alexl@redhat.com>
1261 * gdesktopappinfo.c (g_desktop_app_info_equal):
1262 Ensure appinfos with no id but same pointer value
1265 2008-02-01 Alexander Larsson <alexl@redhat.com>
1267 * gappinfo.c (g_app_info_launch_default_for_uri):
1270 2008-02-01 Alexander Larsson <alexl@redhat.com>
1274 Add g_app_info_launch_default_for_uri utility
1277 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1279 * gdesktopappinfo.c:
1280 Doc fix for g_app_info_get_default_for_uri_scheme ()
1283 2008-01-30 Alexander Larsson <alexl@redhat.com>
1286 Add doc comment about uris vs GFiles to
1289 * gdesktopappinfo.c:
1290 Ensure uris passed to g_app_info_launch_uris()
1291 are not roundtriped through GFile (as that
1292 may be slightly destructive for e.g. mailto: links)
1294 2008-01-30 Alexander Larsson <alexl@redhat.com>
1296 * tests/data-input-stream.c:
1297 * tests/data-output-stream.c:
1298 C89 fixes from Jens Granseuer (#512849)
1300 2008-01-30 Alexander Larsson <alexl@redhat.com>
1303 Fix gamin/fam difference build issue. (#509419)
1305 2008-01-29 Alexander Larsson <alexl@redhat.com>
1308 * gdesktopappinfo.c:
1309 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1311 2008-01-29 Alexander Larsson <alexl@redhat.com>
1313 * gdesktopappinfo.c:
1314 * gdesktopappinfo.h:
1315 giomodule-priv.h include moved to .c file.
1317 2008-01-29 Alexander Larsson <alexl@redhat.com>
1319 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1320 Remove unused prio/name fields.
1322 2008-01-29 Alexander Larsson <alexl@redhat.com>
1324 * gcontenttype.c (looks_like_text):
1325 Don't treat whitespace as control chars.
1327 2008-01-29 Alexander Larsson <alexl@redhat.com>
1329 * gdesktopappinfo.c:
1330 Lazily create the desktop files for appinfos created
1331 by g_app_info_create_from_commandline() when needed
1332 for mime associations. This allows run-time use
1333 of GAppInfo object without creating unnecessary
1336 2008-01-29 Alexander Larsson <alexl@redhat.com>
1339 Added new symbols to gio.symbols
1341 2008-01-29 Alexander Larsson <alexl@redhat.com>
1344 Add g_file_query_default_handler utility to easily look up
1345 the GAppInfo that handles a file.
1347 * gdesktopappinfo.[ch]:
1349 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1352 Remove unused function
1354 2008-01-29 Alexander Larsson <alexl@redhat.com>
1356 * gfileenumerator.c:
1357 Mention need to free returned value in
1358 g_file_enumerator_next_files_finish docs.
1359 Fix leak if g_file_enumerator_next_files_finish()
1362 2008-01-29 Alexander Larsson <alexl@redhat.com>
1365 (_g_unix_content_type_get_parents):
1366 Use list_parents, not get_parents from xdgmime, because
1367 the later doesn't use the cache.
1369 * xdgmime/xdgmimecache.c:
1370 (_xdg_mime_cache_list_mime_parents):
1371 Don't list the same type as parent multiple times.
1373 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1375 * === Released 2.15.4 ===
1377 2008-01-28 Alexander Larsson <alexl@redhat.com>
1380 Register local vfs with prio 0.
1383 Remove old name and prio class members
1385 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1387 * tests/g-file.c: Disable some tests that are failing in
1388 the absence of a http backend.
1390 2008-01-28 Alexander Larsson <alexl@redhat.com>
1394 Add registration hooks for extension points.
1395 Register the gio extension points.
1397 * fam/gfamdirectorymonitor.c:
1398 * fam/gfamfilemonitor.c:
1399 * glocaldirectorymonitor.[ch]:
1400 * glocalfilemonitor.[ch]:
1401 * gnativevolumemonitor.h:
1402 * gunionvolumemonitor.c:
1403 * gunixvolumemonitor.c:
1406 * inotify/ginotifydirectorymonitor.c:
1407 * inotify/ginotifyfilemonitor.c:
1408 Use the extension points registration instead
1409 of g_type_children().
1411 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1414 * gvolume.[hc]: Document new API.
1416 * gfile.c (g_file_copy_async): Fix docs
1418 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1420 * gbufferedinputstream.c:
1422 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1425 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1427 * glocalfile.c: Avoid trivial differences in translatable strings.
1429 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1431 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1432 build with gcc 3.4 (#509419)
1434 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1436 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1437 (#509994, Murray Cumming)
1439 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1441 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1442 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1443 this allows big jobs to be executed in chunks, instead of blocking
1444 the main loop for a long time.
1446 * gsimpleasyncresult.c:
1447 * giofile.c: Adapt callers.
1449 2008-01-25 Alexander Larsson <alexl@redhat.com>
1451 * gdesktopappinfo.c:
1452 Implement changes discussed on xdg list.
1453 Now we can add supported mimetypes by just using defaults.list
1454 We can also remove associations in defaults.list.
1456 2008-01-25 Alexander Larsson <alexl@redhat.com>
1458 * gdesktopappinfo.c:
1459 Don't make local copy of desktop file
1460 for mimetype changes if the file already
1461 supports the new mimetype.
1463 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1467 * gbufferedinputstream.c:
1468 * glocalfile.c: String improvements. (#511966,
1469 Theppitak Karoonboonyanan)
1471 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1473 * gioscheduler.h: Expand docs a bit.
1475 2008-01-24 Alexander Larsson <alexl@redhat.com>
1478 Add g_drive_get_identifier and
1479 g_drive_enumerate_identifiers
1482 Add g_volume_get_identifier and
1483 g_volume_enumerate_identifiers
1489 Implement identifiers for unix backend
1491 2008-01-24 Alexander Larsson <alexl@redhat.com>
1496 Add g_file_copy_async() (#511580)
1497 Based on patch from Carlos Garcia Campos
1499 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1501 * gioscheduler.c: Some documentation additions.
1503 2008-01-22 Alexander Larsson <alexl@redhat.com>
1505 * gdesktopappinfo.c:
1506 (g_desktop_app_info_new):
1507 Don't leak basename.
1509 2008-01-22 Alexander Larsson <alexl@redhat.com>
1511 * gdesktopappinfo.c:
1512 (g_desktop_app_info_new_from_filename):
1515 2008-01-22 Alexander Larsson <alexl@redhat.com>
1517 * glocalfileinfo.c (get_thumbnail_attributes):
1520 2008-01-22 Alexander Larsson <alexl@redhat.com>
1523 (canonicalize_filename):
1524 Canonicalize paths that start with more than
1528 (compare_two_files):
1529 (test_g_file_new_for_path):
1532 2008-01-22 Alexander Larsson <alexl@redhat.com>
1535 Allow UTF-8 in file:// parse names.
1537 * tests/Makefile.am:
1538 * tests/data-input-stream.c:
1539 * tests/data-output-stream.c:
1540 * tests/g-file-info.c:
1542 Added a bunch of tests from Tomas Bzatek
1544 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1546 * === Released 2.15.3 ===
1548 2008-01-21 Alexander Larsson <alexl@redhat.com>
1550 * gfileinputstream.[ch]:
1551 * gfileoutputstream.[ch]:
1553 Remove duplicated GSeekable functions. (#509990)
1554 Just use the g_seekable_xxx() calls instead.
1556 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1559 * gvolumemanager.c: Whitespace cleanups.
1561 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1562 Use the right mode when creating the file.
1564 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1566 * gfileenumerator.c:
1567 * gfileinputstream.c:
1569 * goutputstream.c: Documentation: Fixed minor typos
1570 and added more mentions of specific _finish() functions.
1572 2008-01-21 Alexander Larsson <alexl@redhat.com>
1574 * inotify/Makefile.am:
1575 * inotify/inotify-helper.c:
1576 * inotify/inotify-kernel.c:
1577 * inotify/inotify-path.c:
1578 * inotify/local_inotify.h: Removed.
1579 * inotify/local_inotify_syscalls.h: Removed.
1580 Removed the included copies of the inotify
1581 headers. We now only use the <sys/inotify.h>
1582 header which exists on modern systems.
1583 This fixes problems on ARM and SH5 (#510448)
1584 but is also generally much cleaner and future
1585 safe. For instance, if other OSes add support
1586 for inotify it should "just work".
1588 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1590 * inotify/*.c: Coding style fixes.
1591 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1592 for the 1/4 Hz timer.
1594 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1597 * gfilemonitor.[hc]:
1598 * gmemoryinputstream.c:
1599 * gmemoryoutputstream.c:
1600 * gmountoperation.c:
1601 * gthemedicon.c: Documentation updates
1603 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1605 * gfile.c: documentation: Fixed more minor
1608 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1610 * gmount.c: (g_mount_remount): documentation:
1611 Mention g_mount_remount_finish() instead of
1612 g_mount_unmount_finish().
1614 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1618 * gfile.c: Fixed some minor typos in the
1621 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1623 * gio/gvolumemonitor.c:
1624 (g_volume_monitor_get_connected_drives):
1625 (g_volume_monitor_get_volumes):
1626 (g_volume_monitor_get_mounts): Documentation:
1627 Clarify the ownership of the regurn GLists.
1629 2008-01-17 Alexander Larsson <alexl@redhat.com>
1632 Add the async find_enclosing_mount version
1633 to the header file too.
1635 2008-01-17 Alexander Larsson <alexl@redhat.com>
1638 Add async version of find_enclosing_mount
1639 with default implementation.
1641 2008-01-17 Alexander Larsson <alexl@redhat.com>
1646 Allow calls to implementation of copy and write
1647 even if the type of the file implementations is
1648 different. This can be used to implement native
1649 upload and download calls in a vfs.
1652 (g_local_file_move):
1653 Protect against the case where move is called
1654 with one file not being local.
1656 Make sure we call the progress callback once
1657 in the native move operation so that the caller
1658 knows how many bytes were copied.
1660 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1663 * gdatainputstream.c:
1665 * gfileoutputstream.c:
1670 * gunixmounts.c: Corrected some typos in the documentation:
1671 occured -> occurred.
1672 its -> it's (where appropriate).
1674 2008-01-16 Alexander Larsson <alexl@redhat.com>
1678 Add g_file_query_exists (#508771)
1680 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1685 * gvolume.c: For async functions that have no non-async
1686 version, document that the GAsyncReadyCallback may be NULL.
1689 2008-01-15 Alexander Larsson <alexl@redhat.com>
1691 * gmemoryinputstream.c:
1692 * gmemoryoutputstream.c:
1693 Don't do pointer arithmetic on void * (#508602)
1694 Patch from Kazuki IWAMOTO
1696 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1698 * === Released 2.15.2 ===
1700 2008-01-14 Alexander Larsson <alexl@redhat.com>
1702 * gfile.c (g_file_monitor_file):
1703 Don't set error here, since we fallback to polling monitor.
1705 2008-01-14 Alexander Larsson <alexl@redhat.com>
1708 (g_file_monitor_directory):
1709 (g_file_monitor_file):
1710 Add GError to file monitor calls
1712 * glocaldirectorymonitor.c:
1713 * glocaldirectorymonitor.h:
1715 * glocalfilemonitor.c:
1716 * glocalfilemonitor.h:
1718 Update for above change
1720 2008-01-14 Alexander Larsson <alexl@redhat.com>
1724 Handle root correctly in g_file_get_relative_path (#508719)
1726 2008-01-14 Alexander Larsson <alexl@redhat.com>
1729 Clean up docs and example for GAsyncResult (#508074)
1731 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1733 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1734 and correct some spelling mistakes. Bug #508108.
1736 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1738 * glocalfileinfo.c: Add a comment.
1740 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1742 * gfileinfo.c: GFileInfo description: Mention
1743 how to actually set attributes in a GFile and how to discover
1744 which attributes are settable. Bug #508378.
1746 2008-01-10 A. Walton <awalton@svn.gnome.org>
1748 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1749 (g_app_info_get_default_for_type):
1750 Check for NULL content types.
1752 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1754 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1756 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1758 * gfile.c: *_async() functions: Several small corrections
1759 to the documentation, mostly correcting copy/paste errors
1760 and improving some sentences.
1762 2008-01-09 Dan Winship <danw@gnome.org>
1764 * glocalfile.c (get_unique_filename): x86_64 fix
1766 2008-01-09 Alexander Larsson <alexl@redhat.com>
1771 Add g_unix_mount_guess_should_display and use
1772 for unix volume monitor backend.
1773 This means we more or less show what the
1774 gnome-vfs backend did.
1775 Based on patch from Padraig O'Briain
1777 2008-01-09 Alexander Larsson <alexl@redhat.com>
1781 Add g_themed_icon_new_with_default_fallbacks
1784 Use default fallbacks for icons
1786 2008-01-09 Alexander Larsson <alexl@redhat.com>
1789 * gmountoperation.[ch]:
1790 Change the API a bit so that unhandled methods
1791 get reported via the reply, rather than by
1792 the signal emission return value. This is because
1793 some handlers can't know this immediately without
1794 doing I/O, and this is an async operation that
1797 2008-01-09 Alexander Larsson <alexl@redhat.com>
1800 * fam/gfamdirectorymonitor.c:
1801 * fam/gfamfilemonitor.c:
1802 Fix double free crash (#508224)
1803 Patch from Joe Marcus Clarke
1805 008-01-07 Matthias Clasen <mclasen@redhat.com>
1807 * === Released 2.15.1 ===
1809 2008-01-07 Alexander Larsson <alexl@redhat.com>
1811 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1812 Fix warning (#507835)
1814 2008-01-07 Alexander Larsson <alexl@redhat.com>
1817 Pass --internal to glib-genmarshal
1820 * gmountoperation.c:
1822 Use better types for signal arguments (#507822)
1824 2008-01-07 Alexander Larsson <alexl@redhat.com>
1827 Build test subdir after .
1828 Remove gdirectorymonitor.[ch]
1830 * gdirectorymonitor.[ch]:
1834 Remove GDirectoryMonitor and make
1835 GFileMonitor the baseclass for both file and
1836 directory monitors. Lift the more generic
1837 rate limiting code from GDirectoryMonitor
1841 * fam/gfamdirectorymonitor.[ch]:
1842 * inotify/ginotifydirectorymonitor.[ch]:
1843 * inotify/inotify-helper.c:
1844 * glocaldirectorymonitor.[ch]:
1847 Update for the removed GDirectoryMonitor.
1849 * gmemoryoutputstream.c:
1850 Remove ununsed variable
1852 2008-01-07 Alexander Larsson <alexl@redhat.com>
1854 * gmemoryinputstream.c:
1855 Translate error strings
1858 * gmemoryoutputstream.[ch]:
1859 New implementation that avoids using GByteArray
1860 in implementation and API. (#506377)
1862 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1864 * tests/*: Add a test for memory input streams.
1866 * Makefile.am: Add tests to SUBDIRS.
1868 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1870 * glocalfilemonitor.c:
1871 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1874 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1876 * gdesktopappinfo.c: Fix a docs typo.
1878 * gfileattribute.c: Add information about extended attributes
1879 to the documentation. (#505058)
1881 2008-01-04 Alexander Larsson <alexl@redhat.com>
1884 * gmountoperation.c:
1885 Use the right type (uint) for the ask_password signal.
1887 2008-01-04 Alexander Larsson <alexl@redhat.com>
1892 Add g_app_info_supports_files()
1893 Remove desktop arg from g_app_info_should_show().
1895 * gdesktopappinfo.[ch]:
1896 Implement g_app_info_supports_files() and new should_show()
1897 Add g_desktop_app_info_set_desktop_env() to set the desktop
1898 for should_show(). (This will be set by gtk+ later)
1900 2008-01-04 Alexander Larsson <alexl@redhat.com>
1903 * gmemoryinputstream.[ch]:
1904 Improve API so that you can use multiple chunks
1905 of memory and custom destroy functions. (#506374)
1907 2008-01-03 Alexander Larsson <alexl@redhat.com>
1910 Handle NULL attribute matchers safely, as we return this
1911 for empty attribute matcher strings.
1913 2008-01-03 Alexander Larsson <alexl@redhat.com>
1915 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1916 Add /usr/local to list of internal mountpoints
1918 2008-01-03 Alexander Larsson <alexl@redhat.com>
1921 Check for HAVE_LCHOWN (#505887)
1923 2008-01-03 Alexander Larsson <alexl@redhat.com>
1927 Add define for selinux context attribute.
1928 Fix missing : -> :: namespace separator change
1929 Fix missing _ -> - name change for xattr-sys.
1932 2008-01-03 Alexander Larsson <alexl@redhat.com>
1935 Link to libglib and libgobject directly (#504879)
1936 Patch from Sebastien Bacher
1938 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1940 * gfile.c: Expanded the g_file_new_for_commandline_arg
1941 description a bit, based on the code and the docs of the
1942 other g_file_new_for_* functions.
1944 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1946 * gfilemonitor.h: Fixed typo in docs.
1948 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1950 Updates to GIO documentation. (#506395, Mikael Hermansson)
1952 * gcontenttype.c: Describe memory management for return value of
1953 g_content_types_get_registered(). Missing piece from #505815.
1954 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1955 GVolume, GDrive, GMounts, which hopefully gives the user less
1956 confusions when using this API. Following explainations from
1957 Alexander Larsson on gtk-devel-list.
1959 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1961 * gfileinfo.c: Expand the long description.
1963 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1966 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1967 fix builds with --disable-visibility. (#500273, Christian Persch)
1969 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1971 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1972 in the list of returned app infos.
1974 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1976 * gappinfo.c: Fix a cross-reference
1978 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1980 * gfileinputstream.c:
1981 * gfileoutputstream.c:
1985 * gdesktopappinfo.c:
1987 * gfileinfo.c: Documentation updates.
1989 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1991 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1994 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1996 * gcontenttype.c (g_content_types_get_registered): Don't return
1997 freed memory (#505815, Mikael Hermansson)
1999 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2001 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2002 used to detect statbuf->st_blocks. (#505042)
2004 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2006 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2007 environment handling. (#504829, Cosimo Cecchi)
2009 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2011 * gappinfo.c: Doc improvements
2013 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2016 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2018 * === Released 2.15.0 ===
2020 2007-12-20 Hans Breuer <hans@breuer.org>
2022 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2023 with symbols gwin32appinfo.obj, added gmount.obj
2024 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2026 2007-12-20 Alexander Larsson <alexl@redhat.com>
2032 * gfilenamecompleter.c:
2035 * gpollfilemonitor.c:
2036 File attribute renames:
2038 fs:: -> filesystem::
2039 id::fs -> id::filesystem
2041 2007-12-20 Alexander Larsson <alexl@redhat.com>
2050 Add GMountUnmountFlags to all unmount and
2052 Add g_mount_remount() call.
2054 2007-12-20 Alexander Larsson <alexl@redhat.com>
2056 * gvfs.c (get_default_vfs):
2057 Fix unused variable warning
2059 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2061 * pltcheck.sh: Update
2063 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2065 * gunionvolumemonitor.c:
2066 * gunixmount.c: Remove C99 comments
2068 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2070 * gio.symbols: Add some missing symbols
2072 2007-12-19 Alexander Larsson <alexl@redhat.com>
2075 Make g_io_modules_load_all_in_directory not unuse
2076 loaded modules so that users of it can do stuff
2078 Init internal "module" types.
2079 Initialize static prio and name for types so that
2080 we don't have to load modules to get it.
2082 * gnativevolumemonitor.h:
2084 Move is_supported to parent class so that
2085 non-native monitors can avoid being initialized
2086 too. (For instance GDaemonVolumeMonitor if we're
2087 not using GDaemonVfs.)
2089 * glocaldirectorymonitor.[ch]:
2090 * glocalfilemonitor.[ch]:
2091 * gunionvolumemonitor.c:
2092 * gunixvolumemonitor.c:
2094 Find plugins using the static prio+name to
2095 avoid unnecessarily loading the modules.
2097 2007-12-19 Alexander Larsson <alexl@redhat.com>
2102 2007-12-19 Alexander Larsson <alexl@redhat.com>
2104 * gunionvolumemonitor.c:
2105 Store the native type as GType, not class so that
2106 we can unload it. But still avoid unnecessarily
2109 2007-12-19 David Zeuthen <davidz@redhat.com>
2111 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2112 add signals 'disconnected' and 'eject-button' on GDrive. Add
2113 signal 'removed' on GVolume and 'unmounted' on GMount.
2115 * gdrive.c: (g_drive_base_init):
2117 * gfile.c: (g_file_mount_mountable),
2118 (g_file_mount_enclosing_volume):
2121 * gmount.c: (g_mount_base_init):
2123 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2124 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2125 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2129 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2131 * *.c: Fix up includes in the section docs.
2133 2007-12-17 Alexander Larsson <alexl@redhat.com>
2135 * gnativevolumemonitor.h:
2136 * gunionvolumemonitor.c:
2137 * gunixvolumemonitor.c:
2138 Add is_supported() to GNativeVolumeMonitorClass so
2139 that we can avoid having to create an object to see
2140 if the backend is supported at runtime.
2141 Also add name member and an env var to pick a specific
2142 volume monitor backend.
2146 Add cancellable to _g_mount_get_for_mount_path()
2148 * glocaldirectorymonitor.c:
2149 * glocalfilemonitor.c:
2150 Avoid loading and unloading modules while sorting.
2152 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2155 * gunixmounts.[hc]: Namespace waste reduction, move some
2156 g_get_unix_mount functions to the g_unix_mount namespace.
2159 * gunixvolumemonitor.c:
2161 * glocaldirectorymonitor.c: Update all callers.
2163 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2165 2007-12-17 Alexander Larsson <alexl@redhat.com>
2168 Add doc comments about what GFile operations are
2169 guaranteed to not block.
2171 2007-12-17 Alexander Larsson <alexl@redhat.com>
2174 Add missing #ifdef fixing OSX build.
2175 (#503334, patch from Richard Hult)
2177 2007-12-14 David Zeuthen <davidz@redhat.com>
2181 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2182 (g_mount_eject), (g_mount_eject_finish):
2184 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2185 (get_volume_for_uuid), (get_mount_for_uuid),
2186 (g_union_volume_monitor_class_init),
2187 (get_default_native_type_with_exclude), (get_default_native_type),
2188 (get_native_type), (update_native_type),
2189 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2190 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2191 (g_unix_mount_can_eject), (eject_unmount_cb),
2192 (eject_unmount_read_error), (eject_unmount_do),
2193 (g_unix_mount_unmount), (g_unix_mount_eject),
2194 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2195 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2196 (g_unix_mount_point_guess_can_eject):
2198 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2199 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2200 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2201 (g_unix_volume_mount), (g_unix_volume_eject),
2202 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2203 * gunixvolumemonitor.c: (get_volume_for_uuid),
2204 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2206 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2207 (g_volume_eject), (g_volume_eject_finish):
2209 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2210 (g_volume_monitor_get_mount_for_uuid):
2213 Provide eject() on both GMount and GVolume and utility functions
2214 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2215 ejected. Introduce the concept of UUID's and wire it into GVolume
2216 and GMount and provide API on GVolumeMonitor to find such
2217 instances. Also handle the case where an external
2218 GNativeVolumeMonitor fails to initialize. Lock around the
2219 _g_get_mount_for_mount_path() function such that volume monitor
2220 implementations won't have to do locking themselves.
2222 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2224 * gdesktopappinfo.c:
2230 * gvolume.h: Documentation updates
2232 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2235 * gfile.h: Doc updates
2237 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2240 * gdesktopappinfo.c: Use hash table iterators.
2242 2007-12-14 Alexander Larsson <alexl@redhat.com>
2245 * gfileattribute.[ch]:
2246 * gfileattribute-priv.h:
2247 Move GFileAttributeValue to a private header, as
2251 Make set_attribute take a type + a pointer instead
2252 of a GFileAttributeValue.
2255 Fix up for above changes.
2256 Add g_file_info_get_attribute_data to get
2257 all info in one call, g_file_info_get_attribute_status
2258 to get the status and g_file_info_get_attribute_as_string.
2262 * glocalfileinfo.[ch]:
2266 Make _guess_type static.
2268 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2271 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2272 made mkenums and friends use temporary files to avoid leaving
2273 empty generated files on failure (#503470).
2275 2007-12-14 Alexander Larsson <alexl@redhat.com>
2277 * gmountoperation.h:
2280 2007-12-14 Alexander Larsson <alexl@redhat.com>
2284 * gfileattribute.[ch]:
2287 * glocalfileoutputstream.c:
2288 * gmountoperation.[ch]:
2289 * goutputstream.[ch]:
2290 Clean up all flags enums to not have _FLAGS in them
2291 Make the names of some of the enums better.
2296 2007-12-14 Michael Natterer <mitch@imendio.com>
2298 * gio.symbols: fix g_io_scheduler symbol names.
2300 2007-12-14 Alexander Larsson <alexl@redhat.com>
2306 * gbufferedinputstream.h:
2307 * gbufferedoutputstream.h:
2310 * gdatainputstream.h:
2311 * gdataoutputstream.h:
2312 * gdesktopappinfo.h:
2313 * gdirectorymonitor.h:
2317 * gfileenumerator.h:
2320 * gfileinputstream.h:
2322 * gfilenamecompleter.h:
2323 * gfileoutputstream.h:
2324 * gfilterinputstream.h:
2325 * gfilteroutputstream.h:
2333 * gmemoryinputstream.h:
2334 * gmemoryoutputstream.h:
2336 * gmountoperation.h:
2339 * gsimpleasyncresult.h:
2341 * gunixinputstream.h:
2343 * gunixoutputstream.h:
2347 * inotify/Makefile.am:
2348 Only allow including <gio/gio.h> from apps
2350 2007-12-14 Alexander Larsson <alexl@redhat.com>
2352 * gioscheduler.[ch]:
2353 * gsimpleasyncresult.c:
2354 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2355 Split out the send_to_mainloop call into two versions instead
2356 of having the block argument.
2358 2007-12-13 Alexander Larsson <alexl@redhat.com>
2360 * gcancellable.[ch]:
2362 * gbufferedinputstream.c:
2363 * gfileenumerator.c:
2364 * gfileinputstream.c:
2365 * gfileoutputstream.c:
2369 g_push/pop_current_cancellable ->
2370 g_cancellable_push/pop_current
2372 2007-12-13 Alexander Larsson <alexl@redhat.com>
2376 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2378 2007-12-13 Alexander Larsson <alexl@redhat.com>
2380 * gmountoperation.h:
2381 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2383 2007-12-12 Alexander Larsson <alexl@redhat.com>
2386 Fix race condition when freeing proxy in
2387 g_io_job_send_to_mainloop().
2389 2007-12-12 Alexander Larsson <alexl@redhat.com>
2395 Make attribute namespace separator "::" instead of ":".
2396 Use - instead of _ as separator in attribute names.
2398 2007-12-12 Alexander Larsson <alexl@redhat.com>
2400 * gbufferedinputstream.h:
2401 * gbufferedoutputstream.h:
2402 * gdatainputstream.h:
2403 * gdataoutputstream.h:
2404 * gdirectorymonitor.h:
2405 * gfileenumerator.h:
2406 * gfileinputstream.h:
2408 * gfileoutputstream.h:
2409 * gfilterinputstream.h:
2410 * gfilteroutputstream.h:
2412 * glocalfileinputstream.h:
2413 * glocalfileoutputstream.h:
2414 * gmemoryinputstream.h:
2415 * gmemoryoutputstream.h:
2416 * gnativevolumemonitor.h:
2418 * gunixinputstream.h:
2419 * gunixoutputstream.h:
2422 s/parent/parent_instance/ in GObjects
2424 2007-12-12 Alexander Larsson <alexl@redhat.com>
2429 No need for padding for interfaces
2431 2007-12-12 Alexander Larsson <alexl@redhat.com>
2435 * gbufferedinputstream.c:
2436 * gbufferedoutputstream.c:
2439 * gdatainputstream.[ch]:
2440 * gdesktopappinfo.c:
2441 * gdirectorymonitor.c:
2443 * gfileattribute.[ch]:
2446 * gfileinputstream.h:
2447 * gfilemonitor.[ch]:
2448 * gfileoutputstream.[ch]:
2449 * gfilterinputstream.h:
2450 * gfilteroutputstream.h:
2453 * gloadableicon.[ch]:
2454 * gmemoryinputstream.c:
2455 * gmountoperation.c:
2457 Fix up a bunch of details in the docs.
2462 2007-12-11 David Zeuthen <davidz@redhat.com>
2464 Rework how volumes, drives and volume monitoring is
2465 done. Previosly the model was
2467 GDrive <1-1> GVolume
2469 where a GDrive instance represented a mount point and a GVolume
2470 instance represented a mounted file system. This patch changes it
2473 GDrive <1-N> GVolume <1-1> GMount
2475 where GMount now serves the purpose of the old GVolume and the new
2476 GVolume serves the purpose of the old GDrive. In addition the new
2477 GDrive interface is used to represent a collection of GVolume
2478 instances (typically partitions) and also contains utility to query
2479 the state of the physical drive the GDrive object represents (such
2480 as checking for media, polling the drive, ejecting the media etc.).
2482 Also implement mounting and unmounting in the Unix volume monitor
2483 backend. A subquent patch will introduce GDrive support for ejection
2487 * gdrive.c: (g_drive_is_media_check_automatic),
2488 (g_drive_is_media_removable), (g_drive_has_media),
2489 (g_drive_can_poll_for_media), (g_drive_eject),
2490 (g_drive_eject_finish), (g_drive_poll_for_media),
2491 (g_drive_poll_for_media_finish):
2493 * gfile.c: (g_file_find_enclosing_mount):
2496 * glocaldirectorymonitor.c:
2497 (g_local_directory_monitor_constructor), (mounts_changed):
2498 * glocalfile.c: (get_mount_info),
2499 (g_local_file_find_enclosing_mount),
2500 (g_local_file_file_iface_init):
2501 * gnativevolumemonitor.h:
2502 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2503 (get_connected_drives), (g_union_volume_monitor_class_init),
2504 (child_volume_added), (child_volume_removed),
2505 (child_volume_changed), (child_mount_added), (child_mount_removed),
2506 (child_mount_pre_unmount), (child_mount_changed),
2507 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2508 (g_union_volume_monitor_remove_monitor),
2509 (_g_mount_get_for_mount_path):
2510 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2511 (guess_system_internal), (_g_get_unix_mounts),
2512 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2513 (g_unix_mount_free), (g_unix_mount_compare),
2514 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2515 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2516 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2517 (type_to_icon), (g_unix_mount_guess_name),
2518 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2519 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2520 (_resolve_symlink), (_resolve_dev_root):
2522 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2523 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2524 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2525 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2526 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2527 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2528 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2529 (g_unix_volume_volume_iface_init):
2531 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2532 (get_mounts), (get_volumes), (get_connected_drives),
2533 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2534 (mountpoints_changed), (mounts_changed),
2535 (g_unix_volume_monitor_init),
2536 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2537 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2538 * gunixvolumemonitor.h:
2539 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2540 (g_volume_mount), (g_volume_mount_finish):
2542 * gvolumemonitor.c: (g_volume_monitor_class_init),
2543 (g_volume_monitor_get_connected_drives),
2544 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2547 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2549 * gmountoperation.h (GPasswordFlags): Close the gap
2551 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2553 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2555 * gdesktopappinfo.[hc]: Remove _-prefixes
2557 2007-12-10 Tor Lillqvist <tml@novell.com>
2559 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2562 2007-12-10 Alexander Larsson <alexl@redhat.com>
2564 * gfile.c (g_file_set_display_name):
2565 Don't hardcode '/' (#502727)
2567 2007-12-09 Hans Breuer <hans@breuer.org>
2569 * makefile.msc : follow lib naming convention
2570 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2571 for user and group name, tested with ../tests/gio-ls
2573 2007-12-09 A. Walton <awalton@svn.gnome.org>
2575 * gdesktopappinfo.c:
2581 * gfileenumerator.c:
2586 * gmemoryinputstream.c:
2587 * gmemoryoutputstream.c:
2589 * gsimpleasyncresult.c:
2590 More documentation cleanup and filling in missing information, bringing
2591 GIO to 99% symbol coverage.
2593 2007-12-08 Hans Breuer <hans@breuer.org>
2595 [gio compiles and links on win32, not sure how much already works]
2596 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2597 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2598 base on win32 API; prefer g_lstat() over lstat(); instead of
2599 localtime_r() use an all GLib implementation on win32;
2600 get_mount_info() still needs a win32 specifc implementation
2601 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2602 win32_get_file_user_info to get owner/group info without uid/gid
2603 * glocalfileinputstream.c : include <io.h> on win32
2604 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2605 definition, use g_win32_ftruncate() for G_OS_WIN32
2606 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2607 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2608 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2609 * makefile.msc : updated
2611 2007-12-07 Alexander Larsson <alexl@redhat.com>
2613 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2614 Avoid warning spew if error == NULL
2616 2007-12-07 Alexander Larsson <alexl@redhat.com>
2619 Update docs wrt etags
2621 2007-12-06 Alexander Larsson <alexl@redhat.com>
2624 Include sys/types.h for dev_t (#501919)
2626 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2630 Make abicheck and pltcheck pass.
2632 2007-12-05 Alexander Larsson <alexl@redhat.com>
2635 * giomodule-priv.h: Added.
2636 * glocaldirectorymonitor.c:
2637 * glocalfilemonitor.c:
2638 * gunionvolumemonitor.c:
2640 Actually add the declaration of _g_io_modules_ensure_loaded
2642 2007-12-05 Alexander Larsson <alexl@redhat.com>
2644 * gdatainputstream.c:
2649 * glocaldirectorymonitor.c:
2650 * glocalfilemonitor.c:
2651 * gunionvolumemonitor.c:
2653 Make g_io_modules_ensure_loaded a private function and
2654 don't pass in the dirname. This means we can do magic
2655 directory finding in the win32 version.
2656 Export the actual load-modules-in-directory code so that
2657 gvfs can reuse that.
2659 2007-12-05 Alexander Larsson <alexl@redhat.com>
2661 * gbufferedinputstream.c:
2662 * gbufferedoutputstream.c:
2665 * gfileenumerator.[ch]:
2666 * gfileinputstream.c:
2667 * gfileoutputstream.[ch]:
2668 * gfilterinputstream.c:
2669 * gfilteroutputstream.c:
2670 * ginputstream.[ch]:
2672 * glocalfileenumerator.c:
2673 * glocalfileinputstream.c:
2674 * glocalfileoutputstream.c:
2675 * gmemoryinputstream.c:
2676 * gmemoryoutputstream.c:
2677 * goutputstream.[ch]:
2680 * gunixinputstream.c:
2681 * gunixoutputstream.c:
2682 Rename all struct members named:
2683 read, write, close, truncate, or mount
2684 to foo_fn, as these are reserved names
2685 and could be defined as macros in libc.
2688 2007-12-04 Alexander Larsson <alexl@redhat.com>
2691 (g_output_stream_close):
2692 Only call flush if non-null.
2694 2007-11-30 Dan Winship <danw@gnome.org>
2696 * ginputstream.c (g_input_stream_set_pending): Make this take a
2697 GError and return a gboolean, and do the "outstanding operation"
2698 check (and the "stream is already closed" check) itself.
2699 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2701 * goutputstream.c (g_output_stream_set_pending)
2702 (g_output_stream_clear_pending): Likewise
2704 * gbufferedinputstream.c:
2705 * gfileinputstream.c:
2706 * gfileoutputstream.c: Update for that
2708 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2709 Like g_simple_async_report_error_in_idle, but takes a GError
2710 rather than building one.
2712 2007-11-30 Dan Winship <danw@gnome.org>
2714 * goutputstream.c: Don't cheat and unset the "pending" flag around
2715 inner calls. Instead, call the class method directly rather than
2716 the wrapper function that checks "pending"
2718 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2720 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2722 2007-12-03 Hans Breuer <hans@breuer.org>
2724 [start of port to win32/msvc]
2725 * gcancellable.c : HAVE_UNIST_H and _pipe()
2726 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2727 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2728 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2730 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2731 * glocalvfs.c : use HAVE_PWD_H
2732 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2733 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2734 * Makefile.am : added to EXTRA_DIST
2736 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2738 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2741 2007-12-03 Alexander Larsson <alexl@redhat.com>
2744 Handle OSX style xattrs API (#500506)
2746 2007-12-03 Alexander Larsson <alexl@redhat.com>
2750 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2752 2007-12-02 A. Walton <awalton@svn.gnome.org>
2756 Documentation accuracy fixes.
2758 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2760 * gioenumtypes.c.template: Fix typo.
2762 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2764 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2766 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2768 * gdirectorymonitor.c:
2769 * gfilemonitor.c: Add properties
2771 * gbufferedoutputstream.c: Don't mark buffer-size property
2774 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2776 * gbufferedoutputstream.c: Add auto-grow property.
2778 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2780 * *.c: Unify the capitalization of section headings.
2782 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2784 * gmountoperation.c: Add properties
2786 * gdatainputstream.c: Turn byte-order and newline-type into
2789 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2791 * gioenumtypes.[hc].template: Templates for enum registration
2793 * Makefile.am: Generate gioenumtypes.[hc]
2795 * gio.h: Include gioenumtypes.h
2797 * gfile.h: Add some explicit nicks.
2799 * gio.symbols: Add new symbols
2801 * pltcheck.sh: Adjust
2803 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2805 * *.c: Explain etags and link to the explanation
2807 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2809 * *.c: Explain I/O priority.
2811 * *.c: More coding style fixes.
2813 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2815 * gasyncresult.c: Add another paragraph to the intro,
2816 adjust coding style of example.
2818 2007-11-29 A. Walton <awalton@svn.gnome.org>
2821 Fixes unknown meaning in GAppLaunchContext docs.
2823 Clarify asynchronous ops.
2825 Fix entity tag docs.
2828 Provides missing gtk-doc section, fixes API docs slighly.
2829 * gsimpleasyncresult.c:
2830 Fill in missing info in docs.
2831 * gunixinputstream.c:
2832 * gunixoutputstream.c:
2833 Be more expressive in short description.
2835 Remove gtk-doc stubs for non-public API.
2837 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2839 * *.c: Coding style fixups
2841 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2843 * inotify/inotify-helper.c: Don't export the lock from libgio.
2845 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2848 * abicheck.sh: Fix copy-and-paste leftovers
2850 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2852 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2854 2007-11-28 Alexander Larsson <alexl@redhat.com>
2858 Removed unnecessary file
2860 * gdesktopappinfo.[ch]:
2863 * glocaldirectorymonitor.[ch]:
2865 * glocalfileenumerator.[ch]:
2866 * glocalfileinputstream.[ch]:
2867 * glocalfilemonitor.[ch]:
2868 * glocalfileoutputstream.[ch]:
2870 * gnativevolumemonitor.c:
2871 * gpollfilemonitor.[ch]:
2872 * gunionvolumemonitor.[ch]:
2875 * gunixvolumemonitor.[ch]:
2878 * inotify/ginotifydirectorymonitor.[ch]:
2879 * inotify/ginotifyfilemonitor.[ch]:
2880 * inotify/inotify-helper.c:
2881 Append _ to all internal functions
2885 Export symbols needed for modules
2887 2007-11-28 Alexander Larsson <alexl@redhat.com>
2890 * abicheck.sh: Added.
2891 * makegioalias.pl: Added.
2892 * pltcheck.sh: Added.
2893 * gio.symbols: Added.
2896 Initial work on adding symbol handling.
2899 Correct ifdef guard name
2902 * inotify/Makefile.am:
2903 * xdgmime/Makefile.am:
2904 Include toplevel Makefile.decl
2906 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2908 * gcontenttype.c: Move doc comments to the unix section.
2910 * *.[hc]: More trivial doc corrections.
2912 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2914 * gpollfilemonitor.c:
2918 * gdesktopappinfo.c:
2923 * gdatainputstream.c:
2924 * gdatainputstream.h:
2925 * gdataoutputstream.c:
2926 * gdataoutputstream.h:
2927 * gfileinfo.h: Doc cleanups
2929 2007-11-28 Andre Klapper <a9016009@gmx.de>
2931 * gdesktopappinfo.c: Fix a typo.
2933 2007-11-27 Andre Klapper <a9016009@gmx.de>
2935 * glocalfileoutputstream.c: Fix a typo.
2937 2007-11-27 Alexander Larsson <alexl@redhat.com>
2940 Don't include removed headers
2942 2007-11-27 Alexander Larsson <alexl@redhat.com>
2945 * gsocketinputstream.[ch]: Removed.
2946 * gsocketoutputstream.[ch]: Removed.
2947 * gunixinputstream.[ch]: Added.
2948 * gunixoutputstream.[ch]: Added.
2949 Renamed GSocket*Stream to GUnix*Stream and made
2950 it unix-only, since its not really only for sockets
2951 and it only works on unix (but is highly useful there).
2953 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2959 * gbufferedinputstream.c:
2960 * gbufferedinputstream.h:
2961 * gbufferedoutputstream.c:
2962 * gbufferedoutputstream.h:
2966 * gdatainputstream.c:
2967 * gdatainputstream.h:
2968 * gdataoutputstream.c:
2969 * gdataoutputstream.h:
2970 * gdirectorymonitor.c:
2971 * gdirectorymonitor.h:
2978 * gfileenumerator.c:
2979 * gfileenumerator.h:
2984 * gfileinputstream.c:
2985 * gfileinputstream.h:
2988 * gfilenamecompleter.c:
2989 * gfilenamecompleter.h:
2990 * gfileoutputstream.c:
2991 * gfileoutputstream.h:
2992 * gfilterinputstream.c:
2993 * gfilterinputstream.h:
2994 * gfilteroutputstream.c:
2995 * gfilteroutputstream.h:
3008 * glocalfileoutputstream.c:
3009 * gmemoryinputstream.c:
3010 * gmemoryinputstream.h:
3011 * gmemoryoutputstream.c:
3012 * gmemoryoutputstream.h:
3013 * gmountoperation.c:
3014 * gmountoperation.h:
3017 * gpollfilemonitor.c:
3020 * gsimpleasyncresult.c:
3021 * gsimpleasyncresult.h:
3022 * gsocketinputstream.c:
3023 * gsocketinputstream.h:
3024 * gsocketoutputstream.c:
3025 * gsocketoutputstream.h:
3032 * gunixvolumemonitor.c:
3041 Bumps documentation to 93% symbol coverage, touching most
3042 of the public files. Fixes broken function documentation prototypes.
3043 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3044 gtk-doc headers in private files.
3046 2007-11-27 Jürg Billeter <j@bitron.ch>
3048 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3049 (g_buffered_input_stream_read_byte):
3050 * gbufferedinputstream.h:
3051 New functions for efficient access to buffer and simple single byte
3054 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3055 (g_data_input_stream_read_until):
3056 * gdatainputstream.h:
3057 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3058 read_until with multiple stop chars.
3060 2007-11-27 Alexander Larsson <alexl@redhat.com>
3064 * inotify/Makefile.am:
3065 Use the user-specified giomoduledir
3067 2007-11-27 Alexander Larsson <alexl@redhat.com>
3071 Add catch-all gio.h header
3072 Don't install gdummyfile.h
3074 2007-11-26 Alexander Larsson <alexl@redhat.com>
3076 * Makefile.am (gioinclude_HEADERS):
3077 Remove trailing whitespace
3079 2007-11-26 Alexander Larsson <alexl@redhat.com>
3081 Merge gio-standalone into glib
3083 2007-11-25 Christian Kellner <gicmo@gnome.org>
3085 * gio/goutputstream.c:
3086 Fix small mistake in the docs.
3088 2007-11-21 Christian Persch <chpe@gnome.org>
3090 * gio/glocalfile.c: (g_local_file_trash):
3091 Convert filenames to UTF-8 for GError.
3092 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3093 as per xdg base dir spec.
3095 2007-11-21 Christian Persch <chpe@gnome.org>
3097 * gio/gdesktopappinfo.c:
3098 Use that g_key_file_to_data cannot fail.
3100 Use stock defines for the key file group and key names.
3103 2007-11-21 Alexander Larsson <alexl@redhat.com>
3106 (copy_stream_with_progress):
3107 Make sure we do a final progress callback with
3108 the full total size.
3110 2007-11-21 Alexander Larsson <alexl@redhat.com>
3113 Export g_file_copy_attributes
3114 Remove padding as its not needed for interfaces
3116 2007-11-20 Alexander Larsson <alexl@redhat.com>
3121 Add G_IO_ERROR_WOULD_MERGE for
3122 copy/move dir on dir with overwrite.
3124 2007-11-20 Alexander Larsson <alexl@redhat.com>
3127 * gio/glocalfileinfo.c:
3128 Add COPY_NAME (this is an optional
3129 non-modified utf8 version of the name) that
3132 2007-11-20 Alexander Larsson <alexl@redhat.com>
3134 * gio/glocalfileenumerator.c:
3135 Report errors as GIOError, not GFileError
3137 2007-11-16 Alexander Larsson <alexl@redhat.com>
3139 * gio/glocalfileoutputstream.c:
3140 * gio/gwin32appinfo.c:
3141 Fix typos in strings.
3142 Patch from Luca Ferretti <elle.uca@libero.it>
3144 2007-11-15 Alexander Larsson <alexl@redhat.com>
3147 Post release version bump
3149 === gio-standalone 0.1.2 ===
3151 2007-11-15 Alexander Larsson <alexl@redhat.com>
3153 * docs/reference/gio/Makefile.am:
3154 Fix up distcheck by removing weird
3160 2007-11-14 Alexander Larsson <alexl@redhat.com>
3162 * gio/gdesktopappinfo.c:
3163 * gio/glocaldirectorymonitor.c:
3165 * gio/glocalfileinfo.c:
3166 * gio/inotify/inotify-sub.c:
3167 * programs/gio-cat.c:
3168 * programs/gio-copy.c:
3169 * programs/gio-info.c:
3170 * programs/gio-ls.c:
3171 * programs/gio-monitor-dir.c:
3172 * programs/gio-monitor-file.c:
3173 * programs/gio-mount.c:
3174 * programs/gio-move.c:
3175 * programs/gio-rm.c:
3176 * programs/gio-save.c:
3177 * programs/gio-trash.c:
3178 Leak fixes from Kjartan Maraas
3180 2007-11-14 Alexander Larsson <alexl@redhat.com>
3182 * gio/fam/fam-helper.c:
3184 * gio/glocalfileinfo.c:
3188 * gio/inotify/inotify-diag.c:
3189 * gio/inotify/inotify-kernel.c:
3190 Various code cleanups from Kjartan Maraas
3192 2007-11-14 Alexander Larsson <alexl@redhat.com>
3194 * gio/gioscheduler.c:
3196 Set up threadpool so that we cache 2 unused
3197 idle threads for at 15 secs. This means we
3198 will reuse thread-local data (like dbus connections)
3201 2007-11-14 Alexander Larsson <alexl@redhat.com>
3203 * gio/fam/fam-helper.c:
3204 * gio/fam/gfamdirectorymonitor.c:
3205 * gio/fam/gfamfilemonitor.c:
3207 * gio/gcontenttype.c:
3208 * gio/gdatainputstream.c:
3209 * gio/gdataoutputstream.c:
3213 * gio/gfileattribute.h:
3214 * gio/gfileenumerator.c:
3216 * gio/ginputstream.c:
3219 * gio/glocalfileinfo.c:
3220 * gio/goutputstream.c:
3221 * gio/gpollfilemonitor.c:
3222 * gio/gsimpleasyncresult.c:
3223 * gio/gunixmounts.c:
3224 * gio/gunixmounts.h:
3225 * gio/inotify/ginotifydirectorymonitor.c:
3226 * gio/inotify/ginotifyfilemonitor.c:
3227 * gio/inotify/inotify-diag.c:
3228 * gio/inotify/inotify-kernel.c:
3229 * gio/inotify/inotify-path.c:
3231 * gio/test-streams.c:
3232 * programs/gio-info.c:
3233 * programs/gio-monitor-dir.c:
3234 * programs/gio-monitor-file.c:
3235 Various code cleanups from Kjartan Maraas
3237 2007-11-13 Alexander Larsson <alexl@redhat.com>
3240 Handle the uri-scheme calls for dummy files
3242 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3244 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3245 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3246 to avoid clash with the C++ keyword.
3248 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3250 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3251 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3253 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3255 * gio/glocaldirectorymonitor.c:
3256 * gio/glocalfilemonitor.c:
3257 * gio/gunionvolumemonitor.c:
3258 Don't use g_once_init_*() for initializations that could fail and
3259 could leave the initialization variable set to 0 but use GOnce.
3260 This prevents a deadlock on the second call when trying to create
3261 a monitor and no monitor type is available. Thanks to Sven Herzberg
3264 2007-11-11 Sven Herzberg <sven@imendio.com>
3266 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3267 #ifdef (make it work on MacOS X again)
3269 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3271 Fixes Changelog for last two commits (sorry guys).
3273 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3275 * gio/gbufferedinputstream.c:
3276 * gio/gdatainputstream.c:
3278 * gio/gfileoutputstream.c:
3279 * gio/gfilterinputstream.c:
3280 * gio/glocalfileinputstream.c:
3283 More consistency fixes in g*stream.c files.
3284 Significant clean of gfile's documentation, filling in of
3285 asynchronous operations documentation.
3287 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3289 * gio/gasyncresult.c:
3290 * gio/gbufferedinputstream.c:
3291 * gio/gbufferedoutputstream.c:
3292 * gio/gcancellable.c:
3293 * gio/gcontenttype.c:
3294 * gio/gdatainputstream.c:
3295 * gio/gdataoutputstream.c:
3296 * gio/gdesktopappinfo.c:
3299 * gio/gfileattribute.c:
3300 * gio/gio/gfileenumerator.c:
3302 * gio/gfileinputstream.c:
3303 * gio/gfilemonitor.c:
3304 * gio/gfileoutputstream.c:
3305 * gio/ginputstream.c:
3307 * gio/gioscheduler.c:
3308 * gio/gloadableicon.c:
3309 * gio/glocalfileoutputstream.c:
3310 * gio/gmemoryoutputstream.c:
3311 * gio/gmountoperation.c:
3312 * gio/goutputstream.c:
3314 * gio/gsimpleasyncresult.c:
3315 * gio/gunionvolumemonitor.c:
3316 * gio/gunixmounts.c:
3317 * gio/gunixvolume.c:
3321 * gio/gvolumemonitor.c:
3322 Updated documentation stubs, working towards consistency and
3325 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3327 * gio/gmemoryoutputstream.c:
3328 * gio/gmemoryoutputstream.h:
3329 Change g_memory_output_stream_set_free_on_close() to
3330 g_memory_output_stream_set_free_data() as this makes more sense and
3331 is more consistent with GMemoryInputStream.
3333 2007-11-07 Alexander Larsson <alexl@redhat.com>
3340 Change how we find the default vfs so that
3341 we can handle a gvfs failing to init
3343 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3345 * gio/gbufferedoutputstream.c:
3346 * gio/gdatainputstream.c:
3347 * gio/gdataoutputstream.c:
3348 * gio/gfileinputstream.c:
3349 * gio/gfileoutputstream.c:
3350 * gio/gfilterinputstream.c:
3351 * gio/gfilteroutputstream.c:
3352 * gio/ginputstream.c:
3353 * gio/gmemoryinputstream.c:
3354 * gio/gmemoryoutputstream.c:
3355 * gio/goutputstream.c:
3356 * gio/gsimpleasyncresult.c:
3357 * gio/gsocketinputstream.c:
3358 * gio/gsocketoutputstream.c:
3359 Add guards to the remaining public functions, add a TODO for
3360 an unimplemented function and remove some useless guards.
3362 2007-11-07 Alexander Larsson <alexl@redhat.com>
3365 Autoconf checks for the various types of
3366 getpwuid_r and getgrgid_r
3368 * gio/glocalfileinfo.c:
3369 Use the autoconf checks from above
3371 2007-11-07 Alexander Larsson <alexl@redhat.com>
3374 (g_local_file_query_filesystem_info):
3375 Some fixes for the statvfs case
3377 2007-11-07 Alexander Larsson <alexl@redhat.com>
3380 (g_local_file_query_filesystem_info):
3381 Pick the "best" of statfs / statvfs for the system
3382 if both are availible.
3384 2007-11-07 Alexander Larsson <alexl@redhat.com>
3386 Solaris fixes from Halton.Huo@Sun.COM:
3393 * gio/glocalfileinfo.c:
3394 Fix for solaris definition of getpwuid_r
3396 * gio/test-streams.c:
3397 Use G_GNUC_PRETTY_FUNCTION
3399 2007-11-07 Alexander Larsson <alexl@redhat.com>
3401 * gio/gdesktopappinfo.c:
3402 (update_default_list):
3403 Remove double semicolon.
3404 Patch from Jens Granseuer
3406 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3408 * docs/reference/gio/gio-sections.txt:
3409 * gio/gbufferedinputstream.c:
3410 * gio/gbufferedinputstream.h:
3411 * gio/gdatainputstream.c:
3412 * gio/gfileenumerator.c:
3413 * gio/gioscheduler.c:
3414 * gio/gunionvolumemonitor.c:
3416 * programs/gio-save.c:
3417 Fix typo: availible -> available. Unfortuntely this breaks API
3418 and ABI as g_buffered_input_stream_get_available() was renamed.
3420 * gio/gunixmounts.c:
3421 * gio/gbufferedinputstream.c:
3422 Add guards for public functions.
3424 2007-11-06 Ross Burton <ross@openedhand.com>
3426 * docs/reference/gio/Makefile.am:
3427 Fix invalid += usage which automake 1.10 doesn't like.
3429 2007-11-06 Alexander Larsson <alexl@redhat.com>
3432 (g_app_launch_context_class_init):
3435 Patch from Ross Burton
3437 2007-11-06 Alexander Larsson <alexl@redhat.com>
3440 Post release version bump
3442 === gio-standalone 0.1.1 ===
3444 2007-11-06 Alexander Larsson <alexl@redhat.com>
3447 Bump version to 0.1.1
3449 * gio/gsimpleasyncresult.c:
3450 (g_simple_async_result_set_from_error):
3451 Remove bogus g_return_if_fail
3453 2007-11-06 Alexander Larsson <alexl@redhat.com>
3456 The name is gio-standalone
3459 Add top src/builddir to includedir
3461 2007-11-06 Alexander Larsson <alexl@redhat.com>
3463 * docs/reference/gio/gio-sections.txt:
3465 * gio/gbufferedinputstream.c:
3466 * gio/gbufferedoutputstream.c:
3467 * gio/gcancellable.c:
3468 * gio/gdatainputstream.h:
3469 * gio/gdataoutputstream.c:
3470 * gio/gdataoutputstream.h:
3471 * gio/gdirectorymonitor.c:
3473 * gio/gfileattribute.c:
3474 * gio/gfileattribute.h:
3475 * gio/gfileenumerator.c:
3476 * gio/gfileenumerator.h:
3479 * gio/gfileinputstream.h:
3480 * gio/gfilemonitor.c:
3481 * gio/gfileoutputstream.h:
3482 * gio/glocalfilemonitor.h:
3483 * gio/glocalfileoutputstream.h:
3484 * gio/gmemoryinputstream.c:
3485 * gio/gmemoryoutputstream.c:
3486 * gio/gmountoperation.c:
3487 * gio/goutputstream.c:
3488 * gio/goutputstream.h:
3490 * gio/gsimpleasyncresult.c:
3491 * gio/gunixmounts.c:
3492 * gio/gunixmounts.h:
3494 * gio/inotify/inotify-helper.c:
3495 Fix gtk-doc warnings
3497 Patch from Ross Burton
3499 2007-11-06 Alexander Larsson <alexl@redhat.com>
3501 * gio/gfilenamecompleter.c:
3502 (g_filename_completer_get_completions):
3505 * gio/gunixvolume.c:
3506 Remove unused function
3508 Patches from Ross Burton
3510 2007-11-06 Alexander Larsson <alexl@redhat.com>
3515 Padding not needed for interfaces
3517 2007-11-06 Alexander Larsson <alexl@redhat.com>
3519 * gio/gfilemonitor.c:
3523 Make giotypes.h an internal file
3526 * gio/gbufferedinputstream.h:
3527 * gio/gbufferedoutputstream.h:
3528 * gio/gcancellable.h:
3529 * gio/gdatainputstream.h:
3530 * gio/gdataoutputstream.h:
3531 * gio/gdirectorymonitor.c:
3532 * gio/gdirectorymonitor.h:
3537 * gio/gfileattribute.h:
3538 * gio/gfileenumerator.h:
3543 * gio/gfilemonitor.c:
3544 * gio/gfilemonitor.h:
3545 * gio/gfilenamecompleter.c:
3546 * gio/gfilenamecompleter.h:
3547 * gio/gfilterinputstream.h:
3548 * gio/gfilteroutputstream.h:
3549 * gio/ginputstream.h:
3550 * gio/gmemoryinputstream.h:
3551 * gio/gmemoryoutputstream.h:
3552 * gio/gmountoperation.c:
3553 * gio/gmountoperation.h:
3554 * gio/gnativevolumemonitor.c:
3555 * gio/goutputstream.h:
3558 * gio/gsimpleasyncresult.c:
3559 * gio/gsimpleasyncresult.h:
3560 * gio/gsocketinputstream.h:
3561 * gio/gsocketoutputstream.h:
3562 * gio/gthemedicon.c:
3563 * gio/gthemedicon.h:
3567 * gio/gvolumemonitor.c:
3568 * gio/gvolumemonitor.h:
3569 Add padding in classes where it seems useful
3570 Don't include giotypes.h from public headers
3571 Move in Class definitions into c file where possible
3576 2007-11-06 Alexander Larsson <alexl@redhat.com>
3578 * docs/reference/gio/gio-docs.xml:
3579 Better structure for API docs
3581 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3584 * gio/gloadableicon.c:
3585 * gio/gsimpleasyncresult.c:
3586 * gio/gthemedicon.c:
3587 Add some more guards to public functions. Only files missing are now
3590 2007-11-06 Alexander Larsson <alexl@redhat.com>
3592 * docs/reference/gio/gio-docs.xml:
3593 Remove old files, add missing ones
3595 2007-11-06 Alexander Larsson <alexl@redhat.com>
3597 * docs/reference/gio/gio-sections.txt:
3600 Hide implementation classes
3602 * gio/gdriveprivate.h:
3603 * gio/gvolumeprivate.h:
3604 Remove non-existing function declarations
3606 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3609 Fix compilation warnings and add guards to the new functions.
3611 * gio/gasyncresult.c:
3613 Add guards to the public functions.
3616 Implement get_path().
3618 2007-11-06 Alexander Larsson <alexl@redhat.com>
3620 * gio/gfilenamecompleter.c:
3621 Make g_filename_completer_get_completions
3622 return char ** instead of GList for
3625 * docs/reference/gio/gio-docs.xml:
3626 * docs/reference/gio/gio-sections.txt:
3628 * gio/gasyncresult.c:
3629 * gio/gbufferedinputstream.c:
3630 * gio/gbufferedoutputstream.c:
3631 * gio/gcancellable.c:
3632 * gio/gcontenttype.c:
3633 * gio/gdatainputstream.c:
3634 * gio/gdataoutputstream.c:
3635 * gio/gdesktopappinfo.c:
3636 * gio/gdirectorymonitor.c:
3640 * gio/gfileattribute.c:
3641 * gio/gfileenumerator.c:
3644 * gio/gfileinputstream.c:
3645 * gio/gfilemonitor.c:
3646 * gio/gfilenamecompleter.c:
3647 * gio/gfilenamecompleter.h:
3648 * gio/gfileoutputstream.c:
3649 * gio/gfilterinputstream.c:
3651 * gio/ginputstream.c:
3653 * gio/gioscheduler.c:
3654 * gio/gloadableicon.c:
3655 * gio/glocaldirectorymonitor.c:
3657 * gio/glocalfileinputstream.c:
3658 * gio/glocalfilemonitor.c:
3659 * gio/glocalfileoutputstream.c:
3661 * gio/gmemoryinputstream.c:
3662 * gio/gmemoryoutputstream.c:
3663 * gio/gmountoperation.c:
3664 * gio/goutputstream.c:
3665 * gio/gpollfilemonitor.c:
3667 * gio/gsimpleasyncresult.c:
3668 * gio/gsocketinputstream.c:
3669 * gio/gsocketoutputstream.c:
3670 * gio/gthemedicon.c:
3671 * gio/gunionvolumemonitor.c:
3673 * gio/gunixmounts.c:
3674 * gio/gunixvolume.c:
3675 * gio/gunixvolumemonitor.c:
3679 * gio/gvolumemonitor.c:
3680 * gio/gwin32appinfo.c:
3681 Add (mostly stub) doc strings to public functions.
3682 Patch from Andrew Walton (awalton@gmail.com)
3684 2007-11-06 Alexander Larsson <alexl@redhat.com>
3686 * gio/gappinfo.[ch]:
3687 Added GAppLaunchContext object and pass that to launch.
3688 This allows simple implementation of both
3689 launch-on-screen and startup notification via a gtk+
3690 subclass of GAppLaunchContext
3692 * gio/gdesktopappinfo.c:
3693 Implement GAppLaunchContext API
3695 * gio/gwin32appinfo.c:
3698 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3700 * gio/gmountoperation.c:
3701 Add some guards to GMountOperation's public functions.
3703 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3707 * gio/gcancellable.c:
3708 * gio/gdirectorymonitor.c:
3710 * gio/gfileenumerator.c:
3711 * gio/gfilemonitor.c:,
3712 * gio/gfilenamecompleter.c:
3715 * gio/gioscheduler.c:
3719 * gio/gvolumemonitor.c:
3720 Add even more guards to various public functions.
3722 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3725 Add guards to the public functions of GAppInfo.
3727 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3729 * gio/gcontenttype.c:
3730 Add some more guards for public functions.
3732 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3734 * gio/fam/fam-module.c:
3735 * gio/fam/gfamdirectorymonitor.c:
3736 * gio/fam/gfamdirectorymonitor.h:
3737 * gio/fam/gfamfilemonitor.c:
3738 * gio/fam/gfamfilemonitor.h:
3739 * gio/inotify/ginotifydirectorymonitor.c:
3740 * gio/inotify/ginotifydirectorymonitor.h:
3741 * gio/inotify/ginotifyfilemonitor.c:
3742 * gio/inotify/ginotifyfilemonitor.h:
3743 Add proper copyright information and remove an unused variable
3744 in the GInotifyFileMonitor constructor.
3746 * gio/gcancellable.c:
3747 Add a guard for a public function and an assertion to prevent
3748 an undefined program state.
3750 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3752 * gio/gfileattribute.c:
3753 Don't run into an assertion if the given attribute value is NULL
3754 in g_file_attribute_value_get_*() but instead return a fallback
3755 value that makes sense in most situations. Passing them a attribute
3756 value with the wrong type will still run into an assertion.
3758 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3760 * gio/gfileattribute.c:
3762 Add even more guards to the public functions. Also fix the refcounting
3763 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3764 let g_file_info_list_attributes() filter the attributes by namespace
3765 instead of simply ignoring the namespace parameter.
3767 2007-11-03 Sven Herzberg <sven@imendio.com>
3769 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3770 (This makes gio work on MacOS X again)
3772 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3775 Build the gio subdirectory before the docs. Otherwise the build will
3778 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3779 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3780 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3781 Add guards to the public functions.
3783 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3785 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3786 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3787 to prevent a compiler warning.
3789 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3790 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3791 return something in the non-void function find_topdir_for().
3793 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3800 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3802 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3803 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3804 * gwin32appinfo.c (g_win32_app_info_launch):
3805 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3806 envp_for_startup_id, g_desktop_app_info_launch,
3807 g_desktop_app_info_launch_uris):
3809 Give an opaque 'startup_id' string instead of 'envp'.
3810 Support empty file lists for launching new windows.
3811 Fix infinite recursion bug when launching URIs.
3813 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3816 Add guard to the new g_file_get_uri_scheme() function.
3818 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3821 Convert a g_return_val_if_fail() to setting the GError instead as
3822 otherwise applications have to verify the parameter before otherwise
3823 and the parameter might come directly from the user.
3825 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3827 * gio/inotify/ginotify*.[ch]:
3828 Add missing copyright information.
3830 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3833 Add guards in the beginning of public functions to check for valid
3834 parameters and fix a bug in copy_stream_with_progress() that could've
3835 caused writing less bytes than reading.
3836 * gio/glocalfileinfo.c:
3837 Check for a NULL parameter and set the GError accordingly then.
3838 * gio/goutputstream.c:
3839 Fix the same bug as in gfile.c that could've caused writing less bytes
3840 than reading in g_output_stream_real_splice().
3842 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3845 Use the correct gvolumeprivate.h naming
3847 2007-11-01 Christian Kellner <gicmo@gnome.org>
3850 Remove leftover "$(daemon_sources)" entry.
3852 2007-11-01 Christian Kellner <gicmo@gnome.org>
3857 Add copyright information to source files.
3859 2007-11-01 Alexander Larsson <alexl@redhat.com>
3863 Add g_file_get_uri_scheme
3865 2007-11-01 Alexander Larsson <alexl@redhat.com>
3868 * gio/gdesktopappinfo.c:
3869 * gio/gwin32appinfo.c:
3870 Add g_app_info_get_default_for_uri_scheme.
3872 2007-11-01 Alexander Larsson <alexl@redhat.com>
3875 Correct filename for gdriveprivate.h
3877 2007-10-31 Alexander Larsson <alexl@redhat.com>
3880 Rename id:value to id:file
3883 * gio/glocalfileinfo.c:
3886 2007-10-31 Alexander Larsson <alexl@redhat.com>
3888 * gio/gunixvolume.c:
3890 Remove g_volume_get_platform_id, as thats not
3891 needed with the simpler union volume monitor
3893 2007-10-31 Alexander Larsson <alexl@redhat.com>
3896 * gio/guniondrive.[ch]: Removed.
3897 * gio/gunionvolume.[ch]: Removed.
3898 Remove GUnionDrive/Volume
3900 * gio/gunionvolumemonitor.c:
3901 Simplify union volume monitor, now we
3902 only have one native volume monitor and
3903 we use the actual volumes/drives from the
3904 child monitors instead of wrapping them
3906 * gio/gnativevolumemonitor.[ch]:
3907 Base class for native volume monitors.
3908 Includes priority and get_volume_for_mountpoint
3911 Add g_file_find_enclosing_volume
3914 Remove volume name fs attribute
3915 Add readonly fs attribute
3918 Implement readonly attribute
3919 remove volume name attribute
3920 Implement find_enclosing volume
3922 * gio/gunixmounts.c:
3923 Add a volume for "/".
3925 * gio/gunixvolume.[ch]:
3926 Set better name for /
3928 * gio/gunixvolumemonitor.[ch]:
3929 Derive from GNativeVolumeMonitor
3930 Implement get_volume_for_mountpoint
3933 GVolume typedef moved to gfile.h
3935 * gio/gvolumeprivate.h:
3936 Add g_volume_get_for_mount_path
3938 2007-10-31 Alexander Larsson <alexl@redhat.com>
3940 * gio/gunixmounts.[ch]:
3941 Add cache info to unix mount listers
3942 Make getmntent use threadsafe
3943 Add is_system_internal attribute for GUnixMount
3945 * gio/gunixvolume.c:
3946 (g_unix_volume_new):
3947 Use is_system_internal instead of own code
3949 * gio/glocaldirectorymonitor.c:
3950 * gio/gunixvolumemonitor.c:
3951 Update to new gunixmounts API
3956 2007-10-30 Alexander Larsson <alexl@redhat.com>
3959 Add volume name fsinfo attribute
3962 Read volume name info
3964 * gio/gunionvolumemonitor.c:
3965 Fix infinite loops when finalizing a union volume monitor
3967 2007-10-30 Alexander Larsson <alexl@redhat.com>
3969 * gio/goutputstream.[ch]:
3970 Add splice() with default implementation
3972 * gio/gsocketoutputstream.c:
3973 (g_socket_output_stream_write):
3974 Return error on cancellation correctly.
3976 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3978 * gio/glocalfile.c (g_local_file_trash):
3979 Do not leak a string.
3981 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3983 * gio/gfile.c (g_file_load_contents):
3984 Unref the stream after closing it.
3986 2007-10-25 Alexander Larsson <alexl@redhat.com>
3988 * gio/gioscheduler.h:
3991 2007-10-25 Alexander Larsson <alexl@redhat.com>
3995 Add g_file_has_uri_scheme and implement for local files
3997 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3999 * gio/gdesktopappinfo.c: do not leak a string.
4001 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4003 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4004 (g_local_directory_monitor_new):
4005 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4006 (g_local_file_monitor_new):
4007 Only look for the monitor type that should be used the first time
4008 and use g_qsort_with_data() instead of our own bubble sort
4011 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4014 * gio/fam/Makefile.am:
4015 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4016 * gio/fam/fam-helper.h:
4017 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4018 * gio/fam/gfamdirectorymonitor.c:
4019 * gio/fam/gfamdirectorymonitor.h:
4020 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4021 * gio/fam/gfamfilemonitor.h:
4022 * gio/glocaldirectorymonitor.c:
4023 * gio/glocaldirectorymonitor.h:
4024 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4025 * gio/glocalfilemonitor.h:
4026 * gio/inotify/Makefile.am:
4027 * gio/inotify/ginotifydirectorymonitor.c:
4028 * gio/inotify/ginotifydirectorymonitor.h:
4029 * gio/inotify/ginotifyfilemonitor.c:
4030 * gio/inotify/ginotifyfilemonitor.h:
4031 Implement the FAM and Inotify monitors as
4032 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4033 their own GIO module. GLocal(Directory|File)Monitor will use the
4034 monitor with the highest rank that is supported on that machine.
4036 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4039 Change GIO module dir to $(libdir)/gio/modules and change
4040 the log domain from GVFS to GIO. Also only export symbols starting
4041 with g_ in the resulting library.
4042 * gio/test-streams.c: (main):
4043 Set log handler for the GIO log domain.
4045 2007-10-22 Alexander Larsson <alexl@redhat.com>
4047 * gio/gfilenamecompleter.[ch]:
4048 Add g_filename_completer_set_dirs_only
4050 2007-10-22 Alexander Larsson <alexl@redhat.com>
4053 * gio/gurifuncs.[ch]:
4054 Add some simple URI helpers
4056 * gio/gfilenamecompleter.[ch]:
4057 Added object for filename (parse name actually) completion
4060 Handle ~ in parse names
4062 2007-10-17 Alexander Larsson <alexl@redhat.com>
4065 * gio/glocalfileinfo.c:
4066 Add and implement id:value attribute
4068 2007-10-17 Alexander Larsson <alexl@redhat.com>
4071 * gio/guniondrive.c:
4073 Add and implement g_drive_has_volumes
4075 2007-10-17 Alexander Larsson <alexl@redhat.com>
4078 * gio/glocalfileinfo.[ch]:
4079 Add unix:is_mountpoint and implement for local files
4081 2007-10-16 Alexander Larsson <alexl@redhat.com>
4083 * gio/gunionvolumemonitor.c:
4084 (g_union_volume_monitor_init):
4085 Fix up the unix type getting so that it works with gcc
4087 2007-10-12 Alexander Larsson <alexl@redhat.com>
4090 * gio/glocalfileinfo.c:
4091 Add thumbnail:failed to file info
4093 2007-10-12 Richard Hult <richard@imendio.com>
4095 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4096 optimizing away the get_type call (happens with some gcc versions,
4097 like the one shipped with OS X 10.4).
4099 2007-10-12 Alexander Larsson <alexl@redhat.com>
4101 * gio/glocalfileinfo.c:
4102 (_g_local_file_info_set_attribute):
4103 Fix build if not HAVE_XATTR
4104 Patch from Milosz Derezynski <internalerror@gmail.com>
4106 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4108 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4109 around for review, otherwise I would have asked you before
4112 2007-10-11 Alexander Larsson <alexl@redhat.com>
4115 Add thumbnail:path attribute
4117 * gio/glocalfileinfo.c:
4118 Implement thumbnail:path for local files
4120 2007-10-11 Alexander Larsson <alexl@redhat.com>
4122 * gio/glocalfileinfo.c:
4123 (_g_local_file_info_get):
4124 Avoid duplicate icon names
4126 2007-10-11 Alexander Larsson <alexl@redhat.com>
4128 * gio/gthemedicon.[ch]:
4129 Change g_themed_icon_get_names return type to const
4131 2007-10-10 Alexander Larsson <alexl@redhat.com>
4133 * gio/glocalfileinfo.c:
4134 Don't reference freed memory
4136 2007-10-10 Alexander Larsson <alexl@redhat.com>
4138 * gio/gfileattribute.c:
4141 * gio/glocalfileinfo.c:
4144 2007-10-10 Alexander Larsson <alexl@redhat.com>
4147 Check for NULL icons
4149 * gio/gfileattribute.c:
4150 Don't dup when getting objects (same as for string attributes)
4152 * gio/gicon.c (g_icon_equal):
4153 Safely handle NULLs in equal
4155 2007-10-10 Alexander Larsson <alexl@redhat.com>
4158 Fix c++ compilation issues
4159 Patch from Milosz Derezynski <internalerror@gmail.com>
4161 2007-10-10 Alexander Larsson <alexl@redhat.com>
4163 * programs/gio-monitor-dir.c:
4164 Don't crash if dir monitor not supported.
4166 2007-10-09 Alexander Larsson <alexl@redhat.com>
4169 Add missing G_END_DECLS
4171 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4173 * gio/gfile.c: (g_file_set_display_name),
4174 (g_file_query_settable_attributes),
4175 (g_file_query_writable_namespaces):
4176 Return NULL not FALSE on errors as the return type is a pointer.
4178 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4180 * gio/glocalfile.c: (g_local_file_monitor_file):
4181 Don't call monitor_file on the default interface vtable (which
4182 is NULL) but simply return NULL. The caller, GFile, will create a
4183 polling monitor if NULL is returned.
4185 2007-10-09 Alexander Larsson <alexl@redhat.com>
4189 * gio-unix-2.0.pc.in:
4190 Add gio-unix-2.0.pc if OS_UNIX
4193 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4195 2007-10-09 Alexander Larsson <alexl@redhat.com>
4197 * gio/gunixmounts.[ch]:
4198 Make unix mount monitoring API sane.
4199 Now its just a object with mounts_changed
4200 and mountpoints_changed signals.
4202 * gio/glocaldirectorymonitor.c:
4203 * gio/gunixvolumemonitor.c:
4204 Use new mount monitor api
4206 2007-10-09 Alexander Larsson <alexl@redhat.com>
4208 * gio/gunixmounts.[ch]:
4209 Move guess type into one call for mounts and one for mountpoints
4212 * gio/gunixvolume.c:
4215 2007-10-09 Alexander Larsson <alexl@redhat.com>
4217 * gio/gunixmounts.[ch]:
4218 Remove _ prefix in preparation to make this semi-public
4219 Hide implementation of structs
4221 * gio/glocaldirectorymonitor.c:
4223 * gio/gunixvolume.c:
4224 * gio/gunixvolumemonitor.c:
4225 Update for above API changes
4227 2007-10-08 Alexander Larsson <alexl@redhat.com>
4230 Better polling fallback. This also handles the case where we have
4231 a monitor_file implementation, but it fails.
4233 2007-10-08 Alexander Larsson <alexl@redhat.com>
4237 * gio/gunixmounts.c:
4238 * programs/gio-monitor-dir.c:
4239 * programs/gio-monitor-file.c:
4240 Added cancellable to file monitoring calls.
4241 These are really sync calls and need this.
4243 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4245 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4246 (g_local_vfs_class_init):
4247 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4248 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4250 2007-10-05 Alexander Larsson <alexl@redhat.com>
4252 * gio/gdirectorymonitorprivate.h:
4253 * gio/gfilemonitorprivate.h:
4254 * gio/gdirectorymonitor.h:
4255 * gio/gfilemonitor.h:
4256 Remove *private.h and move to the public API, so that
4257 we can do implementations outside gio (such as in gvfs)
4259 * gio/gdirectorymonitor.c:
4260 * gio/gfilemonitor.c:
4261 * gio/glocaldirectorymonitor.c:
4262 * gio/gpollfilemonitor.c:
4263 * gio/inotify/inotify-helper.c:
4264 * gio/fam/fam-helper.c:
4265 Update to the new header names
4267 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4269 * gio/gdirectorymonitor.c:
4270 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4273 2007-10-04 Alexander Larsson <alexl@redhat.com>
4275 * gio/glocalfileinfo.c (get_access_rights):
4276 Set CAN_TRASH when we can move the file.
4277 We should really also check for a parent trash dir.
4279 2007-10-04 Alexander Larsson <alexl@redhat.com>
4281 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4282 Add can_trash access attribute
4284 2007-10-04 Alexander Larsson <alexl@redhat.com>
4287 (g_local_file_trash):
4288 Create info file first. This is per-spec and allows
4289 us to actually trash directories.
4291 2007-10-02 Alexander Larsson <alexl@redhat.com>
4293 * gio/gdesktopappinfo.c:
4294 Implement the new mime support code.
4295 Always set app as handling mimetype when being set as default for it
4297 2007-10-01 Alexander Larsson <alexl@redhat.com>
4299 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4300 Fix up check for xattrs:
4302 2007-10-01 Alexander Larsson <alexl@redhat.com>
4305 (g_app_info_set_as_default_for_extension):
4306 (g_app_info_add_supports_type):
4307 (g_app_info_can_remove_supports_type):
4308 (g_app_info_remove_supports_type):
4309 Make these fail nicely if not implemented
4311 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4313 * gio/glocalfileoutputstream.c:
4314 * gio/glocalfileoutputstream.h:
4319 * programs/gio-save.c:
4320 Add a GFileCreateFlags argument to operations that can create
4323 2007-10-01 Alexander Larsson <alexl@redhat.com>
4325 * gio/gappinfo.[ch]:
4326 * gio/gdesktopappinfo.c:
4327 Add more (stubbed out) mime API needed for nautilus
4329 2007-10-01 Alexander Larsson <alexl@redhat.com>
4332 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4333 Add g_app_info_set_as_default_for_extension.
4335 * gio/gdesktopappinfo.c:
4336 Dummy for g_app_info_set_as_default_for_extension
4337 Support flags in g_app_info_create_from_commandline
4339 * gio/gwin32appinfo.c:
4341 Update for API changes
4343 * gio/gthemedicon.c:
4344 Properly NULL-terminate list of icon names
4346 2007-09-28 Alexander Larsson <alexl@redhat.com>
4348 * gio/gloadableicon.h:
4349 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4351 2007-09-28 Alexander Larsson <alexl@redhat.com>
4354 Install headers in $includedir/gio-standalone/
4356 * gio-2.0.pc.in: Added.
4357 * gio-standalone.pc.in: Removed.
4360 Renamed pkg-config file to match glib (for future move)
4361 Update to the new include dir
4364 Add more TODO comments
4366 2007-09-28 Alexander Larsson <alexl@redhat.com>
4368 * gio/gdesktopappinfo.[ch]:
4369 Expose new_from_filename
4370 Add getter for is_hidden and handle it better
4372 2007-09-28 Alexander Larsson <alexl@redhat.com>
4374 * gio/gfileinfo.[ch]:
4375 Rename g_file_size_format_for_display to
4376 g_format_file_size_for_display.
4377 Now it doesn't have the g_file prefix, so we
4378 can later move it to glib.
4380 2007-09-28 Alexander Larsson <alexl@redhat.com>
4382 * gio/gappinfo.[ch]:
4383 Add g_app_info_get_id and g_app_info_get_executable.
4384 Make all getters non-reffing
4385 Make g_app_info_launch take GFile arguments.
4386 Add must_support_uris argument to g_app_info_get_default_for_type.
4388 * gio/gwin32appinfo.c:
4389 Update to GAppInfo api changes
4391 * gio/gdesktopappinfo.c:
4392 Update to GAppInfo api changes
4393 Implement supports_xdg_startup_notify
4395 * gio/gfileicon.c (g_file_icon_get_file):
4396 Make getter non-reffing.
4401 2007-09-27 Alexander Larsson <alexl@redhat.com>
4403 * gio/gfileinfo.[ch]:
4404 Add g_file_size_format_for_display helper
4406 2007-09-27 Alexander Larsson <alexl@redhat.com>
4408 * gio/glocalfileinfo.c:
4409 Set UNIX_GID from gid, not from uid
4411 2007-09-27 Alexander Larsson <alexl@redhat.com>
4414 Add g_file_set_attributes_async
4416 2007-09-27 Alexander Larsson <alexl@redhat.com>
4418 * gio/glocalfile.c (g_local_file_set_display_name):
4419 Fix set_display_name to actually rename to the right place.
4420 Use lstat to look for existing files so we don't overwrite
4423 2007-09-26 Alexander Larsson <alexl@redhat.com>
4426 Add g_file_set_display_name_async()
4428 2007-09-26 Alexander Larsson <alexl@redhat.com>
4431 Add load_partial_contents async calls
4434 Make internal function static
4436 2007-09-26 Alexander Larsson <alexl@redhat.com>
4438 * gio/glocalfileinfo.c:
4439 Correctly detect broken symlinks
4441 2007-09-26 Alexander Larsson <alexl@redhat.com>
4443 * gio/gcancellable.c (g_cancellable_cancel):
4444 Allow cancel on NULL cancellable
4446 2007-09-25 Alexander Larsson <alexl@redhat.com>
4448 * gio/gsimpleasyncresult.c:
4449 Don't allocate g_error manually.
4450 Fixes g_slice/g_new mixup crash
4452 2007-09-25 Alexander Larsson <alexl@redhat.com>
4454 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4455 Actually set active_backend.
4456 This means the monitor will be cancelled correctly.
4458 2007-09-25 Alexander Larsson <alexl@redhat.com>
4460 * gio/gdirectorymonitor.c:
4461 Set timeout to NULL when destroying
4463 2007-09-25 Alexander Larsson <alexl@redhat.com>
4466 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4467 that is a better description of the error.
4469 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4471 * gio/gvfs.c: (g_vfs_get_local):
4472 Make the local vfs variable static. The same instance should
4475 2007-09-24 Alexander Larsson <alexl@redhat.com>
4477 * gio/glocalfileinfo.c:
4478 Pass in actual length read into sniffer, not the length
4481 2007-09-21 Alexander Larsson <alexl@redhat.com>
4483 * gio/gfileenumerator.c:
4486 * gio/gfileinputstream.c:
4487 * gio/gfileoutputstream.c:
4488 * gio/ginputstream.c:
4489 * gio/goutputstream.c:
4490 Don't crash if async callbacks are NULL
4492 2007-09-20 Alexander Larsson <alexl@redhat.com>
4495 Add async enumerate_children method and default
4498 2007-09-20 Alexander Larsson <alexl@redhat.com>
4501 Add g_file_contains_file & g_file_get_relative_path, since they
4502 were needed for nautilus.
4503 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4508 Implement new methods
4510 2007-09-17 Alexander Larsson <alexl@redhat.com>
4513 * gio/gfileinputstream.[ch]:
4514 * gio/gfileoutputstream.[ch]:
4516 * gio/glocalfileenumerator.[ch]:
4517 * gio/glocalfileinfo.[ch]:
4518 * gio/glocalfileinputstream.c:
4519 * gio/glocalfileoutputstream.c:
4520 * gio/gpollfilemonitor.c:
4521 * programs/gio-copy.c:
4522 * programs/gio-info.c:
4523 * programs/gio-move.c:
4524 Rename get_file_info to query_info() to make it clearer
4525 that these are not simple getters, but do i/o.
4527 2007-09-17 Alexander Larsson <alexl@redhat.com>
4529 * gio/gdatainputstream.[ch]:
4530 * gio/test-streams.c:
4531 Use _read_XXX instead of _get_XXX for the i/o calls
4534 2007-09-17 Alexander Larsson <alexl@redhat.com>
4537 Added needed stuff to TODO comment
4539 2007-09-17 Alexander Larsson <alexl@redhat.com>
4541 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4542 Don't error out removing the backup copy if it doesn't
4545 2007-09-14 Alexander Larsson <alexl@redhat.com>
4547 * programs/Makefile.am:
4548 * programs/gvfs-*.c:
4550 Renamed apps from gvfs-xxx to gio-xxx.
4552 2007-09-14 Alexander Larsson <alexl@redhat.com>
4555 * gio/gfileoutputstream.[ch]:
4556 * gio/glocalfileoutputstream.c:
4557 * programs/gvfs-save.c:
4558 g_file_output_stream_get_etag doesn't do i/o, so remove
4559 cancellation and error.
4561 2007-09-14 Alexander Larsson <alexl@redhat.com>
4564 Add new_etag output to replace_contents functions
4566 2007-09-14 Alexander Larsson <alexl@redhat.com>
4568 * gio/gfileoutputstream.[ch]:
4569 Add async get_file_info and default implementation
4571 2007-09-14 Alexander Larsson <alexl@redhat.com>
4573 * gio/gfileinputstream.c:
4574 Implement fallback wrapper for async get_file_info
4576 2007-09-14 Alexander Larsson <alexl@redhat.com>
4579 Add etag out argument to load_contents
4584 2007-09-14 Alexander Larsson <alexl@redhat.com>
4586 * gio/gcontenttype.c (looks_like_text):
4587 Whitespace like tab, cr and lf do not make the
4590 2007-09-14 Alexander Larsson <alexl@redhat.com>
4592 * gio/gfileinputstream.[ch]:
4593 Add async get_file_info.
4595 2007-09-13 Alexander Larsson <alexl@redhat.com>
4597 * gio/goutputstream.c (g_output_stream_write_all):
4598 Allow NULL for bytes_written
4600 2007-09-13 Alexander Larsson <alexl@redhat.com>
4602 * gio/gmemoryinputstream.[ch]:
4603 Add accessors for data
4605 2007-09-13 Alexander Larsson <alexl@redhat.com>
4607 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4608 Don't crash if length is NULL