1 2008-07-08 Matthias Clasen <mclasen@redhat.com>
4 * gmount.[hc]: Add g_mount_guess_content_type().
6 2008-07-06 David Zeuthen <davidz@redhat.com>
9 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
10 is needed for easily handling adoption of foreign volumes by
11 out-of-process volume monitors (#541793)
13 2008-07-06 David Zeuthen <davidz@redhat.com>
15 * gvolumemonitor.[ch]:
16 * gunionvolumemonitor.c: Export the eject-button signal on the
17 volume monitor class (#541794).
19 2008-07-06 Matthias Clasen <mclasen@redhat.com>
21 * gappinfo.c: More doc tweaks
23 2008-07-05 Matthias Clasen <mclasen@redhat.com>
25 * gappinfo.c: Clarify some docs
27 2008-07-03 Matthias Clasen <mclasen@redhat.com>
29 * gdesktopappinfo.c: Fix a stupid mistake.
31 2008-07-02 Matthias Clasen <mclasen@redhat.com>
33 * === Released 2.17.3 ===
35 2008-07-02 Matthias Clasen <mclasen@redhat.com>
37 * gfilemonitor.c: Fix the build.
39 2008-07-02 Matthias Clasen <mclasen@redhat.com>
41 Bug 536160 – Add g_file_monitor()
44 * gfile.[hc]: Add g_file_monitor which can return either
45 a file or a directory monitor. Proposed by Behdad Esfahbod
47 2008-07-02 Matthias Clasen <mclasen@redhat.com>
49 536733 – gio build failure on Irix
51 * glocalfile.c: Use a configure check for structfs.f_bavail.
53 2008-07-02 Matthias Clasen <mclasen@redhat.com>
55 Bug 534639 – add g_desktop_app_info_new_from_keyfile
58 * gdesktopappinfo.[hc]: Add a function to create a
59 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
61 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
63 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
65 2008-07-01 Matthias Clasen <mclasen@redhat.com>
67 * gunixmounts.c: Fix a doc typo.
69 2008-07-01 Cody Russell <bratsche@gnome.org>
72 * gio/gwin32appinfo.c:
73 * gio/gwin32volumemonitor.c:
74 * gio/gwin32mount.c: Fixed some include problems.
76 2008-07-01 Cody Russell <bratsche@gnome.org>
80 Moved all relevant typedefs into these files.
83 Updated wrt added files.
85 Split types into separate file for easier maintainership. (#538564)
87 2008-06-30 Matthias Clasen <mclasen@redhat.com>
89 Bug 540331 – g_file_append_to () documentation: can return NULL
91 * gfile.c (g_file_append_to): Clarify docs.
94 2008-06-30 Matthias Clasen <mclasen@redhat.com>
96 Bug 539090 – g_content_type_from_mime_type() should unalias
98 * gcontentype.c (g_content_type_from_mime_type): Unalias.
99 Patch by Markus Bergman
101 2008-06-30 Matthias Clasen <mclasen@redhat.com>
103 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
106 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
107 on ppc and alpha. Reported by Mart Raudsepp
109 2008-06-29 Matthias Clasen <mclasen@redhat.com>
112 * tests/memory-output-stream.c: Add some tests for
115 2008-06-29 Matthias Clasen <mclasen@redhat.com>
117 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
120 * gmemoryoutputstream.c (array_resize): Handle truncation to
121 zero correctly. Reported by Akira Tagoh
123 2008-06-29 Matthias Clasen <mclasen@redhat.com>
125 * gmemoryoutputstream.c: Trivial doc fixes
127 2008-06-29 Matthias Clasen <mclasen@redhat.com>
129 Bug 540802 – g_list_prepend doesn't concat lists
131 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
132 one list to another. Pointed out by Jan Arne Petersen
134 2008-06-28 Michael Natterer <mitch@imendio.com>
136 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
138 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
140 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
141 to avoid problems with partial icon themes.
143 2008-06-17 Hans Breuer <hans@breuer.org>
145 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
146 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
147 access again on win32, see bug #538127
148 * giomodule.c : ensure GWin32VolumeMonitor is registered
149 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
150 * Makefile.am makefile.msc : updated
152 2008-06-16 Hans Breuer <hans@breuer.org>
154 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
155 and initialization in one step avoids c99ism
157 2008-06-16 Christian Persch <chpe@gnome.org>
160 * gio/gbufferedinputstream.c
162 * gio/gdatainputstream.c
163 * gio/gdesktopappinfo.c
165 * gio/gfileenumerator.c
166 * gio/gfileinputstream.c
167 * gio/gfileoutputstream.c
169 * gio/glocaldirectorymonitor.c
171 * gio/glocalfileenumerator.c
172 * gio/glocalfileinfo.c
173 * gio/glocalfilemonitor.c
174 * gio/glocalfileoutputstream.c
175 * gio/gmemoryinputstream.c
176 * gio/gmemoryoutputstream.c
177 * gio/goutputstream.c
178 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
181 2008-06-16 Tor Lillqvist <tml@novell.com>
183 Bug 538362 - Get Win32 icons back in the file chooser
185 * gcontenttype.c (g_content_type_get_icon): Look up the icon
186 corresponding to a file extension in the Registry. Patch by Hans
188 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
190 2008-06-16 Tor Lillqvist <tml@novell.com>
192 Patches by Hans Breuer:
194 * glocalfile.c (is_xp_or_later): Handle compiling against older
195 SDK headers with missing VerifyVersionInfo(). Conditioned on
196 _MSC_VER, but should probably use some better test.
197 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
198 uninitialised statfs_result variable on Win32.
200 2008-06-16 Michael Natterer <mitch@imendio.com>
202 * *.c: chain up unconditionally in finalize() and dispose(). Also
203 don't dereference these function pointers when calling them since
204 that has no meaning at all.
206 2008-06-16 Ross Burton <ross@burtonini.com>
209 Remove check for dispose implementation as it annoys Emmanuele.
211 2008-06-16 Ross Burton <ross@burtonini.com>
213 Bug 536252 – GFileEnumerator should allow access to the containing
219 Add g_file_enumerator_get_container() and a container writeable
220 construct-only property. Also shuffle around typedefs to make it
223 * glocalfileenumerator.c:
224 * glocalfileenumerator.h:
226 Instead of a string filename take a GFile in the constructor and
227 use it to set the container property.
232 2008-06-16 Matthias Clasen <mclasen@redhat.com>
234 * gfile.c: Make includes more uniform
236 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
238 * tests/live-g-file.c (sample_struct):
239 Use less fancy unicode filenames, so the test doesn't fail
240 on Mac OS X (#531476).
242 2008-06-12 Matthias Clasen <mclasen@redhat.com>
244 * === Released 2.17.2 ===
246 2008-06-12 Matthias Clasen <mclasen@redhat.com>
248 * === Released 2.17.1 ===
250 2008-06-11 A. Walton <awalton@gnome.org>
252 * tests/g-file.c (test_g_file_new_null):
253 Fix broken test case.
255 2008-06-11 Matthias Clasen <mclasen@redhat.com>
257 * pltcheck.sh: We use g_clear_error now.
259 2008-06-11 Matthias Clasen <mclasen@redhat.com>
261 * glocalfile.c (g_local_file_enumerate_children): Revert
262 an unintended change.
264 2008-06-11 Matthias Clasen <mclasen@redhat.com>
266 * gfile.c (g_file_replace_contents): Don't unref before the last use.
268 2008-06-10 Matthias Clasen <mclasen@redhat.com>
270 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
273 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
274 as icon for the desktop directory, also make user-home and
275 user-desktop the preferred icons.
277 2008-06-10 Matthias Clasen <mclasen@redhat.com>
280 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
281 to add a name to the front of the list.
283 2008-06-10 Matthias Clasen <mclasen@redhat.com>
285 Bug 537392 – Additional colon in xattr name
287 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
288 too. Reported by Alessandro Morandi
290 2008-06-10 Matthias Clasen <mclasen@redhat.com>
292 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
295 * glocalfile.c (get_fs_type): Add afs and autofs.
296 Patch by Danny Baumann.
298 2008-06-10 Matthias Clasen <mclasen@redhat.com>
300 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
302 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
303 is no parent. (Owen Taylor, patch by Christian Neumair)
305 2008-06-10 Paolo Borelli <pborelli@katamail.com>
307 * gfile.c (g_file_replace_contents): do not leak the output stream.
309 2008-06-10 Michael Natterer <mitch@imendio.com>
311 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
312 uninitialized memory as array index.
314 2008-06-10 Tor Lillqvist <tml@novell.com>
316 * gcontenttype.c (g_content_type_can_be_executable)
317 (g_content_type_get_icon) [Win32]: Add TODO comments.
319 2008-06-09 Matthias Clasen <mclasen@redhat.com>
321 * xdgmime/Makefile.am: Fix the build
323 2008-06-09 Matthias Clasen <mclasen@redhat.com>
325 * gcontenttype.c (g_content_type_get_icon): Use icons specified
326 in the shared mime database, if available.
328 * xdgmime/*: Sync with upstream. This brings support for
329 glob weights, generic icons, and changes the cache format to
332 2008-05-28 Michael Natterer <mitch@imendio.com>
334 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
335 the global CPPFLAGS now.
337 * tests/data-input-stream.c
338 * tests/data-output-stream.c
339 * tests/g-file-info.c
341 * tests/live-g-file.c
342 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
344 2008-05-27 Matthias Clasen <mclasen@redhat.com>
346 * === Released 2.17.0 ===
348 * tests/live-g-file.c: Clean up after the tests, so make distcheck
349 doesn't complain about leftover files.
351 2008-05-27 simon.zheng <simon.zheng@sun.com>
353 * glocalfile.c: (g_local_file_query_filesystem_info):
354 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
356 2008-05-26 Michael Natterer <mitch@imendio.com>
358 * gmemoryoutputstream.h: declare
359 g_memory_output_stream_get_data_size().
361 2008-05-26 Matthias Clasen <mclasen@redhat.com>
363 * tests/*: Make tests work
365 2008-05-26 Matthias Clasen <mclasen@redhat.com>
367 * gio.symbols: Add g_memory_output_stream_get_data_size.
369 2008-05-25 Ross Burton <ross@burtonini.com>
372 Fix typo in error message (#534764).
374 2008-05-25 Ross Burton <ross@burtonini.com>
377 Fix circular dependency loop for gioenumtypes.h (#534759).
379 2008-05-19 Hans Breuer <hans@breuer.org>
381 * Makefile.am : EXTRA_DIST += makefile.msc
383 2008-05-17 Matthias Clasen <mclasen@redhat.com>
386 * gcontenttype.c: (g_content_type_from_mime_type):
387 New function to create a content type from a mime type. (#527175,
390 2008-05-17 Matthias Clasen <mclasen@redhat.com>
392 Bug 532965 – Should not return filesystem::free for certain file systems
394 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
395 free space for ncpfs.
397 2008-05-17 Matthias Clasen <mclasen@redhat.com>
399 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
401 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
402 st_dev might be zero.
404 2008-05-16 Tor Lillqvist <tml@novell.com>
406 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
407 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
409 2008-05-13 Bastien Nocera <hadess@hadess.net>
411 * gfile.c (has_valid_scheme): A URI scheme must start with a
412 letter, even if later more characters are allowed (#532852)
414 2008-05-05 Michael Natterer <mitch@imendio.com>
416 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
417 code from being checked in that breaks the build of applications
418 which use G_DISABLE_SINGLE_INCLUDES.
420 * makegioalias.pl: make the alias file include "glib.h" instead of
423 * gio.symbols: whitespace change to force regeneration of the
424 alias file after above script change.
426 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
428 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
430 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
432 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
434 2008-04-28 David Zeuthen <davidz@redhat.com>
436 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
437 displaying mounts in a subdirectory not accessible to the
440 2008-04-22 Michael Natterer <mitch@imendio.com>
442 * Makefile.am: fix library versioning (it was 0.0.0).
444 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
446 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
447 Default disable all loggings.
448 * fen/fen-kernel.c: (printevent), (port_add_kevent),
449 (port_fetch_event_cb): Fixed two macro nits.
451 2008-04-16 Matthias Clasen <mclasen@redhat.com>
453 * xdgmime/xdgmime.c: Rework the timestamp checking code
454 to protect against duplicate directories in XDG_DATA_DIRS.
455 Fixes fd.o bug 12513, reported by Joe Shaw.
457 2008-04-16 Matthias Clasen <mclasen@redhat.com>
459 Partically revert the last commit after realizing that
460 xdg_mime_media_type_equal doesn't have to init at all.
463 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
465 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
467 2008-04-16 Matthias Clasen <mclasen@redhat.com>
469 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
470 reported by Joe Shaw and Federico Mena Quintero.
472 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
473 (xdg_mime_media_type_equal): Turn into a wrapper around the
476 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
477 functions throughout.
479 2008-04-16 Michael Meeks <michael.meeks@novell.com>
481 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
482 tolerate an empty TryExec= line without failing; nautilus used
483 to create launchers with these in previous versions. Fixes #528433
485 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
487 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
488 after name. Fixes #527132.
490 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
492 * gfile.c: (g_file_replace):
495 2008-04-07 Matthias Clasen <mclasen@redhat.com>
497 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
499 * gfile.c (file_copy_fallback): Fix the argument order. Patch
500 by Christian Kellner.
502 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
504 * gunixmounts.c: (g_unix_mount_guess_should_display):
505 Don't list the user directory as a mount, fix potential issue
506 when other users have a similar naming and don't special case the
507 gvfs mounts there since that's not required (#525866)
509 2008-03-31 Alexander Larsson <alexl@redhat.com>
511 * glocalfile.c (get_parent):
514 2008-03-31 A. Walton <awalton@svn.gnome.org>
516 * gfile.c (g_file_query_file_type):
517 Always return a GFileType enum value (#520715).
519 2008-03-31 Alexander Larsson <alexl@redhat.com>
521 * glocalfileenumerator.c:
522 Read readdir() info in chunks (of 1000) and sort
523 the chunks by inode before stat:ing.
524 This is a 20% performance increase in testing
525 gvfs-ls on /usr/bin with cold cache.
527 2008-03-31 Alexander Larsson <alexl@redhat.com>
529 * gmemoryoutputstream.c:
530 Clarify docs for g_memory_output_stream_get_size.
531 Add g_memory_output_stream_get_data_size.
533 2008-03-30 Matthias Clasen <mclasen@redhat.com>
537 * gfile.h: Add g_file_query_file_type convenience function
538 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
540 2008-03-30 Matthias Clasen <mclasen@redhat.com>
543 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
545 2008-03-28 A. Walton <awalton@svn.gnome.org>
547 * giomodule.c (_g_io_modules_ensure_loaded):
548 Adds GIO_EXTRA_MODULES environment variable support, closing bug
551 2008-03-28 Alexander Larsson <alexl@redhat.com>
554 (copy_stream_with_progress):
557 2008-03-28 Alexander Larsson <alexl@redhat.com>
560 (copy_stream_with_progress):
561 (file_copy_fallback):
562 Fallback to g_file_query_info for source size
563 if g_file_input_stream_query_info fails. (#524579)
565 2008-03-28 Alexander Larsson <alexl@redhat.com>
567 * glocalfile.c (g_local_file_move):
568 Reuse old string instead of adding new one.
570 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
572 * fen/*.[hc]: still copyright issue. I hate copyright.
574 2008-03-27 Alexander Larsson <alexl@redhat.com>
576 * glocalfile.c (g_local_file_move):
577 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
578 file over directory. This is according to the docs and what the move via
579 copy+remove fallback does.
581 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
583 * fen/*.[hc]: Updated copyright.
585 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
587 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
589 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
591 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
592 not emit attribute changed events when optimizing changed events.
593 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
596 2008-03-19 Matthias Clasen <mclasen@redhat.com>
598 * gmountoperation.[hc]: Small documentation additions
600 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
602 * gunixmounts.c: (guess_mount_type):
603 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
605 2008-03-19 Alexander Larsson <alexl@redhat.com>
608 (copy_stream_with_progress):
609 Bump block side for copy to 64k to minimize
610 overhead for low latency links. (#523015)
612 2008-03-16 Tor Lillqvist <tml@novell.com>
614 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
615 depend on gio.def on Windows.
617 2008-03-12 David Zeuthen <davidz@redhat.com>
621 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
623 2008-03-14 Alexander Larsson <alexl@redhat.com>
627 Avoid redudant tests (#521851)
628 Patch from Josselin Mouette
630 2008-03-14 Alexander Larsson <alexl@redhat.com>
633 (g_file_monitor_is_cancelled):
634 Fix C89 issue (#521672)
635 Patch from Jens Granseuer
637 2008-03-14 Alexander Larsson <alexl@redhat.com>
639 * fam/fam-helper.[ch]:
641 Shut down fam (including removing fam GSource) when
642 module is unloaded (#521513)
643 Patch from Joe Marcus Clarke
645 2008-03-14 Alexander Larsson <alexl@redhat.com>
648 (_g_io_modules_ensure_loaded):
651 2008-03-14 Alexander Larsson <alexl@redhat.com>
654 (g_local_file_query_filesystem_info):
655 Use right define name for f_fstypename member check
657 2008-03-14 Alexander Larsson <alexl@redhat.com>
660 * fen/Makefile.am: Added.
661 * fen/fen-data.[ch]: Added.
662 * fen/fen-dump.[ch]: Added.
663 * fen/fen-helper.[ch]: Added.
664 * fen/fen-kernel.[ch]: Added.
665 * fen/fen-missing.[ch]: Added.
666 * fen/fen-node.[ch]: Added.
667 * fen/fen-sub.[ch]: Added.
668 * fen/gfendirectorymonitor.[ch]: Added.
669 * fen/gfenfilemonitor.[ch]: Added.
671 Added Solaris FEN file notification backend.
672 Patch from Lin Ma <Lin.Ma@Sun.COM>
674 2008-03-13 Tor Lillqvist <tml@novell.com>
676 * Makefile.am: Actually use the gio.def file when linking the
677 library on Windows. Produce .lib library for Microsoft's toolchain
678 when possible. Install the .lib and .def file like for the other
681 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
683 * tests/live-g-file.c:
684 Include live-g-file in standard set of tests, making a temporary
685 directory in source structure.
687 Clean target directory before the tests (write mode only)
689 2008-03-12 Tor Lillqvist <tml@novell.com>
691 Bug 517419 - gio win32 directory monitor
692 Implementation by Vlad Grecescu.
695 * win32/gwin32directorymonitor.h
696 * win32/gwin32directorymonitor.c: New files.
698 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
700 * Makefile.am: Add the win32 subdirectory.
702 2008-03-12 Tor Lillqvist <tml@novell.com>
704 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
705 normal struct stat on Unix but struct _stati64 on Windows to have
706 access to 64-bit file size information. Use that instead of struct
707 stat in the functions declared here in this private header.
709 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
710 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
711 warnings about unused functions and variables. Don't set
712 meaningless attributes like inode numbers on Windows.
714 2008-03-12 Benjamin Otte <otte@gnome.org>
717 trim whitespace so gtk-doc groks the function name
719 2008-03-12 Tor Lillqvist <tml@novell.com>
721 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
722 returning FALSE, on Win32.
724 2008-03-11 Alexander Larsson <alexl@redhat.com>
727 * glocalfileinfo.[ch]:
728 Correctly implement can_trash by actually
729 looking for a trash dir, not just assuming
732 2008-03-10 Matthias Clasen <mclasen@redhat.com>
734 * === Released 2.16.1 ===
736 2008-03-11 Alexander Larsson <alexl@redhat.com>
739 Fix crashes in new constructor and properties code
741 2008-03-10 Murray Cumming <murrayc@murrayc.com>
743 * gfile.c: Minor spelling correction in documentation:
744 existance -> existence.
746 2008-03-10 Matthias Clasen <mclasen@redhat.com>
748 * === Released 2.16.0 ===
750 2008-03-10 Matthias Clasen <mclasen@redhat.com>
752 * gio.symbols: Remove g_file_contains_file here, too.
754 2008-03-10 Matthias Clasen <mclasen@redhat.com>
756 * gthemedicon.c: Add properties to make bindings happy. (#517676,
757 Samuel Cormier-Iijima)
759 2008-03-08 Tor Lillqvist <tml@novell.com>
761 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
764 2008-03-07 Alexander Larsson <alexl@redhat.com>
767 (g_local_file_query_filesystem_info):
768 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
769 Patch from Jasper Lievisse Adriaanse
771 2008-03-06 Tor Lillqvist <tml@novell.com>
773 * gfileinfo.h: Correct milliseconds to microseconds in the doc
774 comments for the *_USEC attributes.
776 2008-03-06 Alexander Larsson <alexl@redhat.com>
778 * gfile.c (g_file_query_exists):
779 Add g_return_val_if_fail check (#520700)
781 2008-03-06 Alexander Larsson <alexl@redhat.com>
786 * gunionvolumemonitor.c:
789 * tests/live-g-file.c:
790 * xdgmime/xdgmimecache.c:
791 Fix sparse warnings (#519489)
793 2008-03-05 Alexander Larsson <alexl@redhat.com>
796 Make cancellation threadsafe (i.e.
797 guarantee its only done once, and always
800 * glocaldirectorymonitor.c:
801 Make sure we the monitor lives while the
802 mounts_changed callback is being called (#520484)
804 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
806 * gbufferedinputstream.c: Fix typo in parameter
809 2008-03-04 Alexander Larsson <alexl@redhat.com>
812 Remove deprecated symbols we kept for one release.
814 2008-03-04 Murray Cumming <murrayc@murrayc.com>
817 * goutputstream.c: Tiny documentation corrections.
819 2008-03-03 Alexander Larsson <alexl@redhat.com>
821 * gunionvolumemonitor.c:
823 Fix the adopt_orphan_mount vfunc to take a
824 volume_monitor reference in an ABI compat way.
825 This change is not API compat, but the added
826 arg is not used in the only user of this vfunc, so
827 all we get is a harmless warning in gvfs (#520169)
829 2008-03-01 Benjamin Otte <otte@gnome.org>
832 clarify docs for g_file_delete().
834 2008-02-29 Alexander Larsson <alexl@redhat.com>
838 Make sure empty files get text/plain type (#518720)
840 2008-02-27 Alexander Larsson <alexl@redhat.com>
846 (g_unix_volume_mount):
847 Add missing GMountMountFlags argument
849 2008-02-26 Alexander Larsson <alexl@redhat.com>
852 (g_local_file_delete):
853 Handle filesystems (like ntfs-3g) that return EEXIST instead
854 of ENOTEMPTY (#518816)
856 2008-02-25 Matthias Clasen <mclasen@redhat.com>
858 * === Released 2.15.6 ===
860 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
862 * gfile.c (g_file_find_enclosing_mount):
863 * ginputstream.c (g_input_stream_set_pending):
864 * glocalfile.c (g_local_file_find_enclosing_mount):
865 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
866 * goutputstream.c (g_output_stream_set_pending):
868 Fixup translator comments (#518578).
870 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
872 * gfile.c (g_file_find_enclosing_mount):
874 * glocalfile.c (g_local_file_find_enclosing_mount):
877 Fix a few typos in translator comments and documentation.
879 2008-02-25 Alexander Larsson <alexl@redhat.com>
886 Add translator comments (#518578)
888 2008-02-25 Alexander Larsson <alexl@redhat.com>
891 Reintroduce g_file_contains_file, keep around for one
892 unstable release cycle to avoid crashing to many apps.
893 Make sure to delete after release.
895 2008-02-25 Alexander Larsson <alexl@redhat.com>
898 Remove deprecated g_file_contains_file.
900 2008-02-25 Alexander Larsson <alexl@redhat.com>
903 Emit actual change signals in an idle handler.
904 This avoids reentrance and locking problems in
905 the file notification backends.
907 2008-02-25 Alexander Larsson <alexl@redhat.com>
910 (g_unix_mount_guess_should_display):
911 Remove type guessing, instead just display
912 mounts in /media and in ~/.
914 2008-02-25 Alexander Larsson <alexl@redhat.com>
917 Make new strings reuse old ones.
919 2008-02-25 Alexander Larsson <alexl@redhat.com>
922 Implement trashing and filesystem::readonly for win32 (#517235)
923 Patch from Yevgen Muntyan
925 2008-02-23 Matthias Clasen <mclasen@redhat.com>
927 * gfileinfo.h: Documentation fixes.
929 2008-02-22 Alexander Larsson <alexl@redhat.com>
931 * gcontenttype.c (g_content_type_get_icon):
932 Look at old-style gnome mime icon names too, as many
933 have not moved to the new style.
935 2008-02-21 Matthias Clasen <mclasen@redhat.com>
937 * *.c: Correct the @include in for section docs.
939 2008-02-21 David Zeuthen <davidz@redhat.com>
941 * glocalfileinfo.c: (_g_local_file_info_get):
943 (g_content_type_get_icon): Implement this function by
944 moving bits from glocalfileinfo.c
945 (g_content_type_get_description): Unalias before getting
946 description (#517687)
948 * gfile.c: (g_file_class_init),
949 (g_file_query_filesystem_info_async),
950 (g_file_query_filesystem_info_finish),
951 (query_filesystem_info_data_free),
952 (query_filesystem_info_async_thread),
953 (g_file_real_query_filesystem_info_async),
954 (g_file_real_query_filesystem_info_finish):
955 * gfile.h: Implement async version of
956 g_file_query_filesystem_info()
958 * gfileinfo.h: Add new attributes for filesystem::use-preview
960 * gio.symbols: Update
962 * gthemedicon.c: (g_themed_icon_append_name):
963 * gthemedicon.h: Add new new convenience function.
965 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
966 (get_mounts), (get_volumes), (get_connected_drives),
967 (get_volume_for_uuid), (get_mount_for_uuid),
968 (g_union_volume_monitor_init), (populate_union_monitor),
969 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
970 (g_volume_monitor_adopt_orphan_mount):
972 * gvolumemonitor.h: Use recursive locks so it's safe for volume
973 monitor implementations to call into the main volume monitor. Also
974 separate object initialization and volume monitor initialization
975 such that non-native volume monitors can properly adopt their
978 2008-02-21 Alexander Larsson <alexl@redhat.com>
983 2008-02-21 Alexander Larsson <alexl@redhat.com>
986 Add more documentation about how GFiles work (from #517086)
988 2008-02-21 Alexander Larsson <alexl@redhat.com>
992 Add new g_file_has_prefix that does the same as g_file_contains_file.
993 Deprecate g_file_contains_file and add a macro that converts
994 it to g_file_has_prefix.
995 The reason for this change is that the contains_file() name seems to
996 imply that this does more work than what it does, but its really only
997 a name match (from #517086)
1002 Update to match the above change.
1004 2008-02-20 Benjamin Otte <otte@gnome.org>
1006 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1007 (g_file_eject_mountable):
1008 even more cases of not returning in error path
1010 2008-02-20 Benjamin Otte <otte@gnome.org>
1012 * gfile.c: (g_file_mount_mountable):
1013 return from function in error path.
1015 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1018 Remove trailing coma in GMountMountFlags struct
1020 2008-02-18 Alexander Larsson <alexl@redhat.com>
1024 * glocalfileoutputstream.c:
1025 Use g_unlink/g_rename instead of unlink/rename;
1026 do not pass raw filenames to g_set_error. (#517239)
1027 Patch from Yevgen Muntyan.
1029 2008-02-18 Alexander Larsson <alexl@redhat.com>
1032 * glocalfileoutputstream.c:
1033 Open files with O_BINARY on windows. (#517140)
1035 2008-02-14 Alexander Larsson <alexl@redhat.com>
1037 * glocalfileoutputstream.c:
1038 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1040 2008-02-14 Alexander Larsson <alexl@redhat.com>
1043 Copy permissions with file on copy (#514084)
1044 This is what cp does and makes sure e.g. the
1045 exec permissions are kept.
1046 Its kinda weird in that it keeps the permission bits
1047 the same while the uid and gid are different. However
1048 the new uid is the user so its not a security issue,
1049 and I've heard no complaints about cp on this issue.
1051 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1053 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1055 2008-02-13 Alexander Larsson <alexl@redhat.com>
1057 * inotify/inotify-path.c:
1058 Define IN_ONLYDIR if not in header (#515346)
1060 2008-02-12 Alexander Larsson <alexl@redhat.com>
1062 * tests/live-g-file.c:
1065 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1067 * === Released 2.15.5 ===
1069 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1071 * gio.symbols: Add g_mount_mount_flags_get_type.
1073 2008-02-11 Alexander Larsson <alexl@redhat.com>
1076 (g_file_info_set_attribute_mask):
1077 (g_file_attribute_matcher_matches_id):
1078 Correctly handle NULL GAttributeMatcher meaning
1079 matches nothing. (Fixes #513492)
1081 2008-02-11 Alexander Larsson <alexl@redhat.com>
1086 Added GMountMountFlags enum and added a flags
1087 argument to all mount calls.
1089 This is an API/ABI change for future extensibility,
1090 as I think we will need at least an
1091 inhibit-autorun flag (the panel needs this).
1092 There are no flags defined yet though.
1094 2008-02-11 Alexander Larsson <alexl@redhat.com>
1097 Added new standard::description attribute.
1098 Requested by Vincent, and useful for both
1101 2008-02-11 Alexander Larsson <alexl@redhat.com>
1103 * gdesktopappinfo.c:
1106 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1108 * *.c: Documentation additions
1110 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1112 * gappinfo.h: Formatting cleanup
1113 * gappinfo.c: Fix up docs.
1115 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1117 * gunixmounts.c: Consistently use getmntent_r() and fall
1118 back to getmntent(). (#515492)
1120 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1122 * gbufferedinputstream.c:
1124 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1126 * tests/data-input-stream.c:
1127 * tests/data-output-stream.c: Portability fixes.
1129 2008-02-08 Alexander Larsson <alexl@redhat.com>
1134 Add g_volume_should_automount.
1137 2008-02-07 Tor Lillqvist <tml@novell.com>
1139 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1140 Win32, too Unix-specific.
1142 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1144 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1145 a local plt if the compiler doesn't support what we want. Bug #514702
1147 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1149 reviewed by: <delete if not using a buddy>
1152 * gunixinputstream.c:
1153 * gunixoutputstream.c:
1155 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1157 * tests/Makefile.am:
1158 * tests/live-g-file.c:
1159 * tests/live-g-file.txt:
1160 New GIO testing module working over real data
1162 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1164 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1165 Fallback to rename() if link() is not available
1166 (when no support on target filesystem)
1168 2008-02-06 Michael Natterer <mitch@imendio.com>
1170 * gfileinfo.c (g_file_info_get_icon): replace
1171 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1173 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1175 * gfile.c (g_file_create):
1176 Documentation update of error codes
1178 2008-02-06 Alexander Larsson <alexl@redhat.com>
1180 * gdesktopappinfo.c:
1181 Update to use both mimeapps.list and
1182 defaults.list as discussed on xdg list.
1184 2008-02-06 Benjamin Otte <otte@gnome.org>
1187 * gfilenamecompleter.c:
1188 Fix some typos in the documentation.
1190 2008-02-06 Alexander Larsson <alexl@redhat.com>
1192 * glocalfile.c (g_local_file_trash):
1193 Don't succeed with trash if newly created
1194 trash dir has the wrong owner. (#514696)
1196 2008-02-05 Alexander Larsson <alexl@redhat.com>
1198 * glocalfile.c (g_local_file_move):
1199 Don't spew warnings when destination is not
1202 2008-02-03 Hans Breuer <hans@breuer.org>
1204 * makefile.msc : update
1206 2008-02-01 Michael Natterer <mitch@imendio.com>
1208 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1209 return value of xdg_mime_list_mime_parents() to a variable of the
1212 2008-02-01 Alexander Larsson <alexl@redhat.com>
1214 * gappinfo.c (g_app_info_launch_uris):
1215 Actually call the launch_uris method, not
1218 2008-02-01 Alexander Larsson <alexl@redhat.com>
1220 * gdesktopappinfo.c (g_desktop_app_info_equal):
1221 Ensure appinfos with no id but same pointer value
1224 2008-02-01 Alexander Larsson <alexl@redhat.com>
1226 * gappinfo.c (g_app_info_launch_default_for_uri):
1229 2008-02-01 Alexander Larsson <alexl@redhat.com>
1233 Add g_app_info_launch_default_for_uri utility
1236 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1238 * gdesktopappinfo.c:
1239 Doc fix for g_app_info_get_default_for_uri_scheme ()
1242 2008-01-30 Alexander Larsson <alexl@redhat.com>
1245 Add doc comment about uris vs GFiles to
1248 * gdesktopappinfo.c:
1249 Ensure uris passed to g_app_info_launch_uris()
1250 are not roundtriped through GFile (as that
1251 may be slightly destructive for e.g. mailto: links)
1253 2008-01-30 Alexander Larsson <alexl@redhat.com>
1255 * tests/data-input-stream.c:
1256 * tests/data-output-stream.c:
1257 C89 fixes from Jens Granseuer (#512849)
1259 2008-01-30 Alexander Larsson <alexl@redhat.com>
1262 Fix gamin/fam difference build issue. (#509419)
1264 2008-01-29 Alexander Larsson <alexl@redhat.com>
1267 * gdesktopappinfo.c:
1268 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1270 2008-01-29 Alexander Larsson <alexl@redhat.com>
1272 * gdesktopappinfo.c:
1273 * gdesktopappinfo.h:
1274 giomodule-priv.h include moved to .c file.
1276 2008-01-29 Alexander Larsson <alexl@redhat.com>
1278 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1279 Remove unused prio/name fields.
1281 2008-01-29 Alexander Larsson <alexl@redhat.com>
1283 * gcontenttype.c (looks_like_text):
1284 Don't treat whitespace as control chars.
1286 2008-01-29 Alexander Larsson <alexl@redhat.com>
1288 * gdesktopappinfo.c:
1289 Lazily create the desktop files for appinfos created
1290 by g_app_info_create_from_commandline() when needed
1291 for mime associations. This allows run-time use
1292 of GAppInfo object without creating unnecessary
1295 2008-01-29 Alexander Larsson <alexl@redhat.com>
1298 Added new symbols to gio.symbols
1300 2008-01-29 Alexander Larsson <alexl@redhat.com>
1303 Add g_file_query_default_handler utility to easily look up
1304 the GAppInfo that handles a file.
1306 * gdesktopappinfo.[ch]:
1308 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1311 Remove unused function
1313 2008-01-29 Alexander Larsson <alexl@redhat.com>
1315 * gfileenumerator.c:
1316 Mention need to free returned value in
1317 g_file_enumerator_next_files_finish docs.
1318 Fix leak if g_file_enumerator_next_files_finish()
1321 2008-01-29 Alexander Larsson <alexl@redhat.com>
1324 (_g_unix_content_type_get_parents):
1325 Use list_parents, not get_parents from xdgmime, because
1326 the later doesn't use the cache.
1328 * xdgmime/xdgmimecache.c:
1329 (_xdg_mime_cache_list_mime_parents):
1330 Don't list the same type as parent multiple times.
1332 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1334 * === Released 2.15.4 ===
1336 2008-01-28 Alexander Larsson <alexl@redhat.com>
1339 Register local vfs with prio 0.
1342 Remove old name and prio class members
1344 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1346 * tests/g-file.c: Disable some tests that are failing in
1347 the absence of a http backend.
1349 2008-01-28 Alexander Larsson <alexl@redhat.com>
1353 Add registration hooks for extension points.
1354 Register the gio extension points.
1356 * fam/gfamdirectorymonitor.c:
1357 * fam/gfamfilemonitor.c:
1358 * glocaldirectorymonitor.[ch]:
1359 * glocalfilemonitor.[ch]:
1360 * gnativevolumemonitor.h:
1361 * gunionvolumemonitor.c:
1362 * gunixvolumemonitor.c:
1365 * inotify/ginotifydirectorymonitor.c:
1366 * inotify/ginotifyfilemonitor.c:
1367 Use the extension points registration instead
1368 of g_type_children().
1370 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1373 * gvolume.[hc]: Document new API.
1375 * gfile.c (g_file_copy_async): Fix docs
1377 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1379 * gbufferedinputstream.c:
1381 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1384 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1386 * glocalfile.c: Avoid trivial differences in translatable strings.
1388 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1390 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1391 build with gcc 3.4 (#509419)
1393 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1395 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1396 (#509994, Murray Cumming)
1398 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1400 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1401 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1402 this allows big jobs to be executed in chunks, instead of blocking
1403 the main loop for a long time.
1405 * gsimpleasyncresult.c:
1406 * giofile.c: Adapt callers.
1408 2008-01-25 Alexander Larsson <alexl@redhat.com>
1410 * gdesktopappinfo.c:
1411 Implement changes discussed on xdg list.
1412 Now we can add supported mimetypes by just using defaults.list
1413 We can also remove associations in defaults.list.
1415 2008-01-25 Alexander Larsson <alexl@redhat.com>
1417 * gdesktopappinfo.c:
1418 Don't make local copy of desktop file
1419 for mimetype changes if the file already
1420 supports the new mimetype.
1422 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1426 * gbufferedinputstream.c:
1427 * glocalfile.c: String improvements. (#511966,
1428 Theppitak Karoonboonyanan)
1430 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1432 * gioscheduler.h: Expand docs a bit.
1434 2008-01-24 Alexander Larsson <alexl@redhat.com>
1437 Add g_drive_get_identifier and
1438 g_drive_enumerate_identifiers
1441 Add g_volume_get_identifier and
1442 g_volume_enumerate_identifiers
1448 Implement identifiers for unix backend
1450 2008-01-24 Alexander Larsson <alexl@redhat.com>
1455 Add g_file_copy_async() (#511580)
1456 Based on patch from Carlos Garcia Campos
1458 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1460 * gioscheduler.c: Some documentation additions.
1462 2008-01-22 Alexander Larsson <alexl@redhat.com>
1464 * gdesktopappinfo.c:
1465 (g_desktop_app_info_new):
1466 Don't leak basename.
1468 2008-01-22 Alexander Larsson <alexl@redhat.com>
1470 * gdesktopappinfo.c:
1471 (g_desktop_app_info_new_from_filename):
1474 2008-01-22 Alexander Larsson <alexl@redhat.com>
1476 * glocalfileinfo.c (get_thumbnail_attributes):
1479 2008-01-22 Alexander Larsson <alexl@redhat.com>
1482 (canonicalize_filename):
1483 Canonicalize paths that start with more than
1487 (compare_two_files):
1488 (test_g_file_new_for_path):
1491 2008-01-22 Alexander Larsson <alexl@redhat.com>
1494 Allow UTF-8 in file:// parse names.
1496 * tests/Makefile.am:
1497 * tests/data-input-stream.c:
1498 * tests/data-output-stream.c:
1499 * tests/g-file-info.c:
1501 Added a bunch of tests from Tomas Bzatek
1503 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1505 * === Released 2.15.3 ===
1507 2008-01-21 Alexander Larsson <alexl@redhat.com>
1509 * gfileinputstream.[ch]:
1510 * gfileoutputstream.[ch]:
1512 Remove duplicated GSeekable functions. (#509990)
1513 Just use the g_seekable_xxx() calls instead.
1515 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1518 * gvolumemanager.c: Whitespace cleanups.
1520 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1521 Use the right mode when creating the file.
1523 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1525 * gfileenumerator.c:
1526 * gfileinputstream.c:
1528 * goutputstream.c: Documentation: Fixed minor typos
1529 and added more mentions of specific _finish() functions.
1531 2008-01-21 Alexander Larsson <alexl@redhat.com>
1533 * inotify/Makefile.am:
1534 * inotify/inotify-helper.c:
1535 * inotify/inotify-kernel.c:
1536 * inotify/inotify-path.c:
1537 * inotify/local_inotify.h: Removed.
1538 * inotify/local_inotify_syscalls.h: Removed.
1539 Removed the included copies of the inotify
1540 headers. We now only use the <sys/inotify.h>
1541 header which exists on modern systems.
1542 This fixes problems on ARM and SH5 (#510448)
1543 but is also generally much cleaner and future
1544 safe. For instance, if other OSes add support
1545 for inotify it should "just work".
1547 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1549 * inotify/*.c: Coding style fixes.
1550 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1551 for the 1/4 Hz timer.
1553 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1556 * gfilemonitor.[hc]:
1557 * gmemoryinputstream.c:
1558 * gmemoryoutputstream.c:
1559 * gmountoperation.c:
1560 * gthemedicon.c: Documentation updates
1562 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1564 * gfile.c: documentation: Fixed more minor
1567 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1569 * gmount.c: (g_mount_remount): documentation:
1570 Mention g_mount_remount_finish() instead of
1571 g_mount_unmount_finish().
1573 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1577 * gfile.c: Fixed some minor typos in the
1580 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1582 * gio/gvolumemonitor.c:
1583 (g_volume_monitor_get_connected_drives):
1584 (g_volume_monitor_get_volumes):
1585 (g_volume_monitor_get_mounts): Documentation:
1586 Clarify the ownership of the regurn GLists.
1588 2008-01-17 Alexander Larsson <alexl@redhat.com>
1591 Add the async find_enclosing_mount version
1592 to the header file too.
1594 2008-01-17 Alexander Larsson <alexl@redhat.com>
1597 Add async version of find_enclosing_mount
1598 with default implementation.
1600 2008-01-17 Alexander Larsson <alexl@redhat.com>
1605 Allow calls to implementation of copy and write
1606 even if the type of the file implementations is
1607 different. This can be used to implement native
1608 upload and download calls in a vfs.
1611 (g_local_file_move):
1612 Protect against the case where move is called
1613 with one file not being local.
1615 Make sure we call the progress callback once
1616 in the native move operation so that the caller
1617 knows how many bytes were copied.
1619 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1622 * gdatainputstream.c:
1624 * gfileoutputstream.c:
1629 * gunixmounts.c: Corrected some typos in the documentation:
1630 occured -> occurred.
1631 its -> it's (where appropriate).
1633 2008-01-16 Alexander Larsson <alexl@redhat.com>
1637 Add g_file_query_exists (#508771)
1639 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1644 * gvolume.c: For async functions that have no non-async
1645 version, document that the GAsyncReadyCallback may be NULL.
1648 2008-01-15 Alexander Larsson <alexl@redhat.com>
1650 * gmemoryinputstream.c:
1651 * gmemoryoutputstream.c:
1652 Don't do pointer arithmetic on void * (#508602)
1653 Patch from Kazuki IWAMOTO
1655 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1657 * === Released 2.15.2 ===
1659 2008-01-14 Alexander Larsson <alexl@redhat.com>
1661 * gfile.c (g_file_monitor_file):
1662 Don't set error here, since we fallback to polling monitor.
1664 2008-01-14 Alexander Larsson <alexl@redhat.com>
1667 (g_file_monitor_directory):
1668 (g_file_monitor_file):
1669 Add GError to file monitor calls
1671 * glocaldirectorymonitor.c:
1672 * glocaldirectorymonitor.h:
1674 * glocalfilemonitor.c:
1675 * glocalfilemonitor.h:
1677 Update for above change
1679 2008-01-14 Alexander Larsson <alexl@redhat.com>
1683 Handle root correctly in g_file_get_relative_path (#508719)
1685 2008-01-14 Alexander Larsson <alexl@redhat.com>
1688 Clean up docs and example for GAsyncResult (#508074)
1690 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1692 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1693 and correct some spelling mistakes. Bug #508108.
1695 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1697 * glocalfileinfo.c: Add a comment.
1699 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1701 * gfileinfo.c: GFileInfo description: Mention
1702 how to actually set attributes in a GFile and how to discover
1703 which attributes are settable. Bug #508378.
1705 2008-01-10 A. Walton <awalton@svn.gnome.org>
1707 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1708 (g_app_info_get_default_for_type):
1709 Check for NULL content types.
1711 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1713 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1715 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1717 * gfile.c: *_async() functions: Several small corrections
1718 to the documentation, mostly correcting copy/paste errors
1719 and improving some sentences.
1721 2008-01-09 Dan Winship <danw@gnome.org>
1723 * glocalfile.c (get_unique_filename): x86_64 fix
1725 2008-01-09 Alexander Larsson <alexl@redhat.com>
1730 Add g_unix_mount_guess_should_display and use
1731 for unix volume monitor backend.
1732 This means we more or less show what the
1733 gnome-vfs backend did.
1734 Based on patch from Padraig O'Briain
1736 2008-01-09 Alexander Larsson <alexl@redhat.com>
1740 Add g_themed_icon_new_with_default_fallbacks
1743 Use default fallbacks for icons
1745 2008-01-09 Alexander Larsson <alexl@redhat.com>
1748 * gmountoperation.[ch]:
1749 Change the API a bit so that unhandled methods
1750 get reported via the reply, rather than by
1751 the signal emission return value. This is because
1752 some handlers can't know this immediately without
1753 doing I/O, and this is an async operation that
1756 2008-01-09 Alexander Larsson <alexl@redhat.com>
1759 * fam/gfamdirectorymonitor.c:
1760 * fam/gfamfilemonitor.c:
1761 Fix double free crash (#508224)
1762 Patch from Joe Marcus Clarke
1764 008-01-07 Matthias Clasen <mclasen@redhat.com>
1766 * === Released 2.15.1 ===
1768 2008-01-07 Alexander Larsson <alexl@redhat.com>
1770 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1771 Fix warning (#507835)
1773 2008-01-07 Alexander Larsson <alexl@redhat.com>
1776 Pass --internal to glib-genmarshal
1779 * gmountoperation.c:
1781 Use better types for signal arguments (#507822)
1783 2008-01-07 Alexander Larsson <alexl@redhat.com>
1786 Build test subdir after .
1787 Remove gdirectorymonitor.[ch]
1789 * gdirectorymonitor.[ch]:
1793 Remove GDirectoryMonitor and make
1794 GFileMonitor the baseclass for both file and
1795 directory monitors. Lift the more generic
1796 rate limiting code from GDirectoryMonitor
1800 * fam/gfamdirectorymonitor.[ch]:
1801 * inotify/ginotifydirectorymonitor.[ch]:
1802 * inotify/inotify-helper.c:
1803 * glocaldirectorymonitor.[ch]:
1806 Update for the removed GDirectoryMonitor.
1808 * gmemoryoutputstream.c:
1809 Remove ununsed variable
1811 2008-01-07 Alexander Larsson <alexl@redhat.com>
1813 * gmemoryinputstream.c:
1814 Translate error strings
1817 * gmemoryoutputstream.[ch]:
1818 New implementation that avoids using GByteArray
1819 in implementation and API. (#506377)
1821 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1823 * tests/*: Add a test for memory input streams.
1825 * Makefile.am: Add tests to SUBDIRS.
1827 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1829 * glocalfilemonitor.c:
1830 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1833 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1835 * gdesktopappinfo.c: Fix a docs typo.
1837 * gfileattribute.c: Add information about extended attributes
1838 to the documentation. (#505058)
1840 2008-01-04 Alexander Larsson <alexl@redhat.com>
1843 * gmountoperation.c:
1844 Use the right type (uint) for the ask_password signal.
1846 2008-01-04 Alexander Larsson <alexl@redhat.com>
1851 Add g_app_info_supports_files()
1852 Remove desktop arg from g_app_info_should_show().
1854 * gdesktopappinfo.[ch]:
1855 Implement g_app_info_supports_files() and new should_show()
1856 Add g_desktop_app_info_set_desktop_env() to set the desktop
1857 for should_show(). (This will be set by gtk+ later)
1859 2008-01-04 Alexander Larsson <alexl@redhat.com>
1862 * gmemoryinputstream.[ch]:
1863 Improve API so that you can use multiple chunks
1864 of memory and custom destroy functions. (#506374)
1866 2008-01-03 Alexander Larsson <alexl@redhat.com>
1869 Handle NULL attribute matchers safely, as we return this
1870 for empty attribute matcher strings.
1872 2008-01-03 Alexander Larsson <alexl@redhat.com>
1874 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1875 Add /usr/local to list of internal mountpoints
1877 2008-01-03 Alexander Larsson <alexl@redhat.com>
1880 Check for HAVE_LCHOWN (#505887)
1882 2008-01-03 Alexander Larsson <alexl@redhat.com>
1886 Add define for selinux context attribute.
1887 Fix missing : -> :: namespace separator change
1888 Fix missing _ -> - name change for xattr-sys.
1891 2008-01-03 Alexander Larsson <alexl@redhat.com>
1894 Link to libglib and libgobject directly (#504879)
1895 Patch from Sebastien Bacher
1897 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1899 * gfile.c: Expanded the g_file_new_for_commandline_arg
1900 description a bit, based on the code and the docs of the
1901 other g_file_new_for_* functions.
1903 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1905 * gfilemonitor.h: Fixed typo in docs.
1907 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1909 Updates to GIO documentation. (#506395, Mikael Hermansson)
1911 * gcontenttype.c: Describe memory management for return value of
1912 g_content_types_get_registered(). Missing piece from #505815.
1913 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1914 GVolume, GDrive, GMounts, which hopefully gives the user less
1915 confusions when using this API. Following explainations from
1916 Alexander Larsson on gtk-devel-list.
1918 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1920 * gfileinfo.c: Expand the long description.
1922 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1925 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1926 fix builds with --disable-visibility. (#500273, Christian Persch)
1928 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1930 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1931 in the list of returned app infos.
1933 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1935 * gappinfo.c: Fix a cross-reference
1937 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1939 * gfileinputstream.c:
1940 * gfileoutputstream.c:
1944 * gdesktopappinfo.c:
1946 * gfileinfo.c: Documentation updates.
1948 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1950 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1953 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1955 * gcontenttype.c (g_content_types_get_registered): Don't return
1956 freed memory (#505815, Mikael Hermansson)
1958 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1960 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1961 used to detect statbuf->st_blocks. (#505042)
1963 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1965 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1966 environment handling. (#504829, Cosimo Cecchi)
1968 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1970 * gappinfo.c: Doc improvements
1972 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1975 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1977 * === Released 2.15.0 ===
1979 2007-12-20 Hans Breuer <hans@breuer.org>
1981 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1982 with symbols gwin32appinfo.obj, added gmount.obj
1983 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1985 2007-12-20 Alexander Larsson <alexl@redhat.com>
1991 * gfilenamecompleter.c:
1994 * gpollfilemonitor.c:
1995 File attribute renames:
1997 fs:: -> filesystem::
1998 id::fs -> id::filesystem
2000 2007-12-20 Alexander Larsson <alexl@redhat.com>
2009 Add GMountUnmountFlags to all unmount and
2011 Add g_mount_remount() call.
2013 2007-12-20 Alexander Larsson <alexl@redhat.com>
2015 * gvfs.c (get_default_vfs):
2016 Fix unused variable warning
2018 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2020 * pltcheck.sh: Update
2022 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2024 * gunionvolumemonitor.c:
2025 * gunixmount.c: Remove C99 comments
2027 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2029 * gio.symbols: Add some missing symbols
2031 2007-12-19 Alexander Larsson <alexl@redhat.com>
2034 Make g_io_modules_load_all_in_directory not unuse
2035 loaded modules so that users of it can do stuff
2037 Init internal "module" types.
2038 Initialize static prio and name for types so that
2039 we don't have to load modules to get it.
2041 * gnativevolumemonitor.h:
2043 Move is_supported to parent class so that
2044 non-native monitors can avoid being initialized
2045 too. (For instance GDaemonVolumeMonitor if we're
2046 not using GDaemonVfs.)
2048 * glocaldirectorymonitor.[ch]:
2049 * glocalfilemonitor.[ch]:
2050 * gunionvolumemonitor.c:
2051 * gunixvolumemonitor.c:
2053 Find plugins using the static prio+name to
2054 avoid unnecessarily loading the modules.
2056 2007-12-19 Alexander Larsson <alexl@redhat.com>
2061 2007-12-19 Alexander Larsson <alexl@redhat.com>
2063 * gunionvolumemonitor.c:
2064 Store the native type as GType, not class so that
2065 we can unload it. But still avoid unnecessarily
2068 2007-12-19 David Zeuthen <davidz@redhat.com>
2070 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2071 add signals 'disconnected' and 'eject-button' on GDrive. Add
2072 signal 'removed' on GVolume and 'unmounted' on GMount.
2074 * gdrive.c: (g_drive_base_init):
2076 * gfile.c: (g_file_mount_mountable),
2077 (g_file_mount_enclosing_volume):
2080 * gmount.c: (g_mount_base_init):
2082 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2083 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2084 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2088 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2090 * *.c: Fix up includes in the section docs.
2092 2007-12-17 Alexander Larsson <alexl@redhat.com>
2094 * gnativevolumemonitor.h:
2095 * gunionvolumemonitor.c:
2096 * gunixvolumemonitor.c:
2097 Add is_supported() to GNativeVolumeMonitorClass so
2098 that we can avoid having to create an object to see
2099 if the backend is supported at runtime.
2100 Also add name member and an env var to pick a specific
2101 volume monitor backend.
2105 Add cancellable to _g_mount_get_for_mount_path()
2107 * glocaldirectorymonitor.c:
2108 * glocalfilemonitor.c:
2109 Avoid loading and unloading modules while sorting.
2111 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2114 * gunixmounts.[hc]: Namespace waste reduction, move some
2115 g_get_unix_mount functions to the g_unix_mount namespace.
2118 * gunixvolumemonitor.c:
2120 * glocaldirectorymonitor.c: Update all callers.
2122 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2124 2007-12-17 Alexander Larsson <alexl@redhat.com>
2127 Add doc comments about what GFile operations are
2128 guaranteed to not block.
2130 2007-12-17 Alexander Larsson <alexl@redhat.com>
2133 Add missing #ifdef fixing OSX build.
2134 (#503334, patch from Richard Hult)
2136 2007-12-14 David Zeuthen <davidz@redhat.com>
2140 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2141 (g_mount_eject), (g_mount_eject_finish):
2143 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2144 (get_volume_for_uuid), (get_mount_for_uuid),
2145 (g_union_volume_monitor_class_init),
2146 (get_default_native_type_with_exclude), (get_default_native_type),
2147 (get_native_type), (update_native_type),
2148 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2149 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2150 (g_unix_mount_can_eject), (eject_unmount_cb),
2151 (eject_unmount_read_error), (eject_unmount_do),
2152 (g_unix_mount_unmount), (g_unix_mount_eject),
2153 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2154 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2155 (g_unix_mount_point_guess_can_eject):
2157 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2158 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2159 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2160 (g_unix_volume_mount), (g_unix_volume_eject),
2161 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2162 * gunixvolumemonitor.c: (get_volume_for_uuid),
2163 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2165 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2166 (g_volume_eject), (g_volume_eject_finish):
2168 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2169 (g_volume_monitor_get_mount_for_uuid):
2172 Provide eject() on both GMount and GVolume and utility functions
2173 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2174 ejected. Introduce the concept of UUID's and wire it into GVolume
2175 and GMount and provide API on GVolumeMonitor to find such
2176 instances. Also handle the case where an external
2177 GNativeVolumeMonitor fails to initialize. Lock around the
2178 _g_get_mount_for_mount_path() function such that volume monitor
2179 implementations won't have to do locking themselves.
2181 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2183 * gdesktopappinfo.c:
2189 * gvolume.h: Documentation updates
2191 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2194 * gfile.h: Doc updates
2196 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2199 * gdesktopappinfo.c: Use hash table iterators.
2201 2007-12-14 Alexander Larsson <alexl@redhat.com>
2204 * gfileattribute.[ch]:
2205 * gfileattribute-priv.h:
2206 Move GFileAttributeValue to a private header, as
2210 Make set_attribute take a type + a pointer instead
2211 of a GFileAttributeValue.
2214 Fix up for above changes.
2215 Add g_file_info_get_attribute_data to get
2216 all info in one call, g_file_info_get_attribute_status
2217 to get the status and g_file_info_get_attribute_as_string.
2221 * glocalfileinfo.[ch]:
2225 Make _guess_type static.
2227 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2230 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2231 made mkenums and friends use temporary files to avoid leaving
2232 empty generated files on failure (#503470).
2234 2007-12-14 Alexander Larsson <alexl@redhat.com>
2236 * gmountoperation.h:
2239 2007-12-14 Alexander Larsson <alexl@redhat.com>
2243 * gfileattribute.[ch]:
2246 * glocalfileoutputstream.c:
2247 * gmountoperation.[ch]:
2248 * goutputstream.[ch]:
2249 Clean up all flags enums to not have _FLAGS in them
2250 Make the names of some of the enums better.
2255 2007-12-14 Michael Natterer <mitch@imendio.com>
2257 * gio.symbols: fix g_io_scheduler symbol names.
2259 2007-12-14 Alexander Larsson <alexl@redhat.com>
2265 * gbufferedinputstream.h:
2266 * gbufferedoutputstream.h:
2269 * gdatainputstream.h:
2270 * gdataoutputstream.h:
2271 * gdesktopappinfo.h:
2272 * gdirectorymonitor.h:
2276 * gfileenumerator.h:
2279 * gfileinputstream.h:
2281 * gfilenamecompleter.h:
2282 * gfileoutputstream.h:
2283 * gfilterinputstream.h:
2284 * gfilteroutputstream.h:
2292 * gmemoryinputstream.h:
2293 * gmemoryoutputstream.h:
2295 * gmountoperation.h:
2298 * gsimpleasyncresult.h:
2300 * gunixinputstream.h:
2302 * gunixoutputstream.h:
2306 * inotify/Makefile.am:
2307 Only allow including <gio/gio.h> from apps
2309 2007-12-14 Alexander Larsson <alexl@redhat.com>
2311 * gioscheduler.[ch]:
2312 * gsimpleasyncresult.c:
2313 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2314 Split out the send_to_mainloop call into two versions instead
2315 of having the block argument.
2317 2007-12-13 Alexander Larsson <alexl@redhat.com>
2319 * gcancellable.[ch]:
2321 * gbufferedinputstream.c:
2322 * gfileenumerator.c:
2323 * gfileinputstream.c:
2324 * gfileoutputstream.c:
2328 g_push/pop_current_cancellable ->
2329 g_cancellable_push/pop_current
2331 2007-12-13 Alexander Larsson <alexl@redhat.com>
2335 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2337 2007-12-13 Alexander Larsson <alexl@redhat.com>
2339 * gmountoperation.h:
2340 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2342 2007-12-12 Alexander Larsson <alexl@redhat.com>
2345 Fix race condition when freeing proxy in
2346 g_io_job_send_to_mainloop().
2348 2007-12-12 Alexander Larsson <alexl@redhat.com>
2354 Make attribute namespace separator "::" instead of ":".
2355 Use - instead of _ as separator in attribute names.
2357 2007-12-12 Alexander Larsson <alexl@redhat.com>
2359 * gbufferedinputstream.h:
2360 * gbufferedoutputstream.h:
2361 * gdatainputstream.h:
2362 * gdataoutputstream.h:
2363 * gdirectorymonitor.h:
2364 * gfileenumerator.h:
2365 * gfileinputstream.h:
2367 * gfileoutputstream.h:
2368 * gfilterinputstream.h:
2369 * gfilteroutputstream.h:
2371 * glocalfileinputstream.h:
2372 * glocalfileoutputstream.h:
2373 * gmemoryinputstream.h:
2374 * gmemoryoutputstream.h:
2375 * gnativevolumemonitor.h:
2377 * gunixinputstream.h:
2378 * gunixoutputstream.h:
2381 s/parent/parent_instance/ in GObjects
2383 2007-12-12 Alexander Larsson <alexl@redhat.com>
2388 No need for padding for interfaces
2390 2007-12-12 Alexander Larsson <alexl@redhat.com>
2394 * gbufferedinputstream.c:
2395 * gbufferedoutputstream.c:
2398 * gdatainputstream.[ch]:
2399 * gdesktopappinfo.c:
2400 * gdirectorymonitor.c:
2402 * gfileattribute.[ch]:
2405 * gfileinputstream.h:
2406 * gfilemonitor.[ch]:
2407 * gfileoutputstream.[ch]:
2408 * gfilterinputstream.h:
2409 * gfilteroutputstream.h:
2412 * gloadableicon.[ch]:
2413 * gmemoryinputstream.c:
2414 * gmountoperation.c:
2416 Fix up a bunch of details in the docs.
2421 2007-12-11 David Zeuthen <davidz@redhat.com>
2423 Rework how volumes, drives and volume monitoring is
2424 done. Previosly the model was
2426 GDrive <1-1> GVolume
2428 where a GDrive instance represented a mount point and a GVolume
2429 instance represented a mounted file system. This patch changes it
2432 GDrive <1-N> GVolume <1-1> GMount
2434 where GMount now serves the purpose of the old GVolume and the new
2435 GVolume serves the purpose of the old GDrive. In addition the new
2436 GDrive interface is used to represent a collection of GVolume
2437 instances (typically partitions) and also contains utility to query
2438 the state of the physical drive the GDrive object represents (such
2439 as checking for media, polling the drive, ejecting the media etc.).
2441 Also implement mounting and unmounting in the Unix volume monitor
2442 backend. A subquent patch will introduce GDrive support for ejection
2446 * gdrive.c: (g_drive_is_media_check_automatic),
2447 (g_drive_is_media_removable), (g_drive_has_media),
2448 (g_drive_can_poll_for_media), (g_drive_eject),
2449 (g_drive_eject_finish), (g_drive_poll_for_media),
2450 (g_drive_poll_for_media_finish):
2452 * gfile.c: (g_file_find_enclosing_mount):
2455 * glocaldirectorymonitor.c:
2456 (g_local_directory_monitor_constructor), (mounts_changed):
2457 * glocalfile.c: (get_mount_info),
2458 (g_local_file_find_enclosing_mount),
2459 (g_local_file_file_iface_init):
2460 * gnativevolumemonitor.h:
2461 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2462 (get_connected_drives), (g_union_volume_monitor_class_init),
2463 (child_volume_added), (child_volume_removed),
2464 (child_volume_changed), (child_mount_added), (child_mount_removed),
2465 (child_mount_pre_unmount), (child_mount_changed),
2466 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2467 (g_union_volume_monitor_remove_monitor),
2468 (_g_mount_get_for_mount_path):
2469 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2470 (guess_system_internal), (_g_get_unix_mounts),
2471 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2472 (g_unix_mount_free), (g_unix_mount_compare),
2473 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2474 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2475 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2476 (type_to_icon), (g_unix_mount_guess_name),
2477 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2478 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2479 (_resolve_symlink), (_resolve_dev_root):
2481 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2482 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2483 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2484 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2485 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2486 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2487 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2488 (g_unix_volume_volume_iface_init):
2490 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2491 (get_mounts), (get_volumes), (get_connected_drives),
2492 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2493 (mountpoints_changed), (mounts_changed),
2494 (g_unix_volume_monitor_init),
2495 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2496 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2497 * gunixvolumemonitor.h:
2498 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2499 (g_volume_mount), (g_volume_mount_finish):
2501 * gvolumemonitor.c: (g_volume_monitor_class_init),
2502 (g_volume_monitor_get_connected_drives),
2503 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2506 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2508 * gmountoperation.h (GPasswordFlags): Close the gap
2510 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2512 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2514 * gdesktopappinfo.[hc]: Remove _-prefixes
2516 2007-12-10 Tor Lillqvist <tml@novell.com>
2518 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2521 2007-12-10 Alexander Larsson <alexl@redhat.com>
2523 * gfile.c (g_file_set_display_name):
2524 Don't hardcode '/' (#502727)
2526 2007-12-09 Hans Breuer <hans@breuer.org>
2528 * makefile.msc : follow lib naming convention
2529 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2530 for user and group name, tested with ../tests/gio-ls
2532 2007-12-09 A. Walton <awalton@svn.gnome.org>
2534 * gdesktopappinfo.c:
2540 * gfileenumerator.c:
2545 * gmemoryinputstream.c:
2546 * gmemoryoutputstream.c:
2548 * gsimpleasyncresult.c:
2549 More documentation cleanup and filling in missing information, bringing
2550 GIO to 99% symbol coverage.
2552 2007-12-08 Hans Breuer <hans@breuer.org>
2554 [gio compiles and links on win32, not sure how much already works]
2555 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2556 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2557 base on win32 API; prefer g_lstat() over lstat(); instead of
2558 localtime_r() use an all GLib implementation on win32;
2559 get_mount_info() still needs a win32 specifc implementation
2560 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2561 win32_get_file_user_info to get owner/group info without uid/gid
2562 * glocalfileinputstream.c : include <io.h> on win32
2563 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2564 definition, use g_win32_ftruncate() for G_OS_WIN32
2565 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2566 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2567 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2568 * makefile.msc : updated
2570 2007-12-07 Alexander Larsson <alexl@redhat.com>
2572 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2573 Avoid warning spew if error == NULL
2575 2007-12-07 Alexander Larsson <alexl@redhat.com>
2578 Update docs wrt etags
2580 2007-12-06 Alexander Larsson <alexl@redhat.com>
2583 Include sys/types.h for dev_t (#501919)
2585 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2589 Make abicheck and pltcheck pass.
2591 2007-12-05 Alexander Larsson <alexl@redhat.com>
2594 * giomodule-priv.h: Added.
2595 * glocaldirectorymonitor.c:
2596 * glocalfilemonitor.c:
2597 * gunionvolumemonitor.c:
2599 Actually add the declaration of _g_io_modules_ensure_loaded
2601 2007-12-05 Alexander Larsson <alexl@redhat.com>
2603 * gdatainputstream.c:
2608 * glocaldirectorymonitor.c:
2609 * glocalfilemonitor.c:
2610 * gunionvolumemonitor.c:
2612 Make g_io_modules_ensure_loaded a private function and
2613 don't pass in the dirname. This means we can do magic
2614 directory finding in the win32 version.
2615 Export the actual load-modules-in-directory code so that
2616 gvfs can reuse that.
2618 2007-12-05 Alexander Larsson <alexl@redhat.com>
2620 * gbufferedinputstream.c:
2621 * gbufferedoutputstream.c:
2624 * gfileenumerator.[ch]:
2625 * gfileinputstream.c:
2626 * gfileoutputstream.[ch]:
2627 * gfilterinputstream.c:
2628 * gfilteroutputstream.c:
2629 * ginputstream.[ch]:
2631 * glocalfileenumerator.c:
2632 * glocalfileinputstream.c:
2633 * glocalfileoutputstream.c:
2634 * gmemoryinputstream.c:
2635 * gmemoryoutputstream.c:
2636 * goutputstream.[ch]:
2639 * gunixinputstream.c:
2640 * gunixoutputstream.c:
2641 Rename all struct members named:
2642 read, write, close, truncate, or mount
2643 to foo_fn, as these are reserved names
2644 and could be defined as macros in libc.
2647 2007-12-04 Alexander Larsson <alexl@redhat.com>
2650 (g_output_stream_close):
2651 Only call flush if non-null.
2653 2007-11-30 Dan Winship <danw@gnome.org>
2655 * ginputstream.c (g_input_stream_set_pending): Make this take a
2656 GError and return a gboolean, and do the "outstanding operation"
2657 check (and the "stream is already closed" check) itself.
2658 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2660 * goutputstream.c (g_output_stream_set_pending)
2661 (g_output_stream_clear_pending): Likewise
2663 * gbufferedinputstream.c:
2664 * gfileinputstream.c:
2665 * gfileoutputstream.c: Update for that
2667 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2668 Like g_simple_async_report_error_in_idle, but takes a GError
2669 rather than building one.
2671 2007-11-30 Dan Winship <danw@gnome.org>
2673 * goutputstream.c: Don't cheat and unset the "pending" flag around
2674 inner calls. Instead, call the class method directly rather than
2675 the wrapper function that checks "pending"
2677 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2679 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2681 2007-12-03 Hans Breuer <hans@breuer.org>
2683 [start of port to win32/msvc]
2684 * gcancellable.c : HAVE_UNIST_H and _pipe()
2685 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2686 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2687 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2689 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2690 * glocalvfs.c : use HAVE_PWD_H
2691 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2692 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2693 * Makefile.am : added to EXTRA_DIST
2695 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2697 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2700 2007-12-03 Alexander Larsson <alexl@redhat.com>
2703 Handle OSX style xattrs API (#500506)
2705 2007-12-03 Alexander Larsson <alexl@redhat.com>
2709 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2711 2007-12-02 A. Walton <awalton@svn.gnome.org>
2715 Documentation accuracy fixes.
2717 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2719 * gioenumtypes.c.template: Fix typo.
2721 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2723 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2725 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2727 * gdirectorymonitor.c:
2728 * gfilemonitor.c: Add properties
2730 * gbufferedoutputstream.c: Don't mark buffer-size property
2733 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2735 * gbufferedoutputstream.c: Add auto-grow property.
2737 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2739 * *.c: Unify the capitalization of section headings.
2741 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2743 * gmountoperation.c: Add properties
2745 * gdatainputstream.c: Turn byte-order and newline-type into
2748 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2750 * gioenumtypes.[hc].template: Templates for enum registration
2752 * Makefile.am: Generate gioenumtypes.[hc]
2754 * gio.h: Include gioenumtypes.h
2756 * gfile.h: Add some explicit nicks.
2758 * gio.symbols: Add new symbols
2760 * pltcheck.sh: Adjust
2762 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2764 * *.c: Explain etags and link to the explanation
2766 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2768 * *.c: Explain I/O priority.
2770 * *.c: More coding style fixes.
2772 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2774 * gasyncresult.c: Add another paragraph to the intro,
2775 adjust coding style of example.
2777 2007-11-29 A. Walton <awalton@svn.gnome.org>
2780 Fixes unknown meaning in GAppLaunchContext docs.
2782 Clarify asynchronous ops.
2784 Fix entity tag docs.
2787 Provides missing gtk-doc section, fixes API docs slighly.
2788 * gsimpleasyncresult.c:
2789 Fill in missing info in docs.
2790 * gunixinputstream.c:
2791 * gunixoutputstream.c:
2792 Be more expressive in short description.
2794 Remove gtk-doc stubs for non-public API.
2796 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2798 * *.c: Coding style fixups
2800 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2802 * inotify/inotify-helper.c: Don't export the lock from libgio.
2804 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2807 * abicheck.sh: Fix copy-and-paste leftovers
2809 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2811 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2813 2007-11-28 Alexander Larsson <alexl@redhat.com>
2817 Removed unnecessary file
2819 * gdesktopappinfo.[ch]:
2822 * glocaldirectorymonitor.[ch]:
2824 * glocalfileenumerator.[ch]:
2825 * glocalfileinputstream.[ch]:
2826 * glocalfilemonitor.[ch]:
2827 * glocalfileoutputstream.[ch]:
2829 * gnativevolumemonitor.c:
2830 * gpollfilemonitor.[ch]:
2831 * gunionvolumemonitor.[ch]:
2834 * gunixvolumemonitor.[ch]:
2837 * inotify/ginotifydirectorymonitor.[ch]:
2838 * inotify/ginotifyfilemonitor.[ch]:
2839 * inotify/inotify-helper.c:
2840 Append _ to all internal functions
2844 Export symbols needed for modules
2846 2007-11-28 Alexander Larsson <alexl@redhat.com>
2849 * abicheck.sh: Added.
2850 * makegioalias.pl: Added.
2851 * pltcheck.sh: Added.
2852 * gio.symbols: Added.
2855 Initial work on adding symbol handling.
2858 Correct ifdef guard name
2861 * inotify/Makefile.am:
2862 * xdgmime/Makefile.am:
2863 Include toplevel Makefile.decl
2865 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2867 * gcontenttype.c: Move doc comments to the unix section.
2869 * *.[hc]: More trivial doc corrections.
2871 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2873 * gpollfilemonitor.c:
2877 * gdesktopappinfo.c:
2882 * gdatainputstream.c:
2883 * gdatainputstream.h:
2884 * gdataoutputstream.c:
2885 * gdataoutputstream.h:
2886 * gfileinfo.h: Doc cleanups
2888 2007-11-28 Andre Klapper <a9016009@gmx.de>
2890 * gdesktopappinfo.c: Fix a typo.
2892 2007-11-27 Andre Klapper <a9016009@gmx.de>
2894 * glocalfileoutputstream.c: Fix a typo.
2896 2007-11-27 Alexander Larsson <alexl@redhat.com>
2899 Don't include removed headers
2901 2007-11-27 Alexander Larsson <alexl@redhat.com>
2904 * gsocketinputstream.[ch]: Removed.
2905 * gsocketoutputstream.[ch]: Removed.
2906 * gunixinputstream.[ch]: Added.
2907 * gunixoutputstream.[ch]: Added.
2908 Renamed GSocket*Stream to GUnix*Stream and made
2909 it unix-only, since its not really only for sockets
2910 and it only works on unix (but is highly useful there).
2912 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2918 * gbufferedinputstream.c:
2919 * gbufferedinputstream.h:
2920 * gbufferedoutputstream.c:
2921 * gbufferedoutputstream.h:
2925 * gdatainputstream.c:
2926 * gdatainputstream.h:
2927 * gdataoutputstream.c:
2928 * gdataoutputstream.h:
2929 * gdirectorymonitor.c:
2930 * gdirectorymonitor.h:
2937 * gfileenumerator.c:
2938 * gfileenumerator.h:
2943 * gfileinputstream.c:
2944 * gfileinputstream.h:
2947 * gfilenamecompleter.c:
2948 * gfilenamecompleter.h:
2949 * gfileoutputstream.c:
2950 * gfileoutputstream.h:
2951 * gfilterinputstream.c:
2952 * gfilterinputstream.h:
2953 * gfilteroutputstream.c:
2954 * gfilteroutputstream.h:
2967 * glocalfileoutputstream.c:
2968 * gmemoryinputstream.c:
2969 * gmemoryinputstream.h:
2970 * gmemoryoutputstream.c:
2971 * gmemoryoutputstream.h:
2972 * gmountoperation.c:
2973 * gmountoperation.h:
2976 * gpollfilemonitor.c:
2979 * gsimpleasyncresult.c:
2980 * gsimpleasyncresult.h:
2981 * gsocketinputstream.c:
2982 * gsocketinputstream.h:
2983 * gsocketoutputstream.c:
2984 * gsocketoutputstream.h:
2991 * gunixvolumemonitor.c:
3000 Bumps documentation to 93% symbol coverage, touching most
3001 of the public files. Fixes broken function documentation prototypes.
3002 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3003 gtk-doc headers in private files.
3005 2007-11-27 Jürg Billeter <j@bitron.ch>
3007 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3008 (g_buffered_input_stream_read_byte):
3009 * gbufferedinputstream.h:
3010 New functions for efficient access to buffer and simple single byte
3013 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3014 (g_data_input_stream_read_until):
3015 * gdatainputstream.h:
3016 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3017 read_until with multiple stop chars.
3019 2007-11-27 Alexander Larsson <alexl@redhat.com>
3023 * inotify/Makefile.am:
3024 Use the user-specified giomoduledir
3026 2007-11-27 Alexander Larsson <alexl@redhat.com>
3030 Add catch-all gio.h header
3031 Don't install gdummyfile.h
3033 2007-11-26 Alexander Larsson <alexl@redhat.com>
3035 * Makefile.am (gioinclude_HEADERS):
3036 Remove trailing whitespace
3038 2007-11-26 Alexander Larsson <alexl@redhat.com>
3040 Merge gio-standalone into glib
3042 2007-11-25 Christian Kellner <gicmo@gnome.org>
3044 * gio/goutputstream.c:
3045 Fix small mistake in the docs.
3047 2007-11-21 Christian Persch <chpe@gnome.org>
3049 * gio/glocalfile.c: (g_local_file_trash):
3050 Convert filenames to UTF-8 for GError.
3051 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3052 as per xdg base dir spec.
3054 2007-11-21 Christian Persch <chpe@gnome.org>
3056 * gio/gdesktopappinfo.c:
3057 Use that g_key_file_to_data cannot fail.
3059 Use stock defines for the key file group and key names.
3062 2007-11-21 Alexander Larsson <alexl@redhat.com>
3065 (copy_stream_with_progress):
3066 Make sure we do a final progress callback with
3067 the full total size.
3069 2007-11-21 Alexander Larsson <alexl@redhat.com>
3072 Export g_file_copy_attributes
3073 Remove padding as its not needed for interfaces
3075 2007-11-20 Alexander Larsson <alexl@redhat.com>
3080 Add G_IO_ERROR_WOULD_MERGE for
3081 copy/move dir on dir with overwrite.
3083 2007-11-20 Alexander Larsson <alexl@redhat.com>
3086 * gio/glocalfileinfo.c:
3087 Add COPY_NAME (this is an optional
3088 non-modified utf8 version of the name) that
3091 2007-11-20 Alexander Larsson <alexl@redhat.com>
3093 * gio/glocalfileenumerator.c:
3094 Report errors as GIOError, not GFileError
3096 2007-11-16 Alexander Larsson <alexl@redhat.com>
3098 * gio/glocalfileoutputstream.c:
3099 * gio/gwin32appinfo.c:
3100 Fix typos in strings.
3101 Patch from Luca Ferretti <elle.uca@libero.it>
3103 2007-11-15 Alexander Larsson <alexl@redhat.com>
3106 Post release version bump
3108 === gio-standalone 0.1.2 ===
3110 2007-11-15 Alexander Larsson <alexl@redhat.com>
3112 * docs/reference/gio/Makefile.am:
3113 Fix up distcheck by removing weird
3119 2007-11-14 Alexander Larsson <alexl@redhat.com>
3121 * gio/gdesktopappinfo.c:
3122 * gio/glocaldirectorymonitor.c:
3124 * gio/glocalfileinfo.c:
3125 * gio/inotify/inotify-sub.c:
3126 * programs/gio-cat.c:
3127 * programs/gio-copy.c:
3128 * programs/gio-info.c:
3129 * programs/gio-ls.c:
3130 * programs/gio-monitor-dir.c:
3131 * programs/gio-monitor-file.c:
3132 * programs/gio-mount.c:
3133 * programs/gio-move.c:
3134 * programs/gio-rm.c:
3135 * programs/gio-save.c:
3136 * programs/gio-trash.c:
3137 Leak fixes from Kjartan Maraas
3139 2007-11-14 Alexander Larsson <alexl@redhat.com>
3141 * gio/fam/fam-helper.c:
3143 * gio/glocalfileinfo.c:
3147 * gio/inotify/inotify-diag.c:
3148 * gio/inotify/inotify-kernel.c:
3149 Various code cleanups from Kjartan Maraas
3151 2007-11-14 Alexander Larsson <alexl@redhat.com>
3153 * gio/gioscheduler.c:
3155 Set up threadpool so that we cache 2 unused
3156 idle threads for at 15 secs. This means we
3157 will reuse thread-local data (like dbus connections)
3160 2007-11-14 Alexander Larsson <alexl@redhat.com>
3162 * gio/fam/fam-helper.c:
3163 * gio/fam/gfamdirectorymonitor.c:
3164 * gio/fam/gfamfilemonitor.c:
3166 * gio/gcontenttype.c:
3167 * gio/gdatainputstream.c:
3168 * gio/gdataoutputstream.c:
3172 * gio/gfileattribute.h:
3173 * gio/gfileenumerator.c:
3175 * gio/ginputstream.c:
3178 * gio/glocalfileinfo.c:
3179 * gio/goutputstream.c:
3180 * gio/gpollfilemonitor.c:
3181 * gio/gsimpleasyncresult.c:
3182 * gio/gunixmounts.c:
3183 * gio/gunixmounts.h:
3184 * gio/inotify/ginotifydirectorymonitor.c:
3185 * gio/inotify/ginotifyfilemonitor.c:
3186 * gio/inotify/inotify-diag.c:
3187 * gio/inotify/inotify-kernel.c:
3188 * gio/inotify/inotify-path.c:
3190 * gio/test-streams.c:
3191 * programs/gio-info.c:
3192 * programs/gio-monitor-dir.c:
3193 * programs/gio-monitor-file.c:
3194 Various code cleanups from Kjartan Maraas
3196 2007-11-13 Alexander Larsson <alexl@redhat.com>
3199 Handle the uri-scheme calls for dummy files
3201 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3203 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3204 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3205 to avoid clash with the C++ keyword.
3207 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3209 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3210 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3212 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3214 * gio/glocaldirectorymonitor.c:
3215 * gio/glocalfilemonitor.c:
3216 * gio/gunionvolumemonitor.c:
3217 Don't use g_once_init_*() for initializations that could fail and
3218 could leave the initialization variable set to 0 but use GOnce.
3219 This prevents a deadlock on the second call when trying to create
3220 a monitor and no monitor type is available. Thanks to Sven Herzberg
3223 2007-11-11 Sven Herzberg <sven@imendio.com>
3225 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3226 #ifdef (make it work on MacOS X again)
3228 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3230 Fixes Changelog for last two commits (sorry guys).
3232 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3234 * gio/gbufferedinputstream.c:
3235 * gio/gdatainputstream.c:
3237 * gio/gfileoutputstream.c:
3238 * gio/gfilterinputstream.c:
3239 * gio/glocalfileinputstream.c:
3242 More consistency fixes in g*stream.c files.
3243 Significant clean of gfile's documentation, filling in of
3244 asynchronous operations documentation.
3246 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3248 * gio/gasyncresult.c:
3249 * gio/gbufferedinputstream.c:
3250 * gio/gbufferedoutputstream.c:
3251 * gio/gcancellable.c:
3252 * gio/gcontenttype.c:
3253 * gio/gdatainputstream.c:
3254 * gio/gdataoutputstream.c:
3255 * gio/gdesktopappinfo.c:
3258 * gio/gfileattribute.c:
3259 * gio/gio/gfileenumerator.c:
3261 * gio/gfileinputstream.c:
3262 * gio/gfilemonitor.c:
3263 * gio/gfileoutputstream.c:
3264 * gio/ginputstream.c:
3266 * gio/gioscheduler.c:
3267 * gio/gloadableicon.c:
3268 * gio/glocalfileoutputstream.c:
3269 * gio/gmemoryoutputstream.c:
3270 * gio/gmountoperation.c:
3271 * gio/goutputstream.c:
3273 * gio/gsimpleasyncresult.c:
3274 * gio/gunionvolumemonitor.c:
3275 * gio/gunixmounts.c:
3276 * gio/gunixvolume.c:
3280 * gio/gvolumemonitor.c:
3281 Updated documentation stubs, working towards consistency and
3284 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3286 * gio/gmemoryoutputstream.c:
3287 * gio/gmemoryoutputstream.h:
3288 Change g_memory_output_stream_set_free_on_close() to
3289 g_memory_output_stream_set_free_data() as this makes more sense and
3290 is more consistent with GMemoryInputStream.
3292 2007-11-07 Alexander Larsson <alexl@redhat.com>
3299 Change how we find the default vfs so that
3300 we can handle a gvfs failing to init
3302 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3304 * gio/gbufferedoutputstream.c:
3305 * gio/gdatainputstream.c:
3306 * gio/gdataoutputstream.c:
3307 * gio/gfileinputstream.c:
3308 * gio/gfileoutputstream.c:
3309 * gio/gfilterinputstream.c:
3310 * gio/gfilteroutputstream.c:
3311 * gio/ginputstream.c:
3312 * gio/gmemoryinputstream.c:
3313 * gio/gmemoryoutputstream.c:
3314 * gio/goutputstream.c:
3315 * gio/gsimpleasyncresult.c:
3316 * gio/gsocketinputstream.c:
3317 * gio/gsocketoutputstream.c:
3318 Add guards to the remaining public functions, add a TODO for
3319 an unimplemented function and remove some useless guards.
3321 2007-11-07 Alexander Larsson <alexl@redhat.com>
3324 Autoconf checks for the various types of
3325 getpwuid_r and getgrgid_r
3327 * gio/glocalfileinfo.c:
3328 Use the autoconf checks from above
3330 2007-11-07 Alexander Larsson <alexl@redhat.com>
3333 (g_local_file_query_filesystem_info):
3334 Some fixes for the statvfs case
3336 2007-11-07 Alexander Larsson <alexl@redhat.com>
3339 (g_local_file_query_filesystem_info):
3340 Pick the "best" of statfs / statvfs for the system
3341 if both are availible.
3343 2007-11-07 Alexander Larsson <alexl@redhat.com>
3345 Solaris fixes from Halton.Huo@Sun.COM:
3352 * gio/glocalfileinfo.c:
3353 Fix for solaris definition of getpwuid_r
3355 * gio/test-streams.c:
3356 Use G_GNUC_PRETTY_FUNCTION
3358 2007-11-07 Alexander Larsson <alexl@redhat.com>
3360 * gio/gdesktopappinfo.c:
3361 (update_default_list):
3362 Remove double semicolon.
3363 Patch from Jens Granseuer
3365 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3367 * docs/reference/gio/gio-sections.txt:
3368 * gio/gbufferedinputstream.c:
3369 * gio/gbufferedinputstream.h:
3370 * gio/gdatainputstream.c:
3371 * gio/gfileenumerator.c:
3372 * gio/gioscheduler.c:
3373 * gio/gunionvolumemonitor.c:
3375 * programs/gio-save.c:
3376 Fix typo: availible -> available. Unfortuntely this breaks API
3377 and ABI as g_buffered_input_stream_get_available() was renamed.
3379 * gio/gunixmounts.c:
3380 * gio/gbufferedinputstream.c:
3381 Add guards for public functions.
3383 2007-11-06 Ross Burton <ross@openedhand.com>
3385 * docs/reference/gio/Makefile.am:
3386 Fix invalid += usage which automake 1.10 doesn't like.
3388 2007-11-06 Alexander Larsson <alexl@redhat.com>
3391 (g_app_launch_context_class_init):
3394 Patch from Ross Burton
3396 2007-11-06 Alexander Larsson <alexl@redhat.com>
3399 Post release version bump
3401 === gio-standalone 0.1.1 ===
3403 2007-11-06 Alexander Larsson <alexl@redhat.com>
3406 Bump version to 0.1.1
3408 * gio/gsimpleasyncresult.c:
3409 (g_simple_async_result_set_from_error):
3410 Remove bogus g_return_if_fail
3412 2007-11-06 Alexander Larsson <alexl@redhat.com>
3415 The name is gio-standalone
3418 Add top src/builddir to includedir
3420 2007-11-06 Alexander Larsson <alexl@redhat.com>
3422 * docs/reference/gio/gio-sections.txt:
3424 * gio/gbufferedinputstream.c:
3425 * gio/gbufferedoutputstream.c:
3426 * gio/gcancellable.c:
3427 * gio/gdatainputstream.h:
3428 * gio/gdataoutputstream.c:
3429 * gio/gdataoutputstream.h:
3430 * gio/gdirectorymonitor.c:
3432 * gio/gfileattribute.c:
3433 * gio/gfileattribute.h:
3434 * gio/gfileenumerator.c:
3435 * gio/gfileenumerator.h:
3438 * gio/gfileinputstream.h:
3439 * gio/gfilemonitor.c:
3440 * gio/gfileoutputstream.h:
3441 * gio/glocalfilemonitor.h:
3442 * gio/glocalfileoutputstream.h:
3443 * gio/gmemoryinputstream.c:
3444 * gio/gmemoryoutputstream.c:
3445 * gio/gmountoperation.c:
3446 * gio/goutputstream.c:
3447 * gio/goutputstream.h:
3449 * gio/gsimpleasyncresult.c:
3450 * gio/gunixmounts.c:
3451 * gio/gunixmounts.h:
3453 * gio/inotify/inotify-helper.c:
3454 Fix gtk-doc warnings
3456 Patch from Ross Burton
3458 2007-11-06 Alexander Larsson <alexl@redhat.com>
3460 * gio/gfilenamecompleter.c:
3461 (g_filename_completer_get_completions):
3464 * gio/gunixvolume.c:
3465 Remove unused function
3467 Patches from Ross Burton
3469 2007-11-06 Alexander Larsson <alexl@redhat.com>
3474 Padding not needed for interfaces
3476 2007-11-06 Alexander Larsson <alexl@redhat.com>
3478 * gio/gfilemonitor.c:
3482 Make giotypes.h an internal file
3485 * gio/gbufferedinputstream.h:
3486 * gio/gbufferedoutputstream.h:
3487 * gio/gcancellable.h:
3488 * gio/gdatainputstream.h:
3489 * gio/gdataoutputstream.h:
3490 * gio/gdirectorymonitor.c:
3491 * gio/gdirectorymonitor.h:
3496 * gio/gfileattribute.h:
3497 * gio/gfileenumerator.h:
3502 * gio/gfilemonitor.c:
3503 * gio/gfilemonitor.h:
3504 * gio/gfilenamecompleter.c:
3505 * gio/gfilenamecompleter.h:
3506 * gio/gfilterinputstream.h:
3507 * gio/gfilteroutputstream.h:
3508 * gio/ginputstream.h:
3509 * gio/gmemoryinputstream.h:
3510 * gio/gmemoryoutputstream.h:
3511 * gio/gmountoperation.c:
3512 * gio/gmountoperation.h:
3513 * gio/gnativevolumemonitor.c:
3514 * gio/goutputstream.h:
3517 * gio/gsimpleasyncresult.c:
3518 * gio/gsimpleasyncresult.h:
3519 * gio/gsocketinputstream.h:
3520 * gio/gsocketoutputstream.h:
3521 * gio/gthemedicon.c:
3522 * gio/gthemedicon.h:
3526 * gio/gvolumemonitor.c:
3527 * gio/gvolumemonitor.h:
3528 Add padding in classes where it seems useful
3529 Don't include giotypes.h from public headers
3530 Move in Class definitions into c file where possible
3535 2007-11-06 Alexander Larsson <alexl@redhat.com>
3537 * docs/reference/gio/gio-docs.xml:
3538 Better structure for API docs
3540 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3543 * gio/gloadableicon.c:
3544 * gio/gsimpleasyncresult.c:
3545 * gio/gthemedicon.c:
3546 Add some more guards to public functions. Only files missing are now
3549 2007-11-06 Alexander Larsson <alexl@redhat.com>
3551 * docs/reference/gio/gio-docs.xml:
3552 Remove old files, add missing ones
3554 2007-11-06 Alexander Larsson <alexl@redhat.com>
3556 * docs/reference/gio/gio-sections.txt:
3559 Hide implementation classes
3561 * gio/gdriveprivate.h:
3562 * gio/gvolumeprivate.h:
3563 Remove non-existing function declarations
3565 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3568 Fix compilation warnings and add guards to the new functions.
3570 * gio/gasyncresult.c:
3572 Add guards to the public functions.
3575 Implement get_path().
3577 2007-11-06 Alexander Larsson <alexl@redhat.com>
3579 * gio/gfilenamecompleter.c:
3580 Make g_filename_completer_get_completions
3581 return char ** instead of GList for
3584 * docs/reference/gio/gio-docs.xml:
3585 * docs/reference/gio/gio-sections.txt:
3587 * gio/gasyncresult.c:
3588 * gio/gbufferedinputstream.c:
3589 * gio/gbufferedoutputstream.c:
3590 * gio/gcancellable.c:
3591 * gio/gcontenttype.c:
3592 * gio/gdatainputstream.c:
3593 * gio/gdataoutputstream.c:
3594 * gio/gdesktopappinfo.c:
3595 * gio/gdirectorymonitor.c:
3599 * gio/gfileattribute.c:
3600 * gio/gfileenumerator.c:
3603 * gio/gfileinputstream.c:
3604 * gio/gfilemonitor.c:
3605 * gio/gfilenamecompleter.c:
3606 * gio/gfilenamecompleter.h:
3607 * gio/gfileoutputstream.c:
3608 * gio/gfilterinputstream.c:
3610 * gio/ginputstream.c:
3612 * gio/gioscheduler.c:
3613 * gio/gloadableicon.c:
3614 * gio/glocaldirectorymonitor.c:
3616 * gio/glocalfileinputstream.c:
3617 * gio/glocalfilemonitor.c:
3618 * gio/glocalfileoutputstream.c:
3620 * gio/gmemoryinputstream.c:
3621 * gio/gmemoryoutputstream.c:
3622 * gio/gmountoperation.c:
3623 * gio/goutputstream.c:
3624 * gio/gpollfilemonitor.c:
3626 * gio/gsimpleasyncresult.c:
3627 * gio/gsocketinputstream.c:
3628 * gio/gsocketoutputstream.c:
3629 * gio/gthemedicon.c:
3630 * gio/gunionvolumemonitor.c:
3632 * gio/gunixmounts.c:
3633 * gio/gunixvolume.c:
3634 * gio/gunixvolumemonitor.c:
3638 * gio/gvolumemonitor.c:
3639 * gio/gwin32appinfo.c:
3640 Add (mostly stub) doc strings to public functions.
3641 Patch from Andrew Walton (awalton@gmail.com)
3643 2007-11-06 Alexander Larsson <alexl@redhat.com>
3645 * gio/gappinfo.[ch]:
3646 Added GAppLaunchContext object and pass that to launch.
3647 This allows simple implementation of both
3648 launch-on-screen and startup notification via a gtk+
3649 subclass of GAppLaunchContext
3651 * gio/gdesktopappinfo.c:
3652 Implement GAppLaunchContext API
3654 * gio/gwin32appinfo.c:
3657 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3659 * gio/gmountoperation.c:
3660 Add some guards to GMountOperation's public functions.
3662 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3666 * gio/gcancellable.c:
3667 * gio/gdirectorymonitor.c:
3669 * gio/gfileenumerator.c:
3670 * gio/gfilemonitor.c:,
3671 * gio/gfilenamecompleter.c:
3674 * gio/gioscheduler.c:
3678 * gio/gvolumemonitor.c:
3679 Add even more guards to various public functions.
3681 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3684 Add guards to the public functions of GAppInfo.
3686 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3688 * gio/gcontenttype.c:
3689 Add some more guards for public functions.
3691 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3693 * gio/fam/fam-module.c:
3694 * gio/fam/gfamdirectorymonitor.c:
3695 * gio/fam/gfamdirectorymonitor.h:
3696 * gio/fam/gfamfilemonitor.c:
3697 * gio/fam/gfamfilemonitor.h:
3698 * gio/inotify/ginotifydirectorymonitor.c:
3699 * gio/inotify/ginotifydirectorymonitor.h:
3700 * gio/inotify/ginotifyfilemonitor.c:
3701 * gio/inotify/ginotifyfilemonitor.h:
3702 Add proper copyright information and remove an unused variable
3703 in the GInotifyFileMonitor constructor.
3705 * gio/gcancellable.c:
3706 Add a guard for a public function and an assertion to prevent
3707 an undefined program state.
3709 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3711 * gio/gfileattribute.c:
3712 Don't run into an assertion if the given attribute value is NULL
3713 in g_file_attribute_value_get_*() but instead return a fallback
3714 value that makes sense in most situations. Passing them a attribute
3715 value with the wrong type will still run into an assertion.
3717 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3719 * gio/gfileattribute.c:
3721 Add even more guards to the public functions. Also fix the refcounting
3722 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3723 let g_file_info_list_attributes() filter the attributes by namespace
3724 instead of simply ignoring the namespace parameter.
3726 2007-11-03 Sven Herzberg <sven@imendio.com>
3728 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3729 (This makes gio work on MacOS X again)
3731 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3734 Build the gio subdirectory before the docs. Otherwise the build will
3737 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3738 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3739 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3740 Add guards to the public functions.
3742 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3744 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3745 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3746 to prevent a compiler warning.
3748 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3749 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3750 return something in the non-void function find_topdir_for().
3752 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3759 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3761 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3762 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3763 * gwin32appinfo.c (g_win32_app_info_launch):
3764 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3765 envp_for_startup_id, g_desktop_app_info_launch,
3766 g_desktop_app_info_launch_uris):
3768 Give an opaque 'startup_id' string instead of 'envp'.
3769 Support empty file lists for launching new windows.
3770 Fix infinite recursion bug when launching URIs.
3772 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3775 Add guard to the new g_file_get_uri_scheme() function.
3777 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3780 Convert a g_return_val_if_fail() to setting the GError instead as
3781 otherwise applications have to verify the parameter before otherwise
3782 and the parameter might come directly from the user.
3784 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3786 * gio/inotify/ginotify*.[ch]:
3787 Add missing copyright information.
3789 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3792 Add guards in the beginning of public functions to check for valid
3793 parameters and fix a bug in copy_stream_with_progress() that could've
3794 caused writing less bytes than reading.
3795 * gio/glocalfileinfo.c:
3796 Check for a NULL parameter and set the GError accordingly then.
3797 * gio/goutputstream.c:
3798 Fix the same bug as in gfile.c that could've caused writing less bytes
3799 than reading in g_output_stream_real_splice().
3801 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3804 Use the correct gvolumeprivate.h naming
3806 2007-11-01 Christian Kellner <gicmo@gnome.org>
3809 Remove leftover "$(daemon_sources)" entry.
3811 2007-11-01 Christian Kellner <gicmo@gnome.org>
3816 Add copyright information to source files.
3818 2007-11-01 Alexander Larsson <alexl@redhat.com>
3822 Add g_file_get_uri_scheme
3824 2007-11-01 Alexander Larsson <alexl@redhat.com>
3827 * gio/gdesktopappinfo.c:
3828 * gio/gwin32appinfo.c:
3829 Add g_app_info_get_default_for_uri_scheme.
3831 2007-11-01 Alexander Larsson <alexl@redhat.com>
3834 Correct filename for gdriveprivate.h
3836 2007-10-31 Alexander Larsson <alexl@redhat.com>
3839 Rename id:value to id:file
3842 * gio/glocalfileinfo.c:
3845 2007-10-31 Alexander Larsson <alexl@redhat.com>
3847 * gio/gunixvolume.c:
3849 Remove g_volume_get_platform_id, as thats not
3850 needed with the simpler union volume monitor
3852 2007-10-31 Alexander Larsson <alexl@redhat.com>
3855 * gio/guniondrive.[ch]: Removed.
3856 * gio/gunionvolume.[ch]: Removed.
3857 Remove GUnionDrive/Volume
3859 * gio/gunionvolumemonitor.c:
3860 Simplify union volume monitor, now we
3861 only have one native volume monitor and
3862 we use the actual volumes/drives from the
3863 child monitors instead of wrapping them
3865 * gio/gnativevolumemonitor.[ch]:
3866 Base class for native volume monitors.
3867 Includes priority and get_volume_for_mountpoint
3870 Add g_file_find_enclosing_volume
3873 Remove volume name fs attribute
3874 Add readonly fs attribute
3877 Implement readonly attribute
3878 remove volume name attribute
3879 Implement find_enclosing volume
3881 * gio/gunixmounts.c:
3882 Add a volume for "/".
3884 * gio/gunixvolume.[ch]:
3885 Set better name for /
3887 * gio/gunixvolumemonitor.[ch]:
3888 Derive from GNativeVolumeMonitor
3889 Implement get_volume_for_mountpoint
3892 GVolume typedef moved to gfile.h
3894 * gio/gvolumeprivate.h:
3895 Add g_volume_get_for_mount_path
3897 2007-10-31 Alexander Larsson <alexl@redhat.com>
3899 * gio/gunixmounts.[ch]:
3900 Add cache info to unix mount listers
3901 Make getmntent use threadsafe
3902 Add is_system_internal attribute for GUnixMount
3904 * gio/gunixvolume.c:
3905 (g_unix_volume_new):
3906 Use is_system_internal instead of own code
3908 * gio/glocaldirectorymonitor.c:
3909 * gio/gunixvolumemonitor.c:
3910 Update to new gunixmounts API
3915 2007-10-30 Alexander Larsson <alexl@redhat.com>
3918 Add volume name fsinfo attribute
3921 Read volume name info
3923 * gio/gunionvolumemonitor.c:
3924 Fix infinite loops when finalizing a union volume monitor
3926 2007-10-30 Alexander Larsson <alexl@redhat.com>
3928 * gio/goutputstream.[ch]:
3929 Add splice() with default implementation
3931 * gio/gsocketoutputstream.c:
3932 (g_socket_output_stream_write):
3933 Return error on cancellation correctly.
3935 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3937 * gio/glocalfile.c (g_local_file_trash):
3938 Do not leak a string.
3940 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3942 * gio/gfile.c (g_file_load_contents):
3943 Unref the stream after closing it.
3945 2007-10-25 Alexander Larsson <alexl@redhat.com>
3947 * gio/gioscheduler.h:
3950 2007-10-25 Alexander Larsson <alexl@redhat.com>
3954 Add g_file_has_uri_scheme and implement for local files
3956 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3958 * gio/gdesktopappinfo.c: do not leak a string.
3960 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3962 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3963 (g_local_directory_monitor_new):
3964 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3965 (g_local_file_monitor_new):
3966 Only look for the monitor type that should be used the first time
3967 and use g_qsort_with_data() instead of our own bubble sort
3970 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3973 * gio/fam/Makefile.am:
3974 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3975 * gio/fam/fam-helper.h:
3976 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3977 * gio/fam/gfamdirectorymonitor.c:
3978 * gio/fam/gfamdirectorymonitor.h:
3979 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3980 * gio/fam/gfamfilemonitor.h:
3981 * gio/glocaldirectorymonitor.c:
3982 * gio/glocaldirectorymonitor.h:
3983 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3984 * gio/glocalfilemonitor.h:
3985 * gio/inotify/Makefile.am:
3986 * gio/inotify/ginotifydirectorymonitor.c:
3987 * gio/inotify/ginotifydirectorymonitor.h:
3988 * gio/inotify/ginotifyfilemonitor.c:
3989 * gio/inotify/ginotifyfilemonitor.h:
3990 Implement the FAM and Inotify monitors as
3991 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3992 their own GIO module. GLocal(Directory|File)Monitor will use the
3993 monitor with the highest rank that is supported on that machine.
3995 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3998 Change GIO module dir to $(libdir)/gio/modules and change
3999 the log domain from GVFS to GIO. Also only export symbols starting
4000 with g_ in the resulting library.
4001 * gio/test-streams.c: (main):
4002 Set log handler for the GIO log domain.
4004 2007-10-22 Alexander Larsson <alexl@redhat.com>
4006 * gio/gfilenamecompleter.[ch]:
4007 Add g_filename_completer_set_dirs_only
4009 2007-10-22 Alexander Larsson <alexl@redhat.com>
4012 * gio/gurifuncs.[ch]:
4013 Add some simple URI helpers
4015 * gio/gfilenamecompleter.[ch]:
4016 Added object for filename (parse name actually) completion
4019 Handle ~ in parse names
4021 2007-10-17 Alexander Larsson <alexl@redhat.com>
4024 * gio/glocalfileinfo.c:
4025 Add and implement id:value attribute
4027 2007-10-17 Alexander Larsson <alexl@redhat.com>
4030 * gio/guniondrive.c:
4032 Add and implement g_drive_has_volumes
4034 2007-10-17 Alexander Larsson <alexl@redhat.com>
4037 * gio/glocalfileinfo.[ch]:
4038 Add unix:is_mountpoint and implement for local files
4040 2007-10-16 Alexander Larsson <alexl@redhat.com>
4042 * gio/gunionvolumemonitor.c:
4043 (g_union_volume_monitor_init):
4044 Fix up the unix type getting so that it works with gcc
4046 2007-10-12 Alexander Larsson <alexl@redhat.com>
4049 * gio/glocalfileinfo.c:
4050 Add thumbnail:failed to file info
4052 2007-10-12 Richard Hult <richard@imendio.com>
4054 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4055 optimizing away the get_type call (happens with some gcc versions,
4056 like the one shipped with OS X 10.4).
4058 2007-10-12 Alexander Larsson <alexl@redhat.com>
4060 * gio/glocalfileinfo.c:
4061 (_g_local_file_info_set_attribute):
4062 Fix build if not HAVE_XATTR
4063 Patch from Milosz Derezynski <internalerror@gmail.com>
4065 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4067 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4068 around for review, otherwise I would have asked you before
4071 2007-10-11 Alexander Larsson <alexl@redhat.com>
4074 Add thumbnail:path attribute
4076 * gio/glocalfileinfo.c:
4077 Implement thumbnail:path for local files
4079 2007-10-11 Alexander Larsson <alexl@redhat.com>
4081 * gio/glocalfileinfo.c:
4082 (_g_local_file_info_get):
4083 Avoid duplicate icon names
4085 2007-10-11 Alexander Larsson <alexl@redhat.com>
4087 * gio/gthemedicon.[ch]:
4088 Change g_themed_icon_get_names return type to const
4090 2007-10-10 Alexander Larsson <alexl@redhat.com>
4092 * gio/glocalfileinfo.c:
4093 Don't reference freed memory
4095 2007-10-10 Alexander Larsson <alexl@redhat.com>
4097 * gio/gfileattribute.c:
4100 * gio/glocalfileinfo.c:
4103 2007-10-10 Alexander Larsson <alexl@redhat.com>
4106 Check for NULL icons
4108 * gio/gfileattribute.c:
4109 Don't dup when getting objects (same as for string attributes)
4111 * gio/gicon.c (g_icon_equal):
4112 Safely handle NULLs in equal
4114 2007-10-10 Alexander Larsson <alexl@redhat.com>
4117 Fix c++ compilation issues
4118 Patch from Milosz Derezynski <internalerror@gmail.com>
4120 2007-10-10 Alexander Larsson <alexl@redhat.com>
4122 * programs/gio-monitor-dir.c:
4123 Don't crash if dir monitor not supported.
4125 2007-10-09 Alexander Larsson <alexl@redhat.com>
4128 Add missing G_END_DECLS
4130 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4132 * gio/gfile.c: (g_file_set_display_name),
4133 (g_file_query_settable_attributes),
4134 (g_file_query_writable_namespaces):
4135 Return NULL not FALSE on errors as the return type is a pointer.
4137 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4139 * gio/glocalfile.c: (g_local_file_monitor_file):
4140 Don't call monitor_file on the default interface vtable (which
4141 is NULL) but simply return NULL. The caller, GFile, will create a
4142 polling monitor if NULL is returned.
4144 2007-10-09 Alexander Larsson <alexl@redhat.com>
4148 * gio-unix-2.0.pc.in:
4149 Add gio-unix-2.0.pc if OS_UNIX
4152 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4154 2007-10-09 Alexander Larsson <alexl@redhat.com>
4156 * gio/gunixmounts.[ch]:
4157 Make unix mount monitoring API sane.
4158 Now its just a object with mounts_changed
4159 and mountpoints_changed signals.
4161 * gio/glocaldirectorymonitor.c:
4162 * gio/gunixvolumemonitor.c:
4163 Use new mount monitor api
4165 2007-10-09 Alexander Larsson <alexl@redhat.com>
4167 * gio/gunixmounts.[ch]:
4168 Move guess type into one call for mounts and one for mountpoints
4171 * gio/gunixvolume.c:
4174 2007-10-09 Alexander Larsson <alexl@redhat.com>
4176 * gio/gunixmounts.[ch]:
4177 Remove _ prefix in preparation to make this semi-public
4178 Hide implementation of structs
4180 * gio/glocaldirectorymonitor.c:
4182 * gio/gunixvolume.c:
4183 * gio/gunixvolumemonitor.c:
4184 Update for above API changes
4186 2007-10-08 Alexander Larsson <alexl@redhat.com>
4189 Better polling fallback. This also handles the case where we have
4190 a monitor_file implementation, but it fails.
4192 2007-10-08 Alexander Larsson <alexl@redhat.com>
4196 * gio/gunixmounts.c:
4197 * programs/gio-monitor-dir.c:
4198 * programs/gio-monitor-file.c:
4199 Added cancellable to file monitoring calls.
4200 These are really sync calls and need this.
4202 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4204 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4205 (g_local_vfs_class_init):
4206 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4207 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4209 2007-10-05 Alexander Larsson <alexl@redhat.com>
4211 * gio/gdirectorymonitorprivate.h:
4212 * gio/gfilemonitorprivate.h:
4213 * gio/gdirectorymonitor.h:
4214 * gio/gfilemonitor.h:
4215 Remove *private.h and move to the public API, so that
4216 we can do implementations outside gio (such as in gvfs)
4218 * gio/gdirectorymonitor.c:
4219 * gio/gfilemonitor.c:
4220 * gio/glocaldirectorymonitor.c:
4221 * gio/gpollfilemonitor.c:
4222 * gio/inotify/inotify-helper.c:
4223 * gio/fam/fam-helper.c:
4224 Update to the new header names
4226 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4228 * gio/gdirectorymonitor.c:
4229 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4232 2007-10-04 Alexander Larsson <alexl@redhat.com>
4234 * gio/glocalfileinfo.c (get_access_rights):
4235 Set CAN_TRASH when we can move the file.
4236 We should really also check for a parent trash dir.
4238 2007-10-04 Alexander Larsson <alexl@redhat.com>
4240 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4241 Add can_trash access attribute
4243 2007-10-04 Alexander Larsson <alexl@redhat.com>
4246 (g_local_file_trash):
4247 Create info file first. This is per-spec and allows
4248 us to actually trash directories.
4250 2007-10-02 Alexander Larsson <alexl@redhat.com>
4252 * gio/gdesktopappinfo.c:
4253 Implement the new mime support code.
4254 Always set app as handling mimetype when being set as default for it
4256 2007-10-01 Alexander Larsson <alexl@redhat.com>
4258 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4259 Fix up check for xattrs:
4261 2007-10-01 Alexander Larsson <alexl@redhat.com>
4264 (g_app_info_set_as_default_for_extension):
4265 (g_app_info_add_supports_type):
4266 (g_app_info_can_remove_supports_type):
4267 (g_app_info_remove_supports_type):
4268 Make these fail nicely if not implemented
4270 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4272 * gio/glocalfileoutputstream.c:
4273 * gio/glocalfileoutputstream.h:
4278 * programs/gio-save.c:
4279 Add a GFileCreateFlags argument to operations that can create
4282 2007-10-01 Alexander Larsson <alexl@redhat.com>
4284 * gio/gappinfo.[ch]:
4285 * gio/gdesktopappinfo.c:
4286 Add more (stubbed out) mime API needed for nautilus
4288 2007-10-01 Alexander Larsson <alexl@redhat.com>
4291 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4292 Add g_app_info_set_as_default_for_extension.
4294 * gio/gdesktopappinfo.c:
4295 Dummy for g_app_info_set_as_default_for_extension
4296 Support flags in g_app_info_create_from_commandline
4298 * gio/gwin32appinfo.c:
4300 Update for API changes
4302 * gio/gthemedicon.c:
4303 Properly NULL-terminate list of icon names
4305 2007-09-28 Alexander Larsson <alexl@redhat.com>
4307 * gio/gloadableicon.h:
4308 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4310 2007-09-28 Alexander Larsson <alexl@redhat.com>
4313 Install headers in $includedir/gio-standalone/
4315 * gio-2.0.pc.in: Added.
4316 * gio-standalone.pc.in: Removed.
4319 Renamed pkg-config file to match glib (for future move)
4320 Update to the new include dir
4323 Add more TODO comments
4325 2007-09-28 Alexander Larsson <alexl@redhat.com>
4327 * gio/gdesktopappinfo.[ch]:
4328 Expose new_from_filename
4329 Add getter for is_hidden and handle it better
4331 2007-09-28 Alexander Larsson <alexl@redhat.com>
4333 * gio/gfileinfo.[ch]:
4334 Rename g_file_size_format_for_display to
4335 g_format_file_size_for_display.
4336 Now it doesn't have the g_file prefix, so we
4337 can later move it to glib.
4339 2007-09-28 Alexander Larsson <alexl@redhat.com>
4341 * gio/gappinfo.[ch]:
4342 Add g_app_info_get_id and g_app_info_get_executable.
4343 Make all getters non-reffing
4344 Make g_app_info_launch take GFile arguments.
4345 Add must_support_uris argument to g_app_info_get_default_for_type.
4347 * gio/gwin32appinfo.c:
4348 Update to GAppInfo api changes
4350 * gio/gdesktopappinfo.c:
4351 Update to GAppInfo api changes
4352 Implement supports_xdg_startup_notify
4354 * gio/gfileicon.c (g_file_icon_get_file):
4355 Make getter non-reffing.
4360 2007-09-27 Alexander Larsson <alexl@redhat.com>
4362 * gio/gfileinfo.[ch]:
4363 Add g_file_size_format_for_display helper
4365 2007-09-27 Alexander Larsson <alexl@redhat.com>
4367 * gio/glocalfileinfo.c:
4368 Set UNIX_GID from gid, not from uid
4370 2007-09-27 Alexander Larsson <alexl@redhat.com>
4373 Add g_file_set_attributes_async
4375 2007-09-27 Alexander Larsson <alexl@redhat.com>
4377 * gio/glocalfile.c (g_local_file_set_display_name):
4378 Fix set_display_name to actually rename to the right place.
4379 Use lstat to look for existing files so we don't overwrite
4382 2007-09-26 Alexander Larsson <alexl@redhat.com>
4385 Add g_file_set_display_name_async()
4387 2007-09-26 Alexander Larsson <alexl@redhat.com>
4390 Add load_partial_contents async calls
4393 Make internal function static
4395 2007-09-26 Alexander Larsson <alexl@redhat.com>
4397 * gio/glocalfileinfo.c:
4398 Correctly detect broken symlinks
4400 2007-09-26 Alexander Larsson <alexl@redhat.com>
4402 * gio/gcancellable.c (g_cancellable_cancel):
4403 Allow cancel on NULL cancellable
4405 2007-09-25 Alexander Larsson <alexl@redhat.com>
4407 * gio/gsimpleasyncresult.c:
4408 Don't allocate g_error manually.
4409 Fixes g_slice/g_new mixup crash
4411 2007-09-25 Alexander Larsson <alexl@redhat.com>
4413 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4414 Actually set active_backend.
4415 This means the monitor will be cancelled correctly.
4417 2007-09-25 Alexander Larsson <alexl@redhat.com>
4419 * gio/gdirectorymonitor.c:
4420 Set timeout to NULL when destroying
4422 2007-09-25 Alexander Larsson <alexl@redhat.com>
4425 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4426 that is a better description of the error.
4428 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4430 * gio/gvfs.c: (g_vfs_get_local):
4431 Make the local vfs variable static. The same instance should
4434 2007-09-24 Alexander Larsson <alexl@redhat.com>
4436 * gio/glocalfileinfo.c:
4437 Pass in actual length read into sniffer, not the length
4440 2007-09-21 Alexander Larsson <alexl@redhat.com>
4442 * gio/gfileenumerator.c:
4445 * gio/gfileinputstream.c:
4446 * gio/gfileoutputstream.c:
4447 * gio/ginputstream.c:
4448 * gio/goutputstream.c:
4449 Don't crash if async callbacks are NULL
4451 2007-09-20 Alexander Larsson <alexl@redhat.com>
4454 Add async enumerate_children method and default
4457 2007-09-20 Alexander Larsson <alexl@redhat.com>
4460 Add g_file_contains_file & g_file_get_relative_path, since they
4461 were needed for nautilus.
4462 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4467 Implement new methods
4469 2007-09-17 Alexander Larsson <alexl@redhat.com>
4472 * gio/gfileinputstream.[ch]:
4473 * gio/gfileoutputstream.[ch]:
4475 * gio/glocalfileenumerator.[ch]:
4476 * gio/glocalfileinfo.[ch]:
4477 * gio/glocalfileinputstream.c:
4478 * gio/glocalfileoutputstream.c:
4479 * gio/gpollfilemonitor.c:
4480 * programs/gio-copy.c:
4481 * programs/gio-info.c:
4482 * programs/gio-move.c:
4483 Rename get_file_info to query_info() to make it clearer
4484 that these are not simple getters, but do i/o.
4486 2007-09-17 Alexander Larsson <alexl@redhat.com>
4488 * gio/gdatainputstream.[ch]:
4489 * gio/test-streams.c:
4490 Use _read_XXX instead of _get_XXX for the i/o calls
4493 2007-09-17 Alexander Larsson <alexl@redhat.com>
4496 Added needed stuff to TODO comment
4498 2007-09-17 Alexander Larsson <alexl@redhat.com>
4500 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4501 Don't error out removing the backup copy if it doesn't
4504 2007-09-14 Alexander Larsson <alexl@redhat.com>
4506 * programs/Makefile.am:
4507 * programs/gvfs-*.c:
4509 Renamed apps from gvfs-xxx to gio-xxx.
4511 2007-09-14 Alexander Larsson <alexl@redhat.com>
4514 * gio/gfileoutputstream.[ch]:
4515 * gio/glocalfileoutputstream.c:
4516 * programs/gvfs-save.c:
4517 g_file_output_stream_get_etag doesn't do i/o, so remove
4518 cancellation and error.
4520 2007-09-14 Alexander Larsson <alexl@redhat.com>
4523 Add new_etag output to replace_contents functions
4525 2007-09-14 Alexander Larsson <alexl@redhat.com>
4527 * gio/gfileoutputstream.[ch]:
4528 Add async get_file_info and default implementation
4530 2007-09-14 Alexander Larsson <alexl@redhat.com>
4532 * gio/gfileinputstream.c:
4533 Implement fallback wrapper for async get_file_info
4535 2007-09-14 Alexander Larsson <alexl@redhat.com>
4538 Add etag out argument to load_contents
4543 2007-09-14 Alexander Larsson <alexl@redhat.com>
4545 * gio/gcontenttype.c (looks_like_text):
4546 Whitespace like tab, cr and lf do not make the
4549 2007-09-14 Alexander Larsson <alexl@redhat.com>
4551 * gio/gfileinputstream.[ch]:
4552 Add async get_file_info.
4554 2007-09-13 Alexander Larsson <alexl@redhat.com>
4556 * gio/goutputstream.c (g_output_stream_write_all):
4557 Allow NULL for bytes_written
4559 2007-09-13 Alexander Larsson <alexl@redhat.com>
4561 * gio/gmemoryinputstream.[ch]:
4562 Add accessors for data
4564 2007-09-13 Alexander Larsson <alexl@redhat.com>
4566 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4567 Don't crash if length is NULL