1 2008-07-08 Matthias Clasen <mclasen@redhat.com>
4 * gmount.c: Documentation improvements.
6 2008-07-08 Matthias Clasen <mclasen@redhat.com>
9 * gmount.[hc]: Add g_mount_guess_content_type().
11 2008-07-06 David Zeuthen <davidz@redhat.com>
14 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
15 is needed for easily handling adoption of foreign volumes by
16 out-of-process volume monitors (#541793)
18 2008-07-06 David Zeuthen <davidz@redhat.com>
20 * gvolumemonitor.[ch]:
21 * gunionvolumemonitor.c: Export the eject-button signal on the
22 volume monitor class (#541794).
24 2008-07-06 Matthias Clasen <mclasen@redhat.com>
26 * gappinfo.c: More doc tweaks
28 2008-07-05 Matthias Clasen <mclasen@redhat.com>
30 * gappinfo.c: Clarify some docs
32 2008-07-03 Matthias Clasen <mclasen@redhat.com>
34 * gdesktopappinfo.c: Fix a stupid mistake.
36 2008-07-02 Matthias Clasen <mclasen@redhat.com>
38 * === Released 2.17.3 ===
40 2008-07-02 Matthias Clasen <mclasen@redhat.com>
42 * gfilemonitor.c: Fix the build.
44 2008-07-02 Matthias Clasen <mclasen@redhat.com>
46 Bug 536160 – Add g_file_monitor()
49 * gfile.[hc]: Add g_file_monitor which can return either
50 a file or a directory monitor. Proposed by Behdad Esfahbod
52 2008-07-02 Matthias Clasen <mclasen@redhat.com>
54 536733 – gio build failure on Irix
56 * glocalfile.c: Use a configure check for structfs.f_bavail.
58 2008-07-02 Matthias Clasen <mclasen@redhat.com>
60 Bug 534639 – add g_desktop_app_info_new_from_keyfile
63 * gdesktopappinfo.[hc]: Add a function to create a
64 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
66 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
68 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
70 2008-07-01 Matthias Clasen <mclasen@redhat.com>
72 * gunixmounts.c: Fix a doc typo.
74 2008-07-01 Cody Russell <bratsche@gnome.org>
77 * gio/gwin32appinfo.c:
78 * gio/gwin32volumemonitor.c:
79 * gio/gwin32mount.c: Fixed some include problems.
81 2008-07-01 Cody Russell <bratsche@gnome.org>
85 Moved all relevant typedefs into these files.
88 Updated wrt added files.
90 Split types into separate file for easier maintainership. (#538564)
92 2008-06-30 Matthias Clasen <mclasen@redhat.com>
94 Bug 540331 – g_file_append_to () documentation: can return NULL
96 * gfile.c (g_file_append_to): Clarify docs.
99 2008-06-30 Matthias Clasen <mclasen@redhat.com>
101 Bug 539090 – g_content_type_from_mime_type() should unalias
103 * gcontentype.c (g_content_type_from_mime_type): Unalias.
104 Patch by Markus Bergman
106 2008-06-30 Matthias Clasen <mclasen@redhat.com>
108 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
111 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
112 on ppc and alpha. Reported by Mart Raudsepp
114 2008-06-29 Matthias Clasen <mclasen@redhat.com>
117 * tests/memory-output-stream.c: Add some tests for
120 2008-06-29 Matthias Clasen <mclasen@redhat.com>
122 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
125 * gmemoryoutputstream.c (array_resize): Handle truncation to
126 zero correctly. Reported by Akira Tagoh
128 2008-06-29 Matthias Clasen <mclasen@redhat.com>
130 * gmemoryoutputstream.c: Trivial doc fixes
132 2008-06-29 Matthias Clasen <mclasen@redhat.com>
134 Bug 540802 – g_list_prepend doesn't concat lists
136 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
137 one list to another. Pointed out by Jan Arne Petersen
139 2008-06-28 Michael Natterer <mitch@imendio.com>
141 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
143 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
145 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
146 to avoid problems with partial icon themes.
148 2008-06-17 Hans Breuer <hans@breuer.org>
150 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
151 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
152 access again on win32, see bug #538127
153 * giomodule.c : ensure GWin32VolumeMonitor is registered
154 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
155 * Makefile.am makefile.msc : updated
157 2008-06-16 Hans Breuer <hans@breuer.org>
159 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
160 and initialization in one step avoids c99ism
162 2008-06-16 Christian Persch <chpe@gnome.org>
165 * gio/gbufferedinputstream.c
167 * gio/gdatainputstream.c
168 * gio/gdesktopappinfo.c
170 * gio/gfileenumerator.c
171 * gio/gfileinputstream.c
172 * gio/gfileoutputstream.c
174 * gio/glocaldirectorymonitor.c
176 * gio/glocalfileenumerator.c
177 * gio/glocalfileinfo.c
178 * gio/glocalfilemonitor.c
179 * gio/glocalfileoutputstream.c
180 * gio/gmemoryinputstream.c
181 * gio/gmemoryoutputstream.c
182 * gio/goutputstream.c
183 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
186 2008-06-16 Tor Lillqvist <tml@novell.com>
188 Bug 538362 - Get Win32 icons back in the file chooser
190 * gcontenttype.c (g_content_type_get_icon): Look up the icon
191 corresponding to a file extension in the Registry. Patch by Hans
193 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
195 2008-06-16 Tor Lillqvist <tml@novell.com>
197 Patches by Hans Breuer:
199 * glocalfile.c (is_xp_or_later): Handle compiling against older
200 SDK headers with missing VerifyVersionInfo(). Conditioned on
201 _MSC_VER, but should probably use some better test.
202 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
203 uninitialised statfs_result variable on Win32.
205 2008-06-16 Michael Natterer <mitch@imendio.com>
207 * *.c: chain up unconditionally in finalize() and dispose(). Also
208 don't dereference these function pointers when calling them since
209 that has no meaning at all.
211 2008-06-16 Ross Burton <ross@burtonini.com>
214 Remove check for dispose implementation as it annoys Emmanuele.
216 2008-06-16 Ross Burton <ross@burtonini.com>
218 Bug 536252 – GFileEnumerator should allow access to the containing
224 Add g_file_enumerator_get_container() and a container writeable
225 construct-only property. Also shuffle around typedefs to make it
228 * glocalfileenumerator.c:
229 * glocalfileenumerator.h:
231 Instead of a string filename take a GFile in the constructor and
232 use it to set the container property.
237 2008-06-16 Matthias Clasen <mclasen@redhat.com>
239 * gfile.c: Make includes more uniform
241 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
243 * tests/live-g-file.c (sample_struct):
244 Use less fancy unicode filenames, so the test doesn't fail
245 on Mac OS X (#531476).
247 2008-06-12 Matthias Clasen <mclasen@redhat.com>
249 * === Released 2.17.2 ===
251 2008-06-12 Matthias Clasen <mclasen@redhat.com>
253 * === Released 2.17.1 ===
255 2008-06-11 A. Walton <awalton@gnome.org>
257 * tests/g-file.c (test_g_file_new_null):
258 Fix broken test case.
260 2008-06-11 Matthias Clasen <mclasen@redhat.com>
262 * pltcheck.sh: We use g_clear_error now.
264 2008-06-11 Matthias Clasen <mclasen@redhat.com>
266 * glocalfile.c (g_local_file_enumerate_children): Revert
267 an unintended change.
269 2008-06-11 Matthias Clasen <mclasen@redhat.com>
271 * gfile.c (g_file_replace_contents): Don't unref before the last use.
273 2008-06-10 Matthias Clasen <mclasen@redhat.com>
275 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
278 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
279 as icon for the desktop directory, also make user-home and
280 user-desktop the preferred icons.
282 2008-06-10 Matthias Clasen <mclasen@redhat.com>
285 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
286 to add a name to the front of the list.
288 2008-06-10 Matthias Clasen <mclasen@redhat.com>
290 Bug 537392 – Additional colon in xattr name
292 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
293 too. Reported by Alessandro Morandi
295 2008-06-10 Matthias Clasen <mclasen@redhat.com>
297 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
300 * glocalfile.c (get_fs_type): Add afs and autofs.
301 Patch by Danny Baumann.
303 2008-06-10 Matthias Clasen <mclasen@redhat.com>
305 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
307 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
308 is no parent. (Owen Taylor, patch by Christian Neumair)
310 2008-06-10 Paolo Borelli <pborelli@katamail.com>
312 * gfile.c (g_file_replace_contents): do not leak the output stream.
314 2008-06-10 Michael Natterer <mitch@imendio.com>
316 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
317 uninitialized memory as array index.
319 2008-06-10 Tor Lillqvist <tml@novell.com>
321 * gcontenttype.c (g_content_type_can_be_executable)
322 (g_content_type_get_icon) [Win32]: Add TODO comments.
324 2008-06-09 Matthias Clasen <mclasen@redhat.com>
326 * xdgmime/Makefile.am: Fix the build
328 2008-06-09 Matthias Clasen <mclasen@redhat.com>
330 * gcontenttype.c (g_content_type_get_icon): Use icons specified
331 in the shared mime database, if available.
333 * xdgmime/*: Sync with upstream. This brings support for
334 glob weights, generic icons, and changes the cache format to
337 2008-05-28 Michael Natterer <mitch@imendio.com>
339 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
340 the global CPPFLAGS now.
342 * tests/data-input-stream.c
343 * tests/data-output-stream.c
344 * tests/g-file-info.c
346 * tests/live-g-file.c
347 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
349 2008-05-27 Matthias Clasen <mclasen@redhat.com>
351 * === Released 2.17.0 ===
353 * tests/live-g-file.c: Clean up after the tests, so make distcheck
354 doesn't complain about leftover files.
356 2008-05-27 simon.zheng <simon.zheng@sun.com>
358 * glocalfile.c: (g_local_file_query_filesystem_info):
359 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
361 2008-05-26 Michael Natterer <mitch@imendio.com>
363 * gmemoryoutputstream.h: declare
364 g_memory_output_stream_get_data_size().
366 2008-05-26 Matthias Clasen <mclasen@redhat.com>
368 * tests/*: Make tests work
370 2008-05-26 Matthias Clasen <mclasen@redhat.com>
372 * gio.symbols: Add g_memory_output_stream_get_data_size.
374 2008-05-25 Ross Burton <ross@burtonini.com>
377 Fix typo in error message (#534764).
379 2008-05-25 Ross Burton <ross@burtonini.com>
382 Fix circular dependency loop for gioenumtypes.h (#534759).
384 2008-05-19 Hans Breuer <hans@breuer.org>
386 * Makefile.am : EXTRA_DIST += makefile.msc
388 2008-05-17 Matthias Clasen <mclasen@redhat.com>
391 * gcontenttype.c: (g_content_type_from_mime_type):
392 New function to create a content type from a mime type. (#527175,
395 2008-05-17 Matthias Clasen <mclasen@redhat.com>
397 Bug 532965 – Should not return filesystem::free for certain file systems
399 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
400 free space for ncpfs.
402 2008-05-17 Matthias Clasen <mclasen@redhat.com>
404 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
406 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
407 st_dev might be zero.
409 2008-05-16 Tor Lillqvist <tml@novell.com>
411 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
412 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
414 2008-05-13 Bastien Nocera <hadess@hadess.net>
416 * gfile.c (has_valid_scheme): A URI scheme must start with a
417 letter, even if later more characters are allowed (#532852)
419 2008-05-05 Michael Natterer <mitch@imendio.com>
421 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
422 code from being checked in that breaks the build of applications
423 which use G_DISABLE_SINGLE_INCLUDES.
425 * makegioalias.pl: make the alias file include "glib.h" instead of
428 * gio.symbols: whitespace change to force regeneration of the
429 alias file after above script change.
431 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
433 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
435 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
437 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
439 2008-04-28 David Zeuthen <davidz@redhat.com>
441 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
442 displaying mounts in a subdirectory not accessible to the
445 2008-04-22 Michael Natterer <mitch@imendio.com>
447 * Makefile.am: fix library versioning (it was 0.0.0).
449 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
451 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
452 Default disable all loggings.
453 * fen/fen-kernel.c: (printevent), (port_add_kevent),
454 (port_fetch_event_cb): Fixed two macro nits.
456 2008-04-16 Matthias Clasen <mclasen@redhat.com>
458 * xdgmime/xdgmime.c: Rework the timestamp checking code
459 to protect against duplicate directories in XDG_DATA_DIRS.
460 Fixes fd.o bug 12513, reported by Joe Shaw.
462 2008-04-16 Matthias Clasen <mclasen@redhat.com>
464 Partically revert the last commit after realizing that
465 xdg_mime_media_type_equal doesn't have to init at all.
468 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
470 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
472 2008-04-16 Matthias Clasen <mclasen@redhat.com>
474 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
475 reported by Joe Shaw and Federico Mena Quintero.
477 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
478 (xdg_mime_media_type_equal): Turn into a wrapper around the
481 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
482 functions throughout.
484 2008-04-16 Michael Meeks <michael.meeks@novell.com>
486 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
487 tolerate an empty TryExec= line without failing; nautilus used
488 to create launchers with these in previous versions. Fixes #528433
490 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
492 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
493 after name. Fixes #527132.
495 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
497 * gfile.c: (g_file_replace):
500 2008-04-07 Matthias Clasen <mclasen@redhat.com>
502 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
504 * gfile.c (file_copy_fallback): Fix the argument order. Patch
505 by Christian Kellner.
507 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
509 * gunixmounts.c: (g_unix_mount_guess_should_display):
510 Don't list the user directory as a mount, fix potential issue
511 when other users have a similar naming and don't special case the
512 gvfs mounts there since that's not required (#525866)
514 2008-03-31 Alexander Larsson <alexl@redhat.com>
516 * glocalfile.c (get_parent):
519 2008-03-31 A. Walton <awalton@svn.gnome.org>
521 * gfile.c (g_file_query_file_type):
522 Always return a GFileType enum value (#520715).
524 2008-03-31 Alexander Larsson <alexl@redhat.com>
526 * glocalfileenumerator.c:
527 Read readdir() info in chunks (of 1000) and sort
528 the chunks by inode before stat:ing.
529 This is a 20% performance increase in testing
530 gvfs-ls on /usr/bin with cold cache.
532 2008-03-31 Alexander Larsson <alexl@redhat.com>
534 * gmemoryoutputstream.c:
535 Clarify docs for g_memory_output_stream_get_size.
536 Add g_memory_output_stream_get_data_size.
538 2008-03-30 Matthias Clasen <mclasen@redhat.com>
542 * gfile.h: Add g_file_query_file_type convenience function
543 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
545 2008-03-30 Matthias Clasen <mclasen@redhat.com>
548 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
550 2008-03-28 A. Walton <awalton@svn.gnome.org>
552 * giomodule.c (_g_io_modules_ensure_loaded):
553 Adds GIO_EXTRA_MODULES environment variable support, closing bug
556 2008-03-28 Alexander Larsson <alexl@redhat.com>
559 (copy_stream_with_progress):
562 2008-03-28 Alexander Larsson <alexl@redhat.com>
565 (copy_stream_with_progress):
566 (file_copy_fallback):
567 Fallback to g_file_query_info for source size
568 if g_file_input_stream_query_info fails. (#524579)
570 2008-03-28 Alexander Larsson <alexl@redhat.com>
572 * glocalfile.c (g_local_file_move):
573 Reuse old string instead of adding new one.
575 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
577 * fen/*.[hc]: still copyright issue. I hate copyright.
579 2008-03-27 Alexander Larsson <alexl@redhat.com>
581 * glocalfile.c (g_local_file_move):
582 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
583 file over directory. This is according to the docs and what the move via
584 copy+remove fallback does.
586 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
588 * fen/*.[hc]: Updated copyright.
590 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
592 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
594 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
596 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
597 not emit attribute changed events when optimizing changed events.
598 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
601 2008-03-19 Matthias Clasen <mclasen@redhat.com>
603 * gmountoperation.[hc]: Small documentation additions
605 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
607 * gunixmounts.c: (guess_mount_type):
608 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
610 2008-03-19 Alexander Larsson <alexl@redhat.com>
613 (copy_stream_with_progress):
614 Bump block side for copy to 64k to minimize
615 overhead for low latency links. (#523015)
617 2008-03-16 Tor Lillqvist <tml@novell.com>
619 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
620 depend on gio.def on Windows.
622 2008-03-12 David Zeuthen <davidz@redhat.com>
626 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
628 2008-03-14 Alexander Larsson <alexl@redhat.com>
632 Avoid redudant tests (#521851)
633 Patch from Josselin Mouette
635 2008-03-14 Alexander Larsson <alexl@redhat.com>
638 (g_file_monitor_is_cancelled):
639 Fix C89 issue (#521672)
640 Patch from Jens Granseuer
642 2008-03-14 Alexander Larsson <alexl@redhat.com>
644 * fam/fam-helper.[ch]:
646 Shut down fam (including removing fam GSource) when
647 module is unloaded (#521513)
648 Patch from Joe Marcus Clarke
650 2008-03-14 Alexander Larsson <alexl@redhat.com>
653 (_g_io_modules_ensure_loaded):
656 2008-03-14 Alexander Larsson <alexl@redhat.com>
659 (g_local_file_query_filesystem_info):
660 Use right define name for f_fstypename member check
662 2008-03-14 Alexander Larsson <alexl@redhat.com>
665 * fen/Makefile.am: Added.
666 * fen/fen-data.[ch]: Added.
667 * fen/fen-dump.[ch]: Added.
668 * fen/fen-helper.[ch]: Added.
669 * fen/fen-kernel.[ch]: Added.
670 * fen/fen-missing.[ch]: Added.
671 * fen/fen-node.[ch]: Added.
672 * fen/fen-sub.[ch]: Added.
673 * fen/gfendirectorymonitor.[ch]: Added.
674 * fen/gfenfilemonitor.[ch]: Added.
676 Added Solaris FEN file notification backend.
677 Patch from Lin Ma <Lin.Ma@Sun.COM>
679 2008-03-13 Tor Lillqvist <tml@novell.com>
681 * Makefile.am: Actually use the gio.def file when linking the
682 library on Windows. Produce .lib library for Microsoft's toolchain
683 when possible. Install the .lib and .def file like for the other
686 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
688 * tests/live-g-file.c:
689 Include live-g-file in standard set of tests, making a temporary
690 directory in source structure.
692 Clean target directory before the tests (write mode only)
694 2008-03-12 Tor Lillqvist <tml@novell.com>
696 Bug 517419 - gio win32 directory monitor
697 Implementation by Vlad Grecescu.
700 * win32/gwin32directorymonitor.h
701 * win32/gwin32directorymonitor.c: New files.
703 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
705 * Makefile.am: Add the win32 subdirectory.
707 2008-03-12 Tor Lillqvist <tml@novell.com>
709 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
710 normal struct stat on Unix but struct _stati64 on Windows to have
711 access to 64-bit file size information. Use that instead of struct
712 stat in the functions declared here in this private header.
714 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
715 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
716 warnings about unused functions and variables. Don't set
717 meaningless attributes like inode numbers on Windows.
719 2008-03-12 Benjamin Otte <otte@gnome.org>
722 trim whitespace so gtk-doc groks the function name
724 2008-03-12 Tor Lillqvist <tml@novell.com>
726 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
727 returning FALSE, on Win32.
729 2008-03-11 Alexander Larsson <alexl@redhat.com>
732 * glocalfileinfo.[ch]:
733 Correctly implement can_trash by actually
734 looking for a trash dir, not just assuming
737 2008-03-10 Matthias Clasen <mclasen@redhat.com>
739 * === Released 2.16.1 ===
741 2008-03-11 Alexander Larsson <alexl@redhat.com>
744 Fix crashes in new constructor and properties code
746 2008-03-10 Murray Cumming <murrayc@murrayc.com>
748 * gfile.c: Minor spelling correction in documentation:
749 existance -> existence.
751 2008-03-10 Matthias Clasen <mclasen@redhat.com>
753 * === Released 2.16.0 ===
755 2008-03-10 Matthias Clasen <mclasen@redhat.com>
757 * gio.symbols: Remove g_file_contains_file here, too.
759 2008-03-10 Matthias Clasen <mclasen@redhat.com>
761 * gthemedicon.c: Add properties to make bindings happy. (#517676,
762 Samuel Cormier-Iijima)
764 2008-03-08 Tor Lillqvist <tml@novell.com>
766 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
769 2008-03-07 Alexander Larsson <alexl@redhat.com>
772 (g_local_file_query_filesystem_info):
773 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
774 Patch from Jasper Lievisse Adriaanse
776 2008-03-06 Tor Lillqvist <tml@novell.com>
778 * gfileinfo.h: Correct milliseconds to microseconds in the doc
779 comments for the *_USEC attributes.
781 2008-03-06 Alexander Larsson <alexl@redhat.com>
783 * gfile.c (g_file_query_exists):
784 Add g_return_val_if_fail check (#520700)
786 2008-03-06 Alexander Larsson <alexl@redhat.com>
791 * gunionvolumemonitor.c:
794 * tests/live-g-file.c:
795 * xdgmime/xdgmimecache.c:
796 Fix sparse warnings (#519489)
798 2008-03-05 Alexander Larsson <alexl@redhat.com>
801 Make cancellation threadsafe (i.e.
802 guarantee its only done once, and always
805 * glocaldirectorymonitor.c:
806 Make sure we the monitor lives while the
807 mounts_changed callback is being called (#520484)
809 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
811 * gbufferedinputstream.c: Fix typo in parameter
814 2008-03-04 Alexander Larsson <alexl@redhat.com>
817 Remove deprecated symbols we kept for one release.
819 2008-03-04 Murray Cumming <murrayc@murrayc.com>
822 * goutputstream.c: Tiny documentation corrections.
824 2008-03-03 Alexander Larsson <alexl@redhat.com>
826 * gunionvolumemonitor.c:
828 Fix the adopt_orphan_mount vfunc to take a
829 volume_monitor reference in an ABI compat way.
830 This change is not API compat, but the added
831 arg is not used in the only user of this vfunc, so
832 all we get is a harmless warning in gvfs (#520169)
834 2008-03-01 Benjamin Otte <otte@gnome.org>
837 clarify docs for g_file_delete().
839 2008-02-29 Alexander Larsson <alexl@redhat.com>
843 Make sure empty files get text/plain type (#518720)
845 2008-02-27 Alexander Larsson <alexl@redhat.com>
851 (g_unix_volume_mount):
852 Add missing GMountMountFlags argument
854 2008-02-26 Alexander Larsson <alexl@redhat.com>
857 (g_local_file_delete):
858 Handle filesystems (like ntfs-3g) that return EEXIST instead
859 of ENOTEMPTY (#518816)
861 2008-02-25 Matthias Clasen <mclasen@redhat.com>
863 * === Released 2.15.6 ===
865 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
867 * gfile.c (g_file_find_enclosing_mount):
868 * ginputstream.c (g_input_stream_set_pending):
869 * glocalfile.c (g_local_file_find_enclosing_mount):
870 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
871 * goutputstream.c (g_output_stream_set_pending):
873 Fixup translator comments (#518578).
875 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
877 * gfile.c (g_file_find_enclosing_mount):
879 * glocalfile.c (g_local_file_find_enclosing_mount):
882 Fix a few typos in translator comments and documentation.
884 2008-02-25 Alexander Larsson <alexl@redhat.com>
891 Add translator comments (#518578)
893 2008-02-25 Alexander Larsson <alexl@redhat.com>
896 Reintroduce g_file_contains_file, keep around for one
897 unstable release cycle to avoid crashing to many apps.
898 Make sure to delete after release.
900 2008-02-25 Alexander Larsson <alexl@redhat.com>
903 Remove deprecated g_file_contains_file.
905 2008-02-25 Alexander Larsson <alexl@redhat.com>
908 Emit actual change signals in an idle handler.
909 This avoids reentrance and locking problems in
910 the file notification backends.
912 2008-02-25 Alexander Larsson <alexl@redhat.com>
915 (g_unix_mount_guess_should_display):
916 Remove type guessing, instead just display
917 mounts in /media and in ~/.
919 2008-02-25 Alexander Larsson <alexl@redhat.com>
922 Make new strings reuse old ones.
924 2008-02-25 Alexander Larsson <alexl@redhat.com>
927 Implement trashing and filesystem::readonly for win32 (#517235)
928 Patch from Yevgen Muntyan
930 2008-02-23 Matthias Clasen <mclasen@redhat.com>
932 * gfileinfo.h: Documentation fixes.
934 2008-02-22 Alexander Larsson <alexl@redhat.com>
936 * gcontenttype.c (g_content_type_get_icon):
937 Look at old-style gnome mime icon names too, as many
938 have not moved to the new style.
940 2008-02-21 Matthias Clasen <mclasen@redhat.com>
942 * *.c: Correct the @include in for section docs.
944 2008-02-21 David Zeuthen <davidz@redhat.com>
946 * glocalfileinfo.c: (_g_local_file_info_get):
948 (g_content_type_get_icon): Implement this function by
949 moving bits from glocalfileinfo.c
950 (g_content_type_get_description): Unalias before getting
951 description (#517687)
953 * gfile.c: (g_file_class_init),
954 (g_file_query_filesystem_info_async),
955 (g_file_query_filesystem_info_finish),
956 (query_filesystem_info_data_free),
957 (query_filesystem_info_async_thread),
958 (g_file_real_query_filesystem_info_async),
959 (g_file_real_query_filesystem_info_finish):
960 * gfile.h: Implement async version of
961 g_file_query_filesystem_info()
963 * gfileinfo.h: Add new attributes for filesystem::use-preview
965 * gio.symbols: Update
967 * gthemedicon.c: (g_themed_icon_append_name):
968 * gthemedicon.h: Add new new convenience function.
970 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
971 (get_mounts), (get_volumes), (get_connected_drives),
972 (get_volume_for_uuid), (get_mount_for_uuid),
973 (g_union_volume_monitor_init), (populate_union_monitor),
974 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
975 (g_volume_monitor_adopt_orphan_mount):
977 * gvolumemonitor.h: Use recursive locks so it's safe for volume
978 monitor implementations to call into the main volume monitor. Also
979 separate object initialization and volume monitor initialization
980 such that non-native volume monitors can properly adopt their
983 2008-02-21 Alexander Larsson <alexl@redhat.com>
988 2008-02-21 Alexander Larsson <alexl@redhat.com>
991 Add more documentation about how GFiles work (from #517086)
993 2008-02-21 Alexander Larsson <alexl@redhat.com>
997 Add new g_file_has_prefix that does the same as g_file_contains_file.
998 Deprecate g_file_contains_file and add a macro that converts
999 it to g_file_has_prefix.
1000 The reason for this change is that the contains_file() name seems to
1001 imply that this does more work than what it does, but its really only
1002 a name match (from #517086)
1007 Update to match the above change.
1009 2008-02-20 Benjamin Otte <otte@gnome.org>
1011 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1012 (g_file_eject_mountable):
1013 even more cases of not returning in error path
1015 2008-02-20 Benjamin Otte <otte@gnome.org>
1017 * gfile.c: (g_file_mount_mountable):
1018 return from function in error path.
1020 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1023 Remove trailing coma in GMountMountFlags struct
1025 2008-02-18 Alexander Larsson <alexl@redhat.com>
1029 * glocalfileoutputstream.c:
1030 Use g_unlink/g_rename instead of unlink/rename;
1031 do not pass raw filenames to g_set_error. (#517239)
1032 Patch from Yevgen Muntyan.
1034 2008-02-18 Alexander Larsson <alexl@redhat.com>
1037 * glocalfileoutputstream.c:
1038 Open files with O_BINARY on windows. (#517140)
1040 2008-02-14 Alexander Larsson <alexl@redhat.com>
1042 * glocalfileoutputstream.c:
1043 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1045 2008-02-14 Alexander Larsson <alexl@redhat.com>
1048 Copy permissions with file on copy (#514084)
1049 This is what cp does and makes sure e.g. the
1050 exec permissions are kept.
1051 Its kinda weird in that it keeps the permission bits
1052 the same while the uid and gid are different. However
1053 the new uid is the user so its not a security issue,
1054 and I've heard no complaints about cp on this issue.
1056 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1058 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1060 2008-02-13 Alexander Larsson <alexl@redhat.com>
1062 * inotify/inotify-path.c:
1063 Define IN_ONLYDIR if not in header (#515346)
1065 2008-02-12 Alexander Larsson <alexl@redhat.com>
1067 * tests/live-g-file.c:
1070 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1072 * === Released 2.15.5 ===
1074 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1076 * gio.symbols: Add g_mount_mount_flags_get_type.
1078 2008-02-11 Alexander Larsson <alexl@redhat.com>
1081 (g_file_info_set_attribute_mask):
1082 (g_file_attribute_matcher_matches_id):
1083 Correctly handle NULL GAttributeMatcher meaning
1084 matches nothing. (Fixes #513492)
1086 2008-02-11 Alexander Larsson <alexl@redhat.com>
1091 Added GMountMountFlags enum and added a flags
1092 argument to all mount calls.
1094 This is an API/ABI change for future extensibility,
1095 as I think we will need at least an
1096 inhibit-autorun flag (the panel needs this).
1097 There are no flags defined yet though.
1099 2008-02-11 Alexander Larsson <alexl@redhat.com>
1102 Added new standard::description attribute.
1103 Requested by Vincent, and useful for both
1106 2008-02-11 Alexander Larsson <alexl@redhat.com>
1108 * gdesktopappinfo.c:
1111 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1113 * *.c: Documentation additions
1115 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1117 * gappinfo.h: Formatting cleanup
1118 * gappinfo.c: Fix up docs.
1120 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1122 * gunixmounts.c: Consistently use getmntent_r() and fall
1123 back to getmntent(). (#515492)
1125 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1127 * gbufferedinputstream.c:
1129 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1131 * tests/data-input-stream.c:
1132 * tests/data-output-stream.c: Portability fixes.
1134 2008-02-08 Alexander Larsson <alexl@redhat.com>
1139 Add g_volume_should_automount.
1142 2008-02-07 Tor Lillqvist <tml@novell.com>
1144 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1145 Win32, too Unix-specific.
1147 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1149 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1150 a local plt if the compiler doesn't support what we want. Bug #514702
1152 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1154 reviewed by: <delete if not using a buddy>
1157 * gunixinputstream.c:
1158 * gunixoutputstream.c:
1160 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1162 * tests/Makefile.am:
1163 * tests/live-g-file.c:
1164 * tests/live-g-file.txt:
1165 New GIO testing module working over real data
1167 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1169 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1170 Fallback to rename() if link() is not available
1171 (when no support on target filesystem)
1173 2008-02-06 Michael Natterer <mitch@imendio.com>
1175 * gfileinfo.c (g_file_info_get_icon): replace
1176 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1178 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1180 * gfile.c (g_file_create):
1181 Documentation update of error codes
1183 2008-02-06 Alexander Larsson <alexl@redhat.com>
1185 * gdesktopappinfo.c:
1186 Update to use both mimeapps.list and
1187 defaults.list as discussed on xdg list.
1189 2008-02-06 Benjamin Otte <otte@gnome.org>
1192 * gfilenamecompleter.c:
1193 Fix some typos in the documentation.
1195 2008-02-06 Alexander Larsson <alexl@redhat.com>
1197 * glocalfile.c (g_local_file_trash):
1198 Don't succeed with trash if newly created
1199 trash dir has the wrong owner. (#514696)
1201 2008-02-05 Alexander Larsson <alexl@redhat.com>
1203 * glocalfile.c (g_local_file_move):
1204 Don't spew warnings when destination is not
1207 2008-02-03 Hans Breuer <hans@breuer.org>
1209 * makefile.msc : update
1211 2008-02-01 Michael Natterer <mitch@imendio.com>
1213 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1214 return value of xdg_mime_list_mime_parents() to a variable of the
1217 2008-02-01 Alexander Larsson <alexl@redhat.com>
1219 * gappinfo.c (g_app_info_launch_uris):
1220 Actually call the launch_uris method, not
1223 2008-02-01 Alexander Larsson <alexl@redhat.com>
1225 * gdesktopappinfo.c (g_desktop_app_info_equal):
1226 Ensure appinfos with no id but same pointer value
1229 2008-02-01 Alexander Larsson <alexl@redhat.com>
1231 * gappinfo.c (g_app_info_launch_default_for_uri):
1234 2008-02-01 Alexander Larsson <alexl@redhat.com>
1238 Add g_app_info_launch_default_for_uri utility
1241 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1243 * gdesktopappinfo.c:
1244 Doc fix for g_app_info_get_default_for_uri_scheme ()
1247 2008-01-30 Alexander Larsson <alexl@redhat.com>
1250 Add doc comment about uris vs GFiles to
1253 * gdesktopappinfo.c:
1254 Ensure uris passed to g_app_info_launch_uris()
1255 are not roundtriped through GFile (as that
1256 may be slightly destructive for e.g. mailto: links)
1258 2008-01-30 Alexander Larsson <alexl@redhat.com>
1260 * tests/data-input-stream.c:
1261 * tests/data-output-stream.c:
1262 C89 fixes from Jens Granseuer (#512849)
1264 2008-01-30 Alexander Larsson <alexl@redhat.com>
1267 Fix gamin/fam difference build issue. (#509419)
1269 2008-01-29 Alexander Larsson <alexl@redhat.com>
1272 * gdesktopappinfo.c:
1273 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1275 2008-01-29 Alexander Larsson <alexl@redhat.com>
1277 * gdesktopappinfo.c:
1278 * gdesktopappinfo.h:
1279 giomodule-priv.h include moved to .c file.
1281 2008-01-29 Alexander Larsson <alexl@redhat.com>
1283 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1284 Remove unused prio/name fields.
1286 2008-01-29 Alexander Larsson <alexl@redhat.com>
1288 * gcontenttype.c (looks_like_text):
1289 Don't treat whitespace as control chars.
1291 2008-01-29 Alexander Larsson <alexl@redhat.com>
1293 * gdesktopappinfo.c:
1294 Lazily create the desktop files for appinfos created
1295 by g_app_info_create_from_commandline() when needed
1296 for mime associations. This allows run-time use
1297 of GAppInfo object without creating unnecessary
1300 2008-01-29 Alexander Larsson <alexl@redhat.com>
1303 Added new symbols to gio.symbols
1305 2008-01-29 Alexander Larsson <alexl@redhat.com>
1308 Add g_file_query_default_handler utility to easily look up
1309 the GAppInfo that handles a file.
1311 * gdesktopappinfo.[ch]:
1313 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1316 Remove unused function
1318 2008-01-29 Alexander Larsson <alexl@redhat.com>
1320 * gfileenumerator.c:
1321 Mention need to free returned value in
1322 g_file_enumerator_next_files_finish docs.
1323 Fix leak if g_file_enumerator_next_files_finish()
1326 2008-01-29 Alexander Larsson <alexl@redhat.com>
1329 (_g_unix_content_type_get_parents):
1330 Use list_parents, not get_parents from xdgmime, because
1331 the later doesn't use the cache.
1333 * xdgmime/xdgmimecache.c:
1334 (_xdg_mime_cache_list_mime_parents):
1335 Don't list the same type as parent multiple times.
1337 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1339 * === Released 2.15.4 ===
1341 2008-01-28 Alexander Larsson <alexl@redhat.com>
1344 Register local vfs with prio 0.
1347 Remove old name and prio class members
1349 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1351 * tests/g-file.c: Disable some tests that are failing in
1352 the absence of a http backend.
1354 2008-01-28 Alexander Larsson <alexl@redhat.com>
1358 Add registration hooks for extension points.
1359 Register the gio extension points.
1361 * fam/gfamdirectorymonitor.c:
1362 * fam/gfamfilemonitor.c:
1363 * glocaldirectorymonitor.[ch]:
1364 * glocalfilemonitor.[ch]:
1365 * gnativevolumemonitor.h:
1366 * gunionvolumemonitor.c:
1367 * gunixvolumemonitor.c:
1370 * inotify/ginotifydirectorymonitor.c:
1371 * inotify/ginotifyfilemonitor.c:
1372 Use the extension points registration instead
1373 of g_type_children().
1375 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1378 * gvolume.[hc]: Document new API.
1380 * gfile.c (g_file_copy_async): Fix docs
1382 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1384 * gbufferedinputstream.c:
1386 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1389 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1391 * glocalfile.c: Avoid trivial differences in translatable strings.
1393 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1395 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1396 build with gcc 3.4 (#509419)
1398 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1400 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1401 (#509994, Murray Cumming)
1403 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1405 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1406 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1407 this allows big jobs to be executed in chunks, instead of blocking
1408 the main loop for a long time.
1410 * gsimpleasyncresult.c:
1411 * giofile.c: Adapt callers.
1413 2008-01-25 Alexander Larsson <alexl@redhat.com>
1415 * gdesktopappinfo.c:
1416 Implement changes discussed on xdg list.
1417 Now we can add supported mimetypes by just using defaults.list
1418 We can also remove associations in defaults.list.
1420 2008-01-25 Alexander Larsson <alexl@redhat.com>
1422 * gdesktopappinfo.c:
1423 Don't make local copy of desktop file
1424 for mimetype changes if the file already
1425 supports the new mimetype.
1427 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1431 * gbufferedinputstream.c:
1432 * glocalfile.c: String improvements. (#511966,
1433 Theppitak Karoonboonyanan)
1435 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1437 * gioscheduler.h: Expand docs a bit.
1439 2008-01-24 Alexander Larsson <alexl@redhat.com>
1442 Add g_drive_get_identifier and
1443 g_drive_enumerate_identifiers
1446 Add g_volume_get_identifier and
1447 g_volume_enumerate_identifiers
1453 Implement identifiers for unix backend
1455 2008-01-24 Alexander Larsson <alexl@redhat.com>
1460 Add g_file_copy_async() (#511580)
1461 Based on patch from Carlos Garcia Campos
1463 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1465 * gioscheduler.c: Some documentation additions.
1467 2008-01-22 Alexander Larsson <alexl@redhat.com>
1469 * gdesktopappinfo.c:
1470 (g_desktop_app_info_new):
1471 Don't leak basename.
1473 2008-01-22 Alexander Larsson <alexl@redhat.com>
1475 * gdesktopappinfo.c:
1476 (g_desktop_app_info_new_from_filename):
1479 2008-01-22 Alexander Larsson <alexl@redhat.com>
1481 * glocalfileinfo.c (get_thumbnail_attributes):
1484 2008-01-22 Alexander Larsson <alexl@redhat.com>
1487 (canonicalize_filename):
1488 Canonicalize paths that start with more than
1492 (compare_two_files):
1493 (test_g_file_new_for_path):
1496 2008-01-22 Alexander Larsson <alexl@redhat.com>
1499 Allow UTF-8 in file:// parse names.
1501 * tests/Makefile.am:
1502 * tests/data-input-stream.c:
1503 * tests/data-output-stream.c:
1504 * tests/g-file-info.c:
1506 Added a bunch of tests from Tomas Bzatek
1508 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1510 * === Released 2.15.3 ===
1512 2008-01-21 Alexander Larsson <alexl@redhat.com>
1514 * gfileinputstream.[ch]:
1515 * gfileoutputstream.[ch]:
1517 Remove duplicated GSeekable functions. (#509990)
1518 Just use the g_seekable_xxx() calls instead.
1520 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1523 * gvolumemanager.c: Whitespace cleanups.
1525 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1526 Use the right mode when creating the file.
1528 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1530 * gfileenumerator.c:
1531 * gfileinputstream.c:
1533 * goutputstream.c: Documentation: Fixed minor typos
1534 and added more mentions of specific _finish() functions.
1536 2008-01-21 Alexander Larsson <alexl@redhat.com>
1538 * inotify/Makefile.am:
1539 * inotify/inotify-helper.c:
1540 * inotify/inotify-kernel.c:
1541 * inotify/inotify-path.c:
1542 * inotify/local_inotify.h: Removed.
1543 * inotify/local_inotify_syscalls.h: Removed.
1544 Removed the included copies of the inotify
1545 headers. We now only use the <sys/inotify.h>
1546 header which exists on modern systems.
1547 This fixes problems on ARM and SH5 (#510448)
1548 but is also generally much cleaner and future
1549 safe. For instance, if other OSes add support
1550 for inotify it should "just work".
1552 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1554 * inotify/*.c: Coding style fixes.
1555 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1556 for the 1/4 Hz timer.
1558 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1561 * gfilemonitor.[hc]:
1562 * gmemoryinputstream.c:
1563 * gmemoryoutputstream.c:
1564 * gmountoperation.c:
1565 * gthemedicon.c: Documentation updates
1567 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1569 * gfile.c: documentation: Fixed more minor
1572 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1574 * gmount.c: (g_mount_remount): documentation:
1575 Mention g_mount_remount_finish() instead of
1576 g_mount_unmount_finish().
1578 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1582 * gfile.c: Fixed some minor typos in the
1585 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1587 * gio/gvolumemonitor.c:
1588 (g_volume_monitor_get_connected_drives):
1589 (g_volume_monitor_get_volumes):
1590 (g_volume_monitor_get_mounts): Documentation:
1591 Clarify the ownership of the regurn GLists.
1593 2008-01-17 Alexander Larsson <alexl@redhat.com>
1596 Add the async find_enclosing_mount version
1597 to the header file too.
1599 2008-01-17 Alexander Larsson <alexl@redhat.com>
1602 Add async version of find_enclosing_mount
1603 with default implementation.
1605 2008-01-17 Alexander Larsson <alexl@redhat.com>
1610 Allow calls to implementation of copy and write
1611 even if the type of the file implementations is
1612 different. This can be used to implement native
1613 upload and download calls in a vfs.
1616 (g_local_file_move):
1617 Protect against the case where move is called
1618 with one file not being local.
1620 Make sure we call the progress callback once
1621 in the native move operation so that the caller
1622 knows how many bytes were copied.
1624 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1627 * gdatainputstream.c:
1629 * gfileoutputstream.c:
1634 * gunixmounts.c: Corrected some typos in the documentation:
1635 occured -> occurred.
1636 its -> it's (where appropriate).
1638 2008-01-16 Alexander Larsson <alexl@redhat.com>
1642 Add g_file_query_exists (#508771)
1644 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1649 * gvolume.c: For async functions that have no non-async
1650 version, document that the GAsyncReadyCallback may be NULL.
1653 2008-01-15 Alexander Larsson <alexl@redhat.com>
1655 * gmemoryinputstream.c:
1656 * gmemoryoutputstream.c:
1657 Don't do pointer arithmetic on void * (#508602)
1658 Patch from Kazuki IWAMOTO
1660 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1662 * === Released 2.15.2 ===
1664 2008-01-14 Alexander Larsson <alexl@redhat.com>
1666 * gfile.c (g_file_monitor_file):
1667 Don't set error here, since we fallback to polling monitor.
1669 2008-01-14 Alexander Larsson <alexl@redhat.com>
1672 (g_file_monitor_directory):
1673 (g_file_monitor_file):
1674 Add GError to file monitor calls
1676 * glocaldirectorymonitor.c:
1677 * glocaldirectorymonitor.h:
1679 * glocalfilemonitor.c:
1680 * glocalfilemonitor.h:
1682 Update for above change
1684 2008-01-14 Alexander Larsson <alexl@redhat.com>
1688 Handle root correctly in g_file_get_relative_path (#508719)
1690 2008-01-14 Alexander Larsson <alexl@redhat.com>
1693 Clean up docs and example for GAsyncResult (#508074)
1695 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1697 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1698 and correct some spelling mistakes. Bug #508108.
1700 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1702 * glocalfileinfo.c: Add a comment.
1704 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1706 * gfileinfo.c: GFileInfo description: Mention
1707 how to actually set attributes in a GFile and how to discover
1708 which attributes are settable. Bug #508378.
1710 2008-01-10 A. Walton <awalton@svn.gnome.org>
1712 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1713 (g_app_info_get_default_for_type):
1714 Check for NULL content types.
1716 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1718 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1720 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1722 * gfile.c: *_async() functions: Several small corrections
1723 to the documentation, mostly correcting copy/paste errors
1724 and improving some sentences.
1726 2008-01-09 Dan Winship <danw@gnome.org>
1728 * glocalfile.c (get_unique_filename): x86_64 fix
1730 2008-01-09 Alexander Larsson <alexl@redhat.com>
1735 Add g_unix_mount_guess_should_display and use
1736 for unix volume monitor backend.
1737 This means we more or less show what the
1738 gnome-vfs backend did.
1739 Based on patch from Padraig O'Briain
1741 2008-01-09 Alexander Larsson <alexl@redhat.com>
1745 Add g_themed_icon_new_with_default_fallbacks
1748 Use default fallbacks for icons
1750 2008-01-09 Alexander Larsson <alexl@redhat.com>
1753 * gmountoperation.[ch]:
1754 Change the API a bit so that unhandled methods
1755 get reported via the reply, rather than by
1756 the signal emission return value. This is because
1757 some handlers can't know this immediately without
1758 doing I/O, and this is an async operation that
1761 2008-01-09 Alexander Larsson <alexl@redhat.com>
1764 * fam/gfamdirectorymonitor.c:
1765 * fam/gfamfilemonitor.c:
1766 Fix double free crash (#508224)
1767 Patch from Joe Marcus Clarke
1769 008-01-07 Matthias Clasen <mclasen@redhat.com>
1771 * === Released 2.15.1 ===
1773 2008-01-07 Alexander Larsson <alexl@redhat.com>
1775 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1776 Fix warning (#507835)
1778 2008-01-07 Alexander Larsson <alexl@redhat.com>
1781 Pass --internal to glib-genmarshal
1784 * gmountoperation.c:
1786 Use better types for signal arguments (#507822)
1788 2008-01-07 Alexander Larsson <alexl@redhat.com>
1791 Build test subdir after .
1792 Remove gdirectorymonitor.[ch]
1794 * gdirectorymonitor.[ch]:
1798 Remove GDirectoryMonitor and make
1799 GFileMonitor the baseclass for both file and
1800 directory monitors. Lift the more generic
1801 rate limiting code from GDirectoryMonitor
1805 * fam/gfamdirectorymonitor.[ch]:
1806 * inotify/ginotifydirectorymonitor.[ch]:
1807 * inotify/inotify-helper.c:
1808 * glocaldirectorymonitor.[ch]:
1811 Update for the removed GDirectoryMonitor.
1813 * gmemoryoutputstream.c:
1814 Remove ununsed variable
1816 2008-01-07 Alexander Larsson <alexl@redhat.com>
1818 * gmemoryinputstream.c:
1819 Translate error strings
1822 * gmemoryoutputstream.[ch]:
1823 New implementation that avoids using GByteArray
1824 in implementation and API. (#506377)
1826 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1828 * tests/*: Add a test for memory input streams.
1830 * Makefile.am: Add tests to SUBDIRS.
1832 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1834 * glocalfilemonitor.c:
1835 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1838 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1840 * gdesktopappinfo.c: Fix a docs typo.
1842 * gfileattribute.c: Add information about extended attributes
1843 to the documentation. (#505058)
1845 2008-01-04 Alexander Larsson <alexl@redhat.com>
1848 * gmountoperation.c:
1849 Use the right type (uint) for the ask_password signal.
1851 2008-01-04 Alexander Larsson <alexl@redhat.com>
1856 Add g_app_info_supports_files()
1857 Remove desktop arg from g_app_info_should_show().
1859 * gdesktopappinfo.[ch]:
1860 Implement g_app_info_supports_files() and new should_show()
1861 Add g_desktop_app_info_set_desktop_env() to set the desktop
1862 for should_show(). (This will be set by gtk+ later)
1864 2008-01-04 Alexander Larsson <alexl@redhat.com>
1867 * gmemoryinputstream.[ch]:
1868 Improve API so that you can use multiple chunks
1869 of memory and custom destroy functions. (#506374)
1871 2008-01-03 Alexander Larsson <alexl@redhat.com>
1874 Handle NULL attribute matchers safely, as we return this
1875 for empty attribute matcher strings.
1877 2008-01-03 Alexander Larsson <alexl@redhat.com>
1879 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1880 Add /usr/local to list of internal mountpoints
1882 2008-01-03 Alexander Larsson <alexl@redhat.com>
1885 Check for HAVE_LCHOWN (#505887)
1887 2008-01-03 Alexander Larsson <alexl@redhat.com>
1891 Add define for selinux context attribute.
1892 Fix missing : -> :: namespace separator change
1893 Fix missing _ -> - name change for xattr-sys.
1896 2008-01-03 Alexander Larsson <alexl@redhat.com>
1899 Link to libglib and libgobject directly (#504879)
1900 Patch from Sebastien Bacher
1902 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1904 * gfile.c: Expanded the g_file_new_for_commandline_arg
1905 description a bit, based on the code and the docs of the
1906 other g_file_new_for_* functions.
1908 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1910 * gfilemonitor.h: Fixed typo in docs.
1912 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1914 Updates to GIO documentation. (#506395, Mikael Hermansson)
1916 * gcontenttype.c: Describe memory management for return value of
1917 g_content_types_get_registered(). Missing piece from #505815.
1918 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1919 GVolume, GDrive, GMounts, which hopefully gives the user less
1920 confusions when using this API. Following explainations from
1921 Alexander Larsson on gtk-devel-list.
1923 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1925 * gfileinfo.c: Expand the long description.
1927 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1930 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1931 fix builds with --disable-visibility. (#500273, Christian Persch)
1933 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1935 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1936 in the list of returned app infos.
1938 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1940 * gappinfo.c: Fix a cross-reference
1942 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1944 * gfileinputstream.c:
1945 * gfileoutputstream.c:
1949 * gdesktopappinfo.c:
1951 * gfileinfo.c: Documentation updates.
1953 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1955 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1958 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1960 * gcontenttype.c (g_content_types_get_registered): Don't return
1961 freed memory (#505815, Mikael Hermansson)
1963 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1965 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1966 used to detect statbuf->st_blocks. (#505042)
1968 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1970 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1971 environment handling. (#504829, Cosimo Cecchi)
1973 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1975 * gappinfo.c: Doc improvements
1977 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1980 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1982 * === Released 2.15.0 ===
1984 2007-12-20 Hans Breuer <hans@breuer.org>
1986 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1987 with symbols gwin32appinfo.obj, added gmount.obj
1988 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1990 2007-12-20 Alexander Larsson <alexl@redhat.com>
1996 * gfilenamecompleter.c:
1999 * gpollfilemonitor.c:
2000 File attribute renames:
2002 fs:: -> filesystem::
2003 id::fs -> id::filesystem
2005 2007-12-20 Alexander Larsson <alexl@redhat.com>
2014 Add GMountUnmountFlags to all unmount and
2016 Add g_mount_remount() call.
2018 2007-12-20 Alexander Larsson <alexl@redhat.com>
2020 * gvfs.c (get_default_vfs):
2021 Fix unused variable warning
2023 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2025 * pltcheck.sh: Update
2027 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2029 * gunionvolumemonitor.c:
2030 * gunixmount.c: Remove C99 comments
2032 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2034 * gio.symbols: Add some missing symbols
2036 2007-12-19 Alexander Larsson <alexl@redhat.com>
2039 Make g_io_modules_load_all_in_directory not unuse
2040 loaded modules so that users of it can do stuff
2042 Init internal "module" types.
2043 Initialize static prio and name for types so that
2044 we don't have to load modules to get it.
2046 * gnativevolumemonitor.h:
2048 Move is_supported to parent class so that
2049 non-native monitors can avoid being initialized
2050 too. (For instance GDaemonVolumeMonitor if we're
2051 not using GDaemonVfs.)
2053 * glocaldirectorymonitor.[ch]:
2054 * glocalfilemonitor.[ch]:
2055 * gunionvolumemonitor.c:
2056 * gunixvolumemonitor.c:
2058 Find plugins using the static prio+name to
2059 avoid unnecessarily loading the modules.
2061 2007-12-19 Alexander Larsson <alexl@redhat.com>
2066 2007-12-19 Alexander Larsson <alexl@redhat.com>
2068 * gunionvolumemonitor.c:
2069 Store the native type as GType, not class so that
2070 we can unload it. But still avoid unnecessarily
2073 2007-12-19 David Zeuthen <davidz@redhat.com>
2075 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2076 add signals 'disconnected' and 'eject-button' on GDrive. Add
2077 signal 'removed' on GVolume and 'unmounted' on GMount.
2079 * gdrive.c: (g_drive_base_init):
2081 * gfile.c: (g_file_mount_mountable),
2082 (g_file_mount_enclosing_volume):
2085 * gmount.c: (g_mount_base_init):
2087 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2088 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2089 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2093 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2095 * *.c: Fix up includes in the section docs.
2097 2007-12-17 Alexander Larsson <alexl@redhat.com>
2099 * gnativevolumemonitor.h:
2100 * gunionvolumemonitor.c:
2101 * gunixvolumemonitor.c:
2102 Add is_supported() to GNativeVolumeMonitorClass so
2103 that we can avoid having to create an object to see
2104 if the backend is supported at runtime.
2105 Also add name member and an env var to pick a specific
2106 volume monitor backend.
2110 Add cancellable to _g_mount_get_for_mount_path()
2112 * glocaldirectorymonitor.c:
2113 * glocalfilemonitor.c:
2114 Avoid loading and unloading modules while sorting.
2116 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2119 * gunixmounts.[hc]: Namespace waste reduction, move some
2120 g_get_unix_mount functions to the g_unix_mount namespace.
2123 * gunixvolumemonitor.c:
2125 * glocaldirectorymonitor.c: Update all callers.
2127 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2129 2007-12-17 Alexander Larsson <alexl@redhat.com>
2132 Add doc comments about what GFile operations are
2133 guaranteed to not block.
2135 2007-12-17 Alexander Larsson <alexl@redhat.com>
2138 Add missing #ifdef fixing OSX build.
2139 (#503334, patch from Richard Hult)
2141 2007-12-14 David Zeuthen <davidz@redhat.com>
2145 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2146 (g_mount_eject), (g_mount_eject_finish):
2148 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2149 (get_volume_for_uuid), (get_mount_for_uuid),
2150 (g_union_volume_monitor_class_init),
2151 (get_default_native_type_with_exclude), (get_default_native_type),
2152 (get_native_type), (update_native_type),
2153 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2154 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2155 (g_unix_mount_can_eject), (eject_unmount_cb),
2156 (eject_unmount_read_error), (eject_unmount_do),
2157 (g_unix_mount_unmount), (g_unix_mount_eject),
2158 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2159 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2160 (g_unix_mount_point_guess_can_eject):
2162 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2163 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2164 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2165 (g_unix_volume_mount), (g_unix_volume_eject),
2166 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2167 * gunixvolumemonitor.c: (get_volume_for_uuid),
2168 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2170 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2171 (g_volume_eject), (g_volume_eject_finish):
2173 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2174 (g_volume_monitor_get_mount_for_uuid):
2177 Provide eject() on both GMount and GVolume and utility functions
2178 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2179 ejected. Introduce the concept of UUID's and wire it into GVolume
2180 and GMount and provide API on GVolumeMonitor to find such
2181 instances. Also handle the case where an external
2182 GNativeVolumeMonitor fails to initialize. Lock around the
2183 _g_get_mount_for_mount_path() function such that volume monitor
2184 implementations won't have to do locking themselves.
2186 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2188 * gdesktopappinfo.c:
2194 * gvolume.h: Documentation updates
2196 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2199 * gfile.h: Doc updates
2201 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2204 * gdesktopappinfo.c: Use hash table iterators.
2206 2007-12-14 Alexander Larsson <alexl@redhat.com>
2209 * gfileattribute.[ch]:
2210 * gfileattribute-priv.h:
2211 Move GFileAttributeValue to a private header, as
2215 Make set_attribute take a type + a pointer instead
2216 of a GFileAttributeValue.
2219 Fix up for above changes.
2220 Add g_file_info_get_attribute_data to get
2221 all info in one call, g_file_info_get_attribute_status
2222 to get the status and g_file_info_get_attribute_as_string.
2226 * glocalfileinfo.[ch]:
2230 Make _guess_type static.
2232 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2235 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2236 made mkenums and friends use temporary files to avoid leaving
2237 empty generated files on failure (#503470).
2239 2007-12-14 Alexander Larsson <alexl@redhat.com>
2241 * gmountoperation.h:
2244 2007-12-14 Alexander Larsson <alexl@redhat.com>
2248 * gfileattribute.[ch]:
2251 * glocalfileoutputstream.c:
2252 * gmountoperation.[ch]:
2253 * goutputstream.[ch]:
2254 Clean up all flags enums to not have _FLAGS in them
2255 Make the names of some of the enums better.
2260 2007-12-14 Michael Natterer <mitch@imendio.com>
2262 * gio.symbols: fix g_io_scheduler symbol names.
2264 2007-12-14 Alexander Larsson <alexl@redhat.com>
2270 * gbufferedinputstream.h:
2271 * gbufferedoutputstream.h:
2274 * gdatainputstream.h:
2275 * gdataoutputstream.h:
2276 * gdesktopappinfo.h:
2277 * gdirectorymonitor.h:
2281 * gfileenumerator.h:
2284 * gfileinputstream.h:
2286 * gfilenamecompleter.h:
2287 * gfileoutputstream.h:
2288 * gfilterinputstream.h:
2289 * gfilteroutputstream.h:
2297 * gmemoryinputstream.h:
2298 * gmemoryoutputstream.h:
2300 * gmountoperation.h:
2303 * gsimpleasyncresult.h:
2305 * gunixinputstream.h:
2307 * gunixoutputstream.h:
2311 * inotify/Makefile.am:
2312 Only allow including <gio/gio.h> from apps
2314 2007-12-14 Alexander Larsson <alexl@redhat.com>
2316 * gioscheduler.[ch]:
2317 * gsimpleasyncresult.c:
2318 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2319 Split out the send_to_mainloop call into two versions instead
2320 of having the block argument.
2322 2007-12-13 Alexander Larsson <alexl@redhat.com>
2324 * gcancellable.[ch]:
2326 * gbufferedinputstream.c:
2327 * gfileenumerator.c:
2328 * gfileinputstream.c:
2329 * gfileoutputstream.c:
2333 g_push/pop_current_cancellable ->
2334 g_cancellable_push/pop_current
2336 2007-12-13 Alexander Larsson <alexl@redhat.com>
2340 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2342 2007-12-13 Alexander Larsson <alexl@redhat.com>
2344 * gmountoperation.h:
2345 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2347 2007-12-12 Alexander Larsson <alexl@redhat.com>
2350 Fix race condition when freeing proxy in
2351 g_io_job_send_to_mainloop().
2353 2007-12-12 Alexander Larsson <alexl@redhat.com>
2359 Make attribute namespace separator "::" instead of ":".
2360 Use - instead of _ as separator in attribute names.
2362 2007-12-12 Alexander Larsson <alexl@redhat.com>
2364 * gbufferedinputstream.h:
2365 * gbufferedoutputstream.h:
2366 * gdatainputstream.h:
2367 * gdataoutputstream.h:
2368 * gdirectorymonitor.h:
2369 * gfileenumerator.h:
2370 * gfileinputstream.h:
2372 * gfileoutputstream.h:
2373 * gfilterinputstream.h:
2374 * gfilteroutputstream.h:
2376 * glocalfileinputstream.h:
2377 * glocalfileoutputstream.h:
2378 * gmemoryinputstream.h:
2379 * gmemoryoutputstream.h:
2380 * gnativevolumemonitor.h:
2382 * gunixinputstream.h:
2383 * gunixoutputstream.h:
2386 s/parent/parent_instance/ in GObjects
2388 2007-12-12 Alexander Larsson <alexl@redhat.com>
2393 No need for padding for interfaces
2395 2007-12-12 Alexander Larsson <alexl@redhat.com>
2399 * gbufferedinputstream.c:
2400 * gbufferedoutputstream.c:
2403 * gdatainputstream.[ch]:
2404 * gdesktopappinfo.c:
2405 * gdirectorymonitor.c:
2407 * gfileattribute.[ch]:
2410 * gfileinputstream.h:
2411 * gfilemonitor.[ch]:
2412 * gfileoutputstream.[ch]:
2413 * gfilterinputstream.h:
2414 * gfilteroutputstream.h:
2417 * gloadableicon.[ch]:
2418 * gmemoryinputstream.c:
2419 * gmountoperation.c:
2421 Fix up a bunch of details in the docs.
2426 2007-12-11 David Zeuthen <davidz@redhat.com>
2428 Rework how volumes, drives and volume monitoring is
2429 done. Previosly the model was
2431 GDrive <1-1> GVolume
2433 where a GDrive instance represented a mount point and a GVolume
2434 instance represented a mounted file system. This patch changes it
2437 GDrive <1-N> GVolume <1-1> GMount
2439 where GMount now serves the purpose of the old GVolume and the new
2440 GVolume serves the purpose of the old GDrive. In addition the new
2441 GDrive interface is used to represent a collection of GVolume
2442 instances (typically partitions) and also contains utility to query
2443 the state of the physical drive the GDrive object represents (such
2444 as checking for media, polling the drive, ejecting the media etc.).
2446 Also implement mounting and unmounting in the Unix volume monitor
2447 backend. A subquent patch will introduce GDrive support for ejection
2451 * gdrive.c: (g_drive_is_media_check_automatic),
2452 (g_drive_is_media_removable), (g_drive_has_media),
2453 (g_drive_can_poll_for_media), (g_drive_eject),
2454 (g_drive_eject_finish), (g_drive_poll_for_media),
2455 (g_drive_poll_for_media_finish):
2457 * gfile.c: (g_file_find_enclosing_mount):
2460 * glocaldirectorymonitor.c:
2461 (g_local_directory_monitor_constructor), (mounts_changed):
2462 * glocalfile.c: (get_mount_info),
2463 (g_local_file_find_enclosing_mount),
2464 (g_local_file_file_iface_init):
2465 * gnativevolumemonitor.h:
2466 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2467 (get_connected_drives), (g_union_volume_monitor_class_init),
2468 (child_volume_added), (child_volume_removed),
2469 (child_volume_changed), (child_mount_added), (child_mount_removed),
2470 (child_mount_pre_unmount), (child_mount_changed),
2471 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2472 (g_union_volume_monitor_remove_monitor),
2473 (_g_mount_get_for_mount_path):
2474 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2475 (guess_system_internal), (_g_get_unix_mounts),
2476 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2477 (g_unix_mount_free), (g_unix_mount_compare),
2478 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2479 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2480 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2481 (type_to_icon), (g_unix_mount_guess_name),
2482 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2483 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2484 (_resolve_symlink), (_resolve_dev_root):
2486 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2487 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2488 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2489 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2490 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2491 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2492 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2493 (g_unix_volume_volume_iface_init):
2495 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2496 (get_mounts), (get_volumes), (get_connected_drives),
2497 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2498 (mountpoints_changed), (mounts_changed),
2499 (g_unix_volume_monitor_init),
2500 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2501 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2502 * gunixvolumemonitor.h:
2503 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2504 (g_volume_mount), (g_volume_mount_finish):
2506 * gvolumemonitor.c: (g_volume_monitor_class_init),
2507 (g_volume_monitor_get_connected_drives),
2508 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2511 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2513 * gmountoperation.h (GPasswordFlags): Close the gap
2515 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2517 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2519 * gdesktopappinfo.[hc]: Remove _-prefixes
2521 2007-12-10 Tor Lillqvist <tml@novell.com>
2523 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2526 2007-12-10 Alexander Larsson <alexl@redhat.com>
2528 * gfile.c (g_file_set_display_name):
2529 Don't hardcode '/' (#502727)
2531 2007-12-09 Hans Breuer <hans@breuer.org>
2533 * makefile.msc : follow lib naming convention
2534 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2535 for user and group name, tested with ../tests/gio-ls
2537 2007-12-09 A. Walton <awalton@svn.gnome.org>
2539 * gdesktopappinfo.c:
2545 * gfileenumerator.c:
2550 * gmemoryinputstream.c:
2551 * gmemoryoutputstream.c:
2553 * gsimpleasyncresult.c:
2554 More documentation cleanup and filling in missing information, bringing
2555 GIO to 99% symbol coverage.
2557 2007-12-08 Hans Breuer <hans@breuer.org>
2559 [gio compiles and links on win32, not sure how much already works]
2560 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2561 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2562 base on win32 API; prefer g_lstat() over lstat(); instead of
2563 localtime_r() use an all GLib implementation on win32;
2564 get_mount_info() still needs a win32 specifc implementation
2565 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2566 win32_get_file_user_info to get owner/group info without uid/gid
2567 * glocalfileinputstream.c : include <io.h> on win32
2568 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2569 definition, use g_win32_ftruncate() for G_OS_WIN32
2570 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2571 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2572 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2573 * makefile.msc : updated
2575 2007-12-07 Alexander Larsson <alexl@redhat.com>
2577 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2578 Avoid warning spew if error == NULL
2580 2007-12-07 Alexander Larsson <alexl@redhat.com>
2583 Update docs wrt etags
2585 2007-12-06 Alexander Larsson <alexl@redhat.com>
2588 Include sys/types.h for dev_t (#501919)
2590 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2594 Make abicheck and pltcheck pass.
2596 2007-12-05 Alexander Larsson <alexl@redhat.com>
2599 * giomodule-priv.h: Added.
2600 * glocaldirectorymonitor.c:
2601 * glocalfilemonitor.c:
2602 * gunionvolumemonitor.c:
2604 Actually add the declaration of _g_io_modules_ensure_loaded
2606 2007-12-05 Alexander Larsson <alexl@redhat.com>
2608 * gdatainputstream.c:
2613 * glocaldirectorymonitor.c:
2614 * glocalfilemonitor.c:
2615 * gunionvolumemonitor.c:
2617 Make g_io_modules_ensure_loaded a private function and
2618 don't pass in the dirname. This means we can do magic
2619 directory finding in the win32 version.
2620 Export the actual load-modules-in-directory code so that
2621 gvfs can reuse that.
2623 2007-12-05 Alexander Larsson <alexl@redhat.com>
2625 * gbufferedinputstream.c:
2626 * gbufferedoutputstream.c:
2629 * gfileenumerator.[ch]:
2630 * gfileinputstream.c:
2631 * gfileoutputstream.[ch]:
2632 * gfilterinputstream.c:
2633 * gfilteroutputstream.c:
2634 * ginputstream.[ch]:
2636 * glocalfileenumerator.c:
2637 * glocalfileinputstream.c:
2638 * glocalfileoutputstream.c:
2639 * gmemoryinputstream.c:
2640 * gmemoryoutputstream.c:
2641 * goutputstream.[ch]:
2644 * gunixinputstream.c:
2645 * gunixoutputstream.c:
2646 Rename all struct members named:
2647 read, write, close, truncate, or mount
2648 to foo_fn, as these are reserved names
2649 and could be defined as macros in libc.
2652 2007-12-04 Alexander Larsson <alexl@redhat.com>
2655 (g_output_stream_close):
2656 Only call flush if non-null.
2658 2007-11-30 Dan Winship <danw@gnome.org>
2660 * ginputstream.c (g_input_stream_set_pending): Make this take a
2661 GError and return a gboolean, and do the "outstanding operation"
2662 check (and the "stream is already closed" check) itself.
2663 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2665 * goutputstream.c (g_output_stream_set_pending)
2666 (g_output_stream_clear_pending): Likewise
2668 * gbufferedinputstream.c:
2669 * gfileinputstream.c:
2670 * gfileoutputstream.c: Update for that
2672 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2673 Like g_simple_async_report_error_in_idle, but takes a GError
2674 rather than building one.
2676 2007-11-30 Dan Winship <danw@gnome.org>
2678 * goutputstream.c: Don't cheat and unset the "pending" flag around
2679 inner calls. Instead, call the class method directly rather than
2680 the wrapper function that checks "pending"
2682 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2684 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2686 2007-12-03 Hans Breuer <hans@breuer.org>
2688 [start of port to win32/msvc]
2689 * gcancellable.c : HAVE_UNIST_H and _pipe()
2690 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2691 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2692 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2694 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2695 * glocalvfs.c : use HAVE_PWD_H
2696 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2697 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2698 * Makefile.am : added to EXTRA_DIST
2700 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2702 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2705 2007-12-03 Alexander Larsson <alexl@redhat.com>
2708 Handle OSX style xattrs API (#500506)
2710 2007-12-03 Alexander Larsson <alexl@redhat.com>
2714 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2716 2007-12-02 A. Walton <awalton@svn.gnome.org>
2720 Documentation accuracy fixes.
2722 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2724 * gioenumtypes.c.template: Fix typo.
2726 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2728 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2730 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2732 * gdirectorymonitor.c:
2733 * gfilemonitor.c: Add properties
2735 * gbufferedoutputstream.c: Don't mark buffer-size property
2738 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2740 * gbufferedoutputstream.c: Add auto-grow property.
2742 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2744 * *.c: Unify the capitalization of section headings.
2746 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2748 * gmountoperation.c: Add properties
2750 * gdatainputstream.c: Turn byte-order and newline-type into
2753 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2755 * gioenumtypes.[hc].template: Templates for enum registration
2757 * Makefile.am: Generate gioenumtypes.[hc]
2759 * gio.h: Include gioenumtypes.h
2761 * gfile.h: Add some explicit nicks.
2763 * gio.symbols: Add new symbols
2765 * pltcheck.sh: Adjust
2767 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2769 * *.c: Explain etags and link to the explanation
2771 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2773 * *.c: Explain I/O priority.
2775 * *.c: More coding style fixes.
2777 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2779 * gasyncresult.c: Add another paragraph to the intro,
2780 adjust coding style of example.
2782 2007-11-29 A. Walton <awalton@svn.gnome.org>
2785 Fixes unknown meaning in GAppLaunchContext docs.
2787 Clarify asynchronous ops.
2789 Fix entity tag docs.
2792 Provides missing gtk-doc section, fixes API docs slighly.
2793 * gsimpleasyncresult.c:
2794 Fill in missing info in docs.
2795 * gunixinputstream.c:
2796 * gunixoutputstream.c:
2797 Be more expressive in short description.
2799 Remove gtk-doc stubs for non-public API.
2801 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2803 * *.c: Coding style fixups
2805 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2807 * inotify/inotify-helper.c: Don't export the lock from libgio.
2809 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2812 * abicheck.sh: Fix copy-and-paste leftovers
2814 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2816 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2818 2007-11-28 Alexander Larsson <alexl@redhat.com>
2822 Removed unnecessary file
2824 * gdesktopappinfo.[ch]:
2827 * glocaldirectorymonitor.[ch]:
2829 * glocalfileenumerator.[ch]:
2830 * glocalfileinputstream.[ch]:
2831 * glocalfilemonitor.[ch]:
2832 * glocalfileoutputstream.[ch]:
2834 * gnativevolumemonitor.c:
2835 * gpollfilemonitor.[ch]:
2836 * gunionvolumemonitor.[ch]:
2839 * gunixvolumemonitor.[ch]:
2842 * inotify/ginotifydirectorymonitor.[ch]:
2843 * inotify/ginotifyfilemonitor.[ch]:
2844 * inotify/inotify-helper.c:
2845 Append _ to all internal functions
2849 Export symbols needed for modules
2851 2007-11-28 Alexander Larsson <alexl@redhat.com>
2854 * abicheck.sh: Added.
2855 * makegioalias.pl: Added.
2856 * pltcheck.sh: Added.
2857 * gio.symbols: Added.
2860 Initial work on adding symbol handling.
2863 Correct ifdef guard name
2866 * inotify/Makefile.am:
2867 * xdgmime/Makefile.am:
2868 Include toplevel Makefile.decl
2870 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2872 * gcontenttype.c: Move doc comments to the unix section.
2874 * *.[hc]: More trivial doc corrections.
2876 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2878 * gpollfilemonitor.c:
2882 * gdesktopappinfo.c:
2887 * gdatainputstream.c:
2888 * gdatainputstream.h:
2889 * gdataoutputstream.c:
2890 * gdataoutputstream.h:
2891 * gfileinfo.h: Doc cleanups
2893 2007-11-28 Andre Klapper <a9016009@gmx.de>
2895 * gdesktopappinfo.c: Fix a typo.
2897 2007-11-27 Andre Klapper <a9016009@gmx.de>
2899 * glocalfileoutputstream.c: Fix a typo.
2901 2007-11-27 Alexander Larsson <alexl@redhat.com>
2904 Don't include removed headers
2906 2007-11-27 Alexander Larsson <alexl@redhat.com>
2909 * gsocketinputstream.[ch]: Removed.
2910 * gsocketoutputstream.[ch]: Removed.
2911 * gunixinputstream.[ch]: Added.
2912 * gunixoutputstream.[ch]: Added.
2913 Renamed GSocket*Stream to GUnix*Stream and made
2914 it unix-only, since its not really only for sockets
2915 and it only works on unix (but is highly useful there).
2917 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2923 * gbufferedinputstream.c:
2924 * gbufferedinputstream.h:
2925 * gbufferedoutputstream.c:
2926 * gbufferedoutputstream.h:
2930 * gdatainputstream.c:
2931 * gdatainputstream.h:
2932 * gdataoutputstream.c:
2933 * gdataoutputstream.h:
2934 * gdirectorymonitor.c:
2935 * gdirectorymonitor.h:
2942 * gfileenumerator.c:
2943 * gfileenumerator.h:
2948 * gfileinputstream.c:
2949 * gfileinputstream.h:
2952 * gfilenamecompleter.c:
2953 * gfilenamecompleter.h:
2954 * gfileoutputstream.c:
2955 * gfileoutputstream.h:
2956 * gfilterinputstream.c:
2957 * gfilterinputstream.h:
2958 * gfilteroutputstream.c:
2959 * gfilteroutputstream.h:
2972 * glocalfileoutputstream.c:
2973 * gmemoryinputstream.c:
2974 * gmemoryinputstream.h:
2975 * gmemoryoutputstream.c:
2976 * gmemoryoutputstream.h:
2977 * gmountoperation.c:
2978 * gmountoperation.h:
2981 * gpollfilemonitor.c:
2984 * gsimpleasyncresult.c:
2985 * gsimpleasyncresult.h:
2986 * gsocketinputstream.c:
2987 * gsocketinputstream.h:
2988 * gsocketoutputstream.c:
2989 * gsocketoutputstream.h:
2996 * gunixvolumemonitor.c:
3005 Bumps documentation to 93% symbol coverage, touching most
3006 of the public files. Fixes broken function documentation prototypes.
3007 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3008 gtk-doc headers in private files.
3010 2007-11-27 Jürg Billeter <j@bitron.ch>
3012 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3013 (g_buffered_input_stream_read_byte):
3014 * gbufferedinputstream.h:
3015 New functions for efficient access to buffer and simple single byte
3018 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3019 (g_data_input_stream_read_until):
3020 * gdatainputstream.h:
3021 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3022 read_until with multiple stop chars.
3024 2007-11-27 Alexander Larsson <alexl@redhat.com>
3028 * inotify/Makefile.am:
3029 Use the user-specified giomoduledir
3031 2007-11-27 Alexander Larsson <alexl@redhat.com>
3035 Add catch-all gio.h header
3036 Don't install gdummyfile.h
3038 2007-11-26 Alexander Larsson <alexl@redhat.com>
3040 * Makefile.am (gioinclude_HEADERS):
3041 Remove trailing whitespace
3043 2007-11-26 Alexander Larsson <alexl@redhat.com>
3045 Merge gio-standalone into glib
3047 2007-11-25 Christian Kellner <gicmo@gnome.org>
3049 * gio/goutputstream.c:
3050 Fix small mistake in the docs.
3052 2007-11-21 Christian Persch <chpe@gnome.org>
3054 * gio/glocalfile.c: (g_local_file_trash):
3055 Convert filenames to UTF-8 for GError.
3056 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3057 as per xdg base dir spec.
3059 2007-11-21 Christian Persch <chpe@gnome.org>
3061 * gio/gdesktopappinfo.c:
3062 Use that g_key_file_to_data cannot fail.
3064 Use stock defines for the key file group and key names.
3067 2007-11-21 Alexander Larsson <alexl@redhat.com>
3070 (copy_stream_with_progress):
3071 Make sure we do a final progress callback with
3072 the full total size.
3074 2007-11-21 Alexander Larsson <alexl@redhat.com>
3077 Export g_file_copy_attributes
3078 Remove padding as its not needed for interfaces
3080 2007-11-20 Alexander Larsson <alexl@redhat.com>
3085 Add G_IO_ERROR_WOULD_MERGE for
3086 copy/move dir on dir with overwrite.
3088 2007-11-20 Alexander Larsson <alexl@redhat.com>
3091 * gio/glocalfileinfo.c:
3092 Add COPY_NAME (this is an optional
3093 non-modified utf8 version of the name) that
3096 2007-11-20 Alexander Larsson <alexl@redhat.com>
3098 * gio/glocalfileenumerator.c:
3099 Report errors as GIOError, not GFileError
3101 2007-11-16 Alexander Larsson <alexl@redhat.com>
3103 * gio/glocalfileoutputstream.c:
3104 * gio/gwin32appinfo.c:
3105 Fix typos in strings.
3106 Patch from Luca Ferretti <elle.uca@libero.it>
3108 2007-11-15 Alexander Larsson <alexl@redhat.com>
3111 Post release version bump
3113 === gio-standalone 0.1.2 ===
3115 2007-11-15 Alexander Larsson <alexl@redhat.com>
3117 * docs/reference/gio/Makefile.am:
3118 Fix up distcheck by removing weird
3124 2007-11-14 Alexander Larsson <alexl@redhat.com>
3126 * gio/gdesktopappinfo.c:
3127 * gio/glocaldirectorymonitor.c:
3129 * gio/glocalfileinfo.c:
3130 * gio/inotify/inotify-sub.c:
3131 * programs/gio-cat.c:
3132 * programs/gio-copy.c:
3133 * programs/gio-info.c:
3134 * programs/gio-ls.c:
3135 * programs/gio-monitor-dir.c:
3136 * programs/gio-monitor-file.c:
3137 * programs/gio-mount.c:
3138 * programs/gio-move.c:
3139 * programs/gio-rm.c:
3140 * programs/gio-save.c:
3141 * programs/gio-trash.c:
3142 Leak fixes from Kjartan Maraas
3144 2007-11-14 Alexander Larsson <alexl@redhat.com>
3146 * gio/fam/fam-helper.c:
3148 * gio/glocalfileinfo.c:
3152 * gio/inotify/inotify-diag.c:
3153 * gio/inotify/inotify-kernel.c:
3154 Various code cleanups from Kjartan Maraas
3156 2007-11-14 Alexander Larsson <alexl@redhat.com>
3158 * gio/gioscheduler.c:
3160 Set up threadpool so that we cache 2 unused
3161 idle threads for at 15 secs. This means we
3162 will reuse thread-local data (like dbus connections)
3165 2007-11-14 Alexander Larsson <alexl@redhat.com>
3167 * gio/fam/fam-helper.c:
3168 * gio/fam/gfamdirectorymonitor.c:
3169 * gio/fam/gfamfilemonitor.c:
3171 * gio/gcontenttype.c:
3172 * gio/gdatainputstream.c:
3173 * gio/gdataoutputstream.c:
3177 * gio/gfileattribute.h:
3178 * gio/gfileenumerator.c:
3180 * gio/ginputstream.c:
3183 * gio/glocalfileinfo.c:
3184 * gio/goutputstream.c:
3185 * gio/gpollfilemonitor.c:
3186 * gio/gsimpleasyncresult.c:
3187 * gio/gunixmounts.c:
3188 * gio/gunixmounts.h:
3189 * gio/inotify/ginotifydirectorymonitor.c:
3190 * gio/inotify/ginotifyfilemonitor.c:
3191 * gio/inotify/inotify-diag.c:
3192 * gio/inotify/inotify-kernel.c:
3193 * gio/inotify/inotify-path.c:
3195 * gio/test-streams.c:
3196 * programs/gio-info.c:
3197 * programs/gio-monitor-dir.c:
3198 * programs/gio-monitor-file.c:
3199 Various code cleanups from Kjartan Maraas
3201 2007-11-13 Alexander Larsson <alexl@redhat.com>
3204 Handle the uri-scheme calls for dummy files
3206 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3208 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3209 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3210 to avoid clash with the C++ keyword.
3212 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3214 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3215 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3217 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3219 * gio/glocaldirectorymonitor.c:
3220 * gio/glocalfilemonitor.c:
3221 * gio/gunionvolumemonitor.c:
3222 Don't use g_once_init_*() for initializations that could fail and
3223 could leave the initialization variable set to 0 but use GOnce.
3224 This prevents a deadlock on the second call when trying to create
3225 a monitor and no monitor type is available. Thanks to Sven Herzberg
3228 2007-11-11 Sven Herzberg <sven@imendio.com>
3230 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3231 #ifdef (make it work on MacOS X again)
3233 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3235 Fixes Changelog for last two commits (sorry guys).
3237 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3239 * gio/gbufferedinputstream.c:
3240 * gio/gdatainputstream.c:
3242 * gio/gfileoutputstream.c:
3243 * gio/gfilterinputstream.c:
3244 * gio/glocalfileinputstream.c:
3247 More consistency fixes in g*stream.c files.
3248 Significant clean of gfile's documentation, filling in of
3249 asynchronous operations documentation.
3251 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3253 * gio/gasyncresult.c:
3254 * gio/gbufferedinputstream.c:
3255 * gio/gbufferedoutputstream.c:
3256 * gio/gcancellable.c:
3257 * gio/gcontenttype.c:
3258 * gio/gdatainputstream.c:
3259 * gio/gdataoutputstream.c:
3260 * gio/gdesktopappinfo.c:
3263 * gio/gfileattribute.c:
3264 * gio/gio/gfileenumerator.c:
3266 * gio/gfileinputstream.c:
3267 * gio/gfilemonitor.c:
3268 * gio/gfileoutputstream.c:
3269 * gio/ginputstream.c:
3271 * gio/gioscheduler.c:
3272 * gio/gloadableicon.c:
3273 * gio/glocalfileoutputstream.c:
3274 * gio/gmemoryoutputstream.c:
3275 * gio/gmountoperation.c:
3276 * gio/goutputstream.c:
3278 * gio/gsimpleasyncresult.c:
3279 * gio/gunionvolumemonitor.c:
3280 * gio/gunixmounts.c:
3281 * gio/gunixvolume.c:
3285 * gio/gvolumemonitor.c:
3286 Updated documentation stubs, working towards consistency and
3289 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3291 * gio/gmemoryoutputstream.c:
3292 * gio/gmemoryoutputstream.h:
3293 Change g_memory_output_stream_set_free_on_close() to
3294 g_memory_output_stream_set_free_data() as this makes more sense and
3295 is more consistent with GMemoryInputStream.
3297 2007-11-07 Alexander Larsson <alexl@redhat.com>
3304 Change how we find the default vfs so that
3305 we can handle a gvfs failing to init
3307 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3309 * gio/gbufferedoutputstream.c:
3310 * gio/gdatainputstream.c:
3311 * gio/gdataoutputstream.c:
3312 * gio/gfileinputstream.c:
3313 * gio/gfileoutputstream.c:
3314 * gio/gfilterinputstream.c:
3315 * gio/gfilteroutputstream.c:
3316 * gio/ginputstream.c:
3317 * gio/gmemoryinputstream.c:
3318 * gio/gmemoryoutputstream.c:
3319 * gio/goutputstream.c:
3320 * gio/gsimpleasyncresult.c:
3321 * gio/gsocketinputstream.c:
3322 * gio/gsocketoutputstream.c:
3323 Add guards to the remaining public functions, add a TODO for
3324 an unimplemented function and remove some useless guards.
3326 2007-11-07 Alexander Larsson <alexl@redhat.com>
3329 Autoconf checks for the various types of
3330 getpwuid_r and getgrgid_r
3332 * gio/glocalfileinfo.c:
3333 Use the autoconf checks from above
3335 2007-11-07 Alexander Larsson <alexl@redhat.com>
3338 (g_local_file_query_filesystem_info):
3339 Some fixes for the statvfs case
3341 2007-11-07 Alexander Larsson <alexl@redhat.com>
3344 (g_local_file_query_filesystem_info):
3345 Pick the "best" of statfs / statvfs for the system
3346 if both are availible.
3348 2007-11-07 Alexander Larsson <alexl@redhat.com>
3350 Solaris fixes from Halton.Huo@Sun.COM:
3357 * gio/glocalfileinfo.c:
3358 Fix for solaris definition of getpwuid_r
3360 * gio/test-streams.c:
3361 Use G_GNUC_PRETTY_FUNCTION
3363 2007-11-07 Alexander Larsson <alexl@redhat.com>
3365 * gio/gdesktopappinfo.c:
3366 (update_default_list):
3367 Remove double semicolon.
3368 Patch from Jens Granseuer
3370 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3372 * docs/reference/gio/gio-sections.txt:
3373 * gio/gbufferedinputstream.c:
3374 * gio/gbufferedinputstream.h:
3375 * gio/gdatainputstream.c:
3376 * gio/gfileenumerator.c:
3377 * gio/gioscheduler.c:
3378 * gio/gunionvolumemonitor.c:
3380 * programs/gio-save.c:
3381 Fix typo: availible -> available. Unfortuntely this breaks API
3382 and ABI as g_buffered_input_stream_get_available() was renamed.
3384 * gio/gunixmounts.c:
3385 * gio/gbufferedinputstream.c:
3386 Add guards for public functions.
3388 2007-11-06 Ross Burton <ross@openedhand.com>
3390 * docs/reference/gio/Makefile.am:
3391 Fix invalid += usage which automake 1.10 doesn't like.
3393 2007-11-06 Alexander Larsson <alexl@redhat.com>
3396 (g_app_launch_context_class_init):
3399 Patch from Ross Burton
3401 2007-11-06 Alexander Larsson <alexl@redhat.com>
3404 Post release version bump
3406 === gio-standalone 0.1.1 ===
3408 2007-11-06 Alexander Larsson <alexl@redhat.com>
3411 Bump version to 0.1.1
3413 * gio/gsimpleasyncresult.c:
3414 (g_simple_async_result_set_from_error):
3415 Remove bogus g_return_if_fail
3417 2007-11-06 Alexander Larsson <alexl@redhat.com>
3420 The name is gio-standalone
3423 Add top src/builddir to includedir
3425 2007-11-06 Alexander Larsson <alexl@redhat.com>
3427 * docs/reference/gio/gio-sections.txt:
3429 * gio/gbufferedinputstream.c:
3430 * gio/gbufferedoutputstream.c:
3431 * gio/gcancellable.c:
3432 * gio/gdatainputstream.h:
3433 * gio/gdataoutputstream.c:
3434 * gio/gdataoutputstream.h:
3435 * gio/gdirectorymonitor.c:
3437 * gio/gfileattribute.c:
3438 * gio/gfileattribute.h:
3439 * gio/gfileenumerator.c:
3440 * gio/gfileenumerator.h:
3443 * gio/gfileinputstream.h:
3444 * gio/gfilemonitor.c:
3445 * gio/gfileoutputstream.h:
3446 * gio/glocalfilemonitor.h:
3447 * gio/glocalfileoutputstream.h:
3448 * gio/gmemoryinputstream.c:
3449 * gio/gmemoryoutputstream.c:
3450 * gio/gmountoperation.c:
3451 * gio/goutputstream.c:
3452 * gio/goutputstream.h:
3454 * gio/gsimpleasyncresult.c:
3455 * gio/gunixmounts.c:
3456 * gio/gunixmounts.h:
3458 * gio/inotify/inotify-helper.c:
3459 Fix gtk-doc warnings
3461 Patch from Ross Burton
3463 2007-11-06 Alexander Larsson <alexl@redhat.com>
3465 * gio/gfilenamecompleter.c:
3466 (g_filename_completer_get_completions):
3469 * gio/gunixvolume.c:
3470 Remove unused function
3472 Patches from Ross Burton
3474 2007-11-06 Alexander Larsson <alexl@redhat.com>
3479 Padding not needed for interfaces
3481 2007-11-06 Alexander Larsson <alexl@redhat.com>
3483 * gio/gfilemonitor.c:
3487 Make giotypes.h an internal file
3490 * gio/gbufferedinputstream.h:
3491 * gio/gbufferedoutputstream.h:
3492 * gio/gcancellable.h:
3493 * gio/gdatainputstream.h:
3494 * gio/gdataoutputstream.h:
3495 * gio/gdirectorymonitor.c:
3496 * gio/gdirectorymonitor.h:
3501 * gio/gfileattribute.h:
3502 * gio/gfileenumerator.h:
3507 * gio/gfilemonitor.c:
3508 * gio/gfilemonitor.h:
3509 * gio/gfilenamecompleter.c:
3510 * gio/gfilenamecompleter.h:
3511 * gio/gfilterinputstream.h:
3512 * gio/gfilteroutputstream.h:
3513 * gio/ginputstream.h:
3514 * gio/gmemoryinputstream.h:
3515 * gio/gmemoryoutputstream.h:
3516 * gio/gmountoperation.c:
3517 * gio/gmountoperation.h:
3518 * gio/gnativevolumemonitor.c:
3519 * gio/goutputstream.h:
3522 * gio/gsimpleasyncresult.c:
3523 * gio/gsimpleasyncresult.h:
3524 * gio/gsocketinputstream.h:
3525 * gio/gsocketoutputstream.h:
3526 * gio/gthemedicon.c:
3527 * gio/gthemedicon.h:
3531 * gio/gvolumemonitor.c:
3532 * gio/gvolumemonitor.h:
3533 Add padding in classes where it seems useful
3534 Don't include giotypes.h from public headers
3535 Move in Class definitions into c file where possible
3540 2007-11-06 Alexander Larsson <alexl@redhat.com>
3542 * docs/reference/gio/gio-docs.xml:
3543 Better structure for API docs
3545 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3548 * gio/gloadableicon.c:
3549 * gio/gsimpleasyncresult.c:
3550 * gio/gthemedicon.c:
3551 Add some more guards to public functions. Only files missing are now
3554 2007-11-06 Alexander Larsson <alexl@redhat.com>
3556 * docs/reference/gio/gio-docs.xml:
3557 Remove old files, add missing ones
3559 2007-11-06 Alexander Larsson <alexl@redhat.com>
3561 * docs/reference/gio/gio-sections.txt:
3564 Hide implementation classes
3566 * gio/gdriveprivate.h:
3567 * gio/gvolumeprivate.h:
3568 Remove non-existing function declarations
3570 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3573 Fix compilation warnings and add guards to the new functions.
3575 * gio/gasyncresult.c:
3577 Add guards to the public functions.
3580 Implement get_path().
3582 2007-11-06 Alexander Larsson <alexl@redhat.com>
3584 * gio/gfilenamecompleter.c:
3585 Make g_filename_completer_get_completions
3586 return char ** instead of GList for
3589 * docs/reference/gio/gio-docs.xml:
3590 * docs/reference/gio/gio-sections.txt:
3592 * gio/gasyncresult.c:
3593 * gio/gbufferedinputstream.c:
3594 * gio/gbufferedoutputstream.c:
3595 * gio/gcancellable.c:
3596 * gio/gcontenttype.c:
3597 * gio/gdatainputstream.c:
3598 * gio/gdataoutputstream.c:
3599 * gio/gdesktopappinfo.c:
3600 * gio/gdirectorymonitor.c:
3604 * gio/gfileattribute.c:
3605 * gio/gfileenumerator.c:
3608 * gio/gfileinputstream.c:
3609 * gio/gfilemonitor.c:
3610 * gio/gfilenamecompleter.c:
3611 * gio/gfilenamecompleter.h:
3612 * gio/gfileoutputstream.c:
3613 * gio/gfilterinputstream.c:
3615 * gio/ginputstream.c:
3617 * gio/gioscheduler.c:
3618 * gio/gloadableicon.c:
3619 * gio/glocaldirectorymonitor.c:
3621 * gio/glocalfileinputstream.c:
3622 * gio/glocalfilemonitor.c:
3623 * gio/glocalfileoutputstream.c:
3625 * gio/gmemoryinputstream.c:
3626 * gio/gmemoryoutputstream.c:
3627 * gio/gmountoperation.c:
3628 * gio/goutputstream.c:
3629 * gio/gpollfilemonitor.c:
3631 * gio/gsimpleasyncresult.c:
3632 * gio/gsocketinputstream.c:
3633 * gio/gsocketoutputstream.c:
3634 * gio/gthemedicon.c:
3635 * gio/gunionvolumemonitor.c:
3637 * gio/gunixmounts.c:
3638 * gio/gunixvolume.c:
3639 * gio/gunixvolumemonitor.c:
3643 * gio/gvolumemonitor.c:
3644 * gio/gwin32appinfo.c:
3645 Add (mostly stub) doc strings to public functions.
3646 Patch from Andrew Walton (awalton@gmail.com)
3648 2007-11-06 Alexander Larsson <alexl@redhat.com>
3650 * gio/gappinfo.[ch]:
3651 Added GAppLaunchContext object and pass that to launch.
3652 This allows simple implementation of both
3653 launch-on-screen and startup notification via a gtk+
3654 subclass of GAppLaunchContext
3656 * gio/gdesktopappinfo.c:
3657 Implement GAppLaunchContext API
3659 * gio/gwin32appinfo.c:
3662 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3664 * gio/gmountoperation.c:
3665 Add some guards to GMountOperation's public functions.
3667 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3671 * gio/gcancellable.c:
3672 * gio/gdirectorymonitor.c:
3674 * gio/gfileenumerator.c:
3675 * gio/gfilemonitor.c:,
3676 * gio/gfilenamecompleter.c:
3679 * gio/gioscheduler.c:
3683 * gio/gvolumemonitor.c:
3684 Add even more guards to various public functions.
3686 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3689 Add guards to the public functions of GAppInfo.
3691 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3693 * gio/gcontenttype.c:
3694 Add some more guards for public functions.
3696 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3698 * gio/fam/fam-module.c:
3699 * gio/fam/gfamdirectorymonitor.c:
3700 * gio/fam/gfamdirectorymonitor.h:
3701 * gio/fam/gfamfilemonitor.c:
3702 * gio/fam/gfamfilemonitor.h:
3703 * gio/inotify/ginotifydirectorymonitor.c:
3704 * gio/inotify/ginotifydirectorymonitor.h:
3705 * gio/inotify/ginotifyfilemonitor.c:
3706 * gio/inotify/ginotifyfilemonitor.h:
3707 Add proper copyright information and remove an unused variable
3708 in the GInotifyFileMonitor constructor.
3710 * gio/gcancellable.c:
3711 Add a guard for a public function and an assertion to prevent
3712 an undefined program state.
3714 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3716 * gio/gfileattribute.c:
3717 Don't run into an assertion if the given attribute value is NULL
3718 in g_file_attribute_value_get_*() but instead return a fallback
3719 value that makes sense in most situations. Passing them a attribute
3720 value with the wrong type will still run into an assertion.
3722 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3724 * gio/gfileattribute.c:
3726 Add even more guards to the public functions. Also fix the refcounting
3727 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3728 let g_file_info_list_attributes() filter the attributes by namespace
3729 instead of simply ignoring the namespace parameter.
3731 2007-11-03 Sven Herzberg <sven@imendio.com>
3733 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3734 (This makes gio work on MacOS X again)
3736 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3739 Build the gio subdirectory before the docs. Otherwise the build will
3742 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3743 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3744 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3745 Add guards to the public functions.
3747 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3749 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3750 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3751 to prevent a compiler warning.
3753 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3754 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3755 return something in the non-void function find_topdir_for().
3757 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3764 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3766 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3767 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3768 * gwin32appinfo.c (g_win32_app_info_launch):
3769 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3770 envp_for_startup_id, g_desktop_app_info_launch,
3771 g_desktop_app_info_launch_uris):
3773 Give an opaque 'startup_id' string instead of 'envp'.
3774 Support empty file lists for launching new windows.
3775 Fix infinite recursion bug when launching URIs.
3777 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3780 Add guard to the new g_file_get_uri_scheme() function.
3782 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3785 Convert a g_return_val_if_fail() to setting the GError instead as
3786 otherwise applications have to verify the parameter before otherwise
3787 and the parameter might come directly from the user.
3789 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3791 * gio/inotify/ginotify*.[ch]:
3792 Add missing copyright information.
3794 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3797 Add guards in the beginning of public functions to check for valid
3798 parameters and fix a bug in copy_stream_with_progress() that could've
3799 caused writing less bytes than reading.
3800 * gio/glocalfileinfo.c:
3801 Check for a NULL parameter and set the GError accordingly then.
3802 * gio/goutputstream.c:
3803 Fix the same bug as in gfile.c that could've caused writing less bytes
3804 than reading in g_output_stream_real_splice().
3806 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3809 Use the correct gvolumeprivate.h naming
3811 2007-11-01 Christian Kellner <gicmo@gnome.org>
3814 Remove leftover "$(daemon_sources)" entry.
3816 2007-11-01 Christian Kellner <gicmo@gnome.org>
3821 Add copyright information to source files.
3823 2007-11-01 Alexander Larsson <alexl@redhat.com>
3827 Add g_file_get_uri_scheme
3829 2007-11-01 Alexander Larsson <alexl@redhat.com>
3832 * gio/gdesktopappinfo.c:
3833 * gio/gwin32appinfo.c:
3834 Add g_app_info_get_default_for_uri_scheme.
3836 2007-11-01 Alexander Larsson <alexl@redhat.com>
3839 Correct filename for gdriveprivate.h
3841 2007-10-31 Alexander Larsson <alexl@redhat.com>
3844 Rename id:value to id:file
3847 * gio/glocalfileinfo.c:
3850 2007-10-31 Alexander Larsson <alexl@redhat.com>
3852 * gio/gunixvolume.c:
3854 Remove g_volume_get_platform_id, as thats not
3855 needed with the simpler union volume monitor
3857 2007-10-31 Alexander Larsson <alexl@redhat.com>
3860 * gio/guniondrive.[ch]: Removed.
3861 * gio/gunionvolume.[ch]: Removed.
3862 Remove GUnionDrive/Volume
3864 * gio/gunionvolumemonitor.c:
3865 Simplify union volume monitor, now we
3866 only have one native volume monitor and
3867 we use the actual volumes/drives from the
3868 child monitors instead of wrapping them
3870 * gio/gnativevolumemonitor.[ch]:
3871 Base class for native volume monitors.
3872 Includes priority and get_volume_for_mountpoint
3875 Add g_file_find_enclosing_volume
3878 Remove volume name fs attribute
3879 Add readonly fs attribute
3882 Implement readonly attribute
3883 remove volume name attribute
3884 Implement find_enclosing volume
3886 * gio/gunixmounts.c:
3887 Add a volume for "/".
3889 * gio/gunixvolume.[ch]:
3890 Set better name for /
3892 * gio/gunixvolumemonitor.[ch]:
3893 Derive from GNativeVolumeMonitor
3894 Implement get_volume_for_mountpoint
3897 GVolume typedef moved to gfile.h
3899 * gio/gvolumeprivate.h:
3900 Add g_volume_get_for_mount_path
3902 2007-10-31 Alexander Larsson <alexl@redhat.com>
3904 * gio/gunixmounts.[ch]:
3905 Add cache info to unix mount listers
3906 Make getmntent use threadsafe
3907 Add is_system_internal attribute for GUnixMount
3909 * gio/gunixvolume.c:
3910 (g_unix_volume_new):
3911 Use is_system_internal instead of own code
3913 * gio/glocaldirectorymonitor.c:
3914 * gio/gunixvolumemonitor.c:
3915 Update to new gunixmounts API
3920 2007-10-30 Alexander Larsson <alexl@redhat.com>
3923 Add volume name fsinfo attribute
3926 Read volume name info
3928 * gio/gunionvolumemonitor.c:
3929 Fix infinite loops when finalizing a union volume monitor
3931 2007-10-30 Alexander Larsson <alexl@redhat.com>
3933 * gio/goutputstream.[ch]:
3934 Add splice() with default implementation
3936 * gio/gsocketoutputstream.c:
3937 (g_socket_output_stream_write):
3938 Return error on cancellation correctly.
3940 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3942 * gio/glocalfile.c (g_local_file_trash):
3943 Do not leak a string.
3945 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3947 * gio/gfile.c (g_file_load_contents):
3948 Unref the stream after closing it.
3950 2007-10-25 Alexander Larsson <alexl@redhat.com>
3952 * gio/gioscheduler.h:
3955 2007-10-25 Alexander Larsson <alexl@redhat.com>
3959 Add g_file_has_uri_scheme and implement for local files
3961 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3963 * gio/gdesktopappinfo.c: do not leak a string.
3965 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3967 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3968 (g_local_directory_monitor_new):
3969 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3970 (g_local_file_monitor_new):
3971 Only look for the monitor type that should be used the first time
3972 and use g_qsort_with_data() instead of our own bubble sort
3975 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3978 * gio/fam/Makefile.am:
3979 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3980 * gio/fam/fam-helper.h:
3981 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3982 * gio/fam/gfamdirectorymonitor.c:
3983 * gio/fam/gfamdirectorymonitor.h:
3984 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3985 * gio/fam/gfamfilemonitor.h:
3986 * gio/glocaldirectorymonitor.c:
3987 * gio/glocaldirectorymonitor.h:
3988 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3989 * gio/glocalfilemonitor.h:
3990 * gio/inotify/Makefile.am:
3991 * gio/inotify/ginotifydirectorymonitor.c:
3992 * gio/inotify/ginotifydirectorymonitor.h:
3993 * gio/inotify/ginotifyfilemonitor.c:
3994 * gio/inotify/ginotifyfilemonitor.h:
3995 Implement the FAM and Inotify monitors as
3996 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3997 their own GIO module. GLocal(Directory|File)Monitor will use the
3998 monitor with the highest rank that is supported on that machine.
4000 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4003 Change GIO module dir to $(libdir)/gio/modules and change
4004 the log domain from GVFS to GIO. Also only export symbols starting
4005 with g_ in the resulting library.
4006 * gio/test-streams.c: (main):
4007 Set log handler for the GIO log domain.
4009 2007-10-22 Alexander Larsson <alexl@redhat.com>
4011 * gio/gfilenamecompleter.[ch]:
4012 Add g_filename_completer_set_dirs_only
4014 2007-10-22 Alexander Larsson <alexl@redhat.com>
4017 * gio/gurifuncs.[ch]:
4018 Add some simple URI helpers
4020 * gio/gfilenamecompleter.[ch]:
4021 Added object for filename (parse name actually) completion
4024 Handle ~ in parse names
4026 2007-10-17 Alexander Larsson <alexl@redhat.com>
4029 * gio/glocalfileinfo.c:
4030 Add and implement id:value attribute
4032 2007-10-17 Alexander Larsson <alexl@redhat.com>
4035 * gio/guniondrive.c:
4037 Add and implement g_drive_has_volumes
4039 2007-10-17 Alexander Larsson <alexl@redhat.com>
4042 * gio/glocalfileinfo.[ch]:
4043 Add unix:is_mountpoint and implement for local files
4045 2007-10-16 Alexander Larsson <alexl@redhat.com>
4047 * gio/gunionvolumemonitor.c:
4048 (g_union_volume_monitor_init):
4049 Fix up the unix type getting so that it works with gcc
4051 2007-10-12 Alexander Larsson <alexl@redhat.com>
4054 * gio/glocalfileinfo.c:
4055 Add thumbnail:failed to file info
4057 2007-10-12 Richard Hult <richard@imendio.com>
4059 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4060 optimizing away the get_type call (happens with some gcc versions,
4061 like the one shipped with OS X 10.4).
4063 2007-10-12 Alexander Larsson <alexl@redhat.com>
4065 * gio/glocalfileinfo.c:
4066 (_g_local_file_info_set_attribute):
4067 Fix build if not HAVE_XATTR
4068 Patch from Milosz Derezynski <internalerror@gmail.com>
4070 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4072 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4073 around for review, otherwise I would have asked you before
4076 2007-10-11 Alexander Larsson <alexl@redhat.com>
4079 Add thumbnail:path attribute
4081 * gio/glocalfileinfo.c:
4082 Implement thumbnail:path for local files
4084 2007-10-11 Alexander Larsson <alexl@redhat.com>
4086 * gio/glocalfileinfo.c:
4087 (_g_local_file_info_get):
4088 Avoid duplicate icon names
4090 2007-10-11 Alexander Larsson <alexl@redhat.com>
4092 * gio/gthemedicon.[ch]:
4093 Change g_themed_icon_get_names return type to const
4095 2007-10-10 Alexander Larsson <alexl@redhat.com>
4097 * gio/glocalfileinfo.c:
4098 Don't reference freed memory
4100 2007-10-10 Alexander Larsson <alexl@redhat.com>
4102 * gio/gfileattribute.c:
4105 * gio/glocalfileinfo.c:
4108 2007-10-10 Alexander Larsson <alexl@redhat.com>
4111 Check for NULL icons
4113 * gio/gfileattribute.c:
4114 Don't dup when getting objects (same as for string attributes)
4116 * gio/gicon.c (g_icon_equal):
4117 Safely handle NULLs in equal
4119 2007-10-10 Alexander Larsson <alexl@redhat.com>
4122 Fix c++ compilation issues
4123 Patch from Milosz Derezynski <internalerror@gmail.com>
4125 2007-10-10 Alexander Larsson <alexl@redhat.com>
4127 * programs/gio-monitor-dir.c:
4128 Don't crash if dir monitor not supported.
4130 2007-10-09 Alexander Larsson <alexl@redhat.com>
4133 Add missing G_END_DECLS
4135 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4137 * gio/gfile.c: (g_file_set_display_name),
4138 (g_file_query_settable_attributes),
4139 (g_file_query_writable_namespaces):
4140 Return NULL not FALSE on errors as the return type is a pointer.
4142 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4144 * gio/glocalfile.c: (g_local_file_monitor_file):
4145 Don't call monitor_file on the default interface vtable (which
4146 is NULL) but simply return NULL. The caller, GFile, will create a
4147 polling monitor if NULL is returned.
4149 2007-10-09 Alexander Larsson <alexl@redhat.com>
4153 * gio-unix-2.0.pc.in:
4154 Add gio-unix-2.0.pc if OS_UNIX
4157 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4159 2007-10-09 Alexander Larsson <alexl@redhat.com>
4161 * gio/gunixmounts.[ch]:
4162 Make unix mount monitoring API sane.
4163 Now its just a object with mounts_changed
4164 and mountpoints_changed signals.
4166 * gio/glocaldirectorymonitor.c:
4167 * gio/gunixvolumemonitor.c:
4168 Use new mount monitor api
4170 2007-10-09 Alexander Larsson <alexl@redhat.com>
4172 * gio/gunixmounts.[ch]:
4173 Move guess type into one call for mounts and one for mountpoints
4176 * gio/gunixvolume.c:
4179 2007-10-09 Alexander Larsson <alexl@redhat.com>
4181 * gio/gunixmounts.[ch]:
4182 Remove _ prefix in preparation to make this semi-public
4183 Hide implementation of structs
4185 * gio/glocaldirectorymonitor.c:
4187 * gio/gunixvolume.c:
4188 * gio/gunixvolumemonitor.c:
4189 Update for above API changes
4191 2007-10-08 Alexander Larsson <alexl@redhat.com>
4194 Better polling fallback. This also handles the case where we have
4195 a monitor_file implementation, but it fails.
4197 2007-10-08 Alexander Larsson <alexl@redhat.com>
4201 * gio/gunixmounts.c:
4202 * programs/gio-monitor-dir.c:
4203 * programs/gio-monitor-file.c:
4204 Added cancellable to file monitoring calls.
4205 These are really sync calls and need this.
4207 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4209 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4210 (g_local_vfs_class_init):
4211 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4212 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4214 2007-10-05 Alexander Larsson <alexl@redhat.com>
4216 * gio/gdirectorymonitorprivate.h:
4217 * gio/gfilemonitorprivate.h:
4218 * gio/gdirectorymonitor.h:
4219 * gio/gfilemonitor.h:
4220 Remove *private.h and move to the public API, so that
4221 we can do implementations outside gio (such as in gvfs)
4223 * gio/gdirectorymonitor.c:
4224 * gio/gfilemonitor.c:
4225 * gio/glocaldirectorymonitor.c:
4226 * gio/gpollfilemonitor.c:
4227 * gio/inotify/inotify-helper.c:
4228 * gio/fam/fam-helper.c:
4229 Update to the new header names
4231 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4233 * gio/gdirectorymonitor.c:
4234 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4237 2007-10-04 Alexander Larsson <alexl@redhat.com>
4239 * gio/glocalfileinfo.c (get_access_rights):
4240 Set CAN_TRASH when we can move the file.
4241 We should really also check for a parent trash dir.
4243 2007-10-04 Alexander Larsson <alexl@redhat.com>
4245 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4246 Add can_trash access attribute
4248 2007-10-04 Alexander Larsson <alexl@redhat.com>
4251 (g_local_file_trash):
4252 Create info file first. This is per-spec and allows
4253 us to actually trash directories.
4255 2007-10-02 Alexander Larsson <alexl@redhat.com>
4257 * gio/gdesktopappinfo.c:
4258 Implement the new mime support code.
4259 Always set app as handling mimetype when being set as default for it
4261 2007-10-01 Alexander Larsson <alexl@redhat.com>
4263 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4264 Fix up check for xattrs:
4266 2007-10-01 Alexander Larsson <alexl@redhat.com>
4269 (g_app_info_set_as_default_for_extension):
4270 (g_app_info_add_supports_type):
4271 (g_app_info_can_remove_supports_type):
4272 (g_app_info_remove_supports_type):
4273 Make these fail nicely if not implemented
4275 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4277 * gio/glocalfileoutputstream.c:
4278 * gio/glocalfileoutputstream.h:
4283 * programs/gio-save.c:
4284 Add a GFileCreateFlags argument to operations that can create
4287 2007-10-01 Alexander Larsson <alexl@redhat.com>
4289 * gio/gappinfo.[ch]:
4290 * gio/gdesktopappinfo.c:
4291 Add more (stubbed out) mime API needed for nautilus
4293 2007-10-01 Alexander Larsson <alexl@redhat.com>
4296 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4297 Add g_app_info_set_as_default_for_extension.
4299 * gio/gdesktopappinfo.c:
4300 Dummy for g_app_info_set_as_default_for_extension
4301 Support flags in g_app_info_create_from_commandline
4303 * gio/gwin32appinfo.c:
4305 Update for API changes
4307 * gio/gthemedicon.c:
4308 Properly NULL-terminate list of icon names
4310 2007-09-28 Alexander Larsson <alexl@redhat.com>
4312 * gio/gloadableicon.h:
4313 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4315 2007-09-28 Alexander Larsson <alexl@redhat.com>
4318 Install headers in $includedir/gio-standalone/
4320 * gio-2.0.pc.in: Added.
4321 * gio-standalone.pc.in: Removed.
4324 Renamed pkg-config file to match glib (for future move)
4325 Update to the new include dir
4328 Add more TODO comments
4330 2007-09-28 Alexander Larsson <alexl@redhat.com>
4332 * gio/gdesktopappinfo.[ch]:
4333 Expose new_from_filename
4334 Add getter for is_hidden and handle it better
4336 2007-09-28 Alexander Larsson <alexl@redhat.com>
4338 * gio/gfileinfo.[ch]:
4339 Rename g_file_size_format_for_display to
4340 g_format_file_size_for_display.
4341 Now it doesn't have the g_file prefix, so we
4342 can later move it to glib.
4344 2007-09-28 Alexander Larsson <alexl@redhat.com>
4346 * gio/gappinfo.[ch]:
4347 Add g_app_info_get_id and g_app_info_get_executable.
4348 Make all getters non-reffing
4349 Make g_app_info_launch take GFile arguments.
4350 Add must_support_uris argument to g_app_info_get_default_for_type.
4352 * gio/gwin32appinfo.c:
4353 Update to GAppInfo api changes
4355 * gio/gdesktopappinfo.c:
4356 Update to GAppInfo api changes
4357 Implement supports_xdg_startup_notify
4359 * gio/gfileicon.c (g_file_icon_get_file):
4360 Make getter non-reffing.
4365 2007-09-27 Alexander Larsson <alexl@redhat.com>
4367 * gio/gfileinfo.[ch]:
4368 Add g_file_size_format_for_display helper
4370 2007-09-27 Alexander Larsson <alexl@redhat.com>
4372 * gio/glocalfileinfo.c:
4373 Set UNIX_GID from gid, not from uid
4375 2007-09-27 Alexander Larsson <alexl@redhat.com>
4378 Add g_file_set_attributes_async
4380 2007-09-27 Alexander Larsson <alexl@redhat.com>
4382 * gio/glocalfile.c (g_local_file_set_display_name):
4383 Fix set_display_name to actually rename to the right place.
4384 Use lstat to look for existing files so we don't overwrite
4387 2007-09-26 Alexander Larsson <alexl@redhat.com>
4390 Add g_file_set_display_name_async()
4392 2007-09-26 Alexander Larsson <alexl@redhat.com>
4395 Add load_partial_contents async calls
4398 Make internal function static
4400 2007-09-26 Alexander Larsson <alexl@redhat.com>
4402 * gio/glocalfileinfo.c:
4403 Correctly detect broken symlinks
4405 2007-09-26 Alexander Larsson <alexl@redhat.com>
4407 * gio/gcancellable.c (g_cancellable_cancel):
4408 Allow cancel on NULL cancellable
4410 2007-09-25 Alexander Larsson <alexl@redhat.com>
4412 * gio/gsimpleasyncresult.c:
4413 Don't allocate g_error manually.
4414 Fixes g_slice/g_new mixup crash
4416 2007-09-25 Alexander Larsson <alexl@redhat.com>
4418 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4419 Actually set active_backend.
4420 This means the monitor will be cancelled correctly.
4422 2007-09-25 Alexander Larsson <alexl@redhat.com>
4424 * gio/gdirectorymonitor.c:
4425 Set timeout to NULL when destroying
4427 2007-09-25 Alexander Larsson <alexl@redhat.com>
4430 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4431 that is a better description of the error.
4433 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4435 * gio/gvfs.c: (g_vfs_get_local):
4436 Make the local vfs variable static. The same instance should
4439 2007-09-24 Alexander Larsson <alexl@redhat.com>
4441 * gio/glocalfileinfo.c:
4442 Pass in actual length read into sniffer, not the length
4445 2007-09-21 Alexander Larsson <alexl@redhat.com>
4447 * gio/gfileenumerator.c:
4450 * gio/gfileinputstream.c:
4451 * gio/gfileoutputstream.c:
4452 * gio/ginputstream.c:
4453 * gio/goutputstream.c:
4454 Don't crash if async callbacks are NULL
4456 2007-09-20 Alexander Larsson <alexl@redhat.com>
4459 Add async enumerate_children method and default
4462 2007-09-20 Alexander Larsson <alexl@redhat.com>
4465 Add g_file_contains_file & g_file_get_relative_path, since they
4466 were needed for nautilus.
4467 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4472 Implement new methods
4474 2007-09-17 Alexander Larsson <alexl@redhat.com>
4477 * gio/gfileinputstream.[ch]:
4478 * gio/gfileoutputstream.[ch]:
4480 * gio/glocalfileenumerator.[ch]:
4481 * gio/glocalfileinfo.[ch]:
4482 * gio/glocalfileinputstream.c:
4483 * gio/glocalfileoutputstream.c:
4484 * gio/gpollfilemonitor.c:
4485 * programs/gio-copy.c:
4486 * programs/gio-info.c:
4487 * programs/gio-move.c:
4488 Rename get_file_info to query_info() to make it clearer
4489 that these are not simple getters, but do i/o.
4491 2007-09-17 Alexander Larsson <alexl@redhat.com>
4493 * gio/gdatainputstream.[ch]:
4494 * gio/test-streams.c:
4495 Use _read_XXX instead of _get_XXX for the i/o calls
4498 2007-09-17 Alexander Larsson <alexl@redhat.com>
4501 Added needed stuff to TODO comment
4503 2007-09-17 Alexander Larsson <alexl@redhat.com>
4505 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4506 Don't error out removing the backup copy if it doesn't
4509 2007-09-14 Alexander Larsson <alexl@redhat.com>
4511 * programs/Makefile.am:
4512 * programs/gvfs-*.c:
4514 Renamed apps from gvfs-xxx to gio-xxx.
4516 2007-09-14 Alexander Larsson <alexl@redhat.com>
4519 * gio/gfileoutputstream.[ch]:
4520 * gio/glocalfileoutputstream.c:
4521 * programs/gvfs-save.c:
4522 g_file_output_stream_get_etag doesn't do i/o, so remove
4523 cancellation and error.
4525 2007-09-14 Alexander Larsson <alexl@redhat.com>
4528 Add new_etag output to replace_contents functions
4530 2007-09-14 Alexander Larsson <alexl@redhat.com>
4532 * gio/gfileoutputstream.[ch]:
4533 Add async get_file_info and default implementation
4535 2007-09-14 Alexander Larsson <alexl@redhat.com>
4537 * gio/gfileinputstream.c:
4538 Implement fallback wrapper for async get_file_info
4540 2007-09-14 Alexander Larsson <alexl@redhat.com>
4543 Add etag out argument to load_contents
4548 2007-09-14 Alexander Larsson <alexl@redhat.com>
4550 * gio/gcontenttype.c (looks_like_text):
4551 Whitespace like tab, cr and lf do not make the
4554 2007-09-14 Alexander Larsson <alexl@redhat.com>
4556 * gio/gfileinputstream.[ch]:
4557 Add async get_file_info.
4559 2007-09-13 Alexander Larsson <alexl@redhat.com>
4561 * gio/goutputstream.c (g_output_stream_write_all):
4562 Allow NULL for bytes_written
4564 2007-09-13 Alexander Larsson <alexl@redhat.com>
4566 * gio/gmemoryinputstream.[ch]:
4567 Add accessors for data
4569 2007-09-13 Alexander Larsson <alexl@redhat.com>
4571 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4572 Don't crash if length is NULL