1 2008-06-17 Hans Breuer <hans@breuer.org>
3 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
4 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
5 access again on win32, see bug #538127
6 * giomodule.c : ensure GWin32VolumeMonitor is registered
7 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
8 * Makefile.am makefile.msc : updated
10 2008-06-16 Hans Breuer <hans@breuer.org>
12 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
13 and initialization in one step avoids c99ism
15 2008-06-16 Christian Persch <chpe@gnome.org>
18 * gio/gbufferedinputstream.c
20 * gio/gdatainputstream.c
21 * gio/gdesktopappinfo.c
23 * gio/gfileenumerator.c
24 * gio/gfileinputstream.c
25 * gio/gfileoutputstream.c
27 * gio/glocaldirectorymonitor.c
29 * gio/glocalfileenumerator.c
30 * gio/glocalfileinfo.c
31 * gio/glocalfilemonitor.c
32 * gio/glocalfileoutputstream.c
33 * gio/gmemoryinputstream.c
34 * gio/gmemoryoutputstream.c
36 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
39 2008-06-16 Tor Lillqvist <tml@novell.com>
41 Bug 538362 - Get Win32 icons back in the file chooser
43 * gcontenttype.c (g_content_type_get_icon): Look up the icon
44 corresponding to a file extension in the Registry. Patch by Hans
46 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
48 2008-06-16 Tor Lillqvist <tml@novell.com>
50 Patches by Hans Breuer:
52 * glocalfile.c (is_xp_or_later): Handle compiling against older
53 SDK headers with missing VerifyVersionInfo(). Conditioned on
54 _MSC_VER, but should probably use some better test.
55 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
56 uninitialised statfs_result variable on Win32.
58 2008-06-16 Michael Natterer <mitch@imendio.com>
60 * *.c: chain up unconditionally in finalize() and dispose(). Also
61 don't dereference these function pointers when calling them since
62 that has no meaning at all.
64 2008-06-16 Ross Burton <ross@burtonini.com>
67 Remove check for dispose implementation as it annoys Emmanuele.
69 2008-06-16 Ross Burton <ross@burtonini.com>
71 Bug 536252 – GFileEnumerator should allow access to the containing
77 Add g_file_enumerator_get_container() and a container writeable
78 construct-only property. Also shuffle around typedefs to make it
81 * glocalfileenumerator.c:
82 * glocalfileenumerator.h:
84 Instead of a string filename take a GFile in the constructor and
85 use it to set the container property.
90 2008-06-16 Matthias Clasen <mclasen@redhat.com>
92 * gfile.c: Make includes more uniform
94 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
96 * tests/live-g-file.c (sample_struct):
97 Use less fancy unicode filenames, so the test doesn't fail
98 on Mac OS X (#531476).
100 2008-06-12 Matthias Clasen <mclasen@redhat.com>
102 * === Released 2.17.2 ===
104 2008-06-12 Matthias Clasen <mclasen@redhat.com>
106 * === Released 2.17.1 ===
108 2008-06-11 A. Walton <awalton@gnome.org>
110 * tests/g-file.c (test_g_file_new_null):
111 Fix broken test case.
113 2008-06-11 Matthias Clasen <mclasen@redhat.com>
115 * pltcheck.sh: We use g_clear_error now.
117 2008-06-11 Matthias Clasen <mclasen@redhat.com>
119 * glocalfile.c (g_local_file_enumerate_children): Revert
120 an unintended change.
122 2008-06-11 Matthias Clasen <mclasen@redhat.com>
124 * gfile.c (g_file_replace_contents): Don't unref before the last use.
126 2008-06-10 Matthias Clasen <mclasen@redhat.com>
128 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
131 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
132 as icon for the desktop directory, also make user-home and
133 user-desktop the preferred icons.
135 2008-06-10 Matthias Clasen <mclasen@redhat.com>
138 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
139 to add a name to the front of the list.
141 2008-06-10 Matthias Clasen <mclasen@redhat.com>
143 Bug 537392 – Additional colon in xattr name
145 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
146 too. Reported by Alessandro Morandi
148 2008-06-10 Matthias Clasen <mclasen@redhat.com>
150 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
153 * glocalfile.c (get_fs_type): Add afs and autofs.
154 Patch by Danny Baumann.
156 2008-06-10 Matthias Clasen <mclasen@redhat.com>
158 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
160 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
161 is no parent. (Owen Taylor, patch by Christian Neumair)
163 2008-06-10 Paolo Borelli <pborelli@katamail.com>
165 * gfile.c (g_file_replace_contents): do not leak the output stream.
167 2008-06-10 Michael Natterer <mitch@imendio.com>
169 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
170 uninitialized memory as array index.
172 2008-06-10 Tor Lillqvist <tml@novell.com>
174 * gcontenttype.c (g_content_type_can_be_executable)
175 (g_content_type_get_icon) [Win32]: Add TODO comments.
177 2008-06-09 Matthias Clasen <mclasen@redhat.com>
179 * xdgmime/Makefile.am: Fix the build
181 2008-06-09 Matthias Clasen <mclasen@redhat.com>
183 * gcontenttype.c (g_content_type_get_icon): Use icons specified
184 in the shared mime database, if available.
186 * xdgmime/*: Sync with upstream. This brings support for
187 glob weights, generic icons, and changes the cache format to
190 2008-05-28 Michael Natterer <mitch@imendio.com>
192 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
193 the global CPPFLAGS now.
195 * tests/data-input-stream.c
196 * tests/data-output-stream.c
197 * tests/g-file-info.c
199 * tests/live-g-file.c
200 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
202 2008-05-27 Matthias Clasen <mclasen@redhat.com>
204 * === Released 2.17.0 ===
206 * tests/live-g-file.c: Clean up after the tests, so make distcheck
207 doesn't complain about leftover files.
209 2008-05-27 simon.zheng <simon.zheng@sun.com>
211 * glocalfile.c: (g_local_file_query_filesystem_info):
212 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
214 2008-05-26 Michael Natterer <mitch@imendio.com>
216 * gmemoryoutputstream.h: declare
217 g_memory_output_stream_get_data_size().
219 2008-05-26 Matthias Clasen <mclasen@redhat.com>
221 * tests/*: Make tests work
223 2008-05-26 Matthias Clasen <mclasen@redhat.com>
225 * gio.symbols: Add g_memory_output_stream_get_data_size.
227 2008-05-25 Ross Burton <ross@burtonini.com>
230 Fix typo in error message (#534764).
232 2008-05-25 Ross Burton <ross@burtonini.com>
235 Fix circular dependency loop for gioenumtypes.h (#534759).
237 2008-05-19 Hans Breuer <hans@breuer.org>
239 * Makefile.am : EXTRA_DIST += makefile.msc
241 2008-05-17 Matthias Clasen <mclasen@redhat.com>
244 * gcontenttype.c: (g_content_type_from_mime_type):
245 New function to create a content type from a mime type. (#527175,
248 2008-05-17 Matthias Clasen <mclasen@redhat.com>
250 Bug 532965 – Should not return filesystem::free for certain file systems
252 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
253 free space for ncpfs.
255 2008-05-17 Matthias Clasen <mclasen@redhat.com>
257 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
259 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
260 st_dev might be zero.
262 2008-05-16 Tor Lillqvist <tml@novell.com>
264 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
265 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
267 2008-05-13 Bastien Nocera <hadess@hadess.net>
269 * gfile.c (has_valid_scheme): A URI scheme must start with a
270 letter, even if later more characters are allowed (#532852)
272 2008-05-05 Michael Natterer <mitch@imendio.com>
274 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
275 code from being checked in that breaks the build of applications
276 which use G_DISABLE_SINGLE_INCLUDES.
278 * makegioalias.pl: make the alias file include "glib.h" instead of
281 * gio.symbols: whitespace change to force regeneration of the
282 alias file after above script change.
284 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
286 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
288 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
290 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
292 2008-04-28 David Zeuthen <davidz@redhat.com>
294 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
295 displaying mounts in a subdirectory not accessible to the
298 2008-04-22 Michael Natterer <mitch@imendio.com>
300 * Makefile.am: fix library versioning (it was 0.0.0).
302 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
304 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
305 Default disable all loggings.
306 * fen/fen-kernel.c: (printevent), (port_add_kevent),
307 (port_fetch_event_cb): Fixed two macro nits.
309 2008-04-16 Matthias Clasen <mclasen@redhat.com>
311 * xdgmime/xdgmime.c: Rework the timestamp checking code
312 to protect against duplicate directories in XDG_DATA_DIRS.
313 Fixes fd.o bug 12513, reported by Joe Shaw.
315 2008-04-16 Matthias Clasen <mclasen@redhat.com>
317 Partically revert the last commit after realizing that
318 xdg_mime_media_type_equal doesn't have to init at all.
321 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
323 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
325 2008-04-16 Matthias Clasen <mclasen@redhat.com>
327 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
328 reported by Joe Shaw and Federico Mena Quintero.
330 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
331 (xdg_mime_media_type_equal): Turn into a wrapper around the
334 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
335 functions throughout.
337 2008-04-16 Michael Meeks <michael.meeks@novell.com>
339 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
340 tolerate an empty TryExec= line without failing; nautilus used
341 to create launchers with these in previous versions. Fixes #528433
343 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
345 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
346 after name. Fixes #527132.
348 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
350 * gfile.c: (g_file_replace):
353 2008-04-07 Matthias Clasen <mclasen@redhat.com>
355 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
357 * gfile.c (file_copy_fallback): Fix the argument order. Patch
358 by Christian Kellner.
360 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
362 * gunixmounts.c: (g_unix_mount_guess_should_display):
363 Don't list the user directory as a mount, fix potential issue
364 when other users have a similar naming and don't special case the
365 gvfs mounts there since that's not required (#525866)
367 2008-03-31 Alexander Larsson <alexl@redhat.com>
369 * glocalfile.c (get_parent):
372 2008-03-31 A. Walton <awalton@svn.gnome.org>
374 * gfile.c (g_file_query_file_type):
375 Always return a GFileType enum value (#520715).
377 2008-03-31 Alexander Larsson <alexl@redhat.com>
379 * glocalfileenumerator.c:
380 Read readdir() info in chunks (of 1000) and sort
381 the chunks by inode before stat:ing.
382 This is a 20% performance increase in testing
383 gvfs-ls on /usr/bin with cold cache.
385 2008-03-31 Alexander Larsson <alexl@redhat.com>
387 * gmemoryoutputstream.c:
388 Clarify docs for g_memory_output_stream_get_size.
389 Add g_memory_output_stream_get_data_size.
391 2008-03-30 Matthias Clasen <mclasen@redhat.com>
395 * gfile.h: Add g_file_query_file_type convenience function
396 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
398 2008-03-30 Matthias Clasen <mclasen@redhat.com>
401 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
403 2008-03-28 A. Walton <awalton@svn.gnome.org>
405 * giomodule.c (_g_io_modules_ensure_loaded):
406 Adds GIO_EXTRA_MODULES environment variable support, closing bug
409 2008-03-28 Alexander Larsson <alexl@redhat.com>
412 (copy_stream_with_progress):
415 2008-03-28 Alexander Larsson <alexl@redhat.com>
418 (copy_stream_with_progress):
419 (file_copy_fallback):
420 Fallback to g_file_query_info for source size
421 if g_file_input_stream_query_info fails. (#524579)
423 2008-03-28 Alexander Larsson <alexl@redhat.com>
425 * glocalfile.c (g_local_file_move):
426 Reuse old string instead of adding new one.
428 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
430 * fen/*.[hc]: still copyright issue. I hate copyright.
432 2008-03-27 Alexander Larsson <alexl@redhat.com>
434 * glocalfile.c (g_local_file_move):
435 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
436 file over directory. This is according to the docs and what the move via
437 copy+remove fallback does.
439 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
441 * fen/*.[hc]: Updated copyright.
443 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
445 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
447 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
449 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
450 not emit attribute changed events when optimizing changed events.
451 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
454 2008-03-19 Matthias Clasen <mclasen@redhat.com>
456 * gmountoperation.[hc]: Small documentation additions
458 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
460 * gunixmounts.c: (guess_mount_type):
461 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
463 2008-03-19 Alexander Larsson <alexl@redhat.com>
466 (copy_stream_with_progress):
467 Bump block side for copy to 64k to minimize
468 overhead for low latency links. (#523015)
470 2008-03-16 Tor Lillqvist <tml@novell.com>
472 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
473 depend on gio.def on Windows.
475 2008-03-12 David Zeuthen <davidz@redhat.com>
479 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
481 2008-03-14 Alexander Larsson <alexl@redhat.com>
485 Avoid redudant tests (#521851)
486 Patch from Josselin Mouette
488 2008-03-14 Alexander Larsson <alexl@redhat.com>
491 (g_file_monitor_is_cancelled):
492 Fix C89 issue (#521672)
493 Patch from Jens Granseuer
495 2008-03-14 Alexander Larsson <alexl@redhat.com>
497 * fam/fam-helper.[ch]:
499 Shut down fam (including removing fam GSource) when
500 module is unloaded (#521513)
501 Patch from Joe Marcus Clarke
503 2008-03-14 Alexander Larsson <alexl@redhat.com>
506 (_g_io_modules_ensure_loaded):
509 2008-03-14 Alexander Larsson <alexl@redhat.com>
512 (g_local_file_query_filesystem_info):
513 Use right define name for f_fstypename member check
515 2008-03-14 Alexander Larsson <alexl@redhat.com>
518 * fen/Makefile.am: Added.
519 * fen/fen-data.[ch]: Added.
520 * fen/fen-dump.[ch]: Added.
521 * fen/fen-helper.[ch]: Added.
522 * fen/fen-kernel.[ch]: Added.
523 * fen/fen-missing.[ch]: Added.
524 * fen/fen-node.[ch]: Added.
525 * fen/fen-sub.[ch]: Added.
526 * fen/gfendirectorymonitor.[ch]: Added.
527 * fen/gfenfilemonitor.[ch]: Added.
529 Added Solaris FEN file notification backend.
530 Patch from Lin Ma <Lin.Ma@Sun.COM>
532 2008-03-13 Tor Lillqvist <tml@novell.com>
534 * Makefile.am: Actually use the gio.def file when linking the
535 library on Windows. Produce .lib library for Microsoft's toolchain
536 when possible. Install the .lib and .def file like for the other
539 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
541 * tests/live-g-file.c:
542 Include live-g-file in standard set of tests, making a temporary
543 directory in source structure.
545 Clean target directory before the tests (write mode only)
547 2008-03-12 Tor Lillqvist <tml@novell.com>
549 Bug 517419 - gio win32 directory monitor
550 Implementation by Vlad Grecescu.
553 * win32/gwin32directorymonitor.h
554 * win32/gwin32directorymonitor.c: New files.
556 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
558 * Makefile.am: Add the win32 subdirectory.
560 2008-03-12 Tor Lillqvist <tml@novell.com>
562 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
563 normal struct stat on Unix but struct _stati64 on Windows to have
564 access to 64-bit file size information. Use that instead of struct
565 stat in the functions declared here in this private header.
567 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
568 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
569 warnings about unused functions and variables. Don't set
570 meaningless attributes like inode numbers on Windows.
572 2008-03-12 Benjamin Otte <otte@gnome.org>
575 trim whitespace so gtk-doc groks the function name
577 2008-03-12 Tor Lillqvist <tml@novell.com>
579 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
580 returning FALSE, on Win32.
582 2008-03-11 Alexander Larsson <alexl@redhat.com>
585 * glocalfileinfo.[ch]:
586 Correctly implement can_trash by actually
587 looking for a trash dir, not just assuming
590 2008-03-10 Matthias Clasen <mclasen@redhat.com>
592 * === Released 2.16.1 ===
594 2008-03-11 Alexander Larsson <alexl@redhat.com>
597 Fix crashes in new constructor and properties code
599 2008-03-10 Murray Cumming <murrayc@murrayc.com>
601 * gfile.c: Minor spelling correction in documentation:
602 existance -> existence.
604 2008-03-10 Matthias Clasen <mclasen@redhat.com>
606 * === Released 2.16.0 ===
608 2008-03-10 Matthias Clasen <mclasen@redhat.com>
610 * gio.symbols: Remove g_file_contains_file here, too.
612 2008-03-10 Matthias Clasen <mclasen@redhat.com>
614 * gthemedicon.c: Add properties to make bindings happy. (#517676,
615 Samuel Cormier-Iijima)
617 2008-03-08 Tor Lillqvist <tml@novell.com>
619 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
622 2008-03-07 Alexander Larsson <alexl@redhat.com>
625 (g_local_file_query_filesystem_info):
626 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
627 Patch from Jasper Lievisse Adriaanse
629 2008-03-06 Tor Lillqvist <tml@novell.com>
631 * gfileinfo.h: Correct milliseconds to microseconds in the doc
632 comments for the *_USEC attributes.
634 2008-03-06 Alexander Larsson <alexl@redhat.com>
636 * gfile.c (g_file_query_exists):
637 Add g_return_val_if_fail check (#520700)
639 2008-03-06 Alexander Larsson <alexl@redhat.com>
644 * gunionvolumemonitor.c:
647 * tests/live-g-file.c:
648 * xdgmime/xdgmimecache.c:
649 Fix sparse warnings (#519489)
651 2008-03-05 Alexander Larsson <alexl@redhat.com>
654 Make cancellation threadsafe (i.e.
655 guarantee its only done once, and always
658 * glocaldirectorymonitor.c:
659 Make sure we the monitor lives while the
660 mounts_changed callback is being called (#520484)
662 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
664 * gbufferedinputstream.c: Fix typo in parameter
667 2008-03-04 Alexander Larsson <alexl@redhat.com>
670 Remove deprecated symbols we kept for one release.
672 2008-03-04 Murray Cumming <murrayc@murrayc.com>
675 * goutputstream.c: Tiny documentation corrections.
677 2008-03-03 Alexander Larsson <alexl@redhat.com>
679 * gunionvolumemonitor.c:
681 Fix the adopt_orphan_mount vfunc to take a
682 volume_monitor reference in an ABI compat way.
683 This change is not API compat, but the added
684 arg is not used in the only user of this vfunc, so
685 all we get is a harmless warning in gvfs (#520169)
687 2008-03-01 Benjamin Otte <otte@gnome.org>
690 clarify docs for g_file_delete().
692 2008-02-29 Alexander Larsson <alexl@redhat.com>
696 Make sure empty files get text/plain type (#518720)
698 2008-02-27 Alexander Larsson <alexl@redhat.com>
704 (g_unix_volume_mount):
705 Add missing GMountMountFlags argument
707 2008-02-26 Alexander Larsson <alexl@redhat.com>
710 (g_local_file_delete):
711 Handle filesystems (like ntfs-3g) that return EEXIST instead
712 of ENOTEMPTY (#518816)
714 2008-02-25 Matthias Clasen <mclasen@redhat.com>
716 * === Released 2.15.6 ===
718 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
720 * gfile.c (g_file_find_enclosing_mount):
721 * ginputstream.c (g_input_stream_set_pending):
722 * glocalfile.c (g_local_file_find_enclosing_mount):
723 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
724 * goutputstream.c (g_output_stream_set_pending):
726 Fixup translator comments (#518578).
728 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
730 * gfile.c (g_file_find_enclosing_mount):
732 * glocalfile.c (g_local_file_find_enclosing_mount):
735 Fix a few typos in translator comments and documentation.
737 2008-02-25 Alexander Larsson <alexl@redhat.com>
744 Add translator comments (#518578)
746 2008-02-25 Alexander Larsson <alexl@redhat.com>
749 Reintroduce g_file_contains_file, keep around for one
750 unstable release cycle to avoid crashing to many apps.
751 Make sure to delete after release.
753 2008-02-25 Alexander Larsson <alexl@redhat.com>
756 Remove deprecated g_file_contains_file.
758 2008-02-25 Alexander Larsson <alexl@redhat.com>
761 Emit actual change signals in an idle handler.
762 This avoids reentrance and locking problems in
763 the file notification backends.
765 2008-02-25 Alexander Larsson <alexl@redhat.com>
768 (g_unix_mount_guess_should_display):
769 Remove type guessing, instead just display
770 mounts in /media and in ~/.
772 2008-02-25 Alexander Larsson <alexl@redhat.com>
775 Make new strings reuse old ones.
777 2008-02-25 Alexander Larsson <alexl@redhat.com>
780 Implement trashing and filesystem::readonly for win32 (#517235)
781 Patch from Yevgen Muntyan
783 2008-02-23 Matthias Clasen <mclasen@redhat.com>
785 * gfileinfo.h: Documentation fixes.
787 2008-02-22 Alexander Larsson <alexl@redhat.com>
789 * gcontenttype.c (g_content_type_get_icon):
790 Look at old-style gnome mime icon names too, as many
791 have not moved to the new style.
793 2008-02-21 Matthias Clasen <mclasen@redhat.com>
795 * *.c: Correct the @include in for section docs.
797 2008-02-21 David Zeuthen <davidz@redhat.com>
799 * glocalfileinfo.c: (_g_local_file_info_get):
801 (g_content_type_get_icon): Implement this function by
802 moving bits from glocalfileinfo.c
803 (g_content_type_get_description): Unalias before getting
804 description (#517687)
806 * gfile.c: (g_file_class_init),
807 (g_file_query_filesystem_info_async),
808 (g_file_query_filesystem_info_finish),
809 (query_filesystem_info_data_free),
810 (query_filesystem_info_async_thread),
811 (g_file_real_query_filesystem_info_async),
812 (g_file_real_query_filesystem_info_finish):
813 * gfile.h: Implement async version of
814 g_file_query_filesystem_info()
816 * gfileinfo.h: Add new attributes for filesystem::use-preview
818 * gio.symbols: Update
820 * gthemedicon.c: (g_themed_icon_append_name):
821 * gthemedicon.h: Add new new convenience function.
823 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
824 (get_mounts), (get_volumes), (get_connected_drives),
825 (get_volume_for_uuid), (get_mount_for_uuid),
826 (g_union_volume_monitor_init), (populate_union_monitor),
827 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
828 (g_volume_monitor_adopt_orphan_mount):
830 * gvolumemonitor.h: Use recursive locks so it's safe for volume
831 monitor implementations to call into the main volume monitor. Also
832 separate object initialization and volume monitor initialization
833 such that non-native volume monitors can properly adopt their
836 2008-02-21 Alexander Larsson <alexl@redhat.com>
841 2008-02-21 Alexander Larsson <alexl@redhat.com>
844 Add more documentation about how GFiles work (from #517086)
846 2008-02-21 Alexander Larsson <alexl@redhat.com>
850 Add new g_file_has_prefix that does the same as g_file_contains_file.
851 Deprecate g_file_contains_file and add a macro that converts
852 it to g_file_has_prefix.
853 The reason for this change is that the contains_file() name seems to
854 imply that this does more work than what it does, but its really only
855 a name match (from #517086)
860 Update to match the above change.
862 2008-02-20 Benjamin Otte <otte@gnome.org>
864 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
865 (g_file_eject_mountable):
866 even more cases of not returning in error path
868 2008-02-20 Benjamin Otte <otte@gnome.org>
870 * gfile.c: (g_file_mount_mountable):
871 return from function in error path.
873 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
876 Remove trailing coma in GMountMountFlags struct
878 2008-02-18 Alexander Larsson <alexl@redhat.com>
882 * glocalfileoutputstream.c:
883 Use g_unlink/g_rename instead of unlink/rename;
884 do not pass raw filenames to g_set_error. (#517239)
885 Patch from Yevgen Muntyan.
887 2008-02-18 Alexander Larsson <alexl@redhat.com>
890 * glocalfileoutputstream.c:
891 Open files with O_BINARY on windows. (#517140)
893 2008-02-14 Alexander Larsson <alexl@redhat.com>
895 * glocalfileoutputstream.c:
896 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
898 2008-02-14 Alexander Larsson <alexl@redhat.com>
901 Copy permissions with file on copy (#514084)
902 This is what cp does and makes sure e.g. the
903 exec permissions are kept.
904 Its kinda weird in that it keeps the permission bits
905 the same while the uid and gid are different. However
906 the new uid is the user so its not a security issue,
907 and I've heard no complaints about cp on this issue.
909 2008-02-13 Ryan Lortie <desrt@desrt.ca>
911 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
913 2008-02-13 Alexander Larsson <alexl@redhat.com>
915 * inotify/inotify-path.c:
916 Define IN_ONLYDIR if not in header (#515346)
918 2008-02-12 Alexander Larsson <alexl@redhat.com>
920 * tests/live-g-file.c:
923 2008-02-11 Matthias Clasen <mclasen@redhat.com>
925 * === Released 2.15.5 ===
927 2008-02-11 Matthias Clasen <mclasen@redhat.com>
929 * gio.symbols: Add g_mount_mount_flags_get_type.
931 2008-02-11 Alexander Larsson <alexl@redhat.com>
934 (g_file_info_set_attribute_mask):
935 (g_file_attribute_matcher_matches_id):
936 Correctly handle NULL GAttributeMatcher meaning
937 matches nothing. (Fixes #513492)
939 2008-02-11 Alexander Larsson <alexl@redhat.com>
944 Added GMountMountFlags enum and added a flags
945 argument to all mount calls.
947 This is an API/ABI change for future extensibility,
948 as I think we will need at least an
949 inhibit-autorun flag (the panel needs this).
950 There are no flags defined yet though.
952 2008-02-11 Alexander Larsson <alexl@redhat.com>
955 Added new standard::description attribute.
956 Requested by Vincent, and useful for both
959 2008-02-11 Alexander Larsson <alexl@redhat.com>
964 2008-02-11 Matthias Clasen <mclasen@redhat.com>
966 * *.c: Documentation additions
968 2008-02-10 Matthias Clasen <mclasen@redhat.com>
970 * gappinfo.h: Formatting cleanup
971 * gappinfo.c: Fix up docs.
973 2008-02-09 Matthias Clasen <mclasen@redhat.com>
975 * gunixmounts.c: Consistently use getmntent_r() and fall
976 back to getmntent(). (#515492)
978 2008-02-09 Matthias Clasen <mclasen@redhat.com>
980 * gbufferedinputstream.c:
982 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
984 * tests/data-input-stream.c:
985 * tests/data-output-stream.c: Portability fixes.
987 2008-02-08 Alexander Larsson <alexl@redhat.com>
992 Add g_volume_should_automount.
995 2008-02-07 Tor Lillqvist <tml@novell.com>
997 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
998 Win32, too Unix-specific.
1000 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1002 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1003 a local plt if the compiler doesn't support what we want. Bug #514702
1005 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1007 reviewed by: <delete if not using a buddy>
1010 * gunixinputstream.c:
1011 * gunixoutputstream.c:
1013 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1015 * tests/Makefile.am:
1016 * tests/live-g-file.c:
1017 * tests/live-g-file.txt:
1018 New GIO testing module working over real data
1020 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1022 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1023 Fallback to rename() if link() is not available
1024 (when no support on target filesystem)
1026 2008-02-06 Michael Natterer <mitch@imendio.com>
1028 * gfileinfo.c (g_file_info_get_icon): replace
1029 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1031 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1033 * gfile.c (g_file_create):
1034 Documentation update of error codes
1036 2008-02-06 Alexander Larsson <alexl@redhat.com>
1038 * gdesktopappinfo.c:
1039 Update to use both mimeapps.list and
1040 defaults.list as discussed on xdg list.
1042 2008-02-06 Benjamin Otte <otte@gnome.org>
1045 * gfilenamecompleter.c:
1046 Fix some typos in the documentation.
1048 2008-02-06 Alexander Larsson <alexl@redhat.com>
1050 * glocalfile.c (g_local_file_trash):
1051 Don't succeed with trash if newly created
1052 trash dir has the wrong owner. (#514696)
1054 2008-02-05 Alexander Larsson <alexl@redhat.com>
1056 * glocalfile.c (g_local_file_move):
1057 Don't spew warnings when destination is not
1060 2008-02-03 Hans Breuer <hans@breuer.org>
1062 * makefile.msc : update
1064 2008-02-01 Michael Natterer <mitch@imendio.com>
1066 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1067 return value of xdg_mime_list_mime_parents() to a variable of the
1070 2008-02-01 Alexander Larsson <alexl@redhat.com>
1072 * gappinfo.c (g_app_info_launch_uris):
1073 Actually call the launch_uris method, not
1076 2008-02-01 Alexander Larsson <alexl@redhat.com>
1078 * gdesktopappinfo.c (g_desktop_app_info_equal):
1079 Ensure appinfos with no id but same pointer value
1082 2008-02-01 Alexander Larsson <alexl@redhat.com>
1084 * gappinfo.c (g_app_info_launch_default_for_uri):
1087 2008-02-01 Alexander Larsson <alexl@redhat.com>
1091 Add g_app_info_launch_default_for_uri utility
1094 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1096 * gdesktopappinfo.c:
1097 Doc fix for g_app_info_get_default_for_uri_scheme ()
1100 2008-01-30 Alexander Larsson <alexl@redhat.com>
1103 Add doc comment about uris vs GFiles to
1106 * gdesktopappinfo.c:
1107 Ensure uris passed to g_app_info_launch_uris()
1108 are not roundtriped through GFile (as that
1109 may be slightly destructive for e.g. mailto: links)
1111 2008-01-30 Alexander Larsson <alexl@redhat.com>
1113 * tests/data-input-stream.c:
1114 * tests/data-output-stream.c:
1115 C89 fixes from Jens Granseuer (#512849)
1117 2008-01-30 Alexander Larsson <alexl@redhat.com>
1120 Fix gamin/fam difference build issue. (#509419)
1122 2008-01-29 Alexander Larsson <alexl@redhat.com>
1125 * gdesktopappinfo.c:
1126 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1128 2008-01-29 Alexander Larsson <alexl@redhat.com>
1130 * gdesktopappinfo.c:
1131 * gdesktopappinfo.h:
1132 giomodule-priv.h include moved to .c file.
1134 2008-01-29 Alexander Larsson <alexl@redhat.com>
1136 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1137 Remove unused prio/name fields.
1139 2008-01-29 Alexander Larsson <alexl@redhat.com>
1141 * gcontenttype.c (looks_like_text):
1142 Don't treat whitespace as control chars.
1144 2008-01-29 Alexander Larsson <alexl@redhat.com>
1146 * gdesktopappinfo.c:
1147 Lazily create the desktop files for appinfos created
1148 by g_app_info_create_from_commandline() when needed
1149 for mime associations. This allows run-time use
1150 of GAppInfo object without creating unnecessary
1153 2008-01-29 Alexander Larsson <alexl@redhat.com>
1156 Added new symbols to gio.symbols
1158 2008-01-29 Alexander Larsson <alexl@redhat.com>
1161 Add g_file_query_default_handler utility to easily look up
1162 the GAppInfo that handles a file.
1164 * gdesktopappinfo.[ch]:
1166 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1169 Remove unused function
1171 2008-01-29 Alexander Larsson <alexl@redhat.com>
1173 * gfileenumerator.c:
1174 Mention need to free returned value in
1175 g_file_enumerator_next_files_finish docs.
1176 Fix leak if g_file_enumerator_next_files_finish()
1179 2008-01-29 Alexander Larsson <alexl@redhat.com>
1182 (_g_unix_content_type_get_parents):
1183 Use list_parents, not get_parents from xdgmime, because
1184 the later doesn't use the cache.
1186 * xdgmime/xdgmimecache.c:
1187 (_xdg_mime_cache_list_mime_parents):
1188 Don't list the same type as parent multiple times.
1190 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1192 * === Released 2.15.4 ===
1194 2008-01-28 Alexander Larsson <alexl@redhat.com>
1197 Register local vfs with prio 0.
1200 Remove old name and prio class members
1202 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1204 * tests/g-file.c: Disable some tests that are failing in
1205 the absence of a http backend.
1207 2008-01-28 Alexander Larsson <alexl@redhat.com>
1211 Add registration hooks for extension points.
1212 Register the gio extension points.
1214 * fam/gfamdirectorymonitor.c:
1215 * fam/gfamfilemonitor.c:
1216 * glocaldirectorymonitor.[ch]:
1217 * glocalfilemonitor.[ch]:
1218 * gnativevolumemonitor.h:
1219 * gunionvolumemonitor.c:
1220 * gunixvolumemonitor.c:
1223 * inotify/ginotifydirectorymonitor.c:
1224 * inotify/ginotifyfilemonitor.c:
1225 Use the extension points registration instead
1226 of g_type_children().
1228 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1231 * gvolume.[hc]: Document new API.
1233 * gfile.c (g_file_copy_async): Fix docs
1235 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1237 * gbufferedinputstream.c:
1239 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1242 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1244 * glocalfile.c: Avoid trivial differences in translatable strings.
1246 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1248 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1249 build with gcc 3.4 (#509419)
1251 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1253 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1254 (#509994, Murray Cumming)
1256 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1258 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1259 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1260 this allows big jobs to be executed in chunks, instead of blocking
1261 the main loop for a long time.
1263 * gsimpleasyncresult.c:
1264 * giofile.c: Adapt callers.
1266 2008-01-25 Alexander Larsson <alexl@redhat.com>
1268 * gdesktopappinfo.c:
1269 Implement changes discussed on xdg list.
1270 Now we can add supported mimetypes by just using defaults.list
1271 We can also remove associations in defaults.list.
1273 2008-01-25 Alexander Larsson <alexl@redhat.com>
1275 * gdesktopappinfo.c:
1276 Don't make local copy of desktop file
1277 for mimetype changes if the file already
1278 supports the new mimetype.
1280 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1284 * gbufferedinputstream.c:
1285 * glocalfile.c: String improvements. (#511966,
1286 Theppitak Karoonboonyanan)
1288 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1290 * gioscheduler.h: Expand docs a bit.
1292 2008-01-24 Alexander Larsson <alexl@redhat.com>
1295 Add g_drive_get_identifier and
1296 g_drive_enumerate_identifiers
1299 Add g_volume_get_identifier and
1300 g_volume_enumerate_identifiers
1306 Implement identifiers for unix backend
1308 2008-01-24 Alexander Larsson <alexl@redhat.com>
1313 Add g_file_copy_async() (#511580)
1314 Based on patch from Carlos Garcia Campos
1316 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1318 * gioscheduler.c: Some documentation additions.
1320 2008-01-22 Alexander Larsson <alexl@redhat.com>
1322 * gdesktopappinfo.c:
1323 (g_desktop_app_info_new):
1324 Don't leak basename.
1326 2008-01-22 Alexander Larsson <alexl@redhat.com>
1328 * gdesktopappinfo.c:
1329 (g_desktop_app_info_new_from_filename):
1332 2008-01-22 Alexander Larsson <alexl@redhat.com>
1334 * glocalfileinfo.c (get_thumbnail_attributes):
1337 2008-01-22 Alexander Larsson <alexl@redhat.com>
1340 (canonicalize_filename):
1341 Canonicalize paths that start with more than
1345 (compare_two_files):
1346 (test_g_file_new_for_path):
1349 2008-01-22 Alexander Larsson <alexl@redhat.com>
1352 Allow UTF-8 in file:// parse names.
1354 * tests/Makefile.am:
1355 * tests/data-input-stream.c:
1356 * tests/data-output-stream.c:
1357 * tests/g-file-info.c:
1359 Added a bunch of tests from Tomas Bzatek
1361 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1363 * === Released 2.15.3 ===
1365 2008-01-21 Alexander Larsson <alexl@redhat.com>
1367 * gfileinputstream.[ch]:
1368 * gfileoutputstream.[ch]:
1370 Remove duplicated GSeekable functions. (#509990)
1371 Just use the g_seekable_xxx() calls instead.
1373 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1376 * gvolumemanager.c: Whitespace cleanups.
1378 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1379 Use the right mode when creating the file.
1381 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1383 * gfileenumerator.c:
1384 * gfileinputstream.c:
1386 * goutputstream.c: Documentation: Fixed minor typos
1387 and added more mentions of specific _finish() functions.
1389 2008-01-21 Alexander Larsson <alexl@redhat.com>
1391 * inotify/Makefile.am:
1392 * inotify/inotify-helper.c:
1393 * inotify/inotify-kernel.c:
1394 * inotify/inotify-path.c:
1395 * inotify/local_inotify.h: Removed.
1396 * inotify/local_inotify_syscalls.h: Removed.
1397 Removed the included copies of the inotify
1398 headers. We now only use the <sys/inotify.h>
1399 header which exists on modern systems.
1400 This fixes problems on ARM and SH5 (#510448)
1401 but is also generally much cleaner and future
1402 safe. For instance, if other OSes add support
1403 for inotify it should "just work".
1405 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1407 * inotify/*.c: Coding style fixes.
1408 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1409 for the 1/4 Hz timer.
1411 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1414 * gfilemonitor.[hc]:
1415 * gmemoryinputstream.c:
1416 * gmemoryoutputstream.c:
1417 * gmountoperation.c:
1418 * gthemedicon.c: Documentation updates
1420 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1422 * gfile.c: documentation: Fixed more minor
1425 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1427 * gmount.c: (g_mount_remount): documentation:
1428 Mention g_mount_remount_finish() instead of
1429 g_mount_unmount_finish().
1431 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1435 * gfile.c: Fixed some minor typos in the
1438 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1440 * gio/gvolumemonitor.c:
1441 (g_volume_monitor_get_connected_drives):
1442 (g_volume_monitor_get_volumes):
1443 (g_volume_monitor_get_mounts): Documentation:
1444 Clarify the ownership of the regurn GLists.
1446 2008-01-17 Alexander Larsson <alexl@redhat.com>
1449 Add the async find_enclosing_mount version
1450 to the header file too.
1452 2008-01-17 Alexander Larsson <alexl@redhat.com>
1455 Add async version of find_enclosing_mount
1456 with default implementation.
1458 2008-01-17 Alexander Larsson <alexl@redhat.com>
1463 Allow calls to implementation of copy and write
1464 even if the type of the file implementations is
1465 different. This can be used to implement native
1466 upload and download calls in a vfs.
1469 (g_local_file_move):
1470 Protect against the case where move is called
1471 with one file not being local.
1473 Make sure we call the progress callback once
1474 in the native move operation so that the caller
1475 knows how many bytes were copied.
1477 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1480 * gdatainputstream.c:
1482 * gfileoutputstream.c:
1487 * gunixmounts.c: Corrected some typos in the documentation:
1488 occured -> occurred.
1489 its -> it's (where appropriate).
1491 2008-01-16 Alexander Larsson <alexl@redhat.com>
1495 Add g_file_query_exists (#508771)
1497 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1502 * gvolume.c: For async functions that have no non-async
1503 version, document that the GAsyncReadyCallback may be NULL.
1506 2008-01-15 Alexander Larsson <alexl@redhat.com>
1508 * gmemoryinputstream.c:
1509 * gmemoryoutputstream.c:
1510 Don't do pointer arithmetic on void * (#508602)
1511 Patch from Kazuki IWAMOTO
1513 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1515 * === Released 2.15.2 ===
1517 2008-01-14 Alexander Larsson <alexl@redhat.com>
1519 * gfile.c (g_file_monitor_file):
1520 Don't set error here, since we fallback to polling monitor.
1522 2008-01-14 Alexander Larsson <alexl@redhat.com>
1525 (g_file_monitor_directory):
1526 (g_file_monitor_file):
1527 Add GError to file monitor calls
1529 * glocaldirectorymonitor.c:
1530 * glocaldirectorymonitor.h:
1532 * glocalfilemonitor.c:
1533 * glocalfilemonitor.h:
1535 Update for above change
1537 2008-01-14 Alexander Larsson <alexl@redhat.com>
1541 Handle root correctly in g_file_get_relative_path (#508719)
1543 2008-01-14 Alexander Larsson <alexl@redhat.com>
1546 Clean up docs and example for GAsyncResult (#508074)
1548 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1550 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1551 and correct some spelling mistakes. Bug #508108.
1553 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1555 * glocalfileinfo.c: Add a comment.
1557 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1559 * gfileinfo.c: GFileInfo description: Mention
1560 how to actually set attributes in a GFile and how to discover
1561 which attributes are settable. Bug #508378.
1563 2008-01-10 A. Walton <awalton@svn.gnome.org>
1565 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1566 (g_app_info_get_default_for_type):
1567 Check for NULL content types.
1569 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1571 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1573 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1575 * gfile.c: *_async() functions: Several small corrections
1576 to the documentation, mostly correcting copy/paste errors
1577 and improving some sentences.
1579 2008-01-09 Dan Winship <danw@gnome.org>
1581 * glocalfile.c (get_unique_filename): x86_64 fix
1583 2008-01-09 Alexander Larsson <alexl@redhat.com>
1588 Add g_unix_mount_guess_should_display and use
1589 for unix volume monitor backend.
1590 This means we more or less show what the
1591 gnome-vfs backend did.
1592 Based on patch from Padraig O'Briain
1594 2008-01-09 Alexander Larsson <alexl@redhat.com>
1598 Add g_themed_icon_new_with_default_fallbacks
1601 Use default fallbacks for icons
1603 2008-01-09 Alexander Larsson <alexl@redhat.com>
1606 * gmountoperation.[ch]:
1607 Change the API a bit so that unhandled methods
1608 get reported via the reply, rather than by
1609 the signal emission return value. This is because
1610 some handlers can't know this immediately without
1611 doing I/O, and this is an async operation that
1614 2008-01-09 Alexander Larsson <alexl@redhat.com>
1617 * fam/gfamdirectorymonitor.c:
1618 * fam/gfamfilemonitor.c:
1619 Fix double free crash (#508224)
1620 Patch from Joe Marcus Clarke
1622 008-01-07 Matthias Clasen <mclasen@redhat.com>
1624 * === Released 2.15.1 ===
1626 2008-01-07 Alexander Larsson <alexl@redhat.com>
1628 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1629 Fix warning (#507835)
1631 2008-01-07 Alexander Larsson <alexl@redhat.com>
1634 Pass --internal to glib-genmarshal
1637 * gmountoperation.c:
1639 Use better types for signal arguments (#507822)
1641 2008-01-07 Alexander Larsson <alexl@redhat.com>
1644 Build test subdir after .
1645 Remove gdirectorymonitor.[ch]
1647 * gdirectorymonitor.[ch]:
1651 Remove GDirectoryMonitor and make
1652 GFileMonitor the baseclass for both file and
1653 directory monitors. Lift the more generic
1654 rate limiting code from GDirectoryMonitor
1658 * fam/gfamdirectorymonitor.[ch]:
1659 * inotify/ginotifydirectorymonitor.[ch]:
1660 * inotify/inotify-helper.c:
1661 * glocaldirectorymonitor.[ch]:
1664 Update for the removed GDirectoryMonitor.
1666 * gmemoryoutputstream.c:
1667 Remove ununsed variable
1669 2008-01-07 Alexander Larsson <alexl@redhat.com>
1671 * gmemoryinputstream.c:
1672 Translate error strings
1675 * gmemoryoutputstream.[ch]:
1676 New implementation that avoids using GByteArray
1677 in implementation and API. (#506377)
1679 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1681 * tests/*: Add a test for memory input streams.
1683 * Makefile.am: Add tests to SUBDIRS.
1685 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1687 * glocalfilemonitor.c:
1688 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1691 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1693 * gdesktopappinfo.c: Fix a docs typo.
1695 * gfileattribute.c: Add information about extended attributes
1696 to the documentation. (#505058)
1698 2008-01-04 Alexander Larsson <alexl@redhat.com>
1701 * gmountoperation.c:
1702 Use the right type (uint) for the ask_password signal.
1704 2008-01-04 Alexander Larsson <alexl@redhat.com>
1709 Add g_app_info_supports_files()
1710 Remove desktop arg from g_app_info_should_show().
1712 * gdesktopappinfo.[ch]:
1713 Implement g_app_info_supports_files() and new should_show()
1714 Add g_desktop_app_info_set_desktop_env() to set the desktop
1715 for should_show(). (This will be set by gtk+ later)
1717 2008-01-04 Alexander Larsson <alexl@redhat.com>
1720 * gmemoryinputstream.[ch]:
1721 Improve API so that you can use multiple chunks
1722 of memory and custom destroy functions. (#506374)
1724 2008-01-03 Alexander Larsson <alexl@redhat.com>
1727 Handle NULL attribute matchers safely, as we return this
1728 for empty attribute matcher strings.
1730 2008-01-03 Alexander Larsson <alexl@redhat.com>
1732 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1733 Add /usr/local to list of internal mountpoints
1735 2008-01-03 Alexander Larsson <alexl@redhat.com>
1738 Check for HAVE_LCHOWN (#505887)
1740 2008-01-03 Alexander Larsson <alexl@redhat.com>
1744 Add define for selinux context attribute.
1745 Fix missing : -> :: namespace separator change
1746 Fix missing _ -> - name change for xattr-sys.
1749 2008-01-03 Alexander Larsson <alexl@redhat.com>
1752 Link to libglib and libgobject directly (#504879)
1753 Patch from Sebastien Bacher
1755 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1757 * gfile.c: Expanded the g_file_new_for_commandline_arg
1758 description a bit, based on the code and the docs of the
1759 other g_file_new_for_* functions.
1761 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1763 * gfilemonitor.h: Fixed typo in docs.
1765 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1767 Updates to GIO documentation. (#506395, Mikael Hermansson)
1769 * gcontenttype.c: Describe memory management for return value of
1770 g_content_types_get_registered(). Missing piece from #505815.
1771 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1772 GVolume, GDrive, GMounts, which hopefully gives the user less
1773 confusions when using this API. Following explainations from
1774 Alexander Larsson on gtk-devel-list.
1776 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1778 * gfileinfo.c: Expand the long description.
1780 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1783 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1784 fix builds with --disable-visibility. (#500273, Christian Persch)
1786 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1788 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1789 in the list of returned app infos.
1791 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1793 * gappinfo.c: Fix a cross-reference
1795 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1797 * gfileinputstream.c:
1798 * gfileoutputstream.c:
1802 * gdesktopappinfo.c:
1804 * gfileinfo.c: Documentation updates.
1806 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1808 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1811 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1813 * gcontenttype.c (g_content_types_get_registered): Don't return
1814 freed memory (#505815, Mikael Hermansson)
1816 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1818 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1819 used to detect statbuf->st_blocks. (#505042)
1821 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1823 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1824 environment handling. (#504829, Cosimo Cecchi)
1826 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1828 * gappinfo.c: Doc improvements
1830 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1833 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1835 * === Released 2.15.0 ===
1837 2007-12-20 Hans Breuer <hans@breuer.org>
1839 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1840 with symbols gwin32appinfo.obj, added gmount.obj
1841 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1843 2007-12-20 Alexander Larsson <alexl@redhat.com>
1849 * gfilenamecompleter.c:
1852 * gpollfilemonitor.c:
1853 File attribute renames:
1855 fs:: -> filesystem::
1856 id::fs -> id::filesystem
1858 2007-12-20 Alexander Larsson <alexl@redhat.com>
1867 Add GMountUnmountFlags to all unmount and
1869 Add g_mount_remount() call.
1871 2007-12-20 Alexander Larsson <alexl@redhat.com>
1873 * gvfs.c (get_default_vfs):
1874 Fix unused variable warning
1876 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1878 * pltcheck.sh: Update
1880 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1882 * gunionvolumemonitor.c:
1883 * gunixmount.c: Remove C99 comments
1885 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1887 * gio.symbols: Add some missing symbols
1889 2007-12-19 Alexander Larsson <alexl@redhat.com>
1892 Make g_io_modules_load_all_in_directory not unuse
1893 loaded modules so that users of it can do stuff
1895 Init internal "module" types.
1896 Initialize static prio and name for types so that
1897 we don't have to load modules to get it.
1899 * gnativevolumemonitor.h:
1901 Move is_supported to parent class so that
1902 non-native monitors can avoid being initialized
1903 too. (For instance GDaemonVolumeMonitor if we're
1904 not using GDaemonVfs.)
1906 * glocaldirectorymonitor.[ch]:
1907 * glocalfilemonitor.[ch]:
1908 * gunionvolumemonitor.c:
1909 * gunixvolumemonitor.c:
1911 Find plugins using the static prio+name to
1912 avoid unnecessarily loading the modules.
1914 2007-12-19 Alexander Larsson <alexl@redhat.com>
1919 2007-12-19 Alexander Larsson <alexl@redhat.com>
1921 * gunionvolumemonitor.c:
1922 Store the native type as GType, not class so that
1923 we can unload it. But still avoid unnecessarily
1926 2007-12-19 David Zeuthen <davidz@redhat.com>
1928 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1929 add signals 'disconnected' and 'eject-button' on GDrive. Add
1930 signal 'removed' on GVolume and 'unmounted' on GMount.
1932 * gdrive.c: (g_drive_base_init):
1934 * gfile.c: (g_file_mount_mountable),
1935 (g_file_mount_enclosing_volume):
1938 * gmount.c: (g_mount_base_init):
1940 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1941 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1942 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1946 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1948 * *.c: Fix up includes in the section docs.
1950 2007-12-17 Alexander Larsson <alexl@redhat.com>
1952 * gnativevolumemonitor.h:
1953 * gunionvolumemonitor.c:
1954 * gunixvolumemonitor.c:
1955 Add is_supported() to GNativeVolumeMonitorClass so
1956 that we can avoid having to create an object to see
1957 if the backend is supported at runtime.
1958 Also add name member and an env var to pick a specific
1959 volume monitor backend.
1963 Add cancellable to _g_mount_get_for_mount_path()
1965 * glocaldirectorymonitor.c:
1966 * glocalfilemonitor.c:
1967 Avoid loading and unloading modules while sorting.
1969 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1972 * gunixmounts.[hc]: Namespace waste reduction, move some
1973 g_get_unix_mount functions to the g_unix_mount namespace.
1976 * gunixvolumemonitor.c:
1978 * glocaldirectorymonitor.c: Update all callers.
1980 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1982 2007-12-17 Alexander Larsson <alexl@redhat.com>
1985 Add doc comments about what GFile operations are
1986 guaranteed to not block.
1988 2007-12-17 Alexander Larsson <alexl@redhat.com>
1991 Add missing #ifdef fixing OSX build.
1992 (#503334, patch from Richard Hult)
1994 2007-12-14 David Zeuthen <davidz@redhat.com>
1998 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1999 (g_mount_eject), (g_mount_eject_finish):
2001 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2002 (get_volume_for_uuid), (get_mount_for_uuid),
2003 (g_union_volume_monitor_class_init),
2004 (get_default_native_type_with_exclude), (get_default_native_type),
2005 (get_native_type), (update_native_type),
2006 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2007 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2008 (g_unix_mount_can_eject), (eject_unmount_cb),
2009 (eject_unmount_read_error), (eject_unmount_do),
2010 (g_unix_mount_unmount), (g_unix_mount_eject),
2011 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2012 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2013 (g_unix_mount_point_guess_can_eject):
2015 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2016 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2017 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2018 (g_unix_volume_mount), (g_unix_volume_eject),
2019 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2020 * gunixvolumemonitor.c: (get_volume_for_uuid),
2021 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2023 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2024 (g_volume_eject), (g_volume_eject_finish):
2026 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2027 (g_volume_monitor_get_mount_for_uuid):
2030 Provide eject() on both GMount and GVolume and utility functions
2031 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2032 ejected. Introduce the concept of UUID's and wire it into GVolume
2033 and GMount and provide API on GVolumeMonitor to find such
2034 instances. Also handle the case where an external
2035 GNativeVolumeMonitor fails to initialize. Lock around the
2036 _g_get_mount_for_mount_path() function such that volume monitor
2037 implementations won't have to do locking themselves.
2039 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2041 * gdesktopappinfo.c:
2047 * gvolume.h: Documentation updates
2049 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2052 * gfile.h: Doc updates
2054 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2057 * gdesktopappinfo.c: Use hash table iterators.
2059 2007-12-14 Alexander Larsson <alexl@redhat.com>
2062 * gfileattribute.[ch]:
2063 * gfileattribute-priv.h:
2064 Move GFileAttributeValue to a private header, as
2068 Make set_attribute take a type + a pointer instead
2069 of a GFileAttributeValue.
2072 Fix up for above changes.
2073 Add g_file_info_get_attribute_data to get
2074 all info in one call, g_file_info_get_attribute_status
2075 to get the status and g_file_info_get_attribute_as_string.
2079 * glocalfileinfo.[ch]:
2083 Make _guess_type static.
2085 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2088 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2089 made mkenums and friends use temporary files to avoid leaving
2090 empty generated files on failure (#503470).
2092 2007-12-14 Alexander Larsson <alexl@redhat.com>
2094 * gmountoperation.h:
2097 2007-12-14 Alexander Larsson <alexl@redhat.com>
2101 * gfileattribute.[ch]:
2104 * glocalfileoutputstream.c:
2105 * gmountoperation.[ch]:
2106 * goutputstream.[ch]:
2107 Clean up all flags enums to not have _FLAGS in them
2108 Make the names of some of the enums better.
2113 2007-12-14 Michael Natterer <mitch@imendio.com>
2115 * gio.symbols: fix g_io_scheduler symbol names.
2117 2007-12-14 Alexander Larsson <alexl@redhat.com>
2123 * gbufferedinputstream.h:
2124 * gbufferedoutputstream.h:
2127 * gdatainputstream.h:
2128 * gdataoutputstream.h:
2129 * gdesktopappinfo.h:
2130 * gdirectorymonitor.h:
2134 * gfileenumerator.h:
2137 * gfileinputstream.h:
2139 * gfilenamecompleter.h:
2140 * gfileoutputstream.h:
2141 * gfilterinputstream.h:
2142 * gfilteroutputstream.h:
2150 * gmemoryinputstream.h:
2151 * gmemoryoutputstream.h:
2153 * gmountoperation.h:
2156 * gsimpleasyncresult.h:
2158 * gunixinputstream.h:
2160 * gunixoutputstream.h:
2164 * inotify/Makefile.am:
2165 Only allow including <gio/gio.h> from apps
2167 2007-12-14 Alexander Larsson <alexl@redhat.com>
2169 * gioscheduler.[ch]:
2170 * gsimpleasyncresult.c:
2171 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2172 Split out the send_to_mainloop call into two versions instead
2173 of having the block argument.
2175 2007-12-13 Alexander Larsson <alexl@redhat.com>
2177 * gcancellable.[ch]:
2179 * gbufferedinputstream.c:
2180 * gfileenumerator.c:
2181 * gfileinputstream.c:
2182 * gfileoutputstream.c:
2186 g_push/pop_current_cancellable ->
2187 g_cancellable_push/pop_current
2189 2007-12-13 Alexander Larsson <alexl@redhat.com>
2193 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2195 2007-12-13 Alexander Larsson <alexl@redhat.com>
2197 * gmountoperation.h:
2198 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2200 2007-12-12 Alexander Larsson <alexl@redhat.com>
2203 Fix race condition when freeing proxy in
2204 g_io_job_send_to_mainloop().
2206 2007-12-12 Alexander Larsson <alexl@redhat.com>
2212 Make attribute namespace separator "::" instead of ":".
2213 Use - instead of _ as separator in attribute names.
2215 2007-12-12 Alexander Larsson <alexl@redhat.com>
2217 * gbufferedinputstream.h:
2218 * gbufferedoutputstream.h:
2219 * gdatainputstream.h:
2220 * gdataoutputstream.h:
2221 * gdirectorymonitor.h:
2222 * gfileenumerator.h:
2223 * gfileinputstream.h:
2225 * gfileoutputstream.h:
2226 * gfilterinputstream.h:
2227 * gfilteroutputstream.h:
2229 * glocalfileinputstream.h:
2230 * glocalfileoutputstream.h:
2231 * gmemoryinputstream.h:
2232 * gmemoryoutputstream.h:
2233 * gnativevolumemonitor.h:
2235 * gunixinputstream.h:
2236 * gunixoutputstream.h:
2239 s/parent/parent_instance/ in GObjects
2241 2007-12-12 Alexander Larsson <alexl@redhat.com>
2246 No need for padding for interfaces
2248 2007-12-12 Alexander Larsson <alexl@redhat.com>
2252 * gbufferedinputstream.c:
2253 * gbufferedoutputstream.c:
2256 * gdatainputstream.[ch]:
2257 * gdesktopappinfo.c:
2258 * gdirectorymonitor.c:
2260 * gfileattribute.[ch]:
2263 * gfileinputstream.h:
2264 * gfilemonitor.[ch]:
2265 * gfileoutputstream.[ch]:
2266 * gfilterinputstream.h:
2267 * gfilteroutputstream.h:
2270 * gloadableicon.[ch]:
2271 * gmemoryinputstream.c:
2272 * gmountoperation.c:
2274 Fix up a bunch of details in the docs.
2279 2007-12-11 David Zeuthen <davidz@redhat.com>
2281 Rework how volumes, drives and volume monitoring is
2282 done. Previosly the model was
2284 GDrive <1-1> GVolume
2286 where a GDrive instance represented a mount point and a GVolume
2287 instance represented a mounted file system. This patch changes it
2290 GDrive <1-N> GVolume <1-1> GMount
2292 where GMount now serves the purpose of the old GVolume and the new
2293 GVolume serves the purpose of the old GDrive. In addition the new
2294 GDrive interface is used to represent a collection of GVolume
2295 instances (typically partitions) and also contains utility to query
2296 the state of the physical drive the GDrive object represents (such
2297 as checking for media, polling the drive, ejecting the media etc.).
2299 Also implement mounting and unmounting in the Unix volume monitor
2300 backend. A subquent patch will introduce GDrive support for ejection
2304 * gdrive.c: (g_drive_is_media_check_automatic),
2305 (g_drive_is_media_removable), (g_drive_has_media),
2306 (g_drive_can_poll_for_media), (g_drive_eject),
2307 (g_drive_eject_finish), (g_drive_poll_for_media),
2308 (g_drive_poll_for_media_finish):
2310 * gfile.c: (g_file_find_enclosing_mount):
2313 * glocaldirectorymonitor.c:
2314 (g_local_directory_monitor_constructor), (mounts_changed):
2315 * glocalfile.c: (get_mount_info),
2316 (g_local_file_find_enclosing_mount),
2317 (g_local_file_file_iface_init):
2318 * gnativevolumemonitor.h:
2319 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2320 (get_connected_drives), (g_union_volume_monitor_class_init),
2321 (child_volume_added), (child_volume_removed),
2322 (child_volume_changed), (child_mount_added), (child_mount_removed),
2323 (child_mount_pre_unmount), (child_mount_changed),
2324 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2325 (g_union_volume_monitor_remove_monitor),
2326 (_g_mount_get_for_mount_path):
2327 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2328 (guess_system_internal), (_g_get_unix_mounts),
2329 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2330 (g_unix_mount_free), (g_unix_mount_compare),
2331 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2332 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2333 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2334 (type_to_icon), (g_unix_mount_guess_name),
2335 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2336 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2337 (_resolve_symlink), (_resolve_dev_root):
2339 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2340 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2341 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2342 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2343 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2344 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2345 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2346 (g_unix_volume_volume_iface_init):
2348 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2349 (get_mounts), (get_volumes), (get_connected_drives),
2350 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2351 (mountpoints_changed), (mounts_changed),
2352 (g_unix_volume_monitor_init),
2353 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2354 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2355 * gunixvolumemonitor.h:
2356 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2357 (g_volume_mount), (g_volume_mount_finish):
2359 * gvolumemonitor.c: (g_volume_monitor_class_init),
2360 (g_volume_monitor_get_connected_drives),
2361 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2364 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2366 * gmountoperation.h (GPasswordFlags): Close the gap
2368 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2370 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2372 * gdesktopappinfo.[hc]: Remove _-prefixes
2374 2007-12-10 Tor Lillqvist <tml@novell.com>
2376 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2379 2007-12-10 Alexander Larsson <alexl@redhat.com>
2381 * gfile.c (g_file_set_display_name):
2382 Don't hardcode '/' (#502727)
2384 2007-12-09 Hans Breuer <hans@breuer.org>
2386 * makefile.msc : follow lib naming convention
2387 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2388 for user and group name, tested with ../tests/gio-ls
2390 2007-12-09 A. Walton <awalton@svn.gnome.org>
2392 * gdesktopappinfo.c:
2398 * gfileenumerator.c:
2403 * gmemoryinputstream.c:
2404 * gmemoryoutputstream.c:
2406 * gsimpleasyncresult.c:
2407 More documentation cleanup and filling in missing information, bringing
2408 GIO to 99% symbol coverage.
2410 2007-12-08 Hans Breuer <hans@breuer.org>
2412 [gio compiles and links on win32, not sure how much already works]
2413 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2414 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2415 base on win32 API; prefer g_lstat() over lstat(); instead of
2416 localtime_r() use an all GLib implementation on win32;
2417 get_mount_info() still needs a win32 specifc implementation
2418 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2419 win32_get_file_user_info to get owner/group info without uid/gid
2420 * glocalfileinputstream.c : include <io.h> on win32
2421 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2422 definition, use g_win32_ftruncate() for G_OS_WIN32
2423 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2424 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2425 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2426 * makefile.msc : updated
2428 2007-12-07 Alexander Larsson <alexl@redhat.com>
2430 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2431 Avoid warning spew if error == NULL
2433 2007-12-07 Alexander Larsson <alexl@redhat.com>
2436 Update docs wrt etags
2438 2007-12-06 Alexander Larsson <alexl@redhat.com>
2441 Include sys/types.h for dev_t (#501919)
2443 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2447 Make abicheck and pltcheck pass.
2449 2007-12-05 Alexander Larsson <alexl@redhat.com>
2452 * giomodule-priv.h: Added.
2453 * glocaldirectorymonitor.c:
2454 * glocalfilemonitor.c:
2455 * gunionvolumemonitor.c:
2457 Actually add the declaration of _g_io_modules_ensure_loaded
2459 2007-12-05 Alexander Larsson <alexl@redhat.com>
2461 * gdatainputstream.c:
2466 * glocaldirectorymonitor.c:
2467 * glocalfilemonitor.c:
2468 * gunionvolumemonitor.c:
2470 Make g_io_modules_ensure_loaded a private function and
2471 don't pass in the dirname. This means we can do magic
2472 directory finding in the win32 version.
2473 Export the actual load-modules-in-directory code so that
2474 gvfs can reuse that.
2476 2007-12-05 Alexander Larsson <alexl@redhat.com>
2478 * gbufferedinputstream.c:
2479 * gbufferedoutputstream.c:
2482 * gfileenumerator.[ch]:
2483 * gfileinputstream.c:
2484 * gfileoutputstream.[ch]:
2485 * gfilterinputstream.c:
2486 * gfilteroutputstream.c:
2487 * ginputstream.[ch]:
2489 * glocalfileenumerator.c:
2490 * glocalfileinputstream.c:
2491 * glocalfileoutputstream.c:
2492 * gmemoryinputstream.c:
2493 * gmemoryoutputstream.c:
2494 * goutputstream.[ch]:
2497 * gunixinputstream.c:
2498 * gunixoutputstream.c:
2499 Rename all struct members named:
2500 read, write, close, truncate, or mount
2501 to foo_fn, as these are reserved names
2502 and could be defined as macros in libc.
2505 2007-12-04 Alexander Larsson <alexl@redhat.com>
2508 (g_output_stream_close):
2509 Only call flush if non-null.
2511 2007-11-30 Dan Winship <danw@gnome.org>
2513 * ginputstream.c (g_input_stream_set_pending): Make this take a
2514 GError and return a gboolean, and do the "outstanding operation"
2515 check (and the "stream is already closed" check) itself.
2516 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2518 * goutputstream.c (g_output_stream_set_pending)
2519 (g_output_stream_clear_pending): Likewise
2521 * gbufferedinputstream.c:
2522 * gfileinputstream.c:
2523 * gfileoutputstream.c: Update for that
2525 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2526 Like g_simple_async_report_error_in_idle, but takes a GError
2527 rather than building one.
2529 2007-11-30 Dan Winship <danw@gnome.org>
2531 * goutputstream.c: Don't cheat and unset the "pending" flag around
2532 inner calls. Instead, call the class method directly rather than
2533 the wrapper function that checks "pending"
2535 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2537 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2539 2007-12-03 Hans Breuer <hans@breuer.org>
2541 [start of port to win32/msvc]
2542 * gcancellable.c : HAVE_UNIST_H and _pipe()
2543 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2544 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2545 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2547 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2548 * glocalvfs.c : use HAVE_PWD_H
2549 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2550 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2551 * Makefile.am : added to EXTRA_DIST
2553 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2555 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2558 2007-12-03 Alexander Larsson <alexl@redhat.com>
2561 Handle OSX style xattrs API (#500506)
2563 2007-12-03 Alexander Larsson <alexl@redhat.com>
2567 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2569 2007-12-02 A. Walton <awalton@svn.gnome.org>
2573 Documentation accuracy fixes.
2575 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2577 * gioenumtypes.c.template: Fix typo.
2579 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2581 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2583 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2585 * gdirectorymonitor.c:
2586 * gfilemonitor.c: Add properties
2588 * gbufferedoutputstream.c: Don't mark buffer-size property
2591 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2593 * gbufferedoutputstream.c: Add auto-grow property.
2595 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2597 * *.c: Unify the capitalization of section headings.
2599 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2601 * gmountoperation.c: Add properties
2603 * gdatainputstream.c: Turn byte-order and newline-type into
2606 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2608 * gioenumtypes.[hc].template: Templates for enum registration
2610 * Makefile.am: Generate gioenumtypes.[hc]
2612 * gio.h: Include gioenumtypes.h
2614 * gfile.h: Add some explicit nicks.
2616 * gio.symbols: Add new symbols
2618 * pltcheck.sh: Adjust
2620 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2622 * *.c: Explain etags and link to the explanation
2624 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2626 * *.c: Explain I/O priority.
2628 * *.c: More coding style fixes.
2630 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2632 * gasyncresult.c: Add another paragraph to the intro,
2633 adjust coding style of example.
2635 2007-11-29 A. Walton <awalton@svn.gnome.org>
2638 Fixes unknown meaning in GAppLaunchContext docs.
2640 Clarify asynchronous ops.
2642 Fix entity tag docs.
2645 Provides missing gtk-doc section, fixes API docs slighly.
2646 * gsimpleasyncresult.c:
2647 Fill in missing info in docs.
2648 * gunixinputstream.c:
2649 * gunixoutputstream.c:
2650 Be more expressive in short description.
2652 Remove gtk-doc stubs for non-public API.
2654 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2656 * *.c: Coding style fixups
2658 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2660 * inotify/inotify-helper.c: Don't export the lock from libgio.
2662 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2665 * abicheck.sh: Fix copy-and-paste leftovers
2667 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2669 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2671 2007-11-28 Alexander Larsson <alexl@redhat.com>
2675 Removed unnecessary file
2677 * gdesktopappinfo.[ch]:
2680 * glocaldirectorymonitor.[ch]:
2682 * glocalfileenumerator.[ch]:
2683 * glocalfileinputstream.[ch]:
2684 * glocalfilemonitor.[ch]:
2685 * glocalfileoutputstream.[ch]:
2687 * gnativevolumemonitor.c:
2688 * gpollfilemonitor.[ch]:
2689 * gunionvolumemonitor.[ch]:
2692 * gunixvolumemonitor.[ch]:
2695 * inotify/ginotifydirectorymonitor.[ch]:
2696 * inotify/ginotifyfilemonitor.[ch]:
2697 * inotify/inotify-helper.c:
2698 Append _ to all internal functions
2702 Export symbols needed for modules
2704 2007-11-28 Alexander Larsson <alexl@redhat.com>
2707 * abicheck.sh: Added.
2708 * makegioalias.pl: Added.
2709 * pltcheck.sh: Added.
2710 * gio.symbols: Added.
2713 Initial work on adding symbol handling.
2716 Correct ifdef guard name
2719 * inotify/Makefile.am:
2720 * xdgmime/Makefile.am:
2721 Include toplevel Makefile.decl
2723 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2725 * gcontenttype.c: Move doc comments to the unix section.
2727 * *.[hc]: More trivial doc corrections.
2729 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2731 * gpollfilemonitor.c:
2735 * gdesktopappinfo.c:
2740 * gdatainputstream.c:
2741 * gdatainputstream.h:
2742 * gdataoutputstream.c:
2743 * gdataoutputstream.h:
2744 * gfileinfo.h: Doc cleanups
2746 2007-11-28 Andre Klapper <a9016009@gmx.de>
2748 * gdesktopappinfo.c: Fix a typo.
2750 2007-11-27 Andre Klapper <a9016009@gmx.de>
2752 * glocalfileoutputstream.c: Fix a typo.
2754 2007-11-27 Alexander Larsson <alexl@redhat.com>
2757 Don't include removed headers
2759 2007-11-27 Alexander Larsson <alexl@redhat.com>
2762 * gsocketinputstream.[ch]: Removed.
2763 * gsocketoutputstream.[ch]: Removed.
2764 * gunixinputstream.[ch]: Added.
2765 * gunixoutputstream.[ch]: Added.
2766 Renamed GSocket*Stream to GUnix*Stream and made
2767 it unix-only, since its not really only for sockets
2768 and it only works on unix (but is highly useful there).
2770 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2776 * gbufferedinputstream.c:
2777 * gbufferedinputstream.h:
2778 * gbufferedoutputstream.c:
2779 * gbufferedoutputstream.h:
2783 * gdatainputstream.c:
2784 * gdatainputstream.h:
2785 * gdataoutputstream.c:
2786 * gdataoutputstream.h:
2787 * gdirectorymonitor.c:
2788 * gdirectorymonitor.h:
2795 * gfileenumerator.c:
2796 * gfileenumerator.h:
2801 * gfileinputstream.c:
2802 * gfileinputstream.h:
2805 * gfilenamecompleter.c:
2806 * gfilenamecompleter.h:
2807 * gfileoutputstream.c:
2808 * gfileoutputstream.h:
2809 * gfilterinputstream.c:
2810 * gfilterinputstream.h:
2811 * gfilteroutputstream.c:
2812 * gfilteroutputstream.h:
2825 * glocalfileoutputstream.c:
2826 * gmemoryinputstream.c:
2827 * gmemoryinputstream.h:
2828 * gmemoryoutputstream.c:
2829 * gmemoryoutputstream.h:
2830 * gmountoperation.c:
2831 * gmountoperation.h:
2834 * gpollfilemonitor.c:
2837 * gsimpleasyncresult.c:
2838 * gsimpleasyncresult.h:
2839 * gsocketinputstream.c:
2840 * gsocketinputstream.h:
2841 * gsocketoutputstream.c:
2842 * gsocketoutputstream.h:
2849 * gunixvolumemonitor.c:
2858 Bumps documentation to 93% symbol coverage, touching most
2859 of the public files. Fixes broken function documentation prototypes.
2860 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2861 gtk-doc headers in private files.
2863 2007-11-27 Jürg Billeter <j@bitron.ch>
2865 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2866 (g_buffered_input_stream_read_byte):
2867 * gbufferedinputstream.h:
2868 New functions for efficient access to buffer and simple single byte
2871 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2872 (g_data_input_stream_read_until):
2873 * gdatainputstream.h:
2874 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2875 read_until with multiple stop chars.
2877 2007-11-27 Alexander Larsson <alexl@redhat.com>
2881 * inotify/Makefile.am:
2882 Use the user-specified giomoduledir
2884 2007-11-27 Alexander Larsson <alexl@redhat.com>
2888 Add catch-all gio.h header
2889 Don't install gdummyfile.h
2891 2007-11-26 Alexander Larsson <alexl@redhat.com>
2893 * Makefile.am (gioinclude_HEADERS):
2894 Remove trailing whitespace
2896 2007-11-26 Alexander Larsson <alexl@redhat.com>
2898 Merge gio-standalone into glib
2900 2007-11-25 Christian Kellner <gicmo@gnome.org>
2902 * gio/goutputstream.c:
2903 Fix small mistake in the docs.
2905 2007-11-21 Christian Persch <chpe@gnome.org>
2907 * gio/glocalfile.c: (g_local_file_trash):
2908 Convert filenames to UTF-8 for GError.
2909 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2910 as per xdg base dir spec.
2912 2007-11-21 Christian Persch <chpe@gnome.org>
2914 * gio/gdesktopappinfo.c:
2915 Use that g_key_file_to_data cannot fail.
2917 Use stock defines for the key file group and key names.
2920 2007-11-21 Alexander Larsson <alexl@redhat.com>
2923 (copy_stream_with_progress):
2924 Make sure we do a final progress callback with
2925 the full total size.
2927 2007-11-21 Alexander Larsson <alexl@redhat.com>
2930 Export g_file_copy_attributes
2931 Remove padding as its not needed for interfaces
2933 2007-11-20 Alexander Larsson <alexl@redhat.com>
2938 Add G_IO_ERROR_WOULD_MERGE for
2939 copy/move dir on dir with overwrite.
2941 2007-11-20 Alexander Larsson <alexl@redhat.com>
2944 * gio/glocalfileinfo.c:
2945 Add COPY_NAME (this is an optional
2946 non-modified utf8 version of the name) that
2949 2007-11-20 Alexander Larsson <alexl@redhat.com>
2951 * gio/glocalfileenumerator.c:
2952 Report errors as GIOError, not GFileError
2954 2007-11-16 Alexander Larsson <alexl@redhat.com>
2956 * gio/glocalfileoutputstream.c:
2957 * gio/gwin32appinfo.c:
2958 Fix typos in strings.
2959 Patch from Luca Ferretti <elle.uca@libero.it>
2961 2007-11-15 Alexander Larsson <alexl@redhat.com>
2964 Post release version bump
2966 === gio-standalone 0.1.2 ===
2968 2007-11-15 Alexander Larsson <alexl@redhat.com>
2970 * docs/reference/gio/Makefile.am:
2971 Fix up distcheck by removing weird
2977 2007-11-14 Alexander Larsson <alexl@redhat.com>
2979 * gio/gdesktopappinfo.c:
2980 * gio/glocaldirectorymonitor.c:
2982 * gio/glocalfileinfo.c:
2983 * gio/inotify/inotify-sub.c:
2984 * programs/gio-cat.c:
2985 * programs/gio-copy.c:
2986 * programs/gio-info.c:
2987 * programs/gio-ls.c:
2988 * programs/gio-monitor-dir.c:
2989 * programs/gio-monitor-file.c:
2990 * programs/gio-mount.c:
2991 * programs/gio-move.c:
2992 * programs/gio-rm.c:
2993 * programs/gio-save.c:
2994 * programs/gio-trash.c:
2995 Leak fixes from Kjartan Maraas
2997 2007-11-14 Alexander Larsson <alexl@redhat.com>
2999 * gio/fam/fam-helper.c:
3001 * gio/glocalfileinfo.c:
3005 * gio/inotify/inotify-diag.c:
3006 * gio/inotify/inotify-kernel.c:
3007 Various code cleanups from Kjartan Maraas
3009 2007-11-14 Alexander Larsson <alexl@redhat.com>
3011 * gio/gioscheduler.c:
3013 Set up threadpool so that we cache 2 unused
3014 idle threads for at 15 secs. This means we
3015 will reuse thread-local data (like dbus connections)
3018 2007-11-14 Alexander Larsson <alexl@redhat.com>
3020 * gio/fam/fam-helper.c:
3021 * gio/fam/gfamdirectorymonitor.c:
3022 * gio/fam/gfamfilemonitor.c:
3024 * gio/gcontenttype.c:
3025 * gio/gdatainputstream.c:
3026 * gio/gdataoutputstream.c:
3030 * gio/gfileattribute.h:
3031 * gio/gfileenumerator.c:
3033 * gio/ginputstream.c:
3036 * gio/glocalfileinfo.c:
3037 * gio/goutputstream.c:
3038 * gio/gpollfilemonitor.c:
3039 * gio/gsimpleasyncresult.c:
3040 * gio/gunixmounts.c:
3041 * gio/gunixmounts.h:
3042 * gio/inotify/ginotifydirectorymonitor.c:
3043 * gio/inotify/ginotifyfilemonitor.c:
3044 * gio/inotify/inotify-diag.c:
3045 * gio/inotify/inotify-kernel.c:
3046 * gio/inotify/inotify-path.c:
3048 * gio/test-streams.c:
3049 * programs/gio-info.c:
3050 * programs/gio-monitor-dir.c:
3051 * programs/gio-monitor-file.c:
3052 Various code cleanups from Kjartan Maraas
3054 2007-11-13 Alexander Larsson <alexl@redhat.com>
3057 Handle the uri-scheme calls for dummy files
3059 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3061 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3062 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3063 to avoid clash with the C++ keyword.
3065 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3067 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3068 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3070 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3072 * gio/glocaldirectorymonitor.c:
3073 * gio/glocalfilemonitor.c:
3074 * gio/gunionvolumemonitor.c:
3075 Don't use g_once_init_*() for initializations that could fail and
3076 could leave the initialization variable set to 0 but use GOnce.
3077 This prevents a deadlock on the second call when trying to create
3078 a monitor and no monitor type is available. Thanks to Sven Herzberg
3081 2007-11-11 Sven Herzberg <sven@imendio.com>
3083 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3084 #ifdef (make it work on MacOS X again)
3086 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3088 Fixes Changelog for last two commits (sorry guys).
3090 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3092 * gio/gbufferedinputstream.c:
3093 * gio/gdatainputstream.c:
3095 * gio/gfileoutputstream.c:
3096 * gio/gfilterinputstream.c:
3097 * gio/glocalfileinputstream.c:
3100 More consistency fixes in g*stream.c files.
3101 Significant clean of gfile's documentation, filling in of
3102 asynchronous operations documentation.
3104 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3106 * gio/gasyncresult.c:
3107 * gio/gbufferedinputstream.c:
3108 * gio/gbufferedoutputstream.c:
3109 * gio/gcancellable.c:
3110 * gio/gcontenttype.c:
3111 * gio/gdatainputstream.c:
3112 * gio/gdataoutputstream.c:
3113 * gio/gdesktopappinfo.c:
3116 * gio/gfileattribute.c:
3117 * gio/gio/gfileenumerator.c:
3119 * gio/gfileinputstream.c:
3120 * gio/gfilemonitor.c:
3121 * gio/gfileoutputstream.c:
3122 * gio/ginputstream.c:
3124 * gio/gioscheduler.c:
3125 * gio/gloadableicon.c:
3126 * gio/glocalfileoutputstream.c:
3127 * gio/gmemoryoutputstream.c:
3128 * gio/gmountoperation.c:
3129 * gio/goutputstream.c:
3131 * gio/gsimpleasyncresult.c:
3132 * gio/gunionvolumemonitor.c:
3133 * gio/gunixmounts.c:
3134 * gio/gunixvolume.c:
3138 * gio/gvolumemonitor.c:
3139 Updated documentation stubs, working towards consistency and
3142 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3144 * gio/gmemoryoutputstream.c:
3145 * gio/gmemoryoutputstream.h:
3146 Change g_memory_output_stream_set_free_on_close() to
3147 g_memory_output_stream_set_free_data() as this makes more sense and
3148 is more consistent with GMemoryInputStream.
3150 2007-11-07 Alexander Larsson <alexl@redhat.com>
3157 Change how we find the default vfs so that
3158 we can handle a gvfs failing to init
3160 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3162 * gio/gbufferedoutputstream.c:
3163 * gio/gdatainputstream.c:
3164 * gio/gdataoutputstream.c:
3165 * gio/gfileinputstream.c:
3166 * gio/gfileoutputstream.c:
3167 * gio/gfilterinputstream.c:
3168 * gio/gfilteroutputstream.c:
3169 * gio/ginputstream.c:
3170 * gio/gmemoryinputstream.c:
3171 * gio/gmemoryoutputstream.c:
3172 * gio/goutputstream.c:
3173 * gio/gsimpleasyncresult.c:
3174 * gio/gsocketinputstream.c:
3175 * gio/gsocketoutputstream.c:
3176 Add guards to the remaining public functions, add a TODO for
3177 an unimplemented function and remove some useless guards.
3179 2007-11-07 Alexander Larsson <alexl@redhat.com>
3182 Autoconf checks for the various types of
3183 getpwuid_r and getgrgid_r
3185 * gio/glocalfileinfo.c:
3186 Use the autoconf checks from above
3188 2007-11-07 Alexander Larsson <alexl@redhat.com>
3191 (g_local_file_query_filesystem_info):
3192 Some fixes for the statvfs case
3194 2007-11-07 Alexander Larsson <alexl@redhat.com>
3197 (g_local_file_query_filesystem_info):
3198 Pick the "best" of statfs / statvfs for the system
3199 if both are availible.
3201 2007-11-07 Alexander Larsson <alexl@redhat.com>
3203 Solaris fixes from Halton.Huo@Sun.COM:
3210 * gio/glocalfileinfo.c:
3211 Fix for solaris definition of getpwuid_r
3213 * gio/test-streams.c:
3214 Use G_GNUC_PRETTY_FUNCTION
3216 2007-11-07 Alexander Larsson <alexl@redhat.com>
3218 * gio/gdesktopappinfo.c:
3219 (update_default_list):
3220 Remove double semicolon.
3221 Patch from Jens Granseuer
3223 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3225 * docs/reference/gio/gio-sections.txt:
3226 * gio/gbufferedinputstream.c:
3227 * gio/gbufferedinputstream.h:
3228 * gio/gdatainputstream.c:
3229 * gio/gfileenumerator.c:
3230 * gio/gioscheduler.c:
3231 * gio/gunionvolumemonitor.c:
3233 * programs/gio-save.c:
3234 Fix typo: availible -> available. Unfortuntely this breaks API
3235 and ABI as g_buffered_input_stream_get_available() was renamed.
3237 * gio/gunixmounts.c:
3238 * gio/gbufferedinputstream.c:
3239 Add guards for public functions.
3241 2007-11-06 Ross Burton <ross@openedhand.com>
3243 * docs/reference/gio/Makefile.am:
3244 Fix invalid += usage which automake 1.10 doesn't like.
3246 2007-11-06 Alexander Larsson <alexl@redhat.com>
3249 (g_app_launch_context_class_init):
3252 Patch from Ross Burton
3254 2007-11-06 Alexander Larsson <alexl@redhat.com>
3257 Post release version bump
3259 === gio-standalone 0.1.1 ===
3261 2007-11-06 Alexander Larsson <alexl@redhat.com>
3264 Bump version to 0.1.1
3266 * gio/gsimpleasyncresult.c:
3267 (g_simple_async_result_set_from_error):
3268 Remove bogus g_return_if_fail
3270 2007-11-06 Alexander Larsson <alexl@redhat.com>
3273 The name is gio-standalone
3276 Add top src/builddir to includedir
3278 2007-11-06 Alexander Larsson <alexl@redhat.com>
3280 * docs/reference/gio/gio-sections.txt:
3282 * gio/gbufferedinputstream.c:
3283 * gio/gbufferedoutputstream.c:
3284 * gio/gcancellable.c:
3285 * gio/gdatainputstream.h:
3286 * gio/gdataoutputstream.c:
3287 * gio/gdataoutputstream.h:
3288 * gio/gdirectorymonitor.c:
3290 * gio/gfileattribute.c:
3291 * gio/gfileattribute.h:
3292 * gio/gfileenumerator.c:
3293 * gio/gfileenumerator.h:
3296 * gio/gfileinputstream.h:
3297 * gio/gfilemonitor.c:
3298 * gio/gfileoutputstream.h:
3299 * gio/glocalfilemonitor.h:
3300 * gio/glocalfileoutputstream.h:
3301 * gio/gmemoryinputstream.c:
3302 * gio/gmemoryoutputstream.c:
3303 * gio/gmountoperation.c:
3304 * gio/goutputstream.c:
3305 * gio/goutputstream.h:
3307 * gio/gsimpleasyncresult.c:
3308 * gio/gunixmounts.c:
3309 * gio/gunixmounts.h:
3311 * gio/inotify/inotify-helper.c:
3312 Fix gtk-doc warnings
3314 Patch from Ross Burton
3316 2007-11-06 Alexander Larsson <alexl@redhat.com>
3318 * gio/gfilenamecompleter.c:
3319 (g_filename_completer_get_completions):
3322 * gio/gunixvolume.c:
3323 Remove unused function
3325 Patches from Ross Burton
3327 2007-11-06 Alexander Larsson <alexl@redhat.com>
3332 Padding not needed for interfaces
3334 2007-11-06 Alexander Larsson <alexl@redhat.com>
3336 * gio/gfilemonitor.c:
3340 Make giotypes.h an internal file
3343 * gio/gbufferedinputstream.h:
3344 * gio/gbufferedoutputstream.h:
3345 * gio/gcancellable.h:
3346 * gio/gdatainputstream.h:
3347 * gio/gdataoutputstream.h:
3348 * gio/gdirectorymonitor.c:
3349 * gio/gdirectorymonitor.h:
3354 * gio/gfileattribute.h:
3355 * gio/gfileenumerator.h:
3360 * gio/gfilemonitor.c:
3361 * gio/gfilemonitor.h:
3362 * gio/gfilenamecompleter.c:
3363 * gio/gfilenamecompleter.h:
3364 * gio/gfilterinputstream.h:
3365 * gio/gfilteroutputstream.h:
3366 * gio/ginputstream.h:
3367 * gio/gmemoryinputstream.h:
3368 * gio/gmemoryoutputstream.h:
3369 * gio/gmountoperation.c:
3370 * gio/gmountoperation.h:
3371 * gio/gnativevolumemonitor.c:
3372 * gio/goutputstream.h:
3375 * gio/gsimpleasyncresult.c:
3376 * gio/gsimpleasyncresult.h:
3377 * gio/gsocketinputstream.h:
3378 * gio/gsocketoutputstream.h:
3379 * gio/gthemedicon.c:
3380 * gio/gthemedicon.h:
3384 * gio/gvolumemonitor.c:
3385 * gio/gvolumemonitor.h:
3386 Add padding in classes where it seems useful
3387 Don't include giotypes.h from public headers
3388 Move in Class definitions into c file where possible
3393 2007-11-06 Alexander Larsson <alexl@redhat.com>
3395 * docs/reference/gio/gio-docs.xml:
3396 Better structure for API docs
3398 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3401 * gio/gloadableicon.c:
3402 * gio/gsimpleasyncresult.c:
3403 * gio/gthemedicon.c:
3404 Add some more guards to public functions. Only files missing are now
3407 2007-11-06 Alexander Larsson <alexl@redhat.com>
3409 * docs/reference/gio/gio-docs.xml:
3410 Remove old files, add missing ones
3412 2007-11-06 Alexander Larsson <alexl@redhat.com>
3414 * docs/reference/gio/gio-sections.txt:
3417 Hide implementation classes
3419 * gio/gdriveprivate.h:
3420 * gio/gvolumeprivate.h:
3421 Remove non-existing function declarations
3423 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3426 Fix compilation warnings and add guards to the new functions.
3428 * gio/gasyncresult.c:
3430 Add guards to the public functions.
3433 Implement get_path().
3435 2007-11-06 Alexander Larsson <alexl@redhat.com>
3437 * gio/gfilenamecompleter.c:
3438 Make g_filename_completer_get_completions
3439 return char ** instead of GList for
3442 * docs/reference/gio/gio-docs.xml:
3443 * docs/reference/gio/gio-sections.txt:
3445 * gio/gasyncresult.c:
3446 * gio/gbufferedinputstream.c:
3447 * gio/gbufferedoutputstream.c:
3448 * gio/gcancellable.c:
3449 * gio/gcontenttype.c:
3450 * gio/gdatainputstream.c:
3451 * gio/gdataoutputstream.c:
3452 * gio/gdesktopappinfo.c:
3453 * gio/gdirectorymonitor.c:
3457 * gio/gfileattribute.c:
3458 * gio/gfileenumerator.c:
3461 * gio/gfileinputstream.c:
3462 * gio/gfilemonitor.c:
3463 * gio/gfilenamecompleter.c:
3464 * gio/gfilenamecompleter.h:
3465 * gio/gfileoutputstream.c:
3466 * gio/gfilterinputstream.c:
3468 * gio/ginputstream.c:
3470 * gio/gioscheduler.c:
3471 * gio/gloadableicon.c:
3472 * gio/glocaldirectorymonitor.c:
3474 * gio/glocalfileinputstream.c:
3475 * gio/glocalfilemonitor.c:
3476 * gio/glocalfileoutputstream.c:
3478 * gio/gmemoryinputstream.c:
3479 * gio/gmemoryoutputstream.c:
3480 * gio/gmountoperation.c:
3481 * gio/goutputstream.c:
3482 * gio/gpollfilemonitor.c:
3484 * gio/gsimpleasyncresult.c:
3485 * gio/gsocketinputstream.c:
3486 * gio/gsocketoutputstream.c:
3487 * gio/gthemedicon.c:
3488 * gio/gunionvolumemonitor.c:
3490 * gio/gunixmounts.c:
3491 * gio/gunixvolume.c:
3492 * gio/gunixvolumemonitor.c:
3496 * gio/gvolumemonitor.c:
3497 * gio/gwin32appinfo.c:
3498 Add (mostly stub) doc strings to public functions.
3499 Patch from Andrew Walton (awalton@gmail.com)
3501 2007-11-06 Alexander Larsson <alexl@redhat.com>
3503 * gio/gappinfo.[ch]:
3504 Added GAppLaunchContext object and pass that to launch.
3505 This allows simple implementation of both
3506 launch-on-screen and startup notification via a gtk+
3507 subclass of GAppLaunchContext
3509 * gio/gdesktopappinfo.c:
3510 Implement GAppLaunchContext API
3512 * gio/gwin32appinfo.c:
3515 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3517 * gio/gmountoperation.c:
3518 Add some guards to GMountOperation's public functions.
3520 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3524 * gio/gcancellable.c:
3525 * gio/gdirectorymonitor.c:
3527 * gio/gfileenumerator.c:
3528 * gio/gfilemonitor.c:,
3529 * gio/gfilenamecompleter.c:
3532 * gio/gioscheduler.c:
3536 * gio/gvolumemonitor.c:
3537 Add even more guards to various public functions.
3539 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3542 Add guards to the public functions of GAppInfo.
3544 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3546 * gio/gcontenttype.c:
3547 Add some more guards for public functions.
3549 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3551 * gio/fam/fam-module.c:
3552 * gio/fam/gfamdirectorymonitor.c:
3553 * gio/fam/gfamdirectorymonitor.h:
3554 * gio/fam/gfamfilemonitor.c:
3555 * gio/fam/gfamfilemonitor.h:
3556 * gio/inotify/ginotifydirectorymonitor.c:
3557 * gio/inotify/ginotifydirectorymonitor.h:
3558 * gio/inotify/ginotifyfilemonitor.c:
3559 * gio/inotify/ginotifyfilemonitor.h:
3560 Add proper copyright information and remove an unused variable
3561 in the GInotifyFileMonitor constructor.
3563 * gio/gcancellable.c:
3564 Add a guard for a public function and an assertion to prevent
3565 an undefined program state.
3567 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3569 * gio/gfileattribute.c:
3570 Don't run into an assertion if the given attribute value is NULL
3571 in g_file_attribute_value_get_*() but instead return a fallback
3572 value that makes sense in most situations. Passing them a attribute
3573 value with the wrong type will still run into an assertion.
3575 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3577 * gio/gfileattribute.c:
3579 Add even more guards to the public functions. Also fix the refcounting
3580 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3581 let g_file_info_list_attributes() filter the attributes by namespace
3582 instead of simply ignoring the namespace parameter.
3584 2007-11-03 Sven Herzberg <sven@imendio.com>
3586 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3587 (This makes gio work on MacOS X again)
3589 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3592 Build the gio subdirectory before the docs. Otherwise the build will
3595 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3596 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3597 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3598 Add guards to the public functions.
3600 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3602 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3603 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3604 to prevent a compiler warning.
3606 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3607 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3608 return something in the non-void function find_topdir_for().
3610 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3617 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3619 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3620 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3621 * gwin32appinfo.c (g_win32_app_info_launch):
3622 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3623 envp_for_startup_id, g_desktop_app_info_launch,
3624 g_desktop_app_info_launch_uris):
3626 Give an opaque 'startup_id' string instead of 'envp'.
3627 Support empty file lists for launching new windows.
3628 Fix infinite recursion bug when launching URIs.
3630 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3633 Add guard to the new g_file_get_uri_scheme() function.
3635 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3638 Convert a g_return_val_if_fail() to setting the GError instead as
3639 otherwise applications have to verify the parameter before otherwise
3640 and the parameter might come directly from the user.
3642 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3644 * gio/inotify/ginotify*.[ch]:
3645 Add missing copyright information.
3647 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3650 Add guards in the beginning of public functions to check for valid
3651 parameters and fix a bug in copy_stream_with_progress() that could've
3652 caused writing less bytes than reading.
3653 * gio/glocalfileinfo.c:
3654 Check for a NULL parameter and set the GError accordingly then.
3655 * gio/goutputstream.c:
3656 Fix the same bug as in gfile.c that could've caused writing less bytes
3657 than reading in g_output_stream_real_splice().
3659 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3662 Use the correct gvolumeprivate.h naming
3664 2007-11-01 Christian Kellner <gicmo@gnome.org>
3667 Remove leftover "$(daemon_sources)" entry.
3669 2007-11-01 Christian Kellner <gicmo@gnome.org>
3674 Add copyright information to source files.
3676 2007-11-01 Alexander Larsson <alexl@redhat.com>
3680 Add g_file_get_uri_scheme
3682 2007-11-01 Alexander Larsson <alexl@redhat.com>
3685 * gio/gdesktopappinfo.c:
3686 * gio/gwin32appinfo.c:
3687 Add g_app_info_get_default_for_uri_scheme.
3689 2007-11-01 Alexander Larsson <alexl@redhat.com>
3692 Correct filename for gdriveprivate.h
3694 2007-10-31 Alexander Larsson <alexl@redhat.com>
3697 Rename id:value to id:file
3700 * gio/glocalfileinfo.c:
3703 2007-10-31 Alexander Larsson <alexl@redhat.com>
3705 * gio/gunixvolume.c:
3707 Remove g_volume_get_platform_id, as thats not
3708 needed with the simpler union volume monitor
3710 2007-10-31 Alexander Larsson <alexl@redhat.com>
3713 * gio/guniondrive.[ch]: Removed.
3714 * gio/gunionvolume.[ch]: Removed.
3715 Remove GUnionDrive/Volume
3717 * gio/gunionvolumemonitor.c:
3718 Simplify union volume monitor, now we
3719 only have one native volume monitor and
3720 we use the actual volumes/drives from the
3721 child monitors instead of wrapping them
3723 * gio/gnativevolumemonitor.[ch]:
3724 Base class for native volume monitors.
3725 Includes priority and get_volume_for_mountpoint
3728 Add g_file_find_enclosing_volume
3731 Remove volume name fs attribute
3732 Add readonly fs attribute
3735 Implement readonly attribute
3736 remove volume name attribute
3737 Implement find_enclosing volume
3739 * gio/gunixmounts.c:
3740 Add a volume for "/".
3742 * gio/gunixvolume.[ch]:
3743 Set better name for /
3745 * gio/gunixvolumemonitor.[ch]:
3746 Derive from GNativeVolumeMonitor
3747 Implement get_volume_for_mountpoint
3750 GVolume typedef moved to gfile.h
3752 * gio/gvolumeprivate.h:
3753 Add g_volume_get_for_mount_path
3755 2007-10-31 Alexander Larsson <alexl@redhat.com>
3757 * gio/gunixmounts.[ch]:
3758 Add cache info to unix mount listers
3759 Make getmntent use threadsafe
3760 Add is_system_internal attribute for GUnixMount
3762 * gio/gunixvolume.c:
3763 (g_unix_volume_new):
3764 Use is_system_internal instead of own code
3766 * gio/glocaldirectorymonitor.c:
3767 * gio/gunixvolumemonitor.c:
3768 Update to new gunixmounts API
3773 2007-10-30 Alexander Larsson <alexl@redhat.com>
3776 Add volume name fsinfo attribute
3779 Read volume name info
3781 * gio/gunionvolumemonitor.c:
3782 Fix infinite loops when finalizing a union volume monitor
3784 2007-10-30 Alexander Larsson <alexl@redhat.com>
3786 * gio/goutputstream.[ch]:
3787 Add splice() with default implementation
3789 * gio/gsocketoutputstream.c:
3790 (g_socket_output_stream_write):
3791 Return error on cancellation correctly.
3793 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3795 * gio/glocalfile.c (g_local_file_trash):
3796 Do not leak a string.
3798 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3800 * gio/gfile.c (g_file_load_contents):
3801 Unref the stream after closing it.
3803 2007-10-25 Alexander Larsson <alexl@redhat.com>
3805 * gio/gioscheduler.h:
3808 2007-10-25 Alexander Larsson <alexl@redhat.com>
3812 Add g_file_has_uri_scheme and implement for local files
3814 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3816 * gio/gdesktopappinfo.c: do not leak a string.
3818 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3820 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3821 (g_local_directory_monitor_new):
3822 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3823 (g_local_file_monitor_new):
3824 Only look for the monitor type that should be used the first time
3825 and use g_qsort_with_data() instead of our own bubble sort
3828 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3831 * gio/fam/Makefile.am:
3832 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3833 * gio/fam/fam-helper.h:
3834 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3835 * gio/fam/gfamdirectorymonitor.c:
3836 * gio/fam/gfamdirectorymonitor.h:
3837 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3838 * gio/fam/gfamfilemonitor.h:
3839 * gio/glocaldirectorymonitor.c:
3840 * gio/glocaldirectorymonitor.h:
3841 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3842 * gio/glocalfilemonitor.h:
3843 * gio/inotify/Makefile.am:
3844 * gio/inotify/ginotifydirectorymonitor.c:
3845 * gio/inotify/ginotifydirectorymonitor.h:
3846 * gio/inotify/ginotifyfilemonitor.c:
3847 * gio/inotify/ginotifyfilemonitor.h:
3848 Implement the FAM and Inotify monitors as
3849 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3850 their own GIO module. GLocal(Directory|File)Monitor will use the
3851 monitor with the highest rank that is supported on that machine.
3853 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3856 Change GIO module dir to $(libdir)/gio/modules and change
3857 the log domain from GVFS to GIO. Also only export symbols starting
3858 with g_ in the resulting library.
3859 * gio/test-streams.c: (main):
3860 Set log handler for the GIO log domain.
3862 2007-10-22 Alexander Larsson <alexl@redhat.com>
3864 * gio/gfilenamecompleter.[ch]:
3865 Add g_filename_completer_set_dirs_only
3867 2007-10-22 Alexander Larsson <alexl@redhat.com>
3870 * gio/gurifuncs.[ch]:
3871 Add some simple URI helpers
3873 * gio/gfilenamecompleter.[ch]:
3874 Added object for filename (parse name actually) completion
3877 Handle ~ in parse names
3879 2007-10-17 Alexander Larsson <alexl@redhat.com>
3882 * gio/glocalfileinfo.c:
3883 Add and implement id:value attribute
3885 2007-10-17 Alexander Larsson <alexl@redhat.com>
3888 * gio/guniondrive.c:
3890 Add and implement g_drive_has_volumes
3892 2007-10-17 Alexander Larsson <alexl@redhat.com>
3895 * gio/glocalfileinfo.[ch]:
3896 Add unix:is_mountpoint and implement for local files
3898 2007-10-16 Alexander Larsson <alexl@redhat.com>
3900 * gio/gunionvolumemonitor.c:
3901 (g_union_volume_monitor_init):
3902 Fix up the unix type getting so that it works with gcc
3904 2007-10-12 Alexander Larsson <alexl@redhat.com>
3907 * gio/glocalfileinfo.c:
3908 Add thumbnail:failed to file info
3910 2007-10-12 Richard Hult <richard@imendio.com>
3912 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3913 optimizing away the get_type call (happens with some gcc versions,
3914 like the one shipped with OS X 10.4).
3916 2007-10-12 Alexander Larsson <alexl@redhat.com>
3918 * gio/glocalfileinfo.c:
3919 (_g_local_file_info_set_attribute):
3920 Fix build if not HAVE_XATTR
3921 Patch from Milosz Derezynski <internalerror@gmail.com>
3923 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3925 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3926 around for review, otherwise I would have asked you before
3929 2007-10-11 Alexander Larsson <alexl@redhat.com>
3932 Add thumbnail:path attribute
3934 * gio/glocalfileinfo.c:
3935 Implement thumbnail:path for local files
3937 2007-10-11 Alexander Larsson <alexl@redhat.com>
3939 * gio/glocalfileinfo.c:
3940 (_g_local_file_info_get):
3941 Avoid duplicate icon names
3943 2007-10-11 Alexander Larsson <alexl@redhat.com>
3945 * gio/gthemedicon.[ch]:
3946 Change g_themed_icon_get_names return type to const
3948 2007-10-10 Alexander Larsson <alexl@redhat.com>
3950 * gio/glocalfileinfo.c:
3951 Don't reference freed memory
3953 2007-10-10 Alexander Larsson <alexl@redhat.com>
3955 * gio/gfileattribute.c:
3958 * gio/glocalfileinfo.c:
3961 2007-10-10 Alexander Larsson <alexl@redhat.com>
3964 Check for NULL icons
3966 * gio/gfileattribute.c:
3967 Don't dup when getting objects (same as for string attributes)
3969 * gio/gicon.c (g_icon_equal):
3970 Safely handle NULLs in equal
3972 2007-10-10 Alexander Larsson <alexl@redhat.com>
3975 Fix c++ compilation issues
3976 Patch from Milosz Derezynski <internalerror@gmail.com>
3978 2007-10-10 Alexander Larsson <alexl@redhat.com>
3980 * programs/gio-monitor-dir.c:
3981 Don't crash if dir monitor not supported.
3983 2007-10-09 Alexander Larsson <alexl@redhat.com>
3986 Add missing G_END_DECLS
3988 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3990 * gio/gfile.c: (g_file_set_display_name),
3991 (g_file_query_settable_attributes),
3992 (g_file_query_writable_namespaces):
3993 Return NULL not FALSE on errors as the return type is a pointer.
3995 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3997 * gio/glocalfile.c: (g_local_file_monitor_file):
3998 Don't call monitor_file on the default interface vtable (which
3999 is NULL) but simply return NULL. The caller, GFile, will create a
4000 polling monitor if NULL is returned.
4002 2007-10-09 Alexander Larsson <alexl@redhat.com>
4006 * gio-unix-2.0.pc.in:
4007 Add gio-unix-2.0.pc if OS_UNIX
4010 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4012 2007-10-09 Alexander Larsson <alexl@redhat.com>
4014 * gio/gunixmounts.[ch]:
4015 Make unix mount monitoring API sane.
4016 Now its just a object with mounts_changed
4017 and mountpoints_changed signals.
4019 * gio/glocaldirectorymonitor.c:
4020 * gio/gunixvolumemonitor.c:
4021 Use new mount monitor api
4023 2007-10-09 Alexander Larsson <alexl@redhat.com>
4025 * gio/gunixmounts.[ch]:
4026 Move guess type into one call for mounts and one for mountpoints
4029 * gio/gunixvolume.c:
4032 2007-10-09 Alexander Larsson <alexl@redhat.com>
4034 * gio/gunixmounts.[ch]:
4035 Remove _ prefix in preparation to make this semi-public
4036 Hide implementation of structs
4038 * gio/glocaldirectorymonitor.c:
4040 * gio/gunixvolume.c:
4041 * gio/gunixvolumemonitor.c:
4042 Update for above API changes
4044 2007-10-08 Alexander Larsson <alexl@redhat.com>
4047 Better polling fallback. This also handles the case where we have
4048 a monitor_file implementation, but it fails.
4050 2007-10-08 Alexander Larsson <alexl@redhat.com>
4054 * gio/gunixmounts.c:
4055 * programs/gio-monitor-dir.c:
4056 * programs/gio-monitor-file.c:
4057 Added cancellable to file monitoring calls.
4058 These are really sync calls and need this.
4060 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4062 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4063 (g_local_vfs_class_init):
4064 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4065 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4067 2007-10-05 Alexander Larsson <alexl@redhat.com>
4069 * gio/gdirectorymonitorprivate.h:
4070 * gio/gfilemonitorprivate.h:
4071 * gio/gdirectorymonitor.h:
4072 * gio/gfilemonitor.h:
4073 Remove *private.h and move to the public API, so that
4074 we can do implementations outside gio (such as in gvfs)
4076 * gio/gdirectorymonitor.c:
4077 * gio/gfilemonitor.c:
4078 * gio/glocaldirectorymonitor.c:
4079 * gio/gpollfilemonitor.c:
4080 * gio/inotify/inotify-helper.c:
4081 * gio/fam/fam-helper.c:
4082 Update to the new header names
4084 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4086 * gio/gdirectorymonitor.c:
4087 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4090 2007-10-04 Alexander Larsson <alexl@redhat.com>
4092 * gio/glocalfileinfo.c (get_access_rights):
4093 Set CAN_TRASH when we can move the file.
4094 We should really also check for a parent trash dir.
4096 2007-10-04 Alexander Larsson <alexl@redhat.com>
4098 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4099 Add can_trash access attribute
4101 2007-10-04 Alexander Larsson <alexl@redhat.com>
4104 (g_local_file_trash):
4105 Create info file first. This is per-spec and allows
4106 us to actually trash directories.
4108 2007-10-02 Alexander Larsson <alexl@redhat.com>
4110 * gio/gdesktopappinfo.c:
4111 Implement the new mime support code.
4112 Always set app as handling mimetype when being set as default for it
4114 2007-10-01 Alexander Larsson <alexl@redhat.com>
4116 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4117 Fix up check for xattrs:
4119 2007-10-01 Alexander Larsson <alexl@redhat.com>
4122 (g_app_info_set_as_default_for_extension):
4123 (g_app_info_add_supports_type):
4124 (g_app_info_can_remove_supports_type):
4125 (g_app_info_remove_supports_type):
4126 Make these fail nicely if not implemented
4128 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4130 * gio/glocalfileoutputstream.c:
4131 * gio/glocalfileoutputstream.h:
4136 * programs/gio-save.c:
4137 Add a GFileCreateFlags argument to operations that can create
4140 2007-10-01 Alexander Larsson <alexl@redhat.com>
4142 * gio/gappinfo.[ch]:
4143 * gio/gdesktopappinfo.c:
4144 Add more (stubbed out) mime API needed for nautilus
4146 2007-10-01 Alexander Larsson <alexl@redhat.com>
4149 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4150 Add g_app_info_set_as_default_for_extension.
4152 * gio/gdesktopappinfo.c:
4153 Dummy for g_app_info_set_as_default_for_extension
4154 Support flags in g_app_info_create_from_commandline
4156 * gio/gwin32appinfo.c:
4158 Update for API changes
4160 * gio/gthemedicon.c:
4161 Properly NULL-terminate list of icon names
4163 2007-09-28 Alexander Larsson <alexl@redhat.com>
4165 * gio/gloadableicon.h:
4166 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4168 2007-09-28 Alexander Larsson <alexl@redhat.com>
4171 Install headers in $includedir/gio-standalone/
4173 * gio-2.0.pc.in: Added.
4174 * gio-standalone.pc.in: Removed.
4177 Renamed pkg-config file to match glib (for future move)
4178 Update to the new include dir
4181 Add more TODO comments
4183 2007-09-28 Alexander Larsson <alexl@redhat.com>
4185 * gio/gdesktopappinfo.[ch]:
4186 Expose new_from_filename
4187 Add getter for is_hidden and handle it better
4189 2007-09-28 Alexander Larsson <alexl@redhat.com>
4191 * gio/gfileinfo.[ch]:
4192 Rename g_file_size_format_for_display to
4193 g_format_file_size_for_display.
4194 Now it doesn't have the g_file prefix, so we
4195 can later move it to glib.
4197 2007-09-28 Alexander Larsson <alexl@redhat.com>
4199 * gio/gappinfo.[ch]:
4200 Add g_app_info_get_id and g_app_info_get_executable.
4201 Make all getters non-reffing
4202 Make g_app_info_launch take GFile arguments.
4203 Add must_support_uris argument to g_app_info_get_default_for_type.
4205 * gio/gwin32appinfo.c:
4206 Update to GAppInfo api changes
4208 * gio/gdesktopappinfo.c:
4209 Update to GAppInfo api changes
4210 Implement supports_xdg_startup_notify
4212 * gio/gfileicon.c (g_file_icon_get_file):
4213 Make getter non-reffing.
4218 2007-09-27 Alexander Larsson <alexl@redhat.com>
4220 * gio/gfileinfo.[ch]:
4221 Add g_file_size_format_for_display helper
4223 2007-09-27 Alexander Larsson <alexl@redhat.com>
4225 * gio/glocalfileinfo.c:
4226 Set UNIX_GID from gid, not from uid
4228 2007-09-27 Alexander Larsson <alexl@redhat.com>
4231 Add g_file_set_attributes_async
4233 2007-09-27 Alexander Larsson <alexl@redhat.com>
4235 * gio/glocalfile.c (g_local_file_set_display_name):
4236 Fix set_display_name to actually rename to the right place.
4237 Use lstat to look for existing files so we don't overwrite
4240 2007-09-26 Alexander Larsson <alexl@redhat.com>
4243 Add g_file_set_display_name_async()
4245 2007-09-26 Alexander Larsson <alexl@redhat.com>
4248 Add load_partial_contents async calls
4251 Make internal function static
4253 2007-09-26 Alexander Larsson <alexl@redhat.com>
4255 * gio/glocalfileinfo.c:
4256 Correctly detect broken symlinks
4258 2007-09-26 Alexander Larsson <alexl@redhat.com>
4260 * gio/gcancellable.c (g_cancellable_cancel):
4261 Allow cancel on NULL cancellable
4263 2007-09-25 Alexander Larsson <alexl@redhat.com>
4265 * gio/gsimpleasyncresult.c:
4266 Don't allocate g_error manually.
4267 Fixes g_slice/g_new mixup crash
4269 2007-09-25 Alexander Larsson <alexl@redhat.com>
4271 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4272 Actually set active_backend.
4273 This means the monitor will be cancelled correctly.
4275 2007-09-25 Alexander Larsson <alexl@redhat.com>
4277 * gio/gdirectorymonitor.c:
4278 Set timeout to NULL when destroying
4280 2007-09-25 Alexander Larsson <alexl@redhat.com>
4283 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4284 that is a better description of the error.
4286 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4288 * gio/gvfs.c: (g_vfs_get_local):
4289 Make the local vfs variable static. The same instance should
4292 2007-09-24 Alexander Larsson <alexl@redhat.com>
4294 * gio/glocalfileinfo.c:
4295 Pass in actual length read into sniffer, not the length
4298 2007-09-21 Alexander Larsson <alexl@redhat.com>
4300 * gio/gfileenumerator.c:
4303 * gio/gfileinputstream.c:
4304 * gio/gfileoutputstream.c:
4305 * gio/ginputstream.c:
4306 * gio/goutputstream.c:
4307 Don't crash if async callbacks are NULL
4309 2007-09-20 Alexander Larsson <alexl@redhat.com>
4312 Add async enumerate_children method and default
4315 2007-09-20 Alexander Larsson <alexl@redhat.com>
4318 Add g_file_contains_file & g_file_get_relative_path, since they
4319 were needed for nautilus.
4320 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4325 Implement new methods
4327 2007-09-17 Alexander Larsson <alexl@redhat.com>
4330 * gio/gfileinputstream.[ch]:
4331 * gio/gfileoutputstream.[ch]:
4333 * gio/glocalfileenumerator.[ch]:
4334 * gio/glocalfileinfo.[ch]:
4335 * gio/glocalfileinputstream.c:
4336 * gio/glocalfileoutputstream.c:
4337 * gio/gpollfilemonitor.c:
4338 * programs/gio-copy.c:
4339 * programs/gio-info.c:
4340 * programs/gio-move.c:
4341 Rename get_file_info to query_info() to make it clearer
4342 that these are not simple getters, but do i/o.
4344 2007-09-17 Alexander Larsson <alexl@redhat.com>
4346 * gio/gdatainputstream.[ch]:
4347 * gio/test-streams.c:
4348 Use _read_XXX instead of _get_XXX for the i/o calls
4351 2007-09-17 Alexander Larsson <alexl@redhat.com>
4354 Added needed stuff to TODO comment
4356 2007-09-17 Alexander Larsson <alexl@redhat.com>
4358 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4359 Don't error out removing the backup copy if it doesn't
4362 2007-09-14 Alexander Larsson <alexl@redhat.com>
4364 * programs/Makefile.am:
4365 * programs/gvfs-*.c:
4367 Renamed apps from gvfs-xxx to gio-xxx.
4369 2007-09-14 Alexander Larsson <alexl@redhat.com>
4372 * gio/gfileoutputstream.[ch]:
4373 * gio/glocalfileoutputstream.c:
4374 * programs/gvfs-save.c:
4375 g_file_output_stream_get_etag doesn't do i/o, so remove
4376 cancellation and error.
4378 2007-09-14 Alexander Larsson <alexl@redhat.com>
4381 Add new_etag output to replace_contents functions
4383 2007-09-14 Alexander Larsson <alexl@redhat.com>
4385 * gio/gfileoutputstream.[ch]:
4386 Add async get_file_info and default implementation
4388 2007-09-14 Alexander Larsson <alexl@redhat.com>
4390 * gio/gfileinputstream.c:
4391 Implement fallback wrapper for async get_file_info
4393 2007-09-14 Alexander Larsson <alexl@redhat.com>
4396 Add etag out argument to load_contents
4401 2007-09-14 Alexander Larsson <alexl@redhat.com>
4403 * gio/gcontenttype.c (looks_like_text):
4404 Whitespace like tab, cr and lf do not make the
4407 2007-09-14 Alexander Larsson <alexl@redhat.com>
4409 * gio/gfileinputstream.[ch]:
4410 Add async get_file_info.
4412 2007-09-13 Alexander Larsson <alexl@redhat.com>
4414 * gio/goutputstream.c (g_output_stream_write_all):
4415 Allow NULL for bytes_written
4417 2007-09-13 Alexander Larsson <alexl@redhat.com>
4419 * gio/gmemoryinputstream.[ch]:
4420 Add accessors for data
4422 2007-09-13 Alexander Larsson <alexl@redhat.com>
4424 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4425 Don't crash if length is NULL