1 2008-07-06 David Zeuthen <davidz@redhat.com>
4 * gunionvolumemonitor.c: Export the eject-button signal on the
5 volume monitor class (#541794).
7 2008-07-06 Matthias Clasen <mclasen@redhat.com>
9 * gappinfo.c: More doc tweaks
11 2008-07-05 Matthias Clasen <mclasen@redhat.com>
13 * gappinfo.c: Clarify some docs
15 2008-07-03 Matthias Clasen <mclasen@redhat.com>
17 * gdesktopappinfo.c: Fix a stupid mistake.
19 2008-07-02 Matthias Clasen <mclasen@redhat.com>
21 * === Released 2.17.3 ===
23 2008-07-02 Matthias Clasen <mclasen@redhat.com>
25 * gfilemonitor.c: Fix the build.
27 2008-07-02 Matthias Clasen <mclasen@redhat.com>
29 Bug 536160 – Add g_file_monitor()
32 * gfile.[hc]: Add g_file_monitor which can return either
33 a file or a directory monitor. Proposed by Behdad Esfahbod
35 2008-07-02 Matthias Clasen <mclasen@redhat.com>
37 536733 – gio build failure on Irix
39 * glocalfile.c: Use a configure check for structfs.f_bavail.
41 2008-07-02 Matthias Clasen <mclasen@redhat.com>
43 Bug 534639 – add g_desktop_app_info_new_from_keyfile
46 * gdesktopappinfo.[hc]: Add a function to create a
47 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
49 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
51 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
53 2008-07-01 Matthias Clasen <mclasen@redhat.com>
55 * gunixmounts.c: Fix a doc typo.
57 2008-07-01 Cody Russell <bratsche@gnome.org>
60 * gio/gwin32appinfo.c:
61 * gio/gwin32volumemonitor.c:
62 * gio/gwin32mount.c: Fixed some include problems.
64 2008-07-01 Cody Russell <bratsche@gnome.org>
68 Moved all relevant typedefs into these files.
71 Updated wrt added files.
73 Split types into separate file for easier maintainership. (#538564)
75 2008-06-30 Matthias Clasen <mclasen@redhat.com>
77 Bug 540331 – g_file_append_to () documentation: can return NULL
79 * gfile.c (g_file_append_to): Clarify docs.
82 2008-06-30 Matthias Clasen <mclasen@redhat.com>
84 Bug 539090 – g_content_type_from_mime_type() should unalias
86 * gcontentype.c (g_content_type_from_mime_type): Unalias.
87 Patch by Markus Bergman
89 2008-06-30 Matthias Clasen <mclasen@redhat.com>
91 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
94 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
95 on ppc and alpha. Reported by Mart Raudsepp
97 2008-06-29 Matthias Clasen <mclasen@redhat.com>
100 * tests/memory-output-stream.c: Add some tests for
103 2008-06-29 Matthias Clasen <mclasen@redhat.com>
105 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
108 * gmemoryoutputstream.c (array_resize): Handle truncation to
109 zero correctly. Reported by Akira Tagoh
111 2008-06-29 Matthias Clasen <mclasen@redhat.com>
113 * gmemoryoutputstream.c: Trivial doc fixes
115 2008-06-29 Matthias Clasen <mclasen@redhat.com>
117 Bug 540802 – g_list_prepend doesn't concat lists
119 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
120 one list to another. Pointed out by Jan Arne Petersen
122 2008-06-28 Michael Natterer <mitch@imendio.com>
124 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
126 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
128 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
129 to avoid problems with partial icon themes.
131 2008-06-17 Hans Breuer <hans@breuer.org>
133 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
134 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
135 access again on win32, see bug #538127
136 * giomodule.c : ensure GWin32VolumeMonitor is registered
137 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
138 * Makefile.am makefile.msc : updated
140 2008-06-16 Hans Breuer <hans@breuer.org>
142 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
143 and initialization in one step avoids c99ism
145 2008-06-16 Christian Persch <chpe@gnome.org>
148 * gio/gbufferedinputstream.c
150 * gio/gdatainputstream.c
151 * gio/gdesktopappinfo.c
153 * gio/gfileenumerator.c
154 * gio/gfileinputstream.c
155 * gio/gfileoutputstream.c
157 * gio/glocaldirectorymonitor.c
159 * gio/glocalfileenumerator.c
160 * gio/glocalfileinfo.c
161 * gio/glocalfilemonitor.c
162 * gio/glocalfileoutputstream.c
163 * gio/gmemoryinputstream.c
164 * gio/gmemoryoutputstream.c
165 * gio/goutputstream.c
166 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
169 2008-06-16 Tor Lillqvist <tml@novell.com>
171 Bug 538362 - Get Win32 icons back in the file chooser
173 * gcontenttype.c (g_content_type_get_icon): Look up the icon
174 corresponding to a file extension in the Registry. Patch by Hans
176 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
178 2008-06-16 Tor Lillqvist <tml@novell.com>
180 Patches by Hans Breuer:
182 * glocalfile.c (is_xp_or_later): Handle compiling against older
183 SDK headers with missing VerifyVersionInfo(). Conditioned on
184 _MSC_VER, but should probably use some better test.
185 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
186 uninitialised statfs_result variable on Win32.
188 2008-06-16 Michael Natterer <mitch@imendio.com>
190 * *.c: chain up unconditionally in finalize() and dispose(). Also
191 don't dereference these function pointers when calling them since
192 that has no meaning at all.
194 2008-06-16 Ross Burton <ross@burtonini.com>
197 Remove check for dispose implementation as it annoys Emmanuele.
199 2008-06-16 Ross Burton <ross@burtonini.com>
201 Bug 536252 – GFileEnumerator should allow access to the containing
207 Add g_file_enumerator_get_container() and a container writeable
208 construct-only property. Also shuffle around typedefs to make it
211 * glocalfileenumerator.c:
212 * glocalfileenumerator.h:
214 Instead of a string filename take a GFile in the constructor and
215 use it to set the container property.
220 2008-06-16 Matthias Clasen <mclasen@redhat.com>
222 * gfile.c: Make includes more uniform
224 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
226 * tests/live-g-file.c (sample_struct):
227 Use less fancy unicode filenames, so the test doesn't fail
228 on Mac OS X (#531476).
230 2008-06-12 Matthias Clasen <mclasen@redhat.com>
232 * === Released 2.17.2 ===
234 2008-06-12 Matthias Clasen <mclasen@redhat.com>
236 * === Released 2.17.1 ===
238 2008-06-11 A. Walton <awalton@gnome.org>
240 * tests/g-file.c (test_g_file_new_null):
241 Fix broken test case.
243 2008-06-11 Matthias Clasen <mclasen@redhat.com>
245 * pltcheck.sh: We use g_clear_error now.
247 2008-06-11 Matthias Clasen <mclasen@redhat.com>
249 * glocalfile.c (g_local_file_enumerate_children): Revert
250 an unintended change.
252 2008-06-11 Matthias Clasen <mclasen@redhat.com>
254 * gfile.c (g_file_replace_contents): Don't unref before the last use.
256 2008-06-10 Matthias Clasen <mclasen@redhat.com>
258 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
261 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
262 as icon for the desktop directory, also make user-home and
263 user-desktop the preferred icons.
265 2008-06-10 Matthias Clasen <mclasen@redhat.com>
268 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
269 to add a name to the front of the list.
271 2008-06-10 Matthias Clasen <mclasen@redhat.com>
273 Bug 537392 – Additional colon in xattr name
275 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
276 too. Reported by Alessandro Morandi
278 2008-06-10 Matthias Clasen <mclasen@redhat.com>
280 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
283 * glocalfile.c (get_fs_type): Add afs and autofs.
284 Patch by Danny Baumann.
286 2008-06-10 Matthias Clasen <mclasen@redhat.com>
288 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
290 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
291 is no parent. (Owen Taylor, patch by Christian Neumair)
293 2008-06-10 Paolo Borelli <pborelli@katamail.com>
295 * gfile.c (g_file_replace_contents): do not leak the output stream.
297 2008-06-10 Michael Natterer <mitch@imendio.com>
299 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
300 uninitialized memory as array index.
302 2008-06-10 Tor Lillqvist <tml@novell.com>
304 * gcontenttype.c (g_content_type_can_be_executable)
305 (g_content_type_get_icon) [Win32]: Add TODO comments.
307 2008-06-09 Matthias Clasen <mclasen@redhat.com>
309 * xdgmime/Makefile.am: Fix the build
311 2008-06-09 Matthias Clasen <mclasen@redhat.com>
313 * gcontenttype.c (g_content_type_get_icon): Use icons specified
314 in the shared mime database, if available.
316 * xdgmime/*: Sync with upstream. This brings support for
317 glob weights, generic icons, and changes the cache format to
320 2008-05-28 Michael Natterer <mitch@imendio.com>
322 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
323 the global CPPFLAGS now.
325 * tests/data-input-stream.c
326 * tests/data-output-stream.c
327 * tests/g-file-info.c
329 * tests/live-g-file.c
330 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
332 2008-05-27 Matthias Clasen <mclasen@redhat.com>
334 * === Released 2.17.0 ===
336 * tests/live-g-file.c: Clean up after the tests, so make distcheck
337 doesn't complain about leftover files.
339 2008-05-27 simon.zheng <simon.zheng@sun.com>
341 * glocalfile.c: (g_local_file_query_filesystem_info):
342 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
344 2008-05-26 Michael Natterer <mitch@imendio.com>
346 * gmemoryoutputstream.h: declare
347 g_memory_output_stream_get_data_size().
349 2008-05-26 Matthias Clasen <mclasen@redhat.com>
351 * tests/*: Make tests work
353 2008-05-26 Matthias Clasen <mclasen@redhat.com>
355 * gio.symbols: Add g_memory_output_stream_get_data_size.
357 2008-05-25 Ross Burton <ross@burtonini.com>
360 Fix typo in error message (#534764).
362 2008-05-25 Ross Burton <ross@burtonini.com>
365 Fix circular dependency loop for gioenumtypes.h (#534759).
367 2008-05-19 Hans Breuer <hans@breuer.org>
369 * Makefile.am : EXTRA_DIST += makefile.msc
371 2008-05-17 Matthias Clasen <mclasen@redhat.com>
374 * gcontenttype.c: (g_content_type_from_mime_type):
375 New function to create a content type from a mime type. (#527175,
378 2008-05-17 Matthias Clasen <mclasen@redhat.com>
380 Bug 532965 – Should not return filesystem::free for certain file systems
382 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
383 free space for ncpfs.
385 2008-05-17 Matthias Clasen <mclasen@redhat.com>
387 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
389 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
390 st_dev might be zero.
392 2008-05-16 Tor Lillqvist <tml@novell.com>
394 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
395 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
397 2008-05-13 Bastien Nocera <hadess@hadess.net>
399 * gfile.c (has_valid_scheme): A URI scheme must start with a
400 letter, even if later more characters are allowed (#532852)
402 2008-05-05 Michael Natterer <mitch@imendio.com>
404 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
405 code from being checked in that breaks the build of applications
406 which use G_DISABLE_SINGLE_INCLUDES.
408 * makegioalias.pl: make the alias file include "glib.h" instead of
411 * gio.symbols: whitespace change to force regeneration of the
412 alias file after above script change.
414 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
416 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
418 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
420 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
422 2008-04-28 David Zeuthen <davidz@redhat.com>
424 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
425 displaying mounts in a subdirectory not accessible to the
428 2008-04-22 Michael Natterer <mitch@imendio.com>
430 * Makefile.am: fix library versioning (it was 0.0.0).
432 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
434 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
435 Default disable all loggings.
436 * fen/fen-kernel.c: (printevent), (port_add_kevent),
437 (port_fetch_event_cb): Fixed two macro nits.
439 2008-04-16 Matthias Clasen <mclasen@redhat.com>
441 * xdgmime/xdgmime.c: Rework the timestamp checking code
442 to protect against duplicate directories in XDG_DATA_DIRS.
443 Fixes fd.o bug 12513, reported by Joe Shaw.
445 2008-04-16 Matthias Clasen <mclasen@redhat.com>
447 Partically revert the last commit after realizing that
448 xdg_mime_media_type_equal doesn't have to init at all.
451 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
453 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
455 2008-04-16 Matthias Clasen <mclasen@redhat.com>
457 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
458 reported by Joe Shaw and Federico Mena Quintero.
460 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
461 (xdg_mime_media_type_equal): Turn into a wrapper around the
464 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
465 functions throughout.
467 2008-04-16 Michael Meeks <michael.meeks@novell.com>
469 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
470 tolerate an empty TryExec= line without failing; nautilus used
471 to create launchers with these in previous versions. Fixes #528433
473 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
475 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
476 after name. Fixes #527132.
478 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
480 * gfile.c: (g_file_replace):
483 2008-04-07 Matthias Clasen <mclasen@redhat.com>
485 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
487 * gfile.c (file_copy_fallback): Fix the argument order. Patch
488 by Christian Kellner.
490 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
492 * gunixmounts.c: (g_unix_mount_guess_should_display):
493 Don't list the user directory as a mount, fix potential issue
494 when other users have a similar naming and don't special case the
495 gvfs mounts there since that's not required (#525866)
497 2008-03-31 Alexander Larsson <alexl@redhat.com>
499 * glocalfile.c (get_parent):
502 2008-03-31 A. Walton <awalton@svn.gnome.org>
504 * gfile.c (g_file_query_file_type):
505 Always return a GFileType enum value (#520715).
507 2008-03-31 Alexander Larsson <alexl@redhat.com>
509 * glocalfileenumerator.c:
510 Read readdir() info in chunks (of 1000) and sort
511 the chunks by inode before stat:ing.
512 This is a 20% performance increase in testing
513 gvfs-ls on /usr/bin with cold cache.
515 2008-03-31 Alexander Larsson <alexl@redhat.com>
517 * gmemoryoutputstream.c:
518 Clarify docs for g_memory_output_stream_get_size.
519 Add g_memory_output_stream_get_data_size.
521 2008-03-30 Matthias Clasen <mclasen@redhat.com>
525 * gfile.h: Add g_file_query_file_type convenience function
526 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
528 2008-03-30 Matthias Clasen <mclasen@redhat.com>
531 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
533 2008-03-28 A. Walton <awalton@svn.gnome.org>
535 * giomodule.c (_g_io_modules_ensure_loaded):
536 Adds GIO_EXTRA_MODULES environment variable support, closing bug
539 2008-03-28 Alexander Larsson <alexl@redhat.com>
542 (copy_stream_with_progress):
545 2008-03-28 Alexander Larsson <alexl@redhat.com>
548 (copy_stream_with_progress):
549 (file_copy_fallback):
550 Fallback to g_file_query_info for source size
551 if g_file_input_stream_query_info fails. (#524579)
553 2008-03-28 Alexander Larsson <alexl@redhat.com>
555 * glocalfile.c (g_local_file_move):
556 Reuse old string instead of adding new one.
558 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
560 * fen/*.[hc]: still copyright issue. I hate copyright.
562 2008-03-27 Alexander Larsson <alexl@redhat.com>
564 * glocalfile.c (g_local_file_move):
565 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
566 file over directory. This is according to the docs and what the move via
567 copy+remove fallback does.
569 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
571 * fen/*.[hc]: Updated copyright.
573 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
575 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
577 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
579 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
580 not emit attribute changed events when optimizing changed events.
581 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
584 2008-03-19 Matthias Clasen <mclasen@redhat.com>
586 * gmountoperation.[hc]: Small documentation additions
588 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
590 * gunixmounts.c: (guess_mount_type):
591 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
593 2008-03-19 Alexander Larsson <alexl@redhat.com>
596 (copy_stream_with_progress):
597 Bump block side for copy to 64k to minimize
598 overhead for low latency links. (#523015)
600 2008-03-16 Tor Lillqvist <tml@novell.com>
602 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
603 depend on gio.def on Windows.
605 2008-03-12 David Zeuthen <davidz@redhat.com>
609 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
611 2008-03-14 Alexander Larsson <alexl@redhat.com>
615 Avoid redudant tests (#521851)
616 Patch from Josselin Mouette
618 2008-03-14 Alexander Larsson <alexl@redhat.com>
621 (g_file_monitor_is_cancelled):
622 Fix C89 issue (#521672)
623 Patch from Jens Granseuer
625 2008-03-14 Alexander Larsson <alexl@redhat.com>
627 * fam/fam-helper.[ch]:
629 Shut down fam (including removing fam GSource) when
630 module is unloaded (#521513)
631 Patch from Joe Marcus Clarke
633 2008-03-14 Alexander Larsson <alexl@redhat.com>
636 (_g_io_modules_ensure_loaded):
639 2008-03-14 Alexander Larsson <alexl@redhat.com>
642 (g_local_file_query_filesystem_info):
643 Use right define name for f_fstypename member check
645 2008-03-14 Alexander Larsson <alexl@redhat.com>
648 * fen/Makefile.am: Added.
649 * fen/fen-data.[ch]: Added.
650 * fen/fen-dump.[ch]: Added.
651 * fen/fen-helper.[ch]: Added.
652 * fen/fen-kernel.[ch]: Added.
653 * fen/fen-missing.[ch]: Added.
654 * fen/fen-node.[ch]: Added.
655 * fen/fen-sub.[ch]: Added.
656 * fen/gfendirectorymonitor.[ch]: Added.
657 * fen/gfenfilemonitor.[ch]: Added.
659 Added Solaris FEN file notification backend.
660 Patch from Lin Ma <Lin.Ma@Sun.COM>
662 2008-03-13 Tor Lillqvist <tml@novell.com>
664 * Makefile.am: Actually use the gio.def file when linking the
665 library on Windows. Produce .lib library for Microsoft's toolchain
666 when possible. Install the .lib and .def file like for the other
669 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
671 * tests/live-g-file.c:
672 Include live-g-file in standard set of tests, making a temporary
673 directory in source structure.
675 Clean target directory before the tests (write mode only)
677 2008-03-12 Tor Lillqvist <tml@novell.com>
679 Bug 517419 - gio win32 directory monitor
680 Implementation by Vlad Grecescu.
683 * win32/gwin32directorymonitor.h
684 * win32/gwin32directorymonitor.c: New files.
686 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
688 * Makefile.am: Add the win32 subdirectory.
690 2008-03-12 Tor Lillqvist <tml@novell.com>
692 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
693 normal struct stat on Unix but struct _stati64 on Windows to have
694 access to 64-bit file size information. Use that instead of struct
695 stat in the functions declared here in this private header.
697 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
698 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
699 warnings about unused functions and variables. Don't set
700 meaningless attributes like inode numbers on Windows.
702 2008-03-12 Benjamin Otte <otte@gnome.org>
705 trim whitespace so gtk-doc groks the function name
707 2008-03-12 Tor Lillqvist <tml@novell.com>
709 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
710 returning FALSE, on Win32.
712 2008-03-11 Alexander Larsson <alexl@redhat.com>
715 * glocalfileinfo.[ch]:
716 Correctly implement can_trash by actually
717 looking for a trash dir, not just assuming
720 2008-03-10 Matthias Clasen <mclasen@redhat.com>
722 * === Released 2.16.1 ===
724 2008-03-11 Alexander Larsson <alexl@redhat.com>
727 Fix crashes in new constructor and properties code
729 2008-03-10 Murray Cumming <murrayc@murrayc.com>
731 * gfile.c: Minor spelling correction in documentation:
732 existance -> existence.
734 2008-03-10 Matthias Clasen <mclasen@redhat.com>
736 * === Released 2.16.0 ===
738 2008-03-10 Matthias Clasen <mclasen@redhat.com>
740 * gio.symbols: Remove g_file_contains_file here, too.
742 2008-03-10 Matthias Clasen <mclasen@redhat.com>
744 * gthemedicon.c: Add properties to make bindings happy. (#517676,
745 Samuel Cormier-Iijima)
747 2008-03-08 Tor Lillqvist <tml@novell.com>
749 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
752 2008-03-07 Alexander Larsson <alexl@redhat.com>
755 (g_local_file_query_filesystem_info):
756 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
757 Patch from Jasper Lievisse Adriaanse
759 2008-03-06 Tor Lillqvist <tml@novell.com>
761 * gfileinfo.h: Correct milliseconds to microseconds in the doc
762 comments for the *_USEC attributes.
764 2008-03-06 Alexander Larsson <alexl@redhat.com>
766 * gfile.c (g_file_query_exists):
767 Add g_return_val_if_fail check (#520700)
769 2008-03-06 Alexander Larsson <alexl@redhat.com>
774 * gunionvolumemonitor.c:
777 * tests/live-g-file.c:
778 * xdgmime/xdgmimecache.c:
779 Fix sparse warnings (#519489)
781 2008-03-05 Alexander Larsson <alexl@redhat.com>
784 Make cancellation threadsafe (i.e.
785 guarantee its only done once, and always
788 * glocaldirectorymonitor.c:
789 Make sure we the monitor lives while the
790 mounts_changed callback is being called (#520484)
792 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
794 * gbufferedinputstream.c: Fix typo in parameter
797 2008-03-04 Alexander Larsson <alexl@redhat.com>
800 Remove deprecated symbols we kept for one release.
802 2008-03-04 Murray Cumming <murrayc@murrayc.com>
805 * goutputstream.c: Tiny documentation corrections.
807 2008-03-03 Alexander Larsson <alexl@redhat.com>
809 * gunionvolumemonitor.c:
811 Fix the adopt_orphan_mount vfunc to take a
812 volume_monitor reference in an ABI compat way.
813 This change is not API compat, but the added
814 arg is not used in the only user of this vfunc, so
815 all we get is a harmless warning in gvfs (#520169)
817 2008-03-01 Benjamin Otte <otte@gnome.org>
820 clarify docs for g_file_delete().
822 2008-02-29 Alexander Larsson <alexl@redhat.com>
826 Make sure empty files get text/plain type (#518720)
828 2008-02-27 Alexander Larsson <alexl@redhat.com>
834 (g_unix_volume_mount):
835 Add missing GMountMountFlags argument
837 2008-02-26 Alexander Larsson <alexl@redhat.com>
840 (g_local_file_delete):
841 Handle filesystems (like ntfs-3g) that return EEXIST instead
842 of ENOTEMPTY (#518816)
844 2008-02-25 Matthias Clasen <mclasen@redhat.com>
846 * === Released 2.15.6 ===
848 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
850 * gfile.c (g_file_find_enclosing_mount):
851 * ginputstream.c (g_input_stream_set_pending):
852 * glocalfile.c (g_local_file_find_enclosing_mount):
853 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
854 * goutputstream.c (g_output_stream_set_pending):
856 Fixup translator comments (#518578).
858 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
860 * gfile.c (g_file_find_enclosing_mount):
862 * glocalfile.c (g_local_file_find_enclosing_mount):
865 Fix a few typos in translator comments and documentation.
867 2008-02-25 Alexander Larsson <alexl@redhat.com>
874 Add translator comments (#518578)
876 2008-02-25 Alexander Larsson <alexl@redhat.com>
879 Reintroduce g_file_contains_file, keep around for one
880 unstable release cycle to avoid crashing to many apps.
881 Make sure to delete after release.
883 2008-02-25 Alexander Larsson <alexl@redhat.com>
886 Remove deprecated g_file_contains_file.
888 2008-02-25 Alexander Larsson <alexl@redhat.com>
891 Emit actual change signals in an idle handler.
892 This avoids reentrance and locking problems in
893 the file notification backends.
895 2008-02-25 Alexander Larsson <alexl@redhat.com>
898 (g_unix_mount_guess_should_display):
899 Remove type guessing, instead just display
900 mounts in /media and in ~/.
902 2008-02-25 Alexander Larsson <alexl@redhat.com>
905 Make new strings reuse old ones.
907 2008-02-25 Alexander Larsson <alexl@redhat.com>
910 Implement trashing and filesystem::readonly for win32 (#517235)
911 Patch from Yevgen Muntyan
913 2008-02-23 Matthias Clasen <mclasen@redhat.com>
915 * gfileinfo.h: Documentation fixes.
917 2008-02-22 Alexander Larsson <alexl@redhat.com>
919 * gcontenttype.c (g_content_type_get_icon):
920 Look at old-style gnome mime icon names too, as many
921 have not moved to the new style.
923 2008-02-21 Matthias Clasen <mclasen@redhat.com>
925 * *.c: Correct the @include in for section docs.
927 2008-02-21 David Zeuthen <davidz@redhat.com>
929 * glocalfileinfo.c: (_g_local_file_info_get):
931 (g_content_type_get_icon): Implement this function by
932 moving bits from glocalfileinfo.c
933 (g_content_type_get_description): Unalias before getting
934 description (#517687)
936 * gfile.c: (g_file_class_init),
937 (g_file_query_filesystem_info_async),
938 (g_file_query_filesystem_info_finish),
939 (query_filesystem_info_data_free),
940 (query_filesystem_info_async_thread),
941 (g_file_real_query_filesystem_info_async),
942 (g_file_real_query_filesystem_info_finish):
943 * gfile.h: Implement async version of
944 g_file_query_filesystem_info()
946 * gfileinfo.h: Add new attributes for filesystem::use-preview
948 * gio.symbols: Update
950 * gthemedicon.c: (g_themed_icon_append_name):
951 * gthemedicon.h: Add new new convenience function.
953 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
954 (get_mounts), (get_volumes), (get_connected_drives),
955 (get_volume_for_uuid), (get_mount_for_uuid),
956 (g_union_volume_monitor_init), (populate_union_monitor),
957 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
958 (g_volume_monitor_adopt_orphan_mount):
960 * gvolumemonitor.h: Use recursive locks so it's safe for volume
961 monitor implementations to call into the main volume monitor. Also
962 separate object initialization and volume monitor initialization
963 such that non-native volume monitors can properly adopt their
966 2008-02-21 Alexander Larsson <alexl@redhat.com>
971 2008-02-21 Alexander Larsson <alexl@redhat.com>
974 Add more documentation about how GFiles work (from #517086)
976 2008-02-21 Alexander Larsson <alexl@redhat.com>
980 Add new g_file_has_prefix that does the same as g_file_contains_file.
981 Deprecate g_file_contains_file and add a macro that converts
982 it to g_file_has_prefix.
983 The reason for this change is that the contains_file() name seems to
984 imply that this does more work than what it does, but its really only
985 a name match (from #517086)
990 Update to match the above change.
992 2008-02-20 Benjamin Otte <otte@gnome.org>
994 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
995 (g_file_eject_mountable):
996 even more cases of not returning in error path
998 2008-02-20 Benjamin Otte <otte@gnome.org>
1000 * gfile.c: (g_file_mount_mountable):
1001 return from function in error path.
1003 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1006 Remove trailing coma in GMountMountFlags struct
1008 2008-02-18 Alexander Larsson <alexl@redhat.com>
1012 * glocalfileoutputstream.c:
1013 Use g_unlink/g_rename instead of unlink/rename;
1014 do not pass raw filenames to g_set_error. (#517239)
1015 Patch from Yevgen Muntyan.
1017 2008-02-18 Alexander Larsson <alexl@redhat.com>
1020 * glocalfileoutputstream.c:
1021 Open files with O_BINARY on windows. (#517140)
1023 2008-02-14 Alexander Larsson <alexl@redhat.com>
1025 * glocalfileoutputstream.c:
1026 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1028 2008-02-14 Alexander Larsson <alexl@redhat.com>
1031 Copy permissions with file on copy (#514084)
1032 This is what cp does and makes sure e.g. the
1033 exec permissions are kept.
1034 Its kinda weird in that it keeps the permission bits
1035 the same while the uid and gid are different. However
1036 the new uid is the user so its not a security issue,
1037 and I've heard no complaints about cp on this issue.
1039 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1041 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1043 2008-02-13 Alexander Larsson <alexl@redhat.com>
1045 * inotify/inotify-path.c:
1046 Define IN_ONLYDIR if not in header (#515346)
1048 2008-02-12 Alexander Larsson <alexl@redhat.com>
1050 * tests/live-g-file.c:
1053 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1055 * === Released 2.15.5 ===
1057 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1059 * gio.symbols: Add g_mount_mount_flags_get_type.
1061 2008-02-11 Alexander Larsson <alexl@redhat.com>
1064 (g_file_info_set_attribute_mask):
1065 (g_file_attribute_matcher_matches_id):
1066 Correctly handle NULL GAttributeMatcher meaning
1067 matches nothing. (Fixes #513492)
1069 2008-02-11 Alexander Larsson <alexl@redhat.com>
1074 Added GMountMountFlags enum and added a flags
1075 argument to all mount calls.
1077 This is an API/ABI change for future extensibility,
1078 as I think we will need at least an
1079 inhibit-autorun flag (the panel needs this).
1080 There are no flags defined yet though.
1082 2008-02-11 Alexander Larsson <alexl@redhat.com>
1085 Added new standard::description attribute.
1086 Requested by Vincent, and useful for both
1089 2008-02-11 Alexander Larsson <alexl@redhat.com>
1091 * gdesktopappinfo.c:
1094 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1096 * *.c: Documentation additions
1098 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1100 * gappinfo.h: Formatting cleanup
1101 * gappinfo.c: Fix up docs.
1103 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1105 * gunixmounts.c: Consistently use getmntent_r() and fall
1106 back to getmntent(). (#515492)
1108 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1110 * gbufferedinputstream.c:
1112 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1114 * tests/data-input-stream.c:
1115 * tests/data-output-stream.c: Portability fixes.
1117 2008-02-08 Alexander Larsson <alexl@redhat.com>
1122 Add g_volume_should_automount.
1125 2008-02-07 Tor Lillqvist <tml@novell.com>
1127 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1128 Win32, too Unix-specific.
1130 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1132 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1133 a local plt if the compiler doesn't support what we want. Bug #514702
1135 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1137 reviewed by: <delete if not using a buddy>
1140 * gunixinputstream.c:
1141 * gunixoutputstream.c:
1143 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1145 * tests/Makefile.am:
1146 * tests/live-g-file.c:
1147 * tests/live-g-file.txt:
1148 New GIO testing module working over real data
1150 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1152 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1153 Fallback to rename() if link() is not available
1154 (when no support on target filesystem)
1156 2008-02-06 Michael Natterer <mitch@imendio.com>
1158 * gfileinfo.c (g_file_info_get_icon): replace
1159 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1161 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1163 * gfile.c (g_file_create):
1164 Documentation update of error codes
1166 2008-02-06 Alexander Larsson <alexl@redhat.com>
1168 * gdesktopappinfo.c:
1169 Update to use both mimeapps.list and
1170 defaults.list as discussed on xdg list.
1172 2008-02-06 Benjamin Otte <otte@gnome.org>
1175 * gfilenamecompleter.c:
1176 Fix some typos in the documentation.
1178 2008-02-06 Alexander Larsson <alexl@redhat.com>
1180 * glocalfile.c (g_local_file_trash):
1181 Don't succeed with trash if newly created
1182 trash dir has the wrong owner. (#514696)
1184 2008-02-05 Alexander Larsson <alexl@redhat.com>
1186 * glocalfile.c (g_local_file_move):
1187 Don't spew warnings when destination is not
1190 2008-02-03 Hans Breuer <hans@breuer.org>
1192 * makefile.msc : update
1194 2008-02-01 Michael Natterer <mitch@imendio.com>
1196 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1197 return value of xdg_mime_list_mime_parents() to a variable of the
1200 2008-02-01 Alexander Larsson <alexl@redhat.com>
1202 * gappinfo.c (g_app_info_launch_uris):
1203 Actually call the launch_uris method, not
1206 2008-02-01 Alexander Larsson <alexl@redhat.com>
1208 * gdesktopappinfo.c (g_desktop_app_info_equal):
1209 Ensure appinfos with no id but same pointer value
1212 2008-02-01 Alexander Larsson <alexl@redhat.com>
1214 * gappinfo.c (g_app_info_launch_default_for_uri):
1217 2008-02-01 Alexander Larsson <alexl@redhat.com>
1221 Add g_app_info_launch_default_for_uri utility
1224 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1226 * gdesktopappinfo.c:
1227 Doc fix for g_app_info_get_default_for_uri_scheme ()
1230 2008-01-30 Alexander Larsson <alexl@redhat.com>
1233 Add doc comment about uris vs GFiles to
1236 * gdesktopappinfo.c:
1237 Ensure uris passed to g_app_info_launch_uris()
1238 are not roundtriped through GFile (as that
1239 may be slightly destructive for e.g. mailto: links)
1241 2008-01-30 Alexander Larsson <alexl@redhat.com>
1243 * tests/data-input-stream.c:
1244 * tests/data-output-stream.c:
1245 C89 fixes from Jens Granseuer (#512849)
1247 2008-01-30 Alexander Larsson <alexl@redhat.com>
1250 Fix gamin/fam difference build issue. (#509419)
1252 2008-01-29 Alexander Larsson <alexl@redhat.com>
1255 * gdesktopappinfo.c:
1256 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1258 2008-01-29 Alexander Larsson <alexl@redhat.com>
1260 * gdesktopappinfo.c:
1261 * gdesktopappinfo.h:
1262 giomodule-priv.h include moved to .c file.
1264 2008-01-29 Alexander Larsson <alexl@redhat.com>
1266 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1267 Remove unused prio/name fields.
1269 2008-01-29 Alexander Larsson <alexl@redhat.com>
1271 * gcontenttype.c (looks_like_text):
1272 Don't treat whitespace as control chars.
1274 2008-01-29 Alexander Larsson <alexl@redhat.com>
1276 * gdesktopappinfo.c:
1277 Lazily create the desktop files for appinfos created
1278 by g_app_info_create_from_commandline() when needed
1279 for mime associations. This allows run-time use
1280 of GAppInfo object without creating unnecessary
1283 2008-01-29 Alexander Larsson <alexl@redhat.com>
1286 Added new symbols to gio.symbols
1288 2008-01-29 Alexander Larsson <alexl@redhat.com>
1291 Add g_file_query_default_handler utility to easily look up
1292 the GAppInfo that handles a file.
1294 * gdesktopappinfo.[ch]:
1296 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1299 Remove unused function
1301 2008-01-29 Alexander Larsson <alexl@redhat.com>
1303 * gfileenumerator.c:
1304 Mention need to free returned value in
1305 g_file_enumerator_next_files_finish docs.
1306 Fix leak if g_file_enumerator_next_files_finish()
1309 2008-01-29 Alexander Larsson <alexl@redhat.com>
1312 (_g_unix_content_type_get_parents):
1313 Use list_parents, not get_parents from xdgmime, because
1314 the later doesn't use the cache.
1316 * xdgmime/xdgmimecache.c:
1317 (_xdg_mime_cache_list_mime_parents):
1318 Don't list the same type as parent multiple times.
1320 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1322 * === Released 2.15.4 ===
1324 2008-01-28 Alexander Larsson <alexl@redhat.com>
1327 Register local vfs with prio 0.
1330 Remove old name and prio class members
1332 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1334 * tests/g-file.c: Disable some tests that are failing in
1335 the absence of a http backend.
1337 2008-01-28 Alexander Larsson <alexl@redhat.com>
1341 Add registration hooks for extension points.
1342 Register the gio extension points.
1344 * fam/gfamdirectorymonitor.c:
1345 * fam/gfamfilemonitor.c:
1346 * glocaldirectorymonitor.[ch]:
1347 * glocalfilemonitor.[ch]:
1348 * gnativevolumemonitor.h:
1349 * gunionvolumemonitor.c:
1350 * gunixvolumemonitor.c:
1353 * inotify/ginotifydirectorymonitor.c:
1354 * inotify/ginotifyfilemonitor.c:
1355 Use the extension points registration instead
1356 of g_type_children().
1358 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1361 * gvolume.[hc]: Document new API.
1363 * gfile.c (g_file_copy_async): Fix docs
1365 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1367 * gbufferedinputstream.c:
1369 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1372 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1374 * glocalfile.c: Avoid trivial differences in translatable strings.
1376 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1378 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1379 build with gcc 3.4 (#509419)
1381 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1383 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1384 (#509994, Murray Cumming)
1386 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1388 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1389 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1390 this allows big jobs to be executed in chunks, instead of blocking
1391 the main loop for a long time.
1393 * gsimpleasyncresult.c:
1394 * giofile.c: Adapt callers.
1396 2008-01-25 Alexander Larsson <alexl@redhat.com>
1398 * gdesktopappinfo.c:
1399 Implement changes discussed on xdg list.
1400 Now we can add supported mimetypes by just using defaults.list
1401 We can also remove associations in defaults.list.
1403 2008-01-25 Alexander Larsson <alexl@redhat.com>
1405 * gdesktopappinfo.c:
1406 Don't make local copy of desktop file
1407 for mimetype changes if the file already
1408 supports the new mimetype.
1410 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1414 * gbufferedinputstream.c:
1415 * glocalfile.c: String improvements. (#511966,
1416 Theppitak Karoonboonyanan)
1418 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1420 * gioscheduler.h: Expand docs a bit.
1422 2008-01-24 Alexander Larsson <alexl@redhat.com>
1425 Add g_drive_get_identifier and
1426 g_drive_enumerate_identifiers
1429 Add g_volume_get_identifier and
1430 g_volume_enumerate_identifiers
1436 Implement identifiers for unix backend
1438 2008-01-24 Alexander Larsson <alexl@redhat.com>
1443 Add g_file_copy_async() (#511580)
1444 Based on patch from Carlos Garcia Campos
1446 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1448 * gioscheduler.c: Some documentation additions.
1450 2008-01-22 Alexander Larsson <alexl@redhat.com>
1452 * gdesktopappinfo.c:
1453 (g_desktop_app_info_new):
1454 Don't leak basename.
1456 2008-01-22 Alexander Larsson <alexl@redhat.com>
1458 * gdesktopappinfo.c:
1459 (g_desktop_app_info_new_from_filename):
1462 2008-01-22 Alexander Larsson <alexl@redhat.com>
1464 * glocalfileinfo.c (get_thumbnail_attributes):
1467 2008-01-22 Alexander Larsson <alexl@redhat.com>
1470 (canonicalize_filename):
1471 Canonicalize paths that start with more than
1475 (compare_two_files):
1476 (test_g_file_new_for_path):
1479 2008-01-22 Alexander Larsson <alexl@redhat.com>
1482 Allow UTF-8 in file:// parse names.
1484 * tests/Makefile.am:
1485 * tests/data-input-stream.c:
1486 * tests/data-output-stream.c:
1487 * tests/g-file-info.c:
1489 Added a bunch of tests from Tomas Bzatek
1491 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1493 * === Released 2.15.3 ===
1495 2008-01-21 Alexander Larsson <alexl@redhat.com>
1497 * gfileinputstream.[ch]:
1498 * gfileoutputstream.[ch]:
1500 Remove duplicated GSeekable functions. (#509990)
1501 Just use the g_seekable_xxx() calls instead.
1503 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1506 * gvolumemanager.c: Whitespace cleanups.
1508 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1509 Use the right mode when creating the file.
1511 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1513 * gfileenumerator.c:
1514 * gfileinputstream.c:
1516 * goutputstream.c: Documentation: Fixed minor typos
1517 and added more mentions of specific _finish() functions.
1519 2008-01-21 Alexander Larsson <alexl@redhat.com>
1521 * inotify/Makefile.am:
1522 * inotify/inotify-helper.c:
1523 * inotify/inotify-kernel.c:
1524 * inotify/inotify-path.c:
1525 * inotify/local_inotify.h: Removed.
1526 * inotify/local_inotify_syscalls.h: Removed.
1527 Removed the included copies of the inotify
1528 headers. We now only use the <sys/inotify.h>
1529 header which exists on modern systems.
1530 This fixes problems on ARM and SH5 (#510448)
1531 but is also generally much cleaner and future
1532 safe. For instance, if other OSes add support
1533 for inotify it should "just work".
1535 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1537 * inotify/*.c: Coding style fixes.
1538 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1539 for the 1/4 Hz timer.
1541 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1544 * gfilemonitor.[hc]:
1545 * gmemoryinputstream.c:
1546 * gmemoryoutputstream.c:
1547 * gmountoperation.c:
1548 * gthemedicon.c: Documentation updates
1550 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1552 * gfile.c: documentation: Fixed more minor
1555 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1557 * gmount.c: (g_mount_remount): documentation:
1558 Mention g_mount_remount_finish() instead of
1559 g_mount_unmount_finish().
1561 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1565 * gfile.c: Fixed some minor typos in the
1568 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1570 * gio/gvolumemonitor.c:
1571 (g_volume_monitor_get_connected_drives):
1572 (g_volume_monitor_get_volumes):
1573 (g_volume_monitor_get_mounts): Documentation:
1574 Clarify the ownership of the regurn GLists.
1576 2008-01-17 Alexander Larsson <alexl@redhat.com>
1579 Add the async find_enclosing_mount version
1580 to the header file too.
1582 2008-01-17 Alexander Larsson <alexl@redhat.com>
1585 Add async version of find_enclosing_mount
1586 with default implementation.
1588 2008-01-17 Alexander Larsson <alexl@redhat.com>
1593 Allow calls to implementation of copy and write
1594 even if the type of the file implementations is
1595 different. This can be used to implement native
1596 upload and download calls in a vfs.
1599 (g_local_file_move):
1600 Protect against the case where move is called
1601 with one file not being local.
1603 Make sure we call the progress callback once
1604 in the native move operation so that the caller
1605 knows how many bytes were copied.
1607 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1610 * gdatainputstream.c:
1612 * gfileoutputstream.c:
1617 * gunixmounts.c: Corrected some typos in the documentation:
1618 occured -> occurred.
1619 its -> it's (where appropriate).
1621 2008-01-16 Alexander Larsson <alexl@redhat.com>
1625 Add g_file_query_exists (#508771)
1627 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1632 * gvolume.c: For async functions that have no non-async
1633 version, document that the GAsyncReadyCallback may be NULL.
1636 2008-01-15 Alexander Larsson <alexl@redhat.com>
1638 * gmemoryinputstream.c:
1639 * gmemoryoutputstream.c:
1640 Don't do pointer arithmetic on void * (#508602)
1641 Patch from Kazuki IWAMOTO
1643 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1645 * === Released 2.15.2 ===
1647 2008-01-14 Alexander Larsson <alexl@redhat.com>
1649 * gfile.c (g_file_monitor_file):
1650 Don't set error here, since we fallback to polling monitor.
1652 2008-01-14 Alexander Larsson <alexl@redhat.com>
1655 (g_file_monitor_directory):
1656 (g_file_monitor_file):
1657 Add GError to file monitor calls
1659 * glocaldirectorymonitor.c:
1660 * glocaldirectorymonitor.h:
1662 * glocalfilemonitor.c:
1663 * glocalfilemonitor.h:
1665 Update for above change
1667 2008-01-14 Alexander Larsson <alexl@redhat.com>
1671 Handle root correctly in g_file_get_relative_path (#508719)
1673 2008-01-14 Alexander Larsson <alexl@redhat.com>
1676 Clean up docs and example for GAsyncResult (#508074)
1678 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1680 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1681 and correct some spelling mistakes. Bug #508108.
1683 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1685 * glocalfileinfo.c: Add a comment.
1687 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1689 * gfileinfo.c: GFileInfo description: Mention
1690 how to actually set attributes in a GFile and how to discover
1691 which attributes are settable. Bug #508378.
1693 2008-01-10 A. Walton <awalton@svn.gnome.org>
1695 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1696 (g_app_info_get_default_for_type):
1697 Check for NULL content types.
1699 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1701 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1703 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1705 * gfile.c: *_async() functions: Several small corrections
1706 to the documentation, mostly correcting copy/paste errors
1707 and improving some sentences.
1709 2008-01-09 Dan Winship <danw@gnome.org>
1711 * glocalfile.c (get_unique_filename): x86_64 fix
1713 2008-01-09 Alexander Larsson <alexl@redhat.com>
1718 Add g_unix_mount_guess_should_display and use
1719 for unix volume monitor backend.
1720 This means we more or less show what the
1721 gnome-vfs backend did.
1722 Based on patch from Padraig O'Briain
1724 2008-01-09 Alexander Larsson <alexl@redhat.com>
1728 Add g_themed_icon_new_with_default_fallbacks
1731 Use default fallbacks for icons
1733 2008-01-09 Alexander Larsson <alexl@redhat.com>
1736 * gmountoperation.[ch]:
1737 Change the API a bit so that unhandled methods
1738 get reported via the reply, rather than by
1739 the signal emission return value. This is because
1740 some handlers can't know this immediately without
1741 doing I/O, and this is an async operation that
1744 2008-01-09 Alexander Larsson <alexl@redhat.com>
1747 * fam/gfamdirectorymonitor.c:
1748 * fam/gfamfilemonitor.c:
1749 Fix double free crash (#508224)
1750 Patch from Joe Marcus Clarke
1752 008-01-07 Matthias Clasen <mclasen@redhat.com>
1754 * === Released 2.15.1 ===
1756 2008-01-07 Alexander Larsson <alexl@redhat.com>
1758 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1759 Fix warning (#507835)
1761 2008-01-07 Alexander Larsson <alexl@redhat.com>
1764 Pass --internal to glib-genmarshal
1767 * gmountoperation.c:
1769 Use better types for signal arguments (#507822)
1771 2008-01-07 Alexander Larsson <alexl@redhat.com>
1774 Build test subdir after .
1775 Remove gdirectorymonitor.[ch]
1777 * gdirectorymonitor.[ch]:
1781 Remove GDirectoryMonitor and make
1782 GFileMonitor the baseclass for both file and
1783 directory monitors. Lift the more generic
1784 rate limiting code from GDirectoryMonitor
1788 * fam/gfamdirectorymonitor.[ch]:
1789 * inotify/ginotifydirectorymonitor.[ch]:
1790 * inotify/inotify-helper.c:
1791 * glocaldirectorymonitor.[ch]:
1794 Update for the removed GDirectoryMonitor.
1796 * gmemoryoutputstream.c:
1797 Remove ununsed variable
1799 2008-01-07 Alexander Larsson <alexl@redhat.com>
1801 * gmemoryinputstream.c:
1802 Translate error strings
1805 * gmemoryoutputstream.[ch]:
1806 New implementation that avoids using GByteArray
1807 in implementation and API. (#506377)
1809 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1811 * tests/*: Add a test for memory input streams.
1813 * Makefile.am: Add tests to SUBDIRS.
1815 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1817 * glocalfilemonitor.c:
1818 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1821 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1823 * gdesktopappinfo.c: Fix a docs typo.
1825 * gfileattribute.c: Add information about extended attributes
1826 to the documentation. (#505058)
1828 2008-01-04 Alexander Larsson <alexl@redhat.com>
1831 * gmountoperation.c:
1832 Use the right type (uint) for the ask_password signal.
1834 2008-01-04 Alexander Larsson <alexl@redhat.com>
1839 Add g_app_info_supports_files()
1840 Remove desktop arg from g_app_info_should_show().
1842 * gdesktopappinfo.[ch]:
1843 Implement g_app_info_supports_files() and new should_show()
1844 Add g_desktop_app_info_set_desktop_env() to set the desktop
1845 for should_show(). (This will be set by gtk+ later)
1847 2008-01-04 Alexander Larsson <alexl@redhat.com>
1850 * gmemoryinputstream.[ch]:
1851 Improve API so that you can use multiple chunks
1852 of memory and custom destroy functions. (#506374)
1854 2008-01-03 Alexander Larsson <alexl@redhat.com>
1857 Handle NULL attribute matchers safely, as we return this
1858 for empty attribute matcher strings.
1860 2008-01-03 Alexander Larsson <alexl@redhat.com>
1862 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1863 Add /usr/local to list of internal mountpoints
1865 2008-01-03 Alexander Larsson <alexl@redhat.com>
1868 Check for HAVE_LCHOWN (#505887)
1870 2008-01-03 Alexander Larsson <alexl@redhat.com>
1874 Add define for selinux context attribute.
1875 Fix missing : -> :: namespace separator change
1876 Fix missing _ -> - name change for xattr-sys.
1879 2008-01-03 Alexander Larsson <alexl@redhat.com>
1882 Link to libglib and libgobject directly (#504879)
1883 Patch from Sebastien Bacher
1885 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1887 * gfile.c: Expanded the g_file_new_for_commandline_arg
1888 description a bit, based on the code and the docs of the
1889 other g_file_new_for_* functions.
1891 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1893 * gfilemonitor.h: Fixed typo in docs.
1895 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1897 Updates to GIO documentation. (#506395, Mikael Hermansson)
1899 * gcontenttype.c: Describe memory management for return value of
1900 g_content_types_get_registered(). Missing piece from #505815.
1901 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1902 GVolume, GDrive, GMounts, which hopefully gives the user less
1903 confusions when using this API. Following explainations from
1904 Alexander Larsson on gtk-devel-list.
1906 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1908 * gfileinfo.c: Expand the long description.
1910 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1913 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1914 fix builds with --disable-visibility. (#500273, Christian Persch)
1916 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1918 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1919 in the list of returned app infos.
1921 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1923 * gappinfo.c: Fix a cross-reference
1925 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1927 * gfileinputstream.c:
1928 * gfileoutputstream.c:
1932 * gdesktopappinfo.c:
1934 * gfileinfo.c: Documentation updates.
1936 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1938 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1941 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1943 * gcontenttype.c (g_content_types_get_registered): Don't return
1944 freed memory (#505815, Mikael Hermansson)
1946 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1948 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1949 used to detect statbuf->st_blocks. (#505042)
1951 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1953 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1954 environment handling. (#504829, Cosimo Cecchi)
1956 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1958 * gappinfo.c: Doc improvements
1960 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1963 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1965 * === Released 2.15.0 ===
1967 2007-12-20 Hans Breuer <hans@breuer.org>
1969 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1970 with symbols gwin32appinfo.obj, added gmount.obj
1971 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1973 2007-12-20 Alexander Larsson <alexl@redhat.com>
1979 * gfilenamecompleter.c:
1982 * gpollfilemonitor.c:
1983 File attribute renames:
1985 fs:: -> filesystem::
1986 id::fs -> id::filesystem
1988 2007-12-20 Alexander Larsson <alexl@redhat.com>
1997 Add GMountUnmountFlags to all unmount and
1999 Add g_mount_remount() call.
2001 2007-12-20 Alexander Larsson <alexl@redhat.com>
2003 * gvfs.c (get_default_vfs):
2004 Fix unused variable warning
2006 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2008 * pltcheck.sh: Update
2010 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2012 * gunionvolumemonitor.c:
2013 * gunixmount.c: Remove C99 comments
2015 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2017 * gio.symbols: Add some missing symbols
2019 2007-12-19 Alexander Larsson <alexl@redhat.com>
2022 Make g_io_modules_load_all_in_directory not unuse
2023 loaded modules so that users of it can do stuff
2025 Init internal "module" types.
2026 Initialize static prio and name for types so that
2027 we don't have to load modules to get it.
2029 * gnativevolumemonitor.h:
2031 Move is_supported to parent class so that
2032 non-native monitors can avoid being initialized
2033 too. (For instance GDaemonVolumeMonitor if we're
2034 not using GDaemonVfs.)
2036 * glocaldirectorymonitor.[ch]:
2037 * glocalfilemonitor.[ch]:
2038 * gunionvolumemonitor.c:
2039 * gunixvolumemonitor.c:
2041 Find plugins using the static prio+name to
2042 avoid unnecessarily loading the modules.
2044 2007-12-19 Alexander Larsson <alexl@redhat.com>
2049 2007-12-19 Alexander Larsson <alexl@redhat.com>
2051 * gunionvolumemonitor.c:
2052 Store the native type as GType, not class so that
2053 we can unload it. But still avoid unnecessarily
2056 2007-12-19 David Zeuthen <davidz@redhat.com>
2058 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2059 add signals 'disconnected' and 'eject-button' on GDrive. Add
2060 signal 'removed' on GVolume and 'unmounted' on GMount.
2062 * gdrive.c: (g_drive_base_init):
2064 * gfile.c: (g_file_mount_mountable),
2065 (g_file_mount_enclosing_volume):
2068 * gmount.c: (g_mount_base_init):
2070 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2071 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2072 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2076 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2078 * *.c: Fix up includes in the section docs.
2080 2007-12-17 Alexander Larsson <alexl@redhat.com>
2082 * gnativevolumemonitor.h:
2083 * gunionvolumemonitor.c:
2084 * gunixvolumemonitor.c:
2085 Add is_supported() to GNativeVolumeMonitorClass so
2086 that we can avoid having to create an object to see
2087 if the backend is supported at runtime.
2088 Also add name member and an env var to pick a specific
2089 volume monitor backend.
2093 Add cancellable to _g_mount_get_for_mount_path()
2095 * glocaldirectorymonitor.c:
2096 * glocalfilemonitor.c:
2097 Avoid loading and unloading modules while sorting.
2099 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2102 * gunixmounts.[hc]: Namespace waste reduction, move some
2103 g_get_unix_mount functions to the g_unix_mount namespace.
2106 * gunixvolumemonitor.c:
2108 * glocaldirectorymonitor.c: Update all callers.
2110 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2112 2007-12-17 Alexander Larsson <alexl@redhat.com>
2115 Add doc comments about what GFile operations are
2116 guaranteed to not block.
2118 2007-12-17 Alexander Larsson <alexl@redhat.com>
2121 Add missing #ifdef fixing OSX build.
2122 (#503334, patch from Richard Hult)
2124 2007-12-14 David Zeuthen <davidz@redhat.com>
2128 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2129 (g_mount_eject), (g_mount_eject_finish):
2131 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2132 (get_volume_for_uuid), (get_mount_for_uuid),
2133 (g_union_volume_monitor_class_init),
2134 (get_default_native_type_with_exclude), (get_default_native_type),
2135 (get_native_type), (update_native_type),
2136 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2137 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2138 (g_unix_mount_can_eject), (eject_unmount_cb),
2139 (eject_unmount_read_error), (eject_unmount_do),
2140 (g_unix_mount_unmount), (g_unix_mount_eject),
2141 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2142 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2143 (g_unix_mount_point_guess_can_eject):
2145 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2146 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2147 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2148 (g_unix_volume_mount), (g_unix_volume_eject),
2149 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2150 * gunixvolumemonitor.c: (get_volume_for_uuid),
2151 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2153 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2154 (g_volume_eject), (g_volume_eject_finish):
2156 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2157 (g_volume_monitor_get_mount_for_uuid):
2160 Provide eject() on both GMount and GVolume and utility functions
2161 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2162 ejected. Introduce the concept of UUID's and wire it into GVolume
2163 and GMount and provide API on GVolumeMonitor to find such
2164 instances. Also handle the case where an external
2165 GNativeVolumeMonitor fails to initialize. Lock around the
2166 _g_get_mount_for_mount_path() function such that volume monitor
2167 implementations won't have to do locking themselves.
2169 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2171 * gdesktopappinfo.c:
2177 * gvolume.h: Documentation updates
2179 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2182 * gfile.h: Doc updates
2184 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2187 * gdesktopappinfo.c: Use hash table iterators.
2189 2007-12-14 Alexander Larsson <alexl@redhat.com>
2192 * gfileattribute.[ch]:
2193 * gfileattribute-priv.h:
2194 Move GFileAttributeValue to a private header, as
2198 Make set_attribute take a type + a pointer instead
2199 of a GFileAttributeValue.
2202 Fix up for above changes.
2203 Add g_file_info_get_attribute_data to get
2204 all info in one call, g_file_info_get_attribute_status
2205 to get the status and g_file_info_get_attribute_as_string.
2209 * glocalfileinfo.[ch]:
2213 Make _guess_type static.
2215 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2218 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2219 made mkenums and friends use temporary files to avoid leaving
2220 empty generated files on failure (#503470).
2222 2007-12-14 Alexander Larsson <alexl@redhat.com>
2224 * gmountoperation.h:
2227 2007-12-14 Alexander Larsson <alexl@redhat.com>
2231 * gfileattribute.[ch]:
2234 * glocalfileoutputstream.c:
2235 * gmountoperation.[ch]:
2236 * goutputstream.[ch]:
2237 Clean up all flags enums to not have _FLAGS in them
2238 Make the names of some of the enums better.
2243 2007-12-14 Michael Natterer <mitch@imendio.com>
2245 * gio.symbols: fix g_io_scheduler symbol names.
2247 2007-12-14 Alexander Larsson <alexl@redhat.com>
2253 * gbufferedinputstream.h:
2254 * gbufferedoutputstream.h:
2257 * gdatainputstream.h:
2258 * gdataoutputstream.h:
2259 * gdesktopappinfo.h:
2260 * gdirectorymonitor.h:
2264 * gfileenumerator.h:
2267 * gfileinputstream.h:
2269 * gfilenamecompleter.h:
2270 * gfileoutputstream.h:
2271 * gfilterinputstream.h:
2272 * gfilteroutputstream.h:
2280 * gmemoryinputstream.h:
2281 * gmemoryoutputstream.h:
2283 * gmountoperation.h:
2286 * gsimpleasyncresult.h:
2288 * gunixinputstream.h:
2290 * gunixoutputstream.h:
2294 * inotify/Makefile.am:
2295 Only allow including <gio/gio.h> from apps
2297 2007-12-14 Alexander Larsson <alexl@redhat.com>
2299 * gioscheduler.[ch]:
2300 * gsimpleasyncresult.c:
2301 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2302 Split out the send_to_mainloop call into two versions instead
2303 of having the block argument.
2305 2007-12-13 Alexander Larsson <alexl@redhat.com>
2307 * gcancellable.[ch]:
2309 * gbufferedinputstream.c:
2310 * gfileenumerator.c:
2311 * gfileinputstream.c:
2312 * gfileoutputstream.c:
2316 g_push/pop_current_cancellable ->
2317 g_cancellable_push/pop_current
2319 2007-12-13 Alexander Larsson <alexl@redhat.com>
2323 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2325 2007-12-13 Alexander Larsson <alexl@redhat.com>
2327 * gmountoperation.h:
2328 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2330 2007-12-12 Alexander Larsson <alexl@redhat.com>
2333 Fix race condition when freeing proxy in
2334 g_io_job_send_to_mainloop().
2336 2007-12-12 Alexander Larsson <alexl@redhat.com>
2342 Make attribute namespace separator "::" instead of ":".
2343 Use - instead of _ as separator in attribute names.
2345 2007-12-12 Alexander Larsson <alexl@redhat.com>
2347 * gbufferedinputstream.h:
2348 * gbufferedoutputstream.h:
2349 * gdatainputstream.h:
2350 * gdataoutputstream.h:
2351 * gdirectorymonitor.h:
2352 * gfileenumerator.h:
2353 * gfileinputstream.h:
2355 * gfileoutputstream.h:
2356 * gfilterinputstream.h:
2357 * gfilteroutputstream.h:
2359 * glocalfileinputstream.h:
2360 * glocalfileoutputstream.h:
2361 * gmemoryinputstream.h:
2362 * gmemoryoutputstream.h:
2363 * gnativevolumemonitor.h:
2365 * gunixinputstream.h:
2366 * gunixoutputstream.h:
2369 s/parent/parent_instance/ in GObjects
2371 2007-12-12 Alexander Larsson <alexl@redhat.com>
2376 No need for padding for interfaces
2378 2007-12-12 Alexander Larsson <alexl@redhat.com>
2382 * gbufferedinputstream.c:
2383 * gbufferedoutputstream.c:
2386 * gdatainputstream.[ch]:
2387 * gdesktopappinfo.c:
2388 * gdirectorymonitor.c:
2390 * gfileattribute.[ch]:
2393 * gfileinputstream.h:
2394 * gfilemonitor.[ch]:
2395 * gfileoutputstream.[ch]:
2396 * gfilterinputstream.h:
2397 * gfilteroutputstream.h:
2400 * gloadableicon.[ch]:
2401 * gmemoryinputstream.c:
2402 * gmountoperation.c:
2404 Fix up a bunch of details in the docs.
2409 2007-12-11 David Zeuthen <davidz@redhat.com>
2411 Rework how volumes, drives and volume monitoring is
2412 done. Previosly the model was
2414 GDrive <1-1> GVolume
2416 where a GDrive instance represented a mount point and a GVolume
2417 instance represented a mounted file system. This patch changes it
2420 GDrive <1-N> GVolume <1-1> GMount
2422 where GMount now serves the purpose of the old GVolume and the new
2423 GVolume serves the purpose of the old GDrive. In addition the new
2424 GDrive interface is used to represent a collection of GVolume
2425 instances (typically partitions) and also contains utility to query
2426 the state of the physical drive the GDrive object represents (such
2427 as checking for media, polling the drive, ejecting the media etc.).
2429 Also implement mounting and unmounting in the Unix volume monitor
2430 backend. A subquent patch will introduce GDrive support for ejection
2434 * gdrive.c: (g_drive_is_media_check_automatic),
2435 (g_drive_is_media_removable), (g_drive_has_media),
2436 (g_drive_can_poll_for_media), (g_drive_eject),
2437 (g_drive_eject_finish), (g_drive_poll_for_media),
2438 (g_drive_poll_for_media_finish):
2440 * gfile.c: (g_file_find_enclosing_mount):
2443 * glocaldirectorymonitor.c:
2444 (g_local_directory_monitor_constructor), (mounts_changed):
2445 * glocalfile.c: (get_mount_info),
2446 (g_local_file_find_enclosing_mount),
2447 (g_local_file_file_iface_init):
2448 * gnativevolumemonitor.h:
2449 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2450 (get_connected_drives), (g_union_volume_monitor_class_init),
2451 (child_volume_added), (child_volume_removed),
2452 (child_volume_changed), (child_mount_added), (child_mount_removed),
2453 (child_mount_pre_unmount), (child_mount_changed),
2454 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2455 (g_union_volume_monitor_remove_monitor),
2456 (_g_mount_get_for_mount_path):
2457 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2458 (guess_system_internal), (_g_get_unix_mounts),
2459 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2460 (g_unix_mount_free), (g_unix_mount_compare),
2461 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2462 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2463 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2464 (type_to_icon), (g_unix_mount_guess_name),
2465 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2466 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2467 (_resolve_symlink), (_resolve_dev_root):
2469 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2470 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2471 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2472 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2473 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2474 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2475 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2476 (g_unix_volume_volume_iface_init):
2478 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2479 (get_mounts), (get_volumes), (get_connected_drives),
2480 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2481 (mountpoints_changed), (mounts_changed),
2482 (g_unix_volume_monitor_init),
2483 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2484 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2485 * gunixvolumemonitor.h:
2486 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2487 (g_volume_mount), (g_volume_mount_finish):
2489 * gvolumemonitor.c: (g_volume_monitor_class_init),
2490 (g_volume_monitor_get_connected_drives),
2491 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2494 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2496 * gmountoperation.h (GPasswordFlags): Close the gap
2498 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2500 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2502 * gdesktopappinfo.[hc]: Remove _-prefixes
2504 2007-12-10 Tor Lillqvist <tml@novell.com>
2506 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2509 2007-12-10 Alexander Larsson <alexl@redhat.com>
2511 * gfile.c (g_file_set_display_name):
2512 Don't hardcode '/' (#502727)
2514 2007-12-09 Hans Breuer <hans@breuer.org>
2516 * makefile.msc : follow lib naming convention
2517 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2518 for user and group name, tested with ../tests/gio-ls
2520 2007-12-09 A. Walton <awalton@svn.gnome.org>
2522 * gdesktopappinfo.c:
2528 * gfileenumerator.c:
2533 * gmemoryinputstream.c:
2534 * gmemoryoutputstream.c:
2536 * gsimpleasyncresult.c:
2537 More documentation cleanup and filling in missing information, bringing
2538 GIO to 99% symbol coverage.
2540 2007-12-08 Hans Breuer <hans@breuer.org>
2542 [gio compiles and links on win32, not sure how much already works]
2543 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2544 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2545 base on win32 API; prefer g_lstat() over lstat(); instead of
2546 localtime_r() use an all GLib implementation on win32;
2547 get_mount_info() still needs a win32 specifc implementation
2548 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2549 win32_get_file_user_info to get owner/group info without uid/gid
2550 * glocalfileinputstream.c : include <io.h> on win32
2551 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2552 definition, use g_win32_ftruncate() for G_OS_WIN32
2553 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2554 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2555 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2556 * makefile.msc : updated
2558 2007-12-07 Alexander Larsson <alexl@redhat.com>
2560 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2561 Avoid warning spew if error == NULL
2563 2007-12-07 Alexander Larsson <alexl@redhat.com>
2566 Update docs wrt etags
2568 2007-12-06 Alexander Larsson <alexl@redhat.com>
2571 Include sys/types.h for dev_t (#501919)
2573 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2577 Make abicheck and pltcheck pass.
2579 2007-12-05 Alexander Larsson <alexl@redhat.com>
2582 * giomodule-priv.h: Added.
2583 * glocaldirectorymonitor.c:
2584 * glocalfilemonitor.c:
2585 * gunionvolumemonitor.c:
2587 Actually add the declaration of _g_io_modules_ensure_loaded
2589 2007-12-05 Alexander Larsson <alexl@redhat.com>
2591 * gdatainputstream.c:
2596 * glocaldirectorymonitor.c:
2597 * glocalfilemonitor.c:
2598 * gunionvolumemonitor.c:
2600 Make g_io_modules_ensure_loaded a private function and
2601 don't pass in the dirname. This means we can do magic
2602 directory finding in the win32 version.
2603 Export the actual load-modules-in-directory code so that
2604 gvfs can reuse that.
2606 2007-12-05 Alexander Larsson <alexl@redhat.com>
2608 * gbufferedinputstream.c:
2609 * gbufferedoutputstream.c:
2612 * gfileenumerator.[ch]:
2613 * gfileinputstream.c:
2614 * gfileoutputstream.[ch]:
2615 * gfilterinputstream.c:
2616 * gfilteroutputstream.c:
2617 * ginputstream.[ch]:
2619 * glocalfileenumerator.c:
2620 * glocalfileinputstream.c:
2621 * glocalfileoutputstream.c:
2622 * gmemoryinputstream.c:
2623 * gmemoryoutputstream.c:
2624 * goutputstream.[ch]:
2627 * gunixinputstream.c:
2628 * gunixoutputstream.c:
2629 Rename all struct members named:
2630 read, write, close, truncate, or mount
2631 to foo_fn, as these are reserved names
2632 and could be defined as macros in libc.
2635 2007-12-04 Alexander Larsson <alexl@redhat.com>
2638 (g_output_stream_close):
2639 Only call flush if non-null.
2641 2007-11-30 Dan Winship <danw@gnome.org>
2643 * ginputstream.c (g_input_stream_set_pending): Make this take a
2644 GError and return a gboolean, and do the "outstanding operation"
2645 check (and the "stream is already closed" check) itself.
2646 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2648 * goutputstream.c (g_output_stream_set_pending)
2649 (g_output_stream_clear_pending): Likewise
2651 * gbufferedinputstream.c:
2652 * gfileinputstream.c:
2653 * gfileoutputstream.c: Update for that
2655 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2656 Like g_simple_async_report_error_in_idle, but takes a GError
2657 rather than building one.
2659 2007-11-30 Dan Winship <danw@gnome.org>
2661 * goutputstream.c: Don't cheat and unset the "pending" flag around
2662 inner calls. Instead, call the class method directly rather than
2663 the wrapper function that checks "pending"
2665 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2667 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2669 2007-12-03 Hans Breuer <hans@breuer.org>
2671 [start of port to win32/msvc]
2672 * gcancellable.c : HAVE_UNIST_H and _pipe()
2673 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2674 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2675 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2677 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2678 * glocalvfs.c : use HAVE_PWD_H
2679 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2680 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2681 * Makefile.am : added to EXTRA_DIST
2683 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2685 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2688 2007-12-03 Alexander Larsson <alexl@redhat.com>
2691 Handle OSX style xattrs API (#500506)
2693 2007-12-03 Alexander Larsson <alexl@redhat.com>
2697 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2699 2007-12-02 A. Walton <awalton@svn.gnome.org>
2703 Documentation accuracy fixes.
2705 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2707 * gioenumtypes.c.template: Fix typo.
2709 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2711 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2713 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2715 * gdirectorymonitor.c:
2716 * gfilemonitor.c: Add properties
2718 * gbufferedoutputstream.c: Don't mark buffer-size property
2721 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2723 * gbufferedoutputstream.c: Add auto-grow property.
2725 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2727 * *.c: Unify the capitalization of section headings.
2729 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2731 * gmountoperation.c: Add properties
2733 * gdatainputstream.c: Turn byte-order and newline-type into
2736 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2738 * gioenumtypes.[hc].template: Templates for enum registration
2740 * Makefile.am: Generate gioenumtypes.[hc]
2742 * gio.h: Include gioenumtypes.h
2744 * gfile.h: Add some explicit nicks.
2746 * gio.symbols: Add new symbols
2748 * pltcheck.sh: Adjust
2750 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2752 * *.c: Explain etags and link to the explanation
2754 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2756 * *.c: Explain I/O priority.
2758 * *.c: More coding style fixes.
2760 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2762 * gasyncresult.c: Add another paragraph to the intro,
2763 adjust coding style of example.
2765 2007-11-29 A. Walton <awalton@svn.gnome.org>
2768 Fixes unknown meaning in GAppLaunchContext docs.
2770 Clarify asynchronous ops.
2772 Fix entity tag docs.
2775 Provides missing gtk-doc section, fixes API docs slighly.
2776 * gsimpleasyncresult.c:
2777 Fill in missing info in docs.
2778 * gunixinputstream.c:
2779 * gunixoutputstream.c:
2780 Be more expressive in short description.
2782 Remove gtk-doc stubs for non-public API.
2784 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2786 * *.c: Coding style fixups
2788 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2790 * inotify/inotify-helper.c: Don't export the lock from libgio.
2792 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2795 * abicheck.sh: Fix copy-and-paste leftovers
2797 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2799 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2801 2007-11-28 Alexander Larsson <alexl@redhat.com>
2805 Removed unnecessary file
2807 * gdesktopappinfo.[ch]:
2810 * glocaldirectorymonitor.[ch]:
2812 * glocalfileenumerator.[ch]:
2813 * glocalfileinputstream.[ch]:
2814 * glocalfilemonitor.[ch]:
2815 * glocalfileoutputstream.[ch]:
2817 * gnativevolumemonitor.c:
2818 * gpollfilemonitor.[ch]:
2819 * gunionvolumemonitor.[ch]:
2822 * gunixvolumemonitor.[ch]:
2825 * inotify/ginotifydirectorymonitor.[ch]:
2826 * inotify/ginotifyfilemonitor.[ch]:
2827 * inotify/inotify-helper.c:
2828 Append _ to all internal functions
2832 Export symbols needed for modules
2834 2007-11-28 Alexander Larsson <alexl@redhat.com>
2837 * abicheck.sh: Added.
2838 * makegioalias.pl: Added.
2839 * pltcheck.sh: Added.
2840 * gio.symbols: Added.
2843 Initial work on adding symbol handling.
2846 Correct ifdef guard name
2849 * inotify/Makefile.am:
2850 * xdgmime/Makefile.am:
2851 Include toplevel Makefile.decl
2853 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2855 * gcontenttype.c: Move doc comments to the unix section.
2857 * *.[hc]: More trivial doc corrections.
2859 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2861 * gpollfilemonitor.c:
2865 * gdesktopappinfo.c:
2870 * gdatainputstream.c:
2871 * gdatainputstream.h:
2872 * gdataoutputstream.c:
2873 * gdataoutputstream.h:
2874 * gfileinfo.h: Doc cleanups
2876 2007-11-28 Andre Klapper <a9016009@gmx.de>
2878 * gdesktopappinfo.c: Fix a typo.
2880 2007-11-27 Andre Klapper <a9016009@gmx.de>
2882 * glocalfileoutputstream.c: Fix a typo.
2884 2007-11-27 Alexander Larsson <alexl@redhat.com>
2887 Don't include removed headers
2889 2007-11-27 Alexander Larsson <alexl@redhat.com>
2892 * gsocketinputstream.[ch]: Removed.
2893 * gsocketoutputstream.[ch]: Removed.
2894 * gunixinputstream.[ch]: Added.
2895 * gunixoutputstream.[ch]: Added.
2896 Renamed GSocket*Stream to GUnix*Stream and made
2897 it unix-only, since its not really only for sockets
2898 and it only works on unix (but is highly useful there).
2900 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2906 * gbufferedinputstream.c:
2907 * gbufferedinputstream.h:
2908 * gbufferedoutputstream.c:
2909 * gbufferedoutputstream.h:
2913 * gdatainputstream.c:
2914 * gdatainputstream.h:
2915 * gdataoutputstream.c:
2916 * gdataoutputstream.h:
2917 * gdirectorymonitor.c:
2918 * gdirectorymonitor.h:
2925 * gfileenumerator.c:
2926 * gfileenumerator.h:
2931 * gfileinputstream.c:
2932 * gfileinputstream.h:
2935 * gfilenamecompleter.c:
2936 * gfilenamecompleter.h:
2937 * gfileoutputstream.c:
2938 * gfileoutputstream.h:
2939 * gfilterinputstream.c:
2940 * gfilterinputstream.h:
2941 * gfilteroutputstream.c:
2942 * gfilteroutputstream.h:
2955 * glocalfileoutputstream.c:
2956 * gmemoryinputstream.c:
2957 * gmemoryinputstream.h:
2958 * gmemoryoutputstream.c:
2959 * gmemoryoutputstream.h:
2960 * gmountoperation.c:
2961 * gmountoperation.h:
2964 * gpollfilemonitor.c:
2967 * gsimpleasyncresult.c:
2968 * gsimpleasyncresult.h:
2969 * gsocketinputstream.c:
2970 * gsocketinputstream.h:
2971 * gsocketoutputstream.c:
2972 * gsocketoutputstream.h:
2979 * gunixvolumemonitor.c:
2988 Bumps documentation to 93% symbol coverage, touching most
2989 of the public files. Fixes broken function documentation prototypes.
2990 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2991 gtk-doc headers in private files.
2993 2007-11-27 Jürg Billeter <j@bitron.ch>
2995 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2996 (g_buffered_input_stream_read_byte):
2997 * gbufferedinputstream.h:
2998 New functions for efficient access to buffer and simple single byte
3001 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3002 (g_data_input_stream_read_until):
3003 * gdatainputstream.h:
3004 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3005 read_until with multiple stop chars.
3007 2007-11-27 Alexander Larsson <alexl@redhat.com>
3011 * inotify/Makefile.am:
3012 Use the user-specified giomoduledir
3014 2007-11-27 Alexander Larsson <alexl@redhat.com>
3018 Add catch-all gio.h header
3019 Don't install gdummyfile.h
3021 2007-11-26 Alexander Larsson <alexl@redhat.com>
3023 * Makefile.am (gioinclude_HEADERS):
3024 Remove trailing whitespace
3026 2007-11-26 Alexander Larsson <alexl@redhat.com>
3028 Merge gio-standalone into glib
3030 2007-11-25 Christian Kellner <gicmo@gnome.org>
3032 * gio/goutputstream.c:
3033 Fix small mistake in the docs.
3035 2007-11-21 Christian Persch <chpe@gnome.org>
3037 * gio/glocalfile.c: (g_local_file_trash):
3038 Convert filenames to UTF-8 for GError.
3039 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3040 as per xdg base dir spec.
3042 2007-11-21 Christian Persch <chpe@gnome.org>
3044 * gio/gdesktopappinfo.c:
3045 Use that g_key_file_to_data cannot fail.
3047 Use stock defines for the key file group and key names.
3050 2007-11-21 Alexander Larsson <alexl@redhat.com>
3053 (copy_stream_with_progress):
3054 Make sure we do a final progress callback with
3055 the full total size.
3057 2007-11-21 Alexander Larsson <alexl@redhat.com>
3060 Export g_file_copy_attributes
3061 Remove padding as its not needed for interfaces
3063 2007-11-20 Alexander Larsson <alexl@redhat.com>
3068 Add G_IO_ERROR_WOULD_MERGE for
3069 copy/move dir on dir with overwrite.
3071 2007-11-20 Alexander Larsson <alexl@redhat.com>
3074 * gio/glocalfileinfo.c:
3075 Add COPY_NAME (this is an optional
3076 non-modified utf8 version of the name) that
3079 2007-11-20 Alexander Larsson <alexl@redhat.com>
3081 * gio/glocalfileenumerator.c:
3082 Report errors as GIOError, not GFileError
3084 2007-11-16 Alexander Larsson <alexl@redhat.com>
3086 * gio/glocalfileoutputstream.c:
3087 * gio/gwin32appinfo.c:
3088 Fix typos in strings.
3089 Patch from Luca Ferretti <elle.uca@libero.it>
3091 2007-11-15 Alexander Larsson <alexl@redhat.com>
3094 Post release version bump
3096 === gio-standalone 0.1.2 ===
3098 2007-11-15 Alexander Larsson <alexl@redhat.com>
3100 * docs/reference/gio/Makefile.am:
3101 Fix up distcheck by removing weird
3107 2007-11-14 Alexander Larsson <alexl@redhat.com>
3109 * gio/gdesktopappinfo.c:
3110 * gio/glocaldirectorymonitor.c:
3112 * gio/glocalfileinfo.c:
3113 * gio/inotify/inotify-sub.c:
3114 * programs/gio-cat.c:
3115 * programs/gio-copy.c:
3116 * programs/gio-info.c:
3117 * programs/gio-ls.c:
3118 * programs/gio-monitor-dir.c:
3119 * programs/gio-monitor-file.c:
3120 * programs/gio-mount.c:
3121 * programs/gio-move.c:
3122 * programs/gio-rm.c:
3123 * programs/gio-save.c:
3124 * programs/gio-trash.c:
3125 Leak fixes from Kjartan Maraas
3127 2007-11-14 Alexander Larsson <alexl@redhat.com>
3129 * gio/fam/fam-helper.c:
3131 * gio/glocalfileinfo.c:
3135 * gio/inotify/inotify-diag.c:
3136 * gio/inotify/inotify-kernel.c:
3137 Various code cleanups from Kjartan Maraas
3139 2007-11-14 Alexander Larsson <alexl@redhat.com>
3141 * gio/gioscheduler.c:
3143 Set up threadpool so that we cache 2 unused
3144 idle threads for at 15 secs. This means we
3145 will reuse thread-local data (like dbus connections)
3148 2007-11-14 Alexander Larsson <alexl@redhat.com>
3150 * gio/fam/fam-helper.c:
3151 * gio/fam/gfamdirectorymonitor.c:
3152 * gio/fam/gfamfilemonitor.c:
3154 * gio/gcontenttype.c:
3155 * gio/gdatainputstream.c:
3156 * gio/gdataoutputstream.c:
3160 * gio/gfileattribute.h:
3161 * gio/gfileenumerator.c:
3163 * gio/ginputstream.c:
3166 * gio/glocalfileinfo.c:
3167 * gio/goutputstream.c:
3168 * gio/gpollfilemonitor.c:
3169 * gio/gsimpleasyncresult.c:
3170 * gio/gunixmounts.c:
3171 * gio/gunixmounts.h:
3172 * gio/inotify/ginotifydirectorymonitor.c:
3173 * gio/inotify/ginotifyfilemonitor.c:
3174 * gio/inotify/inotify-diag.c:
3175 * gio/inotify/inotify-kernel.c:
3176 * gio/inotify/inotify-path.c:
3178 * gio/test-streams.c:
3179 * programs/gio-info.c:
3180 * programs/gio-monitor-dir.c:
3181 * programs/gio-monitor-file.c:
3182 Various code cleanups from Kjartan Maraas
3184 2007-11-13 Alexander Larsson <alexl@redhat.com>
3187 Handle the uri-scheme calls for dummy files
3189 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3191 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3192 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3193 to avoid clash with the C++ keyword.
3195 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3197 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3198 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3200 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3202 * gio/glocaldirectorymonitor.c:
3203 * gio/glocalfilemonitor.c:
3204 * gio/gunionvolumemonitor.c:
3205 Don't use g_once_init_*() for initializations that could fail and
3206 could leave the initialization variable set to 0 but use GOnce.
3207 This prevents a deadlock on the second call when trying to create
3208 a monitor and no monitor type is available. Thanks to Sven Herzberg
3211 2007-11-11 Sven Herzberg <sven@imendio.com>
3213 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3214 #ifdef (make it work on MacOS X again)
3216 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3218 Fixes Changelog for last two commits (sorry guys).
3220 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3222 * gio/gbufferedinputstream.c:
3223 * gio/gdatainputstream.c:
3225 * gio/gfileoutputstream.c:
3226 * gio/gfilterinputstream.c:
3227 * gio/glocalfileinputstream.c:
3230 More consistency fixes in g*stream.c files.
3231 Significant clean of gfile's documentation, filling in of
3232 asynchronous operations documentation.
3234 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3236 * gio/gasyncresult.c:
3237 * gio/gbufferedinputstream.c:
3238 * gio/gbufferedoutputstream.c:
3239 * gio/gcancellable.c:
3240 * gio/gcontenttype.c:
3241 * gio/gdatainputstream.c:
3242 * gio/gdataoutputstream.c:
3243 * gio/gdesktopappinfo.c:
3246 * gio/gfileattribute.c:
3247 * gio/gio/gfileenumerator.c:
3249 * gio/gfileinputstream.c:
3250 * gio/gfilemonitor.c:
3251 * gio/gfileoutputstream.c:
3252 * gio/ginputstream.c:
3254 * gio/gioscheduler.c:
3255 * gio/gloadableicon.c:
3256 * gio/glocalfileoutputstream.c:
3257 * gio/gmemoryoutputstream.c:
3258 * gio/gmountoperation.c:
3259 * gio/goutputstream.c:
3261 * gio/gsimpleasyncresult.c:
3262 * gio/gunionvolumemonitor.c:
3263 * gio/gunixmounts.c:
3264 * gio/gunixvolume.c:
3268 * gio/gvolumemonitor.c:
3269 Updated documentation stubs, working towards consistency and
3272 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3274 * gio/gmemoryoutputstream.c:
3275 * gio/gmemoryoutputstream.h:
3276 Change g_memory_output_stream_set_free_on_close() to
3277 g_memory_output_stream_set_free_data() as this makes more sense and
3278 is more consistent with GMemoryInputStream.
3280 2007-11-07 Alexander Larsson <alexl@redhat.com>
3287 Change how we find the default vfs so that
3288 we can handle a gvfs failing to init
3290 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3292 * gio/gbufferedoutputstream.c:
3293 * gio/gdatainputstream.c:
3294 * gio/gdataoutputstream.c:
3295 * gio/gfileinputstream.c:
3296 * gio/gfileoutputstream.c:
3297 * gio/gfilterinputstream.c:
3298 * gio/gfilteroutputstream.c:
3299 * gio/ginputstream.c:
3300 * gio/gmemoryinputstream.c:
3301 * gio/gmemoryoutputstream.c:
3302 * gio/goutputstream.c:
3303 * gio/gsimpleasyncresult.c:
3304 * gio/gsocketinputstream.c:
3305 * gio/gsocketoutputstream.c:
3306 Add guards to the remaining public functions, add a TODO for
3307 an unimplemented function and remove some useless guards.
3309 2007-11-07 Alexander Larsson <alexl@redhat.com>
3312 Autoconf checks for the various types of
3313 getpwuid_r and getgrgid_r
3315 * gio/glocalfileinfo.c:
3316 Use the autoconf checks from above
3318 2007-11-07 Alexander Larsson <alexl@redhat.com>
3321 (g_local_file_query_filesystem_info):
3322 Some fixes for the statvfs case
3324 2007-11-07 Alexander Larsson <alexl@redhat.com>
3327 (g_local_file_query_filesystem_info):
3328 Pick the "best" of statfs / statvfs for the system
3329 if both are availible.
3331 2007-11-07 Alexander Larsson <alexl@redhat.com>
3333 Solaris fixes from Halton.Huo@Sun.COM:
3340 * gio/glocalfileinfo.c:
3341 Fix for solaris definition of getpwuid_r
3343 * gio/test-streams.c:
3344 Use G_GNUC_PRETTY_FUNCTION
3346 2007-11-07 Alexander Larsson <alexl@redhat.com>
3348 * gio/gdesktopappinfo.c:
3349 (update_default_list):
3350 Remove double semicolon.
3351 Patch from Jens Granseuer
3353 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3355 * docs/reference/gio/gio-sections.txt:
3356 * gio/gbufferedinputstream.c:
3357 * gio/gbufferedinputstream.h:
3358 * gio/gdatainputstream.c:
3359 * gio/gfileenumerator.c:
3360 * gio/gioscheduler.c:
3361 * gio/gunionvolumemonitor.c:
3363 * programs/gio-save.c:
3364 Fix typo: availible -> available. Unfortuntely this breaks API
3365 and ABI as g_buffered_input_stream_get_available() was renamed.
3367 * gio/gunixmounts.c:
3368 * gio/gbufferedinputstream.c:
3369 Add guards for public functions.
3371 2007-11-06 Ross Burton <ross@openedhand.com>
3373 * docs/reference/gio/Makefile.am:
3374 Fix invalid += usage which automake 1.10 doesn't like.
3376 2007-11-06 Alexander Larsson <alexl@redhat.com>
3379 (g_app_launch_context_class_init):
3382 Patch from Ross Burton
3384 2007-11-06 Alexander Larsson <alexl@redhat.com>
3387 Post release version bump
3389 === gio-standalone 0.1.1 ===
3391 2007-11-06 Alexander Larsson <alexl@redhat.com>
3394 Bump version to 0.1.1
3396 * gio/gsimpleasyncresult.c:
3397 (g_simple_async_result_set_from_error):
3398 Remove bogus g_return_if_fail
3400 2007-11-06 Alexander Larsson <alexl@redhat.com>
3403 The name is gio-standalone
3406 Add top src/builddir to includedir
3408 2007-11-06 Alexander Larsson <alexl@redhat.com>
3410 * docs/reference/gio/gio-sections.txt:
3412 * gio/gbufferedinputstream.c:
3413 * gio/gbufferedoutputstream.c:
3414 * gio/gcancellable.c:
3415 * gio/gdatainputstream.h:
3416 * gio/gdataoutputstream.c:
3417 * gio/gdataoutputstream.h:
3418 * gio/gdirectorymonitor.c:
3420 * gio/gfileattribute.c:
3421 * gio/gfileattribute.h:
3422 * gio/gfileenumerator.c:
3423 * gio/gfileenumerator.h:
3426 * gio/gfileinputstream.h:
3427 * gio/gfilemonitor.c:
3428 * gio/gfileoutputstream.h:
3429 * gio/glocalfilemonitor.h:
3430 * gio/glocalfileoutputstream.h:
3431 * gio/gmemoryinputstream.c:
3432 * gio/gmemoryoutputstream.c:
3433 * gio/gmountoperation.c:
3434 * gio/goutputstream.c:
3435 * gio/goutputstream.h:
3437 * gio/gsimpleasyncresult.c:
3438 * gio/gunixmounts.c:
3439 * gio/gunixmounts.h:
3441 * gio/inotify/inotify-helper.c:
3442 Fix gtk-doc warnings
3444 Patch from Ross Burton
3446 2007-11-06 Alexander Larsson <alexl@redhat.com>
3448 * gio/gfilenamecompleter.c:
3449 (g_filename_completer_get_completions):
3452 * gio/gunixvolume.c:
3453 Remove unused function
3455 Patches from Ross Burton
3457 2007-11-06 Alexander Larsson <alexl@redhat.com>
3462 Padding not needed for interfaces
3464 2007-11-06 Alexander Larsson <alexl@redhat.com>
3466 * gio/gfilemonitor.c:
3470 Make giotypes.h an internal file
3473 * gio/gbufferedinputstream.h:
3474 * gio/gbufferedoutputstream.h:
3475 * gio/gcancellable.h:
3476 * gio/gdatainputstream.h:
3477 * gio/gdataoutputstream.h:
3478 * gio/gdirectorymonitor.c:
3479 * gio/gdirectorymonitor.h:
3484 * gio/gfileattribute.h:
3485 * gio/gfileenumerator.h:
3490 * gio/gfilemonitor.c:
3491 * gio/gfilemonitor.h:
3492 * gio/gfilenamecompleter.c:
3493 * gio/gfilenamecompleter.h:
3494 * gio/gfilterinputstream.h:
3495 * gio/gfilteroutputstream.h:
3496 * gio/ginputstream.h:
3497 * gio/gmemoryinputstream.h:
3498 * gio/gmemoryoutputstream.h:
3499 * gio/gmountoperation.c:
3500 * gio/gmountoperation.h:
3501 * gio/gnativevolumemonitor.c:
3502 * gio/goutputstream.h:
3505 * gio/gsimpleasyncresult.c:
3506 * gio/gsimpleasyncresult.h:
3507 * gio/gsocketinputstream.h:
3508 * gio/gsocketoutputstream.h:
3509 * gio/gthemedicon.c:
3510 * gio/gthemedicon.h:
3514 * gio/gvolumemonitor.c:
3515 * gio/gvolumemonitor.h:
3516 Add padding in classes where it seems useful
3517 Don't include giotypes.h from public headers
3518 Move in Class definitions into c file where possible
3523 2007-11-06 Alexander Larsson <alexl@redhat.com>
3525 * docs/reference/gio/gio-docs.xml:
3526 Better structure for API docs
3528 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3531 * gio/gloadableicon.c:
3532 * gio/gsimpleasyncresult.c:
3533 * gio/gthemedicon.c:
3534 Add some more guards to public functions. Only files missing are now
3537 2007-11-06 Alexander Larsson <alexl@redhat.com>
3539 * docs/reference/gio/gio-docs.xml:
3540 Remove old files, add missing ones
3542 2007-11-06 Alexander Larsson <alexl@redhat.com>
3544 * docs/reference/gio/gio-sections.txt:
3547 Hide implementation classes
3549 * gio/gdriveprivate.h:
3550 * gio/gvolumeprivate.h:
3551 Remove non-existing function declarations
3553 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3556 Fix compilation warnings and add guards to the new functions.
3558 * gio/gasyncresult.c:
3560 Add guards to the public functions.
3563 Implement get_path().
3565 2007-11-06 Alexander Larsson <alexl@redhat.com>
3567 * gio/gfilenamecompleter.c:
3568 Make g_filename_completer_get_completions
3569 return char ** instead of GList for
3572 * docs/reference/gio/gio-docs.xml:
3573 * docs/reference/gio/gio-sections.txt:
3575 * gio/gasyncresult.c:
3576 * gio/gbufferedinputstream.c:
3577 * gio/gbufferedoutputstream.c:
3578 * gio/gcancellable.c:
3579 * gio/gcontenttype.c:
3580 * gio/gdatainputstream.c:
3581 * gio/gdataoutputstream.c:
3582 * gio/gdesktopappinfo.c:
3583 * gio/gdirectorymonitor.c:
3587 * gio/gfileattribute.c:
3588 * gio/gfileenumerator.c:
3591 * gio/gfileinputstream.c:
3592 * gio/gfilemonitor.c:
3593 * gio/gfilenamecompleter.c:
3594 * gio/gfilenamecompleter.h:
3595 * gio/gfileoutputstream.c:
3596 * gio/gfilterinputstream.c:
3598 * gio/ginputstream.c:
3600 * gio/gioscheduler.c:
3601 * gio/gloadableicon.c:
3602 * gio/glocaldirectorymonitor.c:
3604 * gio/glocalfileinputstream.c:
3605 * gio/glocalfilemonitor.c:
3606 * gio/glocalfileoutputstream.c:
3608 * gio/gmemoryinputstream.c:
3609 * gio/gmemoryoutputstream.c:
3610 * gio/gmountoperation.c:
3611 * gio/goutputstream.c:
3612 * gio/gpollfilemonitor.c:
3614 * gio/gsimpleasyncresult.c:
3615 * gio/gsocketinputstream.c:
3616 * gio/gsocketoutputstream.c:
3617 * gio/gthemedicon.c:
3618 * gio/gunionvolumemonitor.c:
3620 * gio/gunixmounts.c:
3621 * gio/gunixvolume.c:
3622 * gio/gunixvolumemonitor.c:
3626 * gio/gvolumemonitor.c:
3627 * gio/gwin32appinfo.c:
3628 Add (mostly stub) doc strings to public functions.
3629 Patch from Andrew Walton (awalton@gmail.com)
3631 2007-11-06 Alexander Larsson <alexl@redhat.com>
3633 * gio/gappinfo.[ch]:
3634 Added GAppLaunchContext object and pass that to launch.
3635 This allows simple implementation of both
3636 launch-on-screen and startup notification via a gtk+
3637 subclass of GAppLaunchContext
3639 * gio/gdesktopappinfo.c:
3640 Implement GAppLaunchContext API
3642 * gio/gwin32appinfo.c:
3645 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3647 * gio/gmountoperation.c:
3648 Add some guards to GMountOperation's public functions.
3650 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3654 * gio/gcancellable.c:
3655 * gio/gdirectorymonitor.c:
3657 * gio/gfileenumerator.c:
3658 * gio/gfilemonitor.c:,
3659 * gio/gfilenamecompleter.c:
3662 * gio/gioscheduler.c:
3666 * gio/gvolumemonitor.c:
3667 Add even more guards to various public functions.
3669 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3672 Add guards to the public functions of GAppInfo.
3674 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3676 * gio/gcontenttype.c:
3677 Add some more guards for public functions.
3679 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3681 * gio/fam/fam-module.c:
3682 * gio/fam/gfamdirectorymonitor.c:
3683 * gio/fam/gfamdirectorymonitor.h:
3684 * gio/fam/gfamfilemonitor.c:
3685 * gio/fam/gfamfilemonitor.h:
3686 * gio/inotify/ginotifydirectorymonitor.c:
3687 * gio/inotify/ginotifydirectorymonitor.h:
3688 * gio/inotify/ginotifyfilemonitor.c:
3689 * gio/inotify/ginotifyfilemonitor.h:
3690 Add proper copyright information and remove an unused variable
3691 in the GInotifyFileMonitor constructor.
3693 * gio/gcancellable.c:
3694 Add a guard for a public function and an assertion to prevent
3695 an undefined program state.
3697 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3699 * gio/gfileattribute.c:
3700 Don't run into an assertion if the given attribute value is NULL
3701 in g_file_attribute_value_get_*() but instead return a fallback
3702 value that makes sense in most situations. Passing them a attribute
3703 value with the wrong type will still run into an assertion.
3705 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3707 * gio/gfileattribute.c:
3709 Add even more guards to the public functions. Also fix the refcounting
3710 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3711 let g_file_info_list_attributes() filter the attributes by namespace
3712 instead of simply ignoring the namespace parameter.
3714 2007-11-03 Sven Herzberg <sven@imendio.com>
3716 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3717 (This makes gio work on MacOS X again)
3719 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3722 Build the gio subdirectory before the docs. Otherwise the build will
3725 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3726 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3727 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3728 Add guards to the public functions.
3730 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3732 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3733 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3734 to prevent a compiler warning.
3736 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3737 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3738 return something in the non-void function find_topdir_for().
3740 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3747 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3749 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3750 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3751 * gwin32appinfo.c (g_win32_app_info_launch):
3752 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3753 envp_for_startup_id, g_desktop_app_info_launch,
3754 g_desktop_app_info_launch_uris):
3756 Give an opaque 'startup_id' string instead of 'envp'.
3757 Support empty file lists for launching new windows.
3758 Fix infinite recursion bug when launching URIs.
3760 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3763 Add guard to the new g_file_get_uri_scheme() function.
3765 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3768 Convert a g_return_val_if_fail() to setting the GError instead as
3769 otherwise applications have to verify the parameter before otherwise
3770 and the parameter might come directly from the user.
3772 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3774 * gio/inotify/ginotify*.[ch]:
3775 Add missing copyright information.
3777 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3780 Add guards in the beginning of public functions to check for valid
3781 parameters and fix a bug in copy_stream_with_progress() that could've
3782 caused writing less bytes than reading.
3783 * gio/glocalfileinfo.c:
3784 Check for a NULL parameter and set the GError accordingly then.
3785 * gio/goutputstream.c:
3786 Fix the same bug as in gfile.c that could've caused writing less bytes
3787 than reading in g_output_stream_real_splice().
3789 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3792 Use the correct gvolumeprivate.h naming
3794 2007-11-01 Christian Kellner <gicmo@gnome.org>
3797 Remove leftover "$(daemon_sources)" entry.
3799 2007-11-01 Christian Kellner <gicmo@gnome.org>
3804 Add copyright information to source files.
3806 2007-11-01 Alexander Larsson <alexl@redhat.com>
3810 Add g_file_get_uri_scheme
3812 2007-11-01 Alexander Larsson <alexl@redhat.com>
3815 * gio/gdesktopappinfo.c:
3816 * gio/gwin32appinfo.c:
3817 Add g_app_info_get_default_for_uri_scheme.
3819 2007-11-01 Alexander Larsson <alexl@redhat.com>
3822 Correct filename for gdriveprivate.h
3824 2007-10-31 Alexander Larsson <alexl@redhat.com>
3827 Rename id:value to id:file
3830 * gio/glocalfileinfo.c:
3833 2007-10-31 Alexander Larsson <alexl@redhat.com>
3835 * gio/gunixvolume.c:
3837 Remove g_volume_get_platform_id, as thats not
3838 needed with the simpler union volume monitor
3840 2007-10-31 Alexander Larsson <alexl@redhat.com>
3843 * gio/guniondrive.[ch]: Removed.
3844 * gio/gunionvolume.[ch]: Removed.
3845 Remove GUnionDrive/Volume
3847 * gio/gunionvolumemonitor.c:
3848 Simplify union volume monitor, now we
3849 only have one native volume monitor and
3850 we use the actual volumes/drives from the
3851 child monitors instead of wrapping them
3853 * gio/gnativevolumemonitor.[ch]:
3854 Base class for native volume monitors.
3855 Includes priority and get_volume_for_mountpoint
3858 Add g_file_find_enclosing_volume
3861 Remove volume name fs attribute
3862 Add readonly fs attribute
3865 Implement readonly attribute
3866 remove volume name attribute
3867 Implement find_enclosing volume
3869 * gio/gunixmounts.c:
3870 Add a volume for "/".
3872 * gio/gunixvolume.[ch]:
3873 Set better name for /
3875 * gio/gunixvolumemonitor.[ch]:
3876 Derive from GNativeVolumeMonitor
3877 Implement get_volume_for_mountpoint
3880 GVolume typedef moved to gfile.h
3882 * gio/gvolumeprivate.h:
3883 Add g_volume_get_for_mount_path
3885 2007-10-31 Alexander Larsson <alexl@redhat.com>
3887 * gio/gunixmounts.[ch]:
3888 Add cache info to unix mount listers
3889 Make getmntent use threadsafe
3890 Add is_system_internal attribute for GUnixMount
3892 * gio/gunixvolume.c:
3893 (g_unix_volume_new):
3894 Use is_system_internal instead of own code
3896 * gio/glocaldirectorymonitor.c:
3897 * gio/gunixvolumemonitor.c:
3898 Update to new gunixmounts API
3903 2007-10-30 Alexander Larsson <alexl@redhat.com>
3906 Add volume name fsinfo attribute
3909 Read volume name info
3911 * gio/gunionvolumemonitor.c:
3912 Fix infinite loops when finalizing a union volume monitor
3914 2007-10-30 Alexander Larsson <alexl@redhat.com>
3916 * gio/goutputstream.[ch]:
3917 Add splice() with default implementation
3919 * gio/gsocketoutputstream.c:
3920 (g_socket_output_stream_write):
3921 Return error on cancellation correctly.
3923 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3925 * gio/glocalfile.c (g_local_file_trash):
3926 Do not leak a string.
3928 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3930 * gio/gfile.c (g_file_load_contents):
3931 Unref the stream after closing it.
3933 2007-10-25 Alexander Larsson <alexl@redhat.com>
3935 * gio/gioscheduler.h:
3938 2007-10-25 Alexander Larsson <alexl@redhat.com>
3942 Add g_file_has_uri_scheme and implement for local files
3944 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3946 * gio/gdesktopappinfo.c: do not leak a string.
3948 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3950 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3951 (g_local_directory_monitor_new):
3952 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3953 (g_local_file_monitor_new):
3954 Only look for the monitor type that should be used the first time
3955 and use g_qsort_with_data() instead of our own bubble sort
3958 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3961 * gio/fam/Makefile.am:
3962 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3963 * gio/fam/fam-helper.h:
3964 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3965 * gio/fam/gfamdirectorymonitor.c:
3966 * gio/fam/gfamdirectorymonitor.h:
3967 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3968 * gio/fam/gfamfilemonitor.h:
3969 * gio/glocaldirectorymonitor.c:
3970 * gio/glocaldirectorymonitor.h:
3971 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3972 * gio/glocalfilemonitor.h:
3973 * gio/inotify/Makefile.am:
3974 * gio/inotify/ginotifydirectorymonitor.c:
3975 * gio/inotify/ginotifydirectorymonitor.h:
3976 * gio/inotify/ginotifyfilemonitor.c:
3977 * gio/inotify/ginotifyfilemonitor.h:
3978 Implement the FAM and Inotify monitors as
3979 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3980 their own GIO module. GLocal(Directory|File)Monitor will use the
3981 monitor with the highest rank that is supported on that machine.
3983 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3986 Change GIO module dir to $(libdir)/gio/modules and change
3987 the log domain from GVFS to GIO. Also only export symbols starting
3988 with g_ in the resulting library.
3989 * gio/test-streams.c: (main):
3990 Set log handler for the GIO log domain.
3992 2007-10-22 Alexander Larsson <alexl@redhat.com>
3994 * gio/gfilenamecompleter.[ch]:
3995 Add g_filename_completer_set_dirs_only
3997 2007-10-22 Alexander Larsson <alexl@redhat.com>
4000 * gio/gurifuncs.[ch]:
4001 Add some simple URI helpers
4003 * gio/gfilenamecompleter.[ch]:
4004 Added object for filename (parse name actually) completion
4007 Handle ~ in parse names
4009 2007-10-17 Alexander Larsson <alexl@redhat.com>
4012 * gio/glocalfileinfo.c:
4013 Add and implement id:value attribute
4015 2007-10-17 Alexander Larsson <alexl@redhat.com>
4018 * gio/guniondrive.c:
4020 Add and implement g_drive_has_volumes
4022 2007-10-17 Alexander Larsson <alexl@redhat.com>
4025 * gio/glocalfileinfo.[ch]:
4026 Add unix:is_mountpoint and implement for local files
4028 2007-10-16 Alexander Larsson <alexl@redhat.com>
4030 * gio/gunionvolumemonitor.c:
4031 (g_union_volume_monitor_init):
4032 Fix up the unix type getting so that it works with gcc
4034 2007-10-12 Alexander Larsson <alexl@redhat.com>
4037 * gio/glocalfileinfo.c:
4038 Add thumbnail:failed to file info
4040 2007-10-12 Richard Hult <richard@imendio.com>
4042 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4043 optimizing away the get_type call (happens with some gcc versions,
4044 like the one shipped with OS X 10.4).
4046 2007-10-12 Alexander Larsson <alexl@redhat.com>
4048 * gio/glocalfileinfo.c:
4049 (_g_local_file_info_set_attribute):
4050 Fix build if not HAVE_XATTR
4051 Patch from Milosz Derezynski <internalerror@gmail.com>
4053 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4055 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4056 around for review, otherwise I would have asked you before
4059 2007-10-11 Alexander Larsson <alexl@redhat.com>
4062 Add thumbnail:path attribute
4064 * gio/glocalfileinfo.c:
4065 Implement thumbnail:path for local files
4067 2007-10-11 Alexander Larsson <alexl@redhat.com>
4069 * gio/glocalfileinfo.c:
4070 (_g_local_file_info_get):
4071 Avoid duplicate icon names
4073 2007-10-11 Alexander Larsson <alexl@redhat.com>
4075 * gio/gthemedicon.[ch]:
4076 Change g_themed_icon_get_names return type to const
4078 2007-10-10 Alexander Larsson <alexl@redhat.com>
4080 * gio/glocalfileinfo.c:
4081 Don't reference freed memory
4083 2007-10-10 Alexander Larsson <alexl@redhat.com>
4085 * gio/gfileattribute.c:
4088 * gio/glocalfileinfo.c:
4091 2007-10-10 Alexander Larsson <alexl@redhat.com>
4094 Check for NULL icons
4096 * gio/gfileattribute.c:
4097 Don't dup when getting objects (same as for string attributes)
4099 * gio/gicon.c (g_icon_equal):
4100 Safely handle NULLs in equal
4102 2007-10-10 Alexander Larsson <alexl@redhat.com>
4105 Fix c++ compilation issues
4106 Patch from Milosz Derezynski <internalerror@gmail.com>
4108 2007-10-10 Alexander Larsson <alexl@redhat.com>
4110 * programs/gio-monitor-dir.c:
4111 Don't crash if dir monitor not supported.
4113 2007-10-09 Alexander Larsson <alexl@redhat.com>
4116 Add missing G_END_DECLS
4118 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4120 * gio/gfile.c: (g_file_set_display_name),
4121 (g_file_query_settable_attributes),
4122 (g_file_query_writable_namespaces):
4123 Return NULL not FALSE on errors as the return type is a pointer.
4125 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4127 * gio/glocalfile.c: (g_local_file_monitor_file):
4128 Don't call monitor_file on the default interface vtable (which
4129 is NULL) but simply return NULL. The caller, GFile, will create a
4130 polling monitor if NULL is returned.
4132 2007-10-09 Alexander Larsson <alexl@redhat.com>
4136 * gio-unix-2.0.pc.in:
4137 Add gio-unix-2.0.pc if OS_UNIX
4140 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4142 2007-10-09 Alexander Larsson <alexl@redhat.com>
4144 * gio/gunixmounts.[ch]:
4145 Make unix mount monitoring API sane.
4146 Now its just a object with mounts_changed
4147 and mountpoints_changed signals.
4149 * gio/glocaldirectorymonitor.c:
4150 * gio/gunixvolumemonitor.c:
4151 Use new mount monitor api
4153 2007-10-09 Alexander Larsson <alexl@redhat.com>
4155 * gio/gunixmounts.[ch]:
4156 Move guess type into one call for mounts and one for mountpoints
4159 * gio/gunixvolume.c:
4162 2007-10-09 Alexander Larsson <alexl@redhat.com>
4164 * gio/gunixmounts.[ch]:
4165 Remove _ prefix in preparation to make this semi-public
4166 Hide implementation of structs
4168 * gio/glocaldirectorymonitor.c:
4170 * gio/gunixvolume.c:
4171 * gio/gunixvolumemonitor.c:
4172 Update for above API changes
4174 2007-10-08 Alexander Larsson <alexl@redhat.com>
4177 Better polling fallback. This also handles the case where we have
4178 a monitor_file implementation, but it fails.
4180 2007-10-08 Alexander Larsson <alexl@redhat.com>
4184 * gio/gunixmounts.c:
4185 * programs/gio-monitor-dir.c:
4186 * programs/gio-monitor-file.c:
4187 Added cancellable to file monitoring calls.
4188 These are really sync calls and need this.
4190 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4192 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4193 (g_local_vfs_class_init):
4194 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4195 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4197 2007-10-05 Alexander Larsson <alexl@redhat.com>
4199 * gio/gdirectorymonitorprivate.h:
4200 * gio/gfilemonitorprivate.h:
4201 * gio/gdirectorymonitor.h:
4202 * gio/gfilemonitor.h:
4203 Remove *private.h and move to the public API, so that
4204 we can do implementations outside gio (such as in gvfs)
4206 * gio/gdirectorymonitor.c:
4207 * gio/gfilemonitor.c:
4208 * gio/glocaldirectorymonitor.c:
4209 * gio/gpollfilemonitor.c:
4210 * gio/inotify/inotify-helper.c:
4211 * gio/fam/fam-helper.c:
4212 Update to the new header names
4214 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4216 * gio/gdirectorymonitor.c:
4217 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4220 2007-10-04 Alexander Larsson <alexl@redhat.com>
4222 * gio/glocalfileinfo.c (get_access_rights):
4223 Set CAN_TRASH when we can move the file.
4224 We should really also check for a parent trash dir.
4226 2007-10-04 Alexander Larsson <alexl@redhat.com>
4228 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4229 Add can_trash access attribute
4231 2007-10-04 Alexander Larsson <alexl@redhat.com>
4234 (g_local_file_trash):
4235 Create info file first. This is per-spec and allows
4236 us to actually trash directories.
4238 2007-10-02 Alexander Larsson <alexl@redhat.com>
4240 * gio/gdesktopappinfo.c:
4241 Implement the new mime support code.
4242 Always set app as handling mimetype when being set as default for it
4244 2007-10-01 Alexander Larsson <alexl@redhat.com>
4246 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4247 Fix up check for xattrs:
4249 2007-10-01 Alexander Larsson <alexl@redhat.com>
4252 (g_app_info_set_as_default_for_extension):
4253 (g_app_info_add_supports_type):
4254 (g_app_info_can_remove_supports_type):
4255 (g_app_info_remove_supports_type):
4256 Make these fail nicely if not implemented
4258 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4260 * gio/glocalfileoutputstream.c:
4261 * gio/glocalfileoutputstream.h:
4266 * programs/gio-save.c:
4267 Add a GFileCreateFlags argument to operations that can create
4270 2007-10-01 Alexander Larsson <alexl@redhat.com>
4272 * gio/gappinfo.[ch]:
4273 * gio/gdesktopappinfo.c:
4274 Add more (stubbed out) mime API needed for nautilus
4276 2007-10-01 Alexander Larsson <alexl@redhat.com>
4279 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4280 Add g_app_info_set_as_default_for_extension.
4282 * gio/gdesktopappinfo.c:
4283 Dummy for g_app_info_set_as_default_for_extension
4284 Support flags in g_app_info_create_from_commandline
4286 * gio/gwin32appinfo.c:
4288 Update for API changes
4290 * gio/gthemedicon.c:
4291 Properly NULL-terminate list of icon names
4293 2007-09-28 Alexander Larsson <alexl@redhat.com>
4295 * gio/gloadableicon.h:
4296 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4298 2007-09-28 Alexander Larsson <alexl@redhat.com>
4301 Install headers in $includedir/gio-standalone/
4303 * gio-2.0.pc.in: Added.
4304 * gio-standalone.pc.in: Removed.
4307 Renamed pkg-config file to match glib (for future move)
4308 Update to the new include dir
4311 Add more TODO comments
4313 2007-09-28 Alexander Larsson <alexl@redhat.com>
4315 * gio/gdesktopappinfo.[ch]:
4316 Expose new_from_filename
4317 Add getter for is_hidden and handle it better
4319 2007-09-28 Alexander Larsson <alexl@redhat.com>
4321 * gio/gfileinfo.[ch]:
4322 Rename g_file_size_format_for_display to
4323 g_format_file_size_for_display.
4324 Now it doesn't have the g_file prefix, so we
4325 can later move it to glib.
4327 2007-09-28 Alexander Larsson <alexl@redhat.com>
4329 * gio/gappinfo.[ch]:
4330 Add g_app_info_get_id and g_app_info_get_executable.
4331 Make all getters non-reffing
4332 Make g_app_info_launch take GFile arguments.
4333 Add must_support_uris argument to g_app_info_get_default_for_type.
4335 * gio/gwin32appinfo.c:
4336 Update to GAppInfo api changes
4338 * gio/gdesktopappinfo.c:
4339 Update to GAppInfo api changes
4340 Implement supports_xdg_startup_notify
4342 * gio/gfileicon.c (g_file_icon_get_file):
4343 Make getter non-reffing.
4348 2007-09-27 Alexander Larsson <alexl@redhat.com>
4350 * gio/gfileinfo.[ch]:
4351 Add g_file_size_format_for_display helper
4353 2007-09-27 Alexander Larsson <alexl@redhat.com>
4355 * gio/glocalfileinfo.c:
4356 Set UNIX_GID from gid, not from uid
4358 2007-09-27 Alexander Larsson <alexl@redhat.com>
4361 Add g_file_set_attributes_async
4363 2007-09-27 Alexander Larsson <alexl@redhat.com>
4365 * gio/glocalfile.c (g_local_file_set_display_name):
4366 Fix set_display_name to actually rename to the right place.
4367 Use lstat to look for existing files so we don't overwrite
4370 2007-09-26 Alexander Larsson <alexl@redhat.com>
4373 Add g_file_set_display_name_async()
4375 2007-09-26 Alexander Larsson <alexl@redhat.com>
4378 Add load_partial_contents async calls
4381 Make internal function static
4383 2007-09-26 Alexander Larsson <alexl@redhat.com>
4385 * gio/glocalfileinfo.c:
4386 Correctly detect broken symlinks
4388 2007-09-26 Alexander Larsson <alexl@redhat.com>
4390 * gio/gcancellable.c (g_cancellable_cancel):
4391 Allow cancel on NULL cancellable
4393 2007-09-25 Alexander Larsson <alexl@redhat.com>
4395 * gio/gsimpleasyncresult.c:
4396 Don't allocate g_error manually.
4397 Fixes g_slice/g_new mixup crash
4399 2007-09-25 Alexander Larsson <alexl@redhat.com>
4401 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4402 Actually set active_backend.
4403 This means the monitor will be cancelled correctly.
4405 2007-09-25 Alexander Larsson <alexl@redhat.com>
4407 * gio/gdirectorymonitor.c:
4408 Set timeout to NULL when destroying
4410 2007-09-25 Alexander Larsson <alexl@redhat.com>
4413 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4414 that is a better description of the error.
4416 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4418 * gio/gvfs.c: (g_vfs_get_local):
4419 Make the local vfs variable static. The same instance should
4422 2007-09-24 Alexander Larsson <alexl@redhat.com>
4424 * gio/glocalfileinfo.c:
4425 Pass in actual length read into sniffer, not the length
4428 2007-09-21 Alexander Larsson <alexl@redhat.com>
4430 * gio/gfileenumerator.c:
4433 * gio/gfileinputstream.c:
4434 * gio/gfileoutputstream.c:
4435 * gio/ginputstream.c:
4436 * gio/goutputstream.c:
4437 Don't crash if async callbacks are NULL
4439 2007-09-20 Alexander Larsson <alexl@redhat.com>
4442 Add async enumerate_children method and default
4445 2007-09-20 Alexander Larsson <alexl@redhat.com>
4448 Add g_file_contains_file & g_file_get_relative_path, since they
4449 were needed for nautilus.
4450 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4455 Implement new methods
4457 2007-09-17 Alexander Larsson <alexl@redhat.com>
4460 * gio/gfileinputstream.[ch]:
4461 * gio/gfileoutputstream.[ch]:
4463 * gio/glocalfileenumerator.[ch]:
4464 * gio/glocalfileinfo.[ch]:
4465 * gio/glocalfileinputstream.c:
4466 * gio/glocalfileoutputstream.c:
4467 * gio/gpollfilemonitor.c:
4468 * programs/gio-copy.c:
4469 * programs/gio-info.c:
4470 * programs/gio-move.c:
4471 Rename get_file_info to query_info() to make it clearer
4472 that these are not simple getters, but do i/o.
4474 2007-09-17 Alexander Larsson <alexl@redhat.com>
4476 * gio/gdatainputstream.[ch]:
4477 * gio/test-streams.c:
4478 Use _read_XXX instead of _get_XXX for the i/o calls
4481 2007-09-17 Alexander Larsson <alexl@redhat.com>
4484 Added needed stuff to TODO comment
4486 2007-09-17 Alexander Larsson <alexl@redhat.com>
4488 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4489 Don't error out removing the backup copy if it doesn't
4492 2007-09-14 Alexander Larsson <alexl@redhat.com>
4494 * programs/Makefile.am:
4495 * programs/gvfs-*.c:
4497 Renamed apps from gvfs-xxx to gio-xxx.
4499 2007-09-14 Alexander Larsson <alexl@redhat.com>
4502 * gio/gfileoutputstream.[ch]:
4503 * gio/glocalfileoutputstream.c:
4504 * programs/gvfs-save.c:
4505 g_file_output_stream_get_etag doesn't do i/o, so remove
4506 cancellation and error.
4508 2007-09-14 Alexander Larsson <alexl@redhat.com>
4511 Add new_etag output to replace_contents functions
4513 2007-09-14 Alexander Larsson <alexl@redhat.com>
4515 * gio/gfileoutputstream.[ch]:
4516 Add async get_file_info and default implementation
4518 2007-09-14 Alexander Larsson <alexl@redhat.com>
4520 * gio/gfileinputstream.c:
4521 Implement fallback wrapper for async get_file_info
4523 2007-09-14 Alexander Larsson <alexl@redhat.com>
4526 Add etag out argument to load_contents
4531 2007-09-14 Alexander Larsson <alexl@redhat.com>
4533 * gio/gcontenttype.c (looks_like_text):
4534 Whitespace like tab, cr and lf do not make the
4537 2007-09-14 Alexander Larsson <alexl@redhat.com>
4539 * gio/gfileinputstream.[ch]:
4540 Add async get_file_info.
4542 2007-09-13 Alexander Larsson <alexl@redhat.com>
4544 * gio/goutputstream.c (g_output_stream_write_all):
4545 Allow NULL for bytes_written
4547 2007-09-13 Alexander Larsson <alexl@redhat.com>
4549 * gio/gmemoryinputstream.[ch]:
4550 Add accessors for data
4552 2007-09-13 Alexander Larsson <alexl@redhat.com>
4554 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4555 Don't crash if length is NULL